@zanichelli/delta_share 3.1.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/{breakpoints-a55736d0.js → breakpoints-e7c8838e.js} +3 -1
- package/dist/wc/cjs/delta_share.cjs.js +2 -2
- package/dist/wc/cjs/{icons-9d7fe21e.js → icons-6d7ce4fc.js} +111 -0
- package/dist/wc/cjs/{index-1112cdb1.js → index-029f1a7e.js} +43 -10
- package/dist/wc/cjs/index-0c6fe5a8.js +34 -0
- package/dist/wc/cjs/index-1a5d1f46.js +67 -0
- package/dist/wc/cjs/index-2bd3ba9a.js +74 -0
- package/dist/wc/cjs/index-2cac2542.js +79 -0
- package/dist/wc/cjs/index-32a6c022.js +21 -0
- package/dist/wc/cjs/index-42c0b32c.js +20 -0
- package/dist/wc/cjs/index-5da586ad.js +41 -0
- package/dist/wc/cjs/index-6d707e7c.js +21 -0
- package/dist/wc/cjs/index-77820e6c.js +17 -0
- package/dist/wc/cjs/index-7b42e7ce.js +21 -0
- package/dist/wc/cjs/index-903cb132.js +17 -0
- package/dist/wc/cjs/index-9ad9039f.js +22 -0
- package/dist/wc/cjs/index-a8dfd3f3.js +53 -0
- package/dist/wc/cjs/index-d6d2e8ac.js +21 -0
- package/dist/wc/cjs/index-e5699190.js +17 -0
- package/dist/wc/cjs/index-ef01acde.js +29 -0
- 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} +966 -129
- package/dist/wc/cjs/loader.cjs.js +2 -2
- package/dist/wc/cjs/{utils-2bfaab77.js → utils-1ed1ec98.js} +1 -1
- package/dist/wc/cjs/{utils-3ac19501.js → utils-43a3deb6.js} +13 -3
- package/dist/wc/cjs/z-accordion.cjs.entry.js +67 -0
- 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 +92 -40
- 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 +126 -0
- package/dist/wc/cjs/z-breadcrumb.cjs.entry.js +232 -0
- package/dist/wc/cjs/z-button-sort.cjs.entry.js +4 -4
- package/dist/wc/cjs/z-card.cjs.entry.js +6 -19
- package/dist/wc/cjs/z-carousel.cjs.entry.js +8 -4
- package/dist/wc/cjs/z-chip.cjs.entry.js +11 -16
- package/dist/wc/cjs/z-combobox.cjs.entry.js +12 -10
- package/dist/wc/cjs/z-contextual-menu.cjs.entry.js +6 -6
- package/dist/wc/cjs/z-cover-hero.cjs.entry.js +25 -8
- 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 +5 -5
- package/dist/wc/cjs/z-file.cjs.entry.js +3 -3
- 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 +4 -4
- package/dist/wc/cjs/z-logo.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-menu-section.cjs.entry.js +12 -4
- package/dist/wc/cjs/z-menu.cjs.entry.js +27 -15
- 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 +16 -4
- package/dist/wc/cjs/z-myz-card-icon.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-myz-card-info.cjs.entry.js +4 -4
- package/dist/wc/cjs/z-myz-card-list.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-myz-card_4.cjs.entry.js +5 -5
- package/dist/wc/cjs/z-myz-list-item.cjs.entry.js +5 -5
- 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 +152 -49
- package/dist/wc/cjs/z-notification.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-offcanvas_2.cjs.entry.js +281 -0
- 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 +4 -4
- package/dist/wc/cjs/z-popover.cjs.entry.js +6 -5
- package/dist/wc/cjs/z-range-picker.cjs.entry.js +25 -7
- package/dist/wc/cjs/z-section-title.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-select.cjs.entry.js +20 -13
- package/dist/wc/cjs/z-skip-to-content.cjs.entry.js +14 -6
- package/dist/wc/cjs/z-slideshow.cjs.entry.js +5 -5
- 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 +3 -17
- package/dist/wc/cjs/z-table-cell.cjs.entry.js +4 -29
- package/dist/wc/cjs/z-table-deprecated.cjs.entry.js +91 -0
- package/dist/wc/cjs/z-table-empty-box.cjs.entry.js +3 -24
- package/dist/wc/cjs/z-table-expanded-row.cjs.entry.js +3 -12
- package/dist/wc/cjs/z-table-footer.cjs.entry.js +3 -16
- package/dist/wc/cjs/z-table-head.cjs.entry.js +3 -16
- package/dist/wc/cjs/z-table-header-row.cjs.entry.js +3 -15
- package/dist/wc/cjs/z-table-header.cjs.entry.js +6 -75
- package/dist/wc/cjs/z-table-row.cjs.entry.js +4 -36
- package/dist/wc/cjs/z-table-sticky-footer.cjs.entry.js +3 -12
- package/dist/wc/cjs/z-table.cjs.entry.js +37 -59
- package/dist/wc/cjs/z-tag.cjs.entry.js +1 -1
- package/dist/wc/cjs/z-tbody.cjs.entry.js +10 -0
- package/dist/wc/cjs/z-td.cjs.entry.js +11 -0
- package/dist/wc/cjs/z-tfoot.cjs.entry.js +10 -0
- package/dist/wc/cjs/z-th.cjs.entry.js +11 -0
- package/dist/wc/cjs/z-thead.cjs.entry.js +10 -0
- package/dist/wc/cjs/z-toast-notification-list.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-toast-notification.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-toggle-button.cjs.entry.js +5 -3
- package/dist/wc/cjs/z-toggle-switch.cjs.entry.js +4 -4
- package/dist/wc/cjs/z-tooltip.cjs.entry.js +11 -5
- package/dist/wc/cjs/z-tr.cjs.entry.js +15 -0
- package/dist/wc/cjs/z-visually-hidden.cjs.entry.js +1 -1
- package/dist/wc/collection/collection-manifest.json +10 -4
- package/dist/wc/collection/components/license-activation/license-activation.js +23 -19
- package/dist/wc/collection/components/license-activation-form/license-activation-form.css +15 -8
- package/dist/wc/collection/components/license-activation-form/license-activation-form.js +13 -37
- package/dist/wc/custom-elements/index.js +2737 -840
- 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-042bd3f6.js +1 -0
- package/dist/wc/delta_share/{p-9ad5616e.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-5e503d5f.entry.js → p-08af13db.entry.js} +1 -1
- package/dist/wc/delta_share/{p-c31b160e.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-0aa553ea.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-18ac49f8.entry.js +1 -0
- package/dist/wc/delta_share/p-18fcc8c7.js +1 -0
- package/dist/wc/delta_share/p-1c37c8f2.js +1 -0
- package/dist/wc/delta_share/{p-3cf0c6a5.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-6c54d53f.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-37c5c92e.js +1 -0
- 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-57f2b8d8.entry.js → p-44d6f07c.entry.js} +1 -1
- package/dist/wc/delta_share/{p-8d532866.entry.js → p-47ec520c.js} +1 -1
- package/dist/wc/delta_share/p-47f3e677.js +1 -0
- package/dist/wc/delta_share/{p-42dd4f36.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-4c9ec16c.entry.js +1 -0
- 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-551bf917.js +1 -0
- package/dist/wc/delta_share/{p-8876b438.entry.js → p-57a1a7a3.entry.js} +1 -1
- package/dist/wc/delta_share/p-58991db7.js +1 -0
- package/dist/wc/delta_share/p-595c8d39.entry.js +1 -0
- package/dist/wc/delta_share/p-5989869c.js +1 -0
- package/dist/wc/delta_share/p-5f97902c.entry.js +1 -0
- package/dist/wc/delta_share/{p-950aa417.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-d8e80ee8.entry.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-6e8df0ae.entry.js +1 -0
- 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-963999a8.entry.js → p-7b668937.entry.js} +1 -1
- package/dist/wc/delta_share/p-7cb2f788.entry.js +1 -0
- package/dist/wc/delta_share/{p-8710e686.entry.js → p-82630451.entry.js} +1 -1
- package/dist/wc/delta_share/p-84a8b959.entry.js +1 -0
- 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-2f289949.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-81ddcb87.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-b38b27f2.entry.js → p-a051e83a.entry.js} +1 -1
- package/dist/wc/delta_share/{p-45dcece4.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-1009b417.entry.js → p-ce115f77.entry.js} +1 -1
- package/dist/wc/delta_share/{p-7546c464.entry.js → p-d1062520.js} +1 -1
- package/dist/wc/delta_share/p-d231964b.entry.js +1 -0
- package/dist/wc/delta_share/p-d4fbf66b.entry.js +1 -0
- package/dist/wc/delta_share/{p-0bb97b61.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-d8592d42.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-e7f23a1e.entry.js +1 -0
- 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-f77ae63f.entry.js +1 -0
- package/dist/wc/delta_share/p-f8091230.entry.js +1 -0
- 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/breakpoints-3c3dbb8c.js +5 -0
- package/dist/wc/esm/delta_share.js +2 -2
- package/dist/wc/esm/{icons-7a34b033.js → icons-6196a79a.js} +111 -0
- package/dist/wc/esm/index-0cf1e7ae.js +19 -0
- package/dist/wc/esm/index-2a8923e8.js +18 -0
- package/dist/wc/esm/index-2ae14d02.js +65 -0
- 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-5445c84d.js +19 -0
- package/dist/wc/esm/index-6642fa3a.js +15 -0
- package/dist/wc/esm/index-81516a9a.js +19 -0
- package/dist/wc/esm/{index-4f1e2705.js → index-9d240d39.js} +44 -11
- package/dist/wc/esm/index-b6d67648.js +39 -0
- package/dist/wc/esm/index-be084691.js +77 -0
- package/dist/wc/esm/index-c3e3c74b.js +51 -0
- package/dist/wc/esm/index-c74188e2.js +19 -0
- package/dist/wc/esm/index-c8e57c08.js +20 -0
- package/dist/wc/esm/index-cbe7ef0a.js +27 -0
- package/dist/wc/esm/index-df217b14.js +32 -0
- package/dist/wc/esm/index-e14dd015.js +15 -0
- package/dist/wc/esm/index-ea60f2c2.js +72 -0
- package/dist/wc/esm/{license-activation_11.entry.js → license-activation_10.entry.js} +967 -129
- package/dist/wc/esm/loader.js +2 -2
- package/dist/wc/esm/{utils-711517a4.js → utils-5e6dc3fe.js} +1 -1
- package/dist/wc/esm/{utils-5a24a17b.js → utils-bc5ea6f7.js} +13 -4
- package/dist/wc/esm/z-accordion.entry.js +63 -0
- 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 +92 -40
- 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 +122 -0
- package/dist/wc/esm/z-breadcrumb.entry.js +228 -0
- package/dist/wc/esm/z-button-sort.entry.js +4 -4
- package/dist/wc/esm/z-card.entry.js +6 -19
- package/dist/wc/esm/z-carousel.entry.js +8 -4
- package/dist/wc/esm/z-chip.entry.js +11 -16
- package/dist/wc/esm/z-combobox.entry.js +12 -10
- package/dist/wc/esm/z-contextual-menu.entry.js +6 -6
- package/dist/wc/esm/z-cover-hero.entry.js +25 -8
- 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 +5 -5
- package/dist/wc/esm/z-file.entry.js +3 -3
- 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 +4 -4
- package/dist/wc/esm/z-logo.entry.js +1 -1
- package/dist/wc/esm/z-menu-section.entry.js +12 -4
- package/dist/wc/esm/z-menu.entry.js +27 -15
- 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 +16 -4
- package/dist/wc/esm/z-myz-card-icon.entry.js +2 -2
- package/dist/wc/esm/z-myz-card-info.entry.js +4 -4
- package/dist/wc/esm/z-myz-card-list.entry.js +2 -2
- package/dist/wc/esm/z-myz-card_4.entry.js +5 -5
- package/dist/wc/esm/z-myz-list-item.entry.js +5 -5
- 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 +152 -49
- package/dist/wc/esm/z-notification.entry.js +1 -1
- package/dist/wc/esm/z-offcanvas_2.entry.js +276 -0
- 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 +4 -4
- package/dist/wc/esm/z-popover.entry.js +6 -5
- package/dist/wc/esm/z-range-picker.entry.js +25 -7
- package/dist/wc/esm/z-section-title.entry.js +3 -3
- package/dist/wc/esm/z-select.entry.js +20 -13
- package/dist/wc/esm/z-skip-to-content.entry.js +14 -6
- package/dist/wc/esm/z-slideshow.entry.js +5 -5
- 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 -20
- package/dist/wc/esm/z-table-cell.entry.js +3 -32
- package/dist/wc/esm/z-table-deprecated.entry.js +87 -0
- package/dist/wc/esm/z-table-empty-box.entry.js +2 -27
- package/dist/wc/esm/z-table-expanded-row.entry.js +2 -15
- package/dist/wc/esm/z-table-footer.entry.js +2 -19
- package/dist/wc/esm/z-table-head.entry.js +2 -19
- package/dist/wc/esm/z-table-header-row.entry.js +2 -18
- package/dist/wc/esm/z-table-header.entry.js +5 -78
- package/dist/wc/esm/z-table-row.entry.js +3 -39
- package/dist/wc/esm/z-table-sticky-footer.entry.js +2 -15
- package/dist/wc/esm/z-table.entry.js +37 -59
- package/dist/wc/esm/z-tag.entry.js +1 -1
- package/dist/wc/esm/z-tbody.entry.js +2 -0
- package/dist/wc/esm/z-td.entry.js +3 -0
- package/dist/wc/esm/z-tfoot.entry.js +2 -0
- package/dist/wc/esm/z-th.entry.js +3 -0
- package/dist/wc/esm/z-thead.entry.js +2 -0
- package/dist/wc/esm/z-toast-notification-list.entry.js +2 -2
- package/dist/wc/esm/z-toast-notification.entry.js +3 -3
- package/dist/wc/esm/z-toggle-button.entry.js +5 -3
- package/dist/wc/esm/z-toggle-switch.entry.js +4 -4
- package/dist/wc/esm/z-tooltip.entry.js +11 -5
- package/dist/wc/esm/z-tr.entry.js +7 -0
- package/dist/wc/esm/z-visually-hidden.entry.js +1 -1
- package/dist/wc/types/components/license-activation/license-activation.d.ts +2 -3
- 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-app-switcher.cjs.entry.js +0 -29
- 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-offcanvas.cjs.entry.js +0 -70
- package/dist/wc/cjs/z-searchbar.cjs.entry.js +0 -235
- package/dist/wc/cjs/z-typography.cjs.entry.js +0 -30
- package/dist/wc/delta_share/p-0434c900.entry.js +0 -1
- package/dist/wc/delta_share/p-063881e2.entry.js +0 -1
- package/dist/wc/delta_share/p-0667e9cd.entry.js +0 -1
- package/dist/wc/delta_share/p-0f55558e.js +0 -1
- package/dist/wc/delta_share/p-1c2d7c30.entry.js +0 -1
- package/dist/wc/delta_share/p-1d2cb6f9.entry.js +0 -1
- package/dist/wc/delta_share/p-23905d08.entry.js +0 -1
- package/dist/wc/delta_share/p-29310a24.entry.js +0 -1
- package/dist/wc/delta_share/p-3fa29874.entry.js +0 -1
- package/dist/wc/delta_share/p-42e9c740.entry.js +0 -1
- package/dist/wc/delta_share/p-500ff0dd.entry.js +0 -1
- package/dist/wc/delta_share/p-51431ace.js +0 -1
- package/dist/wc/delta_share/p-5530ca81.entry.js +0 -1
- package/dist/wc/delta_share/p-5d88112c.entry.js +0 -1
- package/dist/wc/delta_share/p-61264c72.entry.js +0 -1
- package/dist/wc/delta_share/p-64decd7d.entry.js +0 -1
- package/dist/wc/delta_share/p-65be6de6.entry.js +0 -1
- package/dist/wc/delta_share/p-6cb8def6.entry.js +0 -1
- package/dist/wc/delta_share/p-6d853df0.entry.js +0 -1
- package/dist/wc/delta_share/p-702dd7b4.entry.js +0 -1
- package/dist/wc/delta_share/p-74b71f61.entry.js +0 -1
- package/dist/wc/delta_share/p-78d71789.js +0 -1
- package/dist/wc/delta_share/p-7ae0c21f.js +0 -1
- package/dist/wc/delta_share/p-86a8888e.entry.js +0 -3
- package/dist/wc/delta_share/p-8794c0c7.entry.js +0 -1
- package/dist/wc/delta_share/p-8825d8e4.entry.js +0 -1
- package/dist/wc/delta_share/p-8cc7c2c7.entry.js +0 -1
- package/dist/wc/delta_share/p-8d91a5b7.entry.js +0 -1
- package/dist/wc/delta_share/p-90fdd23f.entry.js +0 -1
- package/dist/wc/delta_share/p-925fc6c3.entry.js +0 -1
- package/dist/wc/delta_share/p-963f64a8.entry.js +0 -1
- package/dist/wc/delta_share/p-99ffd017.entry.js +0 -1
- package/dist/wc/delta_share/p-a150a778.entry.js +0 -1
- package/dist/wc/delta_share/p-a2b564ef.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-afb5bfe5.entry.js +0 -1
- package/dist/wc/delta_share/p-b16fd965.entry.js +0 -1
- package/dist/wc/delta_share/p-badf3f24.entry.js +0 -1
- package/dist/wc/delta_share/p-be7f8da0.entry.js +0 -1
- package/dist/wc/delta_share/p-c229c90e.entry.js +0 -1
- package/dist/wc/delta_share/p-c436e1af.entry.js +0 -1
- package/dist/wc/delta_share/p-c51ebb01.entry.js +0 -1
- package/dist/wc/delta_share/p-c885d25c.entry.js +0 -1
- package/dist/wc/delta_share/p-c9df8e5d.entry.js +0 -1
- package/dist/wc/delta_share/p-cb16715b.entry.js +0 -1
- package/dist/wc/delta_share/p-cf58d833.js +0 -1
- package/dist/wc/delta_share/p-d586adfc.entry.js +0 -1
- package/dist/wc/delta_share/p-d69c3b08.entry.js +0 -1
- package/dist/wc/delta_share/p-ddab353c.entry.js +0 -1
- package/dist/wc/delta_share/p-ea6c67f2.entry.js +0 -1
- package/dist/wc/delta_share/p-ee0a8f1f.entry.js +0 -1
- package/dist/wc/delta_share/p-fc49c455.entry.js +0 -1
- package/dist/wc/esm/breakpoints-e07f80e7.js +0 -4
- package/dist/wc/esm/z-app-switcher.entry.js +0 -25
- package/dist/wc/esm/z-body.entry.js +0 -14
- package/dist/wc/esm/z-heading.entry.js +0 -14
- package/dist/wc/esm/z-offcanvas.entry.js +0 -66
- package/dist/wc/esm/z-searchbar.entry.js +0 -231
- package/dist/wc/esm/z-typography.entry.js +0 -26
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-396432db.js';
|
|
2
|
+
|
|
3
|
+
const stylesCss = ":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)}";
|
|
4
|
+
|
|
5
|
+
const ZThead = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
/**
|
|
9
|
+
* If true, the header will be stuck to the top of the table.
|
|
10
|
+
*/
|
|
11
|
+
this.sticky = false;
|
|
12
|
+
}
|
|
13
|
+
render() {
|
|
14
|
+
return (h(Host, { role: "rowgroup" }, h("slot", null)));
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
ZThead.style = stylesCss;
|
|
18
|
+
|
|
19
|
+
export { ZThead as Z };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-396432db.js';
|
|
2
|
+
|
|
3
|
+
const stylesCss = "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}";
|
|
4
|
+
|
|
5
|
+
const ZTableHeaderRow = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
}
|
|
9
|
+
renderExpandHeader() {
|
|
10
|
+
return h("z-table-header", null);
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
return (h(Host, { role: "row" }, this.expandable && this.renderExpandHeader(), h("slot", null)));
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
ZTableHeaderRow.style = stylesCss;
|
|
17
|
+
|
|
18
|
+
export { ZTableHeaderRow as Z };
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-396432db.js';
|
|
2
|
+
import { r as randomId } from './utils-bc5ea6f7.js';
|
|
3
|
+
import './index-c3e3c74b.js';
|
|
4
|
+
import './index-ea60f2c2.js';
|
|
5
|
+
|
|
6
|
+
const stylesCss = ":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}";
|
|
7
|
+
|
|
8
|
+
const ZTr = class {
|
|
9
|
+
constructor(hostRef) {
|
|
10
|
+
registerInstance(this, hostRef);
|
|
11
|
+
this.expand = createEvent(this, "expand", 7);
|
|
12
|
+
/**
|
|
13
|
+
* Whether the row is expandable.
|
|
14
|
+
* Use a `z-td` as the last cell of the row for the additional content.
|
|
15
|
+
* It will show a button to expand/collapse the row.
|
|
16
|
+
* The last cell will be hidden until the button or row is clicked.
|
|
17
|
+
*
|
|
18
|
+
* If some element inside the expandable row contains the `prevent-expand` css class,
|
|
19
|
+
* the row will not expand by clicking that element.
|
|
20
|
+
*/
|
|
21
|
+
this.expandable = false;
|
|
22
|
+
/**
|
|
23
|
+
* Whether the row is currently expanded.
|
|
24
|
+
*/
|
|
25
|
+
this.expanded = false;
|
|
26
|
+
}
|
|
27
|
+
updateColumns() {
|
|
28
|
+
const cells = Array.from(this.host.querySelectorAll("z-td, z-th"));
|
|
29
|
+
if (this.expandable) {
|
|
30
|
+
cells.pop();
|
|
31
|
+
}
|
|
32
|
+
const columns = cells.map((cell) => cell.colspan || 1).reduce((a, b) => a + b, 0);
|
|
33
|
+
this.host.style.setProperty("--columns", `${columns}`);
|
|
34
|
+
if (this.expandable) {
|
|
35
|
+
const expandableContent = cells.pop();
|
|
36
|
+
expandableContent.id = expandableContent.id || `z-tr-expandable-content-${randomId()}`;
|
|
37
|
+
this.expandableContentId = expandableContent.id;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Handle click on row.
|
|
42
|
+
* Skip expansion if the click is on a element with `prevent-expand` css class.
|
|
43
|
+
*/
|
|
44
|
+
onRowClick(event) {
|
|
45
|
+
const preventExpand = event.target.closest(".prevent-expand");
|
|
46
|
+
if (!this.expandable || preventExpand) {
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
this.expanded = !this.expanded;
|
|
50
|
+
this.expand.emit({ expanded: this.expanded });
|
|
51
|
+
}
|
|
52
|
+
componentWillLoad() {
|
|
53
|
+
this.updateColumns();
|
|
54
|
+
}
|
|
55
|
+
render() {
|
|
56
|
+
return (h(Host, { role: "row", onClick: this.onRowClick.bind(this), expanded: this.expanded }, h("div", { class: "z-tr--expand-button-container" }, this.expandable && (h("button", { "aria-expanded": this.expanded ? "true" : "false", "aria-label": this.expanded ? "Comprimi riga" : "Espandi riga", "aria-controls": this.expandableContentId, type: "button" }, h("z-icon", { name: this.expanded ? "minus-circled" : "plus-circled" })))), h("slot", { onSlotchange: this.updateColumns.bind(this) })));
|
|
57
|
+
}
|
|
58
|
+
get host() { return getElement(this); }
|
|
59
|
+
static get watchers() { return {
|
|
60
|
+
"expandable": ["updateColumns"]
|
|
61
|
+
}; }
|
|
62
|
+
};
|
|
63
|
+
ZTr.style = stylesCss;
|
|
64
|
+
|
|
65
|
+
export { ZTr as Z };
|
|
@@ -1388,6 +1388,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1388
1388
|
hostRef.$flags$ |= 128 /* isWatchReady */;
|
|
1389
1389
|
}
|
|
1390
1390
|
endNewInstance();
|
|
1391
|
+
fireConnectedCallback(hostRef.$lazyInstance$);
|
|
1391
1392
|
}
|
|
1392
1393
|
if (Cstr.style) {
|
|
1393
1394
|
// this component has styles but we haven't registered them yet
|
|
@@ -1416,6 +1417,11 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1416
1417
|
schedule();
|
|
1417
1418
|
}
|
|
1418
1419
|
};
|
|
1420
|
+
const fireConnectedCallback = (instance) => {
|
|
1421
|
+
{
|
|
1422
|
+
safeCall(instance, 'connectedCallback');
|
|
1423
|
+
}
|
|
1424
|
+
};
|
|
1419
1425
|
const connectedCallback = (elm) => {
|
|
1420
1426
|
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
|
1421
1427
|
const hostRef = getHostRef(elm);
|
|
@@ -1468,6 +1474,8 @@ const connectedCallback = (elm) => {
|
|
|
1468
1474
|
// reattach any event listeners to the host
|
|
1469
1475
|
// since they would have been removed when disconnected
|
|
1470
1476
|
addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
|
|
1477
|
+
// fire off connectedCallback() on component instance
|
|
1478
|
+
fireConnectedCallback(hostRef.$lazyInstance$);
|
|
1471
1479
|
}
|
|
1472
1480
|
endConnected();
|
|
1473
1481
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-396432db.js';
|
|
2
|
+
|
|
3
|
+
const stylesCss = ".sc-z-table-sticky-footer-h{position:sticky;left:0;display:block;padding:calc(var(--space-unit) * 2);border-width:var(--border-size-small) 0 var(--border-size-medium);border-style:solid;border-color:var(--color-surface03);background-color:var(--color-surface01);font-weight:var(--font-rg)}";
|
|
4
|
+
|
|
5
|
+
const ZTableStickyFooter = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
return h("slot", null);
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
ZTableStickyFooter.style = stylesCss;
|
|
14
|
+
|
|
15
|
+
export { ZTableStickyFooter as Z };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { r as registerInstance, h, a as getElement } from './index-396432db.js';
|
|
2
|
+
|
|
3
|
+
const stylesCss = ".sc-z-table-head-h{display:table-header-group;font-family:var(--font-family-sans);font-weight:var(--font-rg)}";
|
|
4
|
+
|
|
5
|
+
const ZTableHead = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
}
|
|
9
|
+
componentWillRender() {
|
|
10
|
+
this.host.setAttribute("role", "rowgroup");
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
return h("slot", null);
|
|
14
|
+
}
|
|
15
|
+
get host() { return getElement(this); }
|
|
16
|
+
};
|
|
17
|
+
ZTableHead.style = stylesCss;
|
|
18
|
+
|
|
19
|
+
export { ZTableHead as Z };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-396432db.js';
|
|
2
|
+
|
|
3
|
+
const stylesCss = ":host{display:block;box-sizing:border-box}";
|
|
4
|
+
|
|
5
|
+
const ZTbody = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
return (h(Host, { role: "rowgroup" }, h("slot", null)));
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
ZTbody.style = stylesCss;
|
|
14
|
+
|
|
15
|
+
export { ZTbody as Z };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-396432db.js';
|
|
2
|
+
|
|
3
|
+
const stylesCss = ":host{display:block;box-sizing:border-box;border-top:1px solid var(--color-surface03);border-bottom:1px solid var(--color-surface03)}:host([sticky]){position:sticky;z-index:1;bottom:0;background-color:var(--color-surface01)}";
|
|
4
|
+
|
|
5
|
+
const ZTfoot = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
/**
|
|
9
|
+
* If true, the footer will be stuck to the bottom of the table.
|
|
10
|
+
*/
|
|
11
|
+
this.sticky = false;
|
|
12
|
+
}
|
|
13
|
+
render() {
|
|
14
|
+
return (h(Host, { role: "rowgroup" }, h("slot", null)));
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
ZTfoot.style = stylesCss;
|
|
18
|
+
|
|
19
|
+
export { ZTfoot as Z };
|
|
@@ -22,12 +22,18 @@ var NavigationTabsSize;
|
|
|
22
22
|
NavigationTabsSize["BIG"] = "big";
|
|
23
23
|
NavigationTabsSize["SMALL"] = "small";
|
|
24
24
|
})(NavigationTabsSize || (NavigationTabsSize = {}));
|
|
25
|
+
var NavigationTabsKeyboardEvents;
|
|
26
|
+
(function (NavigationTabsKeyboardEvents) {
|
|
27
|
+
NavigationTabsKeyboardEvents["LEFT"] = "ArrowLeft";
|
|
28
|
+
NavigationTabsKeyboardEvents["RIGHT"] = "ArrowRight";
|
|
29
|
+
NavigationTabsKeyboardEvents["UP"] = "ArrowUp";
|
|
30
|
+
NavigationTabsKeyboardEvents["DOWN"] = "ArrowDown";
|
|
31
|
+
})(NavigationTabsKeyboardEvents || (NavigationTabsKeyboardEvents = {}));
|
|
25
32
|
var ButtonVariant;
|
|
26
33
|
(function (ButtonVariant) {
|
|
27
34
|
ButtonVariant["PRIMARY"] = "primary";
|
|
28
35
|
ButtonVariant["SECONDARY"] = "secondary";
|
|
29
36
|
ButtonVariant["TERTIARY"] = "tertiary";
|
|
30
|
-
ButtonVariant["DARK_BG"] = "dark-bg";
|
|
31
37
|
})(ButtonVariant || (ButtonVariant = {}));
|
|
32
38
|
var ButtonType;
|
|
33
39
|
(function (ButtonType) {
|
|
@@ -35,12 +41,21 @@ var ButtonType;
|
|
|
35
41
|
ButtonType["RESET"] = "reset";
|
|
36
42
|
ButtonType["BUTTON"] = "button";
|
|
37
43
|
})(ButtonType || (ButtonType = {}));
|
|
44
|
+
/**
|
|
45
|
+
* @deprecated Use ControlSize instead
|
|
46
|
+
*/
|
|
38
47
|
var ButtonSize;
|
|
39
48
|
(function (ButtonSize) {
|
|
40
49
|
ButtonSize["BIG"] = "big";
|
|
41
50
|
ButtonSize["SMALL"] = "small";
|
|
42
51
|
ButtonSize["X_SMALL"] = "x-small";
|
|
43
52
|
})(ButtonSize || (ButtonSize = {}));
|
|
53
|
+
var ControlSize;
|
|
54
|
+
(function (ControlSize) {
|
|
55
|
+
ControlSize["BIG"] = "big";
|
|
56
|
+
ControlSize["SMALL"] = "small";
|
|
57
|
+
ControlSize["X_SMALL"] = "x-small";
|
|
58
|
+
})(ControlSize || (ControlSize = {}));
|
|
44
59
|
var InputType;
|
|
45
60
|
(function (InputType) {
|
|
46
61
|
InputType["TEXT"] = "text";
|
|
@@ -118,7 +133,6 @@ var SortDirection;
|
|
|
118
133
|
(function (SortDirection) {
|
|
119
134
|
SortDirection["ASC"] = "asc";
|
|
120
135
|
SortDirection["DESC"] = "desc";
|
|
121
|
-
SortDirection["NONE"] = "none";
|
|
122
136
|
})(SortDirection || (SortDirection = {}));
|
|
123
137
|
var AvatarSize;
|
|
124
138
|
(function (AvatarSize) {
|
|
@@ -133,14 +147,6 @@ var ListSize;
|
|
|
133
147
|
ListSize["LARGE"] = "large";
|
|
134
148
|
ListSize["X_LARGE"] = "x-large";
|
|
135
149
|
})(ListSize || (ListSize = {}));
|
|
136
|
-
var Size;
|
|
137
|
-
(function (Size) {
|
|
138
|
-
Size["X_SMALL"] = "x-small";
|
|
139
|
-
Size["SMALL"] = "small";
|
|
140
|
-
Size["MEDIUM"] = "medium";
|
|
141
|
-
Size["LARGE"] = "large";
|
|
142
|
-
Size["SPECIAL"] = "special";
|
|
143
|
-
})(Size || (Size = {}));
|
|
144
150
|
var ExpandableListStyle;
|
|
145
151
|
(function (ExpandableListStyle) {
|
|
146
152
|
ExpandableListStyle["ACCORDION"] = "accordion";
|
|
@@ -185,6 +191,7 @@ var Device;
|
|
|
185
191
|
Device["MOBILE"] = "mobile";
|
|
186
192
|
Device["TABLET"] = "tablet";
|
|
187
193
|
Device["DESKTOP"] = "desktop";
|
|
194
|
+
Device["DESKTOP_WIDE"] = "desktop-wide";
|
|
188
195
|
})(Device || (Device = {}));
|
|
189
196
|
var PocketStatus;
|
|
190
197
|
(function (PocketStatus) {
|
|
@@ -307,5 +314,31 @@ var CarouselProgressMode;
|
|
|
307
314
|
CarouselProgressMode["DOTS"] = "dots";
|
|
308
315
|
CarouselProgressMode["NUMBERS"] = "numbers";
|
|
309
316
|
})(CarouselProgressMode || (CarouselProgressMode = {}));
|
|
317
|
+
var BreadcrumbPathStyle;
|
|
318
|
+
(function (BreadcrumbPathStyle) {
|
|
319
|
+
BreadcrumbPathStyle["SEMIBOLD"] = "semibold";
|
|
320
|
+
BreadcrumbPathStyle["UNDERLINED"] = "underlined";
|
|
321
|
+
})(BreadcrumbPathStyle || (BreadcrumbPathStyle = {}));
|
|
322
|
+
var BreadcrumbHomepageVariant;
|
|
323
|
+
(function (BreadcrumbHomepageVariant) {
|
|
324
|
+
BreadcrumbHomepageVariant["TEXT"] = "text";
|
|
325
|
+
BreadcrumbHomepageVariant["ICON"] = "icon";
|
|
326
|
+
})(BreadcrumbHomepageVariant || (BreadcrumbHomepageVariant = {}));
|
|
327
|
+
var VisibilityCondition;
|
|
328
|
+
(function (VisibilityCondition) {
|
|
329
|
+
VisibilityCondition["HOVER"] = "hover";
|
|
330
|
+
VisibilityCondition["ALWAYS"] = "always";
|
|
331
|
+
})(VisibilityCondition || (VisibilityCondition = {}));
|
|
332
|
+
var BookCardVariant;
|
|
333
|
+
(function (BookCardVariant) {
|
|
334
|
+
BookCardVariant["EXPANDED"] = "expanded";
|
|
335
|
+
BookCardVariant["COMPACT"] = "compact";
|
|
336
|
+
BookCardVariant["SEARCH"] = "search";
|
|
337
|
+
})(BookCardVariant || (BookCardVariant = {}));
|
|
338
|
+
var AccordionVariant;
|
|
339
|
+
(function (AccordionVariant) {
|
|
340
|
+
AccordionVariant["DEFAULT"] = "default";
|
|
341
|
+
AccordionVariant["BACKGROUND"] = "background";
|
|
342
|
+
})(AccordionVariant || (AccordionVariant = {}));
|
|
310
343
|
|
|
311
|
-
export {
|
|
344
|
+
export { AccordionVariant as A, ButtonVariant as B, ControlSize as C, Device as D, InputStatus as E, ZRangePickerMode as F, ZSectionTitleDividerPosition as G, ThemeVariant as H, InputType as I, ZTableRowExpandedType as J, KeyboardCode as K, LabelPosition as L, ToastNotificationTransition as M, NavigationTabsOrientation as N, OffCanvasVariant as O, PopoverPosition as P, ToastNotificationPosition as Q, ListType as R, SortDirection as S, TransitionDirection as T, ExpandableListButtonAlign as U, ExpandableListStyle as V, DividerOrientation as W, ZAriaAlertMode as Z, ButtonType as a, AvatarSize as b, BookCardVariant as c, BreadcrumbPathStyle as d, BreadcrumbHomepageVariant as e, ListSize as f, CardVariant as g, CarouselArrowsPosition as h, CarouselProgressMode as i, KeyboardKeyCode as j, ListDividerType as k, CoverHeroVariant as l, CoverHeroContentPosition as m, ZDatePickerMode as n, ZDatePickerPosition as o, ZDatePickerModeValue as p, ZChipType as q, ZFileUploadType as r, DividerSize as s, InfoRevealPosition as t, PocketStatus as u, AlertType as v, ButtonSize as w, LicenseType as x, NavigationTabsSize as y, NavigationTabsKeyboardEvents as z };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-396432db.js';
|
|
2
|
+
import { J as ZTableRowExpandedType } from './index-9d240d39.js';
|
|
3
|
+
|
|
4
|
+
const stylesCss = "z-table-row{display:table-row;font-family:var(--font-family-sans)}z-table-row[expanded-type=\"expandable\"]:hover{cursor:pointer}z-table-row[expanded-type=\"expandable\"]>z-table-cell:first-child,z-table-row[expanded-type=\"padding\"]>z-table-cell:first-child{--z-icon-width:16px;--z-icon-height:16px;width:24px;box-sizing:border-box;padding-right:0;padding-left:16px;fill:var(--gray800);text-align:center;user-select:none}.z-icon-placeholder{width:24px;padding-right:0}z-table-row[expanded-type=\"expandable\"]>z-table-cell:nth-child(2),z-table-row[expanded-type=\"padding\"]>z-table-cell:nth-child(2){padding-left:8px}z-table-row[expanded-type]:hover>z-table-cell:first-child{fill:var(--color-hover-primary)}z-table-row[expanded]>z-table-cell{border-bottom:none;background-color:var(--gray50)}z-table-row[expanded]+z-table-expanded-row{display:table-row}";
|
|
5
|
+
|
|
6
|
+
const ZTableRow = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
this.expand = createEvent(this, "expand", 7);
|
|
10
|
+
/** Table row expanded type */
|
|
11
|
+
this.expandedType = ZTableRowExpandedType.NONE;
|
|
12
|
+
this.expanded = false;
|
|
13
|
+
}
|
|
14
|
+
emitOnExpand() {
|
|
15
|
+
this.expand.emit({ expanded: this.expanded });
|
|
16
|
+
}
|
|
17
|
+
handleExpand() {
|
|
18
|
+
this.expanded = !this.expanded;
|
|
19
|
+
this.emitOnExpand();
|
|
20
|
+
}
|
|
21
|
+
renderExpandButton() {
|
|
22
|
+
if (this.expandedType == ZTableRowExpandedType.EXPANDABLE) {
|
|
23
|
+
return (h("z-table-cell", { style: { borderRight: "none" } }, h("z-icon", { name: this.expanded ? "minus-circled" : "plus-circled" })));
|
|
24
|
+
}
|
|
25
|
+
return (h("z-table-cell", { style: { borderRight: "none" } }, h("div", { class: "z-icon-placeholder" })));
|
|
26
|
+
}
|
|
27
|
+
render() {
|
|
28
|
+
return (h(Host, { role: "row", expanded: this.expanded, onClick: (event) => {
|
|
29
|
+
const preventExpand = event.target.classList.contains("prevent-expand");
|
|
30
|
+
const isExpandable = this.expandedType === ZTableRowExpandedType.EXPANDABLE;
|
|
31
|
+
if (isExpandable && !preventExpand) {
|
|
32
|
+
this.handleExpand();
|
|
33
|
+
}
|
|
34
|
+
} }, this.expandedType !== ZTableRowExpandedType.NONE && this.renderExpandButton(), h("slot", null)));
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
ZTableRow.style = stylesCss;
|
|
38
|
+
|
|
39
|
+
export { ZTableRow as Z };
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-396432db.js';
|
|
2
|
+
import { B as ButtonVariant, w as ButtonSize, P as PopoverPosition } from './index-9d240d39.js';
|
|
3
|
+
import { a as getElementTree } from './utils-bc5ea6f7.js';
|
|
4
|
+
|
|
5
|
+
const stylesCss = ":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}";
|
|
6
|
+
|
|
7
|
+
const ZTableHeader = class {
|
|
8
|
+
constructor(hostRef) {
|
|
9
|
+
registerInstance(this, hostRef);
|
|
10
|
+
this.sort = createEvent(this, "sort", 7);
|
|
11
|
+
/** Set padding size of cell, if special 0px padding will be set */
|
|
12
|
+
this.padding = "medium";
|
|
13
|
+
/** [Optional] Default sort order */
|
|
14
|
+
this.defaultSortDirection = "asc";
|
|
15
|
+
/** Sort direction */
|
|
16
|
+
this.sortDirection = "none";
|
|
17
|
+
this.emitOnSort = this.emitOnSort.bind(this);
|
|
18
|
+
}
|
|
19
|
+
emitOnSort() {
|
|
20
|
+
this.sort.emit({
|
|
21
|
+
columnId: this.columnId,
|
|
22
|
+
sortDirection: this.sortDirection,
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
handleSort() {
|
|
26
|
+
if (!this.sortable) {
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
this.sortDirection = (() => {
|
|
30
|
+
switch (this.sortDirection) {
|
|
31
|
+
case "asc":
|
|
32
|
+
return "desc";
|
|
33
|
+
case "desc":
|
|
34
|
+
return "asc";
|
|
35
|
+
case "none":
|
|
36
|
+
return this.defaultSortDirection;
|
|
37
|
+
default:
|
|
38
|
+
return "none";
|
|
39
|
+
}
|
|
40
|
+
})();
|
|
41
|
+
this.emitOnSort();
|
|
42
|
+
}
|
|
43
|
+
handleMenuClick() {
|
|
44
|
+
this.popover.open = !this.popover.open;
|
|
45
|
+
}
|
|
46
|
+
handleOutsideClick(e) {
|
|
47
|
+
const tree = getElementTree(e.target);
|
|
48
|
+
const parent = tree.find((elem) => elem.nodeName.toLowerCase() === "z-popover");
|
|
49
|
+
if (!parent && this.popover) {
|
|
50
|
+
this.popover.open = false;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
handleClickHeaders(e) {
|
|
54
|
+
const target = e.target;
|
|
55
|
+
const parent = getElementTree(target).find((elem) => elem.nodeName.toLowerCase() === "z-table-header");
|
|
56
|
+
if (!this.sortable || !parent) {
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
const parentColumnId = parent.attributes.getNamedItem("column-id").value;
|
|
60
|
+
const isSortable = target.parentNode.sortable || target.sortable;
|
|
61
|
+
if (parentColumnId !== this.columnId && isSortable) {
|
|
62
|
+
this.sortDirection = "none";
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
componentWillRender() {
|
|
66
|
+
this.host.setAttribute("role", "columnheader");
|
|
67
|
+
}
|
|
68
|
+
render() {
|
|
69
|
+
return (h(Host, { class: {
|
|
70
|
+
sortable: this.sortable,
|
|
71
|
+
}, onClick: () => this.handleSort() }, h("div", { class: "container" }, h("slot", null), this.sortable && this.sortDirection !== "none" && (h("z-icon", { name: this.sortDirection === "asc" ? "arrow-up" : "arrow-down", class: "arrow" }))), this.showButton && (h("div", { class: "popover-container" }, h("z-button", { ref: (el) => (this.triggerButton = el), class: "contextual-popover-button", icon: "contextual-menu", variant: ButtonVariant.TERTIARY, size: ButtonSize.X_SMALL, onClick: () => this.handleMenuClick() }), h("z-popover", { ref: (el) => (this.popover = el), position: PopoverPosition.BOTTOM, center: true, bindTo: this.triggerButton }, h("div", null, h("slot", { name: "contextual-menu" })))))));
|
|
72
|
+
}
|
|
73
|
+
get host() { return getElement(this); }
|
|
74
|
+
};
|
|
75
|
+
ZTableHeader.style = stylesCss;
|
|
76
|
+
|
|
77
|
+
export { ZTableHeader as Z };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-396432db.js';
|
|
2
|
+
import { B as ButtonVariant, C as ControlSize } from './index-9d240d39.js';
|
|
3
|
+
|
|
4
|
+
const stylesCss = ":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}}";
|
|
5
|
+
|
|
6
|
+
const ZTd = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
this.colspanChange = createEvent(this, "colspanChange", 6);
|
|
10
|
+
/**
|
|
11
|
+
* Whether the cell should stick.
|
|
12
|
+
*/
|
|
13
|
+
this.sticky = false;
|
|
14
|
+
/**
|
|
15
|
+
* Enables the contextual menu.
|
|
16
|
+
* Can be set to "hover" or "always" to show the button only on cell hover or always.
|
|
17
|
+
* Set a nullish value to hide the menu button.
|
|
18
|
+
*/
|
|
19
|
+
this.showMenu = null;
|
|
20
|
+
/**
|
|
21
|
+
* Store the open state of the menu.
|
|
22
|
+
*/
|
|
23
|
+
this.isMenuOpen = false;
|
|
24
|
+
}
|
|
25
|
+
updateColspan() {
|
|
26
|
+
if (this.colspan) {
|
|
27
|
+
this.host.style.gridColumn = `span ${this.colspan}`;
|
|
28
|
+
}
|
|
29
|
+
else {
|
|
30
|
+
this.host.style.removeProperty("grid-column");
|
|
31
|
+
}
|
|
32
|
+
this.colspanChange.emit(this.colspan || 1);
|
|
33
|
+
}
|
|
34
|
+
onMenuButtonClick(ev) {
|
|
35
|
+
ev.stopPropagation();
|
|
36
|
+
this.popoverEl.open = !this.popoverEl.open;
|
|
37
|
+
}
|
|
38
|
+
componentWillLoad() {
|
|
39
|
+
this.updateColspan();
|
|
40
|
+
}
|
|
41
|
+
render() {
|
|
42
|
+
return (h(Host, { role: "cell", "menu-open": this.isMenuOpen }, h("slot", null), this.showMenu && (h("div", { class: "cell--menu-container prevent-expand" }, h("z-button", { variant: ButtonVariant.TERTIARY, icon: "contextual-menu", size: ControlSize.X_SMALL, ref: (el) => (this.menuTrigger = el), onClick: this.onMenuButtonClick.bind(this) }), h("z-popover", { ref: (el) => (this.popoverEl = el), bindTo: this.menuTrigger, onOpenChange: (event) => (this.isMenuOpen = event.detail.open) }, h("slot", { name: "contextual-menu" }))))));
|
|
43
|
+
}
|
|
44
|
+
get host() { return getElement(this); }
|
|
45
|
+
static get watchers() { return {
|
|
46
|
+
"colspan": ["updateColspan"]
|
|
47
|
+
}; }
|
|
48
|
+
};
|
|
49
|
+
ZTd.style = stylesCss;
|
|
50
|
+
|
|
51
|
+
export { ZTd as Z };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { r as registerInstance, h, a as getElement } from './index-396432db.js';
|
|
2
|
+
|
|
3
|
+
const stylesCss = ".sc-z-table-footer-h{display:table-footer-group;font-family:var(--font-family-sans);font-weight:var(--font-rg)}";
|
|
4
|
+
|
|
5
|
+
const ZTableFooter = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
}
|
|
9
|
+
componentWillRender() {
|
|
10
|
+
this.host.setAttribute("role", "rowgroup");
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
return h("slot", null);
|
|
14
|
+
}
|
|
15
|
+
get host() { return getElement(this); }
|
|
16
|
+
};
|
|
17
|
+
ZTableFooter.style = stylesCss;
|
|
18
|
+
|
|
19
|
+
export { ZTableFooter as Z };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { r as registerInstance, h, a as getElement } from './index-396432db.js';
|
|
2
|
+
|
|
3
|
+
const stylesCss = ".sc-z-table-body-h{display:table-row-group;font-family:var(--font-family-sans);font-weight:var(--font-rg)}.sc-z-table-body-h>z-table-row[expanded].sc-z-table-body+z-table-expanded-row.sc-z-table-body{display:table-row}";
|
|
4
|
+
|
|
5
|
+
const ZTableBody = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
}
|
|
9
|
+
componentWillRender() {
|
|
10
|
+
this.host.setAttribute("role", "rowgroup");
|
|
11
|
+
Array.from(this.host.children).forEach((child, index) => child.setAttribute("aria-rowindex", `${index}`));
|
|
12
|
+
}
|
|
13
|
+
render() {
|
|
14
|
+
return h("slot", null);
|
|
15
|
+
}
|
|
16
|
+
get host() { return getElement(this); }
|
|
17
|
+
};
|
|
18
|
+
ZTableBody.style = stylesCss;
|
|
19
|
+
|
|
20
|
+
export { ZTableBody as Z };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-396432db.js';
|
|
2
|
+
|
|
3
|
+
const stylesCss = ".sc-z-table-empty-box-h{display:block;padding:calc(var(--space-unit)) calc(var(--space-unit) * 3) calc(var(--space-unit) * 3) calc(var(--space-unit) * 3);background-color:var(--color-surface01)}.sc-z-table-empty-box-s>*{margin-top:var(--space-unit)}.cta.sc-z-table-empty-box{display:flex;flex-direction:row;margin-top:calc(var(--space-unit) / 2)}.cta.has-2-cta.sc-z-table-empty-box{flex-direction:column}@media only screen and (min-width: 768px){.sc-z-table-empty-box-h{padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 7) calc(var(--space-unit) * 3)\n calc(var(--space-unit) * 7)}.sc-z-table-empty-box-s>*{margin-right:calc(var(--space-unit) * 2)}.cta.sc-z-table-empty-box{margin-top:var(--space-unit)}.cta.has-2-cta.sc-z-table-empty-box{flex-direction:row}}";
|
|
4
|
+
|
|
5
|
+
const ZTableEmptyBox = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
/** Sets main title message*/
|
|
9
|
+
this.message = "Siamo spiacenti, al momento non sono presenti dati da visualizzare.";
|
|
10
|
+
/** Sets message */
|
|
11
|
+
this.subtitle = "";
|
|
12
|
+
}
|
|
13
|
+
componentWillLoad() {
|
|
14
|
+
this.hasCta1Slot = !!this.hostElement.querySelector('[slot="cta1"]');
|
|
15
|
+
this.hasCta2Slot = !!this.hostElement.querySelector('[slot="cta2"]');
|
|
16
|
+
}
|
|
17
|
+
render() {
|
|
18
|
+
return (h(Host, null, h("span", { class: "body-3-sb" }, this.message), h("br", null), !!this.subtitle && h("span", { class: "body-4" }, this.subtitle), (!!this.hasCta1Slot || !!this.hasCta2Slot) && (h("div", { class: {
|
|
19
|
+
"cta": true,
|
|
20
|
+
"has-2-cta": !!this.hasCta1Slot && !!this.hasCta2Slot,
|
|
21
|
+
} }, h("slot", { name: "cta1" }), h("slot", { name: "cta2" })))));
|
|
22
|
+
}
|
|
23
|
+
get hostElement() { return getElement(this); }
|
|
24
|
+
};
|
|
25
|
+
ZTableEmptyBox.style = stylesCss;
|
|
26
|
+
|
|
27
|
+
export { ZTableEmptyBox as Z };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-396432db.js';
|
|
2
|
+
import { B as ButtonVariant, w as ButtonSize } from './index-9d240d39.js';
|
|
3
|
+
|
|
4
|
+
const stylesCss = ":host{display:table-cell;border-bottom:var(--border-size-small) solid var(--color-surface03);background-color:var(--color-white);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>.button-container{display:none}:host:hover>.button-container{display:initial}.button-container{position:absolute;z-index:5;top:8px;right:8px}.button-content{position:relative}.contextual-menu-container{position:absolute;top:calc(100% - var(--space-unit));right:0;display:none}.button-container.visible,.contextual-menu-container.visible{display:initial}: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}";
|
|
5
|
+
|
|
6
|
+
const ZTableCell = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
/** Set padding size of cell, if special 0px padding will be set */
|
|
10
|
+
this.padding = "medium";
|
|
11
|
+
this.isMenuOpened = false;
|
|
12
|
+
}
|
|
13
|
+
handleMenu() {
|
|
14
|
+
this.isMenuOpened = !this.isMenuOpened;
|
|
15
|
+
}
|
|
16
|
+
componentWillRender() {
|
|
17
|
+
this.host.setAttribute("role", "cell");
|
|
18
|
+
}
|
|
19
|
+
render() {
|
|
20
|
+
return (h(Host, null, this.showButton && (h("div", { class: {
|
|
21
|
+
"button-container": true,
|
|
22
|
+
"visible": this.isMenuOpened,
|
|
23
|
+
} }, h("div", { class: "button-content" }, h("z-button", { icon: "contextual-menu", variant: ButtonVariant.TERTIARY, size: ButtonSize.X_SMALL, onClick: () => this.handleMenu() }), h("div", { class: {
|
|
24
|
+
"contextual-menu-container": true,
|
|
25
|
+
"visible": this.isMenuOpened,
|
|
26
|
+
} }, h("slot", { name: "contextual-menu" }))))), h("slot", null)));
|
|
27
|
+
}
|
|
28
|
+
get host() { return getElement(this); }
|
|
29
|
+
};
|
|
30
|
+
ZTableCell.style = stylesCss;
|
|
31
|
+
|
|
32
|
+
export { ZTableCell as Z };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-396432db.js';
|
|
2
|
+
|
|
3
|
+
const stylesCss = ":host{display:none;background-color:var(--gray50)}:host>td>div.content-container{margin-bottom:calc(var(--space-unit) / 2);box-shadow:var(--shadow-2)}";
|
|
4
|
+
|
|
5
|
+
const ZTableExpandedRow = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
return (h("td", { colSpan: this.colSpan }, h("div", { class: "content-container" }, h("slot", null))));
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
ZTableExpandedRow.style = stylesCss;
|
|
14
|
+
|
|
15
|
+
export { ZTableExpandedRow as Z };
|