@zanichelli/delta_share 2.0.13 → 2.0.14
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} +189 -144
- 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_2.cjs.entry.js +42 -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 +65 -36
- 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_2.cjs.entry.js +3 -2
- package/dist/wc/cjs/z-file-upload.cjs.entry.js +42 -29
- 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-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 +6 -8
- 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-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 +3383 -3319
- 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-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-0cee6faa.entry.js +1 -0
- package/dist/wc/delta_share/p-1009b417.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-302c022a.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-48384226.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-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-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-b1b05625.entry.js → p-982608ce.entry.js} +1 -1
- 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-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-c2aef9f6.entry.js +1 -0
- package/dist/wc/delta_share/p-c31b160e.entry.js +1 -0
- package/dist/wc/delta_share/p-c41efa42.entry.js +3 -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-d2715819.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-ea6c67f2.entry.js +1 -0
- package/dist/wc/delta_share/p-ee0a8f1f.entry.js +1 -0
- package/dist/wc/delta_share/p-f0453d1c.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} +190 -143
- 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_2.entry.js +37 -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 +65 -36
- 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_2.entry.js +3 -2
- package/dist/wc/esm/z-file-upload.entry.js +43 -30
- 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-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 +6 -8
- 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-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-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-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-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,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-b3a91e19.js';
|
|
2
|
-
import {
|
|
2
|
+
import { n as DividerSize, M as DividerOrientation } from './index-4f1e2705.js';
|
|
3
3
|
|
|
4
4
|
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)}";
|
|
5
5
|
|
|
@@ -7,11 +7,11 @@ const ZDivider = class {
|
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
9
|
/** [optional] Divider size */
|
|
10
|
-
this.size = DividerSize.
|
|
10
|
+
this.size = DividerSize.SMALL;
|
|
11
11
|
/** [optional] Divider color */
|
|
12
12
|
this.color = "gray200";
|
|
13
13
|
/** [optional] Divider orintation */
|
|
14
|
-
this.orientation = DividerOrientation.
|
|
14
|
+
this.orientation = DividerOrientation.HORIZONTAL;
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
17
|
return (h(Host, { class: `divider-${this.size} divider-${this.orientation}`, style: { backgroundColor: `var(--${this.color})` } }));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-b3a91e19.js';
|
|
2
2
|
|
|
3
|
-
const stylesCss = "
|
|
3
|
+
const stylesCss = ":host{margin-top:calc(var(--space-unit) * 3);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>.dragdrop{position:relative;display:flex;height:228px;flex-direction:column;border-color:var(--color-surface04);background-color:var(--color-surface02);background-image:url(\"data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='2' ry='2' stroke='%23CACCCEFF' stroke-width='2' stroke-dasharray='15%2c 10%2c 14%2c 11' stroke-dashoffset='3' stroke-linecap='square'/%3e%3c/svg%3e\");border-radius:2px;color:var(--color-text01)}:host>.dragdrop.dragover *{pointer-events:none}:host>.dragdrop .dragover-container{position:absolute;z-index:10;top:0;left:0;display:none;width:100%;height:100%;background-color:var(--color-primary03);box-shadow:var(--shadow-focus-primary)}:host>.dragdrop .dragover-container .dragover-message{padding:10px 28px;background-color:var(--color-link-primary);color:var(--color-text04)}:host>.dragdrop.dragover .dragover-container{display:flex;align-items:center;justify-content:center}";
|
|
4
4
|
|
|
5
5
|
const ZDragdropArea = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -19,7 +19,7 @@ const ZDragdropArea = class {
|
|
|
19
19
|
this.dragDropContainer.classList.add("dragover");
|
|
20
20
|
}, onDragLeave: () => {
|
|
21
21
|
this.dragDropContainer.classList.remove("dragover");
|
|
22
|
-
},
|
|
22
|
+
}, onDrop: (e) => {
|
|
23
23
|
e.preventDefault();
|
|
24
24
|
if (e.dataTransfer.files.length) {
|
|
25
25
|
this.dragDropContainer.classList.remove("dragover");
|
|
@@ -33,6 +33,7 @@ ZDragdropArea.style = stylesCss;
|
|
|
33
33
|
const ZHeading = class {
|
|
34
34
|
constructor(hostRef) {
|
|
35
35
|
registerInstance(this, hostRef);
|
|
36
|
+
/** Font weight variant */
|
|
36
37
|
this.variant = "regular";
|
|
37
38
|
}
|
|
38
39
|
render() {
|
|
@@ -1,27 +1,35 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, a as getElement } from './index-b3a91e19.js';
|
|
2
|
-
import {
|
|
3
|
-
import { g as getDevice } from './utils-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-b3a91e19.js';
|
|
2
|
+
import { m as ZFileUploadType, D as Device, n as DividerSize } from './index-4f1e2705.js';
|
|
3
|
+
import { g as getDevice } from './utils-5a24a17b.js';
|
|
4
4
|
import './breakpoints-e07f80e7.js';
|
|
5
5
|
|
|
6
|
-
const stylesCss = "
|
|
6
|
+
const stylesCss = ":host{color:var(--color-text01);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>.container{display:flex;flex-direction:column}:host .modal-wrapper{display:flex;align-items:center;justify-content:center}:host .modal-wrapper>.files-wrapper{display:flex;flex-direction:column;margin:calc(var(--space-unit) * 4);gap:var(--space-unit)}:host .text-container{display:flex;flex-direction:column;margin:auto}:host .text-container z-body{text-align:center}:host .text-container .upload-link{color:var(--color-link-primary);cursor:pointer}:host .text-container .upload-link-text{margin-bottom:var(--space-unit)}input#file-elem{display:none}#title{display:inline-block;margin-bottom:var(--space-unit)}:host>.container>z-button{display:inline-block;margin-top:calc(var(--space-unit) * 3)}:host>.container>.files-container.hidden{display:none}:host>.container>.files-container>z-heading{display:inline-block;margin:calc(var(--space-unit) * 3) 0}:host>.container>.files-container>.files-wrapper{display:flex;flex-wrap:wrap;column-gap:calc(var(--space-unit) * 2);row-gap:calc(var(--space-unit) * 2)}:host>.container>.files-container>z-divider{margin-top:calc(var(--space-unit) * 3);margin-bottom:0}@media only screen and (min-width: 768px){:host>.container>z-button{align-self:flex-start}}";
|
|
7
7
|
|
|
8
8
|
const ZFileUpload = class {
|
|
9
9
|
constructor(hostRef) {
|
|
10
10
|
registerInstance(this, hostRef);
|
|
11
11
|
this.fileInput = createEvent(this, "fileInput", 7);
|
|
12
12
|
/** Prop indicating the file upload type - can be default or dragdrop */
|
|
13
|
-
this.type =
|
|
14
|
-
/**
|
|
15
|
-
this.
|
|
13
|
+
this.type = ZFileUploadType.DEFAULT;
|
|
14
|
+
/** Files added by the user */
|
|
15
|
+
this.files = [];
|
|
16
16
|
this.inputAttributes = {
|
|
17
17
|
type: "file",
|
|
18
|
-
id: "
|
|
18
|
+
id: "file-elem",
|
|
19
19
|
multiple: true,
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
22
|
/** Listen removeFile event sent from z-file component */
|
|
23
|
-
removeFileListener() {
|
|
24
|
-
this.
|
|
23
|
+
removeFileListener(e) {
|
|
24
|
+
const files = this.files;
|
|
25
|
+
const file = files.find((file) => file.name === e.detail.fileName);
|
|
26
|
+
if (file) {
|
|
27
|
+
const index = files.indexOf(file);
|
|
28
|
+
if (index >= 0) {
|
|
29
|
+
files.splice(index, 1);
|
|
30
|
+
this.files = [...files];
|
|
31
|
+
}
|
|
32
|
+
}
|
|
25
33
|
}
|
|
26
34
|
/** Listen fileDropped event sent from z-dragdrop-area component */
|
|
27
35
|
fileDroppedListener(e) {
|
|
@@ -34,27 +42,35 @@ const ZFileUpload = class {
|
|
|
34
42
|
}
|
|
35
43
|
componentWillLoad() {
|
|
36
44
|
this.invalidFiles = new Map();
|
|
37
|
-
if (this.type === ZFileUploadTypeEnum.dragdrop &&
|
|
38
|
-
getDevice() !== DeviceEnum.desktop)
|
|
39
|
-
this.type = ZFileUploadTypeEnum.default;
|
|
40
45
|
}
|
|
41
46
|
fileInputHandler() {
|
|
42
47
|
if (this.input.files.length) {
|
|
43
48
|
this.invalidFiles = this.checkFiles(Array.from(this.input.files));
|
|
44
49
|
}
|
|
45
50
|
}
|
|
51
|
+
/** get array of uploaded files */
|
|
52
|
+
async getFiles() {
|
|
53
|
+
return this.files;
|
|
54
|
+
}
|
|
55
|
+
getType() {
|
|
56
|
+
if (getDevice() !== Device.DESKTOP) {
|
|
57
|
+
return ZFileUploadType.DEFAULT;
|
|
58
|
+
}
|
|
59
|
+
return this.type;
|
|
60
|
+
}
|
|
46
61
|
handleAccessibility() {
|
|
47
|
-
|
|
48
|
-
|
|
62
|
+
const lastFile = this.el.querySelector("z-file:last-child z-chip button");
|
|
63
|
+
if (this.files.length > 0 && lastFile) {
|
|
64
|
+
lastFile.focus();
|
|
49
65
|
}
|
|
50
66
|
else {
|
|
51
|
-
this.
|
|
52
|
-
? this.button.
|
|
67
|
+
this.getType() === ZFileUploadType.DEFAULT
|
|
68
|
+
? this.button.querySelector("button").focus()
|
|
53
69
|
: this.uploadLink.focus();
|
|
54
70
|
}
|
|
55
71
|
}
|
|
56
72
|
checkFiles(files) {
|
|
57
|
-
|
|
73
|
+
const errors = new Map();
|
|
58
74
|
const sizeErrorString = `supera i ${this.fileMaxSize}MB`;
|
|
59
75
|
const formatErrorString = " ha un'estensione non prevista";
|
|
60
76
|
files.forEach((file) => {
|
|
@@ -64,9 +80,11 @@ const ZFileUpload = class {
|
|
|
64
80
|
.some((ext) => file.name.toLowerCase().endsWith(ext.trim()));
|
|
65
81
|
const fileSizeOk = fileSize <= this.fileMaxSize;
|
|
66
82
|
if (fileSizeOk && fileFormatOk) {
|
|
67
|
-
this.
|
|
68
|
-
|
|
69
|
-
|
|
83
|
+
if (!this.files.find((f) => f.name === file.name)) {
|
|
84
|
+
this.files.push(file);
|
|
85
|
+
this.fileInput.emit(file);
|
|
86
|
+
this.input.value = "";
|
|
87
|
+
}
|
|
70
88
|
return;
|
|
71
89
|
}
|
|
72
90
|
errors.set(file.name, []);
|
|
@@ -99,10 +117,10 @@ const ZFileUpload = class {
|
|
|
99
117
|
fileWeightString = ` per un massimo di ${this.fileMaxSize}MB di peso`;
|
|
100
118
|
}
|
|
101
119
|
const finalString = `Puoi allegare file${fileFormatString}${fileWeightString}.`;
|
|
102
|
-
return
|
|
120
|
+
return h("z-body", { level: 3 }, fileFormatString || fileWeightString ? finalString : null);
|
|
103
121
|
}
|
|
104
122
|
renderFileSection() {
|
|
105
|
-
return (
|
|
123
|
+
return (h("section", { class: `files-container ${!this.files.length ? "hidden" : ""}` }, h("z-heading", { variant: "semibold", level: 4 }, "File appena caricati"), h("div", { class: "files-wrapper" }, h("slot", { name: "files" })), h("z-divider", { size: DividerSize.MEDIUM })));
|
|
106
124
|
}
|
|
107
125
|
renderInput() {
|
|
108
126
|
return (h("input", Object.assign({}, this.inputAttributes, { onChange: () => this.fileInputHandler(), accept: this.acceptedFormat, ref: (val) => (this.input = val) })));
|
|
@@ -149,17 +167,12 @@ const ZFileUpload = class {
|
|
|
149
167
|
return `Il file ${key} ${(_a = value[0]) !== null && _a !== void 0 ? _a : ""}${bothErrors} ${(_b = value[1]) !== null && _b !== void 0 ? _b : ""} e non può quindi essere caricato.`;
|
|
150
168
|
}
|
|
151
169
|
handleErrorModalContent() {
|
|
152
|
-
return (h("div", { slot: "modalContent" }, h("div", { class: "
|
|
170
|
+
return (h("div", { slot: "modalContent" }, h("div", { class: "modal-wrapper" }, h("div", { class: "files" }, Array.from(this.invalidFiles).map(([key, value]) => {
|
|
153
171
|
return (h("z-body", { variant: "regular", level: 3 }, this.formatErrorString(key, value)));
|
|
154
172
|
})))));
|
|
155
173
|
}
|
|
156
174
|
render() {
|
|
157
|
-
return
|
|
158
|
-
h("div", { tabIndex: 0, class: `container ${this.type}` }, this.renderTitle(), this.type == ZFileUploadTypeEnum.default
|
|
159
|
-
? this.renderDefaultMode()
|
|
160
|
-
: this.renderDragDropMode()),
|
|
161
|
-
!!this.invalidFiles.size && (h("z-modal", { tabIndex: 0, ref: (val) => (this.errorModal = val), modaltitle: "Attenzione", onModalClose: () => (this.invalidFiles = new Map()), onModalBackgroundClick: () => (this.invalidFiles = new Map()) }, this.handleErrorModalContent())),
|
|
162
|
-
];
|
|
175
|
+
return (h(Host, null, h("div", { tabIndex: 0, class: `container ${this.getType()}` }, this.renderTitle(), this.getType() == ZFileUploadType.DEFAULT ? this.renderDefaultMode() : this.renderDragDropMode()), !!this.invalidFiles.size && (h("z-modal", { tabIndex: 0, ref: (val) => (this.errorModal = val), modaltitle: "Attenzione", onModalClose: () => (this.invalidFiles = new Map()), onModalBackgroundClick: () => (this.invalidFiles = new Map()) }, this.handleErrorModalContent()))));
|
|
163
176
|
}
|
|
164
177
|
get el() { return getElement(this); }
|
|
165
178
|
};
|
|
@@ -1,40 +1,41 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-b3a91e19.js';
|
|
2
|
-
import {
|
|
2
|
+
import { l as ZChipType, P as PopoverPosition } from './index-4f1e2705.js';
|
|
3
3
|
import { t as tabletBreakpoint } from './breakpoints-e07f80e7.js';
|
|
4
4
|
|
|
5
|
-
const stylesCss = ".sc-z-file-h{font-family:var(--font-family-sans);font-weight:var(--font-rg)
|
|
5
|
+
const stylesCss = ".sc-z-file-h{position:relative;font-family:var(--font-family-sans);font-weight:var(--font-rg)}.sc-z-file-h>z-popover.sc-z-file{z-index:10}.sc-z-file-h>z-popover.sc-z-file>.tooltip-content.sc-z-file{white-space:nowrap}.sc-z-file-h>z-chip.sc-z-file span.sc-z-file{display:block;overflow:hidden;max-width:250px;letter-spacing:0.32px;line-height:1.33;text-overflow:ellipsis;white-space:nowrap}";
|
|
6
6
|
|
|
7
7
|
const ZFile = class {
|
|
8
8
|
constructor(hostRef) {
|
|
9
9
|
registerInstance(this, hostRef);
|
|
10
10
|
this.removeFile = createEvent(this, "removeFile", 7);
|
|
11
|
-
this.
|
|
12
|
-
this.
|
|
11
|
+
this.allowPopover = false;
|
|
12
|
+
this.popoverVisible = false;
|
|
13
13
|
}
|
|
14
14
|
removeFileHandler() {
|
|
15
|
-
this.removeFile.emit();
|
|
15
|
+
this.removeFile.emit({ fileName: this.fileName });
|
|
16
16
|
this.el.remove();
|
|
17
17
|
}
|
|
18
18
|
onMouseOver() {
|
|
19
|
-
this.
|
|
19
|
+
this.popoverVisible = true;
|
|
20
20
|
}
|
|
21
21
|
onMouseLeave() {
|
|
22
|
-
this.
|
|
22
|
+
this.popoverVisible = false;
|
|
23
23
|
}
|
|
24
24
|
onInteractiveIconClick() {
|
|
25
25
|
this.removeFileHandler();
|
|
26
26
|
}
|
|
27
27
|
componentDidLoad() {
|
|
28
28
|
var _a, _b;
|
|
29
|
-
if (this.elementHasEllipsis() && window.innerWidth > tabletBreakpoint)
|
|
30
|
-
this.
|
|
29
|
+
if (this.elementHasEllipsis() && window.innerWidth > tabletBreakpoint) {
|
|
30
|
+
this.allowPopover = true;
|
|
31
|
+
}
|
|
31
32
|
(_b = (_a = this.icon) === null || _a === void 0 ? void 0 : _a.focus) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
32
33
|
}
|
|
33
34
|
elementHasEllipsis() {
|
|
34
35
|
return this.ellipsis.offsetWidth < this.ellipsis.scrollWidth;
|
|
35
36
|
}
|
|
36
37
|
render() {
|
|
37
|
-
return (h(Host, null, this.
|
|
38
|
+
return (h(Host, null, this.allowPopover && (h("z-popover", { open: this.popoverVisible, position: PopoverPosition.AUTO, bindTo: this.chip }, h("span", { class: "body-5 tooltip-content" }, this.ellipsis.innerText))), h("z-chip", { ref: (el) => (this.chip = el), id: `chip-${this.fileNumber}`, interactiveIcon: "multiply-circled", type: ZChipType.DEFAULT }, h("span", { ref: (el) => (this.ellipsis = el), tabIndex: -1 }, this.fileName))));
|
|
38
39
|
}
|
|
39
40
|
get el() { return getElement(this); }
|
|
40
41
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-b3a91e19.js';
|
|
2
2
|
|
|
3
|
-
const stylesCss = ":host{display:inline-block;width:100%;height:100%;background:var(--bg-neutral-100);
|
|
3
|
+
const stylesCss = ":host{display:inline-block;overflow:hidden;width:100%;height:100%;background:var(--bg-neutral-100);border-radius:4px;transform:translate3d(0, 0, 0)}:host::after{display:block;width:100%;height:100%;animation:progress 1.6s ease-in-out infinite;background-image:linear-gradient(\n 90deg,\n var(--bg-neutral-100) 0%,\n var(--bg-neutral-150) 95%,\n var(--bg-neutral-100) 100%\n );box-shadow:#e8ebee20 0 0 1px;content:\" \"}@keyframes progress{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}";
|
|
4
4
|
|
|
5
5
|
const ZGhostLoading = class {
|
|
6
6
|
constructor(hostRef) {
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return
|
|
10
|
+
return h(Host, null);
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
ZGhostLoading.style = stylesCss;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-b3a91e19.js';
|
|
2
|
+
import { o as InfoRevealPosition } from './index-4f1e2705.js';
|
|
3
|
+
|
|
4
|
+
const stylesCss = ":host{--z-info-reveal-theme--surface:var(--color-black);--z-info-reveal-theme--text:var(--color-white);--z-info-reveal-shadow:var(--shadow-2);--z-info-reveal-max-width:375px;position:relative;display:flex;width:fit-content;background-color:var(--z-info-reveal-theme--surface);color:var(--z-info-reveal-theme--text);font-size:var(--font-size-3);font-weight:var(--font-rg);letter-spacing:0;line-height:1.5}button{padding:0;border:none;background-color:transparent;border-radius:0;color:inherit;cursor:pointer;fill:currentcolor;font-family:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit}z-icon{--z-icon-width:calc(var(--space-unit) * 3);--z-icon-height:calc(var(--space-unit) * 3);display:flex}.z-info-reveal-trigger{display:flex;width:fit-content;height:100%;align-items:center;padding:calc(var(--space-unit) / 2);box-shadow:var(--z-info-reveal-shadow);column-gap:calc(var(--space-unit) / 2)}:host([position=\"top_left\"]) .z-info-reveal-trigger,:host([position=\"bottom_left\"]) .z-info-reveal-trigger{flex-direction:row-reverse}:host([open]) .z-info-reveal-trigger{box-shadow:none}.info-box{position:absolute;display:flex;max-width:var(--z-info-reveal-max-width);padding:calc(var(--space-unit) / 2);background-color:var(--z-info-reveal-theme--surface);box-shadow:var(--z-info-reveal-shadow);column-gap:calc(var(--space-unit) / 2);cursor:pointer}:host([position=\"bottom_left\"]) .info-box,:host([position=\"bottom_right\"]) .info-box{bottom:0}:host([position=\"top_right\"]) .info-box,:host([position=\"bottom_right\"]) .info-box{right:0}:host([position=\"top_left\"]) .info-box,:host([position=\"bottom_left\"]) .info-box{left:0;flex-direction:row-reverse}::slotted(*){display:none;width:max-content}::slotted([data-current]){display:block}:host([position=\"top_left\"]) .z-info-reveal-close,:host([position=\"top_right\"]) .z-info-reveal-close{align-self:flex-start}:host([position=\"bottom_left\"]) .z-info-reveal-close,:host([position=\"bottom_right\"]) .z-info-reveal-close{align-self:flex-end}";
|
|
5
|
+
|
|
6
|
+
const ZInfoReveal = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
/** Name of the icon for the open button */
|
|
10
|
+
this.icon = "informationsource";
|
|
11
|
+
/** Info reveal's position */
|
|
12
|
+
this.position = InfoRevealPosition.BOTTOM_RIGHT;
|
|
13
|
+
/** Whether the info panel is open. */
|
|
14
|
+
this.open = false;
|
|
15
|
+
/** Current index for the info queue. */
|
|
16
|
+
this.currentIndex = null;
|
|
17
|
+
}
|
|
18
|
+
watchItems() {
|
|
19
|
+
Array.from(this.el.children).forEach((child, index) => {
|
|
20
|
+
if (this.currentIndex === index) {
|
|
21
|
+
child.setAttribute("data-current", "");
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
child.removeAttribute("data-current");
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Open the info box.
|
|
30
|
+
*/
|
|
31
|
+
openInfoBox() {
|
|
32
|
+
this.currentIndex = 0;
|
|
33
|
+
this.open = true;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Close the info box.
|
|
37
|
+
*/
|
|
38
|
+
closeInfoBox() {
|
|
39
|
+
this.open = false;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Navigate slotted info.
|
|
43
|
+
* It closes the info box after the last info has been navigated.
|
|
44
|
+
*/
|
|
45
|
+
next() {
|
|
46
|
+
this.currentIndex = this.currentIndex + 1;
|
|
47
|
+
if (this.currentIndex === this.el.children.length) {
|
|
48
|
+
this.closeInfoBox();
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
render() {
|
|
52
|
+
return (h(Host, { open: this.open }, h("button", { class: "z-info-reveal-trigger", onClick: this.openInfoBox.bind(this) }, this.label && h("span", { class: "z-info-reveal-label" }, this.label), h("z-icon", { name: this.icon })), this.open && (h("div", { class: "info-box", onClick: this.next.bind(this), tabIndex: 0 }, h("slot", null), h("button", { class: "z-info-reveal-close", onClick: this.closeInfoBox.bind(this) }, h("z-icon", { name: "close" }))))));
|
|
53
|
+
}
|
|
54
|
+
get el() { return getElement(this); }
|
|
55
|
+
static get watchers() { return {
|
|
56
|
+
"currentIndex": ["watchItems"]
|
|
57
|
+
}; }
|
|
58
|
+
};
|
|
59
|
+
ZInfoReveal.style = stylesCss;
|
|
60
|
+
|
|
61
|
+
export { ZInfoReveal as z_info_reveal };
|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement, c as createEvent } from './index-b3a91e19.js';
|
|
2
|
+
import { F as ListSize, G as ListType, H as ExpandableListButtonAlign, f as ListDividerType, n as DividerSize, J as ExpandableListStyle, K as KeyboardCode } from './index-4f1e2705.js';
|
|
3
|
+
|
|
4
|
+
const stylesCss$2 = ":host{display:flex;flex-direction:column;font-family:var(--font-family-sans);font-weight:var(--font-rg)}";
|
|
5
|
+
|
|
6
|
+
const ZList = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
/**
|
|
10
|
+
* [optional] Sets size of inside elements.
|
|
11
|
+
*/
|
|
12
|
+
this.size = ListSize.MEDIUM;
|
|
13
|
+
/**
|
|
14
|
+
* [optional] type of the list marker for each element
|
|
15
|
+
*/
|
|
16
|
+
this.listType = ListType.NONE;
|
|
17
|
+
}
|
|
18
|
+
setChildrenSizeType() {
|
|
19
|
+
const children = this.host.children;
|
|
20
|
+
for (let i = 0; i < children.length; i++) {
|
|
21
|
+
children[i].setAttribute("size", this.size);
|
|
22
|
+
children[i].setAttribute("list-type", this.listType);
|
|
23
|
+
children[i].setAttribute("list-element-position", (i + 1).toString());
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
componentDidLoad() {
|
|
27
|
+
this.setChildrenSizeType();
|
|
28
|
+
}
|
|
29
|
+
render() {
|
|
30
|
+
return (h(Host, { role: "list" }, h("slot", null)));
|
|
31
|
+
}
|
|
32
|
+
get host() { return getElement(this); }
|
|
33
|
+
};
|
|
34
|
+
ZList.style = stylesCss$2;
|
|
35
|
+
|
|
36
|
+
const stylesCss$1 = ":host{outline:none}:host>.container,:host>.container-contextual-menu{--background-color-list-element:var(--bg-white);--background-hover-color-list-element:var(--color-surface02);--background-active-color-list-element:var(--color-surface02);display:flex;box-sizing:border-box;flex-direction:column;justify-content:center;font-family:var(--font-family-sans);font-weight:var(--font-rg);outline:none}:host([size=\"small\"])>.container{min-height:calc(var(--space-unit) * 4);padding:calc(var(--space-unit) / 2) 0}:host([size=\"medium\"])>.container{min-height:calc(var(--space-unit) * 5);padding:var(--space-unit) 0}:host([size=\"large\"])>.container{min-height:calc(var(--space-unit) * 7);padding:calc(var(--space-unit) * 2) 0}:host([size=\"x-large\"])>.container{min-height:calc(var(--space-unit) * 9);padding:calc(var(--space-unit) * 3) 0}:host([expandable])>.container,:host([expandable])>.container-contextual-menu,:host([clickable])>.container,:host([clickable])>.container-contextual-menu{cursor:pointer}:host([expandable]:hover)>.container,:host([expandable]:hover)>.container-contextual-menu,:host([clickable]:hover)>.container,:host([clickable]:hover)>.container-contextual-menu{background-color:var(--background-hover-color-list-element)}:host([expandable]:focus:focus-visible)>.container,:host([expandable]:focus:focus-visible)>.container-contextual-menu,:host([clickable]:focus:focus-visible)>.container,:host([clickable]:focus:focus-visible)>.container-contextual-menu{box-shadow:var(--shadow-focus-primary)}:host([clickable]:not([expandable]))>.container.clicked,:host([clickable]:not([expandable]))>.container-contextual-menu.clicked{box-shadow:var(--shadow-focus-primary)}:host([expandable]:active)>.container,:host([expandable]:active)>.container-contextual-menu,:host([clickable]:active)>.container,:host([clickable]:active)>.container-contextual-menu{background-color:var(--background-active-color-list-element)}:host([align-button=\"left\"][expandable])>.container>.z-list-element-container,:host([align-button=\"left\"][expandable])>.container-contextual-menu>.z-list-element-container{display:flex}:host([align-button=\"right\"][expandable])>.container>.z-list-element-container,:host([align-button=\"right\"][expandable])>.container-contextual-menu>.z-list-element-container{display:flex;flex-direction:row-reverse;justify-content:space-between}:host([align-button=\"left\"][expandable])>.container>.z-list-element-container>z-icon,:host([align-button=\"left\"][expandable])>.container-contextual-menu>.z-list-element-container>z-icon{margin-right:var(--space-unit)}:host([align-button=\"right\"][expandable])>.container>.z-list-element-container>z-icon,:host([align-button=\"right\"][expandable])>.container-contextual-menu>.z-list-element-container>z-icon{margin-left:var(--space-unit)}:host>.container>.z-list-element-inner-container,:host>.container-contextual-menu>.z-list-element-inner-container{display:none}:host>.container>.z-list-element-inner-container.expanded,:host>.container-contextual-menu>.z-list-element-inner-container.expanded{display:block}:host([clickable]:hover)>.container-contextual-menu{background-color:var(--color-surface03)}.container-contextual-menu:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}.z-list-content-container{display:flex;align-items:center}";
|
|
37
|
+
|
|
38
|
+
const ZListElement = class {
|
|
39
|
+
/**
|
|
40
|
+
* Constructor.
|
|
41
|
+
*/
|
|
42
|
+
constructor(hostRef) {
|
|
43
|
+
registerInstance(this, hostRef);
|
|
44
|
+
this.accessibleFocus = createEvent(this, "accessibleFocus", 7);
|
|
45
|
+
this.clickItem = createEvent(this, "clickItem", 7);
|
|
46
|
+
/**
|
|
47
|
+
* [optional] Align expandable button left or right.
|
|
48
|
+
*/
|
|
49
|
+
this.alignButton = ExpandableListButtonAlign.LEFT;
|
|
50
|
+
/**
|
|
51
|
+
* [optional] Sets element clickable.
|
|
52
|
+
*/
|
|
53
|
+
this.clickable = false;
|
|
54
|
+
/**
|
|
55
|
+
* [optional] Sets the divider color.
|
|
56
|
+
*/
|
|
57
|
+
this.dividerColor = "color-surface03";
|
|
58
|
+
/**
|
|
59
|
+
* [optional] Sets the position where to insert the divider.
|
|
60
|
+
*/
|
|
61
|
+
this.dividerType = ListDividerType.NONE;
|
|
62
|
+
/**
|
|
63
|
+
* [optional] Sets the divider size.
|
|
64
|
+
*/
|
|
65
|
+
this.dividerSize = DividerSize.SMALL;
|
|
66
|
+
/**
|
|
67
|
+
* [optional] Sets element as expandable.
|
|
68
|
+
*/
|
|
69
|
+
this.expandable = false;
|
|
70
|
+
/**
|
|
71
|
+
* [optional] Sets expandable style to element.
|
|
72
|
+
*/
|
|
73
|
+
this.expandableStyle = ExpandableListStyle.ACCORDION;
|
|
74
|
+
/**
|
|
75
|
+
* [optional] Sets size of inside elements.
|
|
76
|
+
*/
|
|
77
|
+
this.size = ListSize.MEDIUM;
|
|
78
|
+
/**
|
|
79
|
+
* [optional] Sets text color of the element.
|
|
80
|
+
*/
|
|
81
|
+
this.color = "none";
|
|
82
|
+
/**
|
|
83
|
+
* [optional] Sets disabled style of the element.
|
|
84
|
+
*/
|
|
85
|
+
this.disabled = false;
|
|
86
|
+
/**
|
|
87
|
+
* [optional] If is used in ZContextualMenu component
|
|
88
|
+
*/
|
|
89
|
+
this.isContextualMenu = false;
|
|
90
|
+
/**
|
|
91
|
+
* [optional] position of the list element inside the list or the group
|
|
92
|
+
*/
|
|
93
|
+
this.listElementPosition = "0";
|
|
94
|
+
/**
|
|
95
|
+
* [optional] type of the list marker for each element
|
|
96
|
+
*/
|
|
97
|
+
this.listType = ListType.NONE;
|
|
98
|
+
this.showInnerContent = false;
|
|
99
|
+
this.openElementConfig = {
|
|
100
|
+
accordion: {
|
|
101
|
+
open: "minus-circled",
|
|
102
|
+
close: "plus-circled",
|
|
103
|
+
},
|
|
104
|
+
menu: {
|
|
105
|
+
open: "chevron-up",
|
|
106
|
+
close: "chevron-down",
|
|
107
|
+
},
|
|
108
|
+
};
|
|
109
|
+
this.handleClick = this.handleClick.bind(this);
|
|
110
|
+
this.handleKeyDown = this.handleKeyDown.bind(this);
|
|
111
|
+
}
|
|
112
|
+
accessibleFocusHandler(e) {
|
|
113
|
+
if (this.listElementId === e.detail) {
|
|
114
|
+
const toFocus = this.host.shadowRoot.getElementById(`z-list-element-id-${e.detail}`);
|
|
115
|
+
toFocus.focus();
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Handler for click on element. If element is expandable, change state.
|
|
120
|
+
* @returns void
|
|
121
|
+
*/
|
|
122
|
+
handleClick() {
|
|
123
|
+
this.clickItem.emit(this.listElementId);
|
|
124
|
+
if (!this.expandable) {
|
|
125
|
+
return;
|
|
126
|
+
}
|
|
127
|
+
this.showInnerContent = !this.showInnerContent;
|
|
128
|
+
}
|
|
129
|
+
calculateClass() {
|
|
130
|
+
if (this.isContextualMenu) {
|
|
131
|
+
return "container-contextual-menu";
|
|
132
|
+
}
|
|
133
|
+
return "container";
|
|
134
|
+
}
|
|
135
|
+
handleKeyDown(event) {
|
|
136
|
+
const expandByKey = event.code === KeyboardCode.ENTER;
|
|
137
|
+
switch (event.code) {
|
|
138
|
+
case KeyboardCode.ARROW_DOWN:
|
|
139
|
+
event.preventDefault();
|
|
140
|
+
this.accessibleFocus.emit(this.listElementId + 1);
|
|
141
|
+
break;
|
|
142
|
+
case KeyboardCode.ARROW_UP:
|
|
143
|
+
event.preventDefault();
|
|
144
|
+
this.accessibleFocus.emit(this.listElementId - 1);
|
|
145
|
+
break;
|
|
146
|
+
case KeyboardCode.ENTER:
|
|
147
|
+
event.preventDefault();
|
|
148
|
+
this.clickItem.emit(this.listElementId);
|
|
149
|
+
break;
|
|
150
|
+
}
|
|
151
|
+
if (!this.expandable || !expandByKey) {
|
|
152
|
+
return;
|
|
153
|
+
}
|
|
154
|
+
this.showInnerContent = !this.showInnerContent;
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* Renders button to expand element.
|
|
158
|
+
* @returns expadable button
|
|
159
|
+
*/
|
|
160
|
+
renderExpandableButton() {
|
|
161
|
+
if (!this.expandable) {
|
|
162
|
+
return null;
|
|
163
|
+
}
|
|
164
|
+
return (h("z-icon", { name: this.showInnerContent
|
|
165
|
+
? this.openElementConfig[this.expandableStyle].open
|
|
166
|
+
: this.openElementConfig[this.expandableStyle].close }));
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* Renders expanded content if element is expandable.
|
|
170
|
+
* @returns expanded content
|
|
171
|
+
*/
|
|
172
|
+
renderExpandedContent() {
|
|
173
|
+
if (!this.expandable) {
|
|
174
|
+
return null;
|
|
175
|
+
}
|
|
176
|
+
return (h("div", { class: {
|
|
177
|
+
"z-list-element-inner-container": true,
|
|
178
|
+
"expanded": this.showInnerContent,
|
|
179
|
+
} }, h("slot", { name: "inner-content" })));
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* Renders content of the z-list-element
|
|
183
|
+
* @returns list content
|
|
184
|
+
*/
|
|
185
|
+
renderContent() {
|
|
186
|
+
if (this.listType === ListType.NONE) {
|
|
187
|
+
return h("slot", null);
|
|
188
|
+
}
|
|
189
|
+
if (this.listType === ListType.ORDERED) {
|
|
190
|
+
return (h("div", { class: "z-list-content-container" }, h("div", null, this.listElementPosition, ".\u2003"), h("slot", null)));
|
|
191
|
+
}
|
|
192
|
+
if (this.listType === ListType.UNORDERED) {
|
|
193
|
+
return (h("div", { class: "z-list-content-container" }, h("span", null, "\u2022\u2003"), h("slot", null)));
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
render() {
|
|
197
|
+
return (h(Host, { role: "listitem", "aria-expanded": this.expandable ? this.showInnerContent : null, onClick: this.handleClick, onKeyDown: this.handleKeyDown, clickable: this.clickable && !this.disabled, tabIndex: !this.isContextualMenu ? "0" : null }, h("div", { class: `${this.calculateClass()}`, style: { color: `var(--${this.color})` }, tabindex: this.isContextualMenu ? "0" : "-1", id: `z-list-element-id-${this.listElementId}` }, h("div", { class: "z-list-element-container" }, this.renderExpandableButton(), this.renderContent()), this.renderExpandedContent()), this.dividerType === ListDividerType.ELEMENT && (h("z-divider", { color: this.dividerColor, size: this.dividerSize }))));
|
|
198
|
+
}
|
|
199
|
+
get host() { return getElement(this); }
|
|
200
|
+
};
|
|
201
|
+
ZListElement.style = stylesCss$1;
|
|
202
|
+
|
|
203
|
+
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>.z-list-group-header-container{color:var(--gray700);font-size:var(--font-size-2);font-weight:var(--font-sb) !important;letter-spacing:0.16px;line-height:1.4}:host>.z-list-group-header-container.has-header{padding-top:var(--space-unit);padding-bottom:var(--space-unit)}:host>.z-list-group-header-container.has-header>z-divider{margin-top:var(--space-unit)}";
|
|
204
|
+
|
|
205
|
+
const ZListGroup = class {
|
|
206
|
+
constructor(hostRef) {
|
|
207
|
+
registerInstance(this, hostRef);
|
|
208
|
+
/**
|
|
209
|
+
* [optional] Sets size of inside elements.
|
|
210
|
+
*/
|
|
211
|
+
this.size = ListSize.MEDIUM;
|
|
212
|
+
/**
|
|
213
|
+
* [optional] Sets the position where to insert the divider.
|
|
214
|
+
*/
|
|
215
|
+
this.dividerType = ListDividerType.NONE;
|
|
216
|
+
/**
|
|
217
|
+
* [optional] Sets the divider size.
|
|
218
|
+
*/
|
|
219
|
+
this.dividerSize = DividerSize.SMALL;
|
|
220
|
+
/**
|
|
221
|
+
* [optional] Sets the divider color.
|
|
222
|
+
*/
|
|
223
|
+
this.dividerColor = "gray200";
|
|
224
|
+
/**
|
|
225
|
+
* [optional] type of the list marker for each element
|
|
226
|
+
*/
|
|
227
|
+
this.listType = ListType.NONE;
|
|
228
|
+
}
|
|
229
|
+
componentDidLoad() {
|
|
230
|
+
const children = this.host.children;
|
|
231
|
+
for (let i = 0; i < children.length; i++) {
|
|
232
|
+
if (children.length - 1 > i) {
|
|
233
|
+
children[i].setAttribute("divider-type", this.dividerType);
|
|
234
|
+
children[i].setAttribute("divider-size", this.dividerSize);
|
|
235
|
+
children[i].setAttribute("divider-color", this.dividerColor);
|
|
236
|
+
}
|
|
237
|
+
children[i].setAttribute("size", this.size);
|
|
238
|
+
children[i].setAttribute("list-type", this.listType);
|
|
239
|
+
children[i].setAttribute("list-element-position", i.toString());
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
componentWillLoad() {
|
|
243
|
+
this.hasHeader = !!this.host.querySelector('[slot="header-title"]');
|
|
244
|
+
}
|
|
245
|
+
render() {
|
|
246
|
+
return (h(Host, { role: "group" }, h("div", { class: {
|
|
247
|
+
"z-list-group-header-container": true,
|
|
248
|
+
"has-header": this.hasHeader,
|
|
249
|
+
} }, h("slot", { name: "header-title" }), this.dividerType === ListDividerType.HEADER && (h("z-divider", { color: this.dividerColor, size: this.dividerSize }))), h("slot", null)));
|
|
250
|
+
}
|
|
251
|
+
get host() { return getElement(this); }
|
|
252
|
+
};
|
|
253
|
+
ZListGroup.style = stylesCss;
|
|
254
|
+
|
|
255
|
+
export { ZList as z_list, ZListElement as z_list_element, ZListGroup as z_list_group };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-b3a91e19.js';
|
|
2
2
|
|
|
3
|
-
const stylesCss = ":host{display:inline-block;
|
|
3
|
+
const stylesCss = ":host{display:inline-block;width:255px;height:64px;vertical-align:top}img{display:block;width:100%;height:100%;margin:auto;content:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='255px' height='64px' viewBox='0 0 255 64'%3E%3Cg id='Logo/Zanichelli/Centered-(reworked)' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='Group'%3E%3Cpolygon id='Background' fill='%23E2001A' points='1.70530257e-13 64 254.39 64 254.39 0 1.70530257e-13 0'%3E%3C/polygon%3E%3Cpath d='M233.36,51.3553859 L242.390252,51.3553859 L242.390252,12.6427292 L233.36,12.6427292 L233.36,51.3553859 Z M211.120346,51.3553859 L230.477617,51.3553859 L230.477617,44.5040053 L220.685891,44.5040053 L220.685891,12.6427292 L211.120346,12.6427292 L211.120346,51.3553859 Z M188.880124,51.3553859 L208.23551,51.3553859 L208.23551,44.5040053 L198.445669,44.5040053 L198.445669,12.6427292 L188.880124,12.6427292 L188.880124,51.3553859 Z M165.354444,12.6427292 L165.354444,51.3553859 L185.999058,51.3553859 L185.999058,44.5021204 L175.027425,44.5021204 L175.027425,35.1778343 L185.377062,35.1778343 L185.377062,28.2699086 L175.027425,28.2699086 L175.027425,19.4978796 L185.999058,19.4978796 L185.999058,12.6427292 L165.354444,12.6427292 Z M136.666196,51.3553859 L146.239281,51.3553859 L146.239281,35.1778343 L152.902178,35.1778343 L152.902178,51.3553859 L162.473377,51.3553859 L162.473377,12.6427292 L152.902178,12.6427292 L152.902178,28.2717934 L146.239281,28.2717934 L146.239281,12.6427292 L136.666196,12.6427292 L136.666196,51.3553859 Z M96.064744,51.3553859 L105.098765,51.3553859 L105.098765,12.6427292 L96.064744,12.6427292 L96.064744,51.3553859 Z M53.2364527,36.5160682 L50.6824993,19.7429083 L48.0757704,36.5160682 L53.2364527,36.5160682 Z M65.4935444,51.3553859 L56.2710395,51.3553859 L54.9441146,42.5286966 L47.7101121,42.5286966 L46.3304118,51.3553859 L37.1060221,51.3553859 L45.0053718,12.6427292 L57.5960795,12.6427292 L65.4935444,51.3553859 Z M85.0468382,37.7581755 L76.7969089,12.6427292 L67.3764961,12.6427292 L67.3764961,51.3553859 L75.4040147,51.3553859 L75.4040147,26.132504 L83.5955141,51.3553859 L93.1855622,51.3553859 L93.1855622,12.6427292 L85.0468382,12.6427292 L85.0468382,37.7581755 Z M107.977948,32 C107.977948,34.5200264 107.977948,36.7893695 108.187165,39.1246819 C108.396382,41.4713034 108.818585,43.6878711 109.678071,45.6009801 C111.423429,49.487513 114.932995,52 121.708982,52 C129.508435,52 133.787014,48.4753558 133.787014,38.0220526 L133.787014,37.5640373 L124.937707,37.5640373 L124.922628,38.0050891 C124.894356,38.7571388 124.884931,39.6185091 124.826501,40.4855339 C124.769956,41.3431345 124.66629,42.1875412 124.460843,42.9301668 C124.048064,44.3965696 123.279051,45.3559514 121.708982,45.3559514 C117.743286,45.3559514 117.057205,42.0574875 117.057205,32 C117.057205,21.9425125 117.743286,18.6440486 121.708982,18.6440486 C123.605127,18.6440486 124.547546,20.0030157 124.547546,25.1806616 L124.547546,25.6424465 L133.344077,25.6424465 L133.361041,25.1995099 C133.689003,16.7855998 130.235982,12 121.708982,12 C114.934879,12 111.427199,14.4823297 109.678071,18.3594383 C108.818585,20.265008 108.396382,22.4778061 108.187165,24.830082 C107.977948,27.1710489 107.977948,29.4554707 107.977948,32 L107.977948,32 Z M34.9007634,12.6446141 L34.9007634,20.3196683 L21.6051268,44.5040053 L35.2268401,44.5040053 L35.2268401,51.3553859 L12,51.3553859 L12,43.7915371 L25.2975214,19.4997644 L13.683159,19.4997644 L13.683159,12.6446141 L34.9007634,12.6446141 Z' id='Logotipo-(reworked)' fill='%23FFFFFF'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E\")}a{display:block;width:100%;height:100%}:host(.mobile){width:31px;height:40px}:host(.mobile) img{content:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='31px' height='40px' viewBox='0 0 31 40'%3E%3Cg id='Symbols' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='Topbar/Mobile/Logged' transform='translate(-16.000000, -4.000000)'%3E%3Cg id='Group' transform='translate(16.000000, 4.000000)'%3E%3Cpolygon id='Fill-1' fill='%23E2001A' points='0 40 30.625 40 30.625 0 0 0'%3E%3C/polygon%3E%3Cpolygon id='Fill-2' fill='%23FEFEFE' points='8.17111587 6.20689655 23.4311708 6.20689655 23.4311708 11.671267 13.8691261 28.9163861 23.6647727 28.9163861 23.6647727 33.7931034 6.96022727 33.7931034 6.96022727 28.408218 16.522272 11.0831673 8.17111587 11.0831673'%3E%3C/polygon%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E\")}";
|
|
4
4
|
|
|
5
5
|
const ZLogo = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -14,9 +14,7 @@ const ZLogo = class {
|
|
|
14
14
|
if (this.height) {
|
|
15
15
|
style["height"] = style["max-height"] = `${this.height}px`;
|
|
16
16
|
}
|
|
17
|
-
return (h(Host, { style: style, class: {
|
|
18
|
-
h("a", { href: this.link, target: this.targetBlank ? "_blank" : "_self" }, h("img", { alt: this.imageAlt })) :
|
|
19
|
-
h("img", { alt: this.imageAlt })));
|
|
17
|
+
return (h(Host, { style: style, class: { mobile: !!this.mobileLogo } }, this.link ? (h("a", { href: this.link, target: this.targetBlank ? "_blank" : "_self" }, h("img", { alt: this.imageAlt }))) : (h("img", { alt: this.imageAlt }))));
|
|
20
18
|
}
|
|
21
19
|
};
|
|
22
20
|
ZLogo.style = stylesCss;
|