@zanichelli/delta_share 3.2.5 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/wc/cjs/breakpoints-7770f79c.js +9 -0
- package/dist/wc/cjs/delta_share.cjs.js +2 -2
- package/dist/wc/cjs/{index-675ba3c5.js → index-376d9f31.js} +2 -2
- package/dist/wc/cjs/{index-c98ff1cc.js → index-48ad79ef.js} +64 -84
- package/dist/wc/cjs/{index-23e5e843.js → index-49643807.js} +2 -5
- package/dist/wc/cjs/index-bdde15d7.js +44 -0
- package/dist/wc/cjs/index-c56dd0b3.js +64 -0
- package/dist/wc/cjs/index-dca3e969.js +18 -0
- package/dist/wc/cjs/index-ee150627.js +56 -0
- package/dist/wc/cjs/index-f043c44c.js +351 -0
- package/dist/wc/cjs/license-activation_10.cjs.entry.js +1001 -51
- package/dist/wc/cjs/loader.cjs.js +2 -2
- package/dist/wc/cjs/utils-19feebcd.js +111 -0
- package/dist/wc/cjs/{utils-1ed1ec98.js → utils-e18cc609.js} +63 -63
- package/dist/wc/cjs/z-accordion.cjs.entry.js +6 -22
- package/dist/wc/cjs/z-alert.cjs.entry.js +3 -2
- package/dist/wc/cjs/z-anchor-navigation.cjs.entry.js +16 -18
- package/dist/wc/cjs/z-app-header-deprecated.cjs.entry.js +155 -0
- package/dist/wc/cjs/z-app-header.cjs.entry.js +201 -119
- package/dist/wc/cjs/z-aria-alert.cjs.entry.js +3 -4
- package/dist/wc/cjs/z-avatar.cjs.entry.js +6 -7
- package/dist/wc/cjs/z-book-card-app.cjs.entry.js +36 -0
- package/dist/wc/cjs/z-book-card-deprecated.cjs.entry.js +135 -0
- package/dist/wc/cjs/z-book-card.cjs.entry.js +90 -95
- package/dist/wc/cjs/z-breadcrumb.cjs.entry.js +87 -100
- package/dist/wc/cjs/z-button-sort.cjs.entry.js +8 -8
- package/dist/wc/cjs/z-card.cjs.entry.js +10 -9
- package/dist/wc/cjs/z-carousel.cjs.entry.js +75 -44
- package/dist/wc/cjs/z-chip.cjs.entry.js +7 -8
- package/dist/wc/cjs/z-combobox.cjs.entry.js +141 -67
- package/dist/wc/cjs/z-cover-hero.cjs.entry.js +5 -17
- package/dist/wc/cjs/z-date-picker.cjs.entry.js +7 -7
- package/dist/wc/cjs/z-divider.cjs.entry.js +3 -6
- package/dist/wc/cjs/z-dragdrop-area.cjs.entry.js +14 -17
- package/dist/wc/cjs/z-file-upload.cjs.entry.js +99 -96
- package/dist/wc/cjs/z-file.cjs.entry.js +7 -5
- package/dist/wc/cjs/z-ghost-loading.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-info-reveal.cjs.entry.js +31 -34
- package/dist/wc/cjs/z-list_4.cjs.entry.js +216 -0
- package/dist/wc/cjs/z-logo.cjs.entry.js +8 -2
- package/dist/wc/cjs/z-menu-deprecated.cjs.entry.js +112 -0
- package/dist/wc/cjs/z-menu-section-deprecated.cjs.entry.js +57 -0
- package/dist/wc/cjs/z-menu-section.cjs.entry.js +158 -23
- package/dist/wc/cjs/z-menu.cjs.entry.js +260 -61
- package/dist/wc/cjs/z-myz-card-alert.cjs.entry.js +8 -4
- package/dist/wc/cjs/z-myz-card-dictionary.cjs.entry.js +6 -8
- 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 +9 -6
- package/dist/wc/cjs/z-myz-card-icon.cjs.entry.js +3 -4
- package/dist/wc/cjs/z-myz-card-info.cjs.entry.js +10 -10
- package/dist/wc/cjs/z-myz-card-list.cjs.entry.js +4 -3
- package/dist/wc/cjs/z-myz-card_4.cjs.entry.js +17 -10
- package/dist/wc/cjs/z-myz-list-item.cjs.entry.js +17 -14
- package/dist/wc/cjs/z-myz-list.cjs.entry.js +4 -2
- package/dist/wc/cjs/z-navigation-tabs.cjs.entry.js +18 -21
- package/dist/wc/cjs/z-notification.cjs.entry.js +14 -17
- package/dist/wc/cjs/z-offcanvas_2.cjs.entry.js +146 -44
- package/dist/wc/cjs/z-otp.cjs.entry.js +7 -6
- package/dist/wc/cjs/z-pagination.cjs.entry.js +8 -15
- package/dist/wc/cjs/z-panel-elem.cjs.entry.js +11 -11
- package/dist/wc/cjs/z-popover.cjs.entry.js +11 -23
- package/dist/wc/cjs/z-range-picker.cjs.entry.js +12 -12
- package/dist/wc/cjs/z-section-title.cjs.entry.js +3 -10
- package/dist/wc/cjs/z-select.cjs.entry.js +26 -21
- package/dist/wc/cjs/z-skip-to-content.cjs.entry.js +8 -9
- package/dist/wc/cjs/z-slideshow.cjs.entry.js +8 -5
- package/dist/wc/cjs/z-stepper-item.cjs.entry.js +15 -6
- package/dist/wc/cjs/z-stepper.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-table.cjs.entry.js +14 -19
- 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 +7 -7
- package/dist/wc/cjs/z-toast-notification.cjs.entry.js +2664 -16
- package/dist/wc/cjs/z-toggle-button.cjs.entry.js +6 -7
- package/dist/wc/cjs/z-toggle-switch.cjs.entry.js +8 -12
- package/dist/wc/cjs/z-tooltip.cjs.entry.js +5 -14
- package/dist/wc/cjs/z-tr.cjs.entry.js +7 -7
- package/dist/wc/cjs/z-visually-hidden.cjs.entry.js +2 -2
- package/dist/wc/collection/collection-manifest.json +5 -20
- package/dist/wc/collection/components/license-activation-form/license-activation-form.css +5 -5
- package/dist/wc/collection/components/license-activation-form/license-activation-form.js +1 -1
- package/dist/wc/custom-elements/index.js +7222 -6950
- package/dist/wc/delta_share/delta_share.esm.js +1 -1
- package/dist/wc/delta_share/p-013e4409.entry.js +1 -0
- package/dist/wc/delta_share/p-018ee9d6.entry.js +1 -0
- package/dist/wc/delta_share/p-02ebcfea.entry.js +1 -0
- package/dist/wc/delta_share/p-056fe365.js +2 -0
- package/dist/wc/delta_share/p-0ae2c3f2.entry.js +1 -0
- package/dist/wc/delta_share/p-0b2e7aa5.js +1 -0
- package/dist/wc/delta_share/p-19676cde.entry.js +1 -0
- package/dist/wc/delta_share/p-1d029eee.entry.js +1 -0
- package/dist/wc/delta_share/p-262ab797.entry.js +7 -0
- package/dist/wc/delta_share/p-28cf49f6.entry.js +1 -0
- package/dist/wc/delta_share/p-295518af.entry.js +1 -0
- package/dist/wc/delta_share/p-29f14555.entry.js +1 -0
- package/dist/wc/delta_share/p-29fc3a79.entry.js +1 -0
- package/dist/wc/delta_share/p-2a01a3f3.entry.js +1 -0
- package/dist/wc/delta_share/p-2b97cd87.entry.js +1 -0
- package/dist/wc/delta_share/p-3104a139.entry.js +1 -0
- package/dist/wc/delta_share/p-3870dbe2.entry.js +1 -0
- package/dist/wc/delta_share/p-3b354b80.entry.js +1 -0
- package/dist/wc/delta_share/p-3b4d4f00.entry.js +1 -0
- package/dist/wc/delta_share/p-3d013235.entry.js +1 -0
- package/dist/wc/delta_share/p-4449733f.entry.js +1 -0
- package/dist/wc/delta_share/p-444db53b.js +1 -0
- package/dist/wc/delta_share/p-44ceafee.entry.js +1 -0
- package/dist/wc/delta_share/p-4cfc333d.js +1 -0
- package/dist/wc/delta_share/p-5212008a.entry.js +1 -0
- package/dist/wc/delta_share/p-566c9267.entry.js +1 -0
- package/dist/wc/delta_share/p-59f14c8d.entry.js +1 -0
- package/dist/wc/delta_share/p-5adb7aa8.entry.js +1 -0
- package/dist/wc/delta_share/p-620a959a.entry.js +1 -0
- package/dist/wc/delta_share/p-62a61516.js +1 -0
- package/dist/wc/delta_share/p-63d78af3.entry.js +1 -0
- package/dist/wc/delta_share/p-6653b9a1.entry.js +1 -0
- package/dist/wc/delta_share/{p-d50ea6ea.js → p-6c8159ea.js} +1 -1
- package/dist/wc/delta_share/p-707c5585.entry.js +1 -0
- package/dist/wc/delta_share/p-7fda0bed.entry.js +1 -0
- package/dist/wc/delta_share/p-8134fe51.entry.js +1 -0
- package/dist/wc/delta_share/p-866f8a49.entry.js +1 -0
- package/dist/wc/delta_share/p-86964f3b.entry.js +16 -0
- package/dist/wc/delta_share/p-87332b01.entry.js +1 -0
- package/dist/wc/delta_share/p-8c81d9b2.entry.js +1 -0
- package/dist/wc/delta_share/p-8f9ed094.entry.js +1 -0
- package/dist/wc/delta_share/p-99acd07f.entry.js +1 -0
- package/dist/wc/delta_share/p-9c18160e.entry.js +1 -0
- package/dist/wc/delta_share/p-9ed10859.entry.js +1 -0
- package/dist/wc/delta_share/p-a21fd966.entry.js +1 -0
- package/dist/wc/delta_share/p-a74a2ea7.entry.js +1 -0
- package/dist/wc/delta_share/p-a85812cb.entry.js +1 -0
- package/dist/wc/delta_share/p-b0a69730.entry.js +1 -0
- package/dist/wc/delta_share/p-b0c09e8c.entry.js +1 -0
- package/dist/wc/delta_share/p-ba1facc4.entry.js +1 -0
- package/dist/wc/delta_share/p-bcbf4111.js +1 -0
- package/dist/wc/delta_share/p-c2331325.js +1 -0
- package/dist/wc/delta_share/p-c804a012.entry.js +1 -0
- package/dist/wc/delta_share/p-c8bbe9e8.entry.js +1 -0
- package/dist/wc/delta_share/p-ca9baa11.entry.js +1 -0
- package/dist/wc/delta_share/p-cb91ed58.entry.js +1 -0
- package/dist/wc/delta_share/p-ce5a0e4a.js +1 -0
- package/dist/wc/delta_share/p-cee50bb2.entry.js +1 -0
- package/dist/wc/delta_share/p-d0c5e474.entry.js +1 -0
- package/dist/wc/delta_share/p-d46bf9a5.js +1 -0
- package/dist/wc/delta_share/p-ddde8778.entry.js +1 -0
- package/dist/wc/delta_share/p-de08796d.entry.js +1 -0
- package/dist/wc/delta_share/p-e04a44e2.entry.js +1 -0
- package/dist/wc/delta_share/p-e070058d.entry.js +1 -0
- package/dist/wc/delta_share/p-e1e28def.entry.js +1 -0
- package/dist/wc/delta_share/p-e433303b.entry.js +1 -0
- package/dist/wc/delta_share/p-e4fd3b00.entry.js +1 -0
- package/dist/wc/delta_share/p-e642c65b.entry.js +1 -0
- package/dist/wc/delta_share/p-e8902ced.entry.js +1 -0
- package/dist/wc/delta_share/p-e90554fa.entry.js +1 -0
- package/dist/wc/delta_share/p-e9369c2c.entry.js +1 -0
- package/dist/wc/delta_share/p-eab0941b.entry.js +3 -0
- package/dist/wc/delta_share/p-ecc6113d.entry.js +1 -0
- package/dist/wc/delta_share/p-f44c8791.entry.js +1 -0
- package/dist/wc/delta_share/p-fb066b3f.entry.js +1 -0
- package/dist/wc/delta_share/p-fc5a8411.entry.js +1 -0
- package/dist/wc/delta_share/p-fc6c2cae.entry.js +1 -0
- package/dist/wc/delta_share/p-ff64ac0d.js +1 -0
- package/dist/wc/delta_share/p-ff7ff884.entry.js +1 -0
- package/dist/wc/esm/breakpoints-9229197d.js +9 -0
- package/dist/wc/esm/delta_share.js +2 -2
- package/dist/wc/esm/index-022ca053.js +42 -0
- package/dist/wc/esm/index-2f04648d.js +351 -0
- package/dist/wc/esm/{index-2be1634d.js → index-46586cb9.js} +2 -5
- package/dist/wc/esm/index-65a6f17d.js +16 -0
- package/dist/wc/esm/index-68d2aa41.js +54 -0
- package/dist/wc/esm/index-a0e81965.js +15 -0
- package/dist/wc/esm/{index-1b01fa0e.js → index-b69e88d4.js} +64 -85
- package/dist/wc/esm/index-df47a432.js +62 -0
- package/dist/wc/esm/license-activation_10.entry.js +999 -49
- package/dist/wc/esm/loader.js +2 -2
- package/dist/wc/esm/{utils-5e6dc3fe.js → utils-098de0ea.js} +63 -63
- package/dist/wc/esm/utils-aa5e2546.js +101 -0
- package/dist/wc/esm/z-accordion.entry.js +6 -22
- package/dist/wc/esm/z-alert.entry.js +3 -2
- package/dist/wc/esm/z-anchor-navigation.entry.js +16 -18
- package/dist/wc/esm/z-app-header-deprecated.entry.js +151 -0
- package/dist/wc/esm/z-app-header.entry.js +200 -118
- package/dist/wc/esm/z-aria-alert.entry.js +3 -4
- package/dist/wc/esm/z-avatar.entry.js +6 -7
- package/dist/wc/esm/z-book-card-app.entry.js +32 -0
- package/dist/wc/esm/z-book-card-deprecated.entry.js +131 -0
- package/dist/wc/esm/z-book-card.entry.js +90 -95
- package/dist/wc/esm/z-breadcrumb.entry.js +87 -100
- package/dist/wc/esm/z-button-sort.entry.js +8 -8
- package/dist/wc/esm/z-card.entry.js +10 -9
- package/dist/wc/esm/z-carousel.entry.js +75 -44
- package/dist/wc/esm/z-chip.entry.js +7 -8
- package/dist/wc/esm/z-combobox.entry.js +141 -67
- package/dist/wc/esm/z-cover-hero.entry.js +5 -17
- package/dist/wc/esm/z-date-picker.entry.js +7 -7
- package/dist/wc/esm/z-divider.entry.js +3 -6
- package/dist/wc/esm/z-dragdrop-area.entry.js +14 -17
- package/dist/wc/esm/z-file-upload.entry.js +99 -96
- package/dist/wc/esm/z-file.entry.js +7 -5
- package/dist/wc/esm/z-ghost-loading.entry.js +3 -3
- package/dist/wc/esm/z-info-reveal.entry.js +31 -34
- package/dist/wc/esm/z-list_4.entry.js +209 -0
- package/dist/wc/esm/z-logo.entry.js +8 -2
- package/dist/wc/esm/z-menu-deprecated.entry.js +108 -0
- package/dist/wc/esm/z-menu-section-deprecated.entry.js +53 -0
- package/dist/wc/esm/z-menu-section.entry.js +158 -23
- package/dist/wc/esm/z-menu.entry.js +260 -61
- package/dist/wc/esm/z-myz-card-alert.entry.js +8 -4
- package/dist/wc/esm/z-myz-card-dictionary.entry.js +6 -8
- package/dist/wc/esm/z-myz-card-footer-sections.entry.js +2 -2
- package/dist/wc/esm/z-myz-card-footer.entry.js +9 -6
- package/dist/wc/esm/z-myz-card-icon.entry.js +3 -4
- package/dist/wc/esm/z-myz-card-info.entry.js +10 -10
- package/dist/wc/esm/z-myz-card-list.entry.js +4 -3
- package/dist/wc/esm/z-myz-card_4.entry.js +17 -10
- package/dist/wc/esm/z-myz-list-item.entry.js +17 -14
- package/dist/wc/esm/z-myz-list.entry.js +4 -2
- package/dist/wc/esm/z-navigation-tabs.entry.js +18 -21
- package/dist/wc/esm/z-notification.entry.js +14 -17
- package/dist/wc/esm/z-offcanvas_2.entry.js +146 -44
- package/dist/wc/esm/z-otp.entry.js +7 -6
- package/dist/wc/esm/z-pagination.entry.js +8 -15
- package/dist/wc/esm/z-panel-elem.entry.js +11 -11
- package/dist/wc/esm/z-popover.entry.js +11 -23
- package/dist/wc/esm/z-range-picker.entry.js +12 -12
- package/dist/wc/esm/z-section-title.entry.js +3 -10
- package/dist/wc/esm/z-select.entry.js +26 -21
- package/dist/wc/esm/z-skip-to-content.entry.js +8 -9
- package/dist/wc/esm/z-slideshow.entry.js +8 -5
- package/dist/wc/esm/z-stepper-item.entry.js +15 -6
- package/dist/wc/esm/z-stepper.entry.js +2 -2
- package/dist/wc/esm/z-table.entry.js +14 -19
- 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 +7 -7
- package/dist/wc/esm/z-toast-notification.entry.js +2660 -12
- package/dist/wc/esm/z-toggle-button.entry.js +6 -7
- package/dist/wc/esm/z-toggle-switch.entry.js +8 -12
- package/dist/wc/esm/z-tooltip.entry.js +5 -14
- package/dist/wc/esm/z-tr.entry.js +7 -7
- package/dist/wc/esm/z-visually-hidden.entry.js +2 -2
- package/package.json +1 -1
- package/dist/wc/cjs/breakpoints-e7c8838e.js +0 -9
- package/dist/wc/cjs/hammer-4f20813e.js +0 -2650
- package/dist/wc/cjs/icons-6d7ce4fc.js +0 -862
- package/dist/wc/cjs/index-029f1a7e.js +0 -344
- package/dist/wc/cjs/index-2693f4d5.js +0 -21
- package/dist/wc/cjs/index-30694024.js +0 -41
- package/dist/wc/cjs/index-3171b6c3.js +0 -79
- package/dist/wc/cjs/index-3218642b.js +0 -67
- package/dist/wc/cjs/index-422e5a81.js +0 -17
- package/dist/wc/cjs/index-452ee215.js +0 -20
- package/dist/wc/cjs/index-668dd84e.js +0 -34
- package/dist/wc/cjs/index-68c03627.js +0 -53
- package/dist/wc/cjs/index-72da8f73.js +0 -17
- package/dist/wc/cjs/index-8a564949.js +0 -29
- package/dist/wc/cjs/index-929abcb2.js +0 -74
- package/dist/wc/cjs/index-dbb9c380.js +0 -21
- package/dist/wc/cjs/index-e47a42d9.js +0 -22
- package/dist/wc/cjs/index-e790a3c5.js +0 -21
- package/dist/wc/cjs/utils-43a3deb6.js +0 -97
- package/dist/wc/cjs/z-contextual-menu.cjs.entry.js +0 -46
- package/dist/wc/cjs/z-link.cjs.entry.js +0 -74
- package/dist/wc/cjs/z-list_3.cjs.entry.js +0 -261
- package/dist/wc/cjs/z-messages-pocket.cjs.entry.js +0 -46
- package/dist/wc/cjs/z-navigation-tab-link.cjs.entry.js +0 -74
- package/dist/wc/cjs/z-navigation-tab.cjs.entry.js +0 -73
- package/dist/wc/cjs/z-pocket-message.cjs.entry.js +0 -19
- package/dist/wc/cjs/z-pocket_3.cjs.entry.js +0 -125
- package/dist/wc/cjs/z-table-body.cjs.entry.js +0 -10
- package/dist/wc/cjs/z-table-cell.cjs.entry.js +0 -11
- package/dist/wc/cjs/z-table-deprecated.cjs.entry.js +0 -91
- package/dist/wc/cjs/z-table-empty-box.cjs.entry.js +0 -10
- package/dist/wc/cjs/z-table-expanded-row.cjs.entry.js +0 -10
- package/dist/wc/cjs/z-table-footer.cjs.entry.js +0 -10
- package/dist/wc/cjs/z-table-head.cjs.entry.js +0 -10
- package/dist/wc/cjs/z-table-header-row.cjs.entry.js +0 -10
- package/dist/wc/cjs/z-table-header.cjs.entry.js +0 -13
- package/dist/wc/cjs/z-table-row.cjs.entry.js +0 -11
- package/dist/wc/cjs/z-table-sticky-footer.cjs.entry.js +0 -10
- package/dist/wc/cjs/z-tag.cjs.entry.js +0 -22
- package/dist/wc/delta_share/p-007a1bc5.entry.js +0 -1
- package/dist/wc/delta_share/p-0188e962.entry.js +0 -1
- package/dist/wc/delta_share/p-01dd7a45.entry.js +0 -1
- package/dist/wc/delta_share/p-029a7353.entry.js +0 -1
- package/dist/wc/delta_share/p-032199e9.entry.js +0 -1
- package/dist/wc/delta_share/p-043cdbf1.js +0 -1
- package/dist/wc/delta_share/p-047a8524.entry.js +0 -1
- package/dist/wc/delta_share/p-0fe4e8b2.entry.js +0 -1
- package/dist/wc/delta_share/p-112478b5.js +0 -1
- package/dist/wc/delta_share/p-162d0233.entry.js +0 -1
- package/dist/wc/delta_share/p-1b701b0e.entry.js +0 -1
- package/dist/wc/delta_share/p-1bb7af24.js +0 -1
- package/dist/wc/delta_share/p-1d427e0a.entry.js +0 -1
- package/dist/wc/delta_share/p-1e3d2b14.entry.js +0 -1
- package/dist/wc/delta_share/p-1f4909c7.entry.js +0 -1
- package/dist/wc/delta_share/p-20ff5410.entry.js +0 -1
- package/dist/wc/delta_share/p-2427835b.js +0 -1
- package/dist/wc/delta_share/p-26d1744f.entry.js +0 -1
- package/dist/wc/delta_share/p-271ab47a.js +0 -1
- package/dist/wc/delta_share/p-2b5da773.js +0 -1
- package/dist/wc/delta_share/p-2da22eda.entry.js +0 -1
- package/dist/wc/delta_share/p-32498aa3.entry.js +0 -1
- package/dist/wc/delta_share/p-354d0aa4.entry.js +0 -1
- package/dist/wc/delta_share/p-3747affc.entry.js +0 -1
- package/dist/wc/delta_share/p-38341cfb.entry.js +0 -1
- package/dist/wc/delta_share/p-3b046489.entry.js +0 -1
- package/dist/wc/delta_share/p-3e0d58c3.entry.js +0 -1
- package/dist/wc/delta_share/p-40b1f526.entry.js +0 -1
- package/dist/wc/delta_share/p-40db0c2f.entry.js +0 -1
- package/dist/wc/delta_share/p-41580384.js +0 -1
- package/dist/wc/delta_share/p-45e62587.entry.js +0 -1
- package/dist/wc/delta_share/p-46575ead.js +0 -1
- package/dist/wc/delta_share/p-4666e9fb.entry.js +0 -1
- package/dist/wc/delta_share/p-47c1de64.entry.js +0 -1
- package/dist/wc/delta_share/p-4b9be5d5.entry.js +0 -1
- package/dist/wc/delta_share/p-4bf8f33b.js +0 -1
- package/dist/wc/delta_share/p-50d72747.entry.js +0 -1
- package/dist/wc/delta_share/p-553d3d4e.js +0 -1
- package/dist/wc/delta_share/p-5ab3a4b0.entry.js +0 -1
- package/dist/wc/delta_share/p-5bb251dd.entry.js +0 -1
- package/dist/wc/delta_share/p-5cecb6db.entry.js +0 -1
- package/dist/wc/delta_share/p-62970c74.entry.js +0 -1
- package/dist/wc/delta_share/p-6347f0d8.entry.js +0 -1
- package/dist/wc/delta_share/p-66454c1b.entry.js +0 -1
- package/dist/wc/delta_share/p-6676c375.entry.js +0 -1
- package/dist/wc/delta_share/p-697c4ac9.js +0 -1
- package/dist/wc/delta_share/p-72442d2b.js +0 -1
- package/dist/wc/delta_share/p-72c4a523.entry.js +0 -1
- package/dist/wc/delta_share/p-7856ba3d.entry.js +0 -1
- package/dist/wc/delta_share/p-7eb297a7.entry.js +0 -1
- package/dist/wc/delta_share/p-8589abd7.js +0 -1
- package/dist/wc/delta_share/p-86f2958b.entry.js +0 -1
- package/dist/wc/delta_share/p-8745c480.entry.js +0 -1
- package/dist/wc/delta_share/p-8f123d77.entry.js +0 -1
- package/dist/wc/delta_share/p-90289241.entry.js +0 -1
- package/dist/wc/delta_share/p-95056ca8.entry.js +0 -1
- package/dist/wc/delta_share/p-95945f29.entry.js +0 -1
- package/dist/wc/delta_share/p-97577c0b.entry.js +0 -1
- package/dist/wc/delta_share/p-97d82f7e.entry.js +0 -1
- package/dist/wc/delta_share/p-9ebfdadf.entry.js +0 -1
- package/dist/wc/delta_share/p-a430cb52.entry.js +0 -1
- package/dist/wc/delta_share/p-a6a819d5.entry.js +0 -1
- package/dist/wc/delta_share/p-ac9574a6.entry.js +0 -1
- package/dist/wc/delta_share/p-aefef80d.entry.js +0 -1
- package/dist/wc/delta_share/p-b052dab7.entry.js +0 -3
- package/dist/wc/delta_share/p-b2f3596c.entry.js +0 -1
- package/dist/wc/delta_share/p-b4d3ca7d.entry.js +0 -1
- package/dist/wc/delta_share/p-b7a409df.entry.js +0 -1
- package/dist/wc/delta_share/p-b7b93904.entry.js +0 -1
- package/dist/wc/delta_share/p-b9b6c478.entry.js +0 -1
- package/dist/wc/delta_share/p-bb8ec114.entry.js +0 -1
- package/dist/wc/delta_share/p-c3bcf36d.entry.js +0 -1
- package/dist/wc/delta_share/p-c4faf4eb.entry.js +0 -1
- package/dist/wc/delta_share/p-c61d7a11.js +0 -1
- package/dist/wc/delta_share/p-c64b3da1.entry.js +0 -1
- package/dist/wc/delta_share/p-c72a8f42.entry.js +0 -1
- package/dist/wc/delta_share/p-c7678d37.js +0 -1
- package/dist/wc/delta_share/p-ca2494fb.entry.js +0 -1
- package/dist/wc/delta_share/p-cc222b2f.entry.js +0 -1
- package/dist/wc/delta_share/p-ce15fdd1.entry.js +0 -1
- package/dist/wc/delta_share/p-cf6854c4.entry.js +0 -1
- package/dist/wc/delta_share/p-d79b35a8.entry.js +0 -1
- package/dist/wc/delta_share/p-d8592d42.js +0 -1
- package/dist/wc/delta_share/p-d86cd1ff.entry.js +0 -1
- package/dist/wc/delta_share/p-da254424.entry.js +0 -1
- package/dist/wc/delta_share/p-db4d5b29.entry.js +0 -1
- package/dist/wc/delta_share/p-dbf33c0f.entry.js +0 -1
- package/dist/wc/delta_share/p-df6ae14f.js +0 -1
- package/dist/wc/delta_share/p-e43e61ac.js +0 -7
- package/dist/wc/delta_share/p-e4fdcfc5.entry.js +0 -1
- package/dist/wc/delta_share/p-e573c206.entry.js +0 -1
- package/dist/wc/delta_share/p-e708b262.entry.js +0 -1
- package/dist/wc/delta_share/p-e8cda39a.js +0 -1
- package/dist/wc/delta_share/p-e94ef0ed.entry.js +0 -1
- package/dist/wc/delta_share/p-eb889b01.js +0 -2
- package/dist/wc/delta_share/p-edaf6126.entry.js +0 -1
- package/dist/wc/delta_share/p-efa66157.js +0 -1
- package/dist/wc/delta_share/p-f1bf817c.entry.js +0 -1
- package/dist/wc/delta_share/p-f25116a7.js +0 -1
- package/dist/wc/delta_share/p-f3023043.entry.js +0 -1
- package/dist/wc/delta_share/p-f42019e4.entry.js +0 -1
- package/dist/wc/delta_share/p-f5bb55e0.entry.js +0 -16
- package/dist/wc/delta_share/p-f635c868.entry.js +0 -1
- package/dist/wc/delta_share/p-fbc9f1bc.entry.js +0 -1
- package/dist/wc/esm/breakpoints-3c3dbb8c.js +0 -5
- package/dist/wc/esm/hammer-c3266b17.js +0 -2648
- package/dist/wc/esm/icons-6196a79a.js +0 -860
- package/dist/wc/esm/index-03cc51b1.js +0 -39
- package/dist/wc/esm/index-1082a536.js +0 -20
- package/dist/wc/esm/index-113e6780.js +0 -15
- package/dist/wc/esm/index-4854c8af.js +0 -27
- package/dist/wc/esm/index-485971a0.js +0 -15
- package/dist/wc/esm/index-64993358.js +0 -19
- package/dist/wc/esm/index-9d240d39.js +0 -344
- package/dist/wc/esm/index-b3f3a99c.js +0 -77
- package/dist/wc/esm/index-ba38e8d5.js +0 -15
- package/dist/wc/esm/index-ce7e02a3.js +0 -72
- package/dist/wc/esm/index-cfd5ec9b.js +0 -65
- package/dist/wc/esm/index-de36993f.js +0 -18
- package/dist/wc/esm/index-df808f62.js +0 -32
- package/dist/wc/esm/index-f7dfdf1f.js +0 -19
- package/dist/wc/esm/index-faec138b.js +0 -19
- package/dist/wc/esm/index-ff4885bf.js +0 -51
- package/dist/wc/esm/utils-bc5ea6f7.js +0 -88
- package/dist/wc/esm/z-contextual-menu.entry.js +0 -42
- package/dist/wc/esm/z-link.entry.js +0 -70
- package/dist/wc/esm/z-list_3.entry.js +0 -255
- package/dist/wc/esm/z-messages-pocket.entry.js +0 -42
- package/dist/wc/esm/z-navigation-tab-link.entry.js +0 -70
- package/dist/wc/esm/z-navigation-tab.entry.js +0 -69
- package/dist/wc/esm/z-pocket-message.entry.js +0 -15
- package/dist/wc/esm/z-pocket_3.entry.js +0 -119
- package/dist/wc/esm/z-table-body.entry.js +0 -2
- package/dist/wc/esm/z-table-cell.entry.js +0 -3
- package/dist/wc/esm/z-table-deprecated.entry.js +0 -87
- package/dist/wc/esm/z-table-empty-box.entry.js +0 -2
- package/dist/wc/esm/z-table-expanded-row.entry.js +0 -2
- package/dist/wc/esm/z-table-footer.entry.js +0 -2
- package/dist/wc/esm/z-table-head.entry.js +0 -2
- package/dist/wc/esm/z-table-header-row.entry.js +0 -2
- package/dist/wc/esm/z-table-header.entry.js +0 -5
- package/dist/wc/esm/z-table-row.entry.js +0 -3
- package/dist/wc/esm/z-table-sticky-footer.entry.js +0 -2
- package/dist/wc/esm/z-tag.entry.js +0 -18
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-1b01fa0e.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 };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, a as getElement } from './index-1b01fa0e.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 };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-1b01fa0e.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 };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-1b01fa0e.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 };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-1b01fa0e.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 };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-1b01fa0e.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 };
|
|
@@ -1,344 +0,0 @@
|
|
|
1
|
-
var LicenseType;
|
|
2
|
-
(function (LicenseType) {
|
|
3
|
-
LicenseType["REAL"] = "reale";
|
|
4
|
-
LicenseType["VIRTUAL"] = "virtuale";
|
|
5
|
-
LicenseType["TRIAL"] = "saggio";
|
|
6
|
-
LicenseType["TEMP"] = "reale_temp";
|
|
7
|
-
})(LicenseType || (LicenseType = {}));
|
|
8
|
-
var CardVariant;
|
|
9
|
-
(function (CardVariant) {
|
|
10
|
-
CardVariant["BORDER"] = "border";
|
|
11
|
-
CardVariant["SHADOW"] = "shadow";
|
|
12
|
-
CardVariant["OVERLAY"] = "overlay";
|
|
13
|
-
CardVariant["TEXT"] = "text";
|
|
14
|
-
})(CardVariant || (CardVariant = {}));
|
|
15
|
-
var NavigationTabsOrientation;
|
|
16
|
-
(function (NavigationTabsOrientation) {
|
|
17
|
-
NavigationTabsOrientation["HORIZONTAL"] = "horizontal";
|
|
18
|
-
NavigationTabsOrientation["VERTICAL"] = "vertical";
|
|
19
|
-
})(NavigationTabsOrientation || (NavigationTabsOrientation = {}));
|
|
20
|
-
var NavigationTabsSize;
|
|
21
|
-
(function (NavigationTabsSize) {
|
|
22
|
-
NavigationTabsSize["BIG"] = "big";
|
|
23
|
-
NavigationTabsSize["SMALL"] = "small";
|
|
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 = {}));
|
|
32
|
-
var ButtonVariant;
|
|
33
|
-
(function (ButtonVariant) {
|
|
34
|
-
ButtonVariant["PRIMARY"] = "primary";
|
|
35
|
-
ButtonVariant["SECONDARY"] = "secondary";
|
|
36
|
-
ButtonVariant["TERTIARY"] = "tertiary";
|
|
37
|
-
})(ButtonVariant || (ButtonVariant = {}));
|
|
38
|
-
var ButtonType;
|
|
39
|
-
(function (ButtonType) {
|
|
40
|
-
ButtonType["SUBMIT"] = "submit";
|
|
41
|
-
ButtonType["RESET"] = "reset";
|
|
42
|
-
ButtonType["BUTTON"] = "button";
|
|
43
|
-
})(ButtonType || (ButtonType = {}));
|
|
44
|
-
/**
|
|
45
|
-
* @deprecated Use ControlSize instead
|
|
46
|
-
*/
|
|
47
|
-
var ButtonSize;
|
|
48
|
-
(function (ButtonSize) {
|
|
49
|
-
ButtonSize["BIG"] = "big";
|
|
50
|
-
ButtonSize["SMALL"] = "small";
|
|
51
|
-
ButtonSize["X_SMALL"] = "x-small";
|
|
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 = {}));
|
|
59
|
-
var InputType;
|
|
60
|
-
(function (InputType) {
|
|
61
|
-
InputType["TEXT"] = "text";
|
|
62
|
-
InputType["PASSWORD"] = "password";
|
|
63
|
-
InputType["NUMBER"] = "number";
|
|
64
|
-
InputType["EMAIL"] = "email";
|
|
65
|
-
InputType["TEXTAREA"] = "textarea";
|
|
66
|
-
InputType["CHECKBOX"] = "checkbox";
|
|
67
|
-
InputType["RADIO"] = "radio";
|
|
68
|
-
InputType["TEL"] = "tel";
|
|
69
|
-
InputType["URL"] = "url";
|
|
70
|
-
InputType["SEARCH"] = "search";
|
|
71
|
-
})(InputType || (InputType = {}));
|
|
72
|
-
var InputStatus;
|
|
73
|
-
(function (InputStatus) {
|
|
74
|
-
InputStatus["SUCCESS"] = "success";
|
|
75
|
-
InputStatus["ERROR"] = "error";
|
|
76
|
-
InputStatus["WARNING"] = "warning";
|
|
77
|
-
})(InputStatus || (InputStatus = {}));
|
|
78
|
-
var PopoverPosition;
|
|
79
|
-
(function (PopoverPosition) {
|
|
80
|
-
PopoverPosition["AUTO"] = "auto";
|
|
81
|
-
PopoverPosition["TOP"] = "top";
|
|
82
|
-
PopoverPosition["RIGHT"] = "right";
|
|
83
|
-
PopoverPosition["BOTTOM"] = "bottom";
|
|
84
|
-
PopoverPosition["LEFT"] = "left";
|
|
85
|
-
PopoverPosition["TOP_RIGHT"] = "top_right";
|
|
86
|
-
PopoverPosition["TOP_LEFT"] = "top_left";
|
|
87
|
-
PopoverPosition["BOTTOM_RIGHT"] = "bottom_right";
|
|
88
|
-
PopoverPosition["BOTTOM_LEFT"] = "bottom_left";
|
|
89
|
-
PopoverPosition["RIGHT_TOP"] = "right_top";
|
|
90
|
-
PopoverPosition["RIGHT_BOTTOM"] = "right_bottom";
|
|
91
|
-
PopoverPosition["LEFT_TOP"] = "left_top";
|
|
92
|
-
PopoverPosition["LEFT_BOTTOM"] = "left_bottom";
|
|
93
|
-
})(PopoverPosition || (PopoverPosition = {}));
|
|
94
|
-
var KeyboardKeyCode;
|
|
95
|
-
(function (KeyboardKeyCode) {
|
|
96
|
-
KeyboardKeyCode[KeyboardKeyCode["TAB"] = 9] = "TAB";
|
|
97
|
-
KeyboardKeyCode[KeyboardKeyCode["SPACE"] = 32] = "SPACE";
|
|
98
|
-
KeyboardKeyCode[KeyboardKeyCode["ESC"] = 27] = "ESC";
|
|
99
|
-
KeyboardKeyCode[KeyboardKeyCode["ENTER"] = 13] = "ENTER";
|
|
100
|
-
KeyboardKeyCode[KeyboardKeyCode["ARROW_UP"] = 38] = "ARROW_UP";
|
|
101
|
-
KeyboardKeyCode[KeyboardKeyCode["ARROW_DOWN"] = 40] = "ARROW_DOWN";
|
|
102
|
-
KeyboardKeyCode[KeyboardKeyCode["BACKSPACE"] = 8] = "BACKSPACE";
|
|
103
|
-
KeyboardKeyCode[KeyboardKeyCode["DELETE"] = 46] = "DELETE";
|
|
104
|
-
})(KeyboardKeyCode || (KeyboardKeyCode = {}));
|
|
105
|
-
var KeyboardCode;
|
|
106
|
-
(function (KeyboardCode) {
|
|
107
|
-
KeyboardCode["TAB"] = "Tab";
|
|
108
|
-
KeyboardCode["SPACE"] = "Space";
|
|
109
|
-
KeyboardCode["ESC"] = "Escape";
|
|
110
|
-
KeyboardCode["ENTER"] = "Enter";
|
|
111
|
-
KeyboardCode["ARROW_UP"] = "ArrowUp";
|
|
112
|
-
KeyboardCode["ARROW_DOWN"] = "ArrowDown";
|
|
113
|
-
KeyboardCode["BACKSPACE"] = "Backspace";
|
|
114
|
-
KeyboardCode["DELETE"] = "Delete";
|
|
115
|
-
})(KeyboardCode || (KeyboardCode = {}));
|
|
116
|
-
var ThemeVariant;
|
|
117
|
-
(function (ThemeVariant) {
|
|
118
|
-
ThemeVariant["DARK"] = "dark";
|
|
119
|
-
ThemeVariant["LIGHT"] = "light";
|
|
120
|
-
})(ThemeVariant || (ThemeVariant = {}));
|
|
121
|
-
var DividerSize;
|
|
122
|
-
(function (DividerSize) {
|
|
123
|
-
DividerSize["SMALL"] = "small";
|
|
124
|
-
DividerSize["MEDIUM"] = "medium";
|
|
125
|
-
DividerSize["LARGE"] = "large";
|
|
126
|
-
})(DividerSize || (DividerSize = {}));
|
|
127
|
-
var DividerOrientation;
|
|
128
|
-
(function (DividerOrientation) {
|
|
129
|
-
DividerOrientation["HORIZONTAL"] = "horizontal";
|
|
130
|
-
DividerOrientation["VERTICAL"] = "vertical";
|
|
131
|
-
})(DividerOrientation || (DividerOrientation = {}));
|
|
132
|
-
var SortDirection;
|
|
133
|
-
(function (SortDirection) {
|
|
134
|
-
SortDirection["ASC"] = "asc";
|
|
135
|
-
SortDirection["DESC"] = "desc";
|
|
136
|
-
})(SortDirection || (SortDirection = {}));
|
|
137
|
-
var AvatarSize;
|
|
138
|
-
(function (AvatarSize) {
|
|
139
|
-
AvatarSize["SMALL"] = "small";
|
|
140
|
-
AvatarSize["MEDIUM"] = "medium";
|
|
141
|
-
AvatarSize["LARGE"] = "large";
|
|
142
|
-
})(AvatarSize || (AvatarSize = {}));
|
|
143
|
-
var ListSize;
|
|
144
|
-
(function (ListSize) {
|
|
145
|
-
ListSize["SMALL"] = "small";
|
|
146
|
-
ListSize["MEDIUM"] = "medium";
|
|
147
|
-
ListSize["LARGE"] = "large";
|
|
148
|
-
ListSize["X_LARGE"] = "x-large";
|
|
149
|
-
})(ListSize || (ListSize = {}));
|
|
150
|
-
var ExpandableListStyle;
|
|
151
|
-
(function (ExpandableListStyle) {
|
|
152
|
-
ExpandableListStyle["ACCORDION"] = "accordion";
|
|
153
|
-
ExpandableListStyle["MENU"] = "menu";
|
|
154
|
-
})(ExpandableListStyle || (ExpandableListStyle = {}));
|
|
155
|
-
var ExpandableListButtonAlign;
|
|
156
|
-
(function (ExpandableListButtonAlign) {
|
|
157
|
-
ExpandableListButtonAlign["RIGHT"] = "right";
|
|
158
|
-
ExpandableListButtonAlign["LEFT"] = "left";
|
|
159
|
-
})(ExpandableListButtonAlign || (ExpandableListButtonAlign = {}));
|
|
160
|
-
var LabelPosition;
|
|
161
|
-
(function (LabelPosition) {
|
|
162
|
-
LabelPosition["RIGHT"] = "right";
|
|
163
|
-
LabelPosition["LEFT"] = "left";
|
|
164
|
-
})(LabelPosition || (LabelPosition = {}));
|
|
165
|
-
var ListDividerType;
|
|
166
|
-
(function (ListDividerType) {
|
|
167
|
-
ListDividerType["NONE"] = "none";
|
|
168
|
-
ListDividerType["HEADER"] = "header";
|
|
169
|
-
ListDividerType["ELEMENT"] = "element";
|
|
170
|
-
})(ListDividerType || (ListDividerType = {}));
|
|
171
|
-
var ListType;
|
|
172
|
-
(function (ListType) {
|
|
173
|
-
ListType["NONE"] = "none";
|
|
174
|
-
ListType["ORDERED"] = "ordered";
|
|
175
|
-
ListType["UNORDERED"] = "unordered";
|
|
176
|
-
})(ListType || (ListType = {}));
|
|
177
|
-
var NotificationType;
|
|
178
|
-
(function (NotificationType) {
|
|
179
|
-
NotificationType["SUCCESS"] = "success";
|
|
180
|
-
NotificationType["WARNING"] = "warning";
|
|
181
|
-
NotificationType["ERROR"] = "error";
|
|
182
|
-
})(NotificationType || (NotificationType = {}));
|
|
183
|
-
var AlertType;
|
|
184
|
-
(function (AlertType) {
|
|
185
|
-
AlertType["SUCCESS"] = "success";
|
|
186
|
-
AlertType["WARNING"] = "warning";
|
|
187
|
-
AlertType["ERROR"] = "error";
|
|
188
|
-
})(AlertType || (AlertType = {}));
|
|
189
|
-
var Device;
|
|
190
|
-
(function (Device) {
|
|
191
|
-
Device["MOBILE"] = "mobile";
|
|
192
|
-
Device["TABLET"] = "tablet";
|
|
193
|
-
Device["DESKTOP"] = "desktop";
|
|
194
|
-
Device["DESKTOP_WIDE"] = "desktop-wide";
|
|
195
|
-
})(Device || (Device = {}));
|
|
196
|
-
var PocketStatus;
|
|
197
|
-
(function (PocketStatus) {
|
|
198
|
-
PocketStatus["PREVIEW"] = "preview";
|
|
199
|
-
PocketStatus["OPEN"] = "open";
|
|
200
|
-
PocketStatus["CLOSED"] = "closed";
|
|
201
|
-
})(PocketStatus || (PocketStatus = {}));
|
|
202
|
-
var ToastNotification;
|
|
203
|
-
(function (ToastNotification) {
|
|
204
|
-
ToastNotification["DARK"] = "dark";
|
|
205
|
-
ToastNotification["LIGHT"] = "light";
|
|
206
|
-
ToastNotification["ACCENT"] = "accent";
|
|
207
|
-
ToastNotification["ERROR"] = "error";
|
|
208
|
-
ToastNotification["SUCCESS"] = "success";
|
|
209
|
-
ToastNotification["WARNING"] = "warning";
|
|
210
|
-
})(ToastNotification || (ToastNotification = {}));
|
|
211
|
-
var ToastNotificationTransition;
|
|
212
|
-
(function (ToastNotificationTransition) {
|
|
213
|
-
ToastNotificationTransition["SLIDE_IN_LEFT"] = "slide-in-left";
|
|
214
|
-
ToastNotificationTransition["SLIDE_IN_RIGHT"] = "slide-in-right";
|
|
215
|
-
ToastNotificationTransition["SLIDE_IN_DOWN"] = "slide-in-down";
|
|
216
|
-
ToastNotificationTransition["SLIDE_IN_UP"] = "slide-in-up";
|
|
217
|
-
ToastNotificationTransition["SLIDE_OUT_LEFT"] = "slide-out-left";
|
|
218
|
-
ToastNotificationTransition["SLIDE_OUT_RIGHT"] = "slide-out-right";
|
|
219
|
-
ToastNotificationTransition["SLIDE_OUT_DOWN"] = "slide-out-down";
|
|
220
|
-
ToastNotificationTransition["SLIDE_OUT_UP"] = "slide-out-up";
|
|
221
|
-
})(ToastNotificationTransition || (ToastNotificationTransition = {}));
|
|
222
|
-
var ToastNotificationPosition;
|
|
223
|
-
(function (ToastNotificationPosition) {
|
|
224
|
-
ToastNotificationPosition["TOP_RIGHT"] = "top-right";
|
|
225
|
-
ToastNotificationPosition["TOP_LEFT"] = "top-left";
|
|
226
|
-
ToastNotificationPosition["TOP_CENTRE"] = "top-centre";
|
|
227
|
-
ToastNotificationPosition["BOTTOM_RIGHT"] = "bottom-right";
|
|
228
|
-
ToastNotificationPosition["BOTTOM_LEFT"] = "bottom-left";
|
|
229
|
-
ToastNotificationPosition["BOTTOM_CENTRE"] = "bottom-centre";
|
|
230
|
-
})(ToastNotificationPosition || (ToastNotificationPosition = {}));
|
|
231
|
-
var ZTableRowExpandedType;
|
|
232
|
-
(function (ZTableRowExpandedType) {
|
|
233
|
-
ZTableRowExpandedType["EXPANDABLE"] = "expandable";
|
|
234
|
-
ZTableRowExpandedType["PADDING"] = "padding";
|
|
235
|
-
ZTableRowExpandedType["NONE"] = "none";
|
|
236
|
-
})(ZTableRowExpandedType || (ZTableRowExpandedType = {}));
|
|
237
|
-
var ZAriaAlertMode;
|
|
238
|
-
(function (ZAriaAlertMode) {
|
|
239
|
-
ZAriaAlertMode["POLITE"] = "polite";
|
|
240
|
-
ZAriaAlertMode["ASSERTIVE"] = "assertive";
|
|
241
|
-
})(ZAriaAlertMode || (ZAriaAlertMode = {}));
|
|
242
|
-
var TransitionDirection;
|
|
243
|
-
(function (TransitionDirection) {
|
|
244
|
-
TransitionDirection["LEFT"] = "left";
|
|
245
|
-
TransitionDirection["RIGHT"] = "right";
|
|
246
|
-
})(TransitionDirection || (TransitionDirection = {}));
|
|
247
|
-
var OffCanvasVariant;
|
|
248
|
-
(function (OffCanvasVariant) {
|
|
249
|
-
OffCanvasVariant["OVERLAY"] = "overlay";
|
|
250
|
-
OffCanvasVariant["PUSHCONTENT"] = "pushcontent";
|
|
251
|
-
})(OffCanvasVariant || (OffCanvasVariant = {}));
|
|
252
|
-
var ZFileUploadType;
|
|
253
|
-
(function (ZFileUploadType) {
|
|
254
|
-
ZFileUploadType["DEFAULT"] = "default";
|
|
255
|
-
ZFileUploadType["DRAGDROP"] = "dragdrop";
|
|
256
|
-
})(ZFileUploadType || (ZFileUploadType = {}));
|
|
257
|
-
var ZChipType;
|
|
258
|
-
(function (ZChipType) {
|
|
259
|
-
ZChipType["DEFAULT"] = "default";
|
|
260
|
-
ZChipType["MEDIUM"] = "medium";
|
|
261
|
-
ZChipType["SMALL"] = "small";
|
|
262
|
-
})(ZChipType || (ZChipType = {}));
|
|
263
|
-
var ZSectionTitleDividerPosition;
|
|
264
|
-
(function (ZSectionTitleDividerPosition) {
|
|
265
|
-
ZSectionTitleDividerPosition["BEFORE"] = "before";
|
|
266
|
-
ZSectionTitleDividerPosition["AFTER"] = "after";
|
|
267
|
-
})(ZSectionTitleDividerPosition || (ZSectionTitleDividerPosition = {}));
|
|
268
|
-
var ZDatePickerMode;
|
|
269
|
-
(function (ZDatePickerMode) {
|
|
270
|
-
ZDatePickerMode["DATE"] = "date";
|
|
271
|
-
ZDatePickerMode["DATE_TIME"] = "date-time";
|
|
272
|
-
ZDatePickerMode["MONTHS"] = "months";
|
|
273
|
-
})(ZDatePickerMode || (ZDatePickerMode = {}));
|
|
274
|
-
var ZDatePickerModeValue;
|
|
275
|
-
(function (ZDatePickerModeValue) {
|
|
276
|
-
ZDatePickerModeValue[ZDatePickerModeValue["DATE"] = 401] = "DATE";
|
|
277
|
-
ZDatePickerModeValue[ZDatePickerModeValue["DATE_TIME"] = 523] = "DATE_TIME";
|
|
278
|
-
ZDatePickerModeValue[ZDatePickerModeValue["MONTHS"] = 288] = "MONTHS";
|
|
279
|
-
})(ZDatePickerModeValue || (ZDatePickerModeValue = {}));
|
|
280
|
-
var ZDatePickerPosition;
|
|
281
|
-
(function (ZDatePickerPosition) {
|
|
282
|
-
ZDatePickerPosition["TOP"] = "top";
|
|
283
|
-
ZDatePickerPosition["BOTTOM"] = "bottom";
|
|
284
|
-
})(ZDatePickerPosition || (ZDatePickerPosition = {}));
|
|
285
|
-
var ZRangePickerMode;
|
|
286
|
-
(function (ZRangePickerMode) {
|
|
287
|
-
ZRangePickerMode["DATE"] = "date";
|
|
288
|
-
ZRangePickerMode["DATE_TIME"] = "date-time";
|
|
289
|
-
})(ZRangePickerMode || (ZRangePickerMode = {}));
|
|
290
|
-
var InfoRevealPosition;
|
|
291
|
-
(function (InfoRevealPosition) {
|
|
292
|
-
InfoRevealPosition["TOP_RIGHT"] = "top_right";
|
|
293
|
-
InfoRevealPosition["TOP_LEFT"] = "top_left";
|
|
294
|
-
InfoRevealPosition["BOTTOM_RIGHT"] = "bottom_right";
|
|
295
|
-
InfoRevealPosition["BOTTOM_LEFT"] = "bottom_left";
|
|
296
|
-
})(InfoRevealPosition || (InfoRevealPosition = {}));
|
|
297
|
-
var CoverHeroVariant;
|
|
298
|
-
(function (CoverHeroVariant) {
|
|
299
|
-
CoverHeroVariant["OVERLAY"] = "overlay";
|
|
300
|
-
CoverHeroVariant["STACKED"] = "stacked";
|
|
301
|
-
})(CoverHeroVariant || (CoverHeroVariant = {}));
|
|
302
|
-
var CoverHeroContentPosition;
|
|
303
|
-
(function (CoverHeroContentPosition) {
|
|
304
|
-
CoverHeroContentPosition["TOP"] = "top";
|
|
305
|
-
CoverHeroContentPosition["BOTTOM"] = "bottom";
|
|
306
|
-
})(CoverHeroContentPosition || (CoverHeroContentPosition = {}));
|
|
307
|
-
var CarouselArrowsPosition;
|
|
308
|
-
(function (CarouselArrowsPosition) {
|
|
309
|
-
CarouselArrowsPosition["OVER"] = "over";
|
|
310
|
-
CarouselArrowsPosition["BOTTOM"] = "bottom";
|
|
311
|
-
})(CarouselArrowsPosition || (CarouselArrowsPosition = {}));
|
|
312
|
-
var CarouselProgressMode;
|
|
313
|
-
(function (CarouselProgressMode) {
|
|
314
|
-
CarouselProgressMode["DOTS"] = "dots";
|
|
315
|
-
CarouselProgressMode["NUMBERS"] = "numbers";
|
|
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 = {}));
|
|
343
|
-
|
|
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 };
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-1b01fa0e.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 };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-1b01fa0e.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 };
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-1b01fa0e.js';
|
|
2
|
-
import { P as PopoverPosition, S as SortDirection, 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}}: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}";
|
|
5
|
-
|
|
6
|
-
const ZTh = class {
|
|
7
|
-
constructor(hostRef) {
|
|
8
|
-
registerInstance(this, hostRef);
|
|
9
|
-
this.sort = createEvent(this, "sort", 7);
|
|
10
|
-
/**
|
|
11
|
-
* Enables the contextual menu.
|
|
12
|
-
* Can be set to "hover" or "always" to show the button only on cell hover or always.
|
|
13
|
-
* Set a nullish value to hide the menu button.
|
|
14
|
-
*/
|
|
15
|
-
this.showMenu = null;
|
|
16
|
-
/**
|
|
17
|
-
* Whether the cell should stick.
|
|
18
|
-
*/
|
|
19
|
-
this.sticky = false;
|
|
20
|
-
/**
|
|
21
|
-
* Set popover position.
|
|
22
|
-
*/
|
|
23
|
-
this.popoverPosition = PopoverPosition.AUTO;
|
|
24
|
-
/**
|
|
25
|
-
* Store the open state of the menu.
|
|
26
|
-
*/
|
|
27
|
-
this.isMenuOpen = false;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Get the value to set to the `aria-sort` attribute based on the current sort direction.
|
|
31
|
-
*/
|
|
32
|
-
get ariaSortDirection() {
|
|
33
|
-
if (!this.sortDirection) {
|
|
34
|
-
return null;
|
|
35
|
-
}
|
|
36
|
-
return this.sortDirection === SortDirection.ASC ? "ascending" : "descending";
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Handle the click on the sort button.
|
|
40
|
-
* @fires sort
|
|
41
|
-
*/
|
|
42
|
-
handleSort() {
|
|
43
|
-
if (!this.sortDirection) {
|
|
44
|
-
return;
|
|
45
|
-
}
|
|
46
|
-
this.sortDirection = this.sortDirection === SortDirection.ASC ? SortDirection.DESC : SortDirection.ASC;
|
|
47
|
-
this.sort.emit({
|
|
48
|
-
sortDirection: this.sortDirection,
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
updateColspan() {
|
|
52
|
-
if (this.colspan) {
|
|
53
|
-
this.host.style.gridColumn = `span ${this.colspan}`;
|
|
54
|
-
}
|
|
55
|
-
else {
|
|
56
|
-
this.host.style.removeProperty("grid-column");
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
componentWillLoad() {
|
|
60
|
-
this.updateColspan();
|
|
61
|
-
}
|
|
62
|
-
render() {
|
|
63
|
-
return (h(Host, { role: "columnheader", "menu-open": this.isMenuOpen, "aria-sort": this.ariaSortDirection }, h("slot", null), this.sortDirection && (h("button", { class: "z-th--sort-button", type: "button", onClick: this.handleSort.bind(this) }, h("z-icon", { name: this.sortDirection === SortDirection.ASC ? "arrow-simple-up" : "arrow-simple-down", width: 14, height: 14 }))), this.showMenu && (h("div", { class: "cell--menu-container" }, h("z-button", { variant: ButtonVariant.TERTIARY, icon: "contextual-menu", size: ControlSize.X_SMALL, ref: (el) => (this.menuTrigger = el), onClick: () => (this.popoverEl.open = !this.popoverEl.open) }), h("z-popover", { ref: (el) => (this.popoverEl = el), bindTo: this.menuTrigger, onOpenChange: (event) => (this.isMenuOpen = event.detail.open), position: this.popoverPosition }, h("slot", { name: "contextual-menu" }))))));
|
|
64
|
-
}
|
|
65
|
-
get host() { return getElement(this); }
|
|
66
|
-
static get watchers() { return {
|
|
67
|
-
"colspan": ["updateColspan"]
|
|
68
|
-
}; }
|
|
69
|
-
};
|
|
70
|
-
ZTh.style = stylesCss;
|
|
71
|
-
|
|
72
|
-
export { ZTh as Z };
|