@zanichelli/delta_share 3.0.2 → 3.2.0
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-e7c8838e.js} +3 -1
- package/dist/wc/cjs/delta_share.cjs.js +1 -1
- package/dist/wc/cjs/{icons-9d7fe21e.js → icons-5006d741.js} +30 -0
- package/dist/wc/cjs/index-0119322e.js +20 -0
- package/dist/wc/cjs/index-044ebc8a.js +67 -0
- package/dist/wc/cjs/index-05a1b9dc.js +70 -0
- package/dist/wc/cjs/index-18a2a552.js +49 -0
- package/dist/wc/cjs/index-47449986.js +41 -0
- package/dist/wc/cjs/index-4a04e2aa.js +21 -0
- package/dist/wc/cjs/index-51009bcf.js +29 -0
- package/dist/wc/cjs/index-6d0848b5.js +21 -0
- package/dist/wc/cjs/index-732ae62f.js +22 -0
- package/dist/wc/cjs/index-81603b4a.js +17 -0
- package/dist/wc/cjs/index-8da01bc6.js +34 -0
- package/dist/wc/cjs/index-9886a665.js +21 -0
- package/dist/wc/cjs/index-a9a1f262.js +79 -0
- package/dist/wc/cjs/{index-1112cdb1.js → index-c0af2262.js} +43 -9
- package/dist/wc/cjs/index-db42857f.js +17 -0
- package/dist/wc/cjs/index-f4792a6f.js +21 -0
- package/dist/wc/cjs/index-f824355b.js +17 -0
- package/dist/wc/cjs/license-activation_11.cjs.entry.js +940 -52
- package/dist/wc/cjs/loader.cjs.js +1 -1
- package/dist/wc/cjs/{utils-3ac19501.js → utils-8fd01df0.js} +13 -3
- package/dist/wc/cjs/{utils-2bfaab77.js → utils-f2cac0dc.js} +1 -1
- package/dist/wc/cjs/z-accordion.cjs.entry.js +67 -0
- package/dist/wc/cjs/z-anchor-navigation.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-app-header.cjs.entry.js +91 -39
- package/dist/wc/cjs/z-aria-alert.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-avatar.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-book-card.cjs.entry.js +111 -0
- package/dist/wc/cjs/z-breadcrumb.cjs.entry.js +232 -0
- package/dist/wc/cjs/z-button-sort.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-card.cjs.entry.js +5 -18
- package/dist/wc/cjs/z-carousel.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-chip.cjs.entry.js +10 -7
- package/dist/wc/cjs/z-combobox.cjs.entry.js +11 -9
- package/dist/wc/cjs/z-contextual-menu.cjs.entry.js +5 -5
- package/dist/wc/cjs/z-cover-hero.cjs.entry.js +24 -7
- package/dist/wc/cjs/z-date-picker.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-divider.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-file-upload.cjs.entry.js +4 -4
- package/dist/wc/cjs/z-file.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-info-reveal.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-list_3.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-menu-section.cjs.entry.js +11 -3
- package/dist/wc/cjs/z-menu.cjs.entry.js +26 -14
- package/dist/wc/cjs/z-messages-pocket.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-myz-card-alert.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-myz-card-dictionary.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-myz-card-footer.cjs.entry.js +14 -2
- package/dist/wc/cjs/z-myz-card-icon.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-myz-card-info.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-myz-card_4.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-myz-list-item.cjs.entry.js +4 -4
- package/dist/wc/cjs/z-navigation-tab-link.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-navigation-tab.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-navigation-tabs.cjs.entry.js +75 -3
- package/dist/wc/cjs/z-offcanvas_2.cjs.entry.js +281 -0
- package/dist/wc/cjs/z-otp.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-pagination.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-pocket_3.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-popover.cjs.entry.js +3 -2
- package/dist/wc/cjs/z-range-picker.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-section-title.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-select.cjs.entry.js +18 -10
- package/dist/wc/cjs/z-skip-to-content.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-slideshow.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-stepper-item.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-table-body.cjs.entry.js +3 -17
- package/dist/wc/cjs/z-table-cell.cjs.entry.js +4 -29
- package/dist/wc/cjs/z-table-deprecated.cjs.entry.js +91 -0
- package/dist/wc/cjs/z-table-empty-box.cjs.entry.js +3 -24
- package/dist/wc/cjs/z-table-expanded-row.cjs.entry.js +3 -12
- package/dist/wc/cjs/z-table-footer.cjs.entry.js +3 -16
- package/dist/wc/cjs/z-table-head.cjs.entry.js +3 -16
- package/dist/wc/cjs/z-table-header-row.cjs.entry.js +3 -15
- package/dist/wc/cjs/z-table-header.cjs.entry.js +6 -75
- package/dist/wc/cjs/z-table-row.cjs.entry.js +4 -36
- package/dist/wc/cjs/z-table-sticky-footer.cjs.entry.js +3 -12
- package/dist/wc/cjs/z-table.cjs.entry.js +36 -58
- package/dist/wc/cjs/z-tbody.cjs.entry.js +10 -0
- package/dist/wc/cjs/z-td.cjs.entry.js +11 -0
- package/dist/wc/cjs/z-tfoot.cjs.entry.js +10 -0
- package/dist/wc/cjs/z-th.cjs.entry.js +11 -0
- package/dist/wc/cjs/z-thead.cjs.entry.js +10 -0
- package/dist/wc/cjs/z-toast-notification-list.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-toast-notification.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-toggle-button.cjs.entry.js +4 -2
- package/dist/wc/cjs/z-toggle-switch.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-tooltip.cjs.entry.js +10 -4
- package/dist/wc/cjs/z-tr.cjs.entry.js +15 -0
- package/dist/wc/collection/collection-manifest.json +10 -1
- package/dist/wc/collection/components/license-activation/license-activation.js +16 -25
- package/dist/wc/collection/components/license-activation-form/license-activation-form.css +11 -12
- package/dist/wc/collection/components/license-activation-form/license-activation-form.js +1 -1
- package/dist/wc/custom-elements/index.js +2415 -640
- package/dist/wc/delta_share/delta_share.esm.js +1 -1
- package/dist/wc/delta_share/p-057858cb.entry.js +1 -0
- package/dist/wc/delta_share/p-06aacfed.entry.js +1 -0
- package/dist/wc/delta_share/{p-42dd4f36.entry.js → p-06fa5b43.entry.js} +1 -1
- package/dist/wc/delta_share/p-09fe90e6.entry.js +1 -0
- package/dist/wc/delta_share/p-0acc73cd.entry.js +1 -0
- package/dist/wc/delta_share/{p-c51ebb01.entry.js → p-0fe7f1ad.entry.js} +1 -1
- package/dist/wc/delta_share/{p-99ffd017.entry.js → p-171202cb.js} +1 -1
- package/dist/wc/delta_share/p-1b8b3092.entry.js +1 -0
- package/dist/wc/delta_share/p-1c4015c7.entry.js +1 -0
- package/dist/wc/delta_share/p-27537f0b.js +1 -0
- package/dist/wc/delta_share/p-2d1b1197.entry.js +1 -0
- package/dist/wc/delta_share/{p-a2b564ef.entry.js → p-2e12c305.entry.js} +1 -1
- package/dist/wc/delta_share/{p-3fa29874.entry.js → p-2eed13ce.entry.js} +1 -1
- package/dist/wc/delta_share/p-30b524e2.entry.js +1 -0
- package/dist/wc/delta_share/{p-81ddcb87.entry.js → p-31922918.entry.js} +1 -1
- package/dist/wc/delta_share/p-3605faee.entry.js +1 -0
- package/dist/wc/delta_share/p-3b4879bc.js +1 -0
- package/dist/wc/delta_share/p-3b7aeb99.entry.js +1 -0
- package/dist/wc/delta_share/p-3de56f4a.entry.js +1 -0
- package/dist/wc/delta_share/{p-950aa417.entry.js → p-3e66faf7.entry.js} +1 -1
- package/dist/wc/delta_share/{p-57f2b8d8.entry.js → p-46e4fe9d.entry.js} +1 -1
- package/dist/wc/delta_share/p-4bcbac62.entry.js +1 -0
- package/dist/wc/delta_share/p-5588386c.entry.js +1 -0
- package/dist/wc/delta_share/p-55924409.entry.js +1 -0
- package/dist/wc/delta_share/p-589b8717.js +1 -0
- package/dist/wc/delta_share/p-5d29a5a7.entry.js +1 -0
- package/dist/wc/delta_share/p-5f021095.js +1 -0
- package/dist/wc/delta_share/{p-b38b27f2.entry.js → p-627de5ca.entry.js} +1 -1
- package/dist/wc/delta_share/p-63f5644d.js +1 -0
- package/dist/wc/delta_share/{p-8876b438.entry.js → p-6619cb5a.entry.js} +1 -1
- package/dist/wc/delta_share/p-6776c695.entry.js +1 -0
- package/dist/wc/delta_share/{p-9ad5616e.entry.js → p-699d0efb.entry.js} +1 -1
- package/dist/wc/delta_share/p-6d1c4af9.js +1 -0
- package/dist/wc/delta_share/p-6d888c61.js +1 -0
- package/dist/wc/delta_share/{p-2f289949.entry.js → p-71af40a8.entry.js} +1 -1
- package/dist/wc/delta_share/{p-8d532866.entry.js → p-74027654.js} +1 -1
- package/dist/wc/delta_share/{p-6d853df0.entry.js → p-75b9448a.entry.js} +1 -1
- package/dist/wc/delta_share/p-776a9611.entry.js +1 -0
- package/dist/wc/delta_share/p-78b1d100.js +1 -0
- package/dist/wc/delta_share/p-7966c7e6.entry.js +1 -0
- package/dist/wc/delta_share/p-7ae04b31.entry.js +1 -0
- package/dist/wc/delta_share/{p-963999a8.entry.js → p-81a1b7cc.entry.js} +1 -1
- package/dist/wc/delta_share/p-83156f0c.entry.js +1 -0
- package/dist/wc/delta_share/{p-8825d8e4.entry.js → p-858613c0.entry.js} +1 -1
- package/dist/wc/delta_share/p-8649f025.entry.js +1 -0
- package/dist/wc/delta_share/{p-c885d25c.entry.js → p-86683a1d.entry.js} +1 -1
- package/dist/wc/delta_share/{p-7546c464.entry.js → p-86dfdccc.js} +1 -1
- package/dist/wc/delta_share/{p-d8e80ee8.entry.js → p-8b3b862c.js} +1 -1
- package/dist/wc/delta_share/p-93504934.entry.js +1 -0
- package/dist/wc/delta_share/p-967acc0e.entry.js +1 -0
- package/dist/wc/delta_share/{p-c436e1af.entry.js → p-974d6235.entry.js} +1 -1
- package/dist/wc/delta_share/{p-3cf0c6a5.entry.js → p-9c3fcef2.entry.js} +1 -1
- package/dist/wc/delta_share/{p-cb16715b.entry.js → p-9cc6b2ff.entry.js} +1 -1
- package/dist/wc/delta_share/p-9d3e6cff.entry.js +1 -0
- package/dist/wc/delta_share/p-a54c1c69.entry.js +1 -0
- package/dist/wc/delta_share/p-a6252f41.entry.js +1 -0
- package/dist/wc/delta_share/{p-c31b160e.entry.js → p-a7afd1e8.entry.js} +1 -1
- package/dist/wc/delta_share/p-ade21d10.entry.js +1 -0
- package/dist/wc/delta_share/p-b0dc0f33.entry.js +1 -0
- package/dist/wc/delta_share/p-bcac4e8a.entry.js +1 -0
- package/dist/wc/delta_share/p-bd5862be.js +1 -0
- package/dist/wc/delta_share/{p-925fc6c3.entry.js → p-bdbd52af.entry.js} +1 -1
- package/dist/wc/delta_share/p-c16ef2ed.js +1 -0
- package/dist/wc/delta_share/{p-0bb97b61.js → p-c176a537.js} +1 -1
- package/dist/wc/delta_share/p-c86f3f18.entry.js +1 -0
- package/dist/wc/delta_share/{p-1009b417.entry.js → p-ca0ad68e.entry.js} +1 -1
- package/dist/wc/delta_share/p-ce9c796f.entry.js +1 -0
- package/dist/wc/delta_share/p-cf49d91e.entry.js +1 -0
- package/dist/wc/delta_share/p-cf520177.entry.js +1 -0
- package/dist/wc/delta_share/p-cfd5d8d9.entry.js +1 -0
- package/dist/wc/delta_share/{p-45dcece4.entry.js → p-d57e2650.entry.js} +1 -1
- package/dist/wc/delta_share/p-d736e782.js +1 -0
- package/dist/wc/delta_share/p-d8592d42.js +1 -0
- package/dist/wc/delta_share/p-d85af2d2.entry.js +1 -0
- package/dist/wc/delta_share/p-d91beeb4.js +1 -0
- package/dist/wc/delta_share/{p-6c54d53f.entry.js → p-db957062.entry.js} +1 -1
- package/dist/wc/delta_share/p-df19c0b3.entry.js +3 -0
- package/dist/wc/delta_share/p-df665c83.entry.js +1 -0
- package/dist/wc/delta_share/p-e27aa743.entry.js +1 -0
- package/dist/wc/delta_share/p-e47768ad.entry.js +1 -0
- package/dist/wc/delta_share/p-e533db54.entry.js +1 -0
- package/dist/wc/delta_share/{p-0aa553ea.entry.js → p-e849b3b3.entry.js} +1 -1
- package/dist/wc/delta_share/p-e9fa5c23.js +1 -0
- package/dist/wc/delta_share/p-ecb09670.js +1 -0
- package/dist/wc/delta_share/p-f366927f.entry.js +1 -0
- package/dist/wc/delta_share/{p-badf3f24.entry.js → p-f6bd0767.js} +1 -1
- package/dist/wc/delta_share/p-f8604cd3.entry.js +1 -0
- package/dist/wc/delta_share/p-fe94390e.entry.js +1 -0
- package/dist/wc/delta_share/{p-5e503d5f.entry.js → p-fff3f7a2.entry.js} +1 -1
- package/dist/wc/esm/breakpoints-3c3dbb8c.js +5 -0
- package/dist/wc/esm/delta_share.js +1 -1
- package/dist/wc/esm/{icons-7a34b033.js → icons-5cd8a05c.js} +30 -0
- package/dist/wc/esm/index-01c34720.js +77 -0
- package/dist/wc/esm/index-23578879.js +19 -0
- package/dist/wc/esm/index-2dfebd9d.js +15 -0
- package/dist/wc/esm/index-474bdeac.js +18 -0
- package/dist/wc/esm/index-4cbd9bd5.js +19 -0
- package/dist/wc/esm/index-5ee15750.js +68 -0
- package/dist/wc/esm/{index-4f1e2705.js → index-6b9f0af9.js} +44 -10
- package/dist/wc/esm/index-7ab3efeb.js +15 -0
- package/dist/wc/esm/index-8304b962.js +65 -0
- package/dist/wc/esm/index-8c51661a.js +19 -0
- package/dist/wc/esm/index-a4bf756b.js +19 -0
- package/dist/wc/esm/index-a4c6be93.js +39 -0
- package/dist/wc/esm/index-a9ad9a02.js +47 -0
- package/dist/wc/esm/index-be1fa551.js +32 -0
- package/dist/wc/esm/index-d0687862.js +27 -0
- package/dist/wc/esm/index-eb1fc2a8.js +15 -0
- package/dist/wc/esm/index-fcff2847.js +20 -0
- package/dist/wc/esm/license-activation_11.entry.js +940 -52
- package/dist/wc/esm/loader.js +1 -1
- package/dist/wc/esm/{utils-5a24a17b.js → utils-90d51f4b.js} +13 -4
- package/dist/wc/esm/{utils-711517a4.js → utils-e64576be.js} +1 -1
- package/dist/wc/esm/z-accordion.entry.js +63 -0
- package/dist/wc/esm/z-anchor-navigation.entry.js +1 -1
- package/dist/wc/esm/z-app-header.entry.js +91 -39
- package/dist/wc/esm/z-aria-alert.entry.js +1 -1
- package/dist/wc/esm/z-avatar.entry.js +1 -1
- package/dist/wc/esm/z-book-card.entry.js +107 -0
- package/dist/wc/esm/z-breadcrumb.entry.js +228 -0
- package/dist/wc/esm/z-button-sort.entry.js +2 -2
- package/dist/wc/esm/z-card.entry.js +6 -19
- package/dist/wc/esm/z-carousel.entry.js +2 -2
- package/dist/wc/esm/z-chip.entry.js +10 -7
- package/dist/wc/esm/z-combobox.entry.js +11 -9
- package/dist/wc/esm/z-contextual-menu.entry.js +5 -5
- package/dist/wc/esm/z-cover-hero.entry.js +24 -7
- package/dist/wc/esm/z-date-picker.entry.js +2 -2
- package/dist/wc/esm/z-divider.entry.js +1 -1
- package/dist/wc/esm/z-file-upload.entry.js +4 -4
- package/dist/wc/esm/z-file.entry.js +2 -2
- package/dist/wc/esm/z-info-reveal.entry.js +1 -1
- package/dist/wc/esm/z-list_3.entry.js +2 -2
- package/dist/wc/esm/z-menu-section.entry.js +11 -3
- package/dist/wc/esm/z-menu.entry.js +26 -14
- package/dist/wc/esm/z-messages-pocket.entry.js +1 -1
- package/dist/wc/esm/z-myz-card-alert.entry.js +1 -1
- package/dist/wc/esm/z-myz-card-dictionary.entry.js +1 -1
- package/dist/wc/esm/z-myz-card-footer.entry.js +15 -3
- package/dist/wc/esm/z-myz-card-icon.entry.js +1 -1
- package/dist/wc/esm/z-myz-card-info.entry.js +3 -3
- package/dist/wc/esm/z-myz-card_4.entry.js +3 -3
- package/dist/wc/esm/z-myz-list-item.entry.js +4 -4
- package/dist/wc/esm/z-navigation-tab-link.entry.js +3 -3
- package/dist/wc/esm/z-navigation-tab.entry.js +3 -3
- package/dist/wc/esm/z-navigation-tabs.entry.js +75 -3
- package/dist/wc/esm/z-offcanvas_2.entry.js +276 -0
- package/dist/wc/esm/z-otp.entry.js +1 -1
- package/dist/wc/esm/z-pagination.entry.js +1 -1
- package/dist/wc/esm/z-pocket_3.entry.js +3 -3
- package/dist/wc/esm/z-popover.entry.js +3 -2
- package/dist/wc/esm/z-range-picker.entry.js +2 -2
- package/dist/wc/esm/z-section-title.entry.js +2 -2
- package/dist/wc/esm/z-select.entry.js +18 -10
- package/dist/wc/esm/z-skip-to-content.entry.js +3 -3
- package/dist/wc/esm/z-slideshow.entry.js +3 -3
- package/dist/wc/esm/z-stepper-item.entry.js +1 -1
- package/dist/wc/esm/z-table-body.entry.js +2 -20
- package/dist/wc/esm/z-table-cell.entry.js +3 -32
- package/dist/wc/esm/z-table-deprecated.entry.js +87 -0
- package/dist/wc/esm/z-table-empty-box.entry.js +2 -27
- package/dist/wc/esm/z-table-expanded-row.entry.js +2 -15
- package/dist/wc/esm/z-table-footer.entry.js +2 -19
- package/dist/wc/esm/z-table-head.entry.js +2 -19
- package/dist/wc/esm/z-table-header-row.entry.js +2 -18
- package/dist/wc/esm/z-table-header.entry.js +5 -78
- package/dist/wc/esm/z-table-row.entry.js +3 -39
- package/dist/wc/esm/z-table-sticky-footer.entry.js +2 -15
- package/dist/wc/esm/z-table.entry.js +37 -59
- package/dist/wc/esm/z-tbody.entry.js +2 -0
- package/dist/wc/esm/z-td.entry.js +3 -0
- package/dist/wc/esm/z-tfoot.entry.js +2 -0
- package/dist/wc/esm/z-th.entry.js +3 -0
- package/dist/wc/esm/z-thead.entry.js +2 -0
- package/dist/wc/esm/z-toast-notification-list.entry.js +1 -1
- package/dist/wc/esm/z-toast-notification.entry.js +2 -2
- package/dist/wc/esm/z-toggle-button.entry.js +4 -2
- package/dist/wc/esm/z-toggle-switch.entry.js +3 -3
- package/dist/wc/esm/z-tooltip.entry.js +10 -4
- package/dist/wc/esm/z-tr.entry.js +7 -0
- package/dist/wc/types/components/license-activation/license-activation.d.ts +1 -1
- package/package.json +1 -1
- package/dist/wc/cjs/z-app-switcher.cjs.entry.js +0 -29
- package/dist/wc/cjs/z-offcanvas.cjs.entry.js +0 -70
- package/dist/wc/cjs/z-searchbar.cjs.entry.js +0 -235
- package/dist/wc/delta_share/p-0434c900.entry.js +0 -1
- package/dist/wc/delta_share/p-063881e2.entry.js +0 -1
- package/dist/wc/delta_share/p-11cc4828.entry.js +0 -3
- package/dist/wc/delta_share/p-1c2d7c30.entry.js +0 -1
- package/dist/wc/delta_share/p-1d2cb6f9.entry.js +0 -1
- package/dist/wc/delta_share/p-23905d08.entry.js +0 -1
- package/dist/wc/delta_share/p-29310a24.entry.js +0 -1
- package/dist/wc/delta_share/p-42e9c740.entry.js +0 -1
- package/dist/wc/delta_share/p-500ff0dd.entry.js +0 -1
- package/dist/wc/delta_share/p-51431ace.js +0 -1
- package/dist/wc/delta_share/p-5530ca81.entry.js +0 -1
- package/dist/wc/delta_share/p-5d88112c.entry.js +0 -1
- package/dist/wc/delta_share/p-61264c72.entry.js +0 -1
- package/dist/wc/delta_share/p-64decd7d.entry.js +0 -1
- package/dist/wc/delta_share/p-65be6de6.entry.js +0 -1
- package/dist/wc/delta_share/p-6cb8def6.entry.js +0 -1
- package/dist/wc/delta_share/p-702dd7b4.entry.js +0 -1
- package/dist/wc/delta_share/p-74b71f61.entry.js +0 -1
- package/dist/wc/delta_share/p-78d71789.js +0 -1
- package/dist/wc/delta_share/p-7ae0c21f.js +0 -1
- package/dist/wc/delta_share/p-8794c0c7.entry.js +0 -1
- package/dist/wc/delta_share/p-8cc7c2c7.entry.js +0 -1
- package/dist/wc/delta_share/p-8d91a5b7.entry.js +0 -1
- package/dist/wc/delta_share/p-90fdd23f.entry.js +0 -1
- package/dist/wc/delta_share/p-a150a778.entry.js +0 -1
- package/dist/wc/delta_share/p-afb5bfe5.entry.js +0 -1
- package/dist/wc/delta_share/p-b16fd965.entry.js +0 -1
- package/dist/wc/delta_share/p-c229c90e.entry.js +0 -1
- package/dist/wc/delta_share/p-c9df8e5d.entry.js +0 -1
- package/dist/wc/delta_share/p-cf58d833.js +0 -1
- package/dist/wc/delta_share/p-d69c3b08.entry.js +0 -1
- package/dist/wc/delta_share/p-ddab353c.entry.js +0 -1
- package/dist/wc/delta_share/p-ea6c67f2.entry.js +0 -1
- package/dist/wc/delta_share/p-fc49c455.entry.js +0 -1
- package/dist/wc/esm/breakpoints-e07f80e7.js +0 -4
- package/dist/wc/esm/z-app-switcher.entry.js +0 -25
- package/dist/wc/esm/z-offcanvas.entry.js +0 -66
- package/dist/wc/esm/z-searchbar.entry.js +0 -231
|
@@ -3,76 +3,54 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-9ca7d5e5.js');
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
require('./index-f4792a6f.js');
|
|
7
|
+
require('./index-db42857f.js');
|
|
8
|
+
require('./index-044ebc8a.js');
|
|
9
|
+
require('./index-4a04e2aa.js');
|
|
10
|
+
require('./utils-8fd01df0.js');
|
|
11
|
+
require('./index-c0af2262.js');
|
|
12
|
+
require('./breakpoints-e7c8838e.js');
|
|
13
|
+
require('./index-18a2a552.js');
|
|
14
|
+
require('./index-05a1b9dc.js');
|
|
8
15
|
|
|
9
|
-
const stylesCss = "z-table
|
|
16
|
+
const stylesCss = ":host{--z-table--cells-padding:calc(var(--space-unit) * 2);position:relative;display:block;overflow:auto;max-width:100%;box-sizing:border-box;background-color:var(--color-surface01)}:host([expandable]){--z-table--expand-button-size:40px}:host([bordered]){--z-table--cell-left-border:1px solid var(--color-surface03)}.table{min-width:max-content}";
|
|
10
17
|
|
|
11
18
|
const ZTable = class {
|
|
12
19
|
constructor(hostRef) {
|
|
13
20
|
index.registerInstance(this, hostRef);
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
this.errorMessage = "Siamo spiacenti, non siamo riusciti a caricare il contenuto richiesto";
|
|
18
|
-
/** Sets table with border */
|
|
21
|
+
/**
|
|
22
|
+
* Whether the table cells should show a border between them.
|
|
23
|
+
*/
|
|
19
24
|
this.bordered = false;
|
|
20
|
-
/**
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
this.
|
|
24
|
-
/** Set error status */
|
|
25
|
-
this.error = false;
|
|
26
|
-
/** Sets header sticky */
|
|
27
|
-
this.headerSticky = false;
|
|
28
|
-
/** Set message */
|
|
29
|
-
this.message = "Siamo spiacenti, al momento non sono presenti dati da visualizzare";
|
|
30
|
-
/** Set subtitle */
|
|
31
|
-
this.subtitle = "";
|
|
25
|
+
/**
|
|
26
|
+
* Whether the table contains some expandable rows.
|
|
27
|
+
*/
|
|
28
|
+
this.expandable = false;
|
|
32
29
|
}
|
|
33
|
-
|
|
34
|
-
this.
|
|
35
|
-
}
|
|
36
|
-
handleOrientationChange() {
|
|
37
|
-
this.isMobile = screen.width <= breakpoints.mobileBreakpoint;
|
|
30
|
+
updateExpandable() {
|
|
31
|
+
this.expandable = this.host.querySelectorAll("z-tr[expandable]").length > 0;
|
|
38
32
|
}
|
|
33
|
+
/**
|
|
34
|
+
* Setup the table creating a mutation observer for the expandable attribute.
|
|
35
|
+
*/
|
|
39
36
|
componentWillLoad() {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
this.
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
return (index.h(index.Host, null, index.h("div", { class: tableClass }, index.h("slot", { name: "table-header" })), index.h("z-table-error", null, index.h("div", { class: "error-content", style: { minHeight } }, index.h("slot", { name: "error-image" }), index.h("div", { class: "text" }, index.h("span", { class: "body-3-sb error-message" }, this.errorMessage), index.h("slot", { name: "error-action" }))))));
|
|
54
|
-
}
|
|
55
|
-
renderEmpty(tableClass) {
|
|
56
|
-
const buttonSize = this.isMobile ? index$1.ButtonSize.SMALL : index$1.ButtonSize.BIG;
|
|
57
|
-
const tableContentClass = `${this.hasTableBody ? "table-content" : ""}`;
|
|
58
|
-
if (this.hasTableBody) {
|
|
59
|
-
return (index.h(index.Host, null, index.h("div", { class: tableClass }, index.h("slot", { name: "table-header" }), index.h("div", { class: tableContentClass }, index.h("slot", { name: "table-body" }), index.h("z-table-empty-box", { class: this.bordered && "bordered", message: this.message, subtitle: this.subtitle }, !!this.callToActionLabel && (index.h("z-button", { slot: "cta1", variant: index$1.ButtonVariant.TERTIARY, onClick: () => this.callToAction.emit(), size: buttonSize }, this.callToActionLabel)), !!this.callToActionTwoLabel && (index.h("z-button", { slot: "cta2", variant: index$1.ButtonVariant.TERTIARY, onClick: () => this.callToActionTwo.emit(), size: buttonSize }, this.callToActionTwoLabel)))))));
|
|
60
|
-
}
|
|
61
|
-
return (index.h(index.Host, null, index.h("div", { class: tableClass }, index.h("slot", { name: "table-header" })), index.h("z-table-empty-box", { class: this.bordered && "bordered", message: this.message, subtitle: this.subtitle }, !!this.callToActionLabel && (index.h("z-button", { slot: "cta1", variant: index$1.ButtonVariant.TERTIARY, onClick: () => this.callToAction.emit(), size: buttonSize }, this.callToActionLabel)), !!this.callToActionTwoLabel && (index.h("z-button", { slot: "cta2", variant: index$1.ButtonVariant.TERTIARY, onClick: () => this.callToActionTwo.emit(), size: buttonSize }, this.callToActionTwoLabel)))));
|
|
37
|
+
this.expandableMutationObserver = new MutationObserver(() => {
|
|
38
|
+
this.updateExpandable();
|
|
39
|
+
});
|
|
40
|
+
this.expandableMutationObserver.observe(this.host, {
|
|
41
|
+
childList: true,
|
|
42
|
+
subtree: true,
|
|
43
|
+
attributes: true,
|
|
44
|
+
attributeFilter: ["expandable"],
|
|
45
|
+
attributeOldValue: false,
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
disconnectedCallback() {
|
|
49
|
+
this.expandableMutationObserver.disconnect();
|
|
62
50
|
}
|
|
63
51
|
render() {
|
|
64
|
-
|
|
65
|
-
${this.columnSticky ? "table-column-sticky" : ""}
|
|
66
|
-
${this.headerSticky ? "table-header-sticky" : ""}`;
|
|
67
|
-
if (this.error) {
|
|
68
|
-
return this.renderError(tableClass);
|
|
69
|
-
}
|
|
70
|
-
if (this.empty) {
|
|
71
|
-
return this.renderEmpty(tableClass);
|
|
72
|
-
}
|
|
73
|
-
return (index.h(index.Host, null, index.h("div", { class: tableClass }, index.h("slot", null)), index.h("slot", { name: "sticky-footer" })));
|
|
52
|
+
return (index.h(index.Host, { expandable: this.expandable }, index.h("div", { class: "table", role: "table" }, index.h("slot", null))));
|
|
74
53
|
}
|
|
75
|
-
static get assetsDirs() { return ["assets"]; }
|
|
76
54
|
get host() { return index.getElement(this); }
|
|
77
55
|
};
|
|
78
56
|
ZTable.style = stylesCss;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-9ca7d5e5.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-c0af2262.js');
|
|
7
7
|
|
|
8
8
|
const stylesCss = ":host{position:fixed;z-index:10000;display:flex;flex-flow:column nowrap;margin-top:calc(var(--space-unit) * 2);margin-bottom:calc(var(--space-unit) * 2);font-family:var(--font-family-sans);font-weight:var(--font-rg)}::slotted(z-toast-notification){width:100vw}::slotted(:not(:last-child)){margin-bottom:calc(var(--space-unit) * 1)}:host([position=\"bottom-centre\"]),:host([position=\"bottom-right\"]),:host([position=\"bottom-left\"]){bottom:0;align-items:flex-end;justify-content:flex-end}:host([position=\"top-left\"]),:host([position=\"top-right\"]),:host([position=\"top-centre\"]){top:0;align-items:flex-start;justify-content:flex-start}@media only screen and (min-width: 768px){:host{margin:calc(var(--space-unit) * 3)}:host([position=\"top-centre\"]){top:0;left:50%;align-items:center;justify-content:flex-start;transform:translateX(-50%)}:host([position=\"top-left\"]){top:0;left:0;align-items:flex-start;justify-content:flex-start}:host([position=\"top-right\"]){top:0;right:0;align-items:flex-end;justify-content:flex-start}:host([position=\"bottom-centre\"]){bottom:0;left:50%;align-items:center;justify-content:flex-end;transform:translateX(-50%)}:host([position=\"bottom-right\"]){right:0;bottom:0;align-items:flex-end;justify-content:flex-end}:host([position=\"bottom-left\"]){bottom:0;left:0;align-items:flex-start;justify-content:flex-end}::slotted(z-toast-notification){width:50vw}}@media only screen and (min-width: 1366px){:host{margin:calc(var(--space-unit) * 4)}::slotted(z-toast-notification){width:33vw}}";
|
|
9
9
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-9ca7d5e5.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
7
|
-
const breakpoints = require('./breakpoints-
|
|
6
|
+
const index$1 = require('./index-c0af2262.js');
|
|
7
|
+
const breakpoints = require('./breakpoints-e7c8838e.js');
|
|
8
8
|
const hammer = require('./hammer-4f20813e.js');
|
|
9
9
|
require('./_commonjsHelpers-537d719a.js');
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-9ca7d5e5.js');
|
|
6
6
|
|
|
7
|
-
const stylesCss = "button{height:36px;padding-right:calc(var(--space-unit) * 2);padding-left:0;border:var(--border-size-medium) solid;border-color:transparent;background-color:var(--bg-white);border-radius:var(--border-radius);box-shadow:0 0 4px 0 rgb(0 0 0 / 20%);color:var(--myz-blue);cursor:pointer;fill:var(--myz-blue);font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-sb);outline:none;text-transform:uppercase
|
|
7
|
+
const stylesCss = "button{height:36px;padding-right:calc(var(--space-unit) * 2);padding-left:0;border:var(--border-size-medium) solid;border-color:transparent;background-color:var(--bg-white);border-radius:var(--border-radius);box-shadow:0 0 4px 0 rgb(0 0 0 / 20%);color:var(--myz-blue);cursor:pointer;fill:var(--myz-blue);font-family:var(--dashboard-font);font-size:14px;font-weight:var(--font-sb);outline:none;text-transform:uppercase}button::-moz-focus-inner{border:0}button:hover{color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}button:focus{box-shadow:var(--shadow-focus-primary);color:var(--myz-blue);fill:var(--myz-blue)}button:active{border-color:var(--myz-blue-light);box-shadow:0 2px 4px 0 rgb(0 0 0 / 40%);color:var(--myz-blue-light);fill:var(--myz-blue-light)}button:disabled{color:var(--text-grey-700);fill:var(--text-grey-700)}z-icon{display:inline-block;margin:0 var(--space-unit) 0 calc(var(--space-unit) * 2);transform:rotate(360deg);transition:all 200ms linear}button.isopen{top:-20px}button.avoid-clicks{pointer-events:none}";
|
|
8
8
|
|
|
9
9
|
const ZToggleButton = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -14,6 +14,8 @@ const ZToggleButton = class {
|
|
|
14
14
|
this.isdisabled = false;
|
|
15
15
|
/** open by default (optional) */
|
|
16
16
|
this.opened = false;
|
|
17
|
+
/** aria-label for the button */
|
|
18
|
+
this.ariaLabel = "";
|
|
17
19
|
}
|
|
18
20
|
emitToggleClick() {
|
|
19
21
|
if (this.isdisabled) {
|
|
@@ -26,7 +28,7 @@ const ZToggleButton = class {
|
|
|
26
28
|
return (index.h("button", { tabindex: this.avoidclick ? "-1" : "0", class: {
|
|
27
29
|
"isopen": this.opened,
|
|
28
30
|
"avoid-clicks": this.avoidclick,
|
|
29
|
-
}, disabled: this.isdisabled, onClick: () => this.emitToggleClick() }, index.h("z-icon", { name: this.opened ? "chevron-down" : "chevron-up", width: 16, height: 16 }), this.label));
|
|
31
|
+
}, disabled: this.isdisabled, "aria-expanded": this.opened ? "true" : "false", "aria-label": this.ariaLabel, onClick: () => this.emitToggleClick() }, index.h("z-icon", { name: this.opened ? "chevron-down" : "chevron-up", width: 16, height: 16 }), this.label));
|
|
30
32
|
}
|
|
31
33
|
};
|
|
32
34
|
ZToggleButton.style = stylesCss;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-9ca7d5e5.js');
|
|
6
|
-
const utils = require('./utils-
|
|
7
|
-
const index$1 = require('./index-
|
|
8
|
-
require('./breakpoints-
|
|
6
|
+
const utils = require('./utils-8fd01df0.js');
|
|
7
|
+
const index$1 = require('./index-c0af2262.js');
|
|
8
|
+
require('./breakpoints-e7c8838e.js');
|
|
9
9
|
|
|
10
10
|
const stylesCss = ".sc-z-toggle-switch-h{position:relative;display:inline-flex;font-family:var(--font-family-sans);font-weight:var(--font-rg)}label.sc-z-toggle-switch{display:flex;flex-direction:row;align-items:center;cursor:pointer}label.disabled.sc-z-toggle-switch{cursor:default}label.right.sc-z-toggle-switch{flex-direction:row-reverse}label.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{color:var(--color-text01);letter-spacing:0}label.left.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-right:var(--space-unit)}label.right.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-left:var(--space-unit)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch{position:relative;top:1px;left:1px;display:flex;width:calc(var(--space-unit) * 4);height:18px;align-items:center;background-color:var(--gray500);border-radius:var(--space-unit);color:var(--gray500);cursor:pointer}label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch,label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch{background-color:var(--color-disabled01);cursor:default}label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch>span.circle.sc-z-toggle-switch>z-icon.sc-z-toggle-switch{fill:var(--color-disabled01)}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch{background-color:var(--color-primary01);fill:var(--color-primary01)}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled){box-shadow:var(--shadow-focus-primary);outline:none}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch{outline:none}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled):hover{background-color:var(--color-hover-primary);fill:var(--color-hover-primary)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{position:absolute;top:1px;left:1px;display:flex;width:calc(var(--space-unit) * 2);height:calc(var(--space-unit) * 2);align-items:center;justify-content:center;margin:0;background-color:var(--color-white);border-radius:7px;box-shadow:var(--shadow-1);transition:transform 0.3s ease}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{transform:translateX(calc(100% - 2px))}input[type=\"checkbox\"].sc-z-toggle-switch{position:absolute;z-index:-1;opacity:0;pointer-events:none}";
|
|
11
11
|
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-9ca7d5e5.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-c0af2262.js');
|
|
7
7
|
|
|
8
|
-
const stylesCss = ":host{--z-tooltip-theme--surface:var(--color-surface01);--z-tooltip-theme--text:var(--color-text01);--z-tooltip-shadow-filter:drop-shadow(0 1px 2px var(--shadow-color-base))}:host([dark]) z-popover{--z-popover-theme--surface:var(--color-surface05)}z-popover{--z-popover-padding:var(--space-unit);--z-popover-theme--surface:var(--z-tooltip-theme--surface);--z-popover-theme--text:var(--z-tooltip-theme--text);--z-popover-shadow-filter:var(--z-tooltip-shadow-filter)}";
|
|
8
|
+
const stylesCss = ":host{--z-tooltip-theme--surface:var(--color-surface01);--z-tooltip-theme--text:var(--color-text01);--z-tooltip-shadow-filter:drop-shadow(0 1px 2px var(--shadow-color-base))}:host([dark]) z-popover{--z-popover-theme--surface:var(--color-surface05);--z-popover-theme--text:var(--color-text-inverse)}z-popover{--z-popover-padding:var(--space-unit);--z-popover-theme--surface:var(--z-tooltip-theme--surface);--z-popover-theme--text:var(--z-tooltip-theme--text);--z-popover-shadow-filter:var(--z-tooltip-shadow-filter)}";
|
|
9
9
|
|
|
10
10
|
const ZTooltip = class {
|
|
11
11
|
constructor(hostRef) {
|
|
@@ -18,12 +18,18 @@ const ZTooltip = class {
|
|
|
18
18
|
* The open state of the tooltip.
|
|
19
19
|
*/
|
|
20
20
|
this.open = false;
|
|
21
|
+
/**
|
|
22
|
+
* Reflects `closable` prop of the popover.
|
|
23
|
+
* "If true, the popover can be closed by clicking outside of it or pressing the escape key.
|
|
24
|
+
* Otherwise, it will be closed only programmatically (by setting `open` to `false`)."
|
|
25
|
+
*/
|
|
26
|
+
this.closable = true;
|
|
21
27
|
}
|
|
22
28
|
onPopoverOpenChange() {
|
|
23
|
-
this.open = this.
|
|
29
|
+
this.open = this.popoverEl.open;
|
|
24
30
|
}
|
|
25
31
|
render() {
|
|
26
|
-
return (index.h("z-popover", { ref: (el) => (this.
|
|
32
|
+
return (index.h("z-popover", { ref: (el) => (this.popoverEl = el), bindTo: this.bindTo, open: this.open, position: this.position, closable: this.closable, center: true, showArrow: true }, index.h("slot", null)));
|
|
27
33
|
}
|
|
28
34
|
};
|
|
29
35
|
ZTooltip.style = stylesCss;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-044ebc8a.js');
|
|
6
|
+
require('./index-9ca7d5e5.js');
|
|
7
|
+
require('./utils-8fd01df0.js');
|
|
8
|
+
require('./index-c0af2262.js');
|
|
9
|
+
require('./breakpoints-e7c8838e.js');
|
|
10
|
+
require('./index-18a2a552.js');
|
|
11
|
+
require('./index-05a1b9dc.js');
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
exports.z_tr = index.ZTr;
|
|
@@ -14,13 +14,15 @@
|
|
|
14
14
|
{
|
|
15
15
|
"name": "@zanichelli/albe-web-components",
|
|
16
16
|
"tags": [
|
|
17
|
+
"z-accordion",
|
|
17
18
|
"z-alert",
|
|
18
19
|
"z-anchor-navigation",
|
|
19
20
|
"z-app-header",
|
|
20
|
-
"z-app-switcher",
|
|
21
21
|
"z-aria-alert",
|
|
22
22
|
"z-avatar",
|
|
23
23
|
"z-body",
|
|
24
|
+
"z-book-card",
|
|
25
|
+
"z-breadcrumb",
|
|
24
26
|
"z-button",
|
|
25
27
|
"z-button-sort",
|
|
26
28
|
"z-card",
|
|
@@ -87,6 +89,7 @@
|
|
|
87
89
|
"z-table",
|
|
88
90
|
"z-table-body",
|
|
89
91
|
"z-table-cell",
|
|
92
|
+
"z-table-deprecated",
|
|
90
93
|
"z-table-empty-box",
|
|
91
94
|
"z-table-expanded-row",
|
|
92
95
|
"z-table-footer",
|
|
@@ -96,11 +99,17 @@
|
|
|
96
99
|
"z-table-row",
|
|
97
100
|
"z-table-sticky-footer",
|
|
98
101
|
"z-tag",
|
|
102
|
+
"z-tbody",
|
|
103
|
+
"z-td",
|
|
104
|
+
"z-tfoot",
|
|
105
|
+
"z-th",
|
|
106
|
+
"z-thead",
|
|
99
107
|
"z-toast-notification",
|
|
100
108
|
"z-toast-notification-list",
|
|
101
109
|
"z-toggle-button",
|
|
102
110
|
"z-toggle-switch",
|
|
103
111
|
"z-tooltip",
|
|
112
|
+
"z-tr",
|
|
104
113
|
"z-typography",
|
|
105
114
|
"z-visually-hidden"
|
|
106
115
|
]
|
|
@@ -63,7 +63,7 @@ export class LicenseActivation {
|
|
|
63
63
|
const url = `${this.environment.API_V3_URL}/licenses/real`;
|
|
64
64
|
this.licenseActivationState = Object.assign(Object.assign({}, this.licenseActivationState), { licenseActivationApiLoading: true });
|
|
65
65
|
const requestOpt = {
|
|
66
|
-
credentials: "include"
|
|
66
|
+
credentials: "include",
|
|
67
67
|
};
|
|
68
68
|
const sampleCodeError = state.cms["newdashboard.licenseActivation.error.sampleCodeMessage"];
|
|
69
69
|
// INFO: controllo che il codice inserito non sia quello di esempio
|
|
@@ -121,19 +121,23 @@ export class LicenseActivation {
|
|
|
121
121
|
renderLicenseActivationModal() {
|
|
122
122
|
return (h("license-activation-modal", { id: `${this.host.id}-modal`, "modal-title": this.cms["newdashboard.licenseActivation.modalTitle"], onActivationModalClose: () => this.handleLicenseModalClose(), resetStore: this.resetStore }, this.renderLicenseActivationForm(LicenseActivationVariantEnum.modal)));
|
|
123
123
|
}
|
|
124
|
-
retrieveTextsObject() {
|
|
125
|
-
const { inputMessage, inputLabel, inputPlaceholder, buttonLabel,
|
|
124
|
+
retrieveTextsObject(variant) {
|
|
125
|
+
const { inputMessage, inputLabel, inputPlaceholder, buttonLabel, additionalDescription, buttonIcon, previewInputPlaceholder, previewButtonLabel, previewButtonIcon, previewButtonSize, } = this;
|
|
126
126
|
const { licenseActivationStatus } = this.licenseActivationState;
|
|
127
|
+
let description = null, defaultInputMessage = null;
|
|
128
|
+
if (variant === LicenseActivationVariantEnum.modal) {
|
|
129
|
+
description = additionalDescription || this.cms["newdashboard.licenseActivation.additionalDescription"];
|
|
130
|
+
}
|
|
131
|
+
else {
|
|
132
|
+
defaultInputMessage = this.cms["newdashboard.licenseActivation.inputHelperMessage"];
|
|
133
|
+
}
|
|
127
134
|
return {
|
|
128
135
|
inputStatus: this.mapInputStatus(licenseActivationStatus),
|
|
129
|
-
inputMessage: inputMessage ||
|
|
130
|
-
this.cms["newdashboard.licenseActivation.inputHelperMessage"],
|
|
136
|
+
inputMessage: inputMessage || defaultInputMessage,
|
|
131
137
|
placeholder: inputPlaceholder ||
|
|
132
138
|
this.cms["newdashboard.licenseActivation.inputPlaceholder"],
|
|
133
139
|
inputLabel: inputLabel || this.cms["newdashboard.licenseActivation.inputLabel"],
|
|
134
|
-
buttonLabel:
|
|
135
|
-
? buttonLabel || this.cms["newdashboard.licenseActivation.submitLabel"]
|
|
136
|
-
: this.cms["newdashboard.onboarding.licenseActivation.submitLabel"],
|
|
140
|
+
buttonLabel: buttonLabel || this.cms["newdashboard.onboarding.licenseActivation.submitLabel"],
|
|
137
141
|
buttonIcon,
|
|
138
142
|
previewInputPlaceholder,
|
|
139
143
|
previewButtonLabel,
|
|
@@ -145,37 +149,24 @@ export class LicenseActivation {
|
|
|
145
149
|
infoBoxIcon: `${this.environment.URL_S3_IMAGES_FOLDER}bollinoSIAE.svg`,
|
|
146
150
|
infoBoxContent: this.cms["newdashboard.licenseActivation.infoBoxContent"],
|
|
147
151
|
supportLink: this.cms["newdashboard.licenseActivation.contactUs.url"],
|
|
148
|
-
additionalDescription:
|
|
149
|
-
additionalDescription,
|
|
152
|
+
additionalDescription: description
|
|
150
153
|
};
|
|
151
154
|
}
|
|
152
155
|
renderLicenseActivationForm(variant) {
|
|
153
156
|
const { componentid } = this;
|
|
154
157
|
const { licenseActivationState: { licenseActivationMessage, licenseActivationCode, licenseActivationApiLoading, }, } = this;
|
|
155
|
-
const textObject = this.retrieveTextsObject();
|
|
158
|
+
const textObject = this.retrieveTextsObject(variant);
|
|
156
159
|
return (h("license-activation-form", { direction: "column", error: licenseActivationMessage, initialCode: licenseActivationCode, formTexts: textObject, requestLoading: !!licenseActivationApiLoading, enableButton: this.enableFormSubmitButton, formid: componentid, initialShowInfoBox: this.initialShowInfoBox, onFormInputChange: (e) => this.handleFormInputChange(e.detail.value), onSubmitButtonClick: (e) => this.handleSubmitButtonClick(e.detail.value), variant: variant, handleModalOpen: () => this.handleLicenseModalOpen(true) }));
|
|
157
160
|
}
|
|
158
161
|
renderMobileButton() {
|
|
159
162
|
return (h("z-button", { onClick: () => this.handleMobileButtonClick() }, this.cms["newdashboard.onboarding.licenseActivation.mobileSubmitLabel"]));
|
|
160
163
|
}
|
|
161
164
|
render() {
|
|
162
|
-
if (this.isMobile &&
|
|
163
|
-
this.variant !== LicenseActivationVariantEnum.preview) {
|
|
164
|
-
return (h(Host, null,
|
|
165
|
-
this.forceModal
|
|
166
|
-
? this.renderLicenseActivationModal()
|
|
167
|
-
: this.renderMobileButton(),
|
|
168
|
-
this.variant === LicenseActivationVariantEnum.box &&
|
|
169
|
-
this.modalState === "open" &&
|
|
170
|
-
this.renderLicenseActivationModal()));
|
|
171
|
-
}
|
|
172
165
|
return (h(Host, null,
|
|
173
|
-
this.variant
|
|
174
|
-
this.variant === LicenseActivationVariantEnum.preview
|
|
166
|
+
this.variant !== LicenseActivationVariantEnum.modal
|
|
175
167
|
? this.renderLicenseActivationBox(this.variant)
|
|
176
168
|
: this.modalState === "open" && this.renderLicenseActivationModal(),
|
|
177
|
-
|
|
178
|
-
this.variant === LicenseActivationVariantEnum.preview) &&
|
|
169
|
+
this.variant !== LicenseActivationVariantEnum.modal &&
|
|
179
170
|
this.modalState === "open" &&
|
|
180
171
|
this.submitClicked &&
|
|
181
172
|
this.renderLicenseActivationModal()));
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
:host {
|
|
2
2
|
display: block;
|
|
3
|
-
padding: calc(var(--space-unit) * 2);
|
|
4
3
|
}
|
|
5
4
|
|
|
6
5
|
:host > div > .body-3 {
|
|
7
6
|
display: block;
|
|
8
|
-
margin-bottom: calc(var(--space-unit) *
|
|
7
|
+
margin-bottom: calc(var(--space-unit) * 4);
|
|
9
8
|
}
|
|
10
9
|
|
|
11
10
|
:host > div > z-button {
|
|
@@ -25,6 +24,10 @@
|
|
|
25
24
|
display: flex;
|
|
26
25
|
}
|
|
27
26
|
|
|
27
|
+
:host([variant="modal"]) {
|
|
28
|
+
padding: calc(var(--space-unit) * 2);
|
|
29
|
+
}
|
|
30
|
+
|
|
28
31
|
:host([variant="modal"]) .error-section {
|
|
29
32
|
display: flex;
|
|
30
33
|
flex-direction: column;
|
|
@@ -65,12 +68,8 @@
|
|
|
65
68
|
|
|
66
69
|
/* Tablet breakpoint */
|
|
67
70
|
@media only screen and (min-width: 768px) {
|
|
68
|
-
:host {
|
|
69
|
-
padding: 0;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
71
|
:host([variant="modal"]) {
|
|
73
|
-
padding:
|
|
72
|
+
padding: calc(var(--space-unit) * 3);
|
|
74
73
|
width: 396px;
|
|
75
74
|
}
|
|
76
75
|
|
|
@@ -93,7 +92,7 @@
|
|
|
93
92
|
}
|
|
94
93
|
|
|
95
94
|
:host([variant="modal"]) > div > z-button {
|
|
96
|
-
padding:
|
|
95
|
+
padding: calc(var(--space-unit) * 3) 0 calc(var(--space-unit) * 2);
|
|
97
96
|
width: max-content;
|
|
98
97
|
}
|
|
99
98
|
|
|
@@ -104,10 +103,6 @@
|
|
|
104
103
|
|
|
105
104
|
/* Desktop breakpoint */
|
|
106
105
|
@media only screen and (min-width: 1152px) {
|
|
107
|
-
:host([variant="modal"]) {
|
|
108
|
-
width: 477px;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
106
|
:host > div {
|
|
112
107
|
flex-direction: row;
|
|
113
108
|
}
|
|
@@ -115,4 +110,8 @@
|
|
|
115
110
|
|
|
116
111
|
/* Wide breakpoint */
|
|
117
112
|
@media only screen and (min-width: 1366px) {
|
|
113
|
+
:host([variant="modal"]) {
|
|
114
|
+
padding: calc(var(--space-unit) * 4);
|
|
115
|
+
width: 477px;
|
|
116
|
+
}
|
|
118
117
|
}
|
|
@@ -82,7 +82,7 @@ export class LicenseActivationForm {
|
|
|
82
82
|
const { additionalDescription } = this.formTexts;
|
|
83
83
|
if (!additionalDescription)
|
|
84
84
|
return;
|
|
85
|
-
return h("span", { class: "body-3"
|
|
85
|
+
return h("span", { class: "body-3", innerHTML: manageMarkupContent(additionalDescription) });
|
|
86
86
|
}
|
|
87
87
|
renderInfoLink() {
|
|
88
88
|
const { linkLabel } = this.formTexts;
|