@zanichelli/delta_share 2.0.3 → 2.0.6
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-da666109.js → breakpoints-a55736d0.js} +2 -0
- package/dist/wc/cjs/delta_share.cjs.js +2 -2
- package/dist/wc/cjs/hammer-4f20813e.js +2650 -0
- package/dist/wc/cjs/{icons-f65fa82e.js → icons-2aca6c75.js} +132 -58
- package/dist/wc/cjs/index-9c6fd1db.js +315 -0
- package/dist/wc/cjs/{index-458dc8f4.js → index-9ca7d5e5.js} +12 -0
- package/dist/wc/cjs/{license-activation_16.cjs.entry.js → license-activation_13.cjs.entry.js} +145 -489
- package/dist/wc/cjs/loader.cjs.js +2 -2
- package/dist/wc/cjs/utils-8a10bba9.js +88 -0
- package/dist/wc/cjs/z-alert.cjs.entry.js +19 -0
- package/dist/wc/cjs/z-app-header.cjs.entry.js +132 -6
- package/dist/wc/cjs/z-app-switcher.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-app-topbar.cjs.entry.js +15 -28
- package/dist/wc/cjs/z-aria-alert.cjs.entry.js +18 -0
- package/dist/wc/cjs/z-avatar.cjs.entry.js +43 -0
- package/dist/wc/cjs/z-button-deprecated.cjs.entry.js +38 -0
- package/dist/wc/cjs/z-button-filter.cjs.entry.js +49 -0
- package/dist/wc/cjs/z-button-sort.cjs.entry.js +17 -3
- package/dist/wc/cjs/z-candybar.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-card.cjs.entry.js +53 -25
- package/dist/wc/cjs/z-carousel.cjs.entry.js +24 -0
- package/dist/wc/cjs/z-chip-deprecated.cjs.entry.js +24 -0
- package/dist/wc/cjs/z-chip.cjs.entry.js +20 -7
- package/dist/wc/cjs/z-combobox.cjs.entry.js +18 -17
- package/dist/wc/cjs/z-contextual-menu.cjs.entry.js +40 -0
- package/dist/wc/cjs/z-cookiebar.cjs.entry.js +5 -5
- package/dist/wc/cjs/z-date-picker.cjs.entry.js +3104 -0
- package/dist/wc/cjs/z-divider.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-dragdrop-area_2.cjs.entry.js +48 -0
- package/dist/wc/cjs/z-file-upload.cjs.entry.js +172 -0
- package/dist/wc/cjs/z-file.cjs.entry.js +47 -0
- package/dist/wc/cjs/z-footer-link_3.cjs.entry.js +4 -4
- package/dist/wc/cjs/z-footer.cjs.entry.js +35 -8
- package/dist/wc/cjs/z-ghost-loading.cjs.entry.js +19 -0
- package/dist/wc/cjs/z-icon-package.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-input-deprecated.cjs.entry.js +271 -0
- package/dist/wc/cjs/z-input-label_2.cjs.entry.js +272 -0
- package/dist/wc/cjs/z-list-group.cjs.entry.js +54 -0
- package/dist/wc/cjs/z-list_2.cjs.entry.js +144 -53
- package/dist/wc/cjs/z-logo.cjs.entry.js +12 -10
- package/dist/wc/cjs/z-menu-dropdown_2.cjs.entry.js +89 -0
- package/dist/wc/cjs/z-menu-section.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-menu.cjs.entry.js +58 -4
- package/dist/wc/cjs/z-messages-pocket.cjs.entry.js +46 -0
- package/dist/wc/cjs/z-modal-login.cjs.entry.js +15 -6
- package/dist/wc/cjs/z-myz-card-alert.cjs.entry.js +63 -0
- package/dist/wc/cjs/z-myz-card-dictionary.cjs.entry.js +36 -0
- package/dist/wc/cjs/z-myz-card-footer-sections.cjs.entry.js +19 -0
- package/dist/wc/cjs/z-myz-card-footer.cjs.entry.js +56 -0
- package/dist/wc/cjs/z-myz-card-icon.cjs.entry.js +21 -0
- package/dist/wc/cjs/z-myz-card-info.cjs.entry.js +119 -0
- package/dist/wc/cjs/{z-card-list.cjs.entry.js → z-myz-card-list.cjs.entry.js} +5 -5
- package/dist/wc/cjs/z-myz-card_4.cjs.entry.js +104 -0
- package/dist/wc/cjs/{z-list-item.cjs.entry.js → z-myz-list-item.cjs.entry.js} +7 -6
- package/dist/wc/cjs/z-myz-topbar.cjs.entry.js +194 -0
- package/dist/wc/cjs/z-navigation-tab-link.cjs.entry.js +71 -0
- package/dist/wc/cjs/z-navigation-tab.cjs.entry.js +73 -0
- package/dist/wc/cjs/z-navigation-tabs.cjs.entry.js +126 -0
- package/dist/wc/cjs/z-notification.cjs.entry.js +46 -0
- package/dist/wc/cjs/z-offcanvas.cjs.entry.js +63 -0
- package/dist/wc/cjs/z-otp.cjs.entry.js +41 -0
- package/dist/wc/cjs/z-pagination-bar.cjs.entry.js +8 -2651
- package/dist/wc/cjs/z-pagination-page.cjs.entry.js +3 -4
- package/dist/wc/cjs/z-pagination.cjs.entry.js +229 -0
- package/dist/wc/cjs/z-panel-elem.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-pocket-message.cjs.entry.js +19 -0
- package/dist/wc/cjs/z-pocket_3.cjs.entry.js +125 -0
- package/dist/wc/cjs/z-popover.cjs.entry.js +132 -0
- package/dist/wc/cjs/z-section-title.cjs.entry.js +42 -0
- package/dist/wc/cjs/z-skip-to-content.cjs.entry.js +68 -0
- package/dist/wc/cjs/z-slideshow.cjs.entry.js +112 -0
- package/dist/wc/cjs/z-status-tag.cjs.entry.js +29 -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-registro-table-body.cjs.entry.js → z-table-body.cjs.entry.js} +5 -5
- package/dist/wc/cjs/z-table-cell.cjs.entry.js +36 -0
- package/dist/wc/cjs/z-table-empty-box.cjs.entry.js +32 -0
- package/dist/wc/cjs/z-table-expanded-row.cjs.entry.js +19 -0
- package/dist/wc/cjs/{z-registro-table-head.cjs.entry.js → z-table-footer.cjs.entry.js} +5 -5
- package/dist/wc/cjs/{z-registro-table-footer.cjs.entry.js → z-table-head.cjs.entry.js} +5 -5
- package/dist/wc/cjs/z-table-header-row.cjs.entry.js +22 -0
- package/dist/wc/cjs/z-table-header.cjs.entry.js +88 -0
- package/dist/wc/cjs/z-table-row.cjs.entry.js +43 -0
- package/dist/wc/cjs/z-table-sticky-footer.cjs.entry.js +19 -0
- package/dist/wc/cjs/z-table.cjs.entry.js +82 -0
- package/dist/wc/cjs/z-tag.cjs.entry.js +22 -0
- package/dist/wc/cjs/z-toast-notification-list.cjs.entry.js +56 -0
- package/dist/wc/cjs/z-toast-notification.cjs.entry.js +203 -0
- package/dist/wc/cjs/z-toggle-button.cjs.entry.js +7 -6
- package/dist/wc/cjs/z-toggle-switch.cjs.entry.js +49 -0
- package/dist/wc/cjs/z-tooltip.cjs.entry.js +254 -24
- package/dist/wc/cjs/z-user-dropdown.cjs.entry.js +46 -51
- package/dist/wc/cjs/z-visually-hidden.cjs.entry.js +19 -0
- package/dist/wc/collection/collection-manifest.json +63 -18
- package/dist/wc/collection/components/license-activation-form/license-activation-form.css +6 -1
- package/dist/wc/collection/components/license-activation-form/license-activation-form.js +25 -16
- package/dist/wc/custom-elements/index.js +8655 -1943
- package/dist/wc/delta_share/delta_share.esm.js +1 -1
- package/dist/wc/delta_share/p-041ff3e2.entry.js +1 -0
- package/dist/wc/delta_share/p-06543221.entry.js +1 -0
- package/dist/wc/delta_share/{p-ef4da7dc.entry.js → p-06b89fb4.entry.js} +1 -1
- package/dist/wc/delta_share/p-0b0179c7.js +1 -0
- package/dist/wc/delta_share/p-0f55558e.js +1 -0
- package/dist/wc/delta_share/p-103f926c.entry.js +1 -0
- package/dist/wc/delta_share/p-12aa58e4.entry.js +1 -0
- package/dist/wc/delta_share/p-20c14e4e.entry.js +1 -0
- package/dist/wc/delta_share/p-243df9e5.entry.js +1 -0
- package/dist/wc/delta_share/p-244accd2.entry.js +1 -0
- package/dist/wc/delta_share/p-261611b1.js +1 -0
- package/dist/wc/delta_share/p-29cb5018.entry.js +1 -0
- package/dist/wc/delta_share/{p-6215ddbd.entry.js → p-29d111de.entry.js} +1 -1
- package/dist/wc/delta_share/p-2b05751b.entry.js +1 -0
- package/dist/wc/delta_share/p-3094900a.entry.js +1 -0
- package/dist/wc/delta_share/p-32975e01.entry.js +1 -0
- package/dist/wc/delta_share/p-32d34db1.entry.js +1 -0
- package/dist/wc/delta_share/{p-10d9e4f5.entry.js → p-3341f25e.entry.js} +1 -1
- package/dist/wc/delta_share/p-33fb12fc.entry.js +1 -0
- package/dist/wc/delta_share/p-35bccab3.entry.js +1 -0
- package/dist/wc/delta_share/p-36955fc5.entry.js +1 -0
- package/dist/wc/delta_share/p-39440988.entry.js +1 -0
- package/dist/wc/delta_share/p-3f61bc0d.entry.js +1 -0
- package/dist/wc/delta_share/p-422f29e8.entry.js +1 -0
- package/dist/wc/delta_share/p-43ae8e0a.entry.js +1 -0
- package/dist/wc/delta_share/p-44eba966.entry.js +1 -0
- package/dist/wc/delta_share/p-51431ace.js +1 -0
- package/dist/wc/delta_share/p-5374191c.entry.js +16 -0
- package/dist/wc/delta_share/p-5559856c.entry.js +1 -0
- package/dist/wc/delta_share/p-5af0e3cd.entry.js +1 -0
- package/dist/wc/delta_share/{p-ca57e6ec.entry.js → p-5b320481.entry.js} +1 -1
- package/dist/wc/delta_share/p-5d085d01.entry.js +1 -0
- package/dist/wc/delta_share/p-5d88112c.entry.js +1 -0
- package/dist/wc/delta_share/p-5e9898dd.entry.js +1 -0
- package/dist/wc/delta_share/p-6422731e.entry.js +1 -0
- package/dist/wc/delta_share/p-64ffaf7b.entry.js +1 -0
- package/dist/wc/delta_share/p-6613eeee.entry.js +1 -0
- package/dist/wc/delta_share/p-6a39042b.entry.js +1 -0
- package/dist/wc/delta_share/{p-a03963a8.entry.js → p-6a9fb59c.entry.js} +1 -1
- package/dist/wc/delta_share/p-6f7064dc.entry.js +1 -0
- package/dist/wc/delta_share/p-767a8d6e.entry.js +1 -0
- package/dist/wc/delta_share/p-76cfb0be.entry.js +1 -0
- package/dist/wc/delta_share/p-775af9dc.entry.js +1 -0
- package/dist/wc/delta_share/p-7f71c41e.entry.js +1 -0
- package/dist/wc/delta_share/p-8b6617d8.entry.js +1 -0
- package/dist/wc/delta_share/p-8fb4a4ea.entry.js +1 -0
- package/dist/wc/delta_share/p-91a4ef35.js +1 -0
- package/dist/wc/delta_share/p-91af6142.entry.js +1 -0
- package/dist/wc/delta_share/p-94b8f342.entry.js +1 -0
- package/dist/wc/delta_share/{p-65c48026.entry.js → p-94df01a9.entry.js} +1 -1
- package/dist/wc/delta_share/p-9656b290.entry.js +1 -0
- package/dist/wc/delta_share/p-97e4d621.entry.js +1 -0
- package/dist/wc/delta_share/p-9a1d266e.entry.js +1 -0
- package/dist/wc/delta_share/p-9c147330.entry.js +1 -0
- package/dist/wc/delta_share/p-9d35fb61.entry.js +1 -0
- package/dist/wc/delta_share/{p-6684b880.entry.js → p-a0663266.entry.js} +1 -1
- package/dist/wc/delta_share/p-a150a778.entry.js +1 -0
- package/dist/wc/delta_share/p-a823768b.entry.js +1 -0
- package/dist/wc/delta_share/p-a880ae33.entry.js +3 -0
- package/dist/wc/delta_share/p-a949636a.entry.js +1 -0
- package/dist/wc/delta_share/p-b1c1f030.entry.js +1 -0
- package/dist/wc/delta_share/p-b5f0d2dc.entry.js +1 -0
- package/dist/wc/delta_share/p-badf3f24.entry.js +1 -0
- package/dist/wc/delta_share/p-bb38e604.entry.js +1 -0
- package/dist/wc/delta_share/p-bc225deb.entry.js +1 -0
- package/dist/wc/delta_share/p-bf58b24b.entry.js +1 -0
- package/dist/wc/delta_share/p-c2dde3b3.entry.js +1 -0
- package/dist/wc/delta_share/p-cccef23b.entry.js +1 -0
- package/dist/wc/delta_share/p-cd42e0b5.entry.js +1 -0
- package/dist/wc/delta_share/{p-800cd436.entry.js → p-cfc122de.entry.js} +1 -1
- package/dist/wc/delta_share/p-d282ce22.entry.js +1 -0
- package/dist/wc/delta_share/p-d610565d.entry.js +1 -0
- package/dist/wc/delta_share/p-da8144e5.entry.js +1 -0
- package/dist/wc/delta_share/p-dafefe1f.entry.js +1 -0
- package/dist/wc/delta_share/p-dc148f92.entry.js +1 -0
- package/dist/wc/delta_share/p-dd50dd54.entry.js +1 -0
- package/dist/wc/delta_share/p-de117646.entry.js +1 -0
- package/dist/wc/delta_share/p-dec6ab35.entry.js +1 -0
- package/dist/wc/delta_share/p-e37c7b62.entry.js +1 -0
- package/dist/wc/delta_share/p-e43e61ac.js +7 -0
- package/dist/wc/delta_share/p-e7932e20.entry.js +1 -0
- package/dist/wc/delta_share/p-e9412ef0.entry.js +1 -0
- package/dist/wc/delta_share/p-ea6c7be0.entry.js +1 -0
- package/dist/wc/delta_share/p-ebb9a3f9.entry.js +1 -0
- package/dist/wc/delta_share/p-ee76ecea.entry.js +1 -0
- package/dist/wc/delta_share/p-f0723bcc.entry.js +1 -0
- package/dist/wc/delta_share/p-f2323f2a.entry.js +1 -0
- package/dist/wc/delta_share/p-f441efc3.entry.js +1 -0
- package/dist/wc/delta_share/{p-873e098b.entry.js → p-f531a563.entry.js} +1 -1
- package/dist/wc/delta_share/p-fd83d815.entry.js +1 -0
- package/dist/wc/delta_share/p-ff2508eb.entry.js +1 -0
- package/dist/wc/esm/breakpoints-e07f80e7.js +4 -0
- package/dist/wc/esm/delta_share.js +2 -2
- package/dist/wc/esm/hammer-c3266b17.js +2648 -0
- package/dist/wc/esm/{icons-973d360b.js → icons-74713b55.js} +132 -58
- package/dist/wc/esm/index-654849a7.js +315 -0
- package/dist/wc/esm/{index-5ecd661f.js → index-b3a91e19.js} +12 -0
- package/dist/wc/esm/{license-activation_16.entry.js → license-activation_13.entry.js} +146 -487
- package/dist/wc/esm/loader.js +2 -2
- package/dist/wc/esm/utils-417652d9.js +80 -0
- package/dist/wc/esm/z-alert.entry.js +15 -0
- package/dist/wc/esm/z-app-header.entry.js +132 -6
- package/dist/wc/esm/z-app-switcher.entry.js +2 -2
- package/dist/wc/esm/z-app-topbar.entry.js +15 -28
- package/dist/wc/esm/z-aria-alert.entry.js +14 -0
- package/dist/wc/esm/z-avatar.entry.js +39 -0
- package/dist/wc/esm/z-button-deprecated.entry.js +34 -0
- package/dist/wc/esm/z-button-filter.entry.js +45 -0
- package/dist/wc/esm/z-button-sort.entry.js +17 -3
- package/dist/wc/esm/z-candybar.entry.js +1 -1
- package/dist/wc/esm/z-card.entry.js +53 -25
- package/dist/wc/esm/z-carousel.entry.js +20 -0
- package/dist/wc/esm/z-chip-deprecated.entry.js +20 -0
- package/dist/wc/esm/z-chip.entry.js +20 -7
- package/dist/wc/esm/z-combobox.entry.js +18 -17
- package/dist/wc/esm/z-contextual-menu.entry.js +36 -0
- package/dist/wc/esm/z-cookiebar.entry.js +5 -5
- package/dist/wc/esm/z-date-picker.entry.js +3100 -0
- package/dist/wc/esm/z-divider.entry.js +2 -2
- package/dist/wc/esm/z-dragdrop-area_2.entry.js +43 -0
- package/dist/wc/esm/z-file-upload.entry.js +168 -0
- package/dist/wc/esm/z-file.entry.js +43 -0
- package/dist/wc/esm/z-footer-link_3.entry.js +4 -4
- package/dist/wc/esm/z-footer.entry.js +35 -8
- package/dist/wc/esm/z-ghost-loading.entry.js +15 -0
- package/dist/wc/esm/z-icon-package.entry.js +2 -2
- package/dist/wc/esm/z-input-deprecated.entry.js +267 -0
- package/dist/wc/esm/z-input-label_2.entry.js +267 -0
- package/dist/wc/esm/z-list-group.entry.js +50 -0
- package/dist/wc/esm/z-list_2.entry.js +144 -53
- package/dist/wc/esm/z-logo.entry.js +12 -10
- package/dist/wc/esm/z-menu-dropdown_2.entry.js +84 -0
- package/dist/wc/esm/z-menu-section.entry.js +2 -2
- package/dist/wc/esm/z-menu.entry.js +58 -4
- package/dist/wc/esm/z-messages-pocket.entry.js +42 -0
- package/dist/wc/esm/z-modal-login.entry.js +15 -6
- package/dist/wc/esm/z-myz-card-alert.entry.js +59 -0
- package/dist/wc/esm/z-myz-card-dictionary.entry.js +32 -0
- package/dist/wc/esm/z-myz-card-footer-sections.entry.js +15 -0
- package/dist/wc/esm/z-myz-card-footer.entry.js +52 -0
- package/dist/wc/esm/z-myz-card-icon.entry.js +17 -0
- package/dist/wc/esm/z-myz-card-info.entry.js +115 -0
- package/dist/wc/esm/z-myz-card-list.entry.js +33 -0
- package/dist/wc/esm/z-myz-card_4.entry.js +97 -0
- package/dist/wc/esm/{z-list-item.entry.js → z-myz-list-item.entry.js} +7 -6
- package/dist/wc/esm/z-myz-topbar.entry.js +190 -0
- package/dist/wc/esm/z-navigation-tab-link.entry.js +67 -0
- package/dist/wc/esm/z-navigation-tab.entry.js +69 -0
- package/dist/wc/esm/z-navigation-tabs.entry.js +122 -0
- package/dist/wc/esm/z-notification.entry.js +42 -0
- package/dist/wc/esm/z-offcanvas.entry.js +59 -0
- package/dist/wc/esm/z-otp.entry.js +37 -0
- package/dist/wc/esm/z-pagination-bar.entry.js +8 -2651
- package/dist/wc/esm/z-pagination-page.entry.js +3 -4
- package/dist/wc/esm/z-pagination.entry.js +225 -0
- package/dist/wc/esm/z-panel-elem.entry.js +1 -1
- package/dist/wc/esm/z-pocket-message.entry.js +15 -0
- package/dist/wc/esm/z-pocket_3.entry.js +119 -0
- package/dist/wc/esm/z-popover.entry.js +128 -0
- package/dist/wc/esm/z-section-title.entry.js +38 -0
- package/dist/wc/esm/z-skip-to-content.entry.js +64 -0
- package/dist/wc/esm/z-slideshow.entry.js +108 -0
- package/dist/wc/esm/z-status-tag.entry.js +25 -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-registro-table-body.entry.js → z-table-body.entry.js} +5 -5
- package/dist/wc/esm/z-table-cell.entry.js +32 -0
- package/dist/wc/esm/z-table-empty-box.entry.js +28 -0
- package/dist/wc/esm/z-table-expanded-row.entry.js +15 -0
- package/dist/wc/esm/{z-registro-table-head.entry.js → z-table-footer.entry.js} +5 -5
- package/dist/wc/esm/{z-registro-table-footer.entry.js → z-table-head.entry.js} +5 -5
- package/dist/wc/esm/z-table-header-row.entry.js +18 -0
- package/dist/wc/esm/z-table-header.entry.js +84 -0
- package/dist/wc/esm/z-table-row.entry.js +39 -0
- package/dist/wc/esm/z-table-sticky-footer.entry.js +15 -0
- package/dist/wc/esm/z-table.entry.js +78 -0
- package/dist/wc/esm/z-tag.entry.js +18 -0
- package/dist/wc/esm/z-toast-notification-list.entry.js +52 -0
- package/dist/wc/esm/z-toast-notification.entry.js +199 -0
- package/dist/wc/esm/z-toggle-button.entry.js +7 -6
- package/dist/wc/esm/z-toggle-switch.entry.js +45 -0
- package/dist/wc/esm/z-tooltip.entry.js +254 -24
- package/dist/wc/esm/z-user-dropdown.entry.js +46 -51
- package/dist/wc/esm/z-visually-hidden.entry.js +15 -0
- 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 +3 -1
- package/package.json +1 -1
- package/dist/wc/cjs/index-b9bd2767.js +0 -81
- package/dist/wc/cjs/utils-1f907efa.js +0 -42
- package/dist/wc/cjs/z-card-alert.cjs.entry.js +0 -52
- package/dist/wc/cjs/z-card-body.cjs.entry.js +0 -19
- package/dist/wc/cjs/z-card-cover.cjs.entry.js +0 -22
- package/dist/wc/cjs/z-card-footer.cjs.entry.js +0 -46
- package/dist/wc/cjs/z-card-header.cjs.entry.js +0 -38
- package/dist/wc/cjs/z-card-icon.cjs.entry.js +0 -21
- package/dist/wc/cjs/z-header.cjs.entry.js +0 -180
- package/dist/wc/cjs/z-heading.cjs.entry.js +0 -17
- package/dist/wc/cjs/z-registro-table-cell.cjs.entry.js +0 -34
- package/dist/wc/cjs/z-registro-table-header.cjs.entry.js +0 -23
- package/dist/wc/cjs/z-registro-table-row.cjs.entry.js +0 -23
- package/dist/wc/cjs/z-registro-table-sticky-footer.cjs.entry.js +0 -19
- package/dist/wc/cjs/z-registro-table.cjs.entry.js +0 -31
- package/dist/wc/delta_share/p-04b614bf.entry.js +0 -1
- package/dist/wc/delta_share/p-0a05abe2.entry.js +0 -1
- package/dist/wc/delta_share/p-21e76fc5.entry.js +0 -1
- package/dist/wc/delta_share/p-26d039ff.entry.js +0 -1
- package/dist/wc/delta_share/p-3995e58c.entry.js +0 -1
- package/dist/wc/delta_share/p-3c0ba1d7.entry.js +0 -1
- package/dist/wc/delta_share/p-3dae174e.entry.js +0 -1
- package/dist/wc/delta_share/p-466d0fc0.entry.js +0 -1
- package/dist/wc/delta_share/p-57e825ae.entry.js +0 -1
- package/dist/wc/delta_share/p-5a2d329b.entry.js +0 -1
- package/dist/wc/delta_share/p-5e35124a.entry.js +0 -1
- package/dist/wc/delta_share/p-6422287d.entry.js +0 -3
- package/dist/wc/delta_share/p-7145c713.entry.js +0 -1
- package/dist/wc/delta_share/p-7a08a26d.entry.js +0 -1
- package/dist/wc/delta_share/p-7adbb1ec.entry.js +0 -1
- package/dist/wc/delta_share/p-804eb658.entry.js +0 -1
- package/dist/wc/delta_share/p-81d7702b.entry.js +0 -1
- package/dist/wc/delta_share/p-85623203.entry.js +0 -1
- package/dist/wc/delta_share/p-9dd299b2.js +0 -1
- package/dist/wc/delta_share/p-a259b62e.entry.js +0 -1
- package/dist/wc/delta_share/p-ab7c95da.entry.js +0 -1
- package/dist/wc/delta_share/p-abd1d378.entry.js +0 -1
- package/dist/wc/delta_share/p-acfe9eb3.entry.js +0 -1
- package/dist/wc/delta_share/p-b5e27e10.js +0 -1
- package/dist/wc/delta_share/p-b5eb340c.entry.js +0 -1
- package/dist/wc/delta_share/p-b60651f2.entry.js +0 -1
- package/dist/wc/delta_share/p-c56e8a41.entry.js +0 -1
- package/dist/wc/delta_share/p-c69e24bf.entry.js +0 -1
- package/dist/wc/delta_share/p-cac71697.js +0 -1
- package/dist/wc/delta_share/p-cad0320b.entry.js +0 -1
- package/dist/wc/delta_share/p-d1270e75.entry.js +0 -1
- package/dist/wc/delta_share/p-d2b8f445.entry.js +0 -1
- package/dist/wc/delta_share/p-d489328b.js +0 -1
- package/dist/wc/delta_share/p-de921fbb.entry.js +0 -1
- package/dist/wc/delta_share/p-ec64cd8e.entry.js +0 -1
- package/dist/wc/delta_share/p-f1ba2542.entry.js +0 -1
- package/dist/wc/delta_share/p-f500eb2e.entry.js +0 -1
- package/dist/wc/delta_share/p-f5d6ffbf.entry.js +0 -1
- package/dist/wc/delta_share/p-f6cf7f9f.entry.js +0 -1
- package/dist/wc/delta_share/p-f9175533.entry.js +0 -7
- package/dist/wc/delta_share/p-fb1885ec.js +0 -1
- package/dist/wc/esm/breakpoints-75d56fd9.js +0 -3
- package/dist/wc/esm/index-e68ea3a2.js +0 -81
- package/dist/wc/esm/utils-1c638931.js +0 -37
- package/dist/wc/esm/z-card-alert.entry.js +0 -48
- package/dist/wc/esm/z-card-body.entry.js +0 -15
- package/dist/wc/esm/z-card-cover.entry.js +0 -18
- package/dist/wc/esm/z-card-footer.entry.js +0 -42
- package/dist/wc/esm/z-card-header.entry.js +0 -34
- package/dist/wc/esm/z-card-icon.entry.js +0 -17
- package/dist/wc/esm/z-card-list.entry.js +0 -33
- package/dist/wc/esm/z-header.entry.js +0 -176
- package/dist/wc/esm/z-heading.entry.js +0 -13
- package/dist/wc/esm/z-registro-table-cell.entry.js +0 -30
- package/dist/wc/esm/z-registro-table-header.entry.js +0 -19
- package/dist/wc/esm/z-registro-table-row.entry.js +0 -19
- package/dist/wc/esm/z-registro-table-sticky-footer.entry.js +0 -15
- package/dist/wc/esm/z-registro-table.entry.js +0 -27
|
@@ -2,42 +2,272 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-9ca7d5e5.js');
|
|
6
|
+
const index$1 = require('./index-9c6fd1db.js');
|
|
7
7
|
|
|
8
|
-
const stylesCss = ":host{--z-tooltip-
|
|
8
|
+
const stylesCss = ":host{--z-tooltip-theme--surface:var(--color-surface01);--z-tooltip-theme--text:var(--color-text01);--arrow-size:6px;--edge-offset:calc(-1 * (var(--arrow-size) + calc(var(--space-unit) * 2)));position:relative;display:none;align-items:center;justify-content:center;padding:var(--space-unit);min-width:calc(var(--space-unit) * 8);min-height:calc(var(--space-unit) * 4);color:var(--z-tooltip-theme--text);fill:currentColor;font-family:var(--font-family-sans);text-align:center;border-radius:var(--border-radius-small);background:var(--z-tooltip-theme--surface);filter:drop-shadow(0 4px 8px var(--shadow-color-base));will-change:filter}:host(.legacy){display:inline-flex;padding:calc(var(--space-unit) * 2);min-width:auto;min-height:auto;max-width:200px;font-style:italic;line-height:16px;letter-spacing:0.32px;font-size:12px;border:var(--border-size-small) solid var(--gray200);border-radius:var(--border-radius);filter:drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.08))}:host(.legacy)::before{--arrow-size:14px}:host([position])::before{--arrow-edge-offset:calc(100% - var(--arrow-size) - var(--space-unit));--arrow-center-x-offset:calc(50% - calc(var(--arrow-size) / 2));--arrow-center-y-offset:calc(100% - calc(var(--arrow-size) / 2));content:'';position:absolute;width:var(--arrow-size);height:var(--arrow-size);background:inherit;transform:rotate(45deg)}:host([open][style*='top:']),:host([open][style*='inset:']){display:inline-flex}:host([position^='top']){margin-bottom:var(--space-unit)}:host([position='right']){margin-left:var(--space-unit)}:host([position='top_right']),:host([position='bottom_right']){margin-left:var(--edge-offset)}:host([position^='bottom']){margin-top:var(--space-unit)}:host([position='left']){margin-right:var(--space-unit)}:host([position='top_left']),:host([position='bottom_left']){margin-right:var(--edge-offset)}:host([position^='top'])::before{top:var(--arrow-center-y-offset)}:host([position^='bottom'])::before{bottom:var(--arrow-center-y-offset)}:host([position='top'])::before,:host([position='bottom'])::before{left:var(--arrow-center-x-offset)}:host([position='right'])::before,:host([position='left'])::before{top:var(--arrow-center-x-offset)}:host([position='right'])::before{right:var(--arrow-center-y-offset)}:host([position='top_right'])::before,:host([position='bottom_right'])::before{right:var(--arrow-edge-offset)}:host([position='left'])::before{left:var(--arrow-center-y-offset)}:host([position='top_left'])::before,:host([position='bottom_left'])::before{left:var(--arrow-edge-offset)}::slotted(*){flex:1 auto;overflow:auto}";
|
|
9
9
|
|
|
10
|
+
const documentElement = document.documentElement;
|
|
11
|
+
/**
|
|
12
|
+
* Find the closest scrollable parent of a node.
|
|
13
|
+
*
|
|
14
|
+
* @param {Element} element The node
|
|
15
|
+
*/
|
|
16
|
+
function findScrollableParent(element) {
|
|
17
|
+
let parent = element.parentNode;
|
|
18
|
+
while (parent && parent !== documentElement) {
|
|
19
|
+
const { overflow, overflowX, overflowY } = window.getComputedStyle(parent);
|
|
20
|
+
if (overflow === 'hidden' ||
|
|
21
|
+
overflowY === 'hidden' ||
|
|
22
|
+
overflowX === 'hidden') {
|
|
23
|
+
return parent;
|
|
24
|
+
}
|
|
25
|
+
if ((parent.scrollHeight > parent.clientHeight && overflow !== 'visible' && overflowY !== 'visible') ||
|
|
26
|
+
(parent.scrollWidth > parent.clientWidth && overflow !== 'visible' && overflowX !== 'visible')) {
|
|
27
|
+
return parent;
|
|
28
|
+
}
|
|
29
|
+
parent = parent.parentNode;
|
|
30
|
+
}
|
|
31
|
+
return documentElement;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Calculate computed offset.
|
|
35
|
+
* It includes matrix transformations.
|
|
36
|
+
* @param element The target element.
|
|
37
|
+
* @param targetParentOffset The relative offset parent.
|
|
38
|
+
* @return A client rect object.
|
|
39
|
+
*/
|
|
40
|
+
function computeOffset(element, targetParentOffset) {
|
|
41
|
+
const rect = element.getBoundingClientRect();
|
|
42
|
+
const width = rect.width;
|
|
43
|
+
const height = rect.height;
|
|
44
|
+
let top = 0;
|
|
45
|
+
let left = 0;
|
|
46
|
+
let offsetParent = element;
|
|
47
|
+
while (offsetParent && offsetParent != targetParentOffset) {
|
|
48
|
+
left += offsetParent.offsetLeft;
|
|
49
|
+
// document.body sometimes has offsetTop == 0 but still has an
|
|
50
|
+
// offset because of children margins!
|
|
51
|
+
if (offsetParent === document.body) {
|
|
52
|
+
top += offsetParent.getBoundingClientRect().top + window.scrollY;
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
top += offsetParent.offsetTop;
|
|
56
|
+
}
|
|
57
|
+
if (window.DOMMatrix) {
|
|
58
|
+
const style = window.getComputedStyle(offsetParent);
|
|
59
|
+
const transform = style.transform || style.webkitTransform;
|
|
60
|
+
const domMatrix = new DOMMatrix(transform);
|
|
61
|
+
if (domMatrix) {
|
|
62
|
+
left += domMatrix.m41;
|
|
63
|
+
if (offsetParent !== document.body) {
|
|
64
|
+
top += domMatrix.m42;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
if (!offsetParent.offsetParent) {
|
|
69
|
+
break;
|
|
70
|
+
}
|
|
71
|
+
offsetParent = offsetParent.offsetParent;
|
|
72
|
+
}
|
|
73
|
+
let parentWidth;
|
|
74
|
+
let parentHeight;
|
|
75
|
+
if (offsetParent === document.body) {
|
|
76
|
+
parentWidth = window.innerWidth;
|
|
77
|
+
parentHeight = window.innerHeight;
|
|
78
|
+
}
|
|
79
|
+
else {
|
|
80
|
+
parentWidth = offsetParent.offsetWidth;
|
|
81
|
+
parentHeight = offsetParent.offsetHeight;
|
|
82
|
+
}
|
|
83
|
+
const right = parentWidth - left - rect.width;
|
|
84
|
+
const bottom = parentHeight - top - rect.height;
|
|
85
|
+
return { top, right, bottom, left, width, height };
|
|
86
|
+
}
|
|
10
87
|
const ZTooltip = class {
|
|
11
88
|
constructor(hostRef) {
|
|
12
89
|
index.registerInstance(this, hostRef);
|
|
90
|
+
this.positionChange = index.createEvent(this, "positionChange", 7);
|
|
91
|
+
/** Tooltip position. */
|
|
92
|
+
this.type = index$1.TooltipPosition.AUTO;
|
|
93
|
+
/**
|
|
94
|
+
* The open state of the tooltip.
|
|
95
|
+
*/
|
|
96
|
+
this.open = false;
|
|
97
|
+
}
|
|
98
|
+
validateType(newValue) {
|
|
99
|
+
if (newValue &&
|
|
100
|
+
Object
|
|
101
|
+
.values(index$1.TooltipPosition)
|
|
102
|
+
.every((position) => newValue !== position)) {
|
|
103
|
+
this.type = index$1.TooltipPosition.AUTO;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
onPositionChange() {
|
|
107
|
+
this.positionChange.emit({ position: this.position });
|
|
108
|
+
}
|
|
109
|
+
disconnectedCallback() {
|
|
110
|
+
cancelAnimationFrame(this.animationFrameRequestId);
|
|
13
111
|
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
112
|
+
/**
|
|
113
|
+
* Setup tooltip behaviors on opening.
|
|
114
|
+
*/
|
|
115
|
+
onOpen() {
|
|
116
|
+
cancelAnimationFrame(this.animationFrameRequestId);
|
|
117
|
+
if (this.content) {
|
|
118
|
+
return;
|
|
119
|
+
}
|
|
120
|
+
if (this.open) {
|
|
121
|
+
const setPosition = () => {
|
|
122
|
+
if (this.open) {
|
|
123
|
+
this.setPosition();
|
|
124
|
+
this.animationFrameRequestId = requestAnimationFrame(setPosition);
|
|
125
|
+
}
|
|
126
|
+
};
|
|
127
|
+
setPosition();
|
|
128
|
+
}
|
|
129
|
+
else {
|
|
130
|
+
const style = this.host.style;
|
|
131
|
+
style.removeProperty("top");
|
|
132
|
+
style.removeProperty("right");
|
|
133
|
+
style.removeProperty("bottom");
|
|
134
|
+
style.removeProperty("left");
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Set the position of the tooltip.
|
|
139
|
+
*/
|
|
140
|
+
setPosition() {
|
|
141
|
+
let element;
|
|
142
|
+
if (typeof this.bindTo === "string") {
|
|
143
|
+
element = this.host.ownerDocument.querySelector(this.bindTo);
|
|
144
|
+
}
|
|
145
|
+
else if (this.bindTo) {
|
|
146
|
+
element = this.bindTo;
|
|
147
|
+
}
|
|
148
|
+
else {
|
|
149
|
+
element = this.host.parentElement;
|
|
150
|
+
}
|
|
151
|
+
if (!element) {
|
|
152
|
+
return;
|
|
153
|
+
}
|
|
154
|
+
const scrollContainer = findScrollableParent(element);
|
|
155
|
+
const scrollingBoundingRect = scrollContainer.getBoundingClientRect();
|
|
156
|
+
const offsetContainer = this.host.offsetParent;
|
|
157
|
+
const relativeBoundingRect = offsetContainer ? computeOffset(offsetContainer, scrollContainer) : { top: 0, right: 0, bottom: 0, left: 0 };
|
|
158
|
+
const boundingRect = computeOffset(element, scrollContainer);
|
|
159
|
+
const top = boundingRect.top - scrollContainer.scrollTop;
|
|
160
|
+
const bottom = scrollingBoundingRect.height - (boundingRect.top + boundingRect.height) + scrollContainer.scrollTop;
|
|
161
|
+
const left = boundingRect.left - scrollContainer.scrollLeft;
|
|
162
|
+
const right = scrollingBoundingRect.width - (boundingRect.left + boundingRect.width) + scrollContainer.scrollLeft;
|
|
163
|
+
const overflowBottom = Math.max(0, scrollingBoundingRect.top + scrollingBoundingRect.height - window.innerHeight);
|
|
164
|
+
const overflowRight = Math.max(0, scrollingBoundingRect.left + scrollingBoundingRect.width - window.innerWidth);
|
|
165
|
+
const availableTop = Math.min(top, top + scrollingBoundingRect.top);
|
|
166
|
+
const availableBottom = Math.min(bottom, bottom - overflowBottom);
|
|
167
|
+
const availableLeft = Math.min(left, left + scrollingBoundingRect.left);
|
|
168
|
+
const availableRight = Math.min(right, right - overflowRight);
|
|
169
|
+
const availableHeight = availableTop + availableBottom + boundingRect.height;
|
|
170
|
+
const availableWidth = availableLeft + availableRight + boundingRect.width;
|
|
171
|
+
let position = this.type;
|
|
172
|
+
if (position === index$1.TooltipPosition.AUTO) {
|
|
173
|
+
/**
|
|
174
|
+
* The `AUTO` position tries to place the tooltip in the "safest" area,
|
|
175
|
+
* where there's more space available.
|
|
176
|
+
*/
|
|
177
|
+
const positions = [];
|
|
178
|
+
if (availableTop / availableHeight > 0.9) {
|
|
179
|
+
positions.unshift(index$1.TooltipPosition.TOP);
|
|
180
|
+
}
|
|
181
|
+
else if (availableTop / availableHeight > 0.6) {
|
|
182
|
+
positions.push(index$1.TooltipPosition.TOP);
|
|
183
|
+
}
|
|
184
|
+
else if (availableTop / availableHeight < 0.1) {
|
|
185
|
+
positions.unshift(index$1.TooltipPosition.BOTTOM);
|
|
186
|
+
}
|
|
187
|
+
else {
|
|
188
|
+
positions.push(index$1.TooltipPosition.BOTTOM);
|
|
189
|
+
}
|
|
190
|
+
if (availableLeft / availableWidth > 0.6) {
|
|
191
|
+
positions.push(index$1.TooltipPosition.LEFT);
|
|
192
|
+
}
|
|
193
|
+
else if (availableLeft / availableWidth < 0.4) {
|
|
194
|
+
positions.push(index$1.TooltipPosition.RIGHT);
|
|
195
|
+
}
|
|
196
|
+
position = positions.join("_");
|
|
197
|
+
}
|
|
198
|
+
const style = this.host.style;
|
|
199
|
+
if (!this.content) {
|
|
200
|
+
style.position = "absolute";
|
|
201
|
+
}
|
|
202
|
+
const offsetTop = boundingRect.top - relativeBoundingRect.top;
|
|
203
|
+
const offsetRight = boundingRect.right - relativeBoundingRect.right;
|
|
204
|
+
const offsetBottom = boundingRect.bottom - relativeBoundingRect.bottom;
|
|
205
|
+
const offsetLeft = boundingRect.left - relativeBoundingRect.left;
|
|
206
|
+
if (position === index$1.TooltipPosition.TOP ||
|
|
207
|
+
position === index$1.TooltipPosition.TOP_RIGHT ||
|
|
208
|
+
position === index$1.TooltipPosition.TOP_LEFT) {
|
|
209
|
+
style.top = "auto";
|
|
210
|
+
style.bottom = `${offsetBottom + boundingRect.height}px`;
|
|
211
|
+
}
|
|
212
|
+
if (position === index$1.TooltipPosition.BOTTOM ||
|
|
213
|
+
position === index$1.TooltipPosition.BOTTOM_RIGHT ||
|
|
214
|
+
position === index$1.TooltipPosition.BOTTOM_LEFT) {
|
|
215
|
+
style.top = `${offsetTop + boundingRect.height}px`;
|
|
216
|
+
style.bottom = "auto";
|
|
217
|
+
}
|
|
218
|
+
if (position === index$1.TooltipPosition.TOP ||
|
|
219
|
+
position === index$1.TooltipPosition.BOTTOM) {
|
|
220
|
+
style.left = `${offsetLeft +
|
|
221
|
+
(boundingRect.width / 2) -
|
|
222
|
+
(this.host.clientWidth / 2)}px`;
|
|
223
|
+
}
|
|
224
|
+
if (position === index$1.TooltipPosition.TOP_RIGHT ||
|
|
225
|
+
position === index$1.TooltipPosition.BOTTOM_RIGHT) {
|
|
226
|
+
style.right = "auto";
|
|
227
|
+
style.left = `${offsetLeft + boundingRect.width}px`;
|
|
228
|
+
}
|
|
229
|
+
if (position === index$1.TooltipPosition.TOP_LEFT ||
|
|
230
|
+
position === index$1.TooltipPosition.BOTTOM_LEFT) {
|
|
231
|
+
style.left = "auto";
|
|
232
|
+
style.right = `${offsetRight + boundingRect.width}px`;
|
|
233
|
+
}
|
|
234
|
+
if (position === index$1.TooltipPosition.RIGHT ||
|
|
235
|
+
position === index$1.TooltipPosition.LEFT) {
|
|
236
|
+
style.top = `${offsetTop +
|
|
237
|
+
(boundingRect.height / 2) -
|
|
238
|
+
(this.host.clientHeight / 2)}px`;
|
|
239
|
+
style.bottom = "auto";
|
|
240
|
+
}
|
|
241
|
+
if (position === index$1.TooltipPosition.RIGHT) {
|
|
242
|
+
style.right = "auto";
|
|
243
|
+
style.left = `${offsetLeft + boundingRect.width}px`;
|
|
244
|
+
}
|
|
245
|
+
if (position === index$1.TooltipPosition.LEFT) {
|
|
246
|
+
style.left = "auto";
|
|
247
|
+
style.right = `${offsetRight + boundingRect.width}px`;
|
|
248
|
+
}
|
|
249
|
+
this.position = position;
|
|
250
|
+
}
|
|
251
|
+
componentWillLoad() {
|
|
252
|
+
// Keep backward compatibility
|
|
253
|
+
if (this.content) {
|
|
254
|
+
this.open = true;
|
|
33
255
|
}
|
|
256
|
+
this.validateType(this.type);
|
|
257
|
+
this.onOpen();
|
|
34
258
|
}
|
|
35
259
|
render() {
|
|
36
260
|
if (this.content) {
|
|
37
|
-
return (index.h(
|
|
261
|
+
return (index.h(index.Host, { class: "legacy", position: this.type }, this.content));
|
|
38
262
|
}
|
|
39
|
-
return (index.h(
|
|
263
|
+
return (index.h(index.Host, { position: this.position }, index.h("slot", null)));
|
|
40
264
|
}
|
|
265
|
+
get host() { return index.getElement(this); }
|
|
266
|
+
static get watchers() { return {
|
|
267
|
+
"type": ["validateType"],
|
|
268
|
+
"position": ["onPositionChange"],
|
|
269
|
+
"open": ["onOpen"]
|
|
270
|
+
}; }
|
|
41
271
|
};
|
|
42
272
|
ZTooltip.style = stylesCss;
|
|
43
273
|
|
|
@@ -2,53 +2,51 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const
|
|
7
|
-
const breakpoints = require('./breakpoints-da666109.js');
|
|
5
|
+
const index = require('./index-9ca7d5e5.js');
|
|
6
|
+
const breakpoints = require('./breakpoints-a55736d0.js');
|
|
8
7
|
|
|
9
|
-
const stylesCss = ":host{
|
|
8
|
+
const stylesCss = ":host{background-color:var(--gray900)}:host(.inverse){background-color:var(--color-white)}button{cursor:pointer;display:flex;flex-direction:column;width:100%;margin:0;background-color:var(--gray900);border:none;padding:0;letter-spacing:0.16px;white-space:nowrap}button.inverse{background-color:var(--color-white)}button div.firstline{display:flex;justify-content:flex-end;align-items:center;max-width:200px}button.open div.firstline{max-width:none}z-icon{padding:0 2px;fill:var(--color-white)}z-icon.inverse{fill:var(--gray900)}ul{box-sizing:border-box;position:absolute;left:0;padding:calc(var(--space-unit) / 2) calc(var(--space-unit) * 2) 0 calc(var(--space-unit) * 2);width:100%;margin:calc(var(--space-unit) * 1.5) 0 0 0;background-color:var(--gray900);font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:14px;line-height:20px;letter-spacing:0.3px}ul.inverse{background-color:var(--color-white)}ul>li{display:flex;justify-content:flex-end;white-space:nowrap;padding:calc(var(--space-unit) * 1.5 - 1px) 0;margin:0;border-bottom:var(--border-base) solid var(--gray700)}ul>li.inverse{border-bottom-color:var(--gray400)}ul>li:first-child{border-top:none;padding-top:0;padding-bottom:calc(var(--space-unit) + 6px);flex-direction:column;align-items:end}ul>li:last-child{border-bottom:none;margin-bottom:0}#guestbutton{box-sizing:border-box;display:inline-flex;flex-direction:row;align-items:center;justify-content:center;width:100%;font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:14px;line-height:1;letter-spacing:0.3px;border-width:var(--border-size-medium);border-style:solid;border-radius:var(--border-radius);vertical-align:middle;text-transform:uppercase;text-decoration:none;cursor:pointer;outline:none;fill:currentColor;height:32px;min-width:32px;padding:0 calc(var(--space-unit) * 2);background-color:var(--color-white);border-color:var(--color-white);color:var(--gray800)}#guestbutton.inverse{background-color:var(--gray800);border-color:var(--gray800);color:var(--color-white)}.userfullname{padding:0;overflow:hidden;max-width:250px;text-overflow:ellipsis;width:100%;color:var(--color-white);font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:16px;line-height:24px;letter-spacing:0;text-align:right}.userfullname.inverse{color:var(--gray800)}.useremail{color:var(--color-white);font-family:var(--font-family-sans);font-weight:var(--font-rg);font-size:12px;line-height:16px;letter-spacing:0.32px;overflow:hidden;text-overflow:ellipsis;width:100%;text-align:right}.useremail.inverse{color:var(--gray800)}@media only screen and (min-width: 768px){:host{height:calc(var(--space-unit) * 4);background-color:var(--gray900)}:host(.inverse){background-color:var(--color-white)}:host>div{position:relative;top:50%;transform:translateY(-50%)}:host>div.open{top:auto;transform:none}:host>div>div{padding:0}:host>div>div.open{position:absolute;right:calc(var(--space-unit) * -1);box-shadow:0px 2px calc(var(--space-unit) * .5) 0px rgba(0, 0, 0, 0.5);background-color:var(--color-white);margin-top:calc(var(--space-unit) / 2);padding:calc(var(--space-unit) / 2 + 1px) var(--space-unit) 0 var(--space-unit);transform:translate(0, -4px)}:host>div>div.inverse.open{background-color:var(--gray800)}button{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-end;align-items:end;align-content:center}button.open{background-color:var(--color-white);border-top:var(--border-size-small) solid var(--color-white);border-top-left-radius:calc(var(--space-unit) * .5);border-top-right-radius:calc(var(--space-unit) * .5);max-width:initial;margin-left:var(--space-unit);padding-right:var(--space-unit)}button.open.inverse{border-top-color:var(--gray800);background-color:var(--gray800)}button:not(.open) z-icon{fill:var(--color-white)}button:not(.open) z-icon.inverse{fill:var(--gray800)}button.open z-icon{fill:var(--gray800)}button.open z-icon.inverse{fill:var(--color-white)}.userfullname{font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:14px;line-height:20px;letter-spacing:0.16px;padding:0 calc(var(--space-unit) - 6px) 0 calc(var(--space-unit) - 2px);width:auto}.userfullname.inverse{color:var(--gray800)}button.open div.userfullname{color:var(--gray800);max-width:none;text-overflow:clip}button.open div.userfullname.inverse{color:var(--color-white)}.useremail{padding-right:calc(var(--space-unit) * 3 - 2px);box-sizing:border-box}button.open div.useremail{color:var(--gray800)}button.open div.useremail.inverse{color:var(--color-white)}ul{position:initial;left:initial;padding:0;width:100%;background-color:var(--color-white)}ul.inverse{border-bottom-color:var(--gray800);background-color:var(--gray800)}ul>li{color:var(--gray800);border-bottom:var(--border-base) solid var(--gray400);margin:0 var(--space-unit)}ul>li.inverse{color:var(--color-white)}ul>li:first-child{border-top:var(--border-base) solid var(--gray400);padding-top:calc(var(--space-unit) + 3px);padding-bottom:calc(var(--space-unit) + 5px)}}";
|
|
10
9
|
|
|
11
10
|
const ZUserDropdown = class {
|
|
12
11
|
constructor(hostRef) {
|
|
13
12
|
index.registerInstance(this, hostRef);
|
|
14
13
|
this.userButtonClick = index.createEvent(this, "userButtonClick", 7);
|
|
15
14
|
this.dropdownMenuLinkClick = index.createEvent(this, "dropdownMenuLinkClick", 7);
|
|
16
|
-
/**
|
|
17
|
-
this.
|
|
18
|
-
this.
|
|
19
|
-
this.
|
|
20
|
-
|
|
21
|
-
componentWillLoad() {
|
|
22
|
-
this.setMobileAndGhostDivWidth();
|
|
15
|
+
/** if inner components colors are inverted, or not, default false */
|
|
16
|
+
this.useInverseColors = false;
|
|
17
|
+
this.isMenuOpen = false;
|
|
18
|
+
this.handleLoggedButtonClick = this.handleLoggedButtonClick.bind(this);
|
|
19
|
+
this.emitDropdownMenuLinkClick = this.emitDropdownMenuLinkClick.bind(this);
|
|
23
20
|
}
|
|
24
21
|
componentDidLoad() {
|
|
25
|
-
this.
|
|
22
|
+
this.setMobileAndDivToResizeWidth();
|
|
26
23
|
}
|
|
27
24
|
componentWillUpdate() {
|
|
28
|
-
this.
|
|
25
|
+
this.setMobileAndDivToResizeWidth();
|
|
29
26
|
}
|
|
30
27
|
componentWillRender() {
|
|
31
|
-
this.
|
|
32
|
-
typeof this.
|
|
33
|
-
|
|
34
|
-
: this.menucontent;
|
|
28
|
+
if (this.menuContent) {
|
|
29
|
+
this.linkArray = typeof this.menuContent === "string" ? JSON.parse(this.menuContent) : this.menuContent;
|
|
30
|
+
}
|
|
35
31
|
}
|
|
36
|
-
|
|
32
|
+
setMobileAndDivToResizeWidth() {
|
|
37
33
|
var _a;
|
|
38
|
-
this.
|
|
39
|
-
window.screen.width <= breakpoints.mobileBreakpoint ||
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
34
|
+
if (this.divToResize) {
|
|
35
|
+
this.isMobile = window.screen.width <= breakpoints.mobileBreakpoint || window.innerWidth <= breakpoints.mobileBreakpoint;
|
|
36
|
+
if (this.logged && !this.isMobile && this.isMenuOpen) {
|
|
37
|
+
this.divToResize.style.width = `${(_a = this.userButton) === null || _a === void 0 ? void 0 : _a.offsetWidth}px`;
|
|
38
|
+
}
|
|
39
|
+
else {
|
|
40
|
+
this.divToResize.removeAttribute('style');
|
|
41
|
+
}
|
|
42
|
+
}
|
|
46
43
|
}
|
|
47
44
|
emitUserButtonClick() {
|
|
48
|
-
this.userButtonClick.emit(this.
|
|
45
|
+
this.userButtonClick.emit(this.isMenuOpen);
|
|
49
46
|
}
|
|
50
47
|
emitDropdownMenuLinkClick(e) {
|
|
51
|
-
this.
|
|
48
|
+
this.isMenuOpen = false;
|
|
49
|
+
this.dropdownMenuLinkClick.emit({ e, linkId: e.detail.linkId });
|
|
52
50
|
}
|
|
53
51
|
handleResize() {
|
|
54
52
|
this.isMobile = window.innerWidth <= breakpoints.mobileBreakpoint;
|
|
@@ -58,41 +56,38 @@ const ZUserDropdown = class {
|
|
|
58
56
|
}
|
|
59
57
|
handleClickOutside(e) {
|
|
60
58
|
if (e.target.nodeName !== "Z-USER-DROPDOWN") {
|
|
61
|
-
this.
|
|
59
|
+
this.isMenuOpen = false;
|
|
62
60
|
}
|
|
63
61
|
}
|
|
64
|
-
|
|
65
|
-
this.
|
|
62
|
+
handleLoggedButtonClick() {
|
|
63
|
+
this.isMenuOpen = !this.isMenuOpen;
|
|
66
64
|
this.emitUserButtonClick();
|
|
67
65
|
}
|
|
68
|
-
handleDropdownLinkClick(e) {
|
|
69
|
-
this.emitDropdownMenuLinkClick(e);
|
|
70
|
-
}
|
|
71
|
-
renderCaretIcon() {
|
|
72
|
-
const direction = this.ismenuopen ? "up" : "down";
|
|
73
|
-
return (index.h("z-icon", { name: `caret-${direction}-filled`, height: 18, width: 18 }));
|
|
74
|
-
}
|
|
75
66
|
renderGuestButton() {
|
|
76
|
-
return (index.h("
|
|
67
|
+
return (index.h("button", { id: "guestbutton", class: this.useInverseColors ? "inverse" : "", onClick: () => this.emitUserButtonClick() }, "ENTRA"));
|
|
77
68
|
}
|
|
78
69
|
renderLoggedButton() {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
if (this.theme === index$1.ThemeVariant.light)
|
|
83
|
-
return "black";
|
|
84
|
-
return this.isMobile ? "white" : "black";
|
|
70
|
+
const direction = this.isMenuOpen ? "up" : "down";
|
|
71
|
+
const colorClass = this.useInverseColors ? "inverse" : "";
|
|
72
|
+
return (index.h("button", { ref: (el) => (this.userButton = el), title: this.userFullName, class: `${colorClass} ${this.isMenuOpen ? "open" : ""}`, onClick: this.handleLoggedButtonClick }, index.h("div", null, index.h("div", { class: "firstline" }, index.h("z-icon", { class: colorClass, name: "user-avatar-filled", height: 16, width: 16 }), !this.isMobile && index.h("div", { class: `userfullname ${colorClass}` }, this.userFullName), index.h("z-icon", { class: colorClass, name: `caret-${direction}-filled`, height: 16, width: 16 })), !this.isMobile && this.isMenuOpen && index.h("div", { class: `useremail ${colorClass}` }, this.userEmail))));
|
|
85
73
|
}
|
|
86
|
-
|
|
87
|
-
|
|
74
|
+
getZLinkTextcolor() {
|
|
75
|
+
if (this.isMobile) {
|
|
76
|
+
return this.useInverseColors ? "black" : "white";
|
|
77
|
+
}
|
|
78
|
+
else {
|
|
79
|
+
return this.useInverseColors ? "white" : "black";
|
|
80
|
+
}
|
|
88
81
|
}
|
|
89
82
|
renderDropdownMenu() {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
83
|
+
const colorClass = this.useInverseColors ? "inverse" : "";
|
|
84
|
+
return (this.isMenuOpen && (index.h("ul", { class: colorClass }, this.isMobile &&
|
|
85
|
+
index.h("li", { class: colorClass }, index.h("div", { class: `userfullname ${colorClass}` }, this.userFullName), index.h("div", { class: `useremail ${colorClass}` }, this.userEmail)), this.linkArray && this.linkArray.map((link) => index.h("li", { id: link.id, class: colorClass }, index.h("z-link", { textcolor: this.getZLinkTextcolor(), href: link.link, htmlid: link.id, target: link.target, icon: link.icon, onZLinkClick: this.emitDropdownMenuLinkClick }, link.label))))));
|
|
93
86
|
}
|
|
94
87
|
render() {
|
|
95
|
-
|
|
88
|
+
const openClass = `${this.logged && this.isMenuOpen ? "open" : ""}`;
|
|
89
|
+
const colorClass = this.useInverseColors ? "inverse" : "";
|
|
90
|
+
return (index.h(index.Host, { class: colorClass }, index.h("div", { ref: (el) => (this.divToResize = el), class: openClass }, index.h("div", { class: `${colorClass} ${openClass}` }, this.logged ? this.renderLoggedButton() : this.renderGuestButton(), this.logged && this.renderDropdownMenu()))));
|
|
96
91
|
}
|
|
97
92
|
};
|
|
98
93
|
ZUserDropdown.style = stylesCss;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-9ca7d5e5.js');
|
|
6
|
+
|
|
7
|
+
const stylesCss = ":host{border:0;clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;margin:0 -1px -1px 0;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}";
|
|
8
|
+
|
|
9
|
+
const ZVisuallyHidden = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
}
|
|
13
|
+
render() {
|
|
14
|
+
return index.h("slot", null);
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
ZVisuallyHidden.style = stylesCss;
|
|
18
|
+
|
|
19
|
+
exports.z_visually_hidden = ZVisuallyHidden;
|
|
@@ -14,65 +14,110 @@
|
|
|
14
14
|
{
|
|
15
15
|
"name": "@zanichelli/albe-web-components",
|
|
16
16
|
"tags": [
|
|
17
|
+
"z-alert",
|
|
17
18
|
"z-app-header",
|
|
18
19
|
"z-app-switcher",
|
|
19
20
|
"z-app-topbar",
|
|
21
|
+
"z-aria-alert",
|
|
22
|
+
"z-avatar",
|
|
20
23
|
"z-body",
|
|
21
24
|
"z-button",
|
|
25
|
+
"z-button-deprecated",
|
|
22
26
|
"z-button-filter",
|
|
23
27
|
"z-button-sort",
|
|
24
28
|
"z-candybar",
|
|
25
29
|
"z-card",
|
|
26
|
-
"z-
|
|
27
|
-
"z-card-body",
|
|
28
|
-
"z-card-cover",
|
|
29
|
-
"z-card-footer",
|
|
30
|
-
"z-card-header",
|
|
31
|
-
"z-card-icon",
|
|
32
|
-
"z-card-list",
|
|
30
|
+
"z-carousel",
|
|
33
31
|
"z-chip",
|
|
32
|
+
"z-chip-deprecated",
|
|
34
33
|
"z-combobox",
|
|
34
|
+
"z-contextual-menu",
|
|
35
35
|
"z-cookiebar",
|
|
36
|
+
"z-date-picker",
|
|
36
37
|
"z-divider",
|
|
38
|
+
"z-dragdrop-area",
|
|
39
|
+
"z-file",
|
|
40
|
+
"z-file-upload",
|
|
37
41
|
"z-footer",
|
|
38
42
|
"z-footer-link",
|
|
39
43
|
"z-footer-section",
|
|
40
44
|
"z-footer-social",
|
|
41
|
-
"z-
|
|
45
|
+
"z-ghost-loading",
|
|
42
46
|
"z-heading",
|
|
43
47
|
"z-icon",
|
|
44
48
|
"z-icon-package",
|
|
45
49
|
"z-info-box",
|
|
46
50
|
"z-input",
|
|
51
|
+
"z-input-deprecated",
|
|
47
52
|
"z-input-label",
|
|
48
53
|
"z-input-message",
|
|
49
54
|
"z-link",
|
|
50
55
|
"z-list",
|
|
51
|
-
"z-list-
|
|
56
|
+
"z-list-element",
|
|
57
|
+
"z-list-group",
|
|
52
58
|
"z-logo",
|
|
53
59
|
"z-menu",
|
|
54
60
|
"z-menu-dropdown",
|
|
55
61
|
"z-menu-section",
|
|
62
|
+
"z-messages-pocket",
|
|
56
63
|
"z-modal",
|
|
57
64
|
"z-modal-login",
|
|
65
|
+
"z-myz-card",
|
|
66
|
+
"z-myz-card-alert",
|
|
67
|
+
"z-myz-card-body",
|
|
68
|
+
"z-myz-card-cover",
|
|
69
|
+
"z-myz-card-dictionary",
|
|
70
|
+
"z-myz-card-footer",
|
|
71
|
+
"z-myz-card-footer-sections",
|
|
72
|
+
"z-myz-card-header",
|
|
73
|
+
"z-myz-card-icon",
|
|
74
|
+
"z-myz-card-info",
|
|
75
|
+
"z-myz-card-list",
|
|
76
|
+
"z-myz-list",
|
|
77
|
+
"z-myz-list-item",
|
|
78
|
+
"z-myz-topbar",
|
|
79
|
+
"z-navigation-tab",
|
|
80
|
+
"z-navigation-tab-link",
|
|
81
|
+
"z-navigation-tabs",
|
|
82
|
+
"z-notification",
|
|
83
|
+
"z-offcanvas",
|
|
84
|
+
"z-otp",
|
|
85
|
+
"z-pagination",
|
|
58
86
|
"z-pagination-bar",
|
|
59
87
|
"z-pagination-page",
|
|
60
88
|
"z-panel-elem",
|
|
61
|
-
"z-
|
|
62
|
-
"z-
|
|
63
|
-
"z-
|
|
64
|
-
"z-
|
|
65
|
-
"z-
|
|
66
|
-
"z-
|
|
67
|
-
"z-registro-table-row",
|
|
68
|
-
"z-registro-table-sticky-footer",
|
|
89
|
+
"z-pocket",
|
|
90
|
+
"z-pocket-body",
|
|
91
|
+
"z-pocket-header",
|
|
92
|
+
"z-pocket-message",
|
|
93
|
+
"z-popover",
|
|
94
|
+
"z-section-title",
|
|
69
95
|
"z-select",
|
|
96
|
+
"z-skip-to-content",
|
|
97
|
+
"z-slideshow",
|
|
98
|
+
"z-status-tag",
|
|
70
99
|
"z-stepper",
|
|
71
100
|
"z-stepper-item",
|
|
101
|
+
"z-table",
|
|
102
|
+
"z-table-body",
|
|
103
|
+
"z-table-cell",
|
|
104
|
+
"z-table-empty-box",
|
|
105
|
+
"z-table-expanded-row",
|
|
106
|
+
"z-table-footer",
|
|
107
|
+
"z-table-head",
|
|
108
|
+
"z-table-header",
|
|
109
|
+
"z-table-header-row",
|
|
110
|
+
"z-table-row",
|
|
111
|
+
"z-table-sticky-footer",
|
|
112
|
+
"z-tag",
|
|
113
|
+
"z-toast-notification",
|
|
114
|
+
"z-toast-notification-list",
|
|
72
115
|
"z-toggle-button",
|
|
116
|
+
"z-toggle-switch",
|
|
73
117
|
"z-tooltip",
|
|
74
118
|
"z-typography",
|
|
75
|
-
"z-user-dropdown"
|
|
119
|
+
"z-user-dropdown",
|
|
120
|
+
"z-visually-hidden"
|
|
76
121
|
]
|
|
77
122
|
}
|
|
78
123
|
],
|
|
@@ -53,10 +53,15 @@
|
|
|
53
53
|
width: initial;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
:host([variant="preview"])
|
|
56
|
+
:host([variant="preview"]) .license-input-container {
|
|
57
|
+
width: 100%;
|
|
57
58
|
margin-right: calc(var(--space-unit) * 2);
|
|
58
59
|
}
|
|
59
60
|
|
|
61
|
+
:host .license-input-container > z-input {
|
|
62
|
+
width: 100%;
|
|
63
|
+
}
|
|
64
|
+
|
|
60
65
|
/* Tablet breakpoint */
|
|
61
66
|
@media only screen and (min-width: 768px) {
|
|
62
67
|
:host {
|