@zanichelli/delta_share 2.0.6 → 2.0.7
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/{breakpoints-a55736d0.js → breakpoints-da666109.js} +0 -2
- package/dist/wc/cjs/delta_share.cjs.js +2 -2
- package/dist/wc/cjs/{icons-2aca6c75.js → icons-f65fa82e.js} +58 -132
- package/dist/wc/cjs/{index-9ca7d5e5.js → index-458dc8f4.js} +0 -12
- package/dist/wc/cjs/index-b9bd2767.js +81 -0
- package/dist/wc/cjs/{license-activation_13.cjs.entry.js → license-activation_16.cjs.entry.js} +493 -131
- package/dist/wc/cjs/loader.cjs.js +2 -2
- package/dist/wc/cjs/utils-1f907efa.js +42 -0
- package/dist/wc/cjs/z-app-header.cjs.entry.js +6 -132
- package/dist/wc/cjs/z-app-switcher.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-app-topbar.cjs.entry.js +28 -15
- package/dist/wc/cjs/z-button-sort.cjs.entry.js +3 -17
- package/dist/wc/cjs/z-candybar.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-card-alert.cjs.entry.js +52 -0
- package/dist/wc/cjs/z-card-body.cjs.entry.js +19 -0
- package/dist/wc/cjs/z-card-cover.cjs.entry.js +22 -0
- package/dist/wc/cjs/z-card-footer.cjs.entry.js +46 -0
- package/dist/wc/cjs/z-card-header.cjs.entry.js +38 -0
- package/dist/wc/cjs/z-card-icon.cjs.entry.js +21 -0
- package/dist/wc/cjs/{z-myz-card-list.cjs.entry.js → z-card-list.cjs.entry.js} +5 -5
- package/dist/wc/cjs/z-card.cjs.entry.js +25 -53
- package/dist/wc/cjs/z-chip.cjs.entry.js +7 -20
- package/dist/wc/cjs/z-combobox.cjs.entry.js +17 -18
- package/dist/wc/cjs/z-cookiebar.cjs.entry.js +5 -5
- package/dist/wc/cjs/z-divider.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-footer-link_3.cjs.entry.js +4 -4
- package/dist/wc/cjs/z-footer.cjs.entry.js +8 -35
- package/dist/wc/cjs/z-header.cjs.entry.js +180 -0
- package/dist/wc/cjs/z-heading.cjs.entry.js +17 -0
- package/dist/wc/cjs/z-icon-package.cjs.entry.js +2 -2
- package/dist/wc/cjs/{z-myz-list-item.cjs.entry.js → z-list-item.cjs.entry.js} +6 -7
- package/dist/wc/cjs/z-list_2.cjs.entry.js +53 -144
- package/dist/wc/cjs/z-logo.cjs.entry.js +10 -12
- package/dist/wc/cjs/z-menu-section.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-menu.cjs.entry.js +4 -58
- package/dist/wc/cjs/z-modal-login.cjs.entry.js +6 -15
- package/dist/wc/cjs/z-pagination-bar.cjs.entry.js +2651 -8
- package/dist/wc/cjs/z-pagination-page.cjs.entry.js +4 -3
- package/dist/wc/cjs/z-panel-elem.cjs.entry.js +1 -1
- package/dist/wc/cjs/{z-table-body.cjs.entry.js → z-registro-table-body.cjs.entry.js} +5 -5
- package/dist/wc/cjs/z-registro-table-cell.cjs.entry.js +34 -0
- package/dist/wc/cjs/{z-table-head.cjs.entry.js → z-registro-table-footer.cjs.entry.js} +5 -5
- package/dist/wc/cjs/{z-table-footer.cjs.entry.js → z-registro-table-head.cjs.entry.js} +5 -5
- package/dist/wc/cjs/z-registro-table-header.cjs.entry.js +23 -0
- package/dist/wc/cjs/z-registro-table-row.cjs.entry.js +23 -0
- package/dist/wc/cjs/z-registro-table-sticky-footer.cjs.entry.js +19 -0
- package/dist/wc/cjs/z-registro-table.cjs.entry.js +31 -0
- package/dist/wc/cjs/z-stepper-item.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-stepper.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-toggle-button.cjs.entry.js +6 -7
- package/dist/wc/cjs/z-tooltip.cjs.entry.js +24 -254
- package/dist/wc/cjs/z-user-dropdown.cjs.entry.js +51 -46
- package/dist/wc/collection/collection-manifest.json +18 -63
- package/dist/wc/collection/components/license-activation-form/license-activation-form.js +23 -11
- package/dist/wc/custom-elements/index.js +2802 -9496
- package/dist/wc/delta_share/delta_share.esm.js +1 -1
- package/dist/wc/delta_share/p-04b614bf.entry.js +1 -0
- package/dist/wc/delta_share/p-0a05abe2.entry.js +1 -0
- package/dist/wc/delta_share/{p-3341f25e.entry.js → p-10d9e4f5.entry.js} +1 -1
- package/dist/wc/delta_share/p-21e76fc5.entry.js +1 -0
- package/dist/wc/delta_share/p-26d039ff.entry.js +1 -0
- package/dist/wc/delta_share/p-3995e58c.entry.js +1 -0
- package/dist/wc/delta_share/p-3c0ba1d7.entry.js +1 -0
- package/dist/wc/delta_share/p-3dae174e.entry.js +1 -0
- package/dist/wc/delta_share/p-466d0fc0.entry.js +1 -0
- package/dist/wc/delta_share/p-57e825ae.entry.js +1 -0
- package/dist/wc/delta_share/p-5a2d329b.entry.js +1 -0
- package/dist/wc/delta_share/p-5e35124a.entry.js +1 -0
- package/dist/wc/delta_share/{p-29d111de.entry.js → p-6215ddbd.entry.js} +1 -1
- package/dist/wc/delta_share/{p-94df01a9.entry.js → p-65c48026.entry.js} +1 -1
- package/dist/wc/delta_share/{p-a0663266.entry.js → p-6684b880.entry.js} +1 -1
- package/dist/wc/delta_share/p-7145c713.entry.js +1 -0
- package/dist/wc/delta_share/p-79e22647.entry.js +3 -0
- package/dist/wc/delta_share/p-7a08a26d.entry.js +1 -0
- package/dist/wc/delta_share/p-7adbb1ec.entry.js +1 -0
- package/dist/wc/delta_share/{p-cfc122de.entry.js → p-800cd436.entry.js} +1 -1
- package/dist/wc/delta_share/p-804eb658.entry.js +1 -0
- package/dist/wc/delta_share/p-81d7702b.entry.js +1 -0
- package/dist/wc/delta_share/p-85623203.entry.js +1 -0
- package/dist/wc/delta_share/{p-f531a563.entry.js → p-873e098b.entry.js} +1 -1
- package/dist/wc/delta_share/p-9dd299b2.js +1 -0
- package/dist/wc/delta_share/{p-6a9fb59c.entry.js → p-a03963a8.entry.js} +1 -1
- package/dist/wc/delta_share/p-a259b62e.entry.js +1 -0
- package/dist/wc/delta_share/p-ab7c95da.entry.js +1 -0
- package/dist/wc/delta_share/p-abd1d378.entry.js +1 -0
- package/dist/wc/delta_share/p-acfe9eb3.entry.js +1 -0
- package/dist/wc/delta_share/p-b5e27e10.js +1 -0
- package/dist/wc/delta_share/p-b5eb340c.entry.js +1 -0
- package/dist/wc/delta_share/p-b60651f2.entry.js +1 -0
- package/dist/wc/delta_share/p-c56e8a41.entry.js +1 -0
- package/dist/wc/delta_share/p-c69e24bf.entry.js +1 -0
- package/dist/wc/delta_share/{p-5b320481.entry.js → p-ca57e6ec.entry.js} +1 -1
- package/dist/wc/delta_share/p-cac71697.js +1 -0
- package/dist/wc/delta_share/p-cad0320b.entry.js +1 -0
- package/dist/wc/delta_share/p-d1270e75.entry.js +1 -0
- package/dist/wc/delta_share/p-d2b8f445.entry.js +1 -0
- package/dist/wc/delta_share/p-d489328b.js +1 -0
- package/dist/wc/delta_share/p-de921fbb.entry.js +1 -0
- package/dist/wc/delta_share/p-ec64cd8e.entry.js +1 -0
- package/dist/wc/delta_share/{p-06b89fb4.entry.js → p-ef4da7dc.entry.js} +1 -1
- package/dist/wc/delta_share/p-f1ba2542.entry.js +1 -0
- package/dist/wc/delta_share/p-f500eb2e.entry.js +1 -0
- package/dist/wc/delta_share/p-f5d6ffbf.entry.js +1 -0
- package/dist/wc/delta_share/p-f6cf7f9f.entry.js +1 -0
- package/dist/wc/delta_share/p-f9175533.entry.js +7 -0
- package/dist/wc/delta_share/p-fb1885ec.js +1 -0
- package/dist/wc/esm/breakpoints-75d56fd9.js +3 -0
- package/dist/wc/esm/delta_share.js +2 -2
- package/dist/wc/esm/{icons-74713b55.js → icons-973d360b.js} +58 -132
- package/dist/wc/esm/{index-b3a91e19.js → index-5ecd661f.js} +0 -12
- package/dist/wc/esm/index-e68ea3a2.js +81 -0
- package/dist/wc/esm/{license-activation_13.entry.js → license-activation_16.entry.js} +491 -132
- package/dist/wc/esm/loader.js +2 -2
- package/dist/wc/esm/utils-1c638931.js +37 -0
- package/dist/wc/esm/z-app-header.entry.js +6 -132
- package/dist/wc/esm/z-app-switcher.entry.js +2 -2
- package/dist/wc/esm/z-app-topbar.entry.js +28 -15
- package/dist/wc/esm/z-button-sort.entry.js +3 -17
- package/dist/wc/esm/z-candybar.entry.js +1 -1
- package/dist/wc/esm/z-card-alert.entry.js +48 -0
- package/dist/wc/esm/z-card-body.entry.js +15 -0
- package/dist/wc/esm/z-card-cover.entry.js +18 -0
- package/dist/wc/esm/z-card-footer.entry.js +42 -0
- package/dist/wc/esm/z-card-header.entry.js +34 -0
- package/dist/wc/esm/z-card-icon.entry.js +17 -0
- package/dist/wc/esm/z-card-list.entry.js +33 -0
- package/dist/wc/esm/z-card.entry.js +25 -53
- package/dist/wc/esm/z-chip.entry.js +7 -20
- package/dist/wc/esm/z-combobox.entry.js +17 -18
- package/dist/wc/esm/z-cookiebar.entry.js +5 -5
- package/dist/wc/esm/z-divider.entry.js +2 -2
- package/dist/wc/esm/z-footer-link_3.entry.js +4 -4
- package/dist/wc/esm/z-footer.entry.js +8 -35
- package/dist/wc/esm/z-header.entry.js +176 -0
- package/dist/wc/esm/z-heading.entry.js +13 -0
- package/dist/wc/esm/z-icon-package.entry.js +2 -2
- package/dist/wc/esm/{z-myz-list-item.entry.js → z-list-item.entry.js} +6 -7
- package/dist/wc/esm/z-list_2.entry.js +53 -144
- package/dist/wc/esm/z-logo.entry.js +10 -12
- package/dist/wc/esm/z-menu-section.entry.js +2 -2
- package/dist/wc/esm/z-menu.entry.js +4 -58
- package/dist/wc/esm/z-modal-login.entry.js +6 -15
- package/dist/wc/esm/z-pagination-bar.entry.js +2651 -8
- package/dist/wc/esm/z-pagination-page.entry.js +4 -3
- package/dist/wc/esm/z-panel-elem.entry.js +1 -1
- package/dist/wc/esm/{z-table-body.entry.js → z-registro-table-body.entry.js} +5 -5
- package/dist/wc/esm/z-registro-table-cell.entry.js +30 -0
- package/dist/wc/esm/{z-table-footer.entry.js → z-registro-table-footer.entry.js} +5 -5
- package/dist/wc/esm/{z-table-head.entry.js → z-registro-table-head.entry.js} +5 -5
- package/dist/wc/esm/z-registro-table-header.entry.js +19 -0
- package/dist/wc/esm/z-registro-table-row.entry.js +19 -0
- package/dist/wc/esm/z-registro-table-sticky-footer.entry.js +15 -0
- package/dist/wc/esm/z-registro-table.entry.js +27 -0
- package/dist/wc/esm/z-stepper-item.entry.js +1 -1
- package/dist/wc/esm/z-stepper.entry.js +1 -1
- package/dist/wc/esm/z-toggle-button.entry.js +6 -7
- package/dist/wc/esm/z-tooltip.entry.js +24 -254
- package/dist/wc/esm/z-user-dropdown.entry.js +51 -46
- package/dist/wc/types/beans/index.d.ts +1 -1
- package/dist/wc/types/components/license-activation/license-activation.d.ts +1 -1
- package/dist/wc/types/components/license-activation-form/license-activation-form.d.ts +2 -1
- package/package.json +1 -1
- package/dist/wc/cjs/hammer-4f20813e.js +0 -2650
- package/dist/wc/cjs/index-9c6fd1db.js +0 -315
- package/dist/wc/cjs/utils-8a10bba9.js +0 -88
- package/dist/wc/cjs/z-alert.cjs.entry.js +0 -19
- package/dist/wc/cjs/z-aria-alert.cjs.entry.js +0 -18
- package/dist/wc/cjs/z-avatar.cjs.entry.js +0 -43
- 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-carousel.cjs.entry.js +0 -24
- package/dist/wc/cjs/z-chip-deprecated.cjs.entry.js +0 -24
- package/dist/wc/cjs/z-contextual-menu.cjs.entry.js +0 -40
- package/dist/wc/cjs/z-date-picker.cjs.entry.js +0 -3104
- package/dist/wc/cjs/z-dragdrop-area_2.cjs.entry.js +0 -48
- package/dist/wc/cjs/z-file-upload.cjs.entry.js +0 -172
- package/dist/wc/cjs/z-file.cjs.entry.js +0 -47
- package/dist/wc/cjs/z-ghost-loading.cjs.entry.js +0 -19
- 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-menu-dropdown_2.cjs.entry.js +0 -89
- package/dist/wc/cjs/z-messages-pocket.cjs.entry.js +0 -46
- package/dist/wc/cjs/z-myz-card-alert.cjs.entry.js +0 -63
- package/dist/wc/cjs/z-myz-card-dictionary.cjs.entry.js +0 -36
- package/dist/wc/cjs/z-myz-card-footer-sections.cjs.entry.js +0 -19
- package/dist/wc/cjs/z-myz-card-footer.cjs.entry.js +0 -56
- package/dist/wc/cjs/z-myz-card-icon.cjs.entry.js +0 -21
- package/dist/wc/cjs/z-myz-card-info.cjs.entry.js +0 -119
- package/dist/wc/cjs/z-myz-card_4.cjs.entry.js +0 -104
- package/dist/wc/cjs/z-myz-topbar.cjs.entry.js +0 -194
- package/dist/wc/cjs/z-navigation-tab-link.cjs.entry.js +0 -71
- package/dist/wc/cjs/z-navigation-tab.cjs.entry.js +0 -73
- package/dist/wc/cjs/z-navigation-tabs.cjs.entry.js +0 -126
- package/dist/wc/cjs/z-notification.cjs.entry.js +0 -46
- package/dist/wc/cjs/z-offcanvas.cjs.entry.js +0 -63
- package/dist/wc/cjs/z-otp.cjs.entry.js +0 -41
- package/dist/wc/cjs/z-pagination.cjs.entry.js +0 -229
- package/dist/wc/cjs/z-pocket-message.cjs.entry.js +0 -19
- package/dist/wc/cjs/z-pocket_3.cjs.entry.js +0 -125
- package/dist/wc/cjs/z-popover.cjs.entry.js +0 -132
- package/dist/wc/cjs/z-section-title.cjs.entry.js +0 -42
- package/dist/wc/cjs/z-skip-to-content.cjs.entry.js +0 -68
- package/dist/wc/cjs/z-slideshow.cjs.entry.js +0 -112
- package/dist/wc/cjs/z-status-tag.cjs.entry.js +0 -29
- package/dist/wc/cjs/z-table-cell.cjs.entry.js +0 -36
- package/dist/wc/cjs/z-table-empty-box.cjs.entry.js +0 -32
- package/dist/wc/cjs/z-table-expanded-row.cjs.entry.js +0 -19
- package/dist/wc/cjs/z-table-header-row.cjs.entry.js +0 -22
- package/dist/wc/cjs/z-table-header.cjs.entry.js +0 -88
- package/dist/wc/cjs/z-table-row.cjs.entry.js +0 -43
- package/dist/wc/cjs/z-table-sticky-footer.cjs.entry.js +0 -19
- package/dist/wc/cjs/z-table.cjs.entry.js +0 -82
- package/dist/wc/cjs/z-tag.cjs.entry.js +0 -22
- package/dist/wc/cjs/z-toast-notification-list.cjs.entry.js +0 -56
- package/dist/wc/cjs/z-toast-notification.cjs.entry.js +0 -203
- package/dist/wc/cjs/z-toggle-switch.cjs.entry.js +0 -49
- package/dist/wc/cjs/z-visually-hidden.cjs.entry.js +0 -19
- package/dist/wc/delta_share/p-041ff3e2.entry.js +0 -1
- package/dist/wc/delta_share/p-06543221.entry.js +0 -1
- package/dist/wc/delta_share/p-0b0179c7.js +0 -1
- package/dist/wc/delta_share/p-0f55558e.js +0 -1
- package/dist/wc/delta_share/p-103f926c.entry.js +0 -1
- package/dist/wc/delta_share/p-12aa58e4.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-29cb5018.entry.js +0 -1
- package/dist/wc/delta_share/p-2b05751b.entry.js +0 -1
- package/dist/wc/delta_share/p-3094900a.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-33fb12fc.entry.js +0 -1
- package/dist/wc/delta_share/p-35bccab3.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-3f61bc0d.entry.js +0 -1
- package/dist/wc/delta_share/p-422f29e8.entry.js +0 -1
- package/dist/wc/delta_share/p-43ae8e0a.entry.js +0 -1
- package/dist/wc/delta_share/p-44eba966.entry.js +0 -1
- package/dist/wc/delta_share/p-51431ace.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-5af0e3cd.entry.js +0 -1
- package/dist/wc/delta_share/p-5d085d01.entry.js +0 -1
- package/dist/wc/delta_share/p-5d88112c.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-6a39042b.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-775af9dc.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-91a4ef35.js +0 -1
- package/dist/wc/delta_share/p-91af6142.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-9a1d266e.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-a150a778.entry.js +0 -1
- package/dist/wc/delta_share/p-a823768b.entry.js +0 -1
- package/dist/wc/delta_share/p-a880ae33.entry.js +0 -3
- package/dist/wc/delta_share/p-a949636a.entry.js +0 -1
- package/dist/wc/delta_share/p-b1c1f030.entry.js +0 -1
- package/dist/wc/delta_share/p-b5f0d2dc.entry.js +0 -1
- package/dist/wc/delta_share/p-badf3f24.entry.js +0 -1
- package/dist/wc/delta_share/p-bb38e604.entry.js +0 -1
- package/dist/wc/delta_share/p-bc225deb.entry.js +0 -1
- package/dist/wc/delta_share/p-bf58b24b.entry.js +0 -1
- package/dist/wc/delta_share/p-c2dde3b3.entry.js +0 -1
- package/dist/wc/delta_share/p-cccef23b.entry.js +0 -1
- 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-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-dec6ab35.entry.js +0 -1
- package/dist/wc/delta_share/p-e37c7b62.entry.js +0 -1
- package/dist/wc/delta_share/p-e43e61ac.js +0 -7
- package/dist/wc/delta_share/p-e7932e20.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-f0723bcc.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-fd83d815.entry.js +0 -1
- package/dist/wc/delta_share/p-ff2508eb.entry.js +0 -1
- package/dist/wc/esm/breakpoints-e07f80e7.js +0 -4
- package/dist/wc/esm/hammer-c3266b17.js +0 -2648
- package/dist/wc/esm/index-654849a7.js +0 -315
- package/dist/wc/esm/utils-417652d9.js +0 -80
- package/dist/wc/esm/z-alert.entry.js +0 -15
- package/dist/wc/esm/z-aria-alert.entry.js +0 -14
- package/dist/wc/esm/z-avatar.entry.js +0 -39
- 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-carousel.entry.js +0 -20
- package/dist/wc/esm/z-chip-deprecated.entry.js +0 -20
- package/dist/wc/esm/z-contextual-menu.entry.js +0 -36
- package/dist/wc/esm/z-date-picker.entry.js +0 -3100
- package/dist/wc/esm/z-dragdrop-area_2.entry.js +0 -43
- package/dist/wc/esm/z-file-upload.entry.js +0 -168
- package/dist/wc/esm/z-file.entry.js +0 -43
- package/dist/wc/esm/z-ghost-loading.entry.js +0 -15
- 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-menu-dropdown_2.entry.js +0 -84
- package/dist/wc/esm/z-messages-pocket.entry.js +0 -42
- package/dist/wc/esm/z-myz-card-alert.entry.js +0 -59
- package/dist/wc/esm/z-myz-card-dictionary.entry.js +0 -32
- package/dist/wc/esm/z-myz-card-footer-sections.entry.js +0 -15
- package/dist/wc/esm/z-myz-card-footer.entry.js +0 -52
- package/dist/wc/esm/z-myz-card-icon.entry.js +0 -17
- package/dist/wc/esm/z-myz-card-info.entry.js +0 -115
- package/dist/wc/esm/z-myz-card-list.entry.js +0 -33
- package/dist/wc/esm/z-myz-card_4.entry.js +0 -97
- package/dist/wc/esm/z-myz-topbar.entry.js +0 -190
- package/dist/wc/esm/z-navigation-tab-link.entry.js +0 -67
- package/dist/wc/esm/z-navigation-tab.entry.js +0 -69
- package/dist/wc/esm/z-navigation-tabs.entry.js +0 -122
- package/dist/wc/esm/z-notification.entry.js +0 -42
- package/dist/wc/esm/z-offcanvas.entry.js +0 -59
- package/dist/wc/esm/z-otp.entry.js +0 -37
- package/dist/wc/esm/z-pagination.entry.js +0 -225
- package/dist/wc/esm/z-pocket-message.entry.js +0 -15
- package/dist/wc/esm/z-pocket_3.entry.js +0 -119
- package/dist/wc/esm/z-popover.entry.js +0 -128
- package/dist/wc/esm/z-section-title.entry.js +0 -38
- package/dist/wc/esm/z-skip-to-content.entry.js +0 -64
- package/dist/wc/esm/z-slideshow.entry.js +0 -108
- package/dist/wc/esm/z-status-tag.entry.js +0 -25
- package/dist/wc/esm/z-table-cell.entry.js +0 -32
- package/dist/wc/esm/z-table-empty-box.entry.js +0 -28
- package/dist/wc/esm/z-table-expanded-row.entry.js +0 -15
- package/dist/wc/esm/z-table-header-row.entry.js +0 -18
- package/dist/wc/esm/z-table-header.entry.js +0 -84
- package/dist/wc/esm/z-table-row.entry.js +0 -39
- package/dist/wc/esm/z-table-sticky-footer.entry.js +0 -15
- package/dist/wc/esm/z-table.entry.js +0 -78
- package/dist/wc/esm/z-tag.entry.js +0 -18
- package/dist/wc/esm/z-toast-notification-list.entry.js +0 -52
- package/dist/wc/esm/z-toast-notification.entry.js +0 -199
- package/dist/wc/esm/z-toggle-switch.entry.js +0 -45
- package/dist/wc/esm/z-visually-hidden.entry.js +0 -15
package/dist/wc/cjs/{license-activation_13.cjs.entry.js → license-activation_16.cjs.entry.js}
RENAMED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-458dc8f4.js');
|
|
6
6
|
const _commonjsHelpers = require('./_commonjsHelpers-537d719a.js');
|
|
7
|
-
const index$1 = require('./index-
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
require('./
|
|
7
|
+
const index$1 = require('./index-b9bd2767.js');
|
|
8
|
+
const index$2 = require('./index-1fda0714.js');
|
|
9
|
+
const icons = require('./icons-f65fa82e.js');
|
|
10
|
+
const utils = require('./utils-1f907efa.js');
|
|
11
11
|
|
|
12
12
|
var DeviceEnum;
|
|
13
13
|
(function (DeviceEnum) {
|
|
@@ -1963,15 +1963,17 @@ const LicenseActivationForm = class {
|
|
|
1963
1963
|
this.submitButtonClick = index.createEvent(this, "submitButtonClick", 7);
|
|
1964
1964
|
this.redirectToSupport = this.redirectToSupport.bind(this);
|
|
1965
1965
|
}
|
|
1966
|
+
watchPropHandler() {
|
|
1967
|
+
if (!this.requestLoading) {
|
|
1968
|
+
if (this.inputMessageRef && this.error) {
|
|
1969
|
+
this.inputMessageRef.focus();
|
|
1970
|
+
}
|
|
1971
|
+
}
|
|
1972
|
+
}
|
|
1966
1973
|
componentWillLoad() {
|
|
1967
1974
|
this.showInfoBox = !!this.initialShowInfoBox;
|
|
1968
1975
|
this.inputVal = this.initialCode ? this.initialCode : "";
|
|
1969
1976
|
}
|
|
1970
|
-
componentDidUpdate() {
|
|
1971
|
-
if (this.inputMessageRef && this.error) {
|
|
1972
|
-
this.inputMessageRef.focus();
|
|
1973
|
-
}
|
|
1974
|
-
}
|
|
1975
1977
|
handleFormInputChange(detail) {
|
|
1976
1978
|
this.inputVal = detail.value;
|
|
1977
1979
|
this.formInputChange.emit(detail);
|
|
@@ -1999,7 +2001,7 @@ const LicenseActivationForm = class {
|
|
|
1999
2001
|
? previewInputPlaceholder
|
|
2000
2002
|
: placeholder, status: this.variant === LicenseActivationVariantEnum.box
|
|
2001
2003
|
? null
|
|
2002
|
-
: inputStatus,
|
|
2004
|
+
: inputStatus, hasmessage: false, htmltitle: placeholder, disabled: !!this.requestLoading, onInputChange: (e) => this.handleFormInputChange(e.detail) }), this.renderInputMessage()));
|
|
2003
2005
|
}
|
|
2004
2006
|
renderInputMessage() {
|
|
2005
2007
|
const { inputMessage, inputStatus } = this.formTexts;
|
|
@@ -2014,9 +2016,13 @@ const LicenseActivationForm = class {
|
|
|
2014
2016
|
}
|
|
2015
2017
|
renderButton() {
|
|
2016
2018
|
const disabled = (this.variant === LicenseActivationVariantEnum.modal && !this.inputVal) ||
|
|
2017
|
-
!!this.requestLoading
|
|
2018
|
-
|
|
2019
|
-
|
|
2019
|
+
!!this.requestLoading;
|
|
2020
|
+
return (index.h("z-button", { variant: index$1.ButtonVariantEnum.primary, size: this.getButtonSize(this.variant), square: this.getButtonSquare(this.variant), disabled: disabled || !this.enableButton || this.requestLoading, onClick: () => this.handleSubmitButtonClick(this.inputVal) }, this.renderButtonValue(this.variant, disabled)));
|
|
2021
|
+
}
|
|
2022
|
+
renderButtonValue(variant, disabled = false) {
|
|
2023
|
+
const icon = this.getButtonIcon(variant);
|
|
2024
|
+
const label = this.getButtonLabel(variant);
|
|
2025
|
+
return (index.h("button", { slot: "element", disabled: disabled }, icon ? index.h("z-icon", { name: icon }) : null, label));
|
|
2020
2026
|
}
|
|
2021
2027
|
renderAdditionalDescription() {
|
|
2022
2028
|
const { additionalDescription } = this.formTexts;
|
|
@@ -2087,6 +2093,9 @@ const LicenseActivationForm = class {
|
|
|
2087
2093
|
render() {
|
|
2088
2094
|
return (index.h(index.Host, { variant: this.variant }, index.h("div", null, this.renderAdditionalDescription(), this.renderInput(), this.renderButton()), this.renderInfoLink(), index.h("div", null, this.renderInfoBox(), this.renderErrorSection())));
|
|
2089
2095
|
}
|
|
2096
|
+
static get watchers() { return {
|
|
2097
|
+
"requestLoading": ["watchPropHandler"]
|
|
2098
|
+
}; }
|
|
2090
2099
|
};
|
|
2091
2100
|
LicenseActivationForm.style = licenseActivationFormCss;
|
|
2092
2101
|
|
|
@@ -2122,11 +2131,11 @@ const ZBody = class {
|
|
|
2122
2131
|
this.variant = "regular";
|
|
2123
2132
|
}
|
|
2124
2133
|
render() {
|
|
2125
|
-
return (index.h("z-typography", {
|
|
2134
|
+
return (index.h("z-typography", { component: this.component || "span", level: `b${this.level}`, variant: this.variant }, index.h("slot", null)));
|
|
2126
2135
|
}
|
|
2127
2136
|
};
|
|
2128
2137
|
|
|
2129
|
-
const stylesCss$
|
|
2138
|
+
const stylesCss$a = ":host{display:inline-block;--z-icon-width:16px;--z-icon-height:16px;--z-icon-right-margin:var(--space-unit)}button:disabled,::slotted(button:disabled){pointer-events:none}button,::slotted(button),::slotted(a){box-sizing:border-box;display:inline-flex;flex-direction:row;align-items:center;justify-content:center;font-family:var(--dashboard-font);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);vertical-align:middle;text-transform:uppercase;text-decoration:none;cursor:pointer;white-space:nowrap;outline:none;width:100%}button.big,:host([size=\"big\"]) ::slotted(button),:host([size=\"big\"]) ::slotted(a){height:44px;min-width:44px}button.small,:host([size=\"small\"]) ::slotted(button),:host([size=\"small\"]) ::slotted(a){height:36px;min-width:36px}button.issmall,:host([issmall]) ::slotted(button),:host([issmall]) ::slotted(a){height:36px;min-width:36px}button.x-small,:host([size=\"x-small\"]) ::slotted(button),:host([size=\"x-small\"]) ::slotted(a){height:32px;min-width:32px}button:not(.square),:host(:not([square])) ::slotted(button),:host(:not([square])) ::slotted(a){min-width:calc(var(--space-unit) * 8);padding:0 calc(var(--space-unit) * 2)}button.square,:host([square]){--z-icon-right-margin:0}button.primary,:host([variant=\"primary\"]) ::slotted(button),:host([variant=\"primary\"]) ::slotted(a){background-color:var(--myz-blue);border-color:var(--myz-blue);color:var(--bg-white);fill:var(--bg-white)}@media (hover: hover){button.primary:hover,:host([variant=\"primary\"]) ::slotted(button:hover),:host([variant=\"primary\"]) ::slotted(a:hover){background-color:var(--myz-blue-dark);border-color:var(--myz-blue-dark);color:var(--bg-white);fill:var(--bg-white)}}button.primary:focus:focus-visible,:host([variant=\"primary\"]) ::slotted(button:focus:focus-visible),:host([variant=\"primary\"]) ::slotted(a:focus:focus-visible){background-color:var(--myz-blue);border-color:var(--myz-blue);color:var(--bg-white);fill:var(--bg-white);box-shadow:0px 0px 2px 2px var(--accent-dark)}button.primary:active,:host([variant=\"primary\"]) ::slotted(button:active),:host([variant=\"primary\"]) ::slotted(a:active){background-color:var(--myz-blue-light);border-color:var(--myz-blue-light);color:var(--bg-white);fill:var(--bg-white);box-shadow:0px 2px 4px 0px rgba(0, 0, 0, 0.4)}button:disabled,:host([variant=\"primary\"]) ::slotted(button:disabled){background-color:var(--bg-neutral-200);border-color:var(--bg-neutral-200);color:var(--text-grey-700);fill:var(--text-grey-700)}button.secondary,:host([variant=\"secondary\"]) ::slotted(button),:host([variant=\"secondary\"]) ::slotted(a){background-color:var(--bg-white);border-color:var(--myz-blue);color:var(--myz-blue);fill:var(--myz-blue)}@media (hover: hover){button.secondary:hover,:host([variant=\"secondary\"]) ::slotted(button:hover),:host([variant=\"secondary\"]) ::slotted(a:hover){background-color:var(--bg-white);border-color:var(--myz-blue-dark);color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}}button.secondary:focus:focus-visible,:host([variant=\"secondary\"]) ::slotted(button:focus:focus-visible),:host([variant=\"secondary\"]) ::slotted(a:focus:focus-visible){background-color:var(--bg-white);border-color:var(--myz-blue);color:var(--myz-blue);fill:var(--myz-blue);box-shadow:0px 0px 2px 2px var(--accent-dark)}button.secondary:active,:host([variant=\"secondary\"]) ::slotted(button:active),:host([variant=\"secondary\"]) ::slotted(a:active){background-color:var(--bg-white);border-color:var(--myz-blue-light);color:var(--myz-blue-light);fill:var(--myz-blue-light);box-shadow:0px 2px 4px 0px rgba(0, 0, 0, 0.4)}button.secondary:disabled,:host([variant=\"secondary\"]) ::slotted(button:disabled){background-color:var(--bg-white);border-color:var(--bg-neutral-200);color:var(--text-grey-700);fill:var(--text-grey-700)}button.tertiary,:host([variant=\"tertiary\"]) ::slotted(button),:host([variant=\"tertiary\"]) ::slotted(a){background-color:transparent;border-color:transparent;color:var(--myz-blue);fill:var(--myz-blue)}button.tertiary.hasContent{padding:0 var(--space-unit)}@media (hover: hover){button.tertiary:hover,:host([variant=\"tertiary\"]) ::slotted(button:hover),:host([variant=\"tertiary\"]) ::slotted(a:hover){background-color:var(--myz-blue-lighter);border-color:var(--myz-blue-lighter);color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}}button.tertiary:focus:focus-visible,:host([variant=\"tertiary\"]) ::slotted(button:focus:focus-visible),:host([variant=\"tertiary\"]) ::slotted(a:focus:focus-visible){background-color:var(--bg-white);border-color:var(--bg-white);color:var(--myz-blue);fill:var(--myz-blue);box-shadow:0px 0px 2px 2px var(--accent-dark)}button.tertiary:active,:host([variant=\"tertiary\"]) ::slotted(button:active),:host([variant=\"tertiary\"]) ::slotted(a:active){background-color:var(--bg-white);border-color:var(--bg-white);color:var(--myz-blue-light);fill:var(--myz-blue-light);box-shadow:0px 2px 4px 0px rgba(0, 0, 0, 0.4)}button.tertiary:disabled,:host([variant=\"tertiary\"]) ::slotted(button:disabled){background-color:transparent;border-color:transparent;color:var(--text-grey-700);fill:var(--text-grey-700)}";
|
|
2130
2139
|
|
|
2131
2140
|
const ZButton = class {
|
|
2132
2141
|
constructor(hostRef) {
|
|
@@ -2135,41 +2144,72 @@ const ZButton = class {
|
|
|
2135
2144
|
this.disabled = false;
|
|
2136
2145
|
/** HTML button type attribute. */
|
|
2137
2146
|
this.type = index$1.ButtonTypeEnum.button;
|
|
2138
|
-
/** Graphical variant: `primary`, `secondary
|
|
2147
|
+
/** Graphical variant: `primary`, `secondary` and `tertiary`. Defaults to `primary`. */
|
|
2139
2148
|
this.variant = index$1.ButtonVariantEnum.primary;
|
|
2140
2149
|
/** Available sizes: `big`, `small` and `x-small`. Defaults to `big`. */
|
|
2141
2150
|
this.size = index$1.ButtonSizeEnum.big;
|
|
2151
|
+
/** Reduce button size (deprecated).
|
|
2152
|
+
*
|
|
2153
|
+
* @deprecated Use `size` prop.
|
|
2154
|
+
* */
|
|
2155
|
+
this.issmall = false;
|
|
2156
|
+
/** Spy to render square button. */
|
|
2157
|
+
this.square = false;
|
|
2142
2158
|
}
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2159
|
+
render() {
|
|
2160
|
+
this.hostElement.style.pointerEvents = this.disabled ? "none" : "auto";
|
|
2161
|
+
return (index.h("slot", { name: "element" }, index.h("button", { id: this.htmlid, name: this.name, type: this.type, disabled: this.disabled, class: index$2.classnames(this.variant, this.size, { issmall: this.issmall }, { square: this.square }) }, this.icon && index.h("z-icon", { name: this.icon, width: 16, height: 16 }), index.h("slot", null))));
|
|
2162
|
+
}
|
|
2163
|
+
get hostElement() { return index.getElement(this); }
|
|
2164
|
+
};
|
|
2165
|
+
ZButton.style = stylesCss$a;
|
|
2166
|
+
|
|
2167
|
+
const stylesCss$9 = "button.container{min-height:32px;line-height:32px;border:var(--border-size-small) solid var(--bg-grey-200);border-radius:16px;box-shadow:0px 2px 5px 0px var(--bg-neutral-300);-webkit-box-shadow:0px 2px 5px 0px var(--bg-neutral-300);-moz-box-shadow:0px 2px 5px 0px var(--bg-neutral-300);text-align:center;padding:0 calc(var(--space-unit) * 2);cursor:pointer;letter-spacing:0.17px;font-family:var(--dashboard-font);font-size:12px;font-weight:var(--font-sb);opacity:1;transition:all 200ms linear}button.container.small{min-height:24px;line-height:24px}button.container:focus{outline:0}button.container::-moz-focus-inner{border:0}.text-container{margin-left:4px}button.container,button.container:focus,button.container:hover{background-color:var(--bg-white);color:var(--text-grey-700);fill:var(--text-grey-700)}button.container.isactive{background-color:var(--bg-white);color:var(--myz-blue);fill:var(--myz-blue)}button.container.isactive:hover{color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}button.container.isactive:focus{background-color:var(--myz-blue-dark);border-color:var(--myz-blue-dark);box-shadow:0px 0px 4px 0px var(--text-grey-800);color:var(--bg-white);fill:var(--bg-white)}";
|
|
2168
|
+
|
|
2169
|
+
const ZButtonFilter = class {
|
|
2170
|
+
constructor(hostRef) {
|
|
2171
|
+
index.registerInstance(this, hostRef);
|
|
2172
|
+
this.removefilter = index.createEvent(this, "removefilter", 7);
|
|
2173
|
+
/** disable action on button */
|
|
2174
|
+
this.isfixed = false;
|
|
2175
|
+
/** add icon to button */
|
|
2176
|
+
this.hasicon = true;
|
|
2177
|
+
/** reduce button size (optional) */
|
|
2178
|
+
this.issmall = false;
|
|
2179
|
+
this.handleRemovingFilterClick = this.handleRemovingFilterClick.bind(this);
|
|
2180
|
+
}
|
|
2181
|
+
handleRemovingFilterClick() {
|
|
2182
|
+
this.removefilter.emit({
|
|
2183
|
+
filterid: this.filterid
|
|
2184
|
+
});
|
|
2185
|
+
}
|
|
2186
|
+
renderFixedPillow(filtername) {
|
|
2187
|
+
return (index.h("button", { class: "container" }, this.hasicon && (index.h("z-icon", { class: "close-icon-container", name: "multiply", height: 12, width: 12 })), index.h("span", { class: "text-container" }, filtername)));
|
|
2188
|
+
}
|
|
2189
|
+
renderDynamicPillow(filtername) {
|
|
2190
|
+
return (index.h("button", { class: `container isactive ${this.issmall ? "small" : ""}`, onClick: this.handleRemovingFilterClick }, this.hasicon && (index.h("z-icon", { class: "close-icon-container", name: "multiply", height: 12, width: 12 })), index.h("span", { class: "text-container" }, filtername)));
|
|
2154
2191
|
}
|
|
2155
2192
|
render() {
|
|
2156
|
-
if (this.
|
|
2157
|
-
return
|
|
2193
|
+
if (this.isfixed) {
|
|
2194
|
+
return this.renderFixedPillow(this.filtername);
|
|
2158
2195
|
}
|
|
2159
|
-
return
|
|
2196
|
+
return this.renderDynamicPillow(this.filtername);
|
|
2160
2197
|
}
|
|
2161
|
-
get hostElement() { return index.getElement(this); }
|
|
2162
2198
|
};
|
|
2163
|
-
|
|
2199
|
+
ZButtonFilter.style = stylesCss$9;
|
|
2164
2200
|
|
|
2165
|
-
const stylesCss$
|
|
2201
|
+
const stylesCss$8 = ":host{line-height:0;vertical-align:middle;width:var(--z-icon-width, 18px);height:var(--z-icon-height, 18px);margin-right:var(--z-icon-right-margin, 0);margin-left:var(--z-icon-left-margin, 0)}:host(:not([width])) svg{width:var(--z-icon-width, 18px)}:host(:not([height])) svg{height:var(--z-icon-height, 18px)}";
|
|
2166
2202
|
|
|
2167
2203
|
const ZIcon = class {
|
|
2168
2204
|
constructor(hostRef) {
|
|
2169
2205
|
index.registerInstance(this, hostRef);
|
|
2206
|
+
/** icon height (optional) */
|
|
2207
|
+
this.height = 18;
|
|
2208
|
+
/** icon width (optional) */
|
|
2209
|
+
this.width = 18;
|
|
2170
2210
|
}
|
|
2171
2211
|
selectPathOrPolygon(iconName) {
|
|
2172
|
-
if (iconName && iconName.startsWith(
|
|
2212
|
+
if (iconName && iconName.startsWith('M')) {
|
|
2173
2213
|
return index.h("path", { d: icons.icons[this.name] });
|
|
2174
2214
|
}
|
|
2175
2215
|
else {
|
|
@@ -2177,12 +2217,12 @@ const ZIcon = class {
|
|
|
2177
2217
|
}
|
|
2178
2218
|
}
|
|
2179
2219
|
render() {
|
|
2180
|
-
return (index.h("svg", { viewBox: "0 0 1000 1000", width: this.width, height: this.height, id: this.iconid
|
|
2220
|
+
return (index.h("svg", { viewBox: "0 0 1000 1000", width: this.width, height: this.height, id: this.iconid }, this.selectPathOrPolygon(icons.icons[this.name])));
|
|
2181
2221
|
}
|
|
2182
2222
|
};
|
|
2183
|
-
ZIcon.style = stylesCss$
|
|
2223
|
+
ZIcon.style = stylesCss$8;
|
|
2184
2224
|
|
|
2185
|
-
const stylesCss$
|
|
2225
|
+
const stylesCss$7 = ":host{font-family:var(--dashboard-font);font-weight:var(--font-rg)}:host>div{background:var(--accent-lighter);padding:calc(var(--space-unit) * 2);border-radius:var(--border-radius);display:flex;width:inherit}:host>div>slot{color:var(--text-grey-800);font-size:14px}:host>div>z-icon{fill:var(--myz-blue);cursor:pointer;margin-left:calc(var(--space-unit) * 2)}";
|
|
2186
2226
|
|
|
2187
2227
|
const ZInfoBox = class {
|
|
2188
2228
|
constructor(hostRef) {
|
|
@@ -2198,9 +2238,9 @@ const ZInfoBox = class {
|
|
|
2198
2238
|
return (index.h("div", { id: this.boxid }, index.h("slot", { name: "content" }), this.isclosable && index.h("z-icon", { name: "multiply", "data-action": "infoBoxClose", onClick: () => this.emitInfoBoxClose() })));
|
|
2199
2239
|
}
|
|
2200
2240
|
};
|
|
2201
|
-
ZInfoBox.style = stylesCss$
|
|
2241
|
+
ZInfoBox.style = stylesCss$7;
|
|
2202
2242
|
|
|
2203
|
-
const stylesCss$4 = ".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,.textareaWrapper.sc-z-input{background:var(--color-input-field01);border-radius:var(--border-radius-small);border:var(--border-size-small) solid var(--color-surface04);box-sizing:border-box;color:var(--color-text02);fill:var(--color-icon02);font-family:var(--font-family-sans);font-weight:var(--font-rg);font-size:var(--font-size-3);outline:none}input.sc-z-input:focus:focus-visible,.textareaWrapper.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-primary01)}.filled.sc-z-input{border-color:var(--color-surface05)}.input_success.sc-z-input{background:var(--color-success-inverse);border-color:var(--color-success01);fill:var(--color-success01)}.input_error.sc-z-input{background:var(--color-error-inverse);border-color:var(--color-error01);fill:var(--color-error01)}.input_warning.sc-z-input{background:var(--color-warning-inverse);border-color:var(--color-warning01);fill:var(--color-warning01)}input.sc-z-input:hover,.textareaWrapper.sc-z-input:hover{border-width:var(--border-size-medium)}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\"]) .textareaWrapper.sc-z-input,[disabled].sc-z-input-h:not([disabled=\"false\"]) z-icon.sc-z-input{border-color:var(--color-disabled01);color:var(--color-disabled02);fill:var(--color-disabled01);pointer-events:none;box-shadow: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-input-placeholder,.sc-z-input::-webkit-textarea-placeholder{color:var(--color-text05)}.sc-z-input:-ms-input-placeholder,.sc-z-input:-ms-textarea-placeholder{color:var(--color-text05)}.sc-z-input::-moz-placeholder{color:var(--color-text05)}.sc-z-input:-moz-placeholder{color:var(--color-text05)}label.inputLabel.sc-z-input{display:block;margin-bottom:var(--space-unit);color:var(--color-text02);font-family:var(--font-family-sans);text-transform:uppercase;text-align:left}[disabled].sc-z-input-h:not([disabled=\"false\"]) label.inputLabel.sc-z-input{color:var(--color-disabled02)}.textWrapper.sc-z-input>div.sc-z-input{fill:var(--color-icon02)}.textWrapper.sc-z-input>div.sc-z-input>input.sc-z-input{width:100%;height:calc(var(--space-unit) * 5.5);margin:0;padding:0 calc(var(--space-unit) * 1.5);box-sizing:border-box}.textWrapper.sc-z-input>div.sc-z-input>input.hasIcon.sc-z-input,.textWrapper.sc-z-input>div.sc-z-input>input.hasClearIcon.sc-z-input{padding-right:calc(var(--space-unit) * 5.25)}.textWrapper.sc-z-input>div.sc-z-input>input.hasIcon.hasClearIcon.sc-z-input{padding-right:calc(var(--space-unit) * 8)}.textWrapper.sc-z-input>div.sc-z-input{position:relative;z-index:1}.textWrapper.sc-z-input .iconsWrapper.sc-z-input{position:absolute;right:calc(var(--space-unit) * 1.5);top:50%;transform:translateY(-50%);display:flex;z-index:2;pointer-events:none}.textWrapper.sc-z-input .iconsWrapper.sc-z-input>button.iconButton.sc-z-input{background:none;color:inherit;border:0;padding:0;font:inherit;pointer-events:initial}.textWrapper.sc-z-input .iconsWrapper.sc-z-input>button.iconButton.sc-z-input+button.iconButton.sc-z-input{margin-left:calc(var(--space-unit) * 0.5)}.textWrapper.sc-z-input .iconsWrapper.sc-z-input>button.iconButton.resetIcon.sc-z-input,.textWrapper.sc-z-input .iconsWrapper.sc-z-input>button.iconButton.showHidePasswordIcon.sc-z-input{cursor:pointer}.textWrapper.sc-z-input .iconsWrapper.sc-z-input>button.iconButton.sc-z-input>z-icon.sc-z-input{--z-icon-width:18px;--z-icon-height:18px;display:block}.textWrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill,.textWrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill:hover,.textWrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill:focus,.textWrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill:active{-webkit-background-clip:text !important}.textareaWrapper.sc-z-input{padding:calc(var(--space-unit) * 1.5);scrollbar-color:var(--color-primary01) transparent}textarea.sc-z-input::-webkit-scrollbar{background:linear-gradient(\n to right,\n transparent 0 3px,\n var(--gray200) 3px 7px,\n transparent 7px 10px\n );width: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{min-height:132px;width:100%;margin:0;padding:0;border:none;resize:none}.radioWrapper.sc-z-input,.checkboxWrapper.sc-z-input{display:inline-flex;flex-direction:row;align-items:center;font-family:var(--font-family-sans);position:relative;color:var(--color-text01);fill:var(--color-primary01)}.radioWrapper.sc-z-input:hover,.checkboxWrapper.sc-z-input:hover{color:var(--color-hover-primary);fill:currentColor}.radioWrapper.sc-z-input>input.sc-z-input,.checkboxWrapper.sc-z-input>input.sc-z-input{position:absolute;opacity:0;z-index:-1;pointer-events:none}.radioWrapper.sc-z-input .radioLabel.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.sc-z-input{display:inline-flex;align-items:center;margin:0;line-height:1;color:inherit;font-family:inherit;font-weight:inherit;font-size:inherit;text-transform:inherit}.radioWrapper.sc-z-input input.sc-z-input:not(:disabled)+.radioLabel.sc-z-input,.checkboxWrapper.sc-z-input input.sc-z-input:not(:disabled)+.checkboxLabel.sc-z-input{cursor:pointer}.radioWrapper.sc-z-input .radioLabel.sc-z-input z-icon.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.sc-z-input z-icon.sc-z-input{fill:inherit;cursor:pointer}.radioWrapper.sc-z-input .radioLabel.after.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.after.sc-z-input{flex-direction:row}.radioWrapper.sc-z-input .radioLabel.before.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.before.sc-z-input{flex-direction:row-reverse}.radioWrapper.sc-z-input .radioLabel.after.sc-z-input>span.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.after.sc-z-input>span.sc-z-input{margin-left:var(--space-unit)}.radioWrapper.sc-z-input .radioLabel.before.sc-z-input>span.sc-z-input,.checkboxWrapper.sc-z-input .checkboxLabel.before.sc-z-input>span.sc-z-input{margin-right:var(--space-unit)}.radioWrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.radioLabel.sc-z-input>z-icon.sc-z-input,.checkboxWrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.checkboxLabel.sc-z-input>z-icon.sc-z-input{box-shadow:var(--shadow-focus-primary);border-radius:var(--border-radius-small)}.radioWrapper.sc-z-input>input.sc-z-input:disabled+.radioLabel.sc-z-input,.checkboxWrapper.sc-z-input>input.sc-z-input:disabled+.checkboxLabel.sc-z-input{color:var(--color-disabled02)}.radioWrapper.sc-z-input>input.sc-z-input:disabled+.radioLabel.sc-z-input>z-icon.sc-z-input,.checkboxWrapper.sc-z-input>input.sc-z-input:disabled+.checkboxLabel.sc-z-input>z-icon.sc-z-input{fill:var(--color-disabled01);cursor:default}";
|
|
2243
|
+
const stylesCss$6 = ".sc-z-input-h{display:inline-block;width:inherit}.sc-z-input-h input.sc-z-input::-ms-clear,.sc-z-input-h input.sc-z-input::-ms-reveal{display:none}.sc-z-input-h input.sc-z-input,.sc-z-input-h textarea.sc-z-input,.sc-z-input-h ul[role=\"listbox\"].sc-z-input{background:var(--bg-white);border-radius:0px;border:var(--border-size-small) solid var(--bg-grey-200);border-color:var(--bg-grey-200);box-sizing:border-box;color:var(--text-grey-800);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-weight:var(--font-rg);font-size:16px;outline:none}.sc-z-input-h .filled.sc-z-input{border-color:var(--text-grey-800) !important}.sc-z-input-h input.sc-z-input:focus,.sc-z-input-h ul[role=\"listbox\"].closed.sc-z-input:focus,.sc-z-input-h li[role=\"option\"].sc-z-input:focus,.sc-z-input-h .focus.sc-z-input{border-color:transparent;box-shadow:0 0 2px 2px var(--accent-dark);outline:none}.sc-z-input-h input.sc-z-input:hover,.sc-z-input-h textarea.sc-z-input:hover,.sc-z-input-h ul[role=\"listbox\"].closed.sc-z-input:hover,.sc-z-input-h .hover.sc-z-input{background:var(--bg-grey-050) !important;border-color:var(--text-grey-800) !important}.sc-z-input-h input[readonly].sc-z-input,.sc-z-input-h .readonly.sc-z-input,.sc-z-input-h input[readonly].filled.sc-z-input,.sc-z-input-h .readonly.filled.sc-z-input,.sc-z-input-h ul[role=\"listbox\"].closed.readonly.sc-z-input{border-color:var(--text-grey-200) !important;color:var(--text-grey-800) !important;pointer-events:none}.sc-z-input-h input[readonly].sc-z-input:hover,.sc-z-input-h textarea[readonly].sc-z-input:hover,.sc-z-input-h .readonly.hover.sc-z-input,.sc-z-input-h ul[role=\"listbox\"].closed[readonly].sc-z-input:hover{background:var(--bg-white)}.sc-z-input-h input.sc-z-input:disabled,.sc-z-input-h .disabled.sc-z-input,.sc-z-input-h .filled.sc-z-input:disabled,.sc-z-input-h input.sc-z-input:disabled:hover,.sc-z-input-h textarea.sc-z-input:disabled:hover,.sc-z-input-h .disabled.hover.sc-z-input,.sc-z-input-h ul[role=\"listbox\"].closed.disabled.sc-z-input,.sc-z-input-h ul[role=\"listbox\"].closed.disabled.sc-z-input:hover{background:var(--bg-white) !important;border-color:var(--bg-grey-200) !important;box-shadow:none !important;color:var(--text-grey-700) !important;fill:var(--bg-grey-200) !important;pointer-events:none}.sc-z-input-h .input_success.sc-z-input,.sc-z-input-h .input_success.sc-z-input:hover,.sc-z-input-h .input_success.hover.sc-z-input{background:var(--status-success-green-lighter) !important;border-color:var(--status-success-green) !important}.sc-z-input-h .input_error.sc-z-input,.sc-z-input-h .input_error.sc-z-input:hover,.sc-z-input-h .input_error.hover.sc-z-input{background:var(--status-error-red-lighter) !important;border-color:var(--status-error-red) !important}.sc-z-input-h .input_warning.sc-z-input,.sc-z-input-h .input_warning.sc-z-input:hover,.sc-z-input-h .input_warning.hover.sc-z-input{background:var(--status-warning-yellow-lighter) !important;border-color:var(--status-warning-yellow) !important}.sc-z-input-h .input_selecting.sc-z-input,.sc-z-input-h .input_selecting.sc-z-input:hover,.sc-z-input-h input[readonly].input_selecting.sc-z-input,.sc-z-input-h input[readonly].input_selecting.sc-z-input:hover{border-color:var(--myz-blue) !important;box-shadow:0 0 0 0 transparent !important;color:var(--myz-blue) !important}.sc-z-input-h input.sc-z-input:focus.istyping,.sc-z-input-h .focus.istyping.sc-z-input{border-color:var(--myz-blue) !important;box-shadow:var(--shadow-0);color:var(--myz-blue)}.sc-z-input-h input.sc-z-input::placeholder,.sc-z-input-h textarea.sc-z-input::placeholder{color:var(--text-grey-700)}.sc-z-input::-webkit-input-placeholder,.sc-z-input::-webkit-textarea-placeholder{color:var(--text-grey-700)}.sc-z-input:-ms-input-placeholder,.sc-z-input:-ms-textarea-placeholder{color:var(--text-grey-700)}.sc-z-input::-moz-placeholder{color:var(--text-grey-700)}.sc-z-input:-moz-placeholder{color:var(--text-grey-700)}.sc-z-input-h>div.textWrapper.sc-z-input>div.sc-z-input{fill:var(--text-grey-800)}.sc-z-input-h>div.textWrapper.sc-z-input>div.sc-z-input>input.sc-z-input{height:44px;width:100%;margin:0;padding:0 calc(var(--space-unit) * 4.5) 0 calc(var(--space-unit) * 1.5);box-sizing:border-box}.sc-z-input-h>div.textWrapper.sc-z-input>div.sc-z-input>input.hasIcon.sc-z-input,.sc-z-input-h>div.textWrapper.sc-z-input>div.sc-z-input>input.hasClearIcon.sc-z-input{padding-right:calc(var(--space-unit) * 4)}.sc-z-input-h>div.textWrapper.sc-z-input>div.sc-z-input>input.hasIcon.hasClearIcon.sc-z-input{padding-right:calc(var(--space-unit) * 7)}.sc-z-input-h>div.textWrapper.sc-z-input>div.sc-z-input{position:relative;z-index:1}.sc-z-input-h>div.textWrapper.sc-z-input>div.sc-z-input>span.iconsWrapper.sc-z-input{position:absolute;bottom:calc(var(--space-unit) * 1.5);right:calc(var(--space-unit) * 1.5);z-index:2;height:18px;display:flex}.sc-z-input-h>div.textWrapper.sc-z-input>div.sc-z-input>span.iconsWrapper.sc-z-input>z-icon.sc-z-input{display:block;height:18px;width:18px;margin-left:calc(var(--space-unit) * 0.5)}.sc-z-input-h>div.textWrapper.sc-z-input>div.sc-z-input>span.iconsWrapper.sc-z-input>z-icon.resetIcon.sc-z-input{cursor:pointer}.sc-z-input-h>div.textWrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill,.sc-z-input-h>div.textWrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill:hover,.sc-z-input-h>div.textWrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill:focus,.sc-z-input-h>div.textWrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill:active{-webkit-background-clip:text !important}.sc-z-input-h>div.textWrapper.sc-z-input>div.sc-z-input>div.textareaWrapper.sc-z-input{background:var(--bg-white);border:var(--border-size-small) solid var(--bg-grey-200);padding:calc(var(--space-unit) * 1.5)}.sc-z-input-h>div.textWrapper.sc-z-input>div.sc-z-input>div.textareaWrapper.sc-z-input>textarea.sc-z-input{min-height:132px;width:100%;margin:0;padding:0;resize:none;scrollbar-width:thin;scrollbar-color:var(--myz-blue) var(--bg-grey-200);border-color:transparent}.sc-z-input-h>div.textWrapper.sc-z-input>div.sc-z-input>div.textareaWrapper.sc-z-input>textarea.sc-z-input:hover{border-color:transparent !important}.sc-z-input-h>div.textWrapper.sc-z-input>div.sc-z-input>div.textareaWrapper.sc-z-input>textarea.filled.sc-z-input,.sc-z-input-h>div.textWrapper.sc-z-input>div.sc-z-input>div.textareaWrapper.sc-z-input>textarea.input_success.sc-z-input,.sc-z-input-h>div.textWrapper.sc-z-input>div.sc-z-input>div.textareaWrapper.sc-z-input>textarea.input_warning.sc-z-input,.sc-z-input-h>div.textWrapper.sc-z-input>div.sc-z-input>div.textareaWrapper.sc-z-input>textarea.input_error.sc-z-input{border:none}.sc-z-input-h>div.textWrapper.sc-z-input>div.sc-z-input>div.textareaWrapper.input_success.disabled.sc-z-input,.sc-z-input-h>div.textWrapper.sc-z-input>div.sc-z-input>div.textareaWrapper.input_warning.disabled.sc-z-input,.sc-z-input-h>div.textWrapper.sc-z-input>div.sc-z-input>div.textareaWrapper.input_error.disabled.sc-z-input{background:var(--bg-white) !important;border-color:var(--bg-grey-200) !important}.sc-z-input-h>div.textWrapper.sc-z-input>div.sc-z-input>div.textareaWrapper.sc-z-input>textarea.istyping.sc-z-input{color:var(--myz-blue)}.sc-z-input::-webkit-scrollbar{background:linear-gradient(\n 90deg,\n var(--bg-white) 2px,\n var(--bg-grey-200) 4px,\n var(--bg-white) 8px\n );border-radius:var(--border-radius);width:10px;margin-right:20px;padding-right:20px}.sc-z-input::-webkit-scrollbar-thumb{background-color:var(--myz-blue);border-radius:var(--border-radius);width:10px;margin-right:20px;padding:20px}.sc-z-input-h>.checkboxWrapper.sc-z-input{display:inline-block;font-family:var(--dashboard-font);font-weight:var(--font-rg);font-size:inherit;position:relative}.sc-z-input-h>.checkboxWrapper.sc-z-input>input[type=\"checkbox\"].sc-z-input{opacity:0;position:absolute;z-index:0}.sc-z-input-h label.sc-z-input{display:block}.sc-z-input-h label.disabledLabel.sc-z-input{color:var(--text-grey-700)}.sc-z-input-h>.checkboxWrapper.sc-z-input>label.checkboxLabel.sc-z-input{display:inline-flex;line-height:16px;color:inherit;font-family:inherit;font-weight:inherit;font-size:inherit;text-transform:inherit;margin:0}.sc-z-input-h>.checkboxWrapper.sc-z-input>label.checkboxLabel.after.sc-z-input{flex-direction:row}.sc-z-input-h>.checkboxWrapper.sc-z-input>label.checkboxLabel.before.sc-z-input{flex-direction:row-reverse}.sc-z-input-h>.checkboxWrapper.sc-z-input>label.checkboxLabel.after.sc-z-input>span.sc-z-input{margin-left:var(--space-unit)}.sc-z-input-h>.checkboxWrapper.sc-z-input>label.checkboxLabel.before.sc-z-input>span.sc-z-input{margin-right:var(--space-unit)}.sc-z-input-h>.checkboxWrapper.sc-z-input>label.checkboxLabel.sc-z-input>z-icon.sc-z-input{fill:var(--myz-blue);height:18px;width:18px}.sc-z-input-h>.checkboxWrapper.sc-z-input>input[type=\"checkbox\"].sc-z-input:focus+label.checkboxLabel.sc-z-input>z-icon.sc-z-input{box-shadow:0 0 2px 2px var(--accent-dark);border-radius:2px}.sc-z-input-h>.checkboxWrapper.sc-z-input>input[type=\"checkbox\"].sc-z-input:disabled+label.checkboxLabel.sc-z-input>z-icon.sc-z-input{fill:var(--bg-grey-700);cursor:default}.sc-z-input-h>.checkboxWrapper.sc-z-input>input[type=\"checkbox\"][readonly].sc-z-input+label.checkboxLabel.sc-z-input>z-icon.sc-z-input{fill:var(--bg-grey-800);pointer-events:none;cursor:default}.sc-z-input-h>.radioWrapper.sc-z-input{display:inline-block;font-family:var(--dashboard-font);font-weight:var(--font-rg);font-size:inherit;position:relative}.sc-z-input-h>.radioWrapper.sc-z-input>input[type=\"radio\"].sc-z-input{opacity:0;position:absolute;z-index:0}.sc-z-input-h label.sc-z-input{display:block}.sc-z-input-h label.disabledLabel.sc-z-input{color:var(--text-grey-700)}.sc-z-input-h>.radioWrapper.sc-z-input>label.radioLabel.sc-z-input{display:inline-flex;line-height:16px;color:inherit;font-family:inherit;font-weight:inherit;font-size:inherit;text-transform:inherit;margin:0}.sc-z-input-h>.radioWrapper.sc-z-input>label.radioLabel.after.sc-z-input{flex-direction:row}.sc-z-input-h>.radioWrapper.sc-z-input>label.radioLabel.before.sc-z-input{flex-direction:row-reverse}.sc-z-input-h>.radioWrapper.sc-z-input>label.radioLabel.after.sc-z-input>span.sc-z-input{margin-left:var(--space-unit)}.sc-z-input-h>.radioWrapper.sc-z-input>label.radioLabel.before.sc-z-input>span.sc-z-input{margin-right:var(--space-unit)}.sc-z-input-h>.radioWrapper.sc-z-input>label.radioLabel.sc-z-input>z-icon.sc-z-input{fill:var(--myz-blue);height:18px;width:18px}.sc-z-input-h>.radioWrapper.sc-z-input>input[type=\"radio\"].sc-z-input:focus+label.radioLabel.sc-z-input>z-icon.sc-z-input{box-shadow:0 0 2px 2px var(--accent-dark);border-radius:50%}.sc-z-input-h>.radioWrapper.sc-z-input>input[type=\"radio\"].sc-z-input:disabled+label.radioLabel.sc-z-input>z-icon.sc-z-input{fill:var(--bg-grey-700);cursor:default}.sc-z-input-h>.radioWrapper.sc-z-input>input[type=\"radio\"][readonly].sc-z-input+label.radioLabel.sc-z-input>z-icon.sc-z-input{fill:var(--bg-grey-800);pointer-events:none;cursor:default}";
|
|
2204
2244
|
|
|
2205
2245
|
const ZInput = class {
|
|
2206
2246
|
constructor(hostRef) {
|
|
@@ -2209,8 +2249,9 @@ const ZInput = class {
|
|
|
2209
2249
|
this.startTyping = index.createEvent(this, "startTyping", 7);
|
|
2210
2250
|
this.stopTyping = index.createEvent(this, "stopTyping", 7);
|
|
2211
2251
|
this.inputCheck = index.createEvent(this, "inputCheck", 7);
|
|
2252
|
+
this.optionSelect = index.createEvent(this, "optionSelect", 7);
|
|
2212
2253
|
/** the id of the input element */
|
|
2213
|
-
this.htmlid =
|
|
2254
|
+
this.htmlid = utils.randomId();
|
|
2214
2255
|
/** the input is disabled */
|
|
2215
2256
|
this.disabled = false;
|
|
2216
2257
|
/** the input is readonly */
|
|
@@ -2219,15 +2260,20 @@ const ZInput = class {
|
|
|
2219
2260
|
this.required = false;
|
|
2220
2261
|
/** checked: available for checkbox, radio */
|
|
2221
2262
|
this.checked = false;
|
|
2222
|
-
/** input helper message (optional): available for text, password, number, email, textarea
|
|
2223
|
-
this.
|
|
2263
|
+
/** show input helper message (optional): available for text, password, number, email, textarea, select */
|
|
2264
|
+
this.hasmessage = true;
|
|
2224
2265
|
/** the input label position: available for checkbox, radio */
|
|
2225
|
-
this.
|
|
2266
|
+
this.labelafter = true;
|
|
2267
|
+
/** timeout setting before trigger `inputChange` event (optional): available for text, textarea */
|
|
2268
|
+
this.typingtimeout = 300;
|
|
2269
|
+
/** multiple options can be selected (optional): available for select */
|
|
2270
|
+
this.multiple = false;
|
|
2226
2271
|
/** render clear icon when typing (optional): available for text */
|
|
2227
2272
|
this.hasclearicon = true;
|
|
2228
2273
|
this.isTyping = false;
|
|
2274
|
+
this.textareaWrapperHover = "";
|
|
2275
|
+
this.textareaWrapperFocus = "";
|
|
2229
2276
|
this.passwordHidden = true;
|
|
2230
|
-
this.typingtimeout = 300;
|
|
2231
2277
|
}
|
|
2232
2278
|
inputCheckListener(e) {
|
|
2233
2279
|
const data = e.detail;
|
|
@@ -2242,6 +2288,27 @@ const ZInput = class {
|
|
|
2242
2288
|
return;
|
|
2243
2289
|
}
|
|
2244
2290
|
}
|
|
2291
|
+
/** get the input value */
|
|
2292
|
+
async getValue() {
|
|
2293
|
+
switch (this.type) {
|
|
2294
|
+
case index$1.InputTypeEnum.select:
|
|
2295
|
+
return this.selectElem.getValue();
|
|
2296
|
+
default:
|
|
2297
|
+
return this.value;
|
|
2298
|
+
}
|
|
2299
|
+
}
|
|
2300
|
+
/** set the input value */
|
|
2301
|
+
async setValue(value) {
|
|
2302
|
+
switch (this.type) {
|
|
2303
|
+
case index$1.InputTypeEnum.select:
|
|
2304
|
+
this.selectElem.setValue(value);
|
|
2305
|
+
break;
|
|
2306
|
+
default:
|
|
2307
|
+
if (typeof value === "string")
|
|
2308
|
+
this.value = value;
|
|
2309
|
+
break;
|
|
2310
|
+
}
|
|
2311
|
+
}
|
|
2245
2312
|
/** get checked status */
|
|
2246
2313
|
async isChecked() {
|
|
2247
2314
|
switch (this.type) {
|
|
@@ -2249,13 +2316,13 @@ const ZInput = class {
|
|
|
2249
2316
|
case index$1.InputTypeEnum.radio:
|
|
2250
2317
|
return this.checked;
|
|
2251
2318
|
default:
|
|
2252
|
-
console.warn("`isChecked` method is only available for type `checkbox` and `radio`");
|
|
2253
2319
|
return false;
|
|
2254
2320
|
}
|
|
2255
2321
|
}
|
|
2256
|
-
emitInputChange(value) {
|
|
2257
|
-
if (!this.isTyping)
|
|
2322
|
+
emitInputChange(value, keycode) {
|
|
2323
|
+
if (!this.isTyping) {
|
|
2258
2324
|
this.emitStartTyping();
|
|
2325
|
+
}
|
|
2259
2326
|
let validity = {};
|
|
2260
2327
|
if (this.type === index$1.InputTypeEnum.textarea) {
|
|
2261
2328
|
validity = this.getValidity("textarea");
|
|
@@ -2264,7 +2331,7 @@ const ZInput = class {
|
|
|
2264
2331
|
validity = this.getValidity("input");
|
|
2265
2332
|
}
|
|
2266
2333
|
this.value = value;
|
|
2267
|
-
this.inputChange.emit({ value, validity });
|
|
2334
|
+
this.inputChange.emit({ value, keycode, validity });
|
|
2268
2335
|
clearTimeout(this.timer);
|
|
2269
2336
|
this.timer = setTimeout(() => {
|
|
2270
2337
|
this.emitStopTyping(this.value, validity);
|
|
@@ -2297,7 +2364,7 @@ const ZInput = class {
|
|
|
2297
2364
|
}
|
|
2298
2365
|
/* START text/password/email/number */
|
|
2299
2366
|
getTextAttributes() {
|
|
2300
|
-
|
|
2367
|
+
const attr = {
|
|
2301
2368
|
id: this.htmlid,
|
|
2302
2369
|
name: this.name,
|
|
2303
2370
|
placeholder: this.placeholder,
|
|
@@ -2306,33 +2373,34 @@ const ZInput = class {
|
|
|
2306
2373
|
readonly: this.readonly,
|
|
2307
2374
|
required: this.required,
|
|
2308
2375
|
title: this.htmltitle,
|
|
2309
|
-
class:
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
onInput: (e) => this.emitInputChange(e.target.value),
|
|
2376
|
+
class: `
|
|
2377
|
+
${this.status ? "input_" + this.status : "input_default"}
|
|
2378
|
+
${this.isTyping && "istyping"}
|
|
2379
|
+
${!this.isTyping && this.value && "filled"}
|
|
2380
|
+
`,
|
|
2381
|
+
onInput: (e) => this.emitInputChange(e.target.value, e.keyCode),
|
|
2315
2382
|
};
|
|
2383
|
+
if (this.autocomplete)
|
|
2384
|
+
attr["autocomplete"] = this.autocomplete;
|
|
2385
|
+
return attr;
|
|
2316
2386
|
}
|
|
2317
2387
|
renderInputText(type = index$1.InputTypeEnum.text) {
|
|
2318
2388
|
const attr = this.getTextAttributes();
|
|
2319
|
-
if (this.icon || type === index$1.InputTypeEnum.password)
|
|
2320
|
-
attr.class =
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
attr.class = Object.assign(Object.assign({}, attr.class), { hasClearIcon: true });
|
|
2324
|
-
}
|
|
2389
|
+
if (this.icon || type === index$1.InputTypeEnum.password)
|
|
2390
|
+
attr.class = attr.class + " hasIcon";
|
|
2391
|
+
if (this.hasclearicon)
|
|
2392
|
+
attr.class = attr.class + " hasClearIcon";
|
|
2325
2393
|
return (index.h("div", { class: "textWrapper" }, this.renderLabel(), index.h("div", null, index.h("input", Object.assign({ type: type === index$1.InputTypeEnum.password && !this.passwordHidden
|
|
2326
2394
|
? index$1.InputTypeEnum.text
|
|
2327
|
-
: type }, attr, { "aria-
|
|
2395
|
+
: type }, attr, { "aria-labelledby": `${this.htmlid}_label` })), this.renderIcons()), this.renderMessage()));
|
|
2328
2396
|
}
|
|
2329
2397
|
renderLabel() {
|
|
2330
2398
|
if (!this.label)
|
|
2331
2399
|
return;
|
|
2332
|
-
return (index.h("label", {
|
|
2400
|
+
return (index.h("z-input-label", { value: this.label, disabled: this.disabled, "aria-label": this.label, id: `${this.htmlid}_label` }));
|
|
2333
2401
|
}
|
|
2334
2402
|
renderIcons() {
|
|
2335
|
-
return (index.h("span", { class:
|
|
2403
|
+
return (index.h("span", { class: `iconsWrapper ${this.disabled ? "disabled" : ""}` }, this.renderResetIcon(), this.renderIcon()));
|
|
2336
2404
|
}
|
|
2337
2405
|
renderIcon() {
|
|
2338
2406
|
if (this.type === index$1.InputTypeEnum.password) {
|
|
@@ -2340,67 +2408,108 @@ const ZInput = class {
|
|
|
2340
2408
|
}
|
|
2341
2409
|
if (!this.icon)
|
|
2342
2410
|
return;
|
|
2343
|
-
return
|
|
2411
|
+
return index.h("z-icon", { class: "inputIcon", name: this.icon });
|
|
2344
2412
|
}
|
|
2345
2413
|
renderResetIcon() {
|
|
2346
2414
|
if (!this.hasclearicon || !this.value || this.disabled || this.readonly)
|
|
2347
2415
|
return;
|
|
2348
|
-
return (index.h("
|
|
2416
|
+
return (index.h("z-icon", { class: "resetIcon", name: "multiply", onClick: (e) => this.emitInputChange("", e.keyCode) }));
|
|
2349
2417
|
}
|
|
2350
2418
|
renderShowHidePassword() {
|
|
2351
|
-
return (index.h("
|
|
2419
|
+
return (index.h("z-icon", { class: "inputIcon", name: this.passwordHidden ? "view" : "view-off", onClick: () => (this.passwordHidden = !this.passwordHidden) }));
|
|
2352
2420
|
}
|
|
2353
2421
|
renderMessage() {
|
|
2354
|
-
if (
|
|
2422
|
+
if (!this.hasmessage)
|
|
2355
2423
|
return;
|
|
2356
|
-
return
|
|
2424
|
+
return index.h("z-input-message", { message: this.message, status: this.status });
|
|
2357
2425
|
}
|
|
2358
2426
|
/* END text/password/email/number */
|
|
2359
2427
|
/* START textarea */
|
|
2360
2428
|
renderTextarea() {
|
|
2429
|
+
return (index.h("div", { class: "textWrapper" }, this.renderLabel(), index.h("div", null, this.renderTextareaBody()), this.renderMessage()));
|
|
2430
|
+
}
|
|
2431
|
+
renderTextareaBody() {
|
|
2361
2432
|
const attributes = this.getTextAttributes();
|
|
2362
|
-
return (index.h("div", { class:
|
|
2433
|
+
return (index.h("div", { class: `
|
|
2434
|
+
textareaWrapper
|
|
2435
|
+
${attributes.class}
|
|
2436
|
+
${attributes.disabled && " disabled"}
|
|
2437
|
+
${attributes.readonly && " readonly"}
|
|
2438
|
+
${this.isTyping && " istyping"}
|
|
2439
|
+
${this.textareaWrapperFocus}
|
|
2440
|
+
${this.textareaWrapperHover}
|
|
2441
|
+
` }, index.h("textarea", Object.assign({}, attributes, this.getTextareaExtraAttributes()))));
|
|
2442
|
+
}
|
|
2443
|
+
getTextareaExtraAttributes() {
|
|
2444
|
+
return {
|
|
2445
|
+
onFocus: () => (this.textareaWrapperFocus = "focus"),
|
|
2446
|
+
onBlur: () => (this.textareaWrapperFocus = ""),
|
|
2447
|
+
onMouseOver: () => (this.textareaWrapperHover = "hover"),
|
|
2448
|
+
onMouseOut: () => (this.textareaWrapperHover = ""),
|
|
2449
|
+
};
|
|
2363
2450
|
}
|
|
2364
2451
|
/* END textarea */
|
|
2365
|
-
|
|
2366
|
-
|
|
2452
|
+
/* START checkbox */
|
|
2453
|
+
handleCheckboxChange() {
|
|
2454
|
+
this.checked = !this.checked;
|
|
2367
2455
|
this.emitInputCheck(this.checked);
|
|
2368
2456
|
}
|
|
2369
|
-
/* START checkbox */
|
|
2370
2457
|
renderCheckbox() {
|
|
2371
|
-
return (index.h("div", { class: "checkboxWrapper" }, index.h("input", { id: this.htmlid, type: "checkbox", name: this.name, checked: this.checked, disabled: this.disabled, readonly: this.readonly, required: this.required, onChange: this.
|
|
2372
|
-
checkboxLabel: true,
|
|
2373
|
-
after: this.labelPosition === index$1.LabelPositions.right,
|
|
2374
|
-
before: this.labelPosition === index$1.LabelPositions.left,
|
|
2375
|
-
} }, index.h("z-icon", { name: this.checked ? "checkbox-checked" : "checkbox", "aria-hidden": "true" }), this.label && index.h("span", { innerHTML: this.label }))));
|
|
2458
|
+
return (index.h("div", { class: "checkboxWrapper" }, index.h("input", { id: this.htmlid, type: "checkbox", name: this.name, checked: this.checked, disabled: this.disabled, readonly: this.readonly, required: this.required, onChange: () => this.handleCheckboxChange(), value: this.value }), index.h("label", { htmlFor: this.htmlid, class: `checkboxLabel ${this.labelafter ? "after" : "before"}` }, index.h("z-icon", { name: this.checked ? "checkbox-checked" : "checkbox", "aria-hidden": true }), this.label && index.h("span", { innerHTML: this.label }))));
|
|
2376
2459
|
}
|
|
2377
2460
|
/* END checkbox */
|
|
2378
2461
|
/* START radio */
|
|
2462
|
+
handleRadioChange() {
|
|
2463
|
+
this.checked = true;
|
|
2464
|
+
this.emitInputCheck(this.checked);
|
|
2465
|
+
}
|
|
2379
2466
|
renderRadio() {
|
|
2380
|
-
return (index.h("div", { class: "radioWrapper" }, index.h("input", { id: this.htmlid, type: "radio", name: this.name, checked: this.checked, disabled: this.disabled, readonly: this.readonly, onChange: this.
|
|
2381
|
-
radioLabel: true,
|
|
2382
|
-
after: this.labelPosition === index$1.LabelPositions.right,
|
|
2383
|
-
before: this.labelPosition === index$1.LabelPositions.left,
|
|
2384
|
-
} }, index.h("z-icon", { name: this.checked ? "radio-button-checked" : "radio-button", "aria-hidden": "true" }), this.label && index.h("span", { innerHTML: this.label }))));
|
|
2467
|
+
return (index.h("div", { class: "radioWrapper" }, index.h("input", { id: this.htmlid, type: "radio", name: this.name, checked: this.checked, disabled: this.disabled, readonly: this.readonly, onChange: () => this.handleRadioChange(), value: this.value }), index.h("label", { htmlFor: this.htmlid, class: `radioLabel ${this.labelafter ? "after" : "before"}` }, index.h("z-icon", { name: this.checked ? "radio-button-checked" : "radio-button", "aria-hidden": true }), this.label && index.h("span", { innerHTML: this.label }))));
|
|
2385
2468
|
}
|
|
2386
2469
|
/* END radio */
|
|
2470
|
+
/* START select */
|
|
2471
|
+
renderSelect() {
|
|
2472
|
+
return (index.h("z-select", { htmlid: this.htmlid, items: this.items, name: this.name, label: this.label, disabled: this.disabled, readonly: this.readonly, placeholder: this.placeholder, htmltitle: this.htmltitle, status: this.status, hasmessage: this.hasmessage, message: this.message, autocomplete: this.autocomplete, multiple: this.multiple, ref: (el) => (this.selectElem = el) }));
|
|
2473
|
+
}
|
|
2474
|
+
/* END select */
|
|
2387
2475
|
render() {
|
|
2388
2476
|
switch (this.type) {
|
|
2477
|
+
case index$1.InputTypeEnum.text:
|
|
2478
|
+
case index$1.InputTypeEnum.password:
|
|
2479
|
+
case index$1.InputTypeEnum.number:
|
|
2480
|
+
case index$1.InputTypeEnum.email:
|
|
2481
|
+
return this.renderInputText(this.type);
|
|
2389
2482
|
case index$1.InputTypeEnum.textarea:
|
|
2390
2483
|
return this.renderTextarea();
|
|
2391
2484
|
case index$1.InputTypeEnum.checkbox:
|
|
2392
2485
|
return this.renderCheckbox();
|
|
2393
2486
|
case index$1.InputTypeEnum.radio:
|
|
2394
2487
|
return this.renderRadio();
|
|
2488
|
+
case index$1.InputTypeEnum.select:
|
|
2489
|
+
return this.renderSelect();
|
|
2395
2490
|
default:
|
|
2396
|
-
return this.renderInputText(
|
|
2491
|
+
return this.renderInputText();
|
|
2397
2492
|
}
|
|
2398
2493
|
}
|
|
2399
2494
|
get hostElement() { return index.getElement(this); }
|
|
2400
2495
|
};
|
|
2401
|
-
ZInput.style = stylesCss$
|
|
2496
|
+
ZInput.style = stylesCss$6;
|
|
2497
|
+
|
|
2498
|
+
const stylesCss$5 = ":host>label{display:block;color:var(--text-grey-800);font-family:var(--dashboard-font);font-weight:var(--font-sb);font-size:12px;line-height:16px;text-transform:uppercase;text-align:left;margin:var(--space-unit) 0}:host>label.disabled{color:var(--text-grey-700)}";
|
|
2499
|
+
|
|
2500
|
+
const ZInputLabel = class {
|
|
2501
|
+
constructor(hostRef) {
|
|
2502
|
+
index.registerInstance(this, hostRef);
|
|
2503
|
+
/** the label is disabled */
|
|
2504
|
+
this.disabled = false;
|
|
2505
|
+
}
|
|
2506
|
+
render() {
|
|
2507
|
+
return index.h("label", { class: this.disabled ? "disabled" : "" }, this.value);
|
|
2508
|
+
}
|
|
2509
|
+
};
|
|
2510
|
+
ZInputLabel.style = stylesCss$5;
|
|
2402
2511
|
|
|
2403
|
-
const stylesCss$
|
|
2512
|
+
const stylesCss$4 = ":host span.statusMsg{font-family:var(--dashboard-font);font-weight:var(--font-rg);font-size:14px;line-height:16px;min-height:16px;color:var(--text-grey-700);fill:var(--text-grey-700);margin-top:var(--space-unit);display:flex}:host span.statusMsg.msg_success{color:var(--status-success-green);fill:var(--status-success-green)}:host span.statusMsg.msg_error{color:var(--status-error-red);fill:var(--status-error-red)}:host span.statusMsg.msg_warning{color:var(--status-warning-yellow-dark);fill:var(--status-warning-yellow-dark)}:host span.statusMsg>z-icon{margin-right:var(--space-unit);margin-top:1px}";
|
|
2404
2513
|
|
|
2405
2514
|
const ZInputMessage = class {
|
|
2406
2515
|
constructor(hostRef) {
|
|
@@ -2408,16 +2517,19 @@ const ZInputMessage = class {
|
|
|
2408
2517
|
this.statusIcons = {
|
|
2409
2518
|
success: "checkmark-circle",
|
|
2410
2519
|
error: "multiply-circled",
|
|
2411
|
-
warning: "exclamation-circle"
|
|
2520
|
+
warning: "exclamation-circle"
|
|
2412
2521
|
};
|
|
2413
2522
|
}
|
|
2523
|
+
renderMsgClassName() {
|
|
2524
|
+
return this.status ? `msg_${this.status}` : '';
|
|
2525
|
+
}
|
|
2414
2526
|
render() {
|
|
2415
|
-
return (index.h(
|
|
2527
|
+
return (index.h("span", { class: `statusMsg ${this.renderMsgClassName()}` }, this.status && this.statusIcons[this.status] && this.message ? (index.h("z-icon", { name: this.statusIcons[this.status], width: 14, height: 14 })) : null, index.h("span", { innerHTML: this.message })));
|
|
2416
2528
|
}
|
|
2417
2529
|
};
|
|
2418
|
-
ZInputMessage.style = stylesCss$
|
|
2530
|
+
ZInputMessage.style = stylesCss$4;
|
|
2419
2531
|
|
|
2420
|
-
const stylesCss$
|
|
2532
|
+
const stylesCss$3 = ":host{font-family:var(--dashboard-font);font-weight:inherit;font-size:inherit;line-height:inherit;outline:none}a{cursor:pointer;color:var(--myz-blue);fill:var(--myz-blue);display:inline-flex;align-items:center;text-decoration:none;padding:calc(var(--space-unit) * .5) 0;border-top:var(--border-size-medium) solid transparent;border-bottom:var(--border-size-medium) solid transparent}a:hover{color:var(--myz-blue-dark);fill:var(--myz-blue-dark);text-decoration:none}a.disabled{cursor:default;pointer-events:none}a.disabled,a.disabled:active,a.disabled:visited,a.disabled:hover{color:var(--bg-neutral-200);fill:var(--bg-neutral-200);text-decoration:none}a.black,a.black:active,a.black:visited,a.black:hover{color:var(--bg-grey-900);fill:var(--bg-grey-900);text-decoration:none}a.white,a.white:active,a.white:visited,a.white:hover{color:var(--bg-white);fill:var(--bg-white);text-decoration:none}a.active,a.active:active,a.active:visited{color:var(--text-grey-800);fill:var(--text-grey-800);text-decoration:none;border-bottom:var(--border-size-medium) solid var(--myz-blue)}a.big{font-size:16px;font-weight:600}a>z-icon{margin-right:8px}";
|
|
2421
2533
|
|
|
2422
2534
|
const ZLink = class {
|
|
2423
2535
|
constructor(hostRef) {
|
|
@@ -2434,23 +2546,15 @@ const ZLink = class {
|
|
|
2434
2546
|
/** white variant flag (optional) */
|
|
2435
2547
|
this.iswhite = false;
|
|
2436
2548
|
/** link text variant (optional) */
|
|
2437
|
-
this.textcolor =
|
|
2549
|
+
this.textcolor = 'blue';
|
|
2438
2550
|
/** big link version */
|
|
2439
2551
|
this.big = false;
|
|
2440
|
-
/** link icon position (optional) */
|
|
2441
|
-
this.iconposition = "left";
|
|
2442
|
-
/** draw underline on text (optional) */
|
|
2443
|
-
this.underline = false;
|
|
2444
|
-
this.iconSize = 18;
|
|
2445
2552
|
this.emitZLinkClick = this.emitZLinkClick.bind(this);
|
|
2446
2553
|
this.emitZLinkInteraction = this.emitZLinkInteraction.bind(this);
|
|
2447
2554
|
}
|
|
2448
2555
|
componentWillRender() {
|
|
2449
2556
|
if (this.iswhite) {
|
|
2450
|
-
console.warn(
|
|
2451
|
-
}
|
|
2452
|
-
if (this.big) {
|
|
2453
|
-
console.warn("z-link big prop is deprecated and will be dropped in a next release, please override --font-size-link and --font-weight-link variables instead");
|
|
2557
|
+
console.warn('z-link iswhite prop is deprecated and will be dropped in a next release, please use textcolor prop instead');
|
|
2454
2558
|
}
|
|
2455
2559
|
}
|
|
2456
2560
|
emitZLinkClick(e, linkId) {
|
|
@@ -2459,38 +2563,25 @@ const ZLink = class {
|
|
|
2459
2563
|
emitZLinkInteraction(e, linkId) {
|
|
2460
2564
|
this.zLinkClick.emit({ e, linkId });
|
|
2461
2565
|
}
|
|
2462
|
-
componentDidRender() {
|
|
2463
|
-
if (this.icon) {
|
|
2464
|
-
const height = parseFloat(window.getComputedStyle(this.hostElement).getPropertyValue('font-size'));
|
|
2465
|
-
const currentSize = this.big ? 18 : Math.round(height * 1.125);
|
|
2466
|
-
if (!Number.isNaN(currentSize) && this.iconSize !== currentSize) {
|
|
2467
|
-
this.iconSize = currentSize;
|
|
2468
|
-
}
|
|
2469
|
-
}
|
|
2470
|
-
}
|
|
2471
2566
|
render() {
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
${this.underline ? "underline" : ""}`, target: this.target, role: this.href ? "link" : "button", tabindex: this.isdisabled ? -1 : this.htmltabindex, onClick: (e) => this.emitZLinkClick(e, this.htmlid) }, this.iconposition === "right" && index.h("slot", null), this.icon &&
|
|
2478
|
-
index.h("z-icon", { style: { "--z-icon-width": this.iconSize.toString(), "--z-icon-height": this.iconSize.toString() }, name: this.icon, height: this.iconSize, width: this.iconSize }), this.iconposition === "left" && index.h("slot", null))));
|
|
2567
|
+
return (index.h("a", { id: this.htmlid, href: this.href ? this.href : null, class: `${this.isdisabled && "disabled"}
|
|
2568
|
+
${this.isactive && "active"}
|
|
2569
|
+
${this.textcolor}
|
|
2570
|
+
${this.iswhite && "white"}
|
|
2571
|
+
${this.big && "big"}`, target: this.target, role: this.href ? "link" : "button", tabindex: this.htmltabindex, onClick: (e) => this.emitZLinkClick(e, this.htmlid) }, this.icon && index.h("z-icon", { name: this.icon, width: this.big ? 18 : 12, height: this.big ? 18 : 12 }), index.h("slot", null)));
|
|
2479
2572
|
}
|
|
2480
|
-
get hostElement() { return index.getElement(this); }
|
|
2481
2573
|
};
|
|
2482
|
-
ZLink.style = stylesCss$
|
|
2574
|
+
ZLink.style = stylesCss$3;
|
|
2483
2575
|
|
|
2484
|
-
const stylesCss$
|
|
2576
|
+
const stylesCss$2 = ":host{font-family:var(--dashboard-font);font-weight:var(--font-rg)}:host>div{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0, 0, 0, 0.7);width:100%;height:100%;z-index:1000;overflow:auto;overflow:-moz-scrollbars-none;-ms-overflow-style:none;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center}:host>div::-webkit-scrollbar{width:0 !important}:host>div>div{z-index:1010;width:100%;margin:0;background:var(--bg-white)}:host>div>div>header{display:flex;flex-wrap:nowrap;flex-direction:row;justify-content:space-between;align-items:stretch;align-content:space-between;background:var(--bg-grey-050)}:host>div>div>header>z-icon{cursor:pointer;fill:var(--myz-blue);margin:calc(var(--space-unit) * 2) calc(var(--space-unit) * 2);transform:scale(0.9)}:host>div>div>header>div{margin:calc(var(--space-unit) * 2) calc(var(--space-unit) * 2)}:host>div>div>header>div>h1,:host>div>div>header>div>h2{font-family:var(--dashboard-font);font-weight:var(--font-rg);color:var(--text-grey-800);margin:0;padding:0}:host>div>div>header>div>h1{font-size:20px;line-height:28px}:host>div>div>header>div>h2{font-size:16px;line-height:24px;margin-top:var(--space-unit)}:host>div>div>main{background:white;overflow:hidden}@media only screen and (min-width: 768px){:host>div>div{width:auto;min-width:300px;min-height:300px;margin-top:calc(var(--space-unit) * 6);background:none}:host>div>div>header{border-radius:var(--border-radius) var(--border-radius) 0 0}:host>div>div>header>z-icon{margin:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 3) calc(var(--space-unit) * 1.5) 0px;transform:scale(1)}:host>div>div>header>div{margin:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 3)}:host>div>div>main{border-radius:0 0 var(--border-radius) var(--border-radius)}:host>div>div>div.bottomBackground{background:transparent;height:calc(var(--space-unit) * 4)}}";
|
|
2485
2577
|
|
|
2486
2578
|
const ZModal = class {
|
|
2487
2579
|
constructor(hostRef) {
|
|
2488
2580
|
index.registerInstance(this, hostRef);
|
|
2489
2581
|
this.modalClose = index.createEvent(this, "modalClose", 7);
|
|
2490
2582
|
this.modalHeaderActive = index.createEvent(this, "modalHeaderActive", 7);
|
|
2491
|
-
this.
|
|
2492
|
-
|
|
2493
|
-
this.closeButtonLabel = "close modal";
|
|
2583
|
+
this.emitModalClose = this.emitModalClose.bind(this);
|
|
2584
|
+
this.emitModalHeaderActive = this.emitModalHeaderActive.bind(this);
|
|
2494
2585
|
}
|
|
2495
2586
|
emitModalClose() {
|
|
2496
2587
|
this.modalClose.emit({ modalid: this.modalid });
|
|
@@ -2498,19 +2589,287 @@ const ZModal = class {
|
|
|
2498
2589
|
emitModalHeaderActive() {
|
|
2499
2590
|
this.modalHeaderActive.emit({ modalid: this.modalid });
|
|
2500
2591
|
}
|
|
2501
|
-
|
|
2502
|
-
this.
|
|
2592
|
+
render() {
|
|
2593
|
+
return (index.h("div", { "data-action": "modalBackground", "data-modal": this.modalid }, index.h("div", { id: this.modalid }, index.h("header", { onClick: this.emitModalHeaderActive }, index.h("div", null, this.modaltitle && index.h("h1", null, this.modaltitle), this.modalsubtitle && index.h("h2", null, this.modalsubtitle)), index.h("z-icon", { name: "multiply-circle-filled", width: 24, height: 24, onClick: () => this.emitModalClose(), "data-action": "modalClose", "data-modal": this.modalid, onKeyPress: (ev) => utils.handleKeyboardSubmit(ev, this.emitModalClose), tabindex: "0" })), index.h("main", null, index.h("slot", { name: "modalContent" })), index.h("div", { class: "bottomBackground", "data-action": "modalBackground", "data-modal": this.modalid }))));
|
|
2594
|
+
}
|
|
2595
|
+
};
|
|
2596
|
+
ZModal.style = stylesCss$2;
|
|
2597
|
+
|
|
2598
|
+
const stylesCss$1 = ":host{display:inline-block;width:inherit}:host ul[role=\"listbox\"]{background:var(--bg-white);border-radius:0px;border:var(--border-size-small) solid var(--bg-grey-200);border-color:var(--bg-grey-200);box-sizing:border-box;color:var(--text-grey-800);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-weight:var(--font-rg);font-size:16px;outline:none}:host .filled{border-color:var(--text-grey-800) !important}:host li[role=\"option\"]:focus{border-color:transparent;box-shadow:0 0 2px 2px var(--accent-dark);outline:none}:host>div.selectWrapper>z-input{width:100%}:host>div.selectWrapper>div{position:relative}:host>div.selectWrapper>div.closed{height:0px;overflow:hidden}:host>div.selectWrapper>div>div.ulScrollWrapper{background:var(--bg-white);position:absolute;padding:calc(var(--space-unit) * .5) var(--space-unit);border:var(--border-size-small) solid var(--bg-grey-200);border-top:none;width:100%;box-sizing:border-box}:host>div.selectWrapper>div.closed>div.ulScrollWrapper{z-index:10}:host>div.selectWrapper>div.open>div.ulScrollWrapper{z-index:20}:host>div.selectWrapper>div>div.ulScrollWrapper>ul{list-style:none;margin:0;padding:0;border:0px;max-height:240px;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--myz-blue) var(--bg-grey-200);position:relative}:host>div.selectWrapper>div>div.ulScrollWrapper>ul::-webkit-scrollbar{background:linear-gradient(\n 90deg,\n var(--bg-white) 2px,\n var(--bg-grey-200) 4px,\n var(--bg-white) 8px\n );border-radius:var(--border-radius);width:10px}:host>div.selectWrapper>div>div.ulScrollWrapper>ul::-webkit-scrollbar-thumb{background-color:var(--myz-blue);border-radius:var(--border-radius);width:10px}:host>div.selectWrapper>div>div.ulScrollWrapper>ul>li{display:flex;align-items:center;box-sizing:border-box;min-height:44px;padding:calc(var(--space-unit) * 1.5);text-align:left;cursor:pointer;border-bottom:var(--border-size-small) solid var(--bg-grey-200)}:host>div.selectWrapper>div>div.ulScrollWrapper>ul>li:hover{color:var(--myz-blue-dark);background:var(--bg-grey-050)}:host>div.selectWrapper>div>div.ulScrollWrapper>ul>li:focus{margin:2px}:host>div.selectWrapper>div>div.ulScrollWrapper>ul>li[aria-selected=\"\"]{font-weight:var(--font-sb)}:host>div.selectWrapper>div>div.ulScrollWrapper>ul>li.disabled{color:var(--text-grey-700);cursor:default;pointer-events:none}:host>div.selectWrapper>div>div.ulScrollWrapper>ul>li.noResults{color:var(--myz-blue);fill:var(--myz-blue)}:host>div.selectWrapper>div>div.ulScrollWrapper>ul>li.noResults>z-icon{margin-right:var(--space-unit)}:host>div.selectWrapper>div.chipsWrapper{padding-bottom:var(--space-unit)}:host>div.selectWrapper>div.chipsWrapper>z-button-filter{display:inline-block;margin:4px}";
|
|
2599
|
+
|
|
2600
|
+
const ZSelect = class {
|
|
2601
|
+
constructor(hostRef) {
|
|
2602
|
+
index.registerInstance(this, hostRef);
|
|
2603
|
+
this.optionSelect = index.createEvent(this, "optionSelect", 7);
|
|
2604
|
+
/** the id of the input element */
|
|
2605
|
+
this.htmlid = utils.randomId();
|
|
2606
|
+
/** the input is disabled */
|
|
2607
|
+
this.disabled = false;
|
|
2608
|
+
/** the input is readonly */
|
|
2609
|
+
this.readonly = false;
|
|
2610
|
+
/** show input helper message (optional): available for text, password, number, email, textarea, select */
|
|
2611
|
+
this.hasmessage = true;
|
|
2612
|
+
/** the input has autocomplete option */
|
|
2613
|
+
this.autocomplete = false;
|
|
2614
|
+
/** multiple options can be selected */
|
|
2615
|
+
this.multiple = false;
|
|
2616
|
+
/** no result text message */
|
|
2617
|
+
this.noresultslabel = "Nessun risultato";
|
|
2618
|
+
this.isOpen = false;
|
|
2619
|
+
this.itemsList = [];
|
|
2620
|
+
this.toggleSelectUl = this.toggleSelectUl.bind(this);
|
|
2621
|
+
this.selectItem = this.selectItem.bind(this);
|
|
2622
|
+
this.handleSelectFocus = this.handleSelectFocus.bind(this);
|
|
2623
|
+
}
|
|
2624
|
+
watchItems() {
|
|
2625
|
+
this.itemsList = this.getInitialItemsArray();
|
|
2626
|
+
typeof this.items === "string" ? JSON.parse(this.items) : this.items;
|
|
2627
|
+
this.selectedItems = this.itemsList.filter((item) => item.selected);
|
|
2628
|
+
}
|
|
2629
|
+
/** get the input selected options */
|
|
2630
|
+
async getSelectedItems() {
|
|
2631
|
+
return this.selectedItems;
|
|
2632
|
+
}
|
|
2633
|
+
/** get the input value */
|
|
2634
|
+
async getValue() {
|
|
2635
|
+
return this.getSelectedValues();
|
|
2636
|
+
}
|
|
2637
|
+
/** set the input value */
|
|
2638
|
+
async setValue(value) {
|
|
2639
|
+
let values = [];
|
|
2640
|
+
if (typeof value === "string") {
|
|
2641
|
+
values.push(value);
|
|
2642
|
+
}
|
|
2643
|
+
else {
|
|
2644
|
+
values = value;
|
|
2645
|
+
}
|
|
2646
|
+
this.selectedItems = this.itemsList.filter((item) => values.includes(item.id));
|
|
2647
|
+
}
|
|
2648
|
+
emitOptionSelect() {
|
|
2649
|
+
this.optionSelect.emit({
|
|
2650
|
+
id: this.htmlid,
|
|
2651
|
+
selected: this.getSelectedValues(),
|
|
2652
|
+
});
|
|
2653
|
+
}
|
|
2654
|
+
componentWillLoad() {
|
|
2655
|
+
this.watchItems();
|
|
2656
|
+
}
|
|
2657
|
+
componentWillRender() {
|
|
2658
|
+
this.filterItems(this.searchString);
|
|
2659
|
+
}
|
|
2660
|
+
getInitialItemsArray() {
|
|
2661
|
+
return typeof this.items === "string" ? JSON.parse(this.items) : this.items;
|
|
2662
|
+
}
|
|
2663
|
+
mapSelectedItemsToItemsArray() {
|
|
2664
|
+
const initialItemsList = this.getInitialItemsArray();
|
|
2665
|
+
return initialItemsList.map((item) => {
|
|
2666
|
+
const found = this.selectedItems.find((selected) => selected.id === item.id);
|
|
2667
|
+
item.selected = !!found;
|
|
2668
|
+
return item;
|
|
2669
|
+
});
|
|
2670
|
+
}
|
|
2671
|
+
getSelectedValues() {
|
|
2672
|
+
if (this.multiple) {
|
|
2673
|
+
return this.selectedItems.map((item) => item.id);
|
|
2674
|
+
}
|
|
2675
|
+
if (!this.multiple && this.selectedItems.length) {
|
|
2676
|
+
return this.selectedItems[0].id;
|
|
2677
|
+
}
|
|
2678
|
+
return null;
|
|
2679
|
+
}
|
|
2680
|
+
filterItems(searchString) {
|
|
2681
|
+
const prevList = this.mapSelectedItemsToItemsArray();
|
|
2682
|
+
if (!(searchString === null || searchString === void 0 ? void 0 : searchString.length)) {
|
|
2683
|
+
this.itemsList = prevList;
|
|
2684
|
+
}
|
|
2685
|
+
else {
|
|
2686
|
+
this.itemsList = prevList
|
|
2687
|
+
.filter((item) => {
|
|
2688
|
+
return item.name.toUpperCase().includes(searchString.toUpperCase());
|
|
2689
|
+
})
|
|
2690
|
+
.map((item) => {
|
|
2691
|
+
const start = item.name
|
|
2692
|
+
.toUpperCase()
|
|
2693
|
+
.indexOf(searchString.toUpperCase());
|
|
2694
|
+
const end = start + searchString.length;
|
|
2695
|
+
const newName = item.name.substring(0, start) +
|
|
2696
|
+
item.name.substring(start, end).bold() +
|
|
2697
|
+
item.name.substring(end, item.name.length);
|
|
2698
|
+
item.name = newName;
|
|
2699
|
+
return item;
|
|
2700
|
+
});
|
|
2701
|
+
}
|
|
2702
|
+
}
|
|
2703
|
+
hasAutcomplete() {
|
|
2704
|
+
return (this.autocomplete === true ||
|
|
2705
|
+
this.autocomplete === "true" ||
|
|
2706
|
+
this.autocomplete === "on");
|
|
2707
|
+
}
|
|
2708
|
+
handleInputChange(e) {
|
|
2709
|
+
this.searchString = e.detail.value;
|
|
2710
|
+
if (!this.isOpen)
|
|
2711
|
+
this.toggleSelectUl();
|
|
2712
|
+
}
|
|
2713
|
+
selectItem(item, selected) {
|
|
2714
|
+
if (item && item.disabled)
|
|
2715
|
+
return;
|
|
2716
|
+
this.itemsList = this.mapSelectedItemsToItemsArray();
|
|
2717
|
+
this.itemsList = this.itemsList.map((i) => {
|
|
2718
|
+
if (!this.multiple)
|
|
2719
|
+
i.selected = false;
|
|
2720
|
+
if (i.id === (item ? item.id : null))
|
|
2721
|
+
i.selected = selected;
|
|
2722
|
+
return i;
|
|
2723
|
+
});
|
|
2724
|
+
this.selectedItems = this.itemsList.filter((item) => item.selected);
|
|
2725
|
+
this.emitOptionSelect();
|
|
2726
|
+
if (this.searchString)
|
|
2727
|
+
this.searchString = null;
|
|
2728
|
+
}
|
|
2729
|
+
arrowsSelectNav(e, key) {
|
|
2730
|
+
const arrows = [index$1.keybordKeyCodeEnum.ARROW_DOWN, index$1.keybordKeyCodeEnum.ARROW_UP];
|
|
2731
|
+
if (!arrows.includes(e.keyCode))
|
|
2732
|
+
return;
|
|
2733
|
+
e.preventDefault();
|
|
2734
|
+
e.stopPropagation();
|
|
2735
|
+
if (!this.isOpen)
|
|
2736
|
+
this.toggleSelectUl();
|
|
2737
|
+
let index;
|
|
2738
|
+
if (e.keyCode === index$1.keybordKeyCodeEnum.ARROW_DOWN) {
|
|
2739
|
+
index = key + 1 === this.itemsList.length ? 0 : key + 1;
|
|
2740
|
+
}
|
|
2741
|
+
else if (e.keyCode === index$1.keybordKeyCodeEnum.ARROW_UP) {
|
|
2742
|
+
index = key <= 0 ? this.itemsList.length - 1 : key - 1;
|
|
2743
|
+
}
|
|
2744
|
+
this.focusSelectItem(index);
|
|
2745
|
+
}
|
|
2746
|
+
focusSelectItem(index) {
|
|
2747
|
+
const focusElem = this.hostElement.shadowRoot.getElementById(`${this.htmlid}_${index}`);
|
|
2748
|
+
if (focusElem)
|
|
2749
|
+
focusElem.focus();
|
|
2750
|
+
}
|
|
2751
|
+
toggleSelectUl(selfFocusOnClose = false) {
|
|
2752
|
+
if (this.disabled || this.readonly)
|
|
2753
|
+
return;
|
|
2754
|
+
if (!this.isOpen) {
|
|
2755
|
+
document.addEventListener("click", this.handleSelectFocus);
|
|
2756
|
+
document.addEventListener("keyup", this.handleSelectFocus);
|
|
2757
|
+
}
|
|
2758
|
+
else {
|
|
2759
|
+
document.removeEventListener("click", this.handleSelectFocus);
|
|
2760
|
+
document.removeEventListener("keyup", this.handleSelectFocus);
|
|
2761
|
+
if (selfFocusOnClose) {
|
|
2762
|
+
this.hostElement.shadowRoot
|
|
2763
|
+
.getElementById(`${this.htmlid}_input`)
|
|
2764
|
+
.focus();
|
|
2765
|
+
}
|
|
2766
|
+
}
|
|
2767
|
+
this.isOpen = !this.isOpen;
|
|
2768
|
+
}
|
|
2769
|
+
handleInputClick(e) {
|
|
2770
|
+
const cp = e.composedPath();
|
|
2771
|
+
const clearIcon = cp.find((item) => item.classList && item.classList.contains("resetIcon"));
|
|
2772
|
+
if (clearIcon) {
|
|
2773
|
+
e.stopPropagation();
|
|
2774
|
+
return;
|
|
2775
|
+
}
|
|
2776
|
+
this.toggleSelectUl();
|
|
2777
|
+
}
|
|
2778
|
+
handleSelectFocus(e) {
|
|
2779
|
+
if (e instanceof KeyboardEvent && e.keyCode === index$1.keybordKeyCodeEnum.ESC) {
|
|
2780
|
+
e.stopPropagation();
|
|
2781
|
+
return this.toggleSelectUl(true);
|
|
2782
|
+
}
|
|
2783
|
+
if (e instanceof KeyboardEvent &&
|
|
2784
|
+
e.keyCode !== index$1.keybordKeyCodeEnum.TAB &&
|
|
2785
|
+
e.keyCode !== index$1.keybordKeyCodeEnum.ENTER) {
|
|
2786
|
+
return;
|
|
2787
|
+
}
|
|
2788
|
+
const tree = utils.getElementTree(utils.getClickedElement());
|
|
2789
|
+
const parent = tree.find((elem) => {
|
|
2790
|
+
return ((elem.nodeName.toLowerCase() === "z-input" &&
|
|
2791
|
+
elem.id === `${this.htmlid}_input`) ||
|
|
2792
|
+
(this.multiple &&
|
|
2793
|
+
elem.nodeName.toLowerCase() === "ul" &&
|
|
2794
|
+
elem.id === this.htmlid));
|
|
2795
|
+
});
|
|
2796
|
+
if (!parent) {
|
|
2797
|
+
this.toggleSelectUl(e instanceof MouseEvent ? true : false);
|
|
2798
|
+
}
|
|
2799
|
+
}
|
|
2800
|
+
scrollToLetter(letter) {
|
|
2801
|
+
const foundItem = this.itemsList.find((item) => item.name.charAt(0) === letter);
|
|
2802
|
+
if (foundItem)
|
|
2803
|
+
this.focusSelectItem(this.itemsList.indexOf(foundItem));
|
|
2804
|
+
}
|
|
2805
|
+
renderLabel() {
|
|
2806
|
+
if (!this.label)
|
|
2807
|
+
return;
|
|
2808
|
+
return (index.h("z-input-label", { value: this.label, disabled: this.disabled, "aria-label": this.label, id: `${this.htmlid}_input_label` }));
|
|
2809
|
+
}
|
|
2810
|
+
renderInput() {
|
|
2811
|
+
return (index.h("z-input", { id: `${this.htmlid}_input`, htmlid: `${this.htmlid}_input`, placeholder: this.placeholder, value: !this.isOpen && !this.multiple && this.selectedItems.length
|
|
2812
|
+
? this.selectedItems[0].name.replace(/<[^>]+>/g, "")
|
|
2813
|
+
: null, icon: this.isOpen ? "caret-up" : "caret-down", hasclearicon: this.hasAutcomplete(), hasmessage: false, disabled: this.disabled, readonly: this.readonly || (!this.hasAutcomplete() && this.isOpen), status: this.isOpen ? index$1.InputStatusEnum.selecting : this.status, onClick: (e) => {
|
|
2814
|
+
this.handleInputClick(e);
|
|
2815
|
+
}, onKeyUp: (e) => {
|
|
2816
|
+
if (e.keyCode !== 13)
|
|
2817
|
+
e.preventDefault();
|
|
2818
|
+
utils.handleKeyboardSubmit(e, this.toggleSelectUl);
|
|
2819
|
+
}, onKeyDown: (e) => this.arrowsSelectNav(e, this.selectedItems.length
|
|
2820
|
+
? this.itemsList.indexOf(this.selectedItems[0])
|
|
2821
|
+
: -1), onInputChange: (e) => {
|
|
2822
|
+
this.handleInputChange(e);
|
|
2823
|
+
}, onKeyPress: (e) => {
|
|
2824
|
+
if (!this.hasAutcomplete()) {
|
|
2825
|
+
e.preventDefault();
|
|
2826
|
+
this.scrollToLetter(String.fromCharCode(e.keyCode));
|
|
2827
|
+
}
|
|
2828
|
+
} }));
|
|
2829
|
+
}
|
|
2830
|
+
renderChips() {
|
|
2831
|
+
if (!this.multiple || !this.selectedItems.length)
|
|
2832
|
+
return;
|
|
2833
|
+
return (index.h("div", { class: `chipsWrapper ${this.isOpen ? "open" : ""}` }, this.selectedItems.map((item) => (index.h("z-button-filter", { filterid: item.id, filtername: item.name.replace(/<[^>]+>/g, ""), issmall: true, onRemovefilter: () => this.selectItem(item, false) })))));
|
|
2834
|
+
}
|
|
2835
|
+
renderSelectUl() {
|
|
2836
|
+
return (index.h("div", { class: this.isOpen ? "open" : "closed" }, index.h("div", { class: "ulScrollWrapper" }, index.h("ul", { role: "listbox", tabindex: this.disabled || this.readonly || !this.isOpen ? -1 : 0, id: this.htmlid, "aria-activedescendant": !this.multiple && this.selectedItems.length
|
|
2837
|
+
? this.selectedItems[0].id
|
|
2838
|
+
: null, "aria-multiselectable": !!this.multiple, class: `
|
|
2839
|
+
${this.disabled ? " disabled" : ""}
|
|
2840
|
+
${this.readonly ? " readonly" : ""}
|
|
2841
|
+
${!this.isOpen && this.status
|
|
2842
|
+
? " input_" + this.status
|
|
2843
|
+
: " input_default"}
|
|
2844
|
+
${this.selectedItems.length ? " filled" : ""}
|
|
2845
|
+
` }, this.renderSelectUlItems()))));
|
|
2846
|
+
}
|
|
2847
|
+
renderSelectUlItems() {
|
|
2848
|
+
if (!this.itemsList.length)
|
|
2849
|
+
return this.renderNoSearchResults();
|
|
2850
|
+
return this.itemsList.map((item, key) => {
|
|
2851
|
+
return (index.h("li", { role: "option", tabindex: item.disabled || !this.isOpen ? -1 : 0, "aria-selected": !!item.selected, class: item.disabled && "disabled", id: `${this.htmlid}_${key}`, onClick: () => this.selectItem(item, true), onKeyUp: (e) => utils.handleKeyboardSubmit(e, this.selectItem, item, true), onKeyDown: (e) => this.arrowsSelectNav(e, key) }, index.h("span", { innerHTML: item.name })));
|
|
2852
|
+
});
|
|
2853
|
+
}
|
|
2854
|
+
renderNoSearchResults() {
|
|
2855
|
+
return (index.h("li", { class: "noResults" }, index.h("z-icon", { name: "circle-cross-stroke" }), this.noresultslabel));
|
|
2856
|
+
}
|
|
2857
|
+
renderMessage() {
|
|
2858
|
+
if (!this.hasmessage)
|
|
2859
|
+
return;
|
|
2860
|
+
return index.h("z-input-message", { message: this.message, status: this.status });
|
|
2503
2861
|
}
|
|
2504
2862
|
render() {
|
|
2505
|
-
return
|
|
2506
|
-
index.h("div", { class: "modal-container", id: this.modalid, role: "dialog" }, index.h("header", { onClick: this.emitModalHeaderActive.bind(this) }, index.h("div", null, this.modaltitle && index.h("h1", null, this.modaltitle), this.modalsubtitle && index.h("h2", null, this.modalsubtitle)), index.h("slot", { name: "modalCloseButton" }, index.h("button", { "aria-label": this.closeButtonLabel, onClick: this.emitModalClose.bind(this) }, index.h("z-icon", { name: "multiply-circle-filled" })))), index.h("div", { class: "modal-content" }, index.h("slot", { name: "modalContent" }))),
|
|
2507
|
-
index.h("div", { class: "modal-background", "data-action": "modalBackground", "data-modal": this.modalid, onClick: this.emitBackgroundClick.bind(this) })
|
|
2508
|
-
];
|
|
2863
|
+
return (index.h("div", { class: "selectWrapper" }, this.renderLabel(), this.renderChips(), this.renderInput(), this.renderSelectUl(), this.renderMessage()));
|
|
2509
2864
|
}
|
|
2865
|
+
get hostElement() { return index.getElement(this); }
|
|
2866
|
+
static get watchers() { return {
|
|
2867
|
+
"items": ["watchItems"]
|
|
2868
|
+
}; }
|
|
2510
2869
|
};
|
|
2511
|
-
|
|
2870
|
+
ZSelect.style = stylesCss$1;
|
|
2512
2871
|
|
|
2513
|
-
const stylesCss = ":host>*{font-family:var(--dashboard-font);margin:0}:host(.regular)>*{font-weight:var(--font-rg)}:host(.semibold)>*{font-weight:600}:host(.light)>*{font-weight:300}:host(.h1)>*{font-size:32px;line-height:40px}:host(.h2)>*{font-size:28px;line-height:36px}:host(.h3)>*{font-size:24px;line-height:32px}:host(.h4)>*{font-size:20px;line-height:28px}:host(.b1)>*{font-size:20px;line-height:28px}:host(.b2)>*{font-size:18px;line-height:28px}:host(.b3)>*{font-size:16px;line-height:24px}:host(.b4)>*{font-size:14px;line-height:20px}:host(.b5)>*{font-size:12px;line-height:16px}
|
|
2872
|
+
const stylesCss = ":host>*{font-family:var(--dashboard-font);margin:0}:host(.regular)>*{font-weight:var(--font-rg)}:host(.semibold)>*{font-weight:600}:host(.light)>*{font-weight:300}:host(.h1)>*{font-size:32px;line-height:40px}:host(.h2)>*{font-size:28px;line-height:36px}:host(.h3)>*{font-size:24px;line-height:32px}:host(.h4)>*{font-size:20px;line-height:28px}:host(.b1)>*{font-size:20px;line-height:28px}:host(.b2)>*{font-size:18px;line-height:28px}:host(.b3)>*{font-size:16px;line-height:24px}:host(.b4)>*{font-size:14px;line-height:20px}:host(.b5)>*{font-size:12px;line-height:16px}";
|
|
2514
2873
|
|
|
2515
2874
|
const ZTypography = class {
|
|
2516
2875
|
constructor(hostRef) {
|
|
@@ -2538,10 +2897,13 @@ exports.license_activation_form = LicenseActivationForm;
|
|
|
2538
2897
|
exports.license_activation_modal = LicenseActivationModal;
|
|
2539
2898
|
exports.z_body = ZBody;
|
|
2540
2899
|
exports.z_button = ZButton;
|
|
2900
|
+
exports.z_button_filter = ZButtonFilter;
|
|
2541
2901
|
exports.z_icon = ZIcon;
|
|
2542
2902
|
exports.z_info_box = ZInfoBox;
|
|
2543
2903
|
exports.z_input = ZInput;
|
|
2904
|
+
exports.z_input_label = ZInputLabel;
|
|
2544
2905
|
exports.z_input_message = ZInputMessage;
|
|
2545
2906
|
exports.z_link = ZLink;
|
|
2546
2907
|
exports.z_modal = ZModal;
|
|
2908
|
+
exports.z_select = ZSelect;
|
|
2547
2909
|
exports.z_typography = ZTypography;
|