@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,8 +1,8 @@
|
|
|
1
1
|
import { g as getRenderingRef, f as forceUpdate, r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-b3a91e19.js';
|
|
2
2
|
import { c as createCommonjsModule, a as commonjsGlobal } from './_commonjsHelpers-9943807e.js';
|
|
3
|
-
import { B as
|
|
4
|
-
import {
|
|
5
|
-
import { r as randomId, b as boolean } from './utils-
|
|
3
|
+
import { B as ButtonVariant, a as ButtonType, b as ButtonSize, L as LabelPosition, I as InputType, K as KeyboardCode } from './index-4f1e2705.js';
|
|
4
|
+
import { I as ICONS } from './icons-7a34b033.js';
|
|
5
|
+
import { r as randomId, b as boolean } from './utils-5a24a17b.js';
|
|
6
6
|
import './breakpoints-e07f80e7.js';
|
|
7
7
|
|
|
8
8
|
var DeviceEnum;
|
|
@@ -1950,7 +1950,7 @@ const LicenseActivationBox = class {
|
|
|
1950
1950
|
};
|
|
1951
1951
|
LicenseActivationBox.style = licenseActivationBoxCss;
|
|
1952
1952
|
|
|
1953
|
-
const licenseActivationFormCss = ".sc-license-activation-form-h{display:block;padding:calc(var(--space-unit) * 2)}.sc-license-activation-form-h>div.sc-license-activation-form
|
|
1953
|
+
const licenseActivationFormCss = ".sc-license-activation-form-h{display:block;padding:calc(var(--space-unit) * 2)}.sc-license-activation-form-h>div.sc-license-activation-form>.body-3.sc-license-activation-form{display:block;margin-bottom:calc(var(--space-unit) * 2)}.sc-license-activation-form-h>div.sc-license-activation-form>z-button.sc-license-activation-form{padding:calc(var(--space-unit) * 2) 0;width:100%}.sc-license-activation-form-h>div.sc-license-activation-form>z-input.sc-license-activation-form{width:100%}.sc-license-activation-form-h>z-link.sc-license-activation-form{font-weight:bold}.sc-license-activation-form-h>div.sc-license-activation-form>z-info-box.sc-license-activation-form>div.sc-license-activation-form{display:flex}[variant=\"modal\"].sc-license-activation-form-h .error-section.sc-license-activation-form{display:flex;flex-direction:column;border-top:var(--border-size-small) solid var(--color-surface03);margin-top:calc(var(--space-unit) * 3);padding-top:calc(var(--space-unit) * 2)}[variant=\"modal\"].sc-license-activation-form-h .error-section.sc-license-activation-form>span.sc-license-activation-form{padding:calc(var(--space-unit) * 2) 0;display:block;color:var(--color-text01);fill:var(--color-text01);font-family:var(--dashboard-font);font-weight:var(--font-sb);font-size:14px;line-height:20px}[variant=\"preview\"].sc-license-activation-form-h{margin:0;padding:0}[variant=\"preview\"].sc-license-activation-form-h>div.sc-license-activation-form>z-button.sc-license-activation-form{margin:0;padding:0;width:initial}[variant=\"preview\"].sc-license-activation-form-h .license-input-container.sc-license-activation-form{width:100%;margin-right:calc(var(--space-unit) * 2)}.sc-license-activation-form-h .license-input-container.sc-license-activation-form>z-input.sc-license-activation-form{width:100%}@media only screen and (min-width: 768px){.sc-license-activation-form-h{padding:0}[variant=\"modal\"].sc-license-activation-form-h{padding:32px;width:396px}.sc-license-activation-form-h>div.sc-license-activation-form{display:flex;flex-direction:row}[variant=\"modal\"].sc-license-activation-form-h>div.sc-license-activation-form{flex-direction:column}.sc-license-activation-form-h>div.sc-license-activation-form>z-button.sc-license-activation-form{padding-top:calc(var(--space-unit) * 3);padding-left:calc(var(--space-unit) * 2);width:auto}[variant=\"preview\"].sc-license-activation-form-h>div.sc-license-activation-form>z-button.sc-license-activation-form{padding-top:0}[variant=\"modal\"].sc-license-activation-form-h>div.sc-license-activation-form>z-button.sc-license-activation-form{padding:32px 0 calc(var(--space-unit) * 2);width:max-content}[variant=\"modal\"].sc-license-activation-form-h .error-section.sc-license-activation-form>z-button.sc-license-activation-form{width:max-content}}@media only screen and (min-width: 1152px){[variant=\"modal\"].sc-license-activation-form-h{width:477px}.sc-license-activation-form-h>div.sc-license-activation-form{flex-direction:row}}";
|
|
1954
1954
|
|
|
1955
1955
|
const LicenseActivationForm = class {
|
|
1956
1956
|
constructor(hostRef) {
|
|
@@ -2019,25 +2019,30 @@ const LicenseActivationForm = class {
|
|
|
2019
2019
|
: this.error
|
|
2020
2020
|
? this.error
|
|
2021
2021
|
: inputMessage;
|
|
2022
|
-
return (h("z-input-message", { ref: (el) => (this.inputMessageRef = el), message: message, status: this.variant === LicenseActivationVariantEnum.box
|
|
2022
|
+
return (h("z-input-message", { ref: (el) => (this.inputMessageRef = el), message: message, status: this.variant === LicenseActivationVariantEnum.box
|
|
2023
|
+
? null
|
|
2024
|
+
: inputStatus }));
|
|
2023
2025
|
}
|
|
2024
2026
|
renderButton() {
|
|
2025
2027
|
const disabled = (this.variant === LicenseActivationVariantEnum.modal && !this.inputVal) ||
|
|
2026
2028
|
!!this.requestLoading ||
|
|
2027
2029
|
!this.enableButton;
|
|
2028
|
-
return (h("z-button", { variant:
|
|
2030
|
+
return (h("z-button", { variant: ButtonVariant.primary, size: this.getButtonSize(this.variant), icon: this.getButtonIcon(this.variant), disabled: disabled, onClick: () => this.handleSubmitButtonClick(this.inputVal) }, this.getButtonLabel(this.variant)));
|
|
2029
2031
|
}
|
|
2030
2032
|
renderAdditionalDescription() {
|
|
2031
2033
|
const { additionalDescription } = this.formTexts;
|
|
2032
2034
|
if (!additionalDescription)
|
|
2033
2035
|
return;
|
|
2034
|
-
return h("
|
|
2036
|
+
return h("span", { class: "body-3" }, additionalDescription);
|
|
2035
2037
|
}
|
|
2036
2038
|
renderInfoLink() {
|
|
2037
2039
|
const { linkLabel } = this.formTexts;
|
|
2038
2040
|
if (this.variant === LicenseActivationVariantEnum.preview)
|
|
2039
2041
|
return;
|
|
2040
|
-
return (h("z-link", { icon: "question-mark", onClick: () => this.handleInfoClick()
|
|
2042
|
+
return (h("z-link", { icon: "question-mark", onClick: () => this.handleInfoClick(), onKeyUp: (e) => {
|
|
2043
|
+
if (e.code === "Enter")
|
|
2044
|
+
this.handleInfoClick();
|
|
2045
|
+
} }, linkLabel));
|
|
2041
2046
|
}
|
|
2042
2047
|
renderInfoBox() {
|
|
2043
2048
|
if (!this.showInfoBox)
|
|
@@ -2061,7 +2066,7 @@ const LicenseActivationForm = class {
|
|
|
2061
2066
|
if (this.variant !== LicenseActivationVariantEnum.modal || !this.error)
|
|
2062
2067
|
return;
|
|
2063
2068
|
const { errorButtonLabel, errorSectionMessage } = this.formTexts;
|
|
2064
|
-
return (h("section", { class: "error-section" }, h("span", { class: "heading-01" }, errorSectionMessage), h("z-button", { variant:
|
|
2069
|
+
return (h("section", { class: "error-section" }, h("span", { class: "heading-01" }, errorSectionMessage), h("z-button", { variant: ButtonVariant.secondary, onClick: this.redirectToSupport }, errorButtonLabel)));
|
|
2065
2070
|
}
|
|
2066
2071
|
getButtonSize(variant) {
|
|
2067
2072
|
const { previewButtonSize } = this.formTexts;
|
|
@@ -2113,88 +2118,66 @@ const LicenseActivationModal = class {
|
|
|
2113
2118
|
this.activationModalClose.emit({ value: true });
|
|
2114
2119
|
this.resetStore();
|
|
2115
2120
|
}
|
|
2116
|
-
handleModalBackgroundClick(e) {
|
|
2117
|
-
const cp = e.composedPath();
|
|
2118
|
-
const modalBackground = cp.find((item, index) => item.dataset != null &&
|
|
2119
|
-
item.dataset.action === "modalBackground" &&
|
|
2120
|
-
index === 0);
|
|
2121
|
-
if (modalBackground) {
|
|
2122
|
-
this.handleModalClose();
|
|
2123
|
-
}
|
|
2124
|
-
}
|
|
2125
2121
|
render() {
|
|
2126
|
-
return (h(Host,
|
|
2122
|
+
return (h(Host, null, h("z-modal", { modaltitle: this.modalTitle, alertdialog: true, onModalClose: () => this.handleModalClose() }, h("div", { slot: "modalContent" }, h("slot", null)))));
|
|
2127
2123
|
}
|
|
2128
2124
|
};
|
|
2129
2125
|
LicenseActivationModal.style = licenseActivationModalCss;
|
|
2130
2126
|
|
|
2131
|
-
const
|
|
2132
|
-
constructor(hostRef) {
|
|
2133
|
-
registerInstance(this, hostRef);
|
|
2134
|
-
this.variant = "regular";
|
|
2135
|
-
}
|
|
2136
|
-
render() {
|
|
2137
|
-
return (h("z-typography", { tabIndex: 0, component: this.component || "span", level: `b${this.level}`, variant: this.variant }, h("slot", null)));
|
|
2138
|
-
}
|
|
2139
|
-
};
|
|
2140
|
-
|
|
2141
|
-
const stylesCss$7 = ".sc-z-button-h{display:inline-block;--z-icon-width:16px;--z-icon-height:16px;--z-icon-right-margin:0}[disabled].sc-z-button-h:not([disabled=\"false\"]){pointer-events:none}.sc-z-button-h .container.sc-z-button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:100%;padding:0;font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:14px;line-height:1;letter-spacing:0.3px;border-width:var(--border-size-medium);border-style:solid;border-radius:var(--border-radius);text-transform:uppercase;text-decoration:none;cursor:pointer;white-space:nowrap;outline:none;fill:currentColor}.sc-z-button-h .container.has-text.sc-z-button{min-width:calc(var(--space-unit) * 8);padding:0 calc(var(--space-unit) * 2)}.sc-z-button-h .container.has-text.sc-z-button z-icon.sc-z-button{--z-icon-right-margin:var(--space-unit)}.sc-z-button-h .big.sc-z-button{height:44px;min-width:44px}.sc-z-button-h .small.sc-z-button{height:36px;min-width:36px}.sc-z-button-h .x-small.sc-z-button{height:32px;min-width:32px}.sc-z-button-h .primary.sc-z-button{background-color:var(--color-primary01);border-color:var(--color-primary01);color:var(--color-text-inverse)}@media (hover: hover){.sc-z-button-h .primary.sc-z-button:hover{background-color:var(--color-hover-primary);border-color:var(--color-hover-primary);color:var(--color-text-inverse)}}.sc-z-button-h .container.sc-z-button:focus:focus-visible{box-shadow:var(--shadow-focus-primary)}.sc-z-button-h .primary.sc-z-button:active{background-color:var(--color-pressed-primary);border-color:var(--color-pressed-primary);color:var(--color-text-inverse);box-shadow:var(--shadow-2)}[disabled].sc-z-button-h:not([disabled=\"false\"]) .primary.sc-z-button{background-color:var(--color-disabled01);border-color:var(--color-disabled01);color:var(--color-disabled02)}.sc-z-button-h .secondary.sc-z-button{background-color:var(--color-surface01);border-color:var(--color-primary01);color:var(--color-primary01)}@media (hover: hover){.sc-z-button-h .secondary.sc-z-button:hover{background-color:var(--color-surface01);border-color:var(--color-hover-primary);color:var(--color-hover-primary)}}.sc-z-button-h .secondary.sc-z-button:active{background-color:var(--color-surface01);border-color:var(--color-pressed-primary);color:var(--color-pressed-primary);box-shadow:var(--shadow-2)}[disabled].sc-z-button-h:not([disabled=\"false\"]) .secondary.sc-z-button{background-color:var(--color-surface01);border-color:var(--color-disabled01);color:var(--color-disabled02)}.sc-z-button-h .tertiary.sc-z-button{background-color:transparent;border-color:transparent;color:var(--color-primary01)}@media (hover: hover){.sc-z-button-h .tertiary.sc-z-button:hover{background-color:var(--color-primary03);border-color:var(--color-primary03);color:var(--color-hover-primary)}}.sc-z-button-h .tertiary.sc-z-button:focus:focus-visible{background-color:var(--color-surface01);border-color:var(--color-surface01);color:var(--color-primary01)}.sc-z-button-h .tertiary.sc-z-button:active{background-color:var(--color-surface01);border-color:var(--color-surface01);color:var(--color-primary01);box-shadow:var(--shadow-2)}[disabled].sc-z-button-h:not([disabled=\"false\"]) .tertiary.sc-z-button{background-color:transparent;border-color:transparent;color:var(--color-disabled02)}";
|
|
2127
|
+
const stylesCss$6 = ".sc-z-button-h{display:inline-block;--z-icon-width:16px;--z-icon-height:16px;--z-icon-right-margin:0}[disabled].sc-z-button-h:not([disabled=\"false\"]){pointer-events:none}.sc-z-button-h .z-button--container.sc-z-button{display:inline-flex;width:100%;box-sizing:border-box;align-items:center;justify-content:center;padding:0;border-width:var(--border-size-medium);border-style:solid;border-radius:var(--border-radius);cursor:pointer;fill:currentcolor;font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-sb);letter-spacing:0.3px;line-height:1;outline:none;text-decoration:none;text-transform:uppercase;white-space:nowrap}.sc-z-button-h .z-button--container.sc-z-button:focus:focus-visible{box-shadow:var(--shadow-focus-primary)}.sc-z-button-h .z-button--container.z-button--has-text.sc-z-button{min-width:calc(var(--space-unit) * 8);padding:0 calc(var(--space-unit) * 2)}.sc-z-button-h .z-button--container.z-button--has-text.sc-z-button z-icon.sc-z-button{--z-icon-right-margin:var(--space-unit)}[size=\"big\"].sc-z-button-h .z-button--container.sc-z-button{min-width:44px;height:44px}[size=\"small\"].sc-z-button-h .z-button--container.sc-z-button{min-width:36px;height:36px}[size=\"x-small\"].sc-z-button-h .z-button--container.sc-z-button{min-width:32px;height:32px}[variant=\"primary\"].sc-z-button-h .z-button--container.sc-z-button{border-color:var(--color-primary01);background-color:var(--color-primary01);color:var(--color-text-inverse)}@media (hover: hover){[variant=\"primary\"].sc-z-button-h .z-button--container.sc-z-button:hover{border-color:var(--color-hover-primary);background-color:var(--color-hover-primary);color:var(--color-text-inverse)}}[variant=\"primary\"].sc-z-button-h .z-button--container.sc-z-button:active{border-color:var(--color-pressed-primary);background-color:var(--color-pressed-primary);box-shadow:var(--shadow-2);color:var(--color-text-inverse)}[variant=\"primary\"][disabled].sc-z-button-h:not([disabled=\"false\"]) .z-button--container.sc-z-button{border-color:var(--color-disabled01);background-color:var(--color-disabled01);color:var(--color-disabled02)}[variant=\"secondary\"].sc-z-button-h .z-button--container.sc-z-button{border-color:var(--color-primary01);background-color:var(--color-surface01);color:var(--color-primary01)}@media (hover: hover){[variant=\"secondary\"].sc-z-button-h .z-button--container.sc-z-button:hover{border-color:var(--color-hover-primary);background-color:var(--color-surface01);color:var(--color-hover-primary)}}[variant=\"secondary\"].sc-z-button-h .z-button--container.sc-z-button:active{border-color:var(--color-pressed-primary);background-color:var(--color-surface01);box-shadow:var(--shadow-2);color:var(--color-pressed-primary)}[variant=\"secondary\"][disabled].sc-z-button-h:not([disabled=\"false\"]) .z-button--container.sc-z-button{border-color:var(--color-disabled01);background-color:var(--color-surface01);color:var(--color-disabled02)}[variant=\"tertiary\"].sc-z-button-h .z-button--container.sc-z-button{border-color:transparent;background-color:transparent;color:var(--color-primary01)}@media (hover: hover){[variant=\"tertiary\"].sc-z-button-h .z-button--container.sc-z-button:hover{border-color:var(--color-primary03);background-color:var(--color-primary03);color:var(--color-hover-primary)}}[variant=\"tertiary\"].sc-z-button-h .z-button--container.sc-z-button:focus:focus-visible{border-color:var(--color-surface01);background-color:var(--color-surface01);color:var(--color-primary01)}[variant=\"tertiary\"].sc-z-button-h .z-button--container.sc-z-button:active{border-color:var(--color-surface01);background-color:var(--color-surface01);box-shadow:var(--shadow-2);color:var(--color-primary01)}[variant=\"tertiary\"][disabled].sc-z-button-h:not([disabled=\"false\"]) .z-button--container.sc-z-button{border-color:transparent;background-color:transparent;color:var(--color-disabled02)}";
|
|
2142
2128
|
|
|
2143
2129
|
const ZButton = class {
|
|
2144
2130
|
constructor(hostRef) {
|
|
2145
2131
|
registerInstance(this, hostRef);
|
|
2132
|
+
/** defines a string value that labels an interactive element, used for accessibility. */
|
|
2133
|
+
this.ariaLabel = "";
|
|
2146
2134
|
/** HTML button disabled attribute. */
|
|
2147
2135
|
this.disabled = false;
|
|
2148
2136
|
/** HTML button type attribute. */
|
|
2149
|
-
this.type =
|
|
2137
|
+
this.type = ButtonType.BUTTON;
|
|
2150
2138
|
/** Graphical variant: `primary`, `secondary`, `tertiary`. Defaults to `primary`. */
|
|
2151
|
-
this.variant =
|
|
2139
|
+
this.variant = ButtonVariant.PRIMARY;
|
|
2152
2140
|
/** Available sizes: `big`, `small` and `x-small`. Defaults to `big`. */
|
|
2153
|
-
this.size =
|
|
2141
|
+
this.size = ButtonSize.BIG;
|
|
2154
2142
|
}
|
|
2155
2143
|
getAttributes() {
|
|
2156
2144
|
return {
|
|
2157
2145
|
id: this.htmlid,
|
|
2158
|
-
"aria-label": this.ariaLabel,
|
|
2159
2146
|
class: {
|
|
2160
|
-
container: true,
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
"has-text": !!this.hostElement.textContent
|
|
2164
|
-
}
|
|
2147
|
+
"z-button--container": true,
|
|
2148
|
+
"z-button--has-text": !!this.hostElement.textContent.trim(),
|
|
2149
|
+
},
|
|
2165
2150
|
};
|
|
2166
2151
|
}
|
|
2167
2152
|
render() {
|
|
2168
2153
|
if (this.href) {
|
|
2169
|
-
return (h("a", Object.assign({}, this.getAttributes(), { href: this.href, target: this.target }), this.icon && h("z-icon", { name: this.icon, width: 16, height: 16 }), h("slot", null)));
|
|
2154
|
+
return (h("a", Object.assign({}, this.getAttributes(), { "aria-label": this.ariaLabel, href: this.href, target: this.target }), this.icon && (h("z-icon", { name: this.icon, width: 16, height: 16 })), h("slot", null)));
|
|
2170
2155
|
}
|
|
2171
|
-
return (h("button", Object.assign({}, this.getAttributes(), { name: this.name, type: this.type, disabled: this.disabled }), this.icon && h("z-icon", { name: this.icon, width: 16, height: 16 }), h("slot", null)));
|
|
2156
|
+
return (h("button", Object.assign({}, this.getAttributes(), { "aria-label": this.ariaLabel, name: this.name, type: this.type, disabled: this.disabled }), this.icon && (h("z-icon", { name: this.icon, width: 16, height: 16 })), h("slot", null)));
|
|
2172
2157
|
}
|
|
2173
2158
|
get hostElement() { return getElement(this); }
|
|
2174
2159
|
};
|
|
2175
|
-
ZButton.style = stylesCss$
|
|
2160
|
+
ZButton.style = stylesCss$6;
|
|
2176
2161
|
|
|
2177
|
-
const stylesCss$
|
|
2162
|
+
const stylesCss$5 = ":host{margin-right:var(--z-icon-right-margin, 0);margin-left:var(--z-icon-left-margin, 0);line-height:0;vertical-align:middle}:host svg:not([width]){width:var(--z-icon-width, 18px)}:host svg:not([height]){height:var(--z-icon-height, 18px)}";
|
|
2178
2163
|
|
|
2179
2164
|
const ZIcon = class {
|
|
2180
2165
|
constructor(hostRef) {
|
|
2181
2166
|
registerInstance(this, hostRef);
|
|
2182
2167
|
}
|
|
2183
|
-
selectPathOrPolygon(
|
|
2184
|
-
if (
|
|
2185
|
-
return h("path", { d:
|
|
2186
|
-
}
|
|
2187
|
-
else {
|
|
2188
|
-
return h("polygon", { points: icons[this.name] });
|
|
2168
|
+
selectPathOrPolygon(iconValue) {
|
|
2169
|
+
if (iconValue === null || iconValue === void 0 ? void 0 : iconValue.startsWith("M")) {
|
|
2170
|
+
return h("path", { d: ICONS[this.name] });
|
|
2189
2171
|
}
|
|
2172
|
+
return h("polygon", { points: ICONS[this.name] });
|
|
2190
2173
|
}
|
|
2191
2174
|
render() {
|
|
2192
|
-
return (h("svg", { viewBox: "0 0 1000 1000", width: this.width, height: this.height, id: this.iconid, fill: this.fill ? `var(--${this.fill})` : "" }, this.selectPathOrPolygon(
|
|
2175
|
+
return (h(Host, { "aria-hidden": "true" }, h("svg", { viewBox: "0 0 1000 1000", width: this.width, height: this.height, id: this.iconid, fill: this.fill ? `var(--${this.fill})` : "" }, this.selectPathOrPolygon(ICONS[this.name]))));
|
|
2193
2176
|
}
|
|
2194
2177
|
};
|
|
2195
|
-
ZIcon.style = stylesCss$
|
|
2178
|
+
ZIcon.style = stylesCss$5;
|
|
2196
2179
|
|
|
2197
|
-
const stylesCss$
|
|
2180
|
+
const stylesCss$4 = ":host{font-family:var(--dashboard-font);font-weight:var(--font-rg)}:host>div{display:flex;width:inherit;padding:calc(var(--space-unit) * 2);background:var(--accent-lighter);border-radius:var(--border-radius)}:host>div>slot{color:var(--text-grey-800);font-size:14px}:host>div>z-icon{margin-left:calc(var(--space-unit) * 2);cursor:pointer;fill:var(--myz-blue)}";
|
|
2198
2181
|
|
|
2199
2182
|
const ZInfoBox = class {
|
|
2200
2183
|
constructor(hostRef) {
|
|
@@ -2207,12 +2190,12 @@ const ZInfoBox = class {
|
|
|
2207
2190
|
this.infoBoxClose.emit({ boxid: this.boxid });
|
|
2208
2191
|
}
|
|
2209
2192
|
render() {
|
|
2210
|
-
return (h("div", { id: this.boxid }, h("slot", { name: "content" }), this.isclosable && h("z-icon", { name: "multiply", "data-action": "infoBoxClose", onClick: () => this.emitInfoBoxClose() })));
|
|
2193
|
+
return (h("div", { id: this.boxid }, h("slot", { name: "content" }), this.isclosable && (h("z-icon", { name: "multiply", "data-action": "infoBoxClose", onClick: () => this.emitInfoBoxClose() }))));
|
|
2211
2194
|
}
|
|
2212
2195
|
};
|
|
2213
|
-
ZInfoBox.style = stylesCss$
|
|
2196
|
+
ZInfoBox.style = stylesCss$4;
|
|
2214
2197
|
|
|
2215
|
-
const stylesCss$
|
|
2198
|
+
const stylesCss$3 = ".sc-z-input-h{display:inline-block;width:inherit}input.sc-z-input::-ms-clear,input.sc-z-input::-ms-reveal{display:none}.sc-z-input-h input.sc-z-input::-ms-clear,.sc-z-input-h input.sc-z-input::-ms-reveal{display:none}input.sc-z-input,textarea.sc-z-input,.textarea-wrapper.sc-z-input{box-sizing:border-box;border:var(--border-size-small) solid var(--color-surface04);background:var(--color-input-field01);border-radius:var(--border-radius-small);color:var(--color-text01);fill:var(--color-icon02);font-family:var(--font-family-sans);font-size:var(--font-size-3);font-weight:var(--font-rg);outline:none}.cursor-select.sc-z-input-h input.sc-z-input{cursor:pointer}.sc-z-input-h:not(.active-select) input.sc-z-input:focus:focus-visible,.textarea-wrapper.sc-z-input:focus-within{box-shadow:var(--shadow-focus-primary)}input.sc-z-input:focus:focus-visible,textarea.sc-z-input:focus:focus-visible{color:var(--color-primary02)}.active-select.sc-z-input-h input.sc-z-input{border:var(--border-size-small) solid var(--blue500)}.cursor-select.sc-z-input-h input.sc-z-input:focus:focus-visible{box-shadow:var(--shadow-focus-primary)}.sc-z-input-h input[readonly].sc-z-input:focus:focus-visible{box-shadow:none;pointer-events:none}.filled.sc-z-input{border-color:var(--color-surface05)}.input-success.sc-z-input{border-color:var(--color-success01);background:var(--color-success-inverse);fill:var(--color-success01)}.input-error.sc-z-input{border-color:var(--color-error01);background:var(--color-error-inverse);fill:var(--color-error01)}.input-warning.sc-z-input{border-color:var(--color-warning01);background:var(--color-warning-inverse);fill:var(--color-warning01)}input.sc-z-input:hover,.textarea-wrapper.sc-z-input:hover{outline:var(--border-size-medium) solid var(--color-surface04);outline-offset:-2px}.sc-z-input-h:not(.active-select) input[readonly].sc-z-input,.readonly.sc-z-input{border-color:var(--color-disabled01);fill:var(--color-disabled01);pointer-events:none}[disabled].sc-z-input-h:not([disabled=\"false\"]) input.sc-z-input,[disabled].sc-z-input-h:not([disabled=\"false\"]) .textarea-wrapper.sc-z-input,[disabled].sc-z-input-h:not([disabled=\"false\"]) z-icon.sc-z-input{border-color:var(--color-disabled01);box-shadow:none;color:var(--color-disabled02);fill:var(--color-disabled01);pointer-events:none}[disabled].sc-z-input-h:not([disabled=\"false\"]) input.sc-z-input:hover{border-width:var(--border-size-small)}input.sc-z-input::placeholder,textarea.sc-z-input::placeholder{color:var(--color-text05)}.sc-z-input::-webkit-textarea-placeholder{color:var(--color-text05)}.sc-z-input:-ms-textarea-placeholder{color:var(--color-text05)}.sc-z-input::placeholder{color:var(--color-text05)}label.input-label.sc-z-input{display:block;padding-bottom:var(--space-unit);color:var(--color-text02);font-family:var(--font-family-sans);font-size:var(--font-size-1);font-weight:var(--font-sb);text-align:left;text-transform:uppercase}[disabled].sc-z-input-h:not([disabled=\"false\"]) label.input-label.sc-z-input{color:var(--color-disabled02)}.text-wrapper.sc-z-input>div.sc-z-input{position:relative;z-index:1;fill:var(--color-icon02)}.text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input{width:100%;height:calc(var(--space-unit) * 5.5);box-sizing:border-box;padding:0 calc(var(--space-unit) * 1.5);margin:0}.text-wrapper.sc-z-input>div.sc-z-input>input.has-icon.sc-z-input,.text-wrapper.sc-z-input>div.sc-z-input>input.has-clear-icon.sc-z-input{padding-right:calc(var(--space-unit) * 5.25)}.text-wrapper.sc-z-input>div.sc-z-input>input.has-icon.has-clear-icon.sc-z-input{padding-right:calc(var(--space-unit) * 8)}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input{position:absolute;z-index:2;top:50%;right:calc(var(--space-unit) * 1.5);display:flex;pointer-events:none;transform:translateY(-50%)}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.icon-button.sc-z-input{padding:0;border:0;background:none;color:inherit;font:inherit;pointer-events:initial}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.icon-button.sc-z-input+button.icon-button.sc-z-input{margin-left:calc(var(--space-unit) * 0.5)}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.icon-button.reset-icon.sc-z-input,.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.icon-button.toggle-password-icon.sc-z-input{cursor:pointer}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.icon-button.sc-z-input>z-icon.sc-z-input{--z-icon-width:18px;--z-icon-height:18px;display:block}.text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill,.text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill:hover,.text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill:focus,.text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill:active{background:var(--color-white) !important;background-clip:text !important;-webkit-transition-delay:99999s !important}.textarea-wrapper.sc-z-input{padding:calc(var(--space-unit) * 1.5);scrollbar-color:var(--color-primary01) transparent}textarea.sc-z-input::-webkit-scrollbar{width:10px;background:linear-gradient(to right, transparent 0 3px, var(--gray200) 3px 7px, transparent 7px 10px);border-radius:var(--border-radius)}textarea.sc-z-input::-webkit-scrollbar-track{background-color:transparent}textarea.sc-z-input::-webkit-scrollbar-thumb{width:10px;background-color:var(--color-primary01);border-radius:var(--border-radius)}textarea.sc-z-input::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}textarea.sc-z-input{width:100%;min-height:132px;padding:0;border:none;margin:0;resize:none}.radio-wrapper.sc-z-input,.checkbox-wrapper.sc-z-input{position:relative;display:inline-flex;flex-direction:row;align-items:center;color:var(--color-text01);fill:var(--color-primary01);font-family:var(--font-family-sans)}.radio-wrapper.sc-z-input:hover,.checkbox-wrapper.sc-z-input:hover{color:var(--color-hover-primary);fill:currentcolor}.radio-wrapper.sc-z-input>input.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input{position:absolute;z-index:-1;opacity:0;pointer-events:none}.radio-wrapper.sc-z-input .radio-label.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input{display:inline-flex;align-items:center;margin:0;color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:1;text-transform:inherit}.radio-wrapper.sc-z-input input.sc-z-input:not(:disabled)+.radio-label.sc-z-input,.checkbox-wrapper.sc-z-input input.sc-z-input:not(:disabled)+.checkbox-label.sc-z-input{cursor:pointer}.radio-wrapper.sc-z-input .radio-label.sc-z-input z-icon.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input z-icon.sc-z-input{cursor:pointer;fill:inherit}.radio-wrapper.sc-z-input .radio-label.after.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.after.sc-z-input{flex-direction:row}.radio-wrapper.sc-z-input .radio-label.before.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.before.sc-z-input{flex-direction:row-reverse}.radio-wrapper.sc-z-input .radio-label.after.sc-z-input>span.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.after.sc-z-input>span.sc-z-input{margin-left:var(--space-unit)}.radio-wrapper.sc-z-input .radio-label.before.sc-z-input>span.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.before.sc-z-input>span.sc-z-input{margin-right:var(--space-unit)}.radio-wrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.radio-label.sc-z-input>z-icon.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.checkbox-label.sc-z-input>z-icon.sc-z-input{border-radius:var(--border-radius-small);box-shadow:var(--shadow-focus-primary)}.radio-wrapper.sc-z-input>input.sc-z-input:disabled+.radio-label.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input:disabled+.checkbox-label.sc-z-input{color:var(--color-disabled02)}.radio-wrapper.sc-z-input>input.sc-z-input:disabled+.radio-label.sc-z-input>z-icon.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input:disabled+.checkbox-label.sc-z-input>z-icon.sc-z-input{cursor:default;fill:var(--color-disabled01)}";
|
|
2216
2199
|
|
|
2217
2200
|
const ZInput = class {
|
|
2218
2201
|
constructor(hostRef) {
|
|
@@ -2223,6 +2206,8 @@ const ZInput = class {
|
|
|
2223
2206
|
this.inputCheck = createEvent(this, "inputCheck", 7);
|
|
2224
2207
|
/** the id of the input element */
|
|
2225
2208
|
this.htmlid = `id-${randomId()}`;
|
|
2209
|
+
/** the input aria-label */
|
|
2210
|
+
this.ariaLabel = "";
|
|
2226
2211
|
/** the input is disabled */
|
|
2227
2212
|
this.disabled = false;
|
|
2228
2213
|
/** the input is readonly */
|
|
@@ -2234,7 +2219,7 @@ const ZInput = class {
|
|
|
2234
2219
|
/** input helper message (optional): available for text, password, number, email, textarea - if set to `false` message won't be displayed */
|
|
2235
2220
|
this.message = true;
|
|
2236
2221
|
/** the input label position: available for checkbox, radio */
|
|
2237
|
-
this.labelPosition =
|
|
2222
|
+
this.labelPosition = LabelPosition.RIGHT;
|
|
2238
2223
|
/** render clear icon when typing (optional): available for text */
|
|
2239
2224
|
this.hasclearicon = true;
|
|
2240
2225
|
this.isTyping = false;
|
|
@@ -2244,21 +2229,18 @@ const ZInput = class {
|
|
|
2244
2229
|
inputCheckListener(e) {
|
|
2245
2230
|
const data = e.detail;
|
|
2246
2231
|
switch (this.type) {
|
|
2247
|
-
case
|
|
2248
|
-
if (data.type ===
|
|
2249
|
-
data.name === this.name &&
|
|
2250
|
-
data.id !== this.htmlid) {
|
|
2232
|
+
case InputType.RADIO:
|
|
2233
|
+
if (data.type === InputType.RADIO && data.name === this.name && data.id !== this.htmlid) {
|
|
2251
2234
|
this.checked = false;
|
|
2252
2235
|
}
|
|
2253
|
-
|
|
2254
|
-
return;
|
|
2236
|
+
break;
|
|
2255
2237
|
}
|
|
2256
2238
|
}
|
|
2257
2239
|
/** get checked status */
|
|
2258
2240
|
async isChecked() {
|
|
2259
2241
|
switch (this.type) {
|
|
2260
|
-
case
|
|
2261
|
-
case
|
|
2242
|
+
case InputType.CHECKBOX:
|
|
2243
|
+
case InputType.RADIO:
|
|
2262
2244
|
return this.checked;
|
|
2263
2245
|
default:
|
|
2264
2246
|
console.warn("`isChecked` method is only available for type `checkbox` and `radio`");
|
|
@@ -2266,10 +2248,11 @@ const ZInput = class {
|
|
|
2266
2248
|
}
|
|
2267
2249
|
}
|
|
2268
2250
|
emitInputChange(value) {
|
|
2269
|
-
if (!this.isTyping)
|
|
2251
|
+
if (!this.isTyping) {
|
|
2270
2252
|
this.emitStartTyping();
|
|
2271
|
-
|
|
2272
|
-
|
|
2253
|
+
}
|
|
2254
|
+
let validity;
|
|
2255
|
+
if (this.type === InputType.TEXTAREA) {
|
|
2273
2256
|
validity = this.getValidity("textarea");
|
|
2274
2257
|
}
|
|
2275
2258
|
else {
|
|
@@ -2319,59 +2302,86 @@ const ZInput = class {
|
|
|
2319
2302
|
required: this.required,
|
|
2320
2303
|
title: this.htmltitle,
|
|
2321
2304
|
class: {
|
|
2322
|
-
[`
|
|
2305
|
+
[`input-${this.status}`]: !!this.status,
|
|
2323
2306
|
filled: !!this.value,
|
|
2324
2307
|
},
|
|
2325
2308
|
autocomplete: this.autocomplete,
|
|
2326
2309
|
onInput: (e) => this.emitInputChange(e.target.value),
|
|
2327
2310
|
};
|
|
2328
2311
|
}
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
attr.class = Object.assign(Object.assign({}, attr.class), { hasIcon: true });
|
|
2312
|
+
getNumberAttributes(type) {
|
|
2313
|
+
if (type != InputType.NUMBER) {
|
|
2314
|
+
return;
|
|
2333
2315
|
}
|
|
2334
|
-
|
|
2335
|
-
|
|
2316
|
+
return {
|
|
2317
|
+
min: this.min,
|
|
2318
|
+
max: this.max,
|
|
2319
|
+
step: this.step,
|
|
2320
|
+
};
|
|
2321
|
+
}
|
|
2322
|
+
getPatternAttribute(type) {
|
|
2323
|
+
if (type != InputType.PASSWORD &&
|
|
2324
|
+
type != InputType.TEXT &&
|
|
2325
|
+
type != InputType.TEL &&
|
|
2326
|
+
type != InputType.SEARCH &&
|
|
2327
|
+
type != InputType.URL &&
|
|
2328
|
+
type != InputType.EMAIL) {
|
|
2329
|
+
return;
|
|
2336
2330
|
}
|
|
2337
|
-
return
|
|
2338
|
-
|
|
2339
|
-
|
|
2331
|
+
return {
|
|
2332
|
+
pattern: this.pattern,
|
|
2333
|
+
};
|
|
2334
|
+
}
|
|
2335
|
+
renderInputText(type = InputType.TEXT) {
|
|
2336
|
+
const ariaLabel = this.ariaLabel ? { "aria-label": this.ariaLabel } : {};
|
|
2337
|
+
const attr = Object.assign(Object.assign(Object.assign(Object.assign({}, this.getTextAttributes()), this.getNumberAttributes(type)), this.getPatternAttribute(type)), ariaLabel);
|
|
2338
|
+
if (this.icon || type === InputType.PASSWORD) {
|
|
2339
|
+
Object.assign(attr.class, { "has-icon": true });
|
|
2340
|
+
}
|
|
2341
|
+
if (this.hasclearicon && type != InputType.NUMBER) {
|
|
2342
|
+
Object.assign(attr.class, { "has-clear-icon": true });
|
|
2343
|
+
}
|
|
2344
|
+
return (h("div", { class: "text-wrapper" }, this.renderLabel(), h("div", null, h("input", Object.assign({ type: type === InputType.PASSWORD && !this.passwordHidden ? InputType.TEXT : type }, attr)), this.renderIcons()), this.renderMessage()));
|
|
2340
2345
|
}
|
|
2341
2346
|
renderLabel() {
|
|
2342
|
-
if (!this.label)
|
|
2347
|
+
if (!this.label) {
|
|
2343
2348
|
return;
|
|
2344
|
-
|
|
2349
|
+
}
|
|
2350
|
+
return (h("label", { class: "input-label body-5-sb", id: `${this.htmlid}_label`, htmlFor: this.htmlid }, this.label));
|
|
2345
2351
|
}
|
|
2346
2352
|
renderIcons() {
|
|
2347
|
-
return (h("span", { class: "
|
|
2353
|
+
return (h("span", { class: "icons-wrapper" }, this.renderResetIcon(), this.renderIcon()));
|
|
2348
2354
|
}
|
|
2349
2355
|
renderIcon() {
|
|
2350
|
-
if (this.type ===
|
|
2356
|
+
if (this.type === InputType.PASSWORD) {
|
|
2351
2357
|
return this.renderShowHidePassword();
|
|
2352
2358
|
}
|
|
2353
|
-
if (!this.icon)
|
|
2359
|
+
if (!this.icon) {
|
|
2354
2360
|
return;
|
|
2355
|
-
|
|
2361
|
+
}
|
|
2362
|
+
return (h("button", { type: "button", class: "icon-button input-icon", tabIndex: -1 }, h("z-icon", { name: this.icon })));
|
|
2356
2363
|
}
|
|
2357
2364
|
renderResetIcon() {
|
|
2358
|
-
if (!this.hasclearicon || !this.value || this.disabled || this.readonly)
|
|
2365
|
+
if (!this.hasclearicon || !this.value || this.disabled || this.readonly || this.type == InputType.NUMBER) {
|
|
2359
2366
|
return;
|
|
2360
|
-
|
|
2367
|
+
}
|
|
2368
|
+
return (h("button", { type: "button", class: "icon-button reset-icon", "aria-label": "cancella il contenuto dell'input", onClick: () => this.emitInputChange("") }, h("z-icon", { name: "multiply" })));
|
|
2361
2369
|
}
|
|
2362
2370
|
renderShowHidePassword() {
|
|
2363
|
-
return (h("button", { type: "button", class: "
|
|
2371
|
+
return (h("button", { type: "button", class: "icon-button toggle-password-icon", disabled: this.disabled, "aria-label": this.passwordHidden ? "mostra password" : "nascondi password", onClick: () => (this.passwordHidden = !this.passwordHidden) }, h("z-icon", { name: this.passwordHidden ? "view-filled" : "view-off-filled" })));
|
|
2364
2372
|
}
|
|
2365
2373
|
renderMessage() {
|
|
2366
|
-
if (boolean(this.message) === false)
|
|
2374
|
+
if (boolean(this.message) === false) {
|
|
2367
2375
|
return;
|
|
2376
|
+
}
|
|
2368
2377
|
return (h("z-input-message", { message: boolean(this.message) === true ? undefined : this.message, status: this.status }));
|
|
2369
2378
|
}
|
|
2370
2379
|
/* END text/password/email/number */
|
|
2371
2380
|
/* START textarea */
|
|
2372
2381
|
renderTextarea() {
|
|
2373
2382
|
const attributes = this.getTextAttributes();
|
|
2374
|
-
|
|
2383
|
+
const ariaLabel = this.ariaLabel ? { "aria-label": this.ariaLabel } : {};
|
|
2384
|
+
return (h("div", { class: "text-wrapper" }, this.renderLabel(), h("div", { class: Object.assign(Object.assign({}, attributes.class), { "textarea-wrapper": true, "readonly": attributes.readonly }) }, h("textarea", Object.assign({}, attributes, ariaLabel))), this.renderMessage()));
|
|
2375
2385
|
}
|
|
2376
2386
|
/* END textarea */
|
|
2377
2387
|
handleCheck(ev) {
|
|
@@ -2380,29 +2390,29 @@ const ZInput = class {
|
|
|
2380
2390
|
}
|
|
2381
2391
|
/* START checkbox */
|
|
2382
2392
|
renderCheckbox() {
|
|
2383
|
-
return (h("div", { class: "
|
|
2384
|
-
|
|
2385
|
-
after: this.labelPosition ===
|
|
2386
|
-
before: this.labelPosition ===
|
|
2393
|
+
return (h("div", { class: "checkbox-wrapper" }, h("input", { id: this.htmlid, type: "checkbox", name: this.name, checked: this.checked, disabled: this.disabled, readonly: this.readonly, required: this.required, onChange: this.handleCheck.bind(this), value: this.value }), h("label", { htmlFor: this.htmlid, class: {
|
|
2394
|
+
"checkbox-label": true,
|
|
2395
|
+
"after": this.labelPosition === LabelPosition.RIGHT,
|
|
2396
|
+
"before": this.labelPosition === LabelPosition.LEFT,
|
|
2387
2397
|
} }, h("z-icon", { name: this.checked ? "checkbox-checked" : "checkbox", "aria-hidden": "true" }), this.label && h("span", { innerHTML: this.label }))));
|
|
2388
2398
|
}
|
|
2389
2399
|
/* END checkbox */
|
|
2390
2400
|
/* START radio */
|
|
2391
2401
|
renderRadio() {
|
|
2392
|
-
return (h("div", { class: "
|
|
2393
|
-
|
|
2394
|
-
after: this.labelPosition ===
|
|
2395
|
-
before: this.labelPosition ===
|
|
2402
|
+
return (h("div", { class: "radio-wrapper" }, h("input", { id: this.htmlid, type: "radio", name: this.name, checked: this.checked, disabled: this.disabled, readonly: this.readonly, onChange: this.handleCheck.bind(this), value: this.value }), h("label", { htmlFor: this.htmlid, class: {
|
|
2403
|
+
"radio-label": true,
|
|
2404
|
+
"after": this.labelPosition === LabelPosition.RIGHT,
|
|
2405
|
+
"before": this.labelPosition === LabelPosition.LEFT,
|
|
2396
2406
|
} }, h("z-icon", { name: this.checked ? "radio-button-checked" : "radio-button", "aria-hidden": "true" }), this.label && h("span", { innerHTML: this.label }))));
|
|
2397
2407
|
}
|
|
2398
2408
|
/* END radio */
|
|
2399
2409
|
render() {
|
|
2400
2410
|
switch (this.type) {
|
|
2401
|
-
case
|
|
2411
|
+
case InputType.TEXTAREA:
|
|
2402
2412
|
return this.renderTextarea();
|
|
2403
|
-
case
|
|
2413
|
+
case InputType.CHECKBOX:
|
|
2404
2414
|
return this.renderCheckbox();
|
|
2405
|
-
case
|
|
2415
|
+
case InputType.RADIO:
|
|
2406
2416
|
return this.renderRadio();
|
|
2407
2417
|
default:
|
|
2408
2418
|
return this.renderInputText(this.type);
|
|
@@ -2410,9 +2420,9 @@ const ZInput = class {
|
|
|
2410
2420
|
}
|
|
2411
2421
|
get hostElement() { return getElement(this); }
|
|
2412
2422
|
};
|
|
2413
|
-
ZInput.style = stylesCss$
|
|
2423
|
+
ZInput.style = stylesCss$3;
|
|
2414
2424
|
|
|
2415
|
-
const stylesCss$
|
|
2425
|
+
const stylesCss$2 = ":host{display:flex;min-height:calc(var(--space-unit) * 2.5);align-items:start;margin-top:var(--space-unit);color:var(--color-text05);fill:currentcolor;font-family:var(--font-family-sans);font-size:var(--font-size-2);letter-spacing:0.16px}:host([status=\"success\"]){color:var(--color-text-success)}:host([status=\"error\"]){color:var(--color-text-error)}:host([status=\"warning\"]){color:var(--color-warning02)}:host(:focus){outline:none}:host>z-icon{--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);--z-icon-right-margin:var(--space-unit)}";
|
|
2416
2426
|
|
|
2417
2427
|
const ZInputMessage = class {
|
|
2418
2428
|
constructor(hostRef) {
|
|
@@ -2422,14 +2432,25 @@ const ZInputMessage = class {
|
|
|
2422
2432
|
error: "multiply-circled",
|
|
2423
2433
|
warning: "exclamation-circle",
|
|
2424
2434
|
};
|
|
2435
|
+
this.statusRole = {};
|
|
2436
|
+
}
|
|
2437
|
+
onMessageChange() {
|
|
2438
|
+
this.statusRole = this.message && this.status ? { role: "alert" } : {};
|
|
2439
|
+
}
|
|
2440
|
+
componentWillLoad() {
|
|
2441
|
+
this.onMessageChange();
|
|
2425
2442
|
}
|
|
2426
2443
|
render() {
|
|
2427
|
-
return (h(Host, {
|
|
2444
|
+
return (h(Host, Object.assign({}, this.statusRole, { "aria-label": this.message }), this.statusIcons[this.status] && this.message && h("z-icon", { name: this.statusIcons[this.status] }), h("span", { innerHTML: this.message })));
|
|
2428
2445
|
}
|
|
2446
|
+
static get watchers() { return {
|
|
2447
|
+
"message": ["onMessageChange"],
|
|
2448
|
+
"status": ["onMessageChange"]
|
|
2449
|
+
}; }
|
|
2429
2450
|
};
|
|
2430
|
-
ZInputMessage.style = stylesCss$
|
|
2451
|
+
ZInputMessage.style = stylesCss$2;
|
|
2431
2452
|
|
|
2432
|
-
const stylesCss$
|
|
2453
|
+
const stylesCss$1 = ":host{--font-size-link:inherit;--font-weight-link:inherit;font-family:var(--font-family-sans);font-size:var(--font-size-link);font-weight:var(--font-weight-link);line-height:inherit;outline:none}:host([big]){--font-size-link:16px;--font-weight-link:var(--font-sb)}a{display:inline-flex;align-items:center;padding:calc(var(--space-unit) * 0.5) 0;border-top:var(--border-size-medium) solid transparent;border-bottom:var(--border-size-medium) solid transparent;color:var(--color-link-primary);cursor:pointer;fill:var(--color-link-primary);text-decoration:none}a:hover,a:focus,a:active{text-decoration:underline}a.active{color:var(--color-active-link);fill:var(--color-active-link)}a:hover,a:focus{color:var(--color-hover-link);fill:var(--color-hover-link)}a:active{color:var(--color-pressed-link);fill:var(--color-pressed-link)}a:visited{color:var(--color-visited-link);fill:var(--color-visited-link)}a.disabled,a.inverse.disabled{color:var(--color-disabled03);cursor:default;fill:var(--color-disabled03);pointer-events:none}a.underline,a.underline:active,a.underline:hover,a.underline:visited,a.underline.disabled,a.underline.black,a.underline.white{text-decoration:underline}a.disabled,a.disabled:active,a.disabled:visited,a.disabled:hover{text-decoration:none}a.inverse{color:var(--color-inverse-link);fill:var(--color-inverse-link)}a.inverse.active{color:var(--color-inverse-active-link);fill:var(--color-inverse-active-link)}a.inverse:hover,a.inverse:focus{color:var(--color-inverse-hover-link);fill:var(--color-inverse-hover-link)}a.inverse:active{color:var(--color-inverse-pressed-link);fill:var(--color-inverse-pressed-link)}a.inverse:visited{color:var(--color-inverse-visited-link);fill:var(--color-inverse-visited-link)}a.black{color:var(--gray800);fill:var(--gray800);text-decoration:none}a.black:hover,a.black.active{color:var(--color-black);fill:var(--color-black)}a.black:visited{color:var(--gray800);fill:var(--gray800)}a.black:hover,a.black:focus,a.black:active{text-decoration:underline}a.black:active{color:var(--gray700);fill:var(--gray700)}a.white,a.white:active,a.white:hover,a.white.active{color:var(--bg-white);fill:var(--bg-white);text-decoration:none}a.white:visited{color:var(--bg-white);fill:var(--bg-white)}a.white:hover,a.white:focus,a.white:active{text-decoration:underline}a.white.disabled,a.black.disabled{color:var(--gray500);fill:var(--gray500)}a>z-icon:first-child{margin-right:var(--space-unit)}a>z-icon:last-child{margin-left:var(--space-unit)}";
|
|
2433
2454
|
|
|
2434
2455
|
const ZLink = class {
|
|
2435
2456
|
constructor(hostRef) {
|
|
@@ -2457,7 +2478,7 @@ const ZLink = class {
|
|
|
2457
2478
|
this.emitZLinkClick = this.emitZLinkClick.bind(this);
|
|
2458
2479
|
this.emitZLinkInteraction = this.emitZLinkInteraction.bind(this);
|
|
2459
2480
|
}
|
|
2460
|
-
|
|
2481
|
+
componentWillLoad() {
|
|
2461
2482
|
if (this.iswhite) {
|
|
2462
2483
|
console.warn("z-link iswhite prop is deprecated and will be dropped in a next release, please use textcolor prop instead");
|
|
2463
2484
|
}
|
|
@@ -2471,9 +2492,9 @@ const ZLink = class {
|
|
|
2471
2492
|
emitZLinkInteraction(e, linkId) {
|
|
2472
2493
|
this.zLinkClick.emit({ e, linkId });
|
|
2473
2494
|
}
|
|
2474
|
-
|
|
2495
|
+
componentDidLoad() {
|
|
2475
2496
|
if (this.icon) {
|
|
2476
|
-
const height = parseFloat(window.getComputedStyle(this.hostElement).getPropertyValue(
|
|
2497
|
+
const height = parseFloat(window.getComputedStyle(this.hostElement).getPropertyValue("font-size"));
|
|
2477
2498
|
const currentSize = this.big ? 18 : Math.round(height * 1.125);
|
|
2478
2499
|
if (!Number.isNaN(currentSize) && this.iconSize !== currentSize) {
|
|
2479
2500
|
this.iconSize = currentSize;
|
|
@@ -2481,19 +2502,22 @@ const ZLink = class {
|
|
|
2481
2502
|
}
|
|
2482
2503
|
}
|
|
2483
2504
|
render() {
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2505
|
+
return (h("a", { id: this.htmlid, href: this.href ? this.href : null, class: {
|
|
2506
|
+
disabled: this.isdisabled,
|
|
2507
|
+
active: this.isactive,
|
|
2508
|
+
white: this.iswhite,
|
|
2509
|
+
[this.textcolor || ""]: true,
|
|
2510
|
+
underline: this.underline,
|
|
2511
|
+
}, target: this.target, role: this.href ? "link" : "button", tabindex: this.isdisabled ? -1 : this.htmltabindex, onClick: (e) => this.emitZLinkClick(e, this.htmlid) }, this.iconposition === "right" && h("slot", null), this.icon && (h("z-icon", { style: {
|
|
2512
|
+
"--z-icon-width": `${this.iconSize}px`,
|
|
2513
|
+
"--z-icon-height": `${this.iconSize}px`,
|
|
2514
|
+
}, name: this.icon })), this.iconposition === "left" && h("slot", null)));
|
|
2491
2515
|
}
|
|
2492
2516
|
get hostElement() { return getElement(this); }
|
|
2493
2517
|
};
|
|
2494
|
-
ZLink.style = stylesCss$
|
|
2518
|
+
ZLink.style = stylesCss$1;
|
|
2495
2519
|
|
|
2496
|
-
const stylesCss
|
|
2520
|
+
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>dialog{padding:0;border:none !important}.modal-background{position:fixed;top:0;left:0;width:100%;height:100%;background-color:var(--gray900);opacity:0.7}.modal-container{z-index:1010;display:flex;overflow:-moz-scrollbars-none;overflow:hidden;width:100%;height:100vh;flex-direction:column}.modal-container>header{display:flex;flex-flow:row nowrap;align-items:flex-start;justify-content:flex-start;padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 2);background:var(--color-surface02)}.modal-container>header button{padding:0;border:none;margin:0;margin-left:auto;background:transparent;cursor:pointer}.modal-container>header z-icon{--z-icon-width:calc(var(--space-unit) * 2.5);--z-icon-height:calc(var(--space-unit) * 2.5);display:flex;fill:var(--color-icon01)}.modal-container>header>div{display:flex;width:100%;flex-direction:column;margin-right:calc(var(--space-unit) * 2)}.modal-container>header h1,.modal-container>header h2{padding:0;margin:0;color:var(--color-text01);font-weight:var(--font-rg)}.modal-container>header h1{font-size:var(--font-size-5);letter-spacing:0;line-height:1.4}.modal-container>header h2{font-size:var(--font-size-3);letter-spacing:0;line-height:1.5}.modal-container>header>div *:empty{display:none}.modal-container>header h1+h2{margin-top:calc(var(--space-unit) * 0.5)}.modal-container>.modal-content{overflow:auto;flex:1 auto;background:var(--color-surface01);overflow-x:hidden}.modal-container .modal-content::-webkit-scrollbar{width:10px;background:linear-gradient(to right, transparent 0 3px, var(--gray200) 3px 7px, transparent 7px 10px);border-radius:var(--border-radius)}.modal-container .modal-content::-webkit-scrollbar-track{background-color:transparent}.modal-container .modal-content::-webkit-scrollbar-thumb{width:10px;background-color:var(--color-primary01);border-radius:var(--border-radius)}.modal-container .modal-content::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}.modal-container .modal-content{scrollbar-color:var(--color-primary01) transparent}@media only screen and (min-width: 768px){.modal-container{position:fixed;top:calc(var(--space-unit) * 6);left:50%;width:auto;min-width:calc(var(--space-unit) * 40);height:auto;min-height:calc(var(--space-unit) * 40);max-height:calc(100vh - calc(var(--space-unit) * 6 * 2));border-radius:var(--border-radius);transform:translateX(-50%)}.modal-container>header z-icon{--z-icon-width:calc(var(--space-unit) * 3);--z-icon-height:calc(var(--space-unit) * 3)}}@media only screen and (min-width: 768px) and (max-width: 1151px){.modal-container>header{padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 3)}}@media only screen and (min-width: 1152px){.modal-container>header{padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 4)}.modal-container>header h1{font-size:var(--font-size-6);letter-spacing:0;line-height:1.33}.modal-container>header h2{font-size:var(--font-size-4);letter-spacing:0;line-height:1.5}.modal-container>header h1+h2{margin-top:0}}";
|
|
2497
2521
|
|
|
2498
2522
|
const ZModal = class {
|
|
2499
2523
|
constructor(hostRef) {
|
|
@@ -2502,7 +2526,10 @@ const ZModal = class {
|
|
|
2502
2526
|
this.modalHeaderActive = createEvent(this, "modalHeaderActive", 7);
|
|
2503
2527
|
this.modalBackgroundClick = createEvent(this, "modalBackgroundClick", 7);
|
|
2504
2528
|
/** aria-label for close button (optional) */
|
|
2505
|
-
this.closeButtonLabel = "
|
|
2529
|
+
this.closeButtonLabel = "chiudi modale";
|
|
2530
|
+
/** add role "alertdialog" to dialog (optional, default is false) */
|
|
2531
|
+
this.alertdialog = false;
|
|
2532
|
+
this.shift = false;
|
|
2506
2533
|
}
|
|
2507
2534
|
emitModalClose() {
|
|
2508
2535
|
this.modalClose.emit({ modalid: this.modalid });
|
|
@@ -2513,35 +2540,55 @@ const ZModal = class {
|
|
|
2513
2540
|
emitBackgroundClick() {
|
|
2514
2541
|
this.modalBackgroundClick.emit({ modalid: this.modalid });
|
|
2515
2542
|
}
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
h("div", { class: "modal-background", "data-action": "modalBackground", "data-modal": this.modalid, onClick: this.emitBackgroundClick.bind(this) })
|
|
2520
|
-
];
|
|
2543
|
+
/** open modal */
|
|
2544
|
+
async openModal() {
|
|
2545
|
+
this.open();
|
|
2521
2546
|
}
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2547
|
+
/** close modal */
|
|
2548
|
+
async closeModal() {
|
|
2549
|
+
this.close();
|
|
2550
|
+
}
|
|
2551
|
+
componentDidLoad() {
|
|
2552
|
+
this.open();
|
|
2553
|
+
}
|
|
2554
|
+
open() {
|
|
2555
|
+
var _a;
|
|
2556
|
+
(_a = this.dialog) === null || _a === void 0 ? void 0 : _a.showModal();
|
|
2557
|
+
}
|
|
2558
|
+
close() {
|
|
2559
|
+
var _a;
|
|
2560
|
+
(_a = this.dialog) === null || _a === void 0 ? void 0 : _a.close();
|
|
2561
|
+
}
|
|
2562
|
+
handleForwardNav(e) {
|
|
2563
|
+
var _a;
|
|
2564
|
+
if (e.code !== KeyboardCode.TAB || this.shift) {
|
|
2565
|
+
return;
|
|
2566
|
+
}
|
|
2567
|
+
if (e.target === this.modalEnd) {
|
|
2568
|
+
(_a = this.closeButton) === null || _a === void 0 ? void 0 : _a.focus();
|
|
2569
|
+
}
|
|
2570
|
+
}
|
|
2571
|
+
handleBackwardsNav(e) {
|
|
2572
|
+
if (e.code !== KeyboardCode.TAB || !this.shift) {
|
|
2573
|
+
return;
|
|
2574
|
+
}
|
|
2575
|
+
if (e.target === this.closeButton) {
|
|
2576
|
+
this.modalEnd.focus();
|
|
2577
|
+
}
|
|
2531
2578
|
}
|
|
2532
2579
|
render() {
|
|
2533
|
-
|
|
2534
|
-
el.
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2580
|
+
console.log("render modal - albe pack");
|
|
2581
|
+
return (h(Host, null, h("dialog", { "aria-labelledby": "modal-title", "aria-describedby": "modal-content", role: this.alertdialog ? "alertdialog" : undefined, ref: (el) => (this.dialog = el), onClose: () => this.emitModalClose(), onKeyDown: (e) => {
|
|
2582
|
+
this.shift = !!e.shiftKey;
|
|
2583
|
+
this.handleBackwardsNav(e);
|
|
2584
|
+
}, onKeyUp: (e) => {
|
|
2585
|
+
this.handleForwardNav(e);
|
|
2586
|
+
} }, h("div", { class: "modal-container", id: this.modalid }, h("header", { onClick: this.emitModalHeaderActive.bind(this) }, h("div", null, this.modaltitle && h("h1", { id: "modal-title" }, this.modaltitle), this.modalsubtitle && h("h2", { id: "modal-subtitle" }, this.modalsubtitle)), h("slot", { name: "modalCloseButton" }, h("button", { "aria-label": this.closeButtonLabel, onClick: () => this.close(), ref: (el) => (this.closeButton = el) }, h("z-icon", { name: "multiply-circle-filled" })))), h("div", { class: "modal-content", id: "modal-content" }, h("slot", { name: "modalContent" }), h("span", { tabindex: 0, class: "modal-end", ref: (el) => (this.modalEnd = el) }))), h("div", { class: "modal-background", "data-action": "modalBackground", "data-modal": this.modalid, onClick: () => {
|
|
2587
|
+
this.emitBackgroundClick();
|
|
2588
|
+
this.close();
|
|
2589
|
+
} }))));
|
|
2542
2590
|
}
|
|
2543
|
-
get hostElement() { return getElement(this); }
|
|
2544
2591
|
};
|
|
2545
|
-
|
|
2592
|
+
ZModal.style = stylesCss;
|
|
2546
2593
|
|
|
2547
|
-
export { LicenseActivation as license_activation, LicenseActivationBox as license_activation_box, LicenseActivationForm as license_activation_form, LicenseActivationModal as license_activation_modal,
|
|
2594
|
+
export { LicenseActivation as license_activation, LicenseActivationBox as license_activation_box, LicenseActivationForm as license_activation_form, LicenseActivationModal as license_activation_modal, ZButton as z_button, ZIcon as z_icon, ZInfoBox as z_info_box, ZInput as z_input, ZInputMessage as z_input_message, ZLink as z_link, ZModal as z_modal };
|