@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,16 +1,16 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, a as getElement } from './index-b3a91e19.js';
|
|
2
|
-
import {
|
|
3
|
-
import { g as getDevice, h as handleKeyboardSubmit } from './utils-
|
|
2
|
+
import { l as ZChipType, D as Device } from './index-4f1e2705.js';
|
|
3
|
+
import { g as getDevice, h as handleKeyboardSubmit } from './utils-5a24a17b.js';
|
|
4
4
|
import './breakpoints-e07f80e7.js';
|
|
5
5
|
|
|
6
|
-
const stylesCss = ".sc-z-chip-h>button.sc-z-chip{display:inline-flex;align-items:center;padding:0 calc(var(--space-unit) * 1.5);
|
|
6
|
+
const stylesCss = ".sc-z-chip-h>button.sc-z-chip{display:inline-flex;align-items:center;padding:0 calc(var(--space-unit) * 1.5);border:var(--border-size-small) solid var(--gray400);background-color:var(--bg-white);border-radius:14px;color:var(--text-grey-800);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-sb)}.sc-z-chip-h>button.sc-z-chip:not(:disabled)>z-icon.sc-z-chip:last-child:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary)}.sc-z-chip-h>button.sc-z-chip:hover:not(:disabled)>z-icon.sc-z-chip:first-child{fill:var(--color-icon02)}.sc-z-chip-h>button.sc-z-chip>z-icon.icon-sx.sc-z-chip{margin-right:calc(var(--space-unit) / 2)}.sc-z-chip-h>button.sc-z-chip>z-icon.sc-z-chip:last-child{margin-left:var(--space-unit);cursor:pointer;fill:var(--color-primary01)}.sc-z-chip-h>button.sc-z-chip:disabled,.sc-z-chip-h>button.sc-z-chip:disabled>z-icon.sc-z-chip{color:var(--color-disabled03);fill:var(--color-disabled03)}.sc-z-chip-h>button.sc-z-chip:disabled>z-icon.sc-z-chip{cursor:auto}.sc-z-chip-h>button.sc-z-chip:disabled{border:var(--border-size-small) solid var(--color-disabled01)}.sc-z-chip-h>button.sc-z-chip:focus:focus-visible,.sc-z-chip-h>div.sc-z-chip:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}.sc-z-chip-h>button.sc-z-chip:hover:not(:disabled):active:hover>z-icon.sc-z-chip:last-child{color:var(--color-primary01);fill:var(--color-primary01)}.sc-z-chip-h>div.sc-z-chip{display:inline-flex;min-height:28px;align-items:center;padding:0 calc(var(--space-unit) * 1.5);border:var(--border-size-small) solid var(--bg-grey-200);background-color:var(--bg-white);border-radius:14px;color:var(--text-grey-800);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-size:14px;line-height:28px}.sc-z-chip-h>div.sc-z-chip>z-icon.sc-z-chip{margin-right:calc(var(--space-unit) / 2)}.sc-z-chip-h>button.default.sc-z-chip,.sc-z-chip-h>div.default.sc-z-chip{min-height:44px;border-radius:22px;line-height:44px}.sc-z-chip-h>button.medium.sc-z-chip,.sc-z-chip-h>div.medium.sc-z-chip{min-height:40px;border-radius:22px;line-height:40px}.sc-z-chip-h>button.small.sc-z-chip,.sc-z-chip-h>div.small.sc-z-chip{min-height:36px;border-radius:22px;line-height:36px}@media only screen and (min-width: 1152px){.sc-z-chip-h>button.sc-z-chip{font-size:12px}.sc-z-chip-h>div.sc-z-chip{font-size:12px}.sc-z-chip-h>button.default.sc-z-chip,.sc-z-chip-h>div.default.sc-z-chip{min-height:32px;border-radius:16px;line-height:32px}.sc-z-chip-h>button.medium.sc-z-chip,.sc-z-chip-h>div.medium.sc-z-chip{min-height:28px;border-radius:16px;line-height:28px}.sc-z-chip-h>button.small.sc-z-chip,.sc-z-chip-h>div.small.sc-z-chip{min-height:24px;border-radius:16px;line-height:24px}}";
|
|
7
7
|
|
|
8
8
|
const ZChip = class {
|
|
9
9
|
constructor(hostRef) {
|
|
10
10
|
registerInstance(this, hostRef);
|
|
11
11
|
this.interactiveIconClick = createEvent(this, "interactiveIconClick", 7);
|
|
12
12
|
/** z-chip size type, can be default, medium or small */
|
|
13
|
-
this.type = ZChipType.
|
|
13
|
+
this.type = ZChipType.DEFAULT;
|
|
14
14
|
/** set z-chip as disabled */
|
|
15
15
|
this.disabled = false;
|
|
16
16
|
}
|
|
@@ -18,11 +18,11 @@ const ZChip = class {
|
|
|
18
18
|
this.interactiveIconClick.emit();
|
|
19
19
|
}
|
|
20
20
|
getIconSize() {
|
|
21
|
-
return getDevice() !==
|
|
21
|
+
return getDevice() !== Device.DESKTOP ? 22 : 14;
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
24
|
if (this.interactiveIcon) {
|
|
25
|
-
return (h("button", { class: this.type, disabled: this.disabled, tabindex: "0" }, this.icon && (h("z-icon", { class: "
|
|
25
|
+
return (h("button", { class: this.type, disabled: this.disabled, tabindex: "0", type: "button" }, this.icon && (h("z-icon", { class: "icon-sx", name: this.icon, width: this.getIconSize(), height: this.getIconSize() })), h("slot", null), h("z-icon", { tabIndex: this.disabled ? -1 : 0, onClick: () => this.emitinteractiveIconClick(), onKeyUp: (e) => handleKeyboardSubmit(e, this.emitinteractiveIconClick.bind(this)), name: this.interactiveIcon, width: this.getIconSize(), height: this.getIconSize() })));
|
|
26
26
|
}
|
|
27
27
|
return (h("div", { class: `${this.type}`, tabindex: "0" }, this.icon && (h("z-icon", { name: this.icon, width: this.getIconSize(), height: this.getIconSize() })), h("slot", null)));
|
|
28
28
|
}
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-b3a91e19.js';
|
|
2
|
-
import { I as
|
|
3
|
-
import { h as handleKeyboardSubmit } from './utils-
|
|
2
|
+
import { I as InputType, e as KeyboardKeyCode, f as ListDividerType } from './index-4f1e2705.js';
|
|
3
|
+
import { h as handleKeyboardSubmit } from './utils-5a24a17b.js';
|
|
4
4
|
import './breakpoints-e07f80e7.js';
|
|
5
5
|
|
|
6
|
-
const stylesCss = ":host{display:block}:host>div.fixed{position:relative
|
|
6
|
+
const stylesCss = ":host{display:block}:host>div.fixed{position:relative}:host>div>.header{position:relative;z-index:10;display:flex;min-height:42px;align-items:center;justify-content:space-between;padding:0 calc(var(--space-unit) * 1.5);border:var(--border-size-small) solid var(--bg-grey-700);margin:0;background-color:var(--bg-white);border-radius:var(--border-radius-small);cursor:pointer}:host>div>.header:hover{outline:var(--border-size-medium) solid var(--gray700);outline-offset:-2px}:host>div.open>div.header:focus:focus-visible{box-shadow:none}:host>div>div.header:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}:host>div>.header>z-body{padding:var(--space-unit) 0;margin:0;color:var(--text-grey-800)}:host>div>.header>z-body>span{font-weight:var(--font-sb)}:host>div>.header>z-icon{fill:var(--text-grey-800);transform:rotate(360deg);transition:all 200ms linear}:host>div.open>.header{border:var(--border-size-small) solid var(--blue500);border-radius:var(--border-radius-small) var(--border-radius-small) 0 0}:host>div.disabled{pointer-events:none}:host>div.disabled .header{border-color:var(--color-disabled01);fill:var(--color-disabled01)}:host>div.disabled .header>z-body{color:var(--text-grey-700)}:host>div.disabled .header>z-icon:last-child{fill:var(--color-disabled01)}:host>div.open>.header>z-icon{fill:var(--text-grey-800);transform:rotate(180deg);transition:all 200ms linear}:host>div.open>div.open-combo-data{position:relative;z-index:12;padding:var(--space-unit) calc(var(--space-unit) * 2);border:var(--border-size-small) solid var(--gray200);border-top:0;background-color:var(--bg-white);border-radius:0}:host>div.open>div.open-combo-data>div{overflow:auto;max-height:235px;padding:0;scrollbar-color:var(--myz-blue) var(--gray200);scrollbar-width:thin}:host>div.open>div.open-combo-data>z-input{width:100%;margin-bottom:calc(var(--space-unit) * 2)}:host>div.open>div.open-combo-data>div>ul{max-height:235px;padding:0 3px;margin:0}::-webkit-scrollbar{width:10px;background:linear-gradient(90deg, var(--bg-white) 2px, var(--bg-grey-200) 4px, var(--bg-white) 8px);border-radius:var(--border-radius)}::-webkit-scrollbar-thumb{width:10px;background-color:var(--myz-blue);border-radius:var(--border-radius)}:host>div.open>z-input{position:relative;z-index:1;width:238px;margin:0 calc(var(--space-unit) * 2);color:var(--myz-blue)}:host>div.open>div.open-combo-data>div.search{overflow:hidden;max-height:auto;margin-top:0;box-shadow:1px 1px 4px 2px rgb(217 222 227 / 50%)}:host>div.open>div.open-combo-data>div.search>ul{overflow:auto;max-height:180px;padding:var(--space-unit) calc(var(--space-unit) * 2);scrollbar-color:var(--myz-blue) var(--bg-grey-200);scrollbar-width:thin}:host>div.open>div.open-combo-data>div.search>div{display:flex;justify-content:center}:host>div.open>div.open-combo-data>div.search>div>a{display:inline-block;height:44px;color:var(--myz-blue);cursor:pointer;font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-sb);line-height:44px;text-align:center;text-transform:uppercase}:host>div.open>div.open-combo-data>div.check-all-wrapper{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 0.5);border-bottom:var(--border-size-small) solid var(--gray800);margin-bottom:var(--space-unit);text-align:left}";
|
|
7
7
|
|
|
8
8
|
const ZCombobox = class {
|
|
9
9
|
constructor(hostRef) {
|
|
10
10
|
registerInstance(this, hostRef);
|
|
11
11
|
this.comboboxChange = createEvent(this, "comboboxChange", 7);
|
|
12
|
+
/** the combobox is disabled */
|
|
13
|
+
this.disabled = false;
|
|
12
14
|
/** show search input flag (optional) */
|
|
13
15
|
this.hassearch = false;
|
|
14
16
|
/** no result text message */
|
|
@@ -29,34 +31,30 @@ const ZCombobox = class {
|
|
|
29
31
|
this.maxcheckableitems = 0;
|
|
30
32
|
this.renderItemsList = []; // used for render only
|
|
31
33
|
this.itemsList = [];
|
|
32
|
-
this.inputType =
|
|
34
|
+
this.inputType = InputType.TEXT;
|
|
33
35
|
this.toggleComboBox = this.toggleComboBox.bind(this);
|
|
34
36
|
this.closeFilterItems = this.closeFilterItems.bind(this);
|
|
35
37
|
}
|
|
36
38
|
watchItems() {
|
|
37
|
-
this.itemsList =
|
|
38
|
-
typeof this.items === "string" ? JSON.parse(this.items) : this.items;
|
|
39
|
+
this.itemsList = typeof this.items === "string" ? JSON.parse(this.items) : this.items;
|
|
39
40
|
this.selectedCounter = this.itemsList.filter((item) => item.checked).length;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
this.resetRenderItemsList();
|
|
45
|
-
}
|
|
41
|
+
this.updateRenderItemsList();
|
|
42
|
+
}
|
|
43
|
+
watchSearchValue() {
|
|
44
|
+
this.filterItems(this.searchValue);
|
|
46
45
|
}
|
|
47
46
|
inputCheckListener(e) {
|
|
48
47
|
const id = e.detail.id.replace(`combo-checkbox-${this.inputid}-`, "");
|
|
49
|
-
if (id === "check-all" &&
|
|
50
|
-
(!this.maxcheckableitems ||
|
|
51
|
-
this.maxcheckableitems >= this.itemsList.length)) {
|
|
48
|
+
if (id === "check-all" && (!this.maxcheckableitems || this.maxcheckableitems >= this.itemsList.length)) {
|
|
52
49
|
return this.checkAll(e.detail.checked);
|
|
53
50
|
}
|
|
54
51
|
this.itemsList = this.itemsList.map((item) => {
|
|
55
|
-
if (item.id === id)
|
|
52
|
+
if (item.id === id) {
|
|
56
53
|
item.checked = e.detail.checked;
|
|
54
|
+
}
|
|
57
55
|
return item;
|
|
58
56
|
});
|
|
59
|
-
this.
|
|
57
|
+
this.updateRenderItemsList();
|
|
60
58
|
this.emitComboboxChange();
|
|
61
59
|
}
|
|
62
60
|
emitComboboxChange() {
|
|
@@ -67,9 +65,14 @@ const ZCombobox = class {
|
|
|
67
65
|
}
|
|
68
66
|
componentWillRender() {
|
|
69
67
|
this.selectedCounter = this.itemsList.filter((item) => item.checked).length;
|
|
68
|
+
}
|
|
69
|
+
updateRenderItemsList() {
|
|
70
70
|
if (this.searchValue) {
|
|
71
71
|
this.filterItems(this.searchValue);
|
|
72
72
|
}
|
|
73
|
+
else {
|
|
74
|
+
this.resetRenderItemsList();
|
|
75
|
+
}
|
|
73
76
|
}
|
|
74
77
|
resetRenderItemsList() {
|
|
75
78
|
const renderItemsList = [];
|
|
@@ -79,9 +82,9 @@ const ZCombobox = class {
|
|
|
79
82
|
this.renderItemsList = renderItemsList;
|
|
80
83
|
}
|
|
81
84
|
filterItems(value) {
|
|
82
|
-
if (!value)
|
|
85
|
+
if (!value) {
|
|
83
86
|
return this.closeFilterItems();
|
|
84
|
-
|
|
87
|
+
}
|
|
85
88
|
this.resetRenderItemsList();
|
|
86
89
|
this.renderItemsList = this.renderItemsList.filter((item) => {
|
|
87
90
|
const start = item.name.toUpperCase().indexOf(value.toUpperCase());
|
|
@@ -107,31 +110,54 @@ const ZCombobox = class {
|
|
|
107
110
|
}
|
|
108
111
|
renderHeader() {
|
|
109
112
|
return (h("div", { class: "header", onClick: () => this.toggleComboBox(), onKeyDown: (ev) => {
|
|
110
|
-
if (ev.keyCode ===
|
|
113
|
+
if (ev.keyCode === KeyboardKeyCode.SPACE) {
|
|
111
114
|
ev.preventDefault();
|
|
115
|
+
}
|
|
112
116
|
}, onKeyUp: (ev) => handleKeyboardSubmit(ev, this.toggleComboBox), role: "button", tabindex: 0 }, h("z-body", { level: 3, component: "p" }, this.label, h("span", null, this.selectedCounter > 0 && ` (${this.selectedCounter})`)), h("z-icon", { name: "caret-down", width: 18, height: 18 })));
|
|
113
117
|
}
|
|
114
118
|
renderContent() {
|
|
115
|
-
if (!this.isopen)
|
|
119
|
+
if (!this.isopen) {
|
|
116
120
|
return;
|
|
117
|
-
|
|
121
|
+
}
|
|
122
|
+
return (h("div", { class: "open-combo-data" }, this.hassearch && this.renderSearchInput(), this.hascheckall && this.renderCheckAll(), this.renderItems()));
|
|
118
123
|
}
|
|
119
124
|
renderItems() {
|
|
120
|
-
if (!this.isopen)
|
|
125
|
+
if (!this.isopen) {
|
|
121
126
|
return;
|
|
127
|
+
}
|
|
122
128
|
return (h("div", { class: this.searchValue && "search", tabindex: -1 }, this.renderList(this.renderItemsList), this.searchValue && this.renderCloseButton()));
|
|
123
129
|
}
|
|
130
|
+
renderItem(item, index, length) {
|
|
131
|
+
return (h("z-myz-list-item", { id: item.id, listitemid: item.id, action: `combo-li-${this.inputid}`, underlined: index !== length - 1 }, h("z-input", { type: InputType.CHECKBOX, checked: item.checked, htmlid: `combo-checkbox-${this.inputid}-${item.id}`, label: item.name, disabled: !item.checked && this.maxcheckableitems && this.maxcheckableitems === this.selectedCounter })));
|
|
132
|
+
}
|
|
124
133
|
renderList(items) {
|
|
125
|
-
if (!items)
|
|
134
|
+
if (!items) {
|
|
126
135
|
return;
|
|
127
|
-
|
|
136
|
+
}
|
|
137
|
+
if (!items.length && this.searchValue) {
|
|
128
138
|
return this.renderNoSearchResults();
|
|
139
|
+
}
|
|
140
|
+
if (this.hasgroupitems) {
|
|
141
|
+
return this.renderGroups(this.itemsList);
|
|
142
|
+
}
|
|
129
143
|
return (h("ul", null, items.map((item, i) => {
|
|
130
|
-
return (
|
|
131
|
-
this.maxcheckableitems &&
|
|
132
|
-
this.maxcheckableitems === this.selectedCounter })));
|
|
144
|
+
return this.renderItem(item, i, items.length);
|
|
133
145
|
})));
|
|
134
146
|
}
|
|
147
|
+
renderGroups(items) {
|
|
148
|
+
const newData = items.reduce((group, item, index) => {
|
|
149
|
+
var _a;
|
|
150
|
+
const { category } = item;
|
|
151
|
+
const zListItem = this.renderItem(item, index, items.length);
|
|
152
|
+
group[category] = (_a = group[category]) !== null && _a !== void 0 ? _a : [];
|
|
153
|
+
group[category].push(zListItem);
|
|
154
|
+
return group;
|
|
155
|
+
}, {});
|
|
156
|
+
const listGroups = Object.entries(newData).map(([key, value]) => {
|
|
157
|
+
return (h("z-list-group", { "divider-type": ListDividerType.ELEMENT }, h("z-body", { class: "z-list-group-title", level: 3, slot: "header-title", variant: "semibold" }, key), value.map((item) => item)));
|
|
158
|
+
});
|
|
159
|
+
return h("ul", null, listGroups);
|
|
160
|
+
}
|
|
135
161
|
renderNoSearchResults() {
|
|
136
162
|
return (h("ul", null, h("z-myz-list-item", { id: "no-results", text: this.noresultslabel, listitemid: "no-results", icon: "multiply-circle" })));
|
|
137
163
|
}
|
|
@@ -139,26 +165,29 @@ const ZCombobox = class {
|
|
|
139
165
|
return (h("div", null, h("a", { onClick: () => this.closeFilterItems(), onKeyUp: (e) => handleKeyboardSubmit(e, this.closeFilterItems), role: "button", tabindex: 0 }, this.closesearchtext)));
|
|
140
166
|
}
|
|
141
167
|
renderSearchInput() {
|
|
142
|
-
if (!this.isopen)
|
|
168
|
+
if (!this.isopen) {
|
|
143
169
|
return;
|
|
170
|
+
}
|
|
144
171
|
return (h("z-input", { htmlid: `${this.inputid}_search`, label: this.searchlabel, placeholder: this.searchplaceholder, htmltitle: this.searchtitle, type: this.inputType, value: this.searchValue, message: false, onInputChange: (e) => {
|
|
145
|
-
if (e.detail.keycode === 27)
|
|
172
|
+
if (e.detail.keycode === 27) {
|
|
146
173
|
return this.closeFilterItems();
|
|
147
|
-
|
|
174
|
+
}
|
|
175
|
+
this.searchValue = e.detail.value;
|
|
148
176
|
} }));
|
|
149
177
|
}
|
|
150
178
|
renderCheckAll() {
|
|
151
|
-
if (this.searchValue)
|
|
179
|
+
if (this.searchValue) {
|
|
152
180
|
return;
|
|
181
|
+
}
|
|
153
182
|
const allChecked = this.selectedCounter === this.itemsList.length;
|
|
154
|
-
return (h("div", { class: "
|
|
155
|
-
this.maxcheckableitems < this.itemsList.length })));
|
|
183
|
+
return (h("div", { class: "check-all-wrapper" }, h("z-input", { type: InputType.CHECKBOX, checked: allChecked, htmlid: `combo-checkbox-${this.inputid}-check-all`, label: allChecked ? this.uncheckalltext : this.checkalltext, disabled: this.maxcheckableitems && this.maxcheckableitems < this.itemsList.length })));
|
|
156
184
|
}
|
|
157
185
|
render() {
|
|
158
|
-
return (h("div", { "data-action": `combo-${this.inputid}`, class: { open: this.isopen, fixed: this.isfixed }, id: this.inputid }, this.renderHeader(), this.renderContent()));
|
|
186
|
+
return (h("div", { "data-action": `combo-${this.inputid}`, class: { open: this.isopen, fixed: this.isfixed, disabled: this.disabled }, id: this.inputid }, this.renderHeader(), !this.disabled && this.renderContent()));
|
|
159
187
|
}
|
|
160
188
|
static get watchers() { return {
|
|
161
|
-
"items": ["watchItems"]
|
|
189
|
+
"items": ["watchItems"],
|
|
190
|
+
"searchValue": ["watchSearchValue"]
|
|
162
191
|
}; }
|
|
163
192
|
};
|
|
164
193
|
ZCombobox.style = stylesCss;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-b3a91e19.js';
|
|
2
|
-
import { P as PopoverPosition } from './index-
|
|
2
|
+
import { P as PopoverPosition } from './index-4f1e2705.js';
|
|
3
3
|
|
|
4
|
-
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:
|
|
4
|
+
const stylesCss = ":host{position:relative;display:flex;align-items:center;justify-content:center;font-family:var(--font-family-sans);font-weight:var(--font-rg)}button{width:100%;height:100%;padding:0;border:none;background:transparent;cursor:pointer}z-popover{overflow:hidden}.popover-content-container{position:relative;min-width:112px;max-width:280px;background-color:var(--color-surface02);box-shadow:var(--shadow-2);white-space:nowrap}.element-container:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary)}.element-text{overflow:hidden;font-size:14px;text-overflow:ellipsis}.element-container,.disabled-element-container{display:flex;min-height:calc(var(--space-unit) * 4);box-sizing:border-box;align-items:center;padding:calc(var(--space-unit) / 2) var(--space-unit);fill:var(--color-disabled03);gap:var(--space-unit)}.element-container{fill:var(--color-primary01)}.element-icon{display:flex}";
|
|
5
5
|
|
|
6
6
|
const ZContextualMenu = class {
|
|
7
7
|
constructor(hostRef) {
|
|
@@ -14,21 +14,27 @@ const ZContextualMenu = class {
|
|
|
14
14
|
/**
|
|
15
15
|
* [optional] Sets the position of the popover
|
|
16
16
|
*/
|
|
17
|
-
this.popoverPosition = PopoverPosition
|
|
17
|
+
this.popoverPosition = PopoverPosition.BOTTOM_RIGHT;
|
|
18
18
|
}
|
|
19
19
|
componentWillRender() {
|
|
20
20
|
if (this.elements) {
|
|
21
21
|
this.jsonElements = JSON.parse(this.elements.replace(/"/g, '"'));
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
+
componentDidLoad() {
|
|
25
|
+
this.popover.bindTo = this.triggerButton;
|
|
26
|
+
}
|
|
24
27
|
showIcon() {
|
|
25
28
|
return !this.jsonElements.some((element) => !element.icon);
|
|
26
29
|
}
|
|
30
|
+
togglePopover() {
|
|
31
|
+
if (!this.popover.open) {
|
|
32
|
+
this.popover.open = true;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
27
35
|
render() {
|
|
28
|
-
var _a;
|
|
29
|
-
return (h(Host, null, h("
|
|
30
|
-
? "disabled-element-container"
|
|
31
|
-
: "element-container" }, this.showIcon() && (h("div", { class: "element-icon" }, h("z-icon", { name: element.icon, width: 16, height: 16 }))), h("div", { class: "element-text" }, h("span", null, element.text))))))))))));
|
|
36
|
+
var _a, _b;
|
|
37
|
+
return (h(Host, null, h("button", { ref: (el) => (this.triggerButton = el), "aria-label": ((_a = this.popover) === null || _a === void 0 ? void 0 : _a.open) ? "chiudi menu contestuale" : "apri menu contestuale", onClick: () => this.togglePopover() }, h("z-icon", { name: "contextual-menu", fill: this.color })), h("z-popover", { ref: (el) => (this.popover = el), position: this.popoverPosition }, h("div", { class: "popover-content-container" }, h("z-list", null, h("z-list-group", { "divider-type": "element" }, (_b = this.jsonElements) === null || _b === void 0 ? void 0 : _b.map((element, index) => (h("z-list-element", { clickable: !element.disabled, class: "my-z-list-element", "align-button": "left", "expandable-style": "accordion", color: element.disabled ? `color-disabled03` : this.color, isContextualMenu: true, listElementId: index, onClickItem: (event) => this.clickContextualMenu.emit(event.detail) }, h("div", { class: element.disabled ? "disabled-element-container" : "element-container" }, this.showIcon() && (h("div", { class: "element-icon" }, h("z-icon", { name: element.icon, width: 16, height: 16 }))), h("div", { class: "element-text" }, h("span", null, element.text))))))))))));
|
|
32
38
|
}
|
|
33
39
|
};
|
|
34
40
|
ZContextualMenu.style = stylesCss;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-b3a91e19.js';
|
|
2
|
+
import { g as CoverHeroVariant, h as CoverHeroContentPosition } from './index-4f1e2705.js';
|
|
3
|
+
|
|
4
|
+
const stylesCss = ":host{--cover-hero-height:auto;--cover-hero-min-height:calc(var(--space-unit) * 30);--cover-hero-overlay:none;--cover-hero-text-color:var(--color-text-inverse);display:block}:host,*{box-sizing:border-box}:host .content-hero{position:relative;width:100%;height:var(--cover-hero-height);min-height:var(--cover-hero-min-height);align-items:baseline;background-color:var(--gray600)}:host .content-container{color:var(--cover-hero-text-color);fill:var(--cover-hero-text-color)}:host .content-hero .cover{position:absolute;z-index:0;width:100%;height:100%}::slotted([slot=\"cover\"]){position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:top center}::slotted(z-info-reveal){position:absolute;z-index:1;right:var(--grid-margin);bottom:var(--grid-margin)}:host([variant=\"overlay\"]) .content-hero .cover::after{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--cover-hero-overlay);content:\"\"}:host([variant=\"overlay\"]) .content-hero .content-container{position:relative;height:100%;padding:var(--grid-margin)}:host([variant=\"stacked\"]){--cover-hero-text-color:var(--color-text01)}:host([variant=\"stacked\"]) .content-container ::slotted(*){padding:var(--grid-margin) 0}";
|
|
5
|
+
|
|
6
|
+
const ZCoverHero = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
/**
|
|
10
|
+
* Cover hero variant.
|
|
11
|
+
* Can be one of "OVERLAY", "STACKED".
|
|
12
|
+
*/
|
|
13
|
+
this.variant = CoverHeroVariant.OVERLAY;
|
|
14
|
+
/**
|
|
15
|
+
* Cover hero content position (only for STACKED variant).
|
|
16
|
+
*/
|
|
17
|
+
this.contentPosition = CoverHeroContentPosition.TOP;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Template for the content.
|
|
21
|
+
*/
|
|
22
|
+
renderContent() {
|
|
23
|
+
return (h("div", { class: "content-container" }, h("slot", { name: "content" })));
|
|
24
|
+
}
|
|
25
|
+
render() {
|
|
26
|
+
return (h(Host, null, this.variant === CoverHeroVariant.STACKED &&
|
|
27
|
+
this.contentPosition === CoverHeroContentPosition.TOP &&
|
|
28
|
+
this.renderContent(), h("div", { class: "content-hero" }, h("div", { class: "cover" }, h("slot", { name: "cover" })), h("slot", { name: "info-reveal" }), this.variant === CoverHeroVariant.OVERLAY && this.renderContent()), this.variant === CoverHeroVariant.STACKED &&
|
|
29
|
+
this.contentPosition === CoverHeroContentPosition.BOTTOM &&
|
|
30
|
+
this.renderContent()));
|
|
31
|
+
}
|
|
32
|
+
get el() { return getElement(this); }
|
|
33
|
+
};
|
|
34
|
+
ZCoverHero.style = stylesCss;
|
|
35
|
+
|
|
36
|
+
export { ZCoverHero as z_cover_hero };
|