@zanichelli/delta_share 3.2.0 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/wc/cjs/delta_share.cjs.js +2 -2
- package/dist/wc/cjs/{icons-5006d741.js → icons-6d7ce4fc.js} +81 -0
- package/dist/wc/cjs/{index-c0af2262.js → index-029f1a7e.js} +0 -1
- package/dist/wc/cjs/{index-8da01bc6.js → index-0c6fe5a8.js} +3 -3
- package/dist/wc/cjs/{index-044ebc8a.js → index-1a5d1f46.js} +4 -4
- package/dist/wc/cjs/{index-05a1b9dc.js → index-2bd3ba9a.js} +7 -3
- package/dist/wc/cjs/{index-a9a1f262.js → index-2cac2542.js} +4 -4
- package/dist/wc/cjs/{index-4a04e2aa.js → index-32a6c022.js} +1 -1
- package/dist/wc/cjs/{index-0119322e.js → index-42c0b32c.js} +1 -1
- package/dist/wc/cjs/{index-47449986.js → index-5da586ad.js} +3 -3
- package/dist/wc/cjs/{index-9886a665.js → index-6d707e7c.js} +2 -2
- package/dist/wc/cjs/{index-db42857f.js → index-77820e6c.js} +1 -1
- package/dist/wc/cjs/{index-f4792a6f.js → index-7b42e7ce.js} +1 -1
- package/dist/wc/cjs/{index-f824355b.js → index-903cb132.js} +1 -1
- package/dist/wc/cjs/{index-732ae62f.js → index-9ad9039f.js} +2 -2
- package/dist/wc/cjs/{index-18a2a552.js → index-a8dfd3f3.js} +7 -3
- package/dist/wc/cjs/{index-6d0848b5.js → index-d6d2e8ac.js} +2 -2
- package/dist/wc/cjs/{index-81603b4a.js → index-e5699190.js} +2 -2
- package/dist/wc/cjs/{index-51009bcf.js → index-ef01acde.js} +2 -2
- package/dist/wc/cjs/{index-9ca7d5e5.js → index-fd6e6c28.js} +8 -0
- package/dist/wc/cjs/{license-activation_11.cjs.entry.js → license-activation_10.cjs.entry.js} +57 -118
- package/dist/wc/cjs/loader.cjs.js +2 -2
- package/dist/wc/cjs/{utils-f2cac0dc.js → utils-1ed1ec98.js} +1 -1
- package/dist/wc/cjs/{utils-8fd01df0.js → utils-43a3deb6.js} +1 -1
- package/dist/wc/cjs/z-accordion.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-alert.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-anchor-navigation.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-app-header.cjs.entry.js +4 -4
- package/dist/wc/cjs/z-aria-alert.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-avatar.cjs.entry.js +5 -5
- package/dist/wc/cjs/z-book-card.cjs.entry.js +21 -6
- package/dist/wc/cjs/z-breadcrumb.cjs.entry.js +4 -4
- package/dist/wc/cjs/z-button-sort.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-card.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-carousel.cjs.entry.js +7 -3
- package/dist/wc/cjs/z-chip.cjs.entry.js +9 -17
- package/dist/wc/cjs/z-combobox.cjs.entry.js +4 -4
- package/dist/wc/cjs/z-contextual-menu.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-cover-hero.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-date-picker.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-divider.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-dragdrop-area.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-file-upload.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-file.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-ghost-loading.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-info-reveal.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-link.cjs.entry.js +74 -0
- package/dist/wc/cjs/z-list_3.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-logo.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-menu-section.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-menu.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-messages-pocket.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-myz-card-alert.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-myz-card-dictionary.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-myz-card-footer-sections.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-myz-card-footer.cjs.entry.js +3 -3
- 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-list.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-myz-card_4.cjs.entry.js +4 -4
- package/dist/wc/cjs/z-myz-list-item.cjs.entry.js +4 -4
- package/dist/wc/cjs/z-myz-list.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-navigation-tab-link.cjs.entry.js +10 -7
- package/dist/wc/cjs/z-navigation-tab.cjs.entry.js +7 -7
- package/dist/wc/cjs/z-navigation-tabs.cjs.entry.js +137 -106
- package/dist/wc/cjs/z-notification.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-offcanvas_2.cjs.entry.js +4 -4
- package/dist/wc/cjs/z-otp.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-pagination.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-panel-elem.cjs.entry.js +7 -3
- package/dist/wc/cjs/z-pocket-message.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 +4 -4
- package/dist/wc/cjs/z-range-picker.cjs.entry.js +25 -7
- package/dist/wc/cjs/z-section-title.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-select.cjs.entry.js +7 -8
- package/dist/wc/cjs/z-skip-to-content.cjs.entry.js +13 -5
- package/dist/wc/cjs/z-slideshow.cjs.entry.js +4 -4
- package/dist/wc/cjs/z-stepper-item.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-stepper.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-table-body.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-table-cell.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-table-deprecated.cjs.entry.js +14 -14
- package/dist/wc/cjs/z-table-empty-box.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-table-expanded-row.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-table-footer.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-table-head.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-table-header-row.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-table-header.cjs.entry.js +4 -4
- package/dist/wc/cjs/z-table-row.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-table-sticky-footer.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-table.cjs.entry.js +9 -9
- package/dist/wc/cjs/z-tag.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-tbody.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-td.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-tfoot.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-th.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-thead.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-toast-notification-list.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-toast-notification.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-toggle-button.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-toggle-switch.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-tooltip.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-tr.cjs.entry.js +6 -6
- package/dist/wc/cjs/z-visually-hidden.cjs.entry.js +1 -1
- package/dist/wc/collection/collection-manifest.json +0 -3
- package/dist/wc/collection/components/license-activation/license-activation.js +14 -13
- package/dist/wc/collection/components/license-activation-form/license-activation-form.css +11 -4
- package/dist/wc/collection/components/license-activation-form/license-activation-form.js +13 -37
- package/dist/wc/custom-elements/index.js +546 -434
- package/dist/wc/delta_share/delta_share.esm.js +1 -1
- package/dist/wc/delta_share/p-0365fad8.entry.js +1 -0
- package/dist/wc/delta_share/{p-6d888c61.js → p-042bd3f6.js} +1 -1
- package/dist/wc/delta_share/{p-699d0efb.entry.js → p-059e9ee0.entry.js} +1 -1
- package/dist/wc/delta_share/p-05c9d96f.entry.js +1 -0
- package/dist/wc/delta_share/{p-578f4d61.entry.js → p-065a8ef6.entry.js} +1 -1
- package/dist/wc/delta_share/{p-fff3f7a2.entry.js → p-08af13db.entry.js} +1 -1
- package/dist/wc/delta_share/{p-a7afd1e8.entry.js → p-09de99b2.entry.js} +1 -1
- package/dist/wc/delta_share/p-0e74cc07.entry.js +1 -0
- package/dist/wc/delta_share/{p-9e5596cd.entry.js → p-105ddd7d.entry.js} +1 -1
- package/dist/wc/delta_share/p-112478b5.js +1 -0
- package/dist/wc/delta_share/p-1553bc63.entry.js +1 -0
- package/dist/wc/delta_share/{p-e849b3b3.entry.js → p-16e61c27.entry.js} +1 -1
- package/dist/wc/delta_share/p-172a32d0.entry.js +1 -0
- package/dist/wc/delta_share/{p-30b524e2.entry.js → p-18ac49f8.entry.js} +1 -1
- package/dist/wc/delta_share/{p-e9fa5c23.js → p-18fcc8c7.js} +1 -1
- package/dist/wc/delta_share/p-1c37c8f2.js +1 -0
- package/dist/wc/delta_share/{p-9c3fcef2.entry.js → p-1e9b4693.entry.js} +1 -1
- package/dist/wc/delta_share/{p-bc10cf1a.entry.js → p-2439bd5d.entry.js} +1 -1
- package/dist/wc/delta_share/p-293a7ee2.entry.js +1 -0
- package/dist/wc/delta_share/{p-bcb29c7a.entry.js → p-2a4fe864.entry.js} +1 -1
- package/dist/wc/delta_share/p-2b4c3aab.js +1 -0
- package/dist/wc/delta_share/{p-db957062.entry.js → p-2ca8ccb2.entry.js} +1 -1
- package/dist/wc/delta_share/p-2ed166b8.entry.js +1 -0
- package/dist/wc/delta_share/p-319c1a3e.entry.js +1 -0
- package/dist/wc/delta_share/{p-f6bd0767.js → p-37c5c92e.js} +1 -1
- package/dist/wc/delta_share/p-3984a6c2.entry.js +1 -0
- package/dist/wc/delta_share/p-3b3f83a6.entry.js +1 -0
- package/dist/wc/delta_share/p-3f4dbb4f.entry.js +3 -0
- package/dist/wc/delta_share/{p-a815651c.entry.js → p-3fac6e84.entry.js} +1 -1
- package/dist/wc/delta_share/p-4018719d.entry.js +1 -0
- package/dist/wc/delta_share/{p-46e4fe9d.entry.js → p-44d6f07c.entry.js} +1 -1
- package/dist/wc/delta_share/{p-74027654.js → p-47ec520c.js} +1 -1
- package/dist/wc/delta_share/p-47f3e677.js +1 -0
- package/dist/wc/delta_share/{p-06fa5b43.entry.js → p-4a51a3c6.entry.js} +1 -1
- package/dist/wc/delta_share/p-4b2719fc.entry.js +1 -0
- package/dist/wc/delta_share/{p-776a9611.entry.js → p-4c9ec16c.entry.js} +1 -1
- package/dist/wc/delta_share/p-4ff6d958.entry.js +1 -0
- package/dist/wc/delta_share/p-536412c7.entry.js +1 -0
- package/dist/wc/delta_share/{p-d91beeb4.js → p-551bf917.js} +1 -1
- package/dist/wc/delta_share/{p-6619cb5a.entry.js → p-57a1a7a3.entry.js} +1 -1
- package/dist/wc/delta_share/{p-5f021095.js → p-58991db7.js} +1 -1
- package/dist/wc/delta_share/p-595c8d39.entry.js +1 -0
- package/dist/wc/delta_share/{p-589b8717.js → p-5989869c.js} +1 -1
- package/dist/wc/delta_share/p-5f97902c.entry.js +1 -0
- package/dist/wc/delta_share/{p-3e66faf7.entry.js → p-6658206d.entry.js} +1 -1
- package/dist/wc/delta_share/p-67f03907.entry.js +1 -0
- package/dist/wc/delta_share/{p-8b3b862c.js → p-69d9835f.js} +1 -1
- package/dist/wc/delta_share/p-6bd46452.entry.js +1 -0
- package/dist/wc/delta_share/p-6be926f4.js +1 -0
- package/dist/wc/delta_share/p-6cb698e0.entry.js +1 -0
- package/dist/wc/delta_share/{p-93504934.entry.js → p-6e8df0ae.entry.js} +1 -1
- package/dist/wc/delta_share/p-6f95cb22.entry.js +1 -0
- package/dist/wc/delta_share/p-7142f1dc.entry.js +1 -0
- package/dist/wc/delta_share/p-7b00c3b1.entry.js +1 -0
- package/dist/wc/delta_share/{p-81a1b7cc.entry.js → p-7b668937.entry.js} +1 -1
- package/dist/wc/delta_share/{p-09fe90e6.entry.js → p-7cb2f788.entry.js} +1 -1
- package/dist/wc/delta_share/{p-8710e686.entry.js → p-82630451.entry.js} +1 -1
- package/dist/wc/delta_share/{p-c86f3f18.entry.js → p-84a8b959.entry.js} +1 -1
- package/dist/wc/delta_share/p-84e4e924.entry.js +1 -0
- package/dist/wc/delta_share/{p-829539a5.entry.js → p-8650dcb7.entry.js} +1 -1
- package/dist/wc/delta_share/p-8a0d51f7.entry.js +1 -0
- package/dist/wc/delta_share/{p-71af40a8.entry.js → p-8f286d70.entry.js} +1 -1
- package/dist/wc/delta_share/p-8f38cd92.entry.js +1 -0
- package/dist/wc/delta_share/{p-31922918.entry.js → p-8f6424ca.entry.js} +1 -1
- package/dist/wc/delta_share/p-96f53236.entry.js +1 -0
- package/dist/wc/delta_share/p-9ef9046f.entry.js +1 -0
- package/dist/wc/delta_share/p-9faa9434.entry.js +1 -0
- package/dist/wc/delta_share/{p-627de5ca.entry.js → p-a051e83a.entry.js} +1 -1
- package/dist/wc/delta_share/{p-d57e2650.entry.js → p-a14153cc.entry.js} +1 -1
- package/dist/wc/delta_share/p-a3dc62bb.js +1 -0
- package/dist/wc/delta_share/p-aa8f533e.entry.js +1 -0
- package/dist/wc/delta_share/p-ab6dbdae.entry.js +1 -0
- package/dist/wc/delta_share/p-aeec6792.entry.js +1 -0
- package/dist/wc/delta_share/p-af60173c.entry.js +1 -0
- package/dist/wc/delta_share/p-bb15cf8b.entry.js +1 -0
- package/dist/wc/delta_share/p-c0ccd95c.entry.js +1 -0
- package/dist/wc/delta_share/p-c1b16c6e.entry.js +1 -0
- package/dist/wc/delta_share/p-c5f5fb78.entry.js +1 -0
- package/dist/wc/delta_share/p-c64950a2.entry.js +1 -0
- package/dist/wc/delta_share/p-c7678d37.js +1 -0
- package/dist/wc/delta_share/{p-ca0ad68e.entry.js → p-ce115f77.entry.js} +1 -1
- package/dist/wc/delta_share/{p-86dfdccc.js → p-d1062520.js} +1 -1
- package/dist/wc/delta_share/{p-1b8b3092.entry.js → p-d231964b.entry.js} +1 -1
- package/dist/wc/delta_share/{p-057858cb.entry.js → p-d4fbf66b.entry.js} +1 -1
- package/dist/wc/delta_share/{p-c176a537.js → p-d50ea6ea.js} +1 -1
- package/dist/wc/delta_share/p-d52d3e5c.js +1 -0
- package/dist/wc/delta_share/p-d6eef1ed.entry.js +1 -0
- package/dist/wc/delta_share/p-d888ec2a.entry.js +1 -0
- package/dist/wc/delta_share/p-db7371fa.entry.js +1 -0
- package/dist/wc/delta_share/p-dd409bfb.js +1 -0
- package/dist/wc/delta_share/p-df6ae14f.js +1 -0
- package/dist/wc/delta_share/{p-4eb940ca.entry.js → p-e182b6dc.entry.js} +1 -1
- package/dist/wc/delta_share/{p-ce9c796f.entry.js → p-e7f23a1e.entry.js} +1 -1
- package/dist/wc/delta_share/p-ebd0e41d.entry.js +1 -0
- package/dist/wc/delta_share/{p-0bff6d57.entry.js → p-eddfcccc.entry.js} +1 -1
- package/dist/wc/delta_share/{p-55924409.entry.js → p-f77ae63f.entry.js} +1 -1
- package/dist/wc/delta_share/{p-e47768ad.entry.js → p-f8091230.entry.js} +1 -1
- package/dist/wc/delta_share/p-f894f849.entry.js +1 -0
- package/dist/wc/delta_share/p-f903c87f.entry.js +1 -0
- package/dist/wc/delta_share/p-fe486d84.entry.js +1 -0
- package/dist/wc/delta_share/p-fe53cbde.entry.js +1 -0
- package/dist/wc/delta_share/p-ff24a080.js +1 -0
- package/dist/wc/delta_share/p-ff98ef8e.entry.js +1 -0
- package/dist/wc/esm/delta_share.js +2 -2
- package/dist/wc/esm/{icons-5cd8a05c.js → icons-6196a79a.js} +81 -0
- package/dist/wc/esm/{index-23578879.js → index-0cf1e7ae.js} +1 -1
- package/dist/wc/esm/{index-474bdeac.js → index-2a8923e8.js} +1 -1
- package/dist/wc/esm/{index-8304b962.js → index-2ae14d02.js} +4 -4
- package/dist/wc/esm/{index-b3a91e19.js → index-396432db.js} +8 -0
- package/dist/wc/esm/index-48b6c0e6.js +15 -0
- package/dist/wc/esm/{index-a4bf756b.js → index-5445c84d.js} +2 -2
- package/dist/wc/esm/{index-7ab3efeb.js → index-6642fa3a.js} +1 -1
- package/dist/wc/esm/{index-4cbd9bd5.js → index-81516a9a.js} +1 -1
- package/dist/wc/esm/{index-6b9f0af9.js → index-9d240d39.js} +1 -2
- package/dist/wc/esm/{index-a4c6be93.js → index-b6d67648.js} +3 -3
- package/dist/wc/esm/{index-01c34720.js → index-be084691.js} +4 -4
- package/dist/wc/esm/{index-a9ad9a02.js → index-c3e3c74b.js} +7 -3
- package/dist/wc/esm/{index-8c51661a.js → index-c74188e2.js} +2 -2
- package/dist/wc/esm/{index-fcff2847.js → index-c8e57c08.js} +2 -2
- package/dist/wc/esm/{index-d0687862.js → index-cbe7ef0a.js} +2 -2
- package/dist/wc/esm/{index-be1fa551.js → index-df217b14.js} +3 -3
- package/dist/wc/esm/{index-2dfebd9d.js → index-e14dd015.js} +1 -1
- package/dist/wc/esm/{index-5ee15750.js → index-ea60f2c2.js} +7 -3
- package/dist/wc/esm/{license-activation_11.entry.js → license-activation_10.entry.js} +58 -118
- package/dist/wc/esm/loader.js +2 -2
- package/dist/wc/esm/{utils-e64576be.js → utils-5e6dc3fe.js} +1 -1
- package/dist/wc/esm/{utils-90d51f4b.js → utils-bc5ea6f7.js} +1 -1
- package/dist/wc/esm/z-accordion.entry.js +3 -3
- package/dist/wc/esm/z-alert.entry.js +1 -1
- package/dist/wc/esm/z-anchor-navigation.entry.js +2 -2
- package/dist/wc/esm/z-app-header.entry.js +4 -4
- package/dist/wc/esm/z-aria-alert.entry.js +2 -2
- package/dist/wc/esm/z-avatar.entry.js +5 -5
- package/dist/wc/esm/z-book-card.entry.js +21 -6
- package/dist/wc/esm/z-breadcrumb.entry.js +4 -4
- package/dist/wc/esm/z-button-sort.entry.js +3 -3
- package/dist/wc/esm/z-card.entry.js +3 -3
- package/dist/wc/esm/z-carousel.entry.js +7 -3
- package/dist/wc/esm/z-chip.entry.js +9 -17
- package/dist/wc/esm/z-combobox.entry.js +4 -4
- package/dist/wc/esm/z-contextual-menu.entry.js +2 -2
- package/dist/wc/esm/z-cover-hero.entry.js +2 -2
- package/dist/wc/esm/z-date-picker.entry.js +3 -3
- package/dist/wc/esm/z-divider.entry.js +2 -2
- package/dist/wc/esm/z-dragdrop-area.entry.js +1 -1
- package/dist/wc/esm/z-file-upload.entry.js +3 -3
- package/dist/wc/esm/z-file.entry.js +2 -2
- package/dist/wc/esm/z-ghost-loading.entry.js +2 -2
- package/dist/wc/esm/z-info-reveal.entry.js +2 -2
- package/dist/wc/esm/z-link.entry.js +70 -0
- package/dist/wc/esm/z-list_3.entry.js +3 -3
- package/dist/wc/esm/z-logo.entry.js +1 -1
- package/dist/wc/esm/z-menu-section.entry.js +1 -1
- package/dist/wc/esm/z-menu.entry.js +2 -2
- package/dist/wc/esm/z-messages-pocket.entry.js +3 -3
- package/dist/wc/esm/z-myz-card-alert.entry.js +2 -2
- package/dist/wc/esm/z-myz-card-dictionary.entry.js +2 -2
- package/dist/wc/esm/z-myz-card-footer-sections.entry.js +2 -2
- package/dist/wc/esm/z-myz-card-footer.entry.js +3 -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-list.entry.js +2 -2
- package/dist/wc/esm/z-myz-card_4.entry.js +4 -4
- package/dist/wc/esm/z-myz-list-item.entry.js +4 -4
- package/dist/wc/esm/z-myz-list.entry.js +1 -1
- package/dist/wc/esm/z-navigation-tab-link.entry.js +10 -7
- package/dist/wc/esm/z-navigation-tab.entry.js +7 -7
- package/dist/wc/esm/z-navigation-tabs.entry.js +137 -106
- package/dist/wc/esm/z-notification.entry.js +1 -1
- package/dist/wc/esm/z-offcanvas_2.entry.js +4 -4
- package/dist/wc/esm/z-otp.entry.js +2 -2
- package/dist/wc/esm/z-pagination.entry.js +3 -3
- package/dist/wc/esm/z-panel-elem.entry.js +7 -3
- package/dist/wc/esm/z-pocket-message.entry.js +1 -1
- package/dist/wc/esm/z-pocket_3.entry.js +3 -3
- package/dist/wc/esm/z-popover.entry.js +4 -4
- package/dist/wc/esm/z-range-picker.entry.js +25 -7
- package/dist/wc/esm/z-section-title.entry.js +2 -2
- package/dist/wc/esm/z-select.entry.js +7 -8
- package/dist/wc/esm/z-skip-to-content.entry.js +13 -5
- package/dist/wc/esm/z-slideshow.entry.js +4 -4
- package/dist/wc/esm/z-stepper-item.entry.js +2 -2
- package/dist/wc/esm/z-stepper.entry.js +2 -2
- package/dist/wc/esm/z-table-body.entry.js +2 -2
- package/dist/wc/esm/z-table-cell.entry.js +3 -3
- package/dist/wc/esm/z-table-deprecated.entry.js +14 -14
- package/dist/wc/esm/z-table-empty-box.entry.js +2 -2
- package/dist/wc/esm/z-table-expanded-row.entry.js +2 -2
- package/dist/wc/esm/z-table-footer.entry.js +2 -2
- package/dist/wc/esm/z-table-head.entry.js +2 -2
- package/dist/wc/esm/z-table-header-row.entry.js +2 -2
- package/dist/wc/esm/z-table-header.entry.js +4 -4
- package/dist/wc/esm/z-table-row.entry.js +3 -3
- package/dist/wc/esm/z-table-sticky-footer.entry.js +2 -2
- package/dist/wc/esm/z-table.entry.js +9 -9
- package/dist/wc/esm/z-tag.entry.js +1 -1
- package/dist/wc/esm/z-tbody.entry.js +2 -2
- package/dist/wc/esm/z-td.entry.js +3 -3
- package/dist/wc/esm/z-tfoot.entry.js +2 -2
- package/dist/wc/esm/z-th.entry.js +3 -3
- package/dist/wc/esm/z-thead.entry.js +2 -2
- package/dist/wc/esm/z-toast-notification-list.entry.js +2 -2
- package/dist/wc/esm/z-toast-notification.entry.js +2 -2
- package/dist/wc/esm/z-toggle-button.entry.js +2 -2
- package/dist/wc/esm/z-toggle-switch.entry.js +3 -3
- package/dist/wc/esm/z-tooltip.entry.js +2 -2
- package/dist/wc/esm/z-tr.entry.js +6 -6
- package/dist/wc/esm/z-visually-hidden.entry.js +1 -1
- package/dist/wc/types/components/license-activation/license-activation.d.ts +1 -2
- package/dist/wc/types/components/license-activation-form/license-activation-form.d.ts +2 -5
- package/dist/wc/types/components.d.ts +0 -2
- package/package.json +1 -1
- package/dist/wc/cjs/z-body.cjs.entry.js +0 -18
- package/dist/wc/cjs/z-heading.cjs.entry.js +0 -18
- package/dist/wc/cjs/z-typography.cjs.entry.js +0 -30
- package/dist/wc/delta_share/p-0667e9cd.entry.js +0 -1
- package/dist/wc/delta_share/p-06aacfed.entry.js +0 -1
- package/dist/wc/delta_share/p-0acc73cd.entry.js +0 -1
- package/dist/wc/delta_share/p-0f55558e.js +0 -1
- package/dist/wc/delta_share/p-0fe7f1ad.entry.js +0 -1
- package/dist/wc/delta_share/p-171202cb.js +0 -1
- package/dist/wc/delta_share/p-1c4015c7.entry.js +0 -1
- package/dist/wc/delta_share/p-27537f0b.js +0 -1
- package/dist/wc/delta_share/p-2d1b1197.entry.js +0 -1
- package/dist/wc/delta_share/p-2e12c305.entry.js +0 -1
- package/dist/wc/delta_share/p-2eed13ce.entry.js +0 -1
- package/dist/wc/delta_share/p-3605faee.entry.js +0 -1
- package/dist/wc/delta_share/p-3b4879bc.js +0 -1
- package/dist/wc/delta_share/p-3b7aeb99.entry.js +0 -1
- package/dist/wc/delta_share/p-3de56f4a.entry.js +0 -1
- package/dist/wc/delta_share/p-4bcbac62.entry.js +0 -1
- package/dist/wc/delta_share/p-5588386c.entry.js +0 -1
- package/dist/wc/delta_share/p-5d29a5a7.entry.js +0 -1
- package/dist/wc/delta_share/p-63f5644d.js +0 -1
- package/dist/wc/delta_share/p-6776c695.entry.js +0 -1
- package/dist/wc/delta_share/p-6d1c4af9.js +0 -1
- package/dist/wc/delta_share/p-75b9448a.entry.js +0 -1
- package/dist/wc/delta_share/p-78b1d100.js +0 -1
- package/dist/wc/delta_share/p-7966c7e6.entry.js +0 -1
- package/dist/wc/delta_share/p-7ae04b31.entry.js +0 -1
- package/dist/wc/delta_share/p-83156f0c.entry.js +0 -1
- package/dist/wc/delta_share/p-858613c0.entry.js +0 -1
- package/dist/wc/delta_share/p-8649f025.entry.js +0 -1
- package/dist/wc/delta_share/p-86683a1d.entry.js +0 -1
- package/dist/wc/delta_share/p-963f64a8.entry.js +0 -1
- package/dist/wc/delta_share/p-967acc0e.entry.js +0 -1
- package/dist/wc/delta_share/p-974d6235.entry.js +0 -1
- package/dist/wc/delta_share/p-9cc6b2ff.entry.js +0 -1
- package/dist/wc/delta_share/p-9d3e6cff.entry.js +0 -1
- package/dist/wc/delta_share/p-a54c1c69.entry.js +0 -1
- package/dist/wc/delta_share/p-a6252f41.entry.js +0 -1
- package/dist/wc/delta_share/p-a64544de.entry.js +0 -1
- package/dist/wc/delta_share/p-a6b403f9.entry.js +0 -1
- package/dist/wc/delta_share/p-ade21d10.entry.js +0 -1
- package/dist/wc/delta_share/p-b0dc0f33.entry.js +0 -1
- package/dist/wc/delta_share/p-bcac4e8a.entry.js +0 -1
- package/dist/wc/delta_share/p-bd5862be.js +0 -1
- package/dist/wc/delta_share/p-bdbd52af.entry.js +0 -1
- package/dist/wc/delta_share/p-be7f8da0.entry.js +0 -1
- package/dist/wc/delta_share/p-c16ef2ed.js +0 -1
- package/dist/wc/delta_share/p-cf49d91e.entry.js +0 -1
- package/dist/wc/delta_share/p-cf520177.entry.js +0 -1
- package/dist/wc/delta_share/p-cfd5d8d9.entry.js +0 -1
- package/dist/wc/delta_share/p-d586adfc.entry.js +0 -1
- package/dist/wc/delta_share/p-d736e782.js +0 -1
- package/dist/wc/delta_share/p-d85af2d2.entry.js +0 -1
- package/dist/wc/delta_share/p-df19c0b3.entry.js +0 -3
- package/dist/wc/delta_share/p-df665c83.entry.js +0 -1
- package/dist/wc/delta_share/p-e27aa743.entry.js +0 -1
- package/dist/wc/delta_share/p-e533db54.entry.js +0 -1
- package/dist/wc/delta_share/p-ecb09670.js +0 -1
- package/dist/wc/delta_share/p-ee0a8f1f.entry.js +0 -1
- package/dist/wc/delta_share/p-f366927f.entry.js +0 -1
- package/dist/wc/delta_share/p-f8604cd3.entry.js +0 -1
- package/dist/wc/delta_share/p-fe94390e.entry.js +0 -1
- package/dist/wc/esm/index-eb1fc2a8.js +0 -15
- package/dist/wc/esm/z-body.entry.js +0 -14
- package/dist/wc/esm/z-heading.entry.js +0 -14
- package/dist/wc/esm/z-typography.entry.js +0 -26
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{g as t,f as i,r as e,c as n,h as o,H as r,a}from"./p-d52d3e5c.js";import{c as s,a as c}from"./p-112455b1.js";import{B as l,a as u,C as d,L as h,I as p,K as m}from"./p-df6ae14f.js";import{I as f}from"./p-c7678d37.js";import{r as b,b as v}from"./p-112478b5.js";import"./p-d8592d42.js";var g,z,w,x;!function(t){t.mobile="mobile",t.tablet="tablet",t.desktop="desktop",t.desktopNew="desktopNew"}(g||(g={})),function(t){t.box="box",t.modal="modal",t.preview="preview"}(z||(z={})),function(t){t.INITIAL="INITIAL",t.ACTIVATING="ACTIVATING",t.ACTIVATED="ACTIVATED",t.SUCCESS="SUCCESS"}(w||(w={})),function(t){t.REQUEST="app/LICENSE_ACTIVATION/REQUEST",t.ACTIVATED="app/LICENSE_ACTIVATION/ACTIVATED",t.SUCCESS="app/LICENSE_ACTIVATION/SUCCESS",t.FAIL="app/LICENSE_ACTIVATION/FAIL",t.RESET="app/LICENSE_ACTIVATION/RESET"}(x||(x={}));const y=t=>!("isConnected"in t)||t.isConnected,k=(()=>{let t;return(...i)=>{t&&clearTimeout(t),t=setTimeout((()=>{t=0,(t=>{for(let i of t.keys())t.set(i,t.get(i).filter(y))})(...i)}),2e3)}})();class A{constructor(t){this.env=t,this.zanienv=t.replace("my","")}buildEnvironment(){return{MYZ_TOKEN_KEY:this.buildMyzTokenKey(),API_V3_URL:this.buildApiV3Url(),URL_S3_IMAGES_FOLDER:this.buildUrlS3ImagesFolder(),URL_S3_FILE_LABELS:this.buildUrlS3FileLabels()}}buildMyzTokenKey(){return"prod"===this.zanienv?"myz-token":`myz-token-${this.zanienv}`}buildApiV3Url(){return"prod"===this.zanienv?"https://api-catalogo.zanichelli.it/v3":`https://${this.zanienv}-api-catalogo.zanichelli.it/v3`}buildUrlS3ImagesFolder(){return"local"===this.env?`https://s3-eu-west-1.amazonaws.com/static${this.env}.zanichelli.it/dashboard/images/`:"prod"===this.env?"https://staticmy.zanichelli.it/dashboard/images/":`https://static${this.env}.zanichelli.it/dashboard/images/`}buildUrlS3FileLabels(){return"prod"===this.zanienv?"https://staticmy.zanichelli.it/dashboard/translations/it.json":`https://static${this.zanienv}.zanichelli.it/dashboard/translations/it.json`}}const S=Object.assign({},{cms:{}}),{state:C}=(()=>{const e=((t,i=((t,i)=>t!==i))=>{let e=new Map(Object.entries(null!=t?t:{}));const n={dispose:[],get:[],set:[],reset:[]},o=()=>{e=new Map(Object.entries(null!=t?t:{})),n.reset.forEach((t=>t()))},r=t=>(n.get.forEach((i=>i(t))),e.get(t)),a=(t,o)=>{const r=e.get(t);i(o,r,t)&&(e.set(t,o),n.set.forEach((i=>i(t,o,r))))},s="undefined"==typeof Proxy?{}:new Proxy(t,{get:(t,i)=>r(i),ownKeys:()=>Array.from(e.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(t,i)=>e.has(i),set:(t,i,e)=>(a(i,e),!0)}),c=(t,i)=>(n[t].push(i),()=>{((t,i)=>{const e=t.indexOf(i);e>=0&&(t[e]=t[t.length-1],t.length--)})(n[t],i)});return{state:s,get:r,set:a,on:c,onChange:(i,e)=>{const n=c("set",((t,n)=>{t===i&&e(n)})),o=c("reset",(()=>e(t[i])));return()=>{n(),o()}},use:(...t)=>t.forEach((t=>{t.set&&c("set",t.set),t.get&&c("get",t.get),t.reset&&c("reset",t.reset)})),dispose:()=>{n.dispose.forEach((t=>t())),o()},reset:o,forceUpdate:t=>{const i=e.get(t);n.set.forEach((e=>e(t,i,i)))}}})(S,void 0);return(({on:e})=>{const n=new Map;"function"==typeof t&&(e("dispose",(()=>{n.clear()})),e("get",(i=>{const e=t();e&&((t,i,e)=>{const n=t.get(i);n?n.includes(e)||n.push(e):t.set(i,[e])})(n,i,e)})),e("set",(t=>{const e=n.get(t);e&&n.set(t,e.filter(i)),k(n)})),e("reset",(()=>{n.forEach((t=>t.forEach(i))),k(n)})))})(e),e})();var L=s((function(t){
|
|
2
|
+
/*! @license DOMPurify 2.3.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.3.0/LICENSE */
|
|
3
|
+
t.exports=function(){var t=Object.hasOwnProperty,i=Object.setPrototypeOf,e=Object.isFrozen,n=Object.getPrototypeOf,o=Object.getOwnPropertyDescriptor,r=Object.freeze,a=Object.seal,s=Object.create,c="undefined"!=typeof Reflect&&Reflect,l=c.apply,u=c.construct;l||(l=function(t,i,e){return t.apply(i,e)}),r||(r=function(t){return t}),a||(a=function(t){return t}),u||(u=function(t,i){return new(Function.prototype.bind.apply(t,[null].concat(function(t){if(Array.isArray(t)){for(var i=0,e=Array(t.length);i<t.length;i++)e[i]=t[i];return e}return Array.from(t)}(i))))});var d,h=y(Array.prototype.forEach),p=y(Array.prototype.pop),m=y(Array.prototype.push),f=y(String.prototype.toLowerCase),b=y(String.prototype.match),v=y(String.prototype.replace),g=y(String.prototype.indexOf),z=y(String.prototype.trim),w=y(RegExp.prototype.test),x=(d=TypeError,function(){for(var t=arguments.length,i=Array(t),e=0;e<t;e++)i[e]=arguments[e];return u(d,i)});function y(t){return function(i){for(var e=arguments.length,n=Array(e>1?e-1:0),o=1;o<e;o++)n[o-1]=arguments[o];return l(t,i,n)}}function k(t,n){i&&i(t,null);for(var o=n.length;o--;){var r=n[o];if("string"==typeof r){var a=f(r);a!==r&&(e(n)||(n[o]=a),r=a)}t[r]=!0}return t}function A(i){var e=s(null),n=void 0;for(n in i)l(t,i,[n])&&(e[n]=i[n]);return e}function S(t,i){for(;null!==t;){var e=o(t,i);if(e){if(e.get)return y(e.get);if("function"==typeof e.value)return y(e.value)}t=n(t)}return function(t){return console.warn("fallback value for",t),null}}var C=r(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),L=r(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),M=r(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),T=r(["animate","color-profile","cursor","discard","fedropshadow","feimage","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),O=r(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),I=r(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),j=r(["#text"]),E=r(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),B=r(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),_=r(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),F=r(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),D=a(/\{\{[\s\S]*|[\s\S]*\}\}/gm),N=a(/<%[\s\S]*|[\s\S]*%>/gm),R=a(/^data-[\-\w.\u00B7-\uFFFF]/),H=a(/^aria-[\-\w]+$/),P=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),U=a(/^(?:\w+script|data):/i),$=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function V(t){if(Array.isArray(t)){for(var i=0,e=Array(t.length);i<t.length;i++)e[i]=t[i];return e}return Array.from(t)}var G=function(){return"undefined"==typeof window?null:window},W=function(t,i){if("object"!==(void 0===t?"undefined":q(t))||"function"!=typeof t.createPolicy)return null;var e=null,n="data-tt-policy-suffix";i.currentScript&&i.currentScript.hasAttribute(n)&&(e=i.currentScript.getAttribute(n));var o="dompurify"+(e?"#"+e:"");try{return t.createPolicy(o,{createHTML:function(t){return t}})}catch(t){return console.warn("TrustedTypes policy "+o+" could not be created."),null}};return function t(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:G(),e=function(i){return t(i)};if(e.version="2.3.0",e.removed=[],!i||!i.document||9!==i.document.nodeType)return e.isSupported=!1,e;var n=i.document,o=i.document,a=i.DocumentFragment,s=i.HTMLTemplateElement,c=i.Node,l=i.Element,u=i.NodeFilter,d=i.NamedNodeMap,y=void 0===d?i.NamedNodeMap||i.MozNamedAttrMap:d,K=i.Text,Y=i.Comment,Z=i.DOMParser,X=i.trustedTypes,J=l.prototype,Q=S(J,"cloneNode"),tt=S(J,"nextSibling"),it=S(J,"childNodes"),et=S(J,"parentNode");if("function"==typeof s){var nt=o.createElement("template");nt.content&&nt.content.ownerDocument&&(o=nt.content.ownerDocument)}var ot=W(X,n),rt=ot&&Ft?ot.createHTML(""):"",at=o.implementation,st=o.createNodeIterator,ct=o.createDocumentFragment,lt=o.getElementsByTagName,ut=n.importNode,dt={};try{dt=A(o).documentMode?o.documentMode:{}}catch(t){}var ht={};e.isSupported="function"==typeof et&&at&&void 0!==at.createHTMLDocument&&9!==dt;var pt=D,mt=N,ft=R,bt=H,vt=U,gt=$,zt=P,wt=null,xt=k({},[].concat(V(C),V(L),V(M),V(O),V(j))),yt=null,kt=k({},[].concat(V(E),V(B),V(_),V(F))),At=null,St=null,Ct=!0,Lt=!0,Mt=!1,Tt=!1,Ot=!1,It=!1,jt=!1,Et=!1,Bt=!1,_t=!0,Ft=!1,Dt=!0,Nt=!0,Rt=!1,Ht={},Pt=k({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ut=null,$t=k({},["audio","video","img","source","image","track"]),qt=null,Vt=k({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),Gt="http://www.w3.org/1998/Math/MathML",Wt="http://www.w3.org/2000/svg",Kt="http://www.w3.org/1999/xhtml",Yt=Kt,Zt=!1,Xt=null,Jt=o.createElement("form"),Qt=function(t){Xt&&Xt===t||(t&&"object"===(void 0===t?"undefined":q(t))||(t={}),t=A(t),wt="ALLOWED_TAGS"in t?k({},t.ALLOWED_TAGS):xt,yt="ALLOWED_ATTR"in t?k({},t.ALLOWED_ATTR):kt,qt="ADD_URI_SAFE_ATTR"in t?k(A(Vt),t.ADD_URI_SAFE_ATTR):Vt,Ut="ADD_DATA_URI_TAGS"in t?k(A($t),t.ADD_DATA_URI_TAGS):$t,At="FORBID_TAGS"in t?k({},t.FORBID_TAGS):{},St="FORBID_ATTR"in t?k({},t.FORBID_ATTR):{},Ct=!1!==t.ALLOW_ARIA_ATTR,Lt=!1!==t.ALLOW_DATA_ATTR,Mt=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Ot=t.WHOLE_DOCUMENT||!1,Et=t.RETURN_DOM||!1,_t=!1!==t.RETURN_DOM_IMPORT,Ft=t.RETURN_TRUSTED_TYPE||!1,jt=t.FORCE_BODY||!1,Dt=!1!==t.SANITIZE_DOM,Nt=!1!==t.KEEP_CONTENT,Rt=t.IN_PLACE||!1,zt=t.ALLOWED_URI_REGEXP||zt,Yt=t.NAMESPACE||Kt,(Tt=t.SAFE_FOR_TEMPLATES||!1)&&(Lt=!1),(Bt=t.RETURN_DOM_FRAGMENT||!1)&&(Et=!0),(Ht="USE_PROFILES"in t&&t.USE_PROFILES)&&(wt=k({},[].concat(V(j))),yt=[],!0===Ht.html&&(k(wt,C),k(yt,E)),!0===Ht.svg&&(k(wt,L),k(yt,B),k(yt,F)),!0===Ht.svgFilters&&(k(wt,M),k(yt,B),k(yt,F)),!0===Ht.mathMl&&(k(wt,O),k(yt,_),k(yt,F))),t.ADD_TAGS&&(wt===xt&&(wt=A(wt)),k(wt,t.ADD_TAGS)),t.ADD_ATTR&&(yt===kt&&(yt=A(yt)),k(yt,t.ADD_ATTR)),t.ADD_URI_SAFE_ATTR&&k(qt,t.ADD_URI_SAFE_ATTR),Nt&&(wt["#text"]=!0),Ot&&k(wt,["html","head","body"]),wt.table&&(k(wt,["tbody"]),delete At.tbody),r&&r(t),Xt=t)},ti=k({},["mi","mo","mn","ms","mtext"]),ii=k({},["foreignobject","desc","title","annotation-xml"]),ei=k({},L);k(ei,M),k(ei,T);var ni=k({},O);k(ni,I);var oi=function(t){var i=et(t);i&&i.tagName||(i={namespaceURI:Kt,tagName:"template"});var e=f(t.tagName),n=f(i.tagName);if(t.namespaceURI===Wt)return i.namespaceURI===Kt?"svg"===e:i.namespaceURI===Gt?"svg"===e&&("annotation-xml"===n||ti[n]):Boolean(ei[e]);if(t.namespaceURI===Gt)return i.namespaceURI===Kt?"math"===e:i.namespaceURI===Wt?"math"===e&&ii[n]:Boolean(ni[e]);if(t.namespaceURI===Kt){if(i.namespaceURI===Wt&&!ii[n])return!1;if(i.namespaceURI===Gt&&!ti[n])return!1;var o=k({},["title","style","font","a","script"]);return!ni[e]&&(o[e]||!ei[e])}return!1},ri=function(t){m(e.removed,{element:t});try{t.parentNode.removeChild(t)}catch(i){try{t.outerHTML=rt}catch(i){t.remove()}}},ai=function(t,i){try{m(e.removed,{attribute:i.getAttributeNode(t),from:i})}catch(t){m(e.removed,{attribute:null,from:i})}if(i.removeAttribute(t),"is"===t&&!yt[t])if(Et||Bt)try{ri(i)}catch(t){}else try{i.setAttribute(t,"")}catch(t){}},si=function(t){var i=void 0,e=void 0;if(jt)t="<remove></remove>"+t;else{var n=b(t,/^[\r\n\t ]+/);e=n&&n[0]}var r=ot?ot.createHTML(t):t;if(Yt===Kt)try{i=(new Z).parseFromString(r,"text/html")}catch(t){}if(!i||!i.documentElement){i=at.createDocument(Yt,"template",null);try{i.documentElement.innerHTML=Zt?"":r}catch(t){}}var a=i.body||i.documentElement;return t&&e&&a.insertBefore(o.createTextNode(e),a.childNodes[0]||null),Yt===Kt?lt.call(i,Ot?"html":"body")[0]:Ot?i.documentElement:a},ci=function(t){return st.call(t.ownerDocument||t,t,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT,null,!1)},li=function(t){return!(t instanceof K||t instanceof Y||"string"==typeof t.nodeName&&"string"==typeof t.textContent&&"function"==typeof t.removeChild&&t.attributes instanceof y&&"function"==typeof t.removeAttribute&&"function"==typeof t.setAttribute&&"string"==typeof t.namespaceURI&&"function"==typeof t.insertBefore)},ui=function(t){return"object"===(void 0===c?"undefined":q(c))?t instanceof c:t&&"object"===(void 0===t?"undefined":q(t))&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},di=function(t,i,n){ht[t]&&h(ht[t],(function(t){t.call(e,i,n,Xt)}))},hi=function(t){var i=void 0;if(di("beforeSanitizeElements",t,null),li(t))return ri(t),!0;if(b(t.nodeName,/[\u0080-\uFFFF]/))return ri(t),!0;var n=f(t.nodeName);if(di("uponSanitizeElement",t,{tagName:n,allowedTags:wt}),!ui(t.firstElementChild)&&(!ui(t.content)||!ui(t.content.firstElementChild))&&w(/<[/\w]/g,t.innerHTML)&&w(/<[/\w]/g,t.textContent))return ri(t),!0;if(!wt[n]||At[n]){if(Nt&&!Pt[n]){var o=et(t)||t.parentNode,r=it(t)||t.childNodes;if(r&&o)for(var a=r.length-1;a>=0;--a)o.insertBefore(Q(r[a],!0),tt(t))}return ri(t),!0}return t instanceof l&&!oi(t)?(ri(t),!0):"noscript"!==n&&"noembed"!==n||!w(/<\/no(script|embed)/i,t.innerHTML)?(Tt&&3===t.nodeType&&(i=v(i=t.textContent,pt," "),i=v(i,mt," "),t.textContent!==i&&(m(e.removed,{element:t.cloneNode()}),t.textContent=i)),di("afterSanitizeElements",t,null),!1):(ri(t),!0)},pi=function(t,i,e){if(Dt&&("id"===i||"name"===i)&&(e in o||e in Jt))return!1;if(Lt&&!St[i]&&w(ft,i));else if(Ct&&w(bt,i));else{if(!yt[i]||St[i])return!1;if(qt[i]);else if(w(zt,v(e,gt,"")));else if("src"!==i&&"xlink:href"!==i&&"href"!==i||"script"===t||0!==g(e,"data:")||!Ut[t])if(Mt&&!w(vt,v(e,gt,"")));else if(e)return!1}return!0},mi=function(t){var i=void 0,n=void 0,o=void 0,r=void 0;di("beforeSanitizeAttributes",t,null);var a=t.attributes;if(a){var s={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:yt};for(r=a.length;r--;){var c=(i=a[r]).name,l=i.namespaceURI;if(n=z(i.value),o=f(c),s.attrName=o,s.attrValue=n,s.keepAttr=!0,s.forceKeepAttr=void 0,di("uponSanitizeAttribute",t,s),n=s.attrValue,!s.forceKeepAttr&&(ai(c,t),s.keepAttr))if(w(/\/>/i,n))ai(c,t);else{Tt&&(n=v(n,pt," "),n=v(n,mt," "));var u=t.nodeName.toLowerCase();if(pi(u,o,n))try{l?t.setAttributeNS(l,c,n):t.setAttribute(c,n),p(e.removed)}catch(t){}}}di("afterSanitizeAttributes",t,null)}},fi=function t(i){var e=void 0,n=ci(i);for(di("beforeSanitizeShadowDOM",i,null);e=n.nextNode();)di("uponSanitizeShadowNode",e,null),hi(e)||(e.content instanceof a&&t(e.content),mi(e));di("afterSanitizeShadowDOM",i,null)};return e.sanitize=function(t,o){var r=void 0,s=void 0,l=void 0,u=void 0,d=void 0;if((Zt=!t)&&(t="\x3c!--\x3e"),"string"!=typeof t&&!ui(t)){if("function"!=typeof t.toString)throw x("toString is not a function");if("string"!=typeof(t=t.toString()))throw x("dirty is not a string, aborting")}if(!e.isSupported){if("object"===q(i.toStaticHTML)||"function"==typeof i.toStaticHTML){if("string"==typeof t)return i.toStaticHTML(t);if(ui(t))return i.toStaticHTML(t.outerHTML)}return t}if(It||Qt(o),e.removed=[],"string"==typeof t&&(Rt=!1),Rt);else if(t instanceof c)1===(s=(r=si("\x3c!----\x3e")).ownerDocument.importNode(t,!0)).nodeType&&"BODY"===s.nodeName||"HTML"===s.nodeName?r=s:r.appendChild(s);else{if(!Et&&!Tt&&!Ot&&-1===t.indexOf("<"))return ot&&Ft?ot.createHTML(t):t;if(!(r=si(t)))return Et?null:rt}r&&jt&&ri(r.firstChild);for(var h=ci(Rt?t:r);l=h.nextNode();)3===l.nodeType&&l===u||hi(l)||(l.content instanceof a&&fi(l.content),mi(l),u=l);if(u=null,Rt)return t;if(Et){if(Bt)for(d=ct.call(r.ownerDocument);r.firstChild;)d.appendChild(r.firstChild);else d=r;return _t&&(d=ut.call(n,d,!0)),d}var p=Ot?r.outerHTML:r.innerHTML;return Tt&&(p=v(p,pt," "),p=v(p,mt," ")),ot&&Ft?ot.createHTML(p):p},e.setConfig=function(t){Qt(t),It=!0},e.clearConfig=function(){Xt=null,It=!1},e.isValidAttribute=function(t,i,e){Xt||Qt({});var n=f(t),o=f(i);return pi(n,o,e)},e.addHook=function(t,i){"function"==typeof i&&(ht[t]=ht[t]||[],m(ht[t],i))},e.removeHook=function(t){ht[t]&&p(ht[t])},e.removeHooks=function(t){ht[t]&&(ht[t]=[])},e.removeAllHooks=function(){ht={}},e}()}()}));function M(t){if(t)return L.sanitize(unescape(t),{ADD_ATTR:["target"]})}const T={licenseActivationCode:"",licenseActivationStatus:"initial",licenseActivationMessage:"",licenseActivationApiLoading:!1,licenseActivationApiLoaded:!1,licenseActivationApiError:null,licenseActivationApiData:null};function O(t){if(!t||!t.message||!t.data)return C.cms["newdashboard.licenseActivation.error.unknown"];const{data:{errorCode:i}}=t;let e;const n={};switch(i){case-103:e="newdashboard.licenseActivation.error.codeUsedByOtherUser";break;case-102:e="newdashboard.licenseActivation.error.codeUsedBySameUser",n.TITOLO_VOLUME=t.data.data.opera&&t.data.data.volume?`${t.data.data.opera.title} - ${t.data.data.volume.title}`:"";break;case-301:e="newdashboard.licenseActivation.error.volumeNotActive";break;case-302:e="newdashboard.licenseActivation.error.volumeExpired";break;case-304:e="newdashboard.licenseActivation.error.volumeNotRenewable";break;case-303:case-305:case-401:e="newdashboard.licenseActivation.error.volumeNotReady";break;case-100:case-101:case-200:case-201:case-300:case-400:default:e="newdashboard.licenseActivation.error.default"}return o=C.cms[e],(r=n)&&Object.keys(r).forEach((t=>o=o.split(`##${t}##`).join(r[t]))),o;var o,r}const I=class{constructor(t){e(this,t),this.licenseModalState=n(this,"licenseModalState",7),this.licenseStatusChange=n(this,"licenseStatusChange",7),this.env="prod",this.licenseActivationState=T}async componentWillLoad(){await async function(t){t.cms=await async function(){try{return(await(async t=>await fetch(t,Object.assign({method:"GET",headers:void 0},void 0)))(((t="devmy")=>new A(t).buildEnvironment().URL_S3_FILE_LABELS)())).json()}catch(t){console.warn("no translation found")}}()}(C),this.cms=C.cms,this.modalState=this.variant===z.modal?"open":"closed",this.isMobile=window.screen.width<=767||window.innerWidth<=767,this.enableFormSubmitButton=this.enableButton,this.environment=new A(this.env).buildEnvironment()}handleResize(){this.isMobile=window.innerWidth<=767}handleOrientationChange(){this.isMobile=screen.width<=767}handleLicenseModalClose(){this.modalState="closed",this.licenseModalState.emit({value:"closed"}),this.resetStore()}handleLicenseModalOpen(){this.submitClicked=!0,this.modalState="open",this.licenseModalState.emit({value:"open"})}emitStatusChange(){const{licenseActivationState:{licenseActivationStatus:t,licenseActivationApiData:i}}=this;this.licenseStatusChange.emit({status:t,data:i}),"success"===this.licenseActivationState.licenseActivationStatus&&this.resetStore()}resetStore(){this.licenseActivationState=T}handleFormInputChange(t){this.enableFormSubmitButton=this.enableButton||!!t,t||this.resetStore()}async activateLicense(){const t=`${this.environment.API_V3_URL}/licenses/real`;this.licenseActivationState=Object.assign(Object.assign({},this.licenseActivationState),{licenseActivationApiLoading:!0});const i={credentials:"include"},e=C.cms["newdashboard.licenseActivation.error.sampleCodeMessage"];"A28E3E1172"===this.licenseActivationState.licenseActivationCode&&(this.licenseActivationState=Object.assign(Object.assign({},this.licenseActivationState),{licenseActivationMessage:e,licenseActivationStatus:"fail",licenseActivationApiData:null}),this.emitStatusChange(),this.handleLicenseModalOpen());try{const e=await(async(t,i,e,n)=>await fetch(t,Object.assign({method:"POST",body:JSON.stringify(i),headers:Object.assign({"Content-Type":"application/json",Accept:"application/json"},null)},n)))(t,{code:this.licenseActivationState.licenseActivationCode},0,i),n=await e.json();this.licenseActivationState=Object.assign(Object.assign({},this.licenseActivationState),{licenseActivationApiData:Object.assign(Object.assign({},n),{code:this.licenseActivationState.licenseActivationCode}),licenseActivationApiLoading:!1,licenseActivationApiLoaded:!0,licenseActivationStatus:e.ok?"success":"fail",licenseActivationMessage:e.ok?n.message:O(n)}),this.emitStatusChange(),e.ok?this.handleLicenseModalClose():this.handleLicenseModalOpen()}catch(t){const{response:i}=t;this.licenseActivationState=Object.assign(Object.assign({},this.licenseActivationState),{licenseActivationApiLoading:!1,licenseActivationApiLoaded:!0,licenseActivationApiError:t,licenseActivationStatus:"fail",licenseActivationMessage:O(await i.json()),licenseActivationApiData:null}),this.emitStatusChange(),this.handleLicenseModalOpen()}}async handleSubmitButtonClick(t){const{licenseActivationState:{licenseActivationStatus:i}}=this;this.licenseActivationState=Object.assign(Object.assign({},this.licenseActivationState),{licenseActivationCode:t}),t||this.handleLicenseModalOpen(),this.variant!==z.modal&&"open"!==this.modalState&&"initial"!==i||!t||this.activateLicense()}handleMobileButtonClick(){this.modalState="open"}mapInputStatus(t){return"initial"===t?null:"success"===t?"success":"fail"===t?"error":null}renderLicenseActivationBox(t){return o("license-activation-box",{error:this.licenseActivationState.licenseActivationApiError,code:this.licenseActivationState.licenseActivationCode},this.renderLicenseActivationForm(t))}renderLicenseActivationModal(){return o("license-activation-modal",{id:`${this.host.id}-modal`,"modal-title":this.cms["newdashboard.licenseActivation.modalTitle"],onActivationModalClose:()=>this.handleLicenseModalClose(),resetStore:this.resetStore},this.renderLicenseActivationForm(z.modal))}retrieveTextsObject(t){const{inputMessage:i,inputLabel:e,inputPlaceholder:n,buttonLabel:o,additionalDescription:r,buttonIcon:a,previewInputPlaceholder:s,previewButtonLabel:c,previewButtonIcon:l,previewButtonSize:u}=this,{licenseActivationStatus:d}=this.licenseActivationState;let h=null,p=null;return t===z.modal?h=r||this.cms["newdashboard.licenseActivation.additionalDescription"]:p=this.cms["newdashboard.licenseActivation.inputHelperMessage"],{inputStatus:this.mapInputStatus(d),inputMessage:i||p,placeholder:n||this.cms["newdashboard.licenseActivation.inputPlaceholder"],inputLabel:e||this.cms["newdashboard.licenseActivation.inputLabel"],buttonLabel:o||this.cms["newdashboard.onboarding.licenseActivation.submitLabel"],buttonIcon:a,previewInputPlaceholder:s,previewButtonLabel:c,previewButtonIcon:l,previewButtonSize:u,linkLabel:this.cms["newdashboard.licenseActivation.helperLink"].toUpperCase(),errorButtonLabel:this.cms["newdashboard.licenseActivation.contactUs.btnLabel"],errorSectionMessage:this.cms["newdashboard.licenseActivation.contactUs.message"],infoBoxIcon:`${this.environment.URL_S3_IMAGES_FOLDER}bollinoSIAE.svg`,infoBoxContent:this.cms["newdashboard.licenseActivation.infoBoxContent"],supportLink:this.cms["newdashboard.licenseActivation.contactUs.url"],additionalDescription:h}}renderLicenseActivationForm(t){const{componentid:i}=this,{licenseActivationState:{licenseActivationMessage:e,licenseActivationCode:n,licenseActivationApiLoading:r}}=this,a=this.retrieveTextsObject(t);return o("license-activation-form",{direction:"column",error:e,initialCode:n,formTexts:a,requestLoading:!!r,enableButton:this.enableFormSubmitButton,formid:i,onFormInputChange:t=>this.handleFormInputChange(t.detail.value),onSubmitButtonClick:t=>this.handleSubmitButtonClick(t.detail.value),variant:t,handleModalOpen:()=>this.handleLicenseModalOpen()})}renderMobileButton(){return o("z-button",{onClick:()=>this.handleMobileButtonClick()},this.cms["newdashboard.onboarding.licenseActivation.mobileSubmitLabel"])}render(){return o(r,null,this.variant!==z.modal?this.renderLicenseActivationBox(this.variant):"open"===this.modalState&&this.renderLicenseActivationModal(),this.variant!==z.modal&&"open"===this.modalState&&this.submitClicked&&this.renderLicenseActivationModal())}get host(){return a(this)}};I.style=".sc-license-activation-h{display:block}.sc-license-activation-h>z-button.sc-license-activation{width:100%}";const j=class{constructor(t){e(this,t)}componentWillLoad(){const{error:t}=this;t&&t.data===this.code&&this.renderLicenseActivationModal()}componentWillUpdate(){const{error:t}=this;t&&t.data===this.code&&this.renderLicenseActivationModal()}renderLicenseActivationModal(){return o("license-activation-modal",null,this.hostElement.children)}render(){return o(r,null,o("slot",null))}get hostElement(){return a(this)}};j.style="@media only screen and (min-width: 768px){div:nth-child(1) .sc-license-activation-box-h>div.sc-license-activation-box{display:grid;grid-template-columns:3fr 1fr;grid-column-gap:calc(var(--space-unit) * 2)}.sc-license-activation-box-h>div.sc-license-activation-box>z-button.sc-license-activation-box{margin-top:calc(var(--space-unit) * 4)}}";const E=class{constructor(t){e(this,t),this.formInputChange=n(this,"formInputChange",7),this.submitButtonClick=n(this,"submitButtonClick",7),this.redirectToSupport=this.redirectToSupport.bind(this)}watchPropHandler(){this.requestLoading||this.inputMessageRef&&this.error&&this.inputMessageRef.focus()}componentDidLoad(){this.variant===z.modal&&(this.requestLoading||this.inputLicenseRef&&!this.error&&setTimeout((()=>{this.inputLicenseRef.querySelector("input").focus()}),200))}componentWillLoad(){this.inputVal=this.initialCode?this.initialCode:""}handleFormInputChange(t){this.inputVal=t.value,this.formInputChange.emit(t)}handleSubmitButtonClick(t){this.submitButtonClick.emit({value:t})}handleInfoClick(){this.variant!==z.box&&this.variant!==z.preview||this.handleModalOpen()}renderInput(){const{inputLabel:t,placeholder:i,inputStatus:e,previewInputPlaceholder:n}=this.formTexts;if(this.variant!==z.preview||n)return o("div",{class:"license-input-container"},o("z-input",{ref:t=>this.inputLicenseRef=t,value:this.inputVal,htmlid:`${this.formid}_input`,label:this.variant===z.preview?"":t,placeholder:this.variant===z.preview?n:i,status:this.variant===z.box?null:e,message:!1,htmltitle:i,disabled:!!this.requestLoading,onInputChange:t=>this.handleFormInputChange(t.detail)}),this.renderInputMessage())}renderInputMessage(){const{inputMessage:t,inputStatus:i}=this.formTexts;if(this.variant!==z.preview)return o("z-input-message",{ref:t=>this.inputMessageRef=t,message:this.variant===z.box?t:this.error?this.error:t,status:this.variant===z.box?null:i})}renderButton(){const t=this.variant===z.modal&&!this.inputVal||!!this.requestLoading||!this.enableButton;return o("z-button",{ariaLabel:"attiva il libro digitale",variant:l.primary,size:this.getButtonSize(this.variant),icon:this.getButtonIcon(this.variant),disabled:t,onClick:()=>this.handleSubmitButtonClick(this.inputVal)},this.getButtonLabel(this.variant))}renderAdditionalDescription(){const{additionalDescription:t}=this.formTexts;if(t)return o("span",{class:"body-3",innerHTML:M(t)})}renderInfoLink(){const{linkLabel:t}=this.formTexts;if(this.variant!==z.preview)return this.variant===z.modal?o("span",{class:"infobox-content body-4-sb"},o("z-icon",{name:"question-mark"})," ",t):o("button",{class:"z-link z-link-icon z-link-sb","aria-label":`${t} clicca per avere maggiori informazioni`,onClick:()=>this.handleInfoClick()},o("z-icon",{name:"question-mark"}),t)}renderInfoBox(){if(this.variant!==z.modal)return;const{infoBoxContent:t,infoBoxIcon:i}=this.formTexts;return o("z-info-box",{boxid:"singleInputFormInfoSection",isclosable:!1},o("div",{slot:"content"},i&&o("span",{"aria-hidden":"true"},o("img",{src:i,alt:""})),t&&o("span",{innerHTML:M(t)})))}redirectToSupport(){const{formTexts:t}=this;t.supportLink&&(window.location.href=t.supportLink)}renderErrorSection(){if(this.variant!==z.modal||!this.error)return;const{errorButtonLabel:t,errorSectionMessage:i}=this.formTexts;return o("section",{class:"error-section"},o("span",{class:"heading-01"},i),o("z-button",{variant:l.secondary,onClick:this.redirectToSupport},t))}getButtonSize(t){const{previewButtonSize:i}=this.formTexts;return t===z.preview&&i?i:"big"}getButtonSquare(t){const{previewButtonLabel:i,previewButtonIcon:e}=this.formTexts;if(t===z.preview&&e&&!i)return!0}getButtonIcon(t){const{buttonIcon:i,previewButtonIcon:e}=this.formTexts;return t===z.preview&&e?e:t!==z.preview&&i?i:void 0}getButtonLabel(t){const{buttonLabel:i,previewButtonLabel:e}=this.formTexts;return t===z.preview&&e?e:t!==z.preview&&i?i:""}render(){return o(r,{variant:this.variant},o("div",null,this.renderAdditionalDescription(),this.renderInput(),this.renderButton()),this.renderInfoLink(),o("div",null,this.renderInfoBox(),this.renderErrorSection()))}static get watchers(){return{requestLoading:["watchPropHandler"]}}};E.style='.sc-license-activation-form-h{display:block}.sc-license-activation-form-h>div.sc-license-activation-form>.body-3.sc-license-activation-form{display:block;margin-bottom:calc(var(--space-unit) * 4)}.sc-license-activation-form-h>div.sc-license-activation-form>z-button.sc-license-activation-form{padding:calc(var(--space-unit) * 2) 0;width:100%}.sc-license-activation-form-h>div.sc-license-activation-form>z-input.sc-license-activation-form{width:100%}.sc-license-activation-form-h>div.sc-license-activation-form>z-info-box.sc-license-activation-form>div.sc-license-activation-form{display:flex}[variant="modal"].sc-license-activation-form-h{padding:calc(var(--space-unit) * 2)}[variant="modal"].sc-license-activation-form-h .error-section.sc-license-activation-form{display:flex;flex-direction:column;border-top:var(--border-size-small) solid var(--color-surface03);margin-top:calc(var(--space-unit) * 3);padding-top:calc(var(--space-unit) * 2)}[variant="modal"].sc-license-activation-form-h .error-section.sc-license-activation-form>span.sc-license-activation-form{padding:calc(var(--space-unit) * 2) 0;display:block;color:var(--color-text01);fill:var(--color-text01);font-family:var(--dashboard-font);font-weight:var(--font-sb);font-size:14px;line-height:20px}[variant="preview"].sc-license-activation-form-h{margin:0;padding:0}[variant="preview"].sc-license-activation-form-h>div.sc-license-activation-form>z-button.sc-license-activation-form{margin:0;padding:0;width:initial}[variant="preview"].sc-license-activation-form-h .license-input-container.sc-license-activation-form{width:100%;margin-right:calc(var(--space-unit) * 2)}[variant="modal"].sc-license-activation-form-h .infobox-content.sc-license-activation-form{display:flex;align-items:center;color:var(--color-link-primary);column-gap:0.5em;padding:calc(var(--space-unit) / 2) 0}[variant="modal"].sc-license-activation-form-h .infobox-content.sc-license-activation-form z-icon.sc-license-activation-form{fill:var(--color-link-primary)}.sc-license-activation-form-h .license-input-container.sc-license-activation-form>z-input.sc-license-activation-form{width:100%}@media only screen and (min-width: 768px){[variant="modal"].sc-license-activation-form-h{padding:calc(var(--space-unit) * 3);width:396px}.sc-license-activation-form-h>div.sc-license-activation-form{display:flex;flex-direction:row}[variant="modal"].sc-license-activation-form-h>div.sc-license-activation-form{flex-direction:column}.sc-license-activation-form-h>div.sc-license-activation-form>z-button.sc-license-activation-form{padding-top:calc(var(--space-unit) * 3);padding-left:calc(var(--space-unit) * 2);width:auto}[variant="preview"].sc-license-activation-form-h>div.sc-license-activation-form>z-button.sc-license-activation-form{padding-top:0}[variant="modal"].sc-license-activation-form-h>div.sc-license-activation-form>z-button.sc-license-activation-form{padding:calc(var(--space-unit) * 3) 0 calc(var(--space-unit) * 2);width:max-content}[variant="modal"].sc-license-activation-form-h .error-section.sc-license-activation-form>z-button.sc-license-activation-form{width:max-content}}@media only screen and (min-width: 1152px){.sc-license-activation-form-h>div.sc-license-activation-form{flex-direction:row}}@media only screen and (min-width: 1366px){[variant="modal"].sc-license-activation-form-h{padding:calc(var(--space-unit) * 4);width:477px}}';const B=class{constructor(t){e(this,t),this.activationModalClose=n(this,"activationModalClose",7)}handleModalClose(){this.activationModalClose.emit({value:!0}),this.resetStore()}render(){return o(r,null,o("z-modal",{modaltitle:this.modalTitle,alertdialog:!0,onModalClose:()=>this.handleModalClose()},o("div",{slot:"modalContent"},o("slot",null))))}};B.style=".sc-license-activation-modal-h{display:block}";const _=class{constructor(t){e(this,t),this.ariaLabel="",this.disabled=!1,this.type=u.BUTTON,this.variant=l.PRIMARY,this.size=d.BIG}getAttributes(){return{id:this.htmlid,class:{"z-button--container":!0,"z-button--has-text":!!this.hostElement.textContent.trim()}}}render(){return this.href?o("a",Object.assign({},this.getAttributes(),{"aria-label":this.ariaLabel,href:this.href,target:this.target}),this.icon&&o("z-icon",{name:this.icon,width:16,height:16}),o("slot",null)):o("button",Object.assign({},this.getAttributes(),{"aria-label":this.ariaLabel,name:this.name,type:this.type,role:this.role,disabled:this.disabled}),this.icon&&o("z-icon",{name:this.icon,width:16,height:16}),o("slot",null))}get hostElement(){return a(this)}};_.style='.sc-z-button-h{display:inline-block;--z-icon-width:16px;--z-icon-height:16px;--z-icon-right-margin:0}[disabled].sc-z-button-h:not([disabled="false"]){pointer-events:none}.sc-z-button-h .z-button--container.sc-z-button{display:inline-flex;width:100%;box-sizing:border-box;align-items:center;justify-content:center;padding:0;border-width:var(--border-size-medium);border-style:solid;border-radius:var(--border-radius);cursor:pointer;fill:currentcolor;font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-sb);letter-spacing:0.3px;line-height:1;outline:none;text-decoration:none;text-transform:uppercase;white-space:nowrap}.sc-z-button-h .z-button--container.sc-z-button:focus:focus-visible{box-shadow:var(--shadow-focus-primary)}.sc-z-button-h .z-button--container.z-button--has-text.sc-z-button{min-width:calc(var(--space-unit) * 8);padding:0 calc(var(--space-unit) * 2)}.sc-z-button-h .z-button--container.z-button--has-text.sc-z-button z-icon.sc-z-button{--z-icon-right-margin:var(--space-unit)}[size="big"].sc-z-button-h .z-button--container.sc-z-button{min-width:44px;height:44px}[size="small"].sc-z-button-h .z-button--container.sc-z-button{min-width:36px;height:36px}[size="x-small"].sc-z-button-h .z-button--container.sc-z-button{min-width:32px;height:32px}[variant="primary"].sc-z-button-h .z-button--container.sc-z-button{border-color:var(--color-primary01);background-color:var(--color-primary01);color:var(--color-text-inverse)}@media (hover: hover){[variant="primary"].sc-z-button-h .z-button--container.sc-z-button:hover{border-color:var(--color-hover-primary);background-color:var(--color-hover-primary);color:var(--color-text-inverse)}}[variant="primary"].sc-z-button-h .z-button--container.sc-z-button:active{border-color:var(--color-pressed-primary);background-color:var(--color-pressed-primary);box-shadow:var(--shadow-2);color:var(--color-text-inverse)}[variant="primary"][disabled].sc-z-button-h:not([disabled="false"]) .z-button--container.sc-z-button{border-color:var(--color-disabled01);background-color:var(--color-disabled01);color:var(--color-disabled02)}[variant="secondary"].sc-z-button-h .z-button--container.sc-z-button{border-color:var(--color-primary01);background-color:var(--color-surface01);color:var(--color-primary01)}@media (hover: hover){[variant="secondary"].sc-z-button-h .z-button--container.sc-z-button:hover{border-color:var(--color-hover-primary);background-color:var(--color-surface01);color:var(--color-hover-primary)}}[variant="secondary"].sc-z-button-h .z-button--container.sc-z-button:active{border-color:var(--color-pressed-primary);background-color:var(--color-surface01);box-shadow:var(--shadow-2);color:var(--color-pressed-primary)}[variant="secondary"][disabled].sc-z-button-h:not([disabled="false"]) .z-button--container.sc-z-button{border-color:var(--color-disabled01);background-color:var(--color-surface01);color:var(--color-disabled02)}[variant="tertiary"].sc-z-button-h .z-button--container.sc-z-button{border-color:var(--color-primary02);background-color:var(--color-primary02);color:var(--color-primary01)}@media (hover: hover){[variant="tertiary"].sc-z-button-h .z-button--container.sc-z-button:hover{border-color:var(--color-primary03);background-color:var(--color-primary03);color:var(--color-hover-primary)}}[variant="tertiary"].sc-z-button-h .z-button--container.sc-z-button:focus:focus-visible{border-color:var(--color-surface01);background-color:var(--color-surface01);color:var(--color-primary01)}[variant="tertiary"].sc-z-button-h .z-button--container.sc-z-button:active{border-color:var(--color-surface01);background-color:var(--color-surface01);box-shadow:var(--shadow-2);color:var(--color-primary01)}[variant="tertiary"][disabled].sc-z-button-h:not([disabled="false"]) .z-button--container.sc-z-button{border-color:transparent;background-color:transparent;color:var(--color-disabled02)}';const F=class{constructor(t){e(this,t)}selectPathOrPolygon(t){return(null==t?void 0:t.startsWith("M"))?o("path",{d:f[this.name]}):o("polygon",{points:f[this.name]})}render(){return o(r,{"aria-hidden":"true"},o("svg",{viewBox:"0 0 1000 1000",width:this.width,height:this.height,id:this.iconid,fill:this.fill?`var(--${this.fill})`:""},this.selectPathOrPolygon(f[this.name])))}};F.style=":host{margin-right:var(--z-icon-right-margin, 0);margin-left:var(--z-icon-left-margin, 0);line-height:0;vertical-align:middle}:host svg:not([width]){width:var(--z-icon-width, 18px)}:host svg:not([height]){height:var(--z-icon-height, 18px)}";const D=class{constructor(t){e(this,t),this.infoBoxClose=n(this,"infoBoxClose",7),this.isclosable=!0}emitInfoBoxClose(){this.infoBoxClose.emit({boxid:this.boxid})}render(){return o("div",{id:this.boxid},o("slot",{name:"content"}),this.isclosable&&o("z-icon",{name:"multiply","data-action":"infoBoxClose",onClick:()=>this.emitInfoBoxClose()}))}};D.style=":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{display:flex;width:inherit;padding:calc(var(--space-unit) * 2);background:var(--color-primary03);border-radius:var(--border-radius)}:host>div>slot{color:var(--color-text01);font-size:14px}:host>div>z-icon{margin-left:calc(var(--space-unit) * 2);cursor:pointer;fill:var(--color-primary01)}";const N=class{constructor(t){e(this,t),this.inputChange=n(this,"inputChange",7),this.startTyping=n(this,"startTyping",7),this.stopTyping=n(this,"stopTyping",7),this.inputCheck=n(this,"inputCheck",7),this.htmlid=`id-${b()}`,this.ariaLabel="",this.disabled=!1,this.readonly=!1,this.required=!1,this.checked=!1,this.message=!0,this.labelPosition=h.RIGHT,this.hasclearicon=!0,this.size=d.BIG,this.isTyping=!1,this.passwordHidden=!0,this.typingtimeout=300}inputCheckListener(t){const i=t.detail;switch(this.type){case p.RADIO:i.type===p.RADIO&&i.name===this.name&&i.id!==this.htmlid&&(this.checked=!1)}}async isChecked(){switch(this.type){case p.CHECKBOX:case p.RADIO:return this.checked;default:return console.warn("`isChecked` method is only available for type `checkbox` and `radio`"),!1}}emitInputChange(t){let i;this.isTyping||this.emitStartTyping(),i=this.getValidity(this.type===p.TEXTAREA?"textarea":"input"),this.value=t,this.inputChange.emit({value:t,validity:i}),clearTimeout(this.timer),this.timer=setTimeout((()=>{this.emitStopTyping(this.value,i)}),this.typingtimeout)}emitStartTyping(){this.isTyping=!0,this.startTyping.emit()}emitStopTyping(t,i){this.isTyping=!1,this.stopTyping.emit({value:t,validity:i})}emitInputCheck(t){this.inputCheck.emit({id:this.htmlid,checked:t,type:this.type,name:this.name,value:this.value,validity:this.getValidity("input")})}getValidity(t){return this.hostElement.querySelector(t).validity}getTextAttributes(){return{id:this.htmlid,name:this.name,placeholder:this.placeholder,value:this.value,disabled:this.disabled,readonly:this.readonly,required:this.required,title:this.htmltitle,minlength:this.minlength,maxlength:this.maxlength,class:{[`input-${this.status}`]:!!this.status,filled:!!this.value},autocomplete:this.autocomplete,onInput:t=>this.emitInputChange(t.target.value)}}getNumberAttributes(t){if(t==p.NUMBER)return{min:this.min,max:this.max,step:this.step}}getPatternAttribute(t){if(t==p.PASSWORD||t==p.TEXT||t==p.TEL||t==p.SEARCH||t==p.URL||t==p.EMAIL)return{pattern:this.pattern}}renderInputText(t=p.TEXT){const i=this.ariaLabel?{"aria-label":this.ariaLabel}:{},e=Object.assign(Object.assign(Object.assign(Object.assign({},this.getTextAttributes()),this.getNumberAttributes(t)),this.getPatternAttribute(t)),i);return(this.icon||t===p.PASSWORD)&&Object.assign(e.class,{"has-icon":!0}),this.hasclearicon&&t!=p.NUMBER&&Object.assign(e.class,{"has-clear-icon":!0}),o("div",{class:"text-wrapper"},this.renderLabel(),o("div",null,o("input",Object.assign({type:t!==p.PASSWORD||this.passwordHidden?t:p.TEXT},e,{ref:t=>this.inputRef=t})),this.renderIcons()),this.renderMessage())}renderLabel(){if(this.label)return o("label",{class:"input-label body-5-sb",id:`${this.htmlid}_label`,htmlFor:this.htmlid},this.label)}renderIcons(){return o("span",{class:"icons-wrapper"},this.renderResetIcon(),this.renderIcon())}renderIcon(){return this.type===p.PASSWORD?this.renderShowHidePassword():this.icon?o("button",{type:"button",class:"icon-button input-icon",tabIndex:-1,"aria-hidden":"true"},o("z-icon",{name:this.icon,class:this.size})):void 0}renderResetIcon(){let t=!1;return this.hasclearicon&&this.value&&!this.disabled&&!this.readonly&&this.type!=p.NUMBER||(t=!0),o("button",{type:"button",class:"icon-button reset-icon "+(t?"hidden":""),"aria-label":"cancella il contenuto dell'input",onClick:()=>{this.inputRef.value="",this.emitInputChange("")}},o("z-icon",{name:"multiply",class:this.size}))}renderShowHidePassword(){return o("button",{type:"button",class:"icon-button toggle-password-icon",disabled:this.disabled,"aria-label":this.passwordHidden?"mostra password":"nascondi password",onClick:()=>this.passwordHidden=!this.passwordHidden},o("z-icon",{name:this.passwordHidden?"view-filled":"view-off-filled",class:this.size}))}renderMessage(){if(!1!==v(this.message))return o("z-input-message",{message:!0===v(this.message)?void 0:this.message,status:this.status,class:this.size})}renderTextarea(){const t=this.getTextAttributes(),i=this.ariaLabel?{"aria-label":this.ariaLabel}:{};return o("div",{class:"text-wrapper"},this.renderLabel(),o("div",{class:Object.assign(Object.assign({},t.class),{"textarea-wrapper":!0,readonly:t.readonly})},o("textarea",Object.assign({},t,i))),this.renderMessage())}handleCheck(t){this.checked=t.target.checked,this.emitInputCheck(this.checked)}renderCheckbox(){return o("div",{class:"checkbox-wrapper"},o("input",{id:this.htmlid,type:"checkbox",name:this.name,checked:this.checked,disabled:this.disabled,readonly:this.readonly,required:this.required,onChange:this.handleCheck.bind(this),value:this.value}),o("label",{htmlFor:this.htmlid,class:{"checkbox-label":!0,after:this.labelPosition===h.RIGHT,before:this.labelPosition===h.LEFT}},o("z-icon",{name:this.checked?"checkbox-checked":"checkbox","aria-hidden":"true",class:this.size}),this.label&&o("span",{innerHTML:this.label})))}renderRadio(){return o("div",{class:"radio-wrapper"},o("input",{id:this.htmlid,type:"radio",name:this.name,checked:this.checked,disabled:this.disabled,readonly:this.readonly,onChange:this.handleCheck.bind(this),value:this.value}),o("label",{htmlFor:this.htmlid,class:{"radio-label":!0,after:this.labelPosition===h.RIGHT,before:this.labelPosition===h.LEFT}},o("z-icon",{name:this.checked?"radio-button-checked":"radio-button","aria-hidden":"true",class:this.size}),this.label&&o("span",{innerHTML:this.label})))}render(){let t;switch(this.type){case p.TEXTAREA:t=this.renderTextarea();break;case p.CHECKBOX:t=this.renderCheckbox();break;case p.RADIO:t=this.renderRadio();break;default:t=this.renderInputText(this.type)}return o(r,null,t)}get hostElement(){return a(this)}};N.style='.sc-z-input-h{display:inline-block;width:inherit}input.sc-z-input::-ms-clear,input.sc-z-input::-ms-reveal{display:none}.sc-z-input-h input.sc-z-input::-ms-clear,.sc-z-input-h input.sc-z-input::-ms-reveal{display:none}input.sc-z-input,textarea.sc-z-input,.textarea-wrapper.sc-z-input{box-sizing:border-box;border:var(--border-size-small) solid var(--color-surface04);background:var(--color-input-field01);border-radius:var(--border-radius-small);color:var(--color-text01);fill:var(--color-icon02);font-family:var(--font-family-sans);font-size:var(--font-size-3);font-weight:var(--font-rg);outline:none}[size="small"].sc-z-input-h input.sc-z-input,[size="small"].sc-z-input-h textarea.sc-z-input,[size="small"].sc-z-input-h .textarea-wrapper.sc-z-input,[size="x-small"].sc-z-input-h input.sc-z-input,[size="x-small"].sc-z-input-h textarea.sc-z-input,[size="x-small"].sc-z-input-h .textarea-wrapper.sc-z-input{font-size:var(--font-size-2)}.cursor-select.sc-z-input-h input.sc-z-input{cursor:pointer}.sc-z-input-h:not(.active-select) input.sc-z-input:focus:focus-visible,.textarea-wrapper.sc-z-input:focus-within{box-shadow:var(--shadow-focus-primary)}input.sc-z-input:focus:focus-visible,textarea.sc-z-input:focus:focus-visible{color:var(--color-input-field02)}.active-select.sc-z-input-h input.sc-z-input{border:var(--border-size-small) solid var(--blue500)}.cursor-select.sc-z-input-h input.sc-z-input:focus:focus-visible{box-shadow:var(--shadow-focus-primary)}.sc-z-input-h input[readonly].sc-z-input:focus:focus-visible{box-shadow:none}.filled.sc-z-input{border-color:var(--color-surface05)}.input-success.sc-z-input{border-color:var(--color-success01);background:var(--color-success-inverse);fill:var(--color-success01)}.input-error.sc-z-input{border-color:var(--color-error01);background:var(--color-error-inverse);fill:var(--color-error01)}.input-warning.sc-z-input{border-color:var(--color-warning01);background:var(--color-warning-inverse);fill:var(--color-warning01)}input.sc-z-input:hover,.textarea-wrapper.sc-z-input:hover{outline:var(--border-size-medium) solid var(--color-surface04);outline-offset:-2px}.sc-z-input-h:not(.active-select) input[readonly].sc-z-input,.readonly.sc-z-input{border-color:var(--color-disabled01);fill:var(--color-disabled01);pointer-events:none}[disabled].sc-z-input-h:not([disabled="false"]) input.sc-z-input,[disabled].sc-z-input-h:not([disabled="false"]) .textarea-wrapper.sc-z-input,[disabled].sc-z-input-h:not([disabled="false"]) z-icon.sc-z-input{border-color:var(--color-disabled01);box-shadow:none;color:var(--color-disabled02);fill:var(--color-disabled01);pointer-events:none}[disabled].sc-z-input-h:not([disabled="false"]) input.sc-z-input:hover{border-width:var(--border-size-small)}input.sc-z-input::placeholder,textarea.sc-z-input::placeholder{color:var(--color-text05)}.sc-z-input::-webkit-textarea-placeholder{color:var(--color-text05)}.sc-z-input:-ms-textarea-placeholder{color:var(--color-text05)}.sc-z-input::placeholder{color:var(--color-text05)}label.input-label.sc-z-input{display:block;padding-bottom:var(--space-unit);color:var(--color-text02);font-family:var(--font-family-sans);font-size:var(--font-size-1);font-weight:var(--font-sb);text-align:left;text-transform:uppercase}[disabled].sc-z-input-h:not([disabled="false"]) label.input-label.sc-z-input{color:var(--color-disabled02)}.text-wrapper.sc-z-input>div.sc-z-input{position:relative;z-index:1;fill:var(--color-icon02)}.text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input{width:100%;height:calc(var(--space-unit) * 5.5);box-sizing:border-box;padding:0 calc(var(--space-unit) * 1.5);margin:0}[size="small"].sc-z-input-h .text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input{height:calc(var(--space-unit) * 4.5)}[size="x-small"].sc-z-input-h .text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input{height:calc(var(--space-unit) * 4)}.text-wrapper.sc-z-input>div.sc-z-input>input.has-icon.sc-z-input,.text-wrapper.sc-z-input>div.sc-z-input>input.has-clear-icon.sc-z-input{padding-right:calc(var(--space-unit) * 5.25)}.text-wrapper.sc-z-input>div.sc-z-input>input.has-icon.has-clear-icon.sc-z-input{padding-right:calc(var(--space-unit) * 8)}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input{position:absolute;z-index:2;top:50%;right:calc(var(--space-unit) * 1.5);display:flex;pointer-events:none;transform:translateY(-50%)}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.icon-button.sc-z-input{padding:0;border:0;background:none;color:inherit;font:inherit;pointer-events:initial}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.icon-button.sc-z-input+button.icon-button.sc-z-input{margin-left:calc(var(--space-unit) * 0.5)}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.icon-button.hidden.sc-z-input{display:none}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.icon-button.reset-icon.sc-z-input,.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.icon-button.toggle-password-icon.sc-z-input{cursor:pointer}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.icon-button.sc-z-input>z-icon.sc-z-input{--z-icon-width:18px;--z-icon-height:18px;display:block}.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.icon-button.sc-z-input>z-icon.small.sc-z-input,.text-wrapper.sc-z-input .icons-wrapper.sc-z-input>button.icon-button.sc-z-input>z-icon.x-small.sc-z-input{--z-icon-width:16px;--z-icon-height:16px}.text-wrapper.sc-z-input>div.sc-z-input>input.sc-z-input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #fff inset;-webkit-text-fill-color:currentcolor}.textarea-wrapper.sc-z-input{padding:calc(var(--space-unit) * 1.5);scrollbar-color:var(--color-primary01) transparent}textarea.sc-z-input::-webkit-scrollbar{width:10px;background:linear-gradient(to right, transparent 0 3px, var(--gray200) 3px 7px, transparent 7px 10px);border-radius:var(--border-radius)}textarea.sc-z-input::-webkit-scrollbar-track{background-color:transparent}textarea.sc-z-input::-webkit-scrollbar-thumb{width:10px;background-color:var(--color-primary01);border-radius:var(--border-radius)}textarea.sc-z-input::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}textarea.sc-z-input{width:100%;min-height:132px;padding:0;border:none;margin:0;resize:none}.radio-wrapper.sc-z-input,.checkbox-wrapper.sc-z-input{position:relative;display:inline-flex;flex-direction:row;align-items:center;color:var(--color-text01);fill:var(--color-primary01);font-family:var(--font-family-sans)}.radio-wrapper.sc-z-input:hover,.checkbox-wrapper.sc-z-input:hover{color:var(--color-hover-primary);fill:currentcolor}.radio-wrapper.sc-z-input>input.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input{position:absolute;z-index:-1;opacity:0;pointer-events:none}.radio-wrapper.sc-z-input .radio-label.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input{display:inline-flex;align-items:center;margin:0;color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:1;text-transform:inherit}.radio-wrapper.sc-z-input input.sc-z-input:not(:disabled)+.radio-label.sc-z-input,.checkbox-wrapper.sc-z-input input.sc-z-input:not(:disabled)+.checkbox-label.sc-z-input{cursor:pointer}.radio-wrapper.sc-z-input .radio-label.sc-z-input z-icon.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input z-icon.sc-z-input{cursor:pointer;fill:inherit}[size="small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.sc-z-input z-icon.sc-z-input,[size="small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input z-icon.sc-z-input{--z-icon-width:16px;--z-icon-height:16px}[size="small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.sc-z-input,[size="small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input{font-size:var(--font-size-2)}[size="x-small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.sc-z-input z-icon.sc-z-input,[size="x-small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input z-icon.sc-z-input{--z-icon-width:14px;--z-icon-height:14px}[size="x-small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.sc-z-input,[size="x-small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.sc-z-input{font-size:var(--font-size-1)}.radio-wrapper.sc-z-input .radio-label.after.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.after.sc-z-input{flex-direction:row}.radio-wrapper.sc-z-input .radio-label.before.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.before.sc-z-input{flex-direction:row-reverse}.radio-wrapper.sc-z-input .radio-label.after.sc-z-input>span.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.after.sc-z-input>span.sc-z-input{margin-left:var(--space-unit)}.radio-wrapper.sc-z-input .radio-label.before.sc-z-input>span.sc-z-input,.checkbox-wrapper.sc-z-input .checkbox-label.before.sc-z-input>span.sc-z-input{margin-right:var(--space-unit)}[size="small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.after.sc-z-input>span.sc-z-input,[size="small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.after.sc-z-input>span.sc-z-input,[size="x-small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.after.sc-z-input>span.sc-z-input,[size="x-small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.after.sc-z-input>span.sc-z-input{margin-left:calc(var(--space-unit) * 0.5)}[size="small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.before.sc-z-input>span.sc-z-input,[size="small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.before.sc-z-input>span.sc-z-input,[size="x-small"].sc-z-input-h .radio-wrapper.sc-z-input .radio-label.before.sc-z-input>span.sc-z-input,[size="x-small"].sc-z-input-h .checkbox-wrapper.sc-z-input .checkbox-label.before.sc-z-input>span.sc-z-input{margin-right:calc(var(--space-unit) * 0.5)}.radio-wrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.radio-label.sc-z-input>z-icon.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input:focus:focus-visible+.checkbox-label.sc-z-input>z-icon.sc-z-input{border-radius:var(--border-radius-small);box-shadow:var(--shadow-focus-primary)}.radio-wrapper.sc-z-input>input.sc-z-input:disabled+.radio-label.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input:disabled+.checkbox-label.sc-z-input{color:var(--color-disabled02)}.radio-wrapper.sc-z-input>input.sc-z-input:disabled+.radio-label.sc-z-input>z-icon.sc-z-input,.checkbox-wrapper.sc-z-input>input.sc-z-input:disabled+.checkbox-label.sc-z-input>z-icon.sc-z-input{cursor:default;fill:var(--color-disabled01)}';const R=class{constructor(t){e(this,t),this.statusIcons={success:"checkmark-circle",error:"multiply-circled",warning:"exclamation-circle"},this.statusRole={}}onMessageChange(){this.statusRole=this.message&&this.status?{role:"alert"}:{}}componentWillLoad(){this.onMessageChange()}render(){return o(r,Object.assign({},this.statusRole,{"aria-label":this.message}),this.statusIcons[this.status]&&this.message&&o("z-icon",{name:this.statusIcons[this.status]}),o("span",{innerHTML:this.message}))}static get watchers(){return{message:["onMessageChange"],status:["onMessageChange"]}}};R.style=':host{display:flex;min-height:calc(var(--space-unit) * 2.5);align-items:start;margin-top:var(--space-unit);color:var(--color-text05);fill:currentcolor;font-family:var(--font-family-sans);font-size:var(--font-size-2);letter-spacing:0.16px}:host(.small),:host(.x-small){margin-top:calc(var(--space-unit) * 0.5);font-size:var(--font-size-1)}:host([status="success"]){color:var(--color-text-success)}:host([status="error"]){color:var(--color-text-error)}:host([status="warning"]){color:var(--color-warning02)}:host(:focus){outline:none}:host>z-icon{--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);--z-icon-right-margin:var(--space-unit);margin-top:calc(var(--space-unit) * 0.25)}:host(.small)>z-icon,:host(.x-small)>z-icon{--z-icon-width:14px;--z-icon-height:14px;--z-icon-right-margin:calc(var(--space-unit) * 0.5)}';var H=window.CustomEvent;function P(t,i){var e="on"+i.type.toLowerCase();return"function"==typeof t[e]&&t[e](i),t.dispatchEvent(i)}function U(t){for(;t;){if("dialog"===t.localName)return t;t=t.parentElement?t.parentElement:t.parentNode?t.parentNode.host:null}return null}function $(t){for(;t&&t.shadowRoot&&t.shadowRoot.activeElement;)t=t.shadowRoot.activeElement;t&&t.blur&&t!==document.body&&t.blur()}function q(t,i){for(var e=0;e<t.length;++e)if(t[e]===i)return!0;return!1}function V(t){return!(!t||!t.hasAttribute("method"))&&"dialog"===t.getAttribute("method").toLowerCase()}function G(t){var i=["button","input","keygen","select","textarea"].map((function(t){return t+":not([disabled])"}));i.push('[tabindex]:not([disabled]):not([tabindex=""])');var e=t.querySelector(i.join(", "));if(!e&&"attachShadow"in Element.prototype)for(var n=t.querySelectorAll("*"),o=0;o<n.length&&!(n[o].tagName&&n[o].shadowRoot&&(e=G(n[o].shadowRoot)));o++);return e}function W(t){return t.isConnected||document.body.contains(t)}function K(t){if(t.submitter)return t.submitter;var i=t.target;if(!(i instanceof HTMLFormElement))return null;var e=X.formSubmitter;if(!e){var n=t.target;e=("getRootNode"in n&&n.getRootNode()||document).activeElement}return e&&e.form===i?e:null}function Y(t){if(!t.defaultPrevented){var i=t.target,e=X.imagemapUseValue,n=K(t);null===e&&n&&(e=n.value);var o=U(i);o&&"dialog"===(n&&n.getAttribute("formmethod")||i.getAttribute("method"))&&(t.preventDefault(),null!=e?o.close(e):o.close())}}function Z(t){if(this.dialog_=t,this.replacedStyleTop_=!1,this.openAsModal_=!1,t.hasAttribute("role")||t.setAttribute("role","dialog"),t.show=this.show.bind(this),t.showModal=this.showModal.bind(this),t.close=this.close.bind(this),t.addEventListener("submit",Y,!1),"returnValue"in t||(t.returnValue=""),"MutationObserver"in window)new MutationObserver(this.maybeHideModal.bind(this)).observe(t,{attributes:!0,attributeFilter:["open"]});else{var i,e=!1,n=function(){e?this.downgradeModal():this.maybeHideModal(),e=!1}.bind(this),o=function(o){if(o.target===t){var r="DOMNodeRemoved";e|=o.type.substr(0,r.length)===r,window.clearTimeout(i),i=window.setTimeout(n,0)}};["DOMAttrModified","DOMNodeRemoved","DOMNodeRemovedFromDocument"].forEach((function(i){t.addEventListener(i,o)}))}Object.defineProperty(t,"open",{set:this.setOpen.bind(this),get:t.hasAttribute.bind(t,"open")}),this.backdrop_=document.createElement("div"),this.backdrop_.className="backdrop",this.backdrop_.addEventListener("mouseup",this.backdropMouseEvent_.bind(this)),this.backdrop_.addEventListener("mousedown",this.backdropMouseEvent_.bind(this)),this.backdrop_.addEventListener("click",this.backdropMouseEvent_.bind(this))}H&&"object"!=typeof H||((H=function(t,i){i=i||{};var e=document.createEvent("CustomEvent");return e.initCustomEvent(t,!!i.bubbles,!!i.cancelable,i.detail||null),e}).prototype=window.Event.prototype),Z.prototype={get dialog(){return this.dialog_},maybeHideModal:function(){this.dialog_.hasAttribute("open")&&W(this.dialog_)||this.downgradeModal()},downgradeModal:function(){this.openAsModal_&&(this.openAsModal_=!1,this.dialog_.style.zIndex="",this.replacedStyleTop_&&(this.dialog_.style.top="",this.replacedStyleTop_=!1),this.backdrop_.parentNode&&this.backdrop_.parentNode.removeChild(this.backdrop_),X.dm.removeDialog(this))},setOpen:function(t){t?this.dialog_.hasAttribute("open")||this.dialog_.setAttribute("open",""):(this.dialog_.removeAttribute("open"),this.maybeHideModal())},backdropMouseEvent_:function(t){if(this.dialog_.hasAttribute("tabindex"))this.dialog_.focus();else{var i=document.createElement("div");this.dialog_.insertBefore(i,this.dialog_.firstChild),i.tabIndex=-1,i.focus(),this.dialog_.removeChild(i)}var e=document.createEvent("MouseEvents");e.initMouseEvent(t.type,t.bubbles,t.cancelable,window,t.detail,t.screenX,t.screenY,t.clientX,t.clientY,t.ctrlKey,t.altKey,t.shiftKey,t.metaKey,t.button,t.relatedTarget),this.dialog_.dispatchEvent(e),t.stopPropagation()},focus_:function(){var t=this.dialog_.querySelector("[autofocus]:not([disabled])");!t&&this.dialog_.tabIndex>=0&&(t=this.dialog_),t||(t=G(this.dialog_)),$(document.activeElement),t&&t.focus()},updateZIndex:function(t,i){if(t<i)throw new Error("dialogZ should never be < backdropZ");this.dialog_.style.zIndex=t,this.backdrop_.style.zIndex=i},show:function(){this.dialog_.open||(this.setOpen(!0),this.focus_())},showModal:function(){if(this.dialog_.hasAttribute("open"))throw new Error("Failed to execute 'showModal' on dialog: The element is already open, and therefore cannot be opened modally.");if(!W(this.dialog_))throw new Error("Failed to execute 'showModal' on dialog: The element is not in a Document.");if(!X.dm.pushDialog(this))throw new Error("Failed to execute 'showModal' on dialog: There are too many open modal dialogs.");(function(t){for(;t&&t!==document.body;){var i=window.getComputedStyle(t),e=function(t,e){return!(void 0===i[t]||i[t]===e)};if(i.opacity<1||e("zIndex","auto")||e("transform","none")||e("mixBlendMode","normal")||e("filter","none")||e("perspective","none")||"isolate"===i.isolation||"fixed"===i.position||"touch"===i.webkitOverflowScrolling)return!0;t=t.parentElement}return!1})(this.dialog_.parentElement)&&console.warn("A dialog is being shown inside a stacking context. This may cause it to be unusable. For more information, see this link: https://github.com/GoogleChrome/dialog-polyfill/#stacking-context"),this.setOpen(!0),this.openAsModal_=!0,X.needsCentering(this.dialog_)?(X.reposition(this.dialog_),this.replacedStyleTop_=!0):this.replacedStyleTop_=!1,this.dialog_.parentNode.insertBefore(this.backdrop_,this.dialog_.nextSibling),this.focus_()},close:function(t){if(!this.dialog_.hasAttribute("open"))throw new Error("Failed to execute 'close' on dialog: The element does not have an 'open' attribute, and therefore cannot be closed.");this.setOpen(!1),void 0!==t&&(this.dialog_.returnValue=t);var i=new H("close",{bubbles:!1,cancelable:!1});P(this.dialog_,i)}};var X={reposition:function(t){var i=document.body.scrollTop||document.documentElement.scrollTop,e=i+(window.innerHeight-t.offsetHeight)/2;t.style.top=Math.max(i,e)+"px"},isInlinePositionSetByStylesheet:function(t){for(var i=0;i<document.styleSheets.length;++i){var e=document.styleSheets[i],n=null;try{n=e.cssRules}catch(t){}if(n)for(var o=0;o<n.length;++o){var r=n[o],a=null;try{a=document.querySelectorAll(r.selectorText)}catch(t){}if(a&&q(a,t)){var s=r.style.getPropertyValue("top"),c=r.style.getPropertyValue("bottom");if(s&&"auto"!==s||c&&"auto"!==c)return!0}}}return!1},needsCentering:function(t){return!("absolute"!==window.getComputedStyle(t).position||"auto"!==t.style.top&&""!==t.style.top||"auto"!==t.style.bottom&&""!==t.style.bottom||X.isInlinePositionSetByStylesheet(t))},forceRegisterDialog:function(t){if((window.HTMLDialogElement||t.showModal)&&console.warn("This browser already supports <dialog>, the polyfill may not work correctly",t),"dialog"!==t.localName)throw new Error("Failed to register dialog: The element is not a dialog.");new Z(t)},registerDialog:function(t){t.showModal||X.forceRegisterDialog(t)},DialogManager:function(){this.pendingDialogStack=[];var t=this.checkDOM_.bind(this);this.overlay=document.createElement("div"),this.overlay.className="_dialog_overlay",this.overlay.addEventListener("click",function(i){this.forwardTab_=void 0,i.stopPropagation(),t([])}.bind(this)),this.handleKey_=this.handleKey_.bind(this),this.handleFocus_=this.handleFocus_.bind(this),this.zIndexLow_=1e5,this.zIndexHigh_=100150,this.forwardTab_=void 0,"MutationObserver"in window&&(this.mo_=new MutationObserver((function(i){var e=[];i.forEach((function(t){for(var i,n=0;i=t.removedNodes[n];++n)i instanceof Element&&("dialog"===i.localName&&e.push(i),e=e.concat(i.querySelectorAll("dialog")))})),e.length&&t(e)})))}};if(X.DialogManager.prototype.blockDocument=function(){document.documentElement.addEventListener("focus",this.handleFocus_,!0),document.addEventListener("keydown",this.handleKey_),this.mo_&&this.mo_.observe(document,{childList:!0,subtree:!0})},X.DialogManager.prototype.unblockDocument=function(){document.documentElement.removeEventListener("focus",this.handleFocus_,!0),document.removeEventListener("keydown",this.handleKey_),this.mo_&&this.mo_.disconnect()},X.DialogManager.prototype.updateStacking=function(){for(var t,i=this.zIndexHigh_,e=0;t=this.pendingDialogStack[e];++e)t.updateZIndex(--i,--i),0===e&&(this.overlay.style.zIndex=--i);var n=this.pendingDialogStack[0];n?(n.dialog.parentNode||document.body).appendChild(this.overlay):this.overlay.parentNode&&this.overlay.parentNode.removeChild(this.overlay)},X.DialogManager.prototype.containedByTopDialog_=function(t){for(;t=U(t);){for(var i,e=0;i=this.pendingDialogStack[e];++e)if(i.dialog===t)return 0===e;t=t.parentElement}return!1},X.DialogManager.prototype.handleFocus_=function(t){var i=t.composedPath?t.composedPath()[0]:t.target;if(!this.containedByTopDialog_(i)&&document.activeElement!==document.documentElement&&(t.preventDefault(),t.stopPropagation(),$(i),void 0!==this.forwardTab_)){var e=this.pendingDialogStack[0];return e.dialog.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_PRECEDING&&(this.forwardTab_?e.focus_():i!==document.documentElement&&document.documentElement.focus()),!1}},X.DialogManager.prototype.handleKey_=function(t){if(this.forwardTab_=void 0,27===t.keyCode){t.preventDefault(),t.stopPropagation();var i=new H("cancel",{bubbles:!1,cancelable:!0}),e=this.pendingDialogStack[0];e&&P(e.dialog,i)&&e.dialog.close()}else 9===t.keyCode&&(this.forwardTab_=!t.shiftKey)},X.DialogManager.prototype.checkDOM_=function(t){this.pendingDialogStack.slice().forEach((function(i){-1!==t.indexOf(i.dialog)?i.downgradeModal():i.maybeHideModal()}))},X.DialogManager.prototype.pushDialog=function(t){return!(this.pendingDialogStack.length>=(this.zIndexHigh_-this.zIndexLow_)/2-1||(1===this.pendingDialogStack.unshift(t)&&this.blockDocument(),this.updateStacking(),0))},X.DialogManager.prototype.removeDialog=function(t){var i=this.pendingDialogStack.indexOf(t);-1!==i&&(this.pendingDialogStack.splice(i,1),0===this.pendingDialogStack.length&&this.unblockDocument(),this.updateStacking())},X.dm=new X.DialogManager,X.formSubmitter=null,X.imagemapUseValue=null,void 0===window.HTMLDialogElement){var J=document.createElement("form");if(J.setAttribute("method","dialog"),"dialog"!==J.method){var Q=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"method");if(Q){var tt=Q.get;Q.get=function(){return V(this)?"dialog":tt.call(this)};var it=Q.set;Q.set=function(t){return"string"==typeof t&&"dialog"===t.toLowerCase()?this.setAttribute("method",t):it.call(this,t)},Object.defineProperty(HTMLFormElement.prototype,"method",Q)}}document.addEventListener("click",(function(t){if(X.formSubmitter=null,X.imagemapUseValue=null,!t.defaultPrevented){var i=t.target;if("composedPath"in t&&(i=t.composedPath().shift()||i),i&&V(i.form)){if(!("submit"===i.type&&["button","input"].indexOf(i.localName)>-1)){if("input"!==i.localName||"image"!==i.type)return;X.imagemapUseValue=t.offsetX+","+t.offsetY}U(i)&&(X.formSubmitter=i)}}}),!1),document.addEventListener("submit",(function(t){var i=t.target;if(!U(i)){var e=K(t);"dialog"===(e&&e.getAttribute("formmethod")||i.getAttribute("method"))&&t.preventDefault()}}));var et=HTMLFormElement.prototype.submit;HTMLFormElement.prototype.submit=function(){if(!V(this))return et.call(this);var t=U(this);t&&t.close()}}const nt=':is(button, input, select, textarea, [contenteditable=""], [contenteditable="true"], a[href], [tabindex], summary):not([disabled], [disabled=""], [tabindex="-1"], [aria-hidden="true"], [hidden])',ot=class{constructor(t){e(this,t),this.modalClose=n(this,"modalClose",7),this.modalHeaderActive=n(this,"modalHeaderActive",7),this.modalBackgroundClick=n(this,"modalBackgroundClick",7),this.closeButtonLabel="chiudi modale",this.alertdialog=!1,this.closable=!0,this.scrollInside=!0}emitModalClose(){this.closable&&this.modalClose.emit({modalid:this.modalid})}emitModalHeaderActive(){this.modalHeaderActive.emit({modalid:this.modalid})}emitBackgroundClick(){this.closable&&this.modalBackgroundClick.emit({modalid:this.modalid})}componentDidLoad(){"function"!=typeof HTMLDialogElement?(X.registerDialog(this.dialog),this.dialog.setAttribute("open","true")):this.open()}async open(){var t;null===(t=this.dialog)||void 0===t||t.showModal()}async close(){var t;this.closable&&(null===(t=this.dialog)||void 0===t||t.close())}get focusableElements(){return[...Array.from(this.host.shadowRoot.querySelectorAll(nt)),...Array.from(this.host.querySelectorAll(nt))].filter((t=>"none"!==getComputedStyle(t).display))}handleKeyDown(t){if(t.code!==m.TAB)return;const i=this.focusableElements,e=this.host.shadowRoot.activeElement,n=this.host.ownerDocument.activeElement,o=i[0],r=i[i.length-1];!t.shiftKey||e!=o&&n!=o?t.shiftKey||e!=r&&n!=r||(t.preventDefault(),o.focus()):(t.preventDefault(),r.focus())}closeButtonSlot(){if(this.closable)return o("slot",{name:"modalCloseButton"},o("button",{"aria-label":this.closeButtonLabel,onClick:()=>this.close()},o("z-icon",{name:"multiply-circle-filled"})))}handleEscape(t){this.closable||t.preventDefault()}render(){return o("dialog",{class:{"modal-dialog":!this.scrollInside},"aria-labelledby":"modal-title","aria-describedby":"modal-content",role:this.alertdialog?"alertdialog":void 0,ref:t=>this.dialog=t,onClose:()=>this.emitModalClose(),onCancel:t=>this.handleEscape(t)},o("div",{class:{"modal-container":!0,"modal-container-scroll-inside":this.scrollInside,"modal-container-scroll-outside":!this.scrollInside},id:this.modalid},o("header",{onClick:this.emitModalHeaderActive.bind(this)},o("div",null,this.modaltitle&&o("h1",{id:"modal-title"},this.modaltitle),this.closeButtonSlot()),this.modalsubtitle&&o("h2",{id:"modal-subtitle"},this.modalsubtitle)),o("div",{class:{"modal-content-scroll-inside":this.scrollInside,"modal-content-scroll-outside":!this.scrollInside},id:"modal-content"},o("slot",{name:"modalContent"}))),o("div",{class:{"modal-background":!0,"modal-background-scroll-outside":!this.scrollInside},"data-action":"modalBackground","data-modal":this.modalid,onClick:()=>{this.emitBackgroundClick(),this.close()}}))}get host(){return a(this)}};ot.style=':host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>dialog{padding:0;border:none;margin:0;background-color:transparent}:host>dialog:modal{width:100%;max-width:100%;max-height:100%}:host>dialog::backdrop{display:none}:host>dialog+.backdrop{display:none}:host>dialog:not([open]){display:none}:host>dialog[open]{display:block}.modal-container{z-index:1010;display:flex;overflow:-moz-scrollbars-none;width:100%;height:100vh;flex-direction:column}.modal-container>.modal-content-scroll-outside{overflow:auto;background:var(--color-surface01)}.modal-container>header{padding:calc(var(--space-unit) * 2 - 2px) calc(var(--space-unit) * 2);background:var(--color-surface02)}.modal-container>header button{padding:0;border:none;margin:0;margin-left:auto;background:transparent;cursor:pointer}.modal-container>header z-icon{--z-icon-width:calc(var(--space-unit) * 2.5);--z-icon-height:calc(var(--space-unit) * 2.5);display:flex;fill:var(--color-icon01)}.modal-container>header>div{display:flex;width:100%;align-items:center;margin-right:calc(var(--space-unit) * 2)}.modal-container>header h1,.modal-container>header h2{padding:0;margin:0;color:var(--color-text01);font-weight:var(--font-rg)}.modal-container>header h1{font-size:var(--font-size-5);letter-spacing:0;line-height:1.4}.modal-container>header h2{font-size:var(--font-size-3);letter-spacing:0;line-height:1.5}.modal-container>header>div>h1 *:empty{display:none}.modal-container>header h1+h2{margin-top:calc(var(--space-unit) * 0.5)}.modal-container-scroll-inside>.modal-content-scroll-inside{overflow:hidden auto;flex:1 auto;background:var(--color-surface01)}.modal-container-scroll-inside>.modal-content-scroll-inside::-webkit-scrollbar,.modal-container-scroll-outside>.modal-content-scroll-outside::-webkit-scrollbar{width:10px;background:linear-gradient(to right, transparent 0 3px, var(--gray200) 3px 7px, transparent 7px 10px);border-radius:var(--border-radius)}.modal-container-scroll-inside>.modal-content-scroll-inside::-webkit-scrollbar-thumb,.modal-container-scroll-outside>.modal-content-scroll-outside::-webkit-scrollbar-thumb{width:10px;background-color:var(--color-primary01)}.modal-container-scroll-inside>.modal-content-scroll-inside::-webkit-scrollbar-thumb:hover,.modal-container-scroll-outside>.modal-content-scroll-outside::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}.modal-container-scroll-inside .modal-content-scroll-inside,.modal-container-scroll-outside .modal-content-scroll-outside{scrollbar-color:var(--color-primary01) transparent}@media only screen and (min-width: 768px){.modal-background{position:fixed;top:0;left:0;overflow:hidden;width:100vw;height:100vh;background-color:var(--gray900);opacity:0.7}.modal-background.modal-background-scroll-outside{position:sticky}.modal-container-scroll-inside{position:fixed;top:calc(var(--space-unit) * 6);left:50%;overflow:hidden;width:auto;min-width:calc(var(--space-unit) * 40);height:auto;min-height:calc(var(--space-unit) * 40);max-height:calc(100vh - calc(var(--space-unit) * 6 * 2));border-radius:var(--border-radius);transform:translateX(-50%)}.modal-container-scroll-outside{position:absolute;top:calc(var(--space-unit) * 6);left:50%;display:block;overflow:initial;width:auto;min-width:calc(var(--space-unit) * 40);height:auto;min-height:calc(var(--space-unit) * 40);max-height:calc(100vh - calc(var(--space-unit) * 6 * 2));transform:translateX(-50%)}.modal-container>.modal-content-scroll-outside{overflow:initial}.modal-container-scroll-outside>header,.modal-container-scroll-inside>header{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.modal-container-scroll-outside::after{display:block;height:calc(var(--space-unit) * 6);content:" "}.modal-dialog{position:fixed;top:0;left:0;height:auto;overflow-x:hidden;overflow-y:auto}.modal-content-scroll-outside{border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}.modal-dialog::-webkit-scrollbar{display:none}.modal-container>header z-icon{--z-icon-width:calc(var(--space-unit) * 3);--z-icon-height:calc(var(--space-unit) * 3)}}@media only screen and (min-width: 768px) and (max-width: 1151px){.modal-container>header{padding:calc(var(--space-unit) * 3 - 2px) calc(var(--space-unit) * 3)}}@media only screen and (min-width: 1152px){.modal-container>header{padding:calc(var(--space-unit) * 4 - 4px) calc(var(--space-unit) * 4)}.modal-container>header h1{font-size:var(--font-size-6);letter-spacing:0;line-height:1.33}.modal-container>header h2{font-size:var(--font-size-4);letter-spacing:0;line-height:1.5}.modal-container>header h1+h2{margin-top:0}}';export{I as license_activation,j as license_activation_box,E as license_activation_form,B as license_activation_modal,_ as z_button,F as z_icon,D as z_info_box,N as z_input,R as z_input_message,ot as z_modal}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as L,h as i,H as t}from"./p-
|
|
1
|
+
import{r as L,h as i,H as t}from"./p-d52d3e5c.js";const o=class{constructor(i){L(this,i)}render(){const L={};return this.width&&(L.width=L["max-width"]=`${this.width}px`),this.height&&(L.height=L["max-height"]=`${this.height}px`),i(t,{style:L,class:{mobile:!!this.mobileLogo}},this.link?i("a",{href:this.link,target:this.targetBlank?"_blank":"_self"},i("img",{alt:this.imageAlt})):i("img",{alt:this.imageAlt}))}};o.style=":host{display:inline-block;width:255px;height:64px;vertical-align:top}img{display:block;width:100%;height:100%;margin:auto;content:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='255px' height='64px' viewBox='0 0 255 64'%3E%3Cg id='Logo/Zanichelli/Centered-(reworked)' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='Group'%3E%3Cpolygon id='Background' fill='%23E2001A' points='1.70530257e-13 64 254.39 64 254.39 0 1.70530257e-13 0'%3E%3C/polygon%3E%3Cpath d='M233.36,51.3553859 L242.390252,51.3553859 L242.390252,12.6427292 L233.36,12.6427292 L233.36,51.3553859 Z M211.120346,51.3553859 L230.477617,51.3553859 L230.477617,44.5040053 L220.685891,44.5040053 L220.685891,12.6427292 L211.120346,12.6427292 L211.120346,51.3553859 Z M188.880124,51.3553859 L208.23551,51.3553859 L208.23551,44.5040053 L198.445669,44.5040053 L198.445669,12.6427292 L188.880124,12.6427292 L188.880124,51.3553859 Z M165.354444,12.6427292 L165.354444,51.3553859 L185.999058,51.3553859 L185.999058,44.5021204 L175.027425,44.5021204 L175.027425,35.1778343 L185.377062,35.1778343 L185.377062,28.2699086 L175.027425,28.2699086 L175.027425,19.4978796 L185.999058,19.4978796 L185.999058,12.6427292 L165.354444,12.6427292 Z M136.666196,51.3553859 L146.239281,51.3553859 L146.239281,35.1778343 L152.902178,35.1778343 L152.902178,51.3553859 L162.473377,51.3553859 L162.473377,12.6427292 L152.902178,12.6427292 L152.902178,28.2717934 L146.239281,28.2717934 L146.239281,12.6427292 L136.666196,12.6427292 L136.666196,51.3553859 Z M96.064744,51.3553859 L105.098765,51.3553859 L105.098765,12.6427292 L96.064744,12.6427292 L96.064744,51.3553859 Z M53.2364527,36.5160682 L50.6824993,19.7429083 L48.0757704,36.5160682 L53.2364527,36.5160682 Z M65.4935444,51.3553859 L56.2710395,51.3553859 L54.9441146,42.5286966 L47.7101121,42.5286966 L46.3304118,51.3553859 L37.1060221,51.3553859 L45.0053718,12.6427292 L57.5960795,12.6427292 L65.4935444,51.3553859 Z M85.0468382,37.7581755 L76.7969089,12.6427292 L67.3764961,12.6427292 L67.3764961,51.3553859 L75.4040147,51.3553859 L75.4040147,26.132504 L83.5955141,51.3553859 L93.1855622,51.3553859 L93.1855622,12.6427292 L85.0468382,12.6427292 L85.0468382,37.7581755 Z M107.977948,32 C107.977948,34.5200264 107.977948,36.7893695 108.187165,39.1246819 C108.396382,41.4713034 108.818585,43.6878711 109.678071,45.6009801 C111.423429,49.487513 114.932995,52 121.708982,52 C129.508435,52 133.787014,48.4753558 133.787014,38.0220526 L133.787014,37.5640373 L124.937707,37.5640373 L124.922628,38.0050891 C124.894356,38.7571388 124.884931,39.6185091 124.826501,40.4855339 C124.769956,41.3431345 124.66629,42.1875412 124.460843,42.9301668 C124.048064,44.3965696 123.279051,45.3559514 121.708982,45.3559514 C117.743286,45.3559514 117.057205,42.0574875 117.057205,32 C117.057205,21.9425125 117.743286,18.6440486 121.708982,18.6440486 C123.605127,18.6440486 124.547546,20.0030157 124.547546,25.1806616 L124.547546,25.6424465 L133.344077,25.6424465 L133.361041,25.1995099 C133.689003,16.7855998 130.235982,12 121.708982,12 C114.934879,12 111.427199,14.4823297 109.678071,18.3594383 C108.818585,20.265008 108.396382,22.4778061 108.187165,24.830082 C107.977948,27.1710489 107.977948,29.4554707 107.977948,32 L107.977948,32 Z M34.9007634,12.6446141 L34.9007634,20.3196683 L21.6051268,44.5040053 L35.2268401,44.5040053 L35.2268401,51.3553859 L12,51.3553859 L12,43.7915371 L25.2975214,19.4997644 L13.683159,19.4997644 L13.683159,12.6446141 L34.9007634,12.6446141 Z' id='Logotipo-(reworked)' fill='%23FFFFFF'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E\")}a{display:block;width:100%;height:100%}:host(.mobile){width:31px;height:40px}:host(.mobile) img{content:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='31px' height='40px' viewBox='0 0 31 40'%3E%3Cg id='Symbols' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='Topbar/Mobile/Logged' transform='translate(-16.000000, -4.000000)'%3E%3Cg id='Group' transform='translate(16.000000, 4.000000)'%3E%3Cpolygon id='Fill-1' fill='%23E2001A' points='0 40 30.625 40 30.625 0 0 0'%3E%3C/polygon%3E%3Cpolygon id='Fill-2' fill='%23FEFEFE' points='8.17111587 6.20689655 23.4311708 6.20689655 23.4311708 11.671267 13.8691261 28.9163861 23.6647727 28.9163861 23.6647727 33.7931034 6.96022727 33.7931034 6.96022727 28.408218 16.522272 11.0831673 8.17111587 11.0831673'%3E%3C/polygon%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E\")}";export{o as z_logo}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as e}from"./p-d52d3e5c.js";import{x as t}from"./p-df6ae14f.js";const i=class{constructor(e){r(this,e),this.ispressed=!1,this.ishighlighted=!1}retrieveClass(){let r="";return this.cardtype===t.REAL?r+="real":this.cardtype===t.TRIAL?r+="trial":this.cardtype===t.TEMP&&(r+="temp"),this.faded?r+=" faded":this.ispressed?r+=" pressed":this.ishighlighted&&(r+=" highlighted"),r}render(){return e("div",{class:this.retrieveClass(),tabindex:"0"},e("slot",null))}};i.style=":host{--card-overflow:hidden}div{display:flex;overflow:var(--card-overflow);width:auto;width:256px;height:522px;box-sizing:border-box;flex-direction:column;border:var(--border-size-medium) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:var(--border-radius)}div.real,div.trial,div.temp{border-color:var(--blue100)}div.faded{border:var(--border-size-medium) solid var(--color-surface02)}div.highlighted{box-shadow:var(--shadow-4);outline:none}div.pressed{box-shadow:var(--shadow-8);outline:none}div:focus{box-shadow:var(--shadow-focus-primary);outline:none}";const a=class{constructor(e){r(this,e)}render(){return e("div",null,e("slot",{name:"alert"}),e("slot",{name:"cover"}))}};a.style=":host{width:auto;height:340px}:host>div{position:relative;display:flex;width:auto;height:340px;align-items:center;justify-content:center}";const o=class{constructor(e){r(this,e)}hadleOnImageError(){this.img=this.defaultimg}render(){return e("img",{class:this.faded&&"faded",onError:this.hadleOnImageError.bind(this),alt:this.titolo,src:this.img})}};o.style="img{display:block;max-width:100%;height:340px;margin:auto;object-fit:cover}img.faded{opacity:0.3}";const s=class{constructor(e){r(this,e),this.allowTooltip=!1}getTitle(){return this.allowTooltip?this.titolo:""}componentDidLoad(){this.elementHasEllipsis()&&(this.allowTooltip=!0)}elementHasEllipsis(){return this.ellipsis.offsetWidth<this.ellipsis.scrollWidth}retrieveClass(){return{real:this.cardtype===t.REAL,trial:this.cardtype===t.TRIAL,temp:this.cardtype===t.TEMP,faded:this.faded}}render(){return e("header",{class:this.retrieveClass()},e("slot",{name:"aria-heading"}),e("span",{class:"card-title",ref:r=>this.ellipsis=r,title:this.getTitle()},this.titolo),e("slot",{name:"icon"}))}};s.style='header{position:relative;display:flex;width:auto;height:calc(var(--space-unit) * 6);flex-direction:row;align-items:flex-start;justify-content:space-between;border-bottom:var(--border-size-medium) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:var(--border-radius) var(--border-radius) var(--border-no-radius) var(--border-no-radius)}slot[name="aria-heading"]::slotted(*){position:absolute;overflow:hidden !important;width:1px !important;height:1px !important;padding:0 !important;border:0 none !important;margin:-1px !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important}header.real,header.trial,header.temp{border-bottom:var(--border-size-medium) solid var(--blue100);background-color:var(--color-primary03)}.card-title{overflow:hidden;height:calc(var(--space-unit) * 2);padding:calc(var(--space-unit) * 2);margin:0;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:12px;font-weight:var(--font-sb);letter-spacing:0.22px;line-height:calc(var(--space-unit) * 2);text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.faded{border-bottom:var(--border-size-medium) solid var(--color-surface02)}.faded.real,.faded.trial,.faded.temp{border-top:var(--border-size-medium) solid var(--blue100);border-right:var(--border-size-medium) solid var(--blue100);border-left:var(--border-size-medium) solid var(--blue100)}';export{i as z_myz_card,a as z_myz_card_body,o as z_myz_card_cover,s as z_myz_card_header}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i,c as t,h as n}from"./p-
|
|
1
|
+
import{r as i,c as t,h as n}from"./p-d52d3e5c.js";import{P as e}from"./p-df6ae14f.js";import{h as s}from"./p-112478b5.js";import"./p-d8592d42.js";const o=class{constructor(n){i(this,n),this.flipCard=t(this,"flipCard",7),this.htmltabindex=0,this.hiddenContent=!1,this.tooltip=!1,this.emitFlipCard=this.emitFlipCard.bind(this)}emitFlipCard(i=!1){this.flipCard.emit(i)}componentWillLoad(){this.setStringOrArray()}componentWillUpdate(){this.setStringOrArray()}componentDidRender(){this.handleContentHeight()}handleContentHeight(){if(this.contentWrapper||this.infoWrapper){if(this.contentWrapper.scrollHeight>this.contentWrapper.offsetHeight||this.infoWrapper.scrollHeight>this.infoWrapper.offsetHeight)return this.infoWrapper.style.height=this.contentWrapper.offsetHeight-this.onlineLicenseWrapper.offsetHeight-this.offlineLicenseWrapper.offsetHeight+"px",void(this.hiddenContent=!0);this.hiddenContent=!1}else this.hiddenContent=!1}setStringOrArray(){this.cardData="string"==typeof this.data?JSON.parse(this.data):this.data}renderCloseIcon(){return n("z-icon",{name:"multiply-circled-filled",height:18,width:18,onClick:()=>this.emitFlipCard(!1),tabindex:this.htmltabindex,onKeyUp:i=>{s(i,this.emitFlipCard,!1)}})}renderGeneralSection(){var i,t;const e=null===(i=null==this?void 0:this.cardData)||void 0===i?void 0:i.title,s=null===(t=null==this?void 0:this.cardData)||void 0===t?void 0:t.description;return n("section",{class:"info-wrapper "+(this.hiddenContent?"hidden":""),onClick:()=>{this.hiddenContent&&(this.tooltip=!this.tooltip)},ref:i=>this.infoWrapper=i},this.renderAuthor(),this.renderYear(),e,n("br",null),s)}renderAuthor(){var i;const t=null===(i=null==this?void 0:this.cardData)||void 0===i?void 0:i.author;return t?n("span",null,"Autore: ",n("b",null,t),n("br",null)):null}renderYear(){var i;const t=null===(i=null==this?void 0:this.cardData)||void 0===i?void 0:i.year;return t?n("span",null,"Anno: ",n("b",null,t),n("br",null)):null}renderTooltip(){if(!this.tooltip)return;if(!this.cardData)return;const{title:i,year:t,author:s,description:o}=this.cardData;return n("z-popover",{position:e.RIGHT,onClick:()=>this.tooltip=!1},`${i} ${t} ${s} ${o}`)}setExpirationLicenseMessage(i){return"online"===i&&this.cardData.onlineLicense.expired||"offline"===i&&this.cardData.offlineLicense.expired?n("span",{class:"expired"},"SCADUTA"):"online"===i&&this.cardData.onlineLicense.expiring||"offline"===i&&this.cardData.offlineLicense.expiring?n("span",{class:"expiring"},"IN SCADENZA"):void 0}renderOnlineLicenseSection(){var i;if(null===(i=null==this?void 0:this.cardData)||void 0===i?void 0:i.onlineLicense)return n("section",{ref:i=>this.onlineLicenseWrapper=i},n("span",{class:"license-heading"},n("span",null,"Licenza online"),this.setExpirationLicenseMessage("online")),"Scadenza il ",n("b",null,this.cardData.onlineLicense.expiration),n("br",null))}renderOfflineLicenseSection(){var i;if(null===(i=null==this?void 0:this.cardData)||void 0===i?void 0:i.offlineLicense)return n("section",{ref:i=>this.offlineLicenseWrapper=i},n("span",{class:"license-heading"},n("span",null,"Licenza offline"),this.setExpirationLicenseMessage("offline")),"Scadenza il ",n("b",null,this.cardData.offlineLicense.expiration),n("br",null),"Installazioni disponibili: ",n("b",null,this.cardData.offlineLicense.installations))}render(){return n("div",null,this.renderCloseIcon(),n("div",{class:"content-wrapper",ref:i=>this.contentWrapper=i},this.renderGeneralSection(),this.renderTooltip(),this.renderOnlineLicenseSection(),this.renderOfflineLicenseSection()),n("div",{class:"cta-wrapper"},n("slot",null)))}};o.style=':host{width:100%;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{position:relative;display:grid;width:calc(100% + calc(var(--space-unit) * 2));height:402px;box-sizing:border-box;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 3);border:var(--border-size-small) solid var(--color-primary01);margin-left:calc(-1 * var(--space-unit));background:var(--color-surface01);border-radius:0;box-shadow:0 2px 4px 0 rgb(66 69 72 / 35%)}:host>div>z-icon{position:absolute;top:var(--space-unit);right:var(--space-unit);cursor:pointer;fill:var(--color-primary01)}:host>div>div.cta-wrapper{display:flex;flex-flow:column nowrap;align-self:end;justify-content:space-between}:host>div>div.content-wrapper{position:relative;overflow:hidden;align-self:stretch}:host>div>div.content-wrapper>section{box-sizing:border-box;padding:var(--space-unit) 0;border-bottom:var(--border-size-small) solid var(--color-surface04);color:var(--color-surface05);font-size:14px;line-height:20px}:host>div>div.content-wrapper>section:last-child{border-bottom:none}:host>div>div.content-wrapper>section.info-wrapper{position:relative;overflow:hidden;box-sizing:border-box}:host>div>div.content-wrapper>section.info-wrapper.hidden::after{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg, rgb(255 0 0 / 0%), rgb(255 0 0 / 0%) 60%, white);content:"";pointer-events:none}:host>div>div.content-wrapper>section>span.license-heading{display:flex;justify-content:space-between}:host>div>div.content-wrapper>section>span.license-heading>span.expired{color:var(--color-secondary02);font-size:12px;font-weight:600}:host>div>div.content-wrapper>section>span.license-heading>span.expiring{color:var(--color-warning01);font-size:12px;font-weight:600}:host>div>div.content-wrapper>z-popover{position:absolute;top:0;left:calc(var(--space-unit) * 4)}';export{o as z_myz_card_info}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,h as t}from"./p-
|
|
1
|
+
import{r as o,h as t}from"./p-d52d3e5c.js";const n=class{constructor(t){o(this,t)}render(){return t("td",{colSpan:this.colSpan},t("div",{class:"content-container"},t("slot",null)))}};n.style=":host{display:none;background-color:var(--gray50)}:host>td>div.content-container{margin-bottom:calc(var(--space-unit) / 2);box-shadow:var(--shadow-2)}";export{n as Z}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,c as t,h as n,H as o,a as s}from"./p-d52d3e5c.js";import{B as i,C as a}from"./p-df6ae14f.js";const r=class{constructor(n){e(this,n),this.colspanChange=t(this,"colspanChange",6),this.sticky=!1,this.showMenu=null,this.isMenuOpen=!1}updateColspan(){this.colspan?this.host.style.gridColumn=`span ${this.colspan}`:this.host.style.removeProperty("grid-column"),this.colspanChange.emit(this.colspan||1)}onMenuButtonClick(e){e.stopPropagation(),this.popoverEl.open=!this.popoverEl.open}componentWillLoad(){this.updateColspan()}render(){return n(o,{role:"cell","menu-open":this.isMenuOpen},n("slot",null),this.showMenu&&n("div",{class:"cell--menu-container prevent-expand"},n("z-button",{variant:i.TERTIARY,icon:"contextual-menu",size:a.X_SMALL,ref:e=>this.menuTrigger=e,onClick:this.onMenuButtonClick.bind(this)}),n("z-popover",{ref:e=>this.popoverEl=e,bindTo:this.menuTrigger,onOpenChange:e=>this.isMenuOpen=e.detail.open},n("slot",{name:"contextual-menu"}))))}get host(){return s(this)}static get watchers(){return{colspan:["updateColspan"]}}};r.style=':host{position:relative;display:flex;min-width:128px;box-sizing:border-box;align-items:center;padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));background-color:var(--color-surface01);gap:calc(var(--space-unit) * 2) var(--space-unit)}:host([sticky]){position:sticky;z-index:1;top:0;left:0;box-shadow:8px 0 16px -8px var(--shadow-color-base)}:host([show-menu])::after{display:inline-block;height:100%;margin-right:calc(var(--space-unit) * 4);background:transparent;content:"";user-select:none}.cell--menu-container{position:absolute;z-index:1;top:var(--space-unit);right:var(--space-unit)}:host(:not([show-menu])) .cell--menu-container{opacity:0;pointer-events:none}:host(:is([show-menu],[menu-open])) .cell--menu-container,:host([show-menu]) .cell--menu-container:focus-within{opacity:1;pointer-events:all}@media (min-width: 768px) and (hover: hover){:host([show-menu="hover"]) .cell--menu-container{opacity:0;pointer-events:none}:host([show-menu="hover"]:hover) .cell--menu-container{opacity:1;pointer-events:all}}';export{r as Z}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,c as t,h as i,H as
|
|
1
|
+
import{r as s,c as t,h as i,H as e}from"./p-d52d3e5c.js";import{r as c}from"./p-112478b5.js";import{L as l}from"./p-df6ae14f.js";import"./p-d8592d42.js";const o=class{constructor(i){s(this,i),this.toggleClick=t(this,"toggleClick",7),this.disabled=!1,this.labelPosition=l.LEFT,this.checked=!1,this.htmlid=`toggle-switch-id-${c()}`}emitToggleClick(){this.toggleClick.emit({id:this.htmlid,checked:this.checked})}handleClick(s){this.disabled||(this.checked=s.target.checked,this.emitToggleClick())}render(){return i(e,null,i("input",{id:this.htmlid,type:"checkbox",checked:this.checked,disabled:this.disabled,onChange:this.handleClick.bind(this)}),i("label",{htmlFor:this.htmlid,class:{[this.labelPosition]:!0,disabled:this.disabled}},i("span",null,i("slot",null)),i("span",{class:{container:!0,disabled:this.disabled,checked:this.checked}},i("span",{class:"circle"},this.checked&&i("z-icon",{width:12,height:12,name:"checkmark"})))))}};o.style='.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}';export{o as z_toggle_switch}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{Z as z_table_body}from"./p-dd409bfb.js";import"./p-d52d3e5c.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as e,h as o,H as i,a as s}from"./p-
|
|
1
|
+
import{r as t,c as e,h as o,H as i,a as s}from"./p-d52d3e5c.js";const l=class{constructor(o){t(this,o),this.opened=e(this,"opened",7),this.closed=e(this,"closed",7)}toggle(){this.hasContent&&(this.open=!this.open,this.open?this.opened.emit():this.closed.emit())}handleClick(t){this.open&&!this.hostElement.contains(t.target)&&(this.open=!1,this.closed.emit())}checkContent(){this.hasContent=this.hostElement.querySelectorAll('[slot="item"]').length>0}onLabelSlotChange(t){const e=t.target.assignedElements()[0];e.dataset.text=(null==e?void 0:e.innerText)||null}componentWillLoad(){this.checkContent()}render(){return o(i,{role:"menu",open:this.open},o("button",{class:"label","aria-pressed":this.open?"true":"false",onClick:this.toggle.bind(this)},o("slot",{onSlotchange:this.onLabelSlotChange.bind(this)}),this.hasContent&&o("z-icon",{name:this.open?"chevron-up":"chevron-down"})),this.open&&o("div",{class:"items"},o("slot",{name:"item",onSlotchange:this.checkContent.bind(this)})))}get hostElement(){return s(this)}};l.style=':host{display:inline-flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:0;font-family:var(--font-family-sans)}:host,::slotted(*),*{box-sizing:border-box}::slotted(a){text-decoration:none}::slotted(*){color:var(--color-text01);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host(:is([active],[open])) .label,.label:hover{border-color:var(--color-secondary01)}:host(:is([active],[open])) .label ::slotted(*),.label:focus:focus-visible ::slotted(*),.label:hover ::slotted(*){font-weight:var(--font-bd)}.label{display:flex;width:100%;align-items:center;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) / 2);border:0;border-bottom:var(--border-size-small) solid var(--color-surface05);margin:0;background:transparent;border-radius:0;cursor:pointer;text-align:left}::slotted([data-text]){display:inline-flex;flex-direction:column}::slotted([data-text])::after{overflow:hidden;height:0;content:attr(data-text);content:attr(data-text) / "";font-weight:var(--font-bd);pointer-events:none;user-select:none;visibility:hidden}@media speech{::slotted([data-text])::after{display:none}}.label ::slotted(*){width:100%;margin:0;font-size:var(--font-size-3);line-height:1.25}.label:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}.label z-icon{margin-left:calc(var(--space-unit) * 4);fill:var(--color-icon02)}.items{display:flex;width:100%;flex-direction:column;padding:calc(var(--space-unit) / 2);padding-bottom:calc(var(--space-unit) * 1.5)}.items>::slotted([slot="item"]){display:inline-flex;padding:calc(var(--space-unit) / 2);margin:0;font-size:var(--font-size-2);line-height:1.4;outline:none}.items>::slotted([slot="item"]:focus:focus-visible){box-shadow:var(--shadow-focus-primary);color:var(--color-secondary01)}.items>::slotted([slot="item"]:hover),.items>::slotted([slot="item"]:focus:focus-visible),.items>::slotted([slot="item"][active]){color:var(--color-secondary01);font-weight:var(--font-bd)}';export{l as z_menu_section}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{Z as z_thead}from"./p-58991db7.js";import"./p-d52d3e5c.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as i,h as e,a as r}from"./p-d52d3e5c.js";import{c as a}from"./p-df6ae14f.js";import{m as o}from"./p-d8592d42.js";import{r as s}from"./p-112478b5.js";const n=class{constructor(e){t(this,e),this.ribbonClick=i(this,"ribbonClick",7),this.isbnLabel="",this.isMobile=!1,this.hasResources=!1,this.showResources=!1}emitRibbonClick(){this.ribbonClick.emit()}componentWillLoad(){this.id=`id-${s()}`;const t=window.matchMedia(`(max-width: ${o}px)`);this.isMobile=t.matches,t.onchange=t=>this.isMobile=t.matches}componentDidLoad(){this.handleResources()}handleResources(){var t;this.variant===a.EXPANDED&&this.isMobile&&(this.hasResources=(null===(t=this.hostElement.querySelectorAll("[slot=resources]"))||void 0===t?void 0:t.length)>0)}toggleResources(){this.showResources=!this.showResources}renderCard(){switch(this.variant){case a.EXPANDED:return this.isMobile?this.renderMobileExpandedCard():this.renderExpandedCard();case a.COMPACT:return this.renderCompactCard();case a.SEARCH:return this.renderSearchCard()}}renderExpandedCard(){return e("div",{class:"wrapper"},this.renderCover(),e("div",{class:"content"},e("div",{class:"top"},e("div",{class:"info"},e("div",{class:"left"},this.renderAuthors(),this.renderOperaTitle(),this.renderVolumeTitle(),this.renderIsbn()),e("div",{class:"right"},this.renderHeaderCtaSlot())),this.renderTagsSlot()),e("div",{class:"bottom"},this.renderResourcesSlot())))}renderMobileExpandedCard(){return e("div",{class:"wrapper"},e("div",{class:"header"},this.renderOperaTitle(),this.renderHeaderCtaSlot()),this.renderCover(),e("div",{class:"content"},this.renderTagsSlot(),this.renderAuthors(),this.renderVolumeTitle(),this.renderIsbn()),this.hasResources&&e("div",{class:{footer:!0,open:this.showResources,close:!this.showResources}},!this.showResources&&this.renderShowResources(),this.renderResourcesSlot(),this.showResources&&this.renderShowResources()))}renderSearchCard(){return e("div",{class:"wrapper-container"},e("div",{class:"wrapper"},e("div",{class:"header"},this.renderOperaTitle(),this.renderHeaderCtaSlot()),this.renderCover(),e("div",{class:"content"},this.renderTagsSlot(),this.renderAuthors(),this.renderVolumeTitle(),this.renderIsbn())),this.renderFooterCtaSlot())}renderCompactCard(){return e("div",{class:"wrapper"},this.renderCover(),e("div",{class:"content"},this.renderAuthors(),this.renderOperaTitle(),this.renderVolumeTitle(),this.renderIsbn()),this.renderFooterCtaSlot())}renderCover(){return e("div",{class:"cover"},this.ribbon&&this.variant!==a.COMPACT&&this.renderRibbon(),e("div",{class:"img-wrapper"},e("img",{src:this.cover,onError:()=>{this.fallbackCover&&(this.cover=this.fallbackCover)},"aria-hidden":"true"})))}renderRibbon(){const t=[this.ribbonIcon&&e("z-icon",{name:this.ribbonIcon,width:16,height:16,fill:"color-icon03"}),e("span",null,this.ribbon)];return this.ribbonInteractive?e("button",{class:"ribbon interactive",onClick:()=>this.emitRibbonClick()},t):e("div",{class:"ribbon"},t)}renderOperaTitle(){return e("div",{class:"title",innerHTML:this.operaTitleTag?`<${this.operaTitleTag}>${this.operaTitle}</${this.operaTitleTag}>`:this.operaTitle})}renderVolumeTitle(){return this.volumeTitle?e("div",{class:"subtitle"},this.volumeTitle):null}renderAuthors(){return this.authors?e("div",{class:"authors","aria-description":"Autori"},this.authors):null}renderIsbn(){return this.isbn?e("div",{class:"isbn"},e("span",{class:"code","aria-description":`ISBN ${this.isbnLabel}`},this.isbn),this.isbnLabel?e("span",{class:"label"}," ",this.isbnLabel):null):null}renderShowResources(){return e("button",{class:"show-resources","aria-label":`Risorse del libro ${this.operaTitle}`,"aria-expanded":this.showResources.toString(),"aria-controls":`resources-${this.id}`,onClick:()=>this.toggleResources()},this.showResources?"Chiudi":"Vedi tutto",e("z-icon",{name:this.showResources?"chevron-up":"chevron-down"}))}renderTagsSlot(){return e("div",{class:"tags"},e("slot",{name:"tags"}))}renderHeaderCtaSlot(){return e("slot",{name:"header-cta"})}renderResourcesSlot(){return e("div",{id:`resources-${this.id}`,class:"resources"},e("slot",{name:"resources",onSlotchange:()=>this.handleResources()}))}renderFooterCtaSlot(){return e("div",{class:"action-container"},e("slot",{name:"footer-cta"}))}render(){return e("article",{class:{[this.variant]:!0,borderless:!!this.borderless}},this.renderCard())}get hostElement(){return r(this)}};n.style=':host{--z-book-card-ribbon-background-color:var(--avatar-C08);--z-book-card-ribbon-shadow-color:var(--green950);--z-book-card-compact-width:262px;--z-book-card-compact-height:568px}:host>article{display:block;width:100%;max-width:360px;box-sizing:border-box;border:var(--border-size-medium) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:var(--border-radius);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>article div.cover{position:relative}:host>article div.cover div.img-wrapper{display:flex;overflow:hidden;border:var(--border-size-small) solid var(--color-surface03);line-height:0}:host>article div.cover div.img-wrapper img{width:auto;max-width:100%;height:auto;max-height:100%;align-self:flex-end}:host>article div.cover .ribbon{position:absolute;z-index:10;top:calc(var(--space-unit) * 2);left:calc(var(--space-unit) * -2);display:flex;max-width:100%;height:calc(var(--space-unit) * 4);box-sizing:border-box;align-items:center;padding:0 calc(var(--space-unit) * 2);border:var(--border-size-medium) solid var(--color-surface01);background:var(--z-book-card-ribbon-background-color);border-radius:0 var(--border-radius) var(--border-radius) 0;box-shadow:var(--shadow-2);color:var(--color-text04);font-family:var(--font-family-sans);font-size:var(--font-size-2);font-weight:var(--font-sb);line-height:initial}:host>article div.cover .ribbon.interactive:hover{cursor:pointer}:host>article div.cover .ribbon span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:nowrap}:host>article div.cover .ribbon::before{position:absolute;bottom:-12px;left:-2px;width:0;height:0;border-top:10px solid var(--z-book-card-ribbon-shadow-color);border-left:16px solid transparent;content:""}:host>article div.cover .ribbon z-icon{margin-right:var(--space-unit)}:host>article div.content{margin:var(--space-unit) 0;border-radius:var(--border-radius)}:host>article .title{display:flex;height:100%;align-self:center;color:var(--color-text02);font-size:var(--font-size-4);font-weight:var(--font-sb);line-height:1.5}:host>article .title *{all:unset}:host>article div.subtitle{color:var(--color-text02);font-size:var(--font-size-2);font-weight:var(--font-rg);line-height:1.4}:host>article div.authors{color:var(--color-text02);font-size:var(--font-size-1);font-weight:var(--font-rg);line-height:1.33}:host>article div.isbn{overflow:hidden;color:var(--color-text02);font-size:var(--font-size-2);line-height:1.33;text-overflow:ellipsis;white-space:nowrap;word-wrap:nowrap}:host>article div.isbn>.code{font-weight:var(--font-sb)}:host>article div.tags{display:flex;overflow:hidden;max-height:32px;flex-flow:row wrap;align-content:stretch;align-items:stretch;justify-content:flex-start;gap:calc(var(--space-unit) / 2)}:host>article ::slotted([slot="tags"]){margin-bottom:var(--space-unit)}:host>article ::slotted([slot="header-cta"]){--z-icon-width:20px;--z-icon-height:20px;padding:var(--space-unit);cursor:pointer;fill:var(--color-icon01)}:host>article.expanded{width:100%;min-width:328px;padding:calc(var(--space-unit) * 2);padding-bottom:0}:host>article.expanded div.header{display:flex;flex-flow:row nowrap;align-content:stretch;align-items:top;justify-content:space-between;margin-bottom:var(--space-unit);white-space:nowrap}:host>article.expanded div.cover div.img-wrapper{border-radius:var(--border-radius)}:host>article.expanded div.cover div.img-wrapper img{width:100%}:host>article.expanded .title,:host>article.expanded .subtitle,:host>article.expanded .authors{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:initial}:host>article.expanded div.footer{border-top:var(--border-size-small) solid var(--color-surface03);margin-bottom:calc(var(--space-unit) * 1.5)}:host>article.expanded div.footer.open{padding-top:calc(var(--space-unit) * 1.5)}:host>article.expanded div.footer.open div.resources{display:initial}:host>article.expanded div.footer.close div.resources{display:none}:host>article.expanded button.show-resources{--z-icon-height:16px;--z-icon-width:16px;all:unset;display:flex;width:100%;flex-flow:row nowrap;align-content:center;align-items:center;justify-content:center;padding:calc(var(--space-unit) * 1) 0;color:var(--color-link-primary);cursor:pointer;fill:var(--color-link-primary);font-size:var(--font-size-2);font-weight:var(--font-sb);gap:var(--space-unit)}:host>article.expanded button.show-resources:focus{box-shadow:var(--shadow-focus-primary)}:host>article.search{width:262px;height:616px;padding:calc(var(--space-unit) * 2);padding-bottom:0}:host>article.search .wrapper-container{display:flex;height:100%;flex-direction:column;justify-content:space-between}:host>article.search .wrapper-container .wrapper{height:451px}:host>article.search .wrapper-container .action-container{padding-bottom:calc(var(--space-unit) * 2)}:host>article.search div.header{display:flex;height:24px;flex-flow:row nowrap;align-content:stretch;align-items:center;justify-content:space-between;margin-bottom:calc(var(--space-unit) * 1.5);white-space:nowrap}:host>article.search div.cover div.img-wrapper{height:314px;border-radius:var(--border-radius)}:host>article.search .title{display:block;height:initial;align-self:unset;font-size:var(--font-size-3)}:host>article.search .title,:host>article.search .subtitle,:host>article.search .authors{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host>article.compact{width:var(--z-book-card-compact-width);height:var(--z-book-card-compact-height)}:host>article.compact.borderless{border:none}:host>article.compact div.cover div.img-wrapper{width:100%;height:calc(var(--z-book-card-compact-width) * 1.36);box-sizing:border-box;border:none;background:var(--color-white);border-radius:var(--border-radius) var(--border-radius) 0 0;box-shadow:var(--shadow-2)}:host>article.compact div.wrapper{display:flex;height:100%;flex-flow:column nowrap;align-content:stretch;align-items:stretch;justify-content:flex-start}:host>article.compact div.content{display:flex;box-sizing:border-box;flex-flow:column nowrap;align-content:stretch;align-items:stretch;justify-content:space-between;padding:calc(var(--space-unit) * 2);padding-top:var(--space-unit);margin:0}:host>article.compact div.action-container{padding:calc(var(--space-unit) * 2);padding-top:0;margin-top:auto}:host>article.compact.borderless div.cover div.img-wrapper{width:var(--z-book-card-compact-width)}:host>article.compact.borderless div.content{padding:0;padding-top:var(--space-unit)}:host>article.compact.borderless div.action-container{padding:0;padding-bottom:calc(var(--space-unit) * 2)}:host>article.compact .title{display:block;height:initial;align-self:unset}:host>article.compact .title,:host>article.compact .subtitle,:host>article.compact .authors{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:initial}@media (min-width: 768px){:host>article{width:100%;max-width:initial}:host>article .title{display:block;height:initial;align-self:unset}:host>article.expanded{width:100%;min-width:initial;max-width:initial;height:360px;padding:0;border:0}:host>article.expanded div.wrapper{display:flex;flex-flow:row nowrap;align-content:stretch;align-items:stretch;justify-content:flex-start}:host>article.expanded div.cover div.img-wrapper{width:262px;height:356px;border:0;border:var(--border-size-medium) solid var(--color-surface03);border-right:none;background:var(--color-surface01);border-radius:var(--border-radius) 0 0 var(--border-radius)}:host>article.expanded div.cover div.img-wrapper img{width:auto;border-radius:0}:host>article.expanded div.content{display:flex;overflow:hidden;width:100%;height:356px;flex-flow:column nowrap;align-content:stretch;align-items:stretch;justify-content:space-between;border:var(--border-size-medium) solid var(--color-surface03);border-left:none;margin:0;background:var(--color-surface01);border-radius:0 var(--border-radius) var(--border-radius) 0}:host>article.expanded div.content div.top{padding:calc(var(--space-unit) * 2);padding-bottom:0}:host>article.expanded div.content div.top div.info{display:flex;flex-flow:row nowrap;align-content:stretch;align-items:stretch;justify-content:space-between;margin-bottom:calc(var(--space-unit) / 2)}:host>article.expanded div.content div.top div.info>div.left{width:100%}:host>article.expanded div.content div.bottom{padding:calc(var(--space-unit) * 2);padding-bottom:0}}@media (min-width: 1152px){:host>article{width:fit-content;max-width:initial}}@media (min-width: 1366px){:host>article.expanded{width:635px}:host>article.expanded div.content{width:369px}}';export{n as z_book_card}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as o,h as e,H as n,a}from"./p-
|
|
1
|
+
import{r as t,c as o,h as e,H as n,a}from"./p-d52d3e5c.js";import{r}from"./p-112478b5.js";import"./p-47f3e677.js";import"./p-6be926f4.js";const s=class{constructor(e){t(this,e),this.expand=o(this,"expand",7),this.expandable=!1,this.expanded=!1}updateColumns(){const t=Array.from(this.host.querySelectorAll("z-td, z-th"));this.expandable&&t.pop();const o=t.map((t=>t.colspan||1)).reduce(((t,o)=>t+o),0);if(this.host.style.setProperty("--columns",`${o}`),this.expandable){const o=t.pop();o.id=o.id||`z-tr-expandable-content-${r()}`,this.expandableContentId=o.id}}onRowClick(t){const o=t.target.closest(".prevent-expand");this.expandable&&!o&&(this.expanded=!this.expanded,this.expand.emit({expanded:this.expanded}))}componentWillLoad(){this.updateColumns()}render(){return e(n,{role:"row",onClick:this.onRowClick.bind(this),expanded:this.expanded},e("div",{class:"z-tr--expand-button-container"},this.expandable&&e("button",{"aria-expanded":this.expanded?"true":"false","aria-label":this.expanded?"Comprimi riga":"Espandi riga","aria-controls":this.expandableContentId,type:"button"},e("z-icon",{name:this.expanded?"minus-circled":"plus-circled"}))),e("slot",{onSlotchange:this.updateColumns.bind(this)}))}get host(){return a(this)}static get watchers(){return{expandable:["updateColumns"]}}};s.style=":host{--columns:1;display:grid;min-width:max-content;box-sizing:border-box;grid-auto-flow:column;grid-template-columns:var(--z-table--expand-button-size, 0) repeat(var(--columns), minmax(128px, 1fr))}*{box-sizing:border-box}.z-tr--expand-button-container,::slotted(*){border-bottom:var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03)}::slotted(*:not(:last-child)){border-right:var(--z-table--cell-left-border, none)}:host([expandable]){--show-expandable-button:visible;cursor:pointer}:host([expandable]) ::slotted(*){grid-row:1}:host([expandable]) ::slotted(:nth-last-child(2)){border-right:none}:host([expandable]) ::slotted(*:last-child){border-left:0;grid-column:1 / span calc(var(--columns) + 1);grid-row:2}:host([expandable]:not([expanded])) ::slotted(*:last-child){display:none}:host([expanded]){margin-bottom:4px;box-shadow:0 4px 4px -2px var(--shadow-color-base)}:host([expanded]) .z-tr--expand-button-container,:host([expanded]) ::slotted(*){background-color:var(--color-surface02)}.z-tr--expand-button-container{display:flex;align-items:center;justify-content:center;background-color:var(--z-table--cells-background, var(--color-surface01))}.z-tr--expand-button-container button{display:flex;align-items:center;justify-content:center;padding:0;border:none;margin:auto;appearance:none;background:transparent;cursor:pointer;visibility:var(--show-expandable-button, hidden)}.z-tr--expand-button-container button:focus{box-shadow:var(--shadow-focus-primary);outline:none}.z-tr--expand-button-container button z-icon{--z-icon-width:16px;--z-icon-height:16px}";export{s as Z}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as t,c as r,h as a,a as e}from"./p-
|
|
1
|
+
import{r as t,c as r,h as a,a as e}from"./p-d52d3e5c.js";import{f as i,i as o,s as n,a as p,v as l}from"./p-d50ea6ea.js";import{c,a as d}from"./p-112455b1.js";import{n as s,o as f,I as h}from"./p-df6ae14f.js";var m=c((function(t){t.exports=function(){
|
|
2
2
|
/*! *****************************************************************************
|
|
3
3
|
Copyright (c) Microsoft Corporation.
|
|
4
4
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,h as r,H as s}from"./p-
|
|
1
|
+
import{r as o,h as r,H as s}from"./p-d52d3e5c.js";const e=class{constructor(r){o(this,r),this.sticky=!1}render(){return r(s,{role:"rowgroup"},r("slot",null))}};e.style=":host{--z-table--cells-bottom-border-size:var(\n --border-size-medium\n );--z-table--cells-background:var(\n --color-surface02\n );display:block;box-sizing:border-box}:host([sticky]){position:sticky;z-index:2;top:0;box-shadow:0 2px 4px -2px var(--shadow-color-base)}";export{e as Z}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as i,c as t,h as a,H as n}from"./p-d52d3e5c.js";import{N as o,y as e}from"./p-df6ae14f.js";import{I as r}from"./p-c7678d37.js";const l=class{constructor(a){i(this,a),this.selectedEvent=t(this,"selected",7),this.selected=!1,this.disabled=!1,this.orientation=o.HORIZONTAL,this.size=e.BIG}scrollToTab({target:i}){i.scrollIntoView(Object.assign({behavior:"smooth"},this.orientation===o.HORIZONTAL?{block:"nearest",inline:"center"}:{block:"center",inline:"nearest"}))}onClick(){this.disabled||(this.selected=!0)}onSelected(){this.selected&&this.selectedEvent.emit()}renderIcon(){let i=this.icon;const t=`${i.replace(/-filled$/,"")}-filled`;return this.selected&&Object.keys(r).includes(t)&&(i=t),a("z-icon",{name:i})}render(){return a(n,{role:"tab",id:this.tabId,"aria-selected":this.selected?"true":"false","aria-controls":this.ariaControls},a("a",{tabIndex:this.selected?0:-1,onFocus:this.scrollToTab.bind(this),href:this.disabled?null:this.href,title:this.htmlTitle,target:this.target},this.icon&&this.renderIcon(),"horizontal"===this.orientation&&this.label))}static get watchers(){return{selected:["onSelected"]}}};l.style='z-navigation-tab>button,z-navigation-tab-link>a{position:relative;z-index:0;display:inline-flex;width:auto;align-items:center;justify-content:center;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 5);border:none;margin:0;background-color:unset;border-radius:var(--border-no-radius);color:var(--color-primary01);cursor:pointer;fill:currentcolor;font-family:var(--font-family-sans);font-size:inherit;letter-spacing:inherit;line-height:inherit;outline:none;text-align:center;white-space:nowrap}z-navigation-tab-link>a{text-decoration:none}z-navigation-tab *,z-navigation-tab-link *,z-navigation-tab *::before,z-navigation-tab *::after,z-navigation-tab-link *::before,z-navigation-tab-link *::after{box-sizing:border-box}z-navigation-tab>*:focus:focus-visible,z-navigation-tab-link>*:focus:focus-visible{z-index:1;box-shadow:inset 0 0 4px 3px var(--color-highlight)}z-navigation-tab:not([disabled]):hover>*,z-navigation-tab[selected]>*,z-navigation-tab-link:not([disabled]):hover>*,z-navigation-tab-link[selected]>*{color:var(--color-hover-secondary);fill:currentcolor}z-navigation-tab:not([disabled]):hover>*::after,z-navigation-tab[selected]>*::after,z-navigation-tab-link:not([disabled]):hover>*::after,z-navigation-tab-link[selected]>*::after{position:absolute;background-color:var(--color-hover-secondary);content:""}z-navigation-tab[orientation="horizontal"]:not([disabled]):hover>*::after,z-navigation-tab[orientation="horizontal"][selected]>*::after,z-navigation-tab-link[orientation="horizontal"]:not([disabled]):hover>*::after,z-navigation-tab-link[orientation="horizontal"][selected]>*::after{bottom:0;left:0;width:100%;height:var(--border-size-large)}z-navigation-tab z-icon,z-navigation-tab-link z-icon{--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);display:flex;margin:0}z-navigation-tab[orientation="horizontal"] z-icon,z-navigation-tab-link[orientation="horizontal"] z-icon{margin-right:var(--space-unit)}z-navigation-tab:not([disabled]):hover>*{background-color:var(--color-background)}z-navigation-tab[disabled]>*,z-navigation-tab-link[disabled]>*{color:var(--gray500);cursor:not-allowed;fill:currentcolor;pointer-events:all}z-navigation-tab[size="small"]>*,z-navigation-tab-link[size="small"]>*{font-size:var(--font-size-2);letter-spacing:0.16px;line-height:1.4}z-navigation-tab[size="small"][orientation="horizontal"]>*,z-navigation-tab-link[size="small"][orientation="horizontal"]>*{padding:var(--space-unit) calc(var(--space-unit) * 2)}z-navigation-tab[size="small"][orientation="horizontal"]:not([disabled]):hover>*::after,z-navigation-tab[size="small"][orientation="horizontal"][selected]>*::after,z-navigation-tab-link[size="small"][orientation="horizontal"]:not([disabled]):hover>*::after,z-navigation-tab-link[size="small"][orientation="horizontal"][selected]>*::after{height:var(--border-size-medium)}z-navigation-tab[size="small"]:not([orientation="vertical"]) z-icon,z-navigation-tab-link[size="small"]:not([orientation="vertical"]) z-icon{--z-icon-width:14px;--z-icon-height:14px}z-navigation-tab[orientation="vertical"]>*,z-navigation-tab-link[orientation="vertical"]>*{padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 2)}z-navigation-tab[orientation="vertical"]:not([disabled]):hover>*::after,z-navigation-tab[orientation="vertical"][selected]>*::after,z-navigation-tab-link[orientation="vertical"]:not([disabled]):hover>*::after,z-navigation-tab-link[orientation="vertical"][selected]>*::after{top:0;right:0;width:var(--border-size-large);height:100%}';export{l as z_navigation_tab_link}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as s,h as i,H as a,a as o}from"./p-
|
|
1
|
+
import{r as t,c as s,h as i,H as a,a as o}from"./p-d52d3e5c.js";import{B as e,w as n,P as r}from"./p-df6ae14f.js";import{a as c}from"./p-112478b5.js";const l=class{constructor(i){t(this,i),this.sort=s(this,"sort",7),this.padding="medium",this.defaultSortDirection="asc",this.sortDirection="none",this.emitOnSort=this.emitOnSort.bind(this)}emitOnSort(){this.sort.emit({columnId:this.columnId,sortDirection:this.sortDirection})}handleSort(){this.sortable&&(this.sortDirection=(()=>{switch(this.sortDirection){case"asc":return"desc";case"desc":return"asc";case"none":return this.defaultSortDirection;default:return"none"}})(),this.emitOnSort())}handleMenuClick(){this.popover.open=!this.popover.open}handleOutsideClick(t){!c(t.target).find((t=>"z-popover"===t.nodeName.toLowerCase()))&&this.popover&&(this.popover.open=!1)}handleClickHeaders(t){const s=t.target,i=c(s).find((t=>"z-table-header"===t.nodeName.toLowerCase()));this.sortable&&i&&i.attributes.getNamedItem("column-id").value!==this.columnId&&(s.parentNode.sortable||s.sortable)&&(this.sortDirection="none")}componentWillRender(){this.host.setAttribute("role","columnheader")}render(){return i(a,{class:{sortable:this.sortable},onClick:()=>this.handleSort()},i("div",{class:"container"},i("slot",null),this.sortable&&"none"!==this.sortDirection&&i("z-icon",{name:"asc"===this.sortDirection?"arrow-up":"arrow-down",class:"arrow"})),this.showButton&&i("div",{class:"popover-container"},i("z-button",{ref:t=>this.triggerButton=t,class:"contextual-popover-button",icon:"contextual-menu",variant:e.TERTIARY,size:n.X_SMALL,onClick:()=>this.handleMenuClick()}),i("z-popover",{ref:t=>this.popover=t,position:r.BOTTOM,center:!0,bindTo:this.triggerButton},i("div",null,i("slot",{name:"contextual-menu"})))))}get host(){return o(this)}};l.style=':host{position:relative;display:table-cell;border-bottom:var(--border-size-medium) solid var(--gray200);background-color:var(--gray50);font-family:var(--font-family-sans);font-weight:var(--font-sb);text-align:start}.container{display:flex;align-items:flex-end}:host(.sortable){cursor:pointer}:host([padding="x-small"]){padding:calc(var(--space-unit) * 0.5)}:host([padding="small"]){padding:calc(var(--space-unit))}:host([padding="medium"]){padding:calc(var(--space-unit) * 2)}:host([padding="large"]){padding:calc(var(--space-unit) * 2.5)}:host([padding="special"]){padding:0}.arrow{padding-left:var(--space-unit);opacity:1}.popover-container{position:absolute;top:var(--space-unit);right:var(--space-unit);display:none}.popover-container z-popover{--z-popover-theme--surface:var(--gray200);position:relative;z-index:1}.popover-container.visible{display:block}:host(:hover) .popover-container{display:block}';export{l as Z}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as a,H as o}from"./p-d52d3e5c.js";const e=class{constructor(a){r(this,a)}render(){return a(o,null)}};e.style=':host{display:inline-block;overflow:hidden;width:100%;height:100%;background:var(--color-surface02);border-radius:var(--border-radius);transform:translate3d(0, 0, 0)}:host::after{display:block;width:100%;height:100%;animation:progress 1.6s ease-in-out infinite;background-image:linear-gradient(\n 90deg,\n var(--color-surface02) 0%,\n var(--color-surface03) 95%,\n var(--color-surface02) 100%\n );content:"";filter:blur(6px)}@keyframes progress{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}';export{e as z_ghost_loading}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as o,a as s}from"./p-
|
|
1
|
+
import{r as t,h as o,a as s}from"./p-d52d3e5c.js";import{Q as i}from"./p-df6ae14f.js";const n=class{constructor(o){t(this,o),this.position=i.TOP_RIGHT,this.newestontop=!0}watchPropNewestontop(t){this.hostElement.append(...this.notificationArray.reverse()),t?this.hostElement.shadowRoot.addEventListener("slotchange",this.slotChangeHandler):this.hostElement.shadowRoot.removeEventListener("slotchange",this.slotChangeHandler)}componentWillLoad(){this.newestontop&&this.handleNewestOnTop()}handleNewestOnTop(){this.notificationArray=Array.from(this.hostElement.children),this.hostElement.append(...this.notificationArray.reverse()),this.hostElement.shadowRoot.addEventListener("slotchange",this.slotChangeHandler)}slotChangeHandler(){const t=Array.from(this.hostElement.children).filter((t=>!this.notificationArray.includes(t)));t&&t.forEach((t=>{this.notificationArray.push(t);const o=t;t.remove(),this.hostElement.prepend(o)}))}render(){return o("slot",{name:"toasts"})}get hostElement(){return s(this)}static get watchers(){return{newestontop:["watchPropNewestontop"]}}};n.style=':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}}';export{n as z_toast_notification_list}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,h as r}from"./p-d52d3e5c.js";const t=class{constructor(r){o(this,r)}render(){return r("div",null,r("footer",null,r("div",{class:"top"},r("slot",{name:"top"})),r("div",{class:"bottom"},r("slot",{name:"bottom"}))))}};t.style=":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div>footer{height:128px;box-sizing:border-box;padding:var(--space-unit) calc(var(--space-unit) * 2) 0;border-top:var(--border-size-medium) solid var(--color-surface03);border-radius:0 0 var(--border-radius) var(--border-radius);color:var(--color-surface05);font-size:16px;line-height:24px}:host>div>footer>div.top,:host>div>footer>div.bottom{height:60px}";export{t as z_myz_card_footer_sections}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as r,H as a}from"./p-
|
|
1
|
+
import{r as e,h as r,H as a}from"./p-d52d3e5c.js";const t=class{constructor(r){e(this,r)}renderExpandHeader(){return r("z-table-header",null)}render(){return r(a,{role:"row"},this.expandable&&this.renderExpandHeader(),r("slot",null))}};t.style="z-table-header-row{display:table-row}z-table-header-row[expandable]>z-table-header:first-child{width:40px;box-sizing:border-box;user-select:none}z-table-header-row[expandable]>z-table-header:nth-child(2){padding-left:8px}";export{t as Z}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as e,H as n,a as i,c as s}from"./p-d52d3e5c.js";import{f as o,R as a,U as l,k as c,s as r,V as h,K as u}from"./p-df6ae14f.js";const d=class{constructor(e){t(this,e),this.size=o.MEDIUM,this.listType=a.NONE}setChildrenSizeType(){const t=this.host.children;for(let e=0;e<t.length;e++)t[e].setAttribute("size",this.size),t[e].setAttribute("list-type",this.listType),t[e].setAttribute("list-element-position",(e+1).toString())}componentDidLoad(){this.setChildrenSizeType()}render(){return e(n,{role:"list"},e("slot",null))}get host(){return i(this)}};d.style=":host{display:flex;flex-direction:column;font-family:var(--font-family-sans);font-weight:var(--font-rg)}";const p=class{constructor(e){t(this,e),this.accessibleFocus=s(this,"accessibleFocus",7),this.clickItem=s(this,"clickItem",7),this.alignButton=l.LEFT,this.clickable=!1,this.dividerColor="color-surface03",this.dividerType=c.NONE,this.dividerSize=r.SMALL,this.expandable=!1,this.expandableStyle=h.ACCORDION,this.size=o.MEDIUM,this.color="none",this.disabled=!1,this.isContextualMenu=!1,this.listElementPosition="0",this.listType=a.NONE,this.showInnerContent=!1,this.openElementConfig={accordion:{open:"minus-circled",close:"plus-circled"},menu:{open:"chevron-up",close:"chevron-down"}},this.handleClick=this.handleClick.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this)}accessibleFocusHandler(t){this.listElementId===t.detail&&this.host.shadowRoot.getElementById(`z-list-element-id-${t.detail}`).focus()}handleClick(){this.clickItem.emit(this.listElementId),this.expandable&&(this.showInnerContent=!this.showInnerContent)}calculateClass(){return this.isContextualMenu?"container-contextual-menu":"container"}handleKeyDown(t){const e=t.code===u.ENTER;switch(t.code){case u.ARROW_DOWN:t.preventDefault(),this.accessibleFocus.emit(this.listElementId+1);break;case u.ARROW_UP:t.preventDefault(),this.accessibleFocus.emit(this.listElementId-1);break;case u.ENTER:t.preventDefault(),this.clickItem.emit(this.listElementId)}this.expandable&&e&&(this.showInnerContent=!this.showInnerContent)}renderExpandableButton(){return this.expandable?e("z-icon",{name:this.showInnerContent?this.openElementConfig[this.expandableStyle].open:this.openElementConfig[this.expandableStyle].close}):null}renderExpandedContent(){return this.expandable?e("div",{class:{"z-list-element-inner-container":!0,expanded:this.showInnerContent}},e("slot",{name:"inner-content"})):null}renderContent(){return this.listType===a.NONE?e("slot",null):this.listType===a.ORDERED?e("div",{class:"z-list-content-container"},e("div",null,this.listElementPosition,". "),e("slot",null)):this.listType===a.UNORDERED?e("div",{class:"z-list-content-container"},e("span",null,"• "),e("slot",null)):void 0}render(){return e(n,{role:"listitem","aria-expanded":this.expandable?this.showInnerContent:null,onClick:this.handleClick,onKeyDown:this.handleKeyDown,clickable:this.clickable&&!this.disabled,tabIndex:this.isContextualMenu?null:"0"},e("div",{class:`${this.calculateClass()}`,style:{color:`var(--${this.color})`},tabindex:this.isContextualMenu?"0":"-1",id:`z-list-element-id-${this.listElementId}`,part:"list-item-container"},e("div",{class:"z-list-element-container"},this.renderExpandableButton(),this.renderContent()),this.renderExpandedContent()),this.dividerType===c.ELEMENT&&e("z-divider",{color:this.dividerColor,size:this.dividerSize}))}get host(){return i(this)}};p.style=':host{outline:none}:host>.container,:host>.container-contextual-menu{--background-color-list-element:var(--color-surface01);--background-hover-color-list-element:var(--color-surface02);--background-active-color-list-element:var(--color-surface02);display:flex;box-sizing:border-box;flex-direction:column;justify-content:center;font-family:var(--font-family-sans);font-weight:var(--font-rg);outline:none}:host([size="small"])>.container{min-height:calc(var(--space-unit) * 4);padding:calc(var(--space-unit) / 2) 0}:host([size="medium"])>.container{min-height:calc(var(--space-unit) * 5);padding:var(--space-unit) 0}:host([size="large"])>.container{min-height:calc(var(--space-unit) * 7);padding:calc(var(--space-unit) * 2) 0}:host([size="x-large"])>.container{min-height:calc(var(--space-unit) * 9);padding:calc(var(--space-unit) * 3) 0}:host([expandable])>.container,:host([expandable])>.container-contextual-menu,:host([clickable])>.container,:host([clickable])>.container-contextual-menu{cursor:pointer}:host([expandable]:hover)>.container,:host([expandable]:hover)>.container-contextual-menu,:host([clickable]:hover)>.container,:host([clickable]:hover)>.container-contextual-menu{background-color:var(--background-hover-color-list-element)}:host([expandable]:focus:focus-visible)>.container,:host([expandable]:focus:focus-visible)>.container-contextual-menu,:host([clickable]:focus:focus-visible)>.container,:host([clickable]:focus:focus-visible)>.container-contextual-menu{box-shadow:var(--shadow-focus-primary)}:host([clickable]:not([expandable]))>.container.clicked,:host([clickable]:not([expandable]))>.container-contextual-menu.clicked{box-shadow:var(--shadow-focus-primary)}:host([expandable]:active)>.container,:host([expandable]:active)>.container-contextual-menu,:host([clickable]:active)>.container,:host([clickable]:active)>.container-contextual-menu{background-color:var(--background-active-color-list-element)}:host([align-button="left"][expandable])>.container>.z-list-element-container,:host([align-button="left"][expandable])>.container-contextual-menu>.z-list-element-container{display:flex}:host([align-button="right"][expandable])>.container>.z-list-element-container,:host([align-button="right"][expandable])>.container-contextual-menu>.z-list-element-container{display:flex;flex-direction:row-reverse;justify-content:space-between}:host([align-button="left"][expandable])>.container>.z-list-element-container>z-icon,:host([align-button="left"][expandable])>.container-contextual-menu>.z-list-element-container>z-icon{margin-right:var(--space-unit)}:host([align-button="right"][expandable])>.container>.z-list-element-container>z-icon,:host([align-button="right"][expandable])>.container-contextual-menu>.z-list-element-container>z-icon{margin-left:var(--space-unit)}:host>.container>.z-list-element-inner-container,:host>.container-contextual-menu>.z-list-element-inner-container{display:none}:host>.container>.z-list-element-inner-container.expanded,:host>.container-contextual-menu>.z-list-element-inner-container.expanded{display:block}:host([clickable]:hover)>.container-contextual-menu{background-color:var(--color-surface03)}.container-contextual-menu:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}.z-list-content-container{display:flex;align-items:center}';const m=class{constructor(e){t(this,e),this.size=o.MEDIUM,this.dividerType=c.NONE,this.dividerSize=r.SMALL,this.dividerColor="gray200",this.listType=a.NONE}componentDidLoad(){const t=this.host.children;for(let e=0;e<t.length;e++)t.length-1>e&&(t[e].setAttribute("divider-type",this.dividerType),t[e].setAttribute("divider-size",this.dividerSize),t[e].setAttribute("divider-color",this.dividerColor)),t[e].setAttribute("size",this.size),t[e].setAttribute("list-type",this.listType),t[e].setAttribute("list-element-position",e.toString())}componentWillLoad(){this.hasHeader=!!this.host.querySelector('[slot="header-title"]')}render(){return e(n,{role:"group"},e("div",{class:{"z-list-group-header-container":!0,"has-header":this.hasHeader}},e("slot",{name:"header-title"}),this.dividerType===c.HEADER&&e("z-divider",{color:this.dividerColor,size:this.dividerSize})),e("slot",null))}get host(){return i(this)}};m.style=":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>.z-list-group-header-container{color:var(--gray700);font-size:var(--font-size-2);font-weight:var(--font-sb) !important;letter-spacing:0.16px;line-height:1.4}:host>.z-list-group-header-container.has-header{padding-top:var(--space-unit);padding-bottom:var(--space-unit)}:host>.z-list-group-header-container.has-header>z-divider{margin-top:var(--space-unit)}";export{d as z_list,p as z_list_element,m as z_list_group}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as o,h as n,H as e,a as s}from"./p-d52d3e5c.js";import{P as i,S as r,B as a,C as c}from"./p-df6ae14f.js";const h=class{constructor(n){t(this,n),this.sort=o(this,"sort",7),this.showMenu=null,this.sticky=!1,this.popoverPosition=i.AUTO,this.isMenuOpen=!1}get ariaSortDirection(){return this.sortDirection?this.sortDirection===r.ASC?"ascending":"descending":null}handleSort(){this.sortDirection&&(this.sortDirection=this.sortDirection===r.ASC?r.DESC:r.ASC,this.sort.emit({sortDirection:this.sortDirection}))}updateColspan(){this.colspan?this.host.style.gridColumn=`span ${this.colspan}`:this.host.style.removeProperty("grid-column")}componentWillLoad(){this.updateColspan()}render(){return n(e,{role:"columnheader","menu-open":this.isMenuOpen,"aria-sort":this.ariaSortDirection},n("slot",null),this.sortDirection&&n("button",{class:"z-th--sort-button",type:"button",onClick:this.handleSort.bind(this)},n("z-icon",{name:this.sortDirection===r.ASC?"arrow-simple-up":"arrow-simple-down",width:14,height:14})),this.showMenu&&n("div",{class:"cell--menu-container"},n("z-button",{variant:a.TERTIARY,icon:"contextual-menu",size:c.X_SMALL,ref:t=>this.menuTrigger=t,onClick:()=>this.popoverEl.open=!this.popoverEl.open}),n("z-popover",{ref:t=>this.popoverEl=t,bindTo:this.menuTrigger,onOpenChange:t=>this.isMenuOpen=t.detail.open,position:this.popoverPosition},n("slot",{name:"contextual-menu"}))))}get host(){return s(this)}static get watchers(){return{colspan:["updateColspan"]}}};h.style=':host{position:relative;display:flex;min-width:128px;box-sizing:border-box;align-items:center;padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));background-color:var(--color-surface01);gap:calc(var(--space-unit) * 2) var(--space-unit)}:host([sticky]){position:sticky;z-index:1;top:0;left:0;box-shadow:8px 0 16px -8px var(--shadow-color-base)}:host([show-menu])::after{display:inline-block;height:100%;margin-right:calc(var(--space-unit) * 4);background:transparent;content:"";user-select:none}.cell--menu-container{position:absolute;z-index:1;top:var(--space-unit);right:var(--space-unit)}:host(:not([show-menu])) .cell--menu-container{opacity:0;pointer-events:none}:host(:is([show-menu],[menu-open])) .cell--menu-container,:host([show-menu]) .cell--menu-container:focus-within{opacity:1;pointer-events:all}@media (min-width: 768px) and (hover: hover){:host([show-menu="hover"]) .cell--menu-container{opacity:0;pointer-events:none}:host([show-menu="hover"]:hover) .cell--menu-container{opacity:1;pointer-events:all}}:host{background-color:var(--color-surface02);font-weight:var(--font-sb)}:host([sortable]){cursor:pointer}.z-th--sort-button{display:flex;align-items:center;justify-content:center;padding:0;border:none;margin-top:auto;background-color:transparent;cursor:pointer}.z-th--sort-button:focus{box-shadow:var(--shadow-focus-primary);outline:none}';export{h as Z}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as i,c,h,a as r}from"./p-d52d3e5c.js";import{q as s}from"./p-df6ae14f.js";const o=class{constructor(h){i(this,h),this.interactiveIconClick=c(this,"interactiveIconClick",7),this.type=s.DEFAULT,this.disabled=!1,this.ariaLabel=""}render(){return h("div",{class:{"z-chip-container":!0,"z-chip-interactive":!!this.interactiveIcon,[this.type]:!0},"aria-disabled":this.disabled},this.icon&&h("z-icon",{name:this.icon}),h("slot",null),this.interactiveIcon&&h("button",{type:"button",onClick:()=>this.interactiveIconClick.emit(),onKeyUp:()=>this.interactiveIconClick.emit(),"aria-label":this.ariaLabel,disabled:this.disabled},h("z-icon",{class:"interactive-icon",name:this.interactiveIcon})))}get el(){return r(this)}};o.style=".sc-z-chip-h>.z-chip-container.sc-z-chip{display:inline-flex;min-height:28px;align-items:center;padding:0 calc(var(--space-unit) * 1.5);border:var(--border-size-small) solid var(--gray400);background-color:var(--color-surface01);border-radius:14px;color:var(--color-text01);fill:var(--color-text01);font-family:var(--font-family-sans);font-size:14px;line-height:28px}.sc-z-chip-h>.z-chip-interactive.sc-z-chip{font-weight:var(--font-sb)}.sc-z-chip-h>.z-chip-container.sc-z-chip>button.sc-z-chip{padding:0;border:none;margin-left:var(--space-unit);background-color:transparent;cursor:pointer}.sc-z-chip-h>.z-chip-container.sc-z-chip>z-icon.sc-z-chip:first-child{margin-right:calc(var(--space-unit) / 2)}.sc-z-chip-h>.z-chip-container.sc-z-chip:not([aria-disabled]):hover>z-icon.sc-z-chip:first-child{fill:var(--color-icon02)}.sc-z-chip-h>.z-chip-container.sc-z-chip .interactive-icon.sc-z-chip{fill:var(--color-primary01)}.sc-z-chip-h>.z-chip-container.sc-z-chip:not([aria-disabled]) .interactive-icon.sc-z-chip:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary)}.sc-z-chip-h>.z-chip-container[aria-disabled].sc-z-chip,.sc-z-chip-h>.z-chip-container[aria-disabled].sc-z-chip z-icon.sc-z-chip{color:var(--color-disabled03);cursor:auto;fill:var(--color-disabled03)}.sc-z-chip-h>.z-chip-container[aria-disabled].sc-z-chip{border:var(--border-size-small) solid var(--color-disabled01)}.sc-z-chip-h>.z-chip-container.sc-z-chip>button.sc-z-chip:focus:focus-visible{border-radius:100%;box-shadow:var(--shadow-focus-primary);outline:none}.sc-z-chip-h>button.sc-z-chip:not([disabled]):active:hover .interactive-icon.sc-z-chip{color:var(--color-primary01);fill:var(--color-primary01)}.sc-z-chip-h>.z-chip-container.sc-z-chip>z-icon.sc-z-chip,.sc-z-chip-h>.z-chip-container.sc-z-chip .interactive-icon.sc-z-chip{--z-icon-width:22px;--z-icon-height:22px}.sc-z-chip-h>.z-chip-container.default.sc-z-chip{min-height:44px;border-radius:22px;line-height:44px}.sc-z-chip-h>.z-chip-container.medium.sc-z-chip{min-height:40px;border-radius:22px;line-height:40px}.sc-z-chip-h>.z-chip-container.small.sc-z-chip{min-height:36px;border-radius:22px;line-height:36px}@media (min-width: 1152px){.sc-z-chip-h>.z-chip-container.sc-z-chip{font-size:12px}.sc-z-chip-h>.z-chip-container.default.sc-z-chip{min-height:32px;border-radius:16px;line-height:32px}.sc-z-chip-h>.z-chip-container.medium.sc-z-chip{min-height:28px;border-radius:16px;line-height:28px}.sc-z-chip-h>.z-chip-container.small.sc-z-chip{min-height:24px;border-radius:16px;line-height:24px}.sc-z-chip-h>.z-chip-container.sc-z-chip>z-icon.sc-z-chip,.sc-z-chip-h>.z-chip-container.sc-z-chip .interactive-icon.sc-z-chip{--z-icon-width:14px;--z-icon-height:14px}}";export{o as z_chip}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i,c as t,h as s}from"./p-
|
|
1
|
+
import{r as i,c as t,h as s}from"./p-d52d3e5c.js";import{h as a}from"./p-112478b5.js";import"./p-df6ae14f.js";import"./p-d8592d42.js";const o=class{constructor(s){i(this,s),this.zListItemLinkClick=t(this,"zListItemLinkClick",7),this.zListItemClick=t(this,"zListItemClick",7),this.linktarget="_self",this.underlined=!0,this.emitZListItemLinkClick=this.emitZListItemLinkClick.bind(this),this.emitZListItemClick=this.emitZListItemClick.bind(this)}emitZListItemLinkClick(i,t){this.zListItemLinkClick.emit({e:i,linkId:t})}emitZListItemClick(i,t){this.zListItemClick.emit({e:i,listitemid:t})}render(){const i=this.listitemid?`link_${this.listitemid}`:"";return s("li",{role:"button",id:this.listitemid,"data-action":this.action,onClick:i=>this.emitZListItemClick(i,this.listitemid),onKeyPress:i=>a(i,this.emitZListItemClick,this.listitemid)},s("span",{class:this.underlined&&"border"},this.icon&&s("z-icon",{name:this.icon}),this.link?s("a",{href:this.link?this.link:null,target:this.linktarget,id:i,onClick:t=>this.emitZListItemLinkClick(t,i),onKeyPress:t=>a(t,this.emitZListItemLinkClick,i),role:this.link?"link":"button",tabindex:"0"},this.text):s("span",{innerHTML:this.text}),s("slot",null)))}};o.style=":host li{all:unset;all:reset;width:100%;line-height:14px;list-style-type:none}:host li>span{display:flex;padding:calc(var(--space-unit) * 2) 0;color:var(--color-text01);fill:var(--color-icon02);font-family:var(--font-family-sans);font-size:16px;font-weight:var(--font-rg);letter-spacing:0.23px;line-height:14px}:host(.small) li>span{padding:calc(var(--space-unit) * 1.5) 0;font-size:var(--font-size-2)}:host(.x-small) li>span{padding:var(--space-unit) 0;font-size:var(--font-size-2)}:host(.small) li>span>z-icon,:host(.x-small) li>span>z-icon{--z-icon-width:16px;--z-icon-height:16px;--z-icon-right-margin:calc(var(--space-unit) * 0.5);padding:0}:host li>span.border{border-bottom:2px solid var(--color-surface03)}:host li span:hover,a:hover{color:var(--color-primary01);fill:var(--color-primary01)}a,a:visited,a:active{color:inherit;fill:inherit;text-decoration:none}:host li span z-icon{width:calc(var(--space-unit) * 2);height:calc(var(--space-unit) * 2);padding:0 calc(var(--space-unit) * 1.5) 0 0;background-repeat:no-repeat;background-size:contain;color:var(--color-primary01);fill:var(--color-primary01)}";export{o as z_myz_list_item}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as o,a as e}from"./p-d52d3e5c.js";import{x as i}from"./p-df6ae14f.js";const s=class{constructor(o){t(this,o),this.opened=!1,this.customContent=!1,this.isOpen=!1,this.allowTooltipAuthors=!1}handleToggle(){if(this.isOpen=!this.isOpen,this.isOpen){const t=this.getFirstListItem();t&&requestAnimationFrame((()=>{t.focus()}))}}getTitleAuthors(){return this.allowTooltipAuthors?this.autori:""}componentWillLoad(){this.opened&&(this.isOpen=!0)}elementsEllipsis(){this.allowTooltipAuthors=!!this.elementAuthorsHasEllipsis()}elementAuthorsHasEllipsis(){return this.ellipsisAuthors.offsetWidth<this.ellipsisAuthors.scrollWidth}retrieveClass(){return{isopen:this.isOpen,real:this.cardtype===i.REAL,trial:this.cardtype===i.TRIAL,temp:this.cardtype===i.TEMP,"custom-content":this.customContent}}footerTransitionHandler(t){["visibility","height"].includes(t.propertyName)&&this.elementsEllipsis()}getFirstListItem(){return this.host.querySelector("[slot=list] > li a")}render(){return o("div",{class:Object.assign(Object.assign({},this.retrieveClass()),{wrapper:!0})},o("footer",{class:this.retrieveClass(),onTransitionEnd:t=>this.footerTransitionHandler(t)},o("span",{class:"toggle"},o("slot",{name:"toggle"})),this.titolo&&o("p",{class:{"custom-content":this.customContent}},this.titolo),o("div",{class:{content:!0,"custom-content":this.customContent}},o("div",null,o("p",{class:"authors",ref:t=>this.ellipsisAuthors=t},o("span",{title:this.getTitleAuthors()},o("span",{"aria-description":"Autori",class:"bold"},this.autori))),o("p",{class:"year-isbn"},o("span",{class:"isbn"},o("span",null,o("span",{"aria-description":"ISBN edizione cartacea",class:"bold"},this.isbn)," ","(ed. cartacea)")))),o("div",{class:"slot-handler "+(this.isOpen?"visible":"hidden")},o("slot",{name:"list"})))),this.customContent&&o("slot",{name:"content"}))}get host(){return e(this)}};s.style='footer{position:relative;z-index:5;top:0;width:auto;height:calc(var(--space-unit) * 6);padding:0;border-top:var(--border-size-medium) solid var(--color-surface03);margin:0;background-color:var(--color-surface01);border-radius:0 0 var(--border-radius) var(--border-radius);color:var(--color-surface05);font-family:var(--font-family-sans);font-weight:var(--font-rg);transition:height 500ms ease-in-out, top 500ms ease-in-out}footer.real,footer.trial,footer.temp{border-top:var(--border-size-medium) solid var(--blue100)}footer .bold{font-family:var(--font-family-sans);font-weight:var(--font-sb)}footer>p{overflow:hidden;height:40px;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 2) var(--space-unit) calc(var(--space-unit) * 2);margin:0;background-color:var(--color-surface01);font-family:var(--font-family-sans);font-size:16px;font-weight:var(--font-rg);line-height:22px;transition:all 200ms linear}footer.isopen>p{background-color:var(--gray200);font-size:14px;font-weight:var(--font-sb);transition:all 200ms linear}footer.isopen.real>p,footer.isopen.trial>p,footer.isopen.temp>p{background-color:var(--blue100)}footer .visible{display:block}footer .hidden{display:none}footer>div.content{overflow:hidden;height:60px}footer>div.content>div:not(.slot-handler){padding:var(--space-unit) calc(var(--space-unit) * 2)}footer>div.content>div>p{overflow:hidden;height:20px;padding:0;margin:0;font-size:14px;line-height:20px;text-overflow:ellipsis;white-space:nowrap}footer>div.content>div>p.year-isbn{display:flex;flex-direction:row;justify-content:space-between;padding-top:var(--space-unit)}footer>div.content>div>p.year-isbn>span.isbn{overflow:hidden;text-overflow:ellipsis}footer.isopen>div.content>div:not(.slot-handler){height:68px}footer.isopen>div.content>div>p.authors{height:40px;text-overflow:initial;white-space:initial}footer.isopen>div.content>div>p.year-isbn{height:50px;flex-direction:column;padding-left:0}footer.isopen>div.content>div>p.year-isbn>span.isbn{display:inline-grid;padding-left:0}footer.isopen{top:-212px;height:295px;transition:height 500ms ease-in-out, top 500ms ease-in-out}footer.isopen.custom-content{top:-292px}footer.isopen>div.content{height:280px;transition:height 500ms ease-in-out, top 500ms ease-in-out}footer.isopen.custom-content>div.content{height:230px}.toggle{position:absolute;z-index:10;top:-24px;left:16px}.faded{opacity:0.3;pointer-events:none}footer>p.custom-content,footer .content.custom-content{display:none}footer.isopen>p.custom-content,footer.isopen .content.custom-content{display:block}div.wrapper{position:relative;height:100%}div.wrapper ::slotted([slot="content"]){position:absolute;z-index:10;top:calc(var(--space-unit) * 2);display:block;width:100%;height:112px;box-sizing:border-box;padding:0 calc(var(--space-unit) * 2);border-top:var(--border-size-medium) solid transparent;background:var(--color-white)}div.wrapper.isopen ::slotted([slot="content"]){top:0;bottom:0;height:128px;padding:calc(var(--space-unit) * 2);border-color:var(--blue100)}';export{s as z_myz_card_footer}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as i,c as e,h as r,a}from"./p-d52d3e5c.js";const t=class{constructor(r){i(this,r),this.zLinkClick=e(this,"zLinkClick",7),this.target="_self",this.htmltabindex=0,this.isdisabled=!1,this.isactive=!1,this.iswhite=!1,this.textcolor="primary",this.big=!1,this.iconposition="left",this.underline=!1,this.iconSize=18,this.emitZLinkClick=this.emitZLinkClick.bind(this),this.emitZLinkInteraction=this.emitZLinkInteraction.bind(this)}componentWillLoad(){this.iswhite&&console.warn("z-link iswhite prop is deprecated and will be dropped in a next release, please use textcolor prop instead"),this.big&&console.warn("z-link big prop is deprecated and will be dropped in a next release, please override --font-size-link and --font-weight-link variables instead")}emitZLinkClick(i,e){this.emitZLinkInteraction(i,e)}emitZLinkInteraction(i,e){this.zLinkClick.emit({e:i,linkId:e})}componentDidLoad(){if(this.icon){const i=parseFloat(window.getComputedStyle(this.hostElement).getPropertyValue("font-size")),e=this.big?18:Math.round(1.125*i);Number.isNaN(e)||this.iconSize===e||(this.iconSize=e)}}render(){return r("a",{id:this.htmlid,href:this.href?this.href:null,class:{disabled:this.isdisabled,active:this.isactive,white:this.iswhite,[this.textcolor||""]:!0,underline:this.underline},target:this.target,role:this.href?"link":"button",tabindex:this.isdisabled?-1:this.htmltabindex,onClick:i=>this.emitZLinkClick(i,this.htmlid)},"right"===this.iconposition&&r("slot",null),this.icon&&r("z-icon",{style:{"--z-icon-width":`${this.iconSize}px`,"--z-icon-height":`${this.iconSize}px`},name:this.icon}),"left"===this.iconposition&&r("slot",null))}get hostElement(){return a(this)}};t.style=":host{--font-size-link:inherit;--font-weight-link:inherit;font-family:var(--font-family-sans);font-size:var(--font-size-link);font-weight:var(--font-weight-link);line-height:inherit;outline:none}:host([big]){--font-size-link:16px;--font-weight-link:var(--font-sb)}a{display:inline-flex;align-items:center;padding:calc(var(--space-unit) / 2) 0;border-top:var(--border-size-medium) solid transparent;border-bottom:var(--border-size-medium) solid transparent;color:var(--color-link-primary);cursor:pointer;fill:var(--color-link-primary);text-decoration:none}a:hover,a:focus,a:active{text-decoration:underline}a.active{color:var(--color-active-link);fill:var(--color-active-link)}a:hover,a:focus{color:var(--color-hover-link);fill:var(--color-hover-link)}a:active{color:var(--color-pressed-link);fill:var(--color-pressed-link)}a:visited{color:var(--color-visited-link);fill:var(--color-visited-link)}a.disabled,a.inverse.disabled{color:var(--color-disabled03);cursor:default;fill:var(--color-disabled03);pointer-events:none}a.underline,a.underline:active,a.underline:hover,a.underline:visited,a.underline.disabled,a.underline.black,a.underline.white{text-decoration:underline}a.disabled,a.disabled:active,a.disabled:visited,a.disabled:hover{text-decoration:none}a.inverse{color:var(--color-inverse-link);fill:var(--color-inverse-link)}a.inverse.active{color:var(--color-inverse-active-link);fill:var(--color-inverse-active-link)}a.inverse:hover,a.inverse:focus{color:var(--color-inverse-hover-link);fill:var(--color-inverse-hover-link)}a.inverse:active{color:var(--color-inverse-pressed-link);fill:var(--color-inverse-pressed-link)}a.inverse:visited{color:var(--color-inverse-visited-link);fill:var(--color-inverse-visited-link)}a.black{color:var(--gray800);fill:var(--gray800);text-decoration:none}a.black:hover,a.black.active{color:var(--color-black);fill:var(--color-black)}a.black:visited{color:var(--gray800);fill:var(--gray800)}a.black:hover,a.black:focus,a.black:active{text-decoration:underline}a.black:active{color:var(--gray700);fill:var(--gray700)}a.white,a.white:active,a.white:hover,a.white.active{color:var(--color-white);fill:var(--color-white);text-decoration:none}a.white:visited{color:var(--color-white);fill:var(--color-white)}a.white:hover,a.white:focus,a.white:active{text-decoration:underline}a.white.disabled,a.black.disabled{color:var(--gray500);fill:var(--gray500)}a>z-icon:first-child{margin-right:var(--space-unit)}a>z-icon:last-child{margin-left:var(--space-unit)}";export{t as z_link}
|