@zanichelli/albe-web-components 8.0.1 → 9.0.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/cjs/index-06609e4d.js +17 -0
- package/dist/cjs/index-1872a74b.js +34 -0
- package/dist/cjs/index-23d8692f.js +21 -0
- package/dist/cjs/index-27ba9f7c.js +79 -0
- package/dist/cjs/index-2b53b57b.js +22 -0
- package/dist/cjs/index-46406671.js +67 -0
- package/dist/cjs/{index-b7c319f2.js → index-4e1850d7.js} +5 -9
- package/dist/cjs/index-8834c5a3.js +41 -0
- package/dist/cjs/index-92a9f89e.js +21 -0
- package/dist/cjs/index-9648272b.js +21 -0
- package/dist/cjs/index-977baebe.js +49 -0
- package/dist/cjs/index-a9764c98.js +17 -0
- package/dist/cjs/index-bbd48475.js +20 -0
- package/dist/cjs/index-d550acd3.js +70 -0
- package/dist/cjs/index-e3299e0a.js +28 -0
- package/dist/cjs/index-e5daa5a5.js +17 -0
- package/dist/cjs/index-ebbadaf8.js +21 -0
- package/dist/cjs/index-f43320ff.js +29 -0
- package/dist/cjs/index.cjs.js +8 -8
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-38f8555a.js → utils-aa00c0cc.js} +1 -1
- package/dist/cjs/{utils-938e5834.js → utils-b0293a5e.js} +1 -1
- package/dist/cjs/web-components-library.cjs.js +1 -1
- package/dist/cjs/z-anchor-navigation.cjs.entry.js +1 -1
- package/dist/cjs/z-app-header_11.cjs.entry.js +2 -2
- package/dist/cjs/z-aria-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-avatar.cjs.entry.js +1 -1
- package/dist/cjs/z-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/z-card.cjs.entry.js +1 -1
- package/dist/cjs/z-carousel.cjs.entry.js +1 -1
- package/dist/cjs/z-chip.cjs.entry.js +2 -2
- package/dist/cjs/z-combobox.cjs.entry.js +2 -2
- package/dist/cjs/z-contextual-menu.cjs.entry.js +1 -1
- package/dist/cjs/z-cover-hero.cjs.entry.js +1 -1
- package/dist/cjs/z-date-picker.cjs.entry.js +2 -2
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +1 -1
- package/dist/cjs/z-file-upload.cjs.entry.js +2 -2
- package/dist/cjs/z-file.cjs.entry.js +1 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js +1 -1
- package/dist/cjs/z-messages-pocket.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-info.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card_4.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-list-item.cjs.entry.js +2 -2
- package/dist/cjs/z-navigation-tab-link.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tab.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +1 -1
- package/dist/cjs/z-otp.cjs.entry.js +1 -1
- package/dist/cjs/z-pagination.cjs.entry.js +1 -1
- package/dist/cjs/z-pocket_3.cjs.entry.js +2 -2
- package/dist/cjs/z-popover.cjs.entry.js +1 -1
- package/dist/cjs/z-range-picker.cjs.entry.js +2 -2
- package/dist/cjs/z-section-title.cjs.entry.js +1 -1
- package/dist/cjs/z-select.cjs.entry.js +2 -2
- package/dist/cjs/z-skip-to-content.cjs.entry.js +2 -2
- package/dist/cjs/z-slideshow.cjs.entry.js +2 -2
- package/dist/cjs/z-table-body.cjs.entry.js +3 -17
- package/dist/cjs/z-table-cell.cjs.entry.js +4 -29
- package/dist/cjs/z-table-deprecated.cjs.entry.js +91 -0
- package/dist/cjs/z-table-empty-box.cjs.entry.js +3 -24
- package/dist/cjs/z-table-expanded-row.cjs.entry.js +3 -12
- package/dist/cjs/z-table-footer.cjs.entry.js +3 -16
- package/dist/cjs/z-table-head.cjs.entry.js +3 -16
- package/dist/cjs/z-table-header-row.cjs.entry.js +3 -15
- package/dist/cjs/z-table-header.cjs.entry.js +5 -74
- package/dist/cjs/z-table-row.cjs.entry.js +4 -36
- package/dist/cjs/z-table-sticky-footer.cjs.entry.js +3 -12
- package/dist/cjs/z-table.cjs.entry.js +43 -57
- package/dist/cjs/z-tbody.cjs.entry.js +10 -0
- package/dist/cjs/z-td.cjs.entry.js +11 -0
- package/dist/cjs/z-tfoot.cjs.entry.js +10 -0
- package/dist/cjs/z-th.cjs.entry.js +11 -0
- package/dist/cjs/z-thead.cjs.entry.js +10 -0
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification.cjs.entry.js +1 -1
- package/dist/cjs/z-toggle-switch.cjs.entry.js +2 -2
- package/dist/cjs/z-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/z-tr.cjs.entry.js +15 -0
- package/dist/collection/beans/index.js +5 -9
- package/dist/collection/collection-manifest.json +18 -11
- package/dist/collection/components/table/cells/z-td/index.js +143 -0
- package/dist/collection/components/table/cells/z-td/styles.css +59 -0
- package/dist/collection/components/table/cells/z-th/index.js +187 -0
- package/dist/collection/components/table/cells/z-th/styles.css +88 -0
- package/dist/collection/components/table/z-table/index.js +115 -0
- package/dist/collection/components/table/z-table/styles.css +22 -0
- package/dist/collection/components/table/z-tbody/index.js +22 -0
- package/dist/collection/components/table/z-tbody/styles.css +4 -0
- package/dist/collection/components/table/z-tfoot/index.js +50 -0
- package/dist/collection/components/table/z-tfoot/styles.css +13 -0
- package/dist/collection/components/table/z-thead/index.js +50 -0
- package/dist/collection/components/table/z-thead/styles.css +19 -0
- package/dist/collection/components/table/z-tr/index.js +133 -0
- package/dist/collection/components/table/z-tr/styles.css +87 -0
- package/dist/collection/{components/z-table → deprecated/z-table-deprecated}/z-table-body/index.js +3 -0
- package/dist/collection/{components/z-table → deprecated/z-table-deprecated}/z-table-cell/index.js +9 -11
- package/dist/collection/{components/z-table/z-table → deprecated/z-table-deprecated/z-table-deprecated}/index.js +13 -2
- package/dist/collection/{components/z-table/z-table → deprecated/z-table-deprecated/z-table-deprecated}/styles.css +14 -14
- package/dist/collection/{components/z-table → deprecated/z-table-deprecated}/z-table-empty-box/index.js +3 -0
- package/dist/collection/{components/z-table → deprecated/z-table-deprecated}/z-table-expanded-row/index.js +3 -0
- package/dist/collection/{components/z-table → deprecated/z-table-deprecated}/z-table-footer/index.js +3 -0
- package/dist/collection/{components/z-table → deprecated/z-table-deprecated}/z-table-head/index.js +3 -0
- package/dist/collection/{components/z-table → deprecated/z-table-deprecated}/z-table-header/index.js +27 -39
- package/dist/collection/{components/z-table → deprecated/z-table-deprecated}/z-table-header-row/index.js +3 -0
- package/dist/collection/{components/z-table → deprecated/z-table-deprecated}/z-table-row/index.js +3 -0
- package/dist/collection/{components/z-table → deprecated/z-table-deprecated}/z-table-sticky-footer/index.js +1 -0
- package/dist/esm/index-0e0fa88d.js +19 -0
- package/dist/esm/index-16d8ed5b.js +39 -0
- package/dist/esm/index-1ae1c122.js +15 -0
- package/dist/esm/index-272fc060.js +32 -0
- package/dist/esm/index-2c800f19.js +20 -0
- package/dist/esm/index-2cdac489.js +27 -0
- package/dist/esm/index-6d83248c.js +19 -0
- package/dist/esm/index-77b7d7ae.js +47 -0
- package/dist/esm/index-83736b34.js +15 -0
- package/dist/esm/index-8c7b48bc.js +19 -0
- package/dist/esm/{index-7e4df1be.js → index-9c5d63ea.js} +6 -10
- package/dist/esm/index-a2ca4b97.js +28 -0
- package/dist/esm/index-a66b7e8a.js +65 -0
- package/dist/esm/index-db083023.js +77 -0
- package/dist/esm/index-e2c8b8b5.js +18 -0
- package/dist/esm/index-f171ca51.js +15 -0
- package/dist/esm/index-f98f4ad3.js +19 -0
- package/dist/esm/index-fff6ed17.js +68 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{utils-af924ea4.js → utils-cd86cb21.js} +1 -1
- package/dist/esm/{utils-825aed23.js → utils-d7278f26.js} +1 -1
- package/dist/esm/web-components-library.js +1 -1
- package/dist/esm/z-anchor-navigation.entry.js +1 -1
- package/dist/esm/z-app-header_11.entry.js +2 -2
- package/dist/esm/z-aria-alert.entry.js +1 -1
- package/dist/esm/z-avatar.entry.js +1 -1
- package/dist/esm/z-breadcrumb.entry.js +2 -2
- package/dist/esm/z-card.entry.js +1 -1
- package/dist/esm/z-carousel.entry.js +1 -1
- package/dist/esm/z-chip.entry.js +2 -2
- package/dist/esm/z-combobox.entry.js +2 -2
- package/dist/esm/z-contextual-menu.entry.js +1 -1
- package/dist/esm/z-cover-hero.entry.js +1 -1
- package/dist/esm/z-date-picker.entry.js +2 -2
- package/dist/esm/z-dragdrop-area_2.entry.js +1 -1
- package/dist/esm/z-file-upload.entry.js +2 -2
- package/dist/esm/z-file.entry.js +1 -1
- package/dist/esm/z-info-reveal.entry.js +1 -1
- package/dist/esm/z-messages-pocket.entry.js +1 -1
- package/dist/esm/z-myz-card-alert.entry.js +1 -1
- package/dist/esm/z-myz-card-dictionary.entry.js +1 -1
- package/dist/esm/z-myz-card-footer.entry.js +1 -1
- package/dist/esm/z-myz-card-info.entry.js +2 -2
- package/dist/esm/z-myz-card_4.entry.js +1 -1
- package/dist/esm/z-myz-list-item.entry.js +2 -2
- package/dist/esm/z-navigation-tab-link.entry.js +1 -1
- package/dist/esm/z-navigation-tab.entry.js +1 -1
- package/dist/esm/z-navigation-tabs.entry.js +1 -1
- package/dist/esm/z-otp.entry.js +1 -1
- package/dist/esm/z-pagination.entry.js +1 -1
- package/dist/esm/z-pocket_3.entry.js +2 -2
- package/dist/esm/z-popover.entry.js +1 -1
- package/dist/esm/z-range-picker.entry.js +2 -2
- package/dist/esm/z-section-title.entry.js +1 -1
- package/dist/esm/z-select.entry.js +2 -2
- package/dist/esm/z-skip-to-content.entry.js +2 -2
- package/dist/esm/z-slideshow.entry.js +2 -2
- package/dist/esm/z-table-body.entry.js +2 -20
- package/dist/esm/z-table-cell.entry.js +3 -32
- package/dist/esm/z-table-deprecated.entry.js +87 -0
- package/dist/esm/z-table-empty-box.entry.js +2 -27
- package/dist/esm/z-table-expanded-row.entry.js +2 -15
- package/dist/esm/z-table-footer.entry.js +2 -19
- package/dist/esm/z-table-head.entry.js +2 -19
- package/dist/esm/z-table-header-row.entry.js +2 -18
- package/dist/esm/z-table-header.entry.js +4 -77
- package/dist/esm/z-table-row.entry.js +3 -39
- package/dist/esm/z-table-sticky-footer.entry.js +2 -15
- package/dist/esm/z-table.entry.js +46 -60
- package/dist/esm/z-tbody.entry.js +2 -0
- package/dist/esm/z-td.entry.js +3 -0
- package/dist/esm/z-tfoot.entry.js +2 -0
- package/dist/esm/z-th.entry.js +3 -0
- package/dist/esm/z-thead.entry.js +2 -0
- package/dist/esm/z-toast-notification-list.entry.js +1 -1
- package/dist/esm/z-toast-notification.entry.js +1 -1
- package/dist/esm/z-toggle-switch.entry.js +2 -2
- package/dist/esm/z-tooltip.entry.js +1 -1
- package/dist/esm/z-tr.entry.js +7 -0
- package/dist/types/beans/index.d.ts +5 -9
- package/dist/types/components/table/cells/z-td/index.d.ts +36 -0
- package/dist/types/components/table/cells/z-th/index.d.ts +52 -0
- package/dist/types/components/table/z-table/index.d.ts +37 -0
- package/dist/types/components/table/z-tbody/index.d.ts +7 -0
- package/dist/types/components/table/z-tfoot/index.d.ts +11 -0
- package/dist/types/components/table/z-thead/index.d.ts +11 -0
- package/dist/types/components/table/z-tr/index.d.ts +41 -0
- package/dist/types/components.d.ts +244 -33
- package/dist/types/{components/z-table → deprecated/z-table-deprecated}/z-table-body/index.d.ts +3 -0
- package/dist/types/{components/z-table → deprecated/z-table-deprecated}/z-table-cell/index.d.ts +4 -2
- package/dist/types/{components/z-table/z-table → deprecated/z-table-deprecated/z-table-deprecated}/index.d.ts +14 -3
- package/dist/types/{components/z-table → deprecated/z-table-deprecated}/z-table-empty-box/index.d.ts +3 -0
- package/dist/types/{components/z-table → deprecated/z-table-deprecated}/z-table-expanded-row/index.d.ts +3 -0
- package/dist/types/{components/z-table → deprecated/z-table-deprecated}/z-table-footer/index.d.ts +3 -0
- package/dist/types/{components/z-table → deprecated/z-table-deprecated}/z-table-head/index.d.ts +3 -0
- package/dist/types/{components/z-table → deprecated/z-table-deprecated}/z-table-header/index.d.ts +6 -4
- package/dist/types/{components/z-table → deprecated/z-table-deprecated}/z-table-header-row/index.d.ts +3 -0
- package/dist/types/{components/z-table → deprecated/z-table-deprecated}/z-table-row/index.d.ts +3 -0
- package/dist/types/{components/z-table → deprecated/z-table-deprecated}/z-table-sticky-footer/index.d.ts +1 -0
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/{p-cfc9cf52.entry.js → p-04b9260a.entry.js} +1 -1
- package/dist/web-components-library/p-051b9116.entry.js +1 -0
- package/dist/web-components-library/p-11976457.entry.js +1 -0
- package/{www/build/p-447a7c51.entry.js → dist/web-components-library/p-145eace8.entry.js} +1 -1
- package/dist/web-components-library/p-152fc58b.entry.js +1 -0
- package/dist/web-components-library/{p-4367f978.entry.js → p-154596ad.js} +1 -1
- package/dist/web-components-library/{p-ff838f90.entry.js → p-15738cb6.entry.js} +1 -1
- package/dist/web-components-library/{p-4b9882b3.entry.js → p-15dca231.entry.js} +1 -1
- package/dist/web-components-library/{p-2d339a33.entry.js → p-1a98992a.entry.js} +1 -1
- package/dist/web-components-library/{p-613d6de7.entry.js → p-1d7b6787.entry.js} +1 -1
- package/dist/web-components-library/{p-98dcf178.entry.js → p-220254b4.entry.js} +1 -1
- package/dist/web-components-library/{p-0eb7cb35.entry.js → p-2642bb12.entry.js} +1 -1
- package/dist/web-components-library/{p-3f55dce6.entry.js → p-2773516d.js} +1 -1
- package/dist/web-components-library/{p-bb0fe7bc.entry.js → p-2b3cf51a.js} +1 -1
- package/{www/build/p-b44030d0.entry.js → dist/web-components-library/p-2d609e87.entry.js} +1 -1
- package/dist/web-components-library/p-2fab41fb.entry.js +1 -0
- package/dist/web-components-library/p-30771d25.js +1 -0
- package/dist/web-components-library/{p-9fee86aa.entry.js → p-32c4383b.entry.js} +1 -1
- package/dist/web-components-library/{p-27100ea1.entry.js → p-33d41e9f.entry.js} +1 -1
- package/dist/web-components-library/{p-f5a247b9.entry.js → p-350dcf6d.entry.js} +1 -1
- package/dist/web-components-library/p-37ffe8b5.entry.js +1 -0
- package/dist/web-components-library/p-3fe7ffbe.entry.js +1 -0
- package/{www/build/p-7ac431a5.entry.js → dist/web-components-library/p-43235890.entry.js} +1 -1
- package/dist/web-components-library/p-43478f5b.entry.js +1 -0
- package/dist/web-components-library/p-4ae2fe27.js +1 -0
- package/{www/build/p-9a1b8000.entry.js → dist/web-components-library/p-4df0eb86.entry.js} +1 -1
- package/dist/web-components-library/{p-073f24c9.entry.js → p-5ab0be3f.entry.js} +1 -1
- package/dist/web-components-library/p-609186cd.entry.js +1 -0
- package/dist/web-components-library/p-62b89a37.js +1 -0
- package/dist/web-components-library/{p-a19a70a0.entry.js → p-6409024c.js} +1 -1
- package/dist/web-components-library/p-64256f3d.entry.js +1 -0
- package/dist/web-components-library/p-64759e9f.js +1 -0
- package/dist/web-components-library/p-6477d18a.entry.js +1 -0
- package/dist/web-components-library/{p-0c0735e5.entry.js → p-64acd74d.entry.js} +1 -1
- package/dist/web-components-library/p-64d902c6.entry.js +1 -0
- package/dist/web-components-library/p-6d723eea.entry.js +1 -0
- package/dist/web-components-library/p-74f343ce.js +1 -0
- package/dist/web-components-library/{p-37e050bd.entry.js → p-75b94adb.js} +1 -1
- package/dist/web-components-library/{p-022854df.entry.js → p-7d181b0a.entry.js} +1 -1
- package/dist/web-components-library/p-875dc6a3.js +1 -0
- package/dist/web-components-library/{p-0418f9fb.entry.js → p-88276662.entry.js} +1 -1
- package/dist/web-components-library/{p-14c2c56c.js → p-8878929e.js} +1 -1
- package/dist/web-components-library/{p-dcad3493.entry.js → p-89ad35df.entry.js} +1 -1
- package/{www/build/p-ee918c17.js → dist/web-components-library/p-8c6b1f2c.js} +1 -1
- package/dist/web-components-library/p-8e334a37.entry.js +1 -0
- package/{www/build/p-98df8460.entry.js → dist/web-components-library/p-8e7891d0.entry.js} +1 -1
- package/dist/web-components-library/{p-f8f862f9.entry.js → p-91a29198.entry.js} +1 -1
- package/{www/build/p-fd8eae32.entry.js → dist/web-components-library/p-92828b84.entry.js} +1 -1
- package/dist/web-components-library/{p-227667b6.entry.js → p-94550647.entry.js} +1 -1
- package/dist/web-components-library/p-97481f35.entry.js +1 -0
- package/dist/web-components-library/{p-39863e41.entry.js → p-9eafcdd4.entry.js} +1 -1
- package/dist/web-components-library/p-a13b6a71.entry.js +1 -0
- package/dist/web-components-library/p-a4254712.entry.js +1 -0
- package/dist/web-components-library/{p-1cc1a418.js → p-a4711d6d.js} +1 -1
- package/dist/web-components-library/p-ab4773c6.js +1 -0
- package/dist/web-components-library/p-ac9881cd.entry.js +1 -0
- package/dist/web-components-library/{p-cd456854.entry.js → p-b5e790d7.entry.js} +1 -1
- package/dist/web-components-library/p-b6f0020b.js +1 -0
- package/dist/web-components-library/{p-39595f7a.entry.js → p-b7d13c6f.entry.js} +1 -1
- package/{www/build/p-2f547970.entry.js → dist/web-components-library/p-b851ced1.entry.js} +1 -1
- package/{www/build/p-5825ef19.entry.js → dist/web-components-library/p-bc8d30ce.entry.js} +1 -1
- package/dist/web-components-library/{p-6be6a2f4.entry.js → p-c35e1265.entry.js} +1 -1
- package/dist/web-components-library/p-c76e27b4.entry.js +1 -0
- package/dist/web-components-library/p-cd14f3f5.entry.js +1 -0
- package/{www/build/p-8f7680ef.entry.js → dist/web-components-library/p-d1e9a84b.entry.js} +1 -1
- package/dist/web-components-library/{p-e606b019.entry.js → p-d2ed2111.entry.js} +1 -1
- package/dist/web-components-library/p-d60b4bc5.entry.js +1 -0
- package/dist/web-components-library/p-dc974567.entry.js +1 -0
- package/dist/web-components-library/{p-079357ba.entry.js → p-dca95f65.entry.js} +1 -1
- package/{www/build/p-2e7da553.entry.js → dist/web-components-library/p-e6807d13.entry.js} +1 -1
- package/{www/build/p-d966a1b9.entry.js → dist/web-components-library/p-f3da70cd.entry.js} +1 -1
- package/dist/web-components-library/p-f62ca674.js +1 -0
- package/dist/web-components-library/p-f6a7b40e.js +1 -0
- package/dist/web-components-library/p-fb5450a7.js +1 -0
- package/dist/web-components-library/{p-0b822ad0.entry.js → p-fb9f2761.entry.js} +1 -1
- package/{www/build/p-fa7a11fd.entry.js → dist/web-components-library/p-ffbb02d3.entry.js} +1 -1
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +1 -1
- package/react/components.d.ts +7 -0
- package/react/components.js +8 -1
- package/react/components.js.map +1 -1
- package/readme.md +2 -2
- package/www/build/index.esm.js +1 -1
- package/www/build/{p-cfc9cf52.entry.js → p-04b9260a.entry.js} +1 -1
- package/www/build/p-051b9116.entry.js +1 -0
- package/www/build/p-11976457.entry.js +1 -0
- package/{dist/web-components-library/p-447a7c51.entry.js → www/build/p-145eace8.entry.js} +1 -1
- package/www/build/p-152fc58b.entry.js +1 -0
- package/www/build/{p-4367f978.entry.js → p-154596ad.js} +1 -1
- package/www/build/{p-ff838f90.entry.js → p-15738cb6.entry.js} +1 -1
- package/www/build/{p-4b9882b3.entry.js → p-15dca231.entry.js} +1 -1
- package/www/build/{p-2d339a33.entry.js → p-1a98992a.entry.js} +1 -1
- package/www/build/{p-613d6de7.entry.js → p-1d7b6787.entry.js} +1 -1
- package/www/build/{p-98dcf178.entry.js → p-220254b4.entry.js} +1 -1
- package/www/build/{p-0eb7cb35.entry.js → p-2642bb12.entry.js} +1 -1
- package/www/build/{p-3f55dce6.entry.js → p-2773516d.js} +1 -1
- package/www/build/{p-bb0fe7bc.entry.js → p-2b3cf51a.js} +1 -1
- package/{dist/web-components-library/p-b44030d0.entry.js → www/build/p-2d609e87.entry.js} +1 -1
- package/www/build/p-2fab41fb.entry.js +1 -0
- package/www/build/p-30771d25.js +1 -0
- package/www/build/{p-9fee86aa.entry.js → p-32c4383b.entry.js} +1 -1
- package/www/build/{p-27100ea1.entry.js → p-33d41e9f.entry.js} +1 -1
- package/www/build/{p-f5a247b9.entry.js → p-350dcf6d.entry.js} +1 -1
- package/www/build/p-37ffe8b5.entry.js +1 -0
- package/www/build/p-3fe7ffbe.entry.js +1 -0
- package/{dist/web-components-library/p-7ac431a5.entry.js → www/build/p-43235890.entry.js} +1 -1
- package/www/build/p-43478f5b.entry.js +1 -0
- package/www/build/p-4ae2fe27.js +1 -0
- package/{dist/web-components-library/p-9a1b8000.entry.js → www/build/p-4df0eb86.entry.js} +1 -1
- package/www/build/{p-073f24c9.entry.js → p-5ab0be3f.entry.js} +1 -1
- package/www/build/p-609186cd.entry.js +1 -0
- package/www/build/p-62b89a37.js +1 -0
- package/www/build/{p-a19a70a0.entry.js → p-6409024c.js} +1 -1
- package/www/build/p-64256f3d.entry.js +1 -0
- package/www/build/p-64759e9f.js +1 -0
- package/www/build/p-6477d18a.entry.js +1 -0
- package/www/build/{p-0c0735e5.entry.js → p-64acd74d.entry.js} +1 -1
- package/www/build/p-64d902c6.entry.js +1 -0
- package/www/build/p-6d723eea.entry.js +1 -0
- package/www/build/p-74f343ce.js +1 -0
- package/www/build/{p-37e050bd.entry.js → p-75b94adb.js} +1 -1
- package/www/build/{p-022854df.entry.js → p-7d181b0a.entry.js} +1 -1
- package/www/build/p-875dc6a3.js +1 -0
- package/www/build/{p-0418f9fb.entry.js → p-88276662.entry.js} +1 -1
- package/www/build/{p-14c2c56c.js → p-8878929e.js} +1 -1
- package/www/build/{p-dcad3493.entry.js → p-89ad35df.entry.js} +1 -1
- package/{dist/web-components-library/p-ee918c17.js → www/build/p-8c6b1f2c.js} +1 -1
- package/www/build/p-8e334a37.entry.js +1 -0
- package/{dist/web-components-library/p-98df8460.entry.js → www/build/p-8e7891d0.entry.js} +1 -1
- package/www/build/{p-f8f862f9.entry.js → p-91a29198.entry.js} +1 -1
- package/{dist/web-components-library/p-fd8eae32.entry.js → www/build/p-92828b84.entry.js} +1 -1
- package/www/build/{p-227667b6.entry.js → p-94550647.entry.js} +1 -1
- package/www/build/p-97481f35.entry.js +1 -0
- package/www/build/{p-39863e41.entry.js → p-9eafcdd4.entry.js} +1 -1
- package/www/build/p-a13b6a71.entry.js +1 -0
- package/www/build/p-a4254712.entry.js +1 -0
- package/www/build/{p-1cc1a418.js → p-a4711d6d.js} +1 -1
- package/www/build/p-ab4773c6.js +1 -0
- package/www/build/p-ac9881cd.entry.js +1 -0
- package/www/build/{p-cd456854.entry.js → p-b5e790d7.entry.js} +1 -1
- package/www/build/p-b6f0020b.js +1 -0
- package/www/build/{p-39595f7a.entry.js → p-b7d13c6f.entry.js} +1 -1
- package/{dist/web-components-library/p-2f547970.entry.js → www/build/p-b851ced1.entry.js} +1 -1
- package/{dist/web-components-library/p-5825ef19.entry.js → www/build/p-bc8d30ce.entry.js} +1 -1
- package/www/build/{p-6be6a2f4.entry.js → p-c35e1265.entry.js} +1 -1
- package/www/build/p-c76e27b4.entry.js +1 -0
- package/www/build/p-cd14f3f5.entry.js +1 -0
- package/{dist/web-components-library/p-8f7680ef.entry.js → www/build/p-d1e9a84b.entry.js} +1 -1
- package/www/build/{p-e606b019.entry.js → p-d2ed2111.entry.js} +1 -1
- package/www/build/p-d60b4bc5.entry.js +1 -0
- package/www/build/p-dc974567.entry.js +1 -0
- package/www/build/{p-079357ba.entry.js → p-dca95f65.entry.js} +1 -1
- package/{dist/web-components-library/p-2e7da553.entry.js → www/build/p-e6807d13.entry.js} +1 -1
- package/{dist/web-components-library/p-d966a1b9.entry.js → www/build/p-f3da70cd.entry.js} +1 -1
- package/www/build/p-f62ca674.js +1 -0
- package/www/build/p-f6a7b40e.js +1 -0
- package/www/build/p-fb5450a7.js +1 -0
- package/www/build/{p-0b822ad0.entry.js → p-fb9f2761.entry.js} +1 -1
- package/www/build/p-fbcf172a.js +1 -0
- package/{dist/web-components-library/p-fa7a11fd.entry.js → www/build/p-ffbb02d3.entry.js} +1 -1
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/dist/web-components-library/p-0b942851.entry.js +0 -1
- package/dist/web-components-library/p-3be171d0.entry.js +0 -1
- package/dist/web-components-library/p-4610db36.entry.js +0 -1
- package/dist/web-components-library/p-910ca14c.entry.js +0 -1
- package/dist/web-components-library/p-9e400a11.entry.js +0 -1
- package/dist/web-components-library/p-c4417a91.entry.js +0 -1
- package/dist/web-components-library/p-d98d3cf1.entry.js +0 -1
- package/dist/web-components-library/p-eaa4eba8.entry.js +0 -1
- package/dist/web-components-library/p-ec5242da.entry.js +0 -1
- package/www/build/p-0b942851.entry.js +0 -1
- package/www/build/p-3be171d0.entry.js +0 -1
- package/www/build/p-3f4767d7.js +0 -1
- package/www/build/p-4610db36.entry.js +0 -1
- package/www/build/p-910ca14c.entry.js +0 -1
- package/www/build/p-9e400a11.entry.js +0 -1
- package/www/build/p-c4417a91.entry.js +0 -1
- package/www/build/p-d98d3cf1.entry.js +0 -1
- package/www/build/p-eaa4eba8.entry.js +0 -1
- package/www/build/p-ec5242da.entry.js +0 -1
- /package/dist/collection/{components/z-table → deprecated/z-table-deprecated}/z-table-body/styles.css +0 -0
- /package/dist/collection/{components/z-table → deprecated/z-table-deprecated}/z-table-cell/styles.css +0 -0
- /package/dist/collection/{components/z-table → deprecated/z-table-deprecated}/z-table-empty-box/styles.css +0 -0
- /package/dist/collection/{components/z-table → deprecated/z-table-deprecated}/z-table-expanded-row/styles.css +0 -0
- /package/dist/collection/{components/z-table → deprecated/z-table-deprecated}/z-table-footer/styles.css +0 -0
- /package/dist/collection/{components/z-table → deprecated/z-table-deprecated}/z-table-head/styles.css +0 -0
- /package/dist/collection/{components/z-table → deprecated/z-table-deprecated}/z-table-header/styles.css +0 -0
- /package/dist/collection/{components/z-table → deprecated/z-table-deprecated}/z-table-header-row/styles.css +0 -0
- /package/dist/collection/{components/z-table → deprecated/z-table-deprecated}/z-table-row/styles.css +0 -0
- /package/dist/collection/{components/z-table → deprecated/z-table-deprecated}/z-table-sticky-footer/styles.css +0 -0
|
@@ -1,15 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const stylesCss = ".sc-z-table-sticky-footer-h{position:sticky;left:0;display:block;padding:var(--basex2);border-width:var(--border-size-small) 0 var(--border-base);border-style:solid;border-color:var(--gray200);background-color:var(--bg-white);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_table_sticky_footer };
|
|
1
|
+
export { Z as z_table_sticky_footer } from './index-1ae1c122.js';
|
|
2
|
+
import './index-a2ca4b97.js';
|
|
@@ -1,74 +1,60 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-a2ca4b97.js';
|
|
2
|
-
import
|
|
3
|
-
import
|
|
2
|
+
import './index-6d83248c.js';
|
|
3
|
+
import './index-f171ca51.js';
|
|
4
|
+
import './index-a66b7e8a.js';
|
|
5
|
+
import './index-8c7b48bc.js';
|
|
6
|
+
import './utils-d7278f26.js';
|
|
7
|
+
import './index-9c5d63ea.js';
|
|
8
|
+
import './breakpoints-9b81eb1b.js';
|
|
9
|
+
import './index-77b7d7ae.js';
|
|
10
|
+
import './index-fff6ed17.js';
|
|
4
11
|
|
|
5
|
-
const stylesCss = "z-table
|
|
12
|
+
const stylesCss = ":host{--z-table--cells-padding:calc(var(--space-unit) * 2);position:relative;display:block;overflow:auto;max-width:100%;box-sizing:border-box;background-color:var(--color-surface01)}:host([expandable]){--z-table--expand-button-size:40px}:host([bordered]){--z-table--cell-left-border:1px solid var(--color-surface03)}.table{min-width:max-content}";
|
|
6
13
|
|
|
7
14
|
const ZTable = class {
|
|
8
15
|
constructor(hostRef) {
|
|
9
16
|
registerInstance(this, hostRef);
|
|
10
|
-
this.
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
/** Sets table with border */
|
|
17
|
+
this.tableResize = createEvent(this, "tableResize", 7);
|
|
18
|
+
/**
|
|
19
|
+
* Whether the table cells should show a border between them.
|
|
20
|
+
*/
|
|
15
21
|
this.bordered = false;
|
|
16
|
-
/**
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
this.
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
handleResize() {
|
|
30
|
-
this.isMobile = window.innerWidth <= mobileBreakpoint;
|
|
31
|
-
}
|
|
32
|
-
handleOrientationChange() {
|
|
33
|
-
this.isMobile = screen.width <= mobileBreakpoint;
|
|
34
|
-
}
|
|
22
|
+
/**
|
|
23
|
+
* Whether the table contains some expandable rows.
|
|
24
|
+
*/
|
|
25
|
+
this.expandable = false;
|
|
26
|
+
}
|
|
27
|
+
updateExpandable() {
|
|
28
|
+
this.expandable = this.host.querySelectorAll("z-tr[expandable]").length > 0;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Setup table:
|
|
32
|
+
* - create the resize observer for resize event
|
|
33
|
+
* - create mutation observer for expandable attribute
|
|
34
|
+
*/
|
|
35
35
|
componentWillLoad() {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
this.
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
if (this.hasTableBody) {
|
|
55
|
-
return (h(Host, null, h("div", { class: tableClass }, h("slot", { name: "table-header" }), h("div", { class: tableContentClass }, h("slot", { name: "table-body" }), h("z-table-empty-box", { class: this.bordered && "bordered", message: this.message, subtitle: this.subtitle }, !!this.callToActionLabel && (h("z-button", { slot: "cta1", variant: ButtonVariant.TERTIARY, onClick: () => this.callToAction.emit(), size: buttonSize }, this.callToActionLabel)), !!this.callToActionTwoLabel && (h("z-button", { slot: "cta2", variant: ButtonVariant.TERTIARY, onClick: () => this.callToActionTwo.emit(), size: buttonSize }, this.callToActionTwoLabel)))))));
|
|
56
|
-
}
|
|
57
|
-
return (h(Host, null, h("div", { class: tableClass }, h("slot", { name: "table-header" })), h("z-table-empty-box", { class: this.bordered && "bordered", message: this.message, subtitle: this.subtitle }, !!this.callToActionLabel && (h("z-button", { slot: "cta1", variant: ButtonVariant.TERTIARY, onClick: () => this.callToAction.emit(), size: buttonSize }, this.callToActionLabel)), !!this.callToActionTwoLabel && (h("z-button", { slot: "cta2", variant: ButtonVariant.TERTIARY, onClick: () => this.callToActionTwo.emit(), size: buttonSize }, this.callToActionTwoLabel)))));
|
|
36
|
+
this.resizeObserver = new ResizeObserver(() => {
|
|
37
|
+
this.tableResize.emit(this);
|
|
38
|
+
});
|
|
39
|
+
this.resizeObserver.observe(this.host);
|
|
40
|
+
this.expandableMutationObserver = new MutationObserver(() => {
|
|
41
|
+
this.updateExpandable();
|
|
42
|
+
});
|
|
43
|
+
this.expandableMutationObserver.observe(this.host, {
|
|
44
|
+
childList: true,
|
|
45
|
+
subtree: true,
|
|
46
|
+
attributes: true,
|
|
47
|
+
attributeFilter: ["expandable"],
|
|
48
|
+
attributeOldValue: false,
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
disconnectedCallback() {
|
|
52
|
+
this.resizeObserver.disconnect();
|
|
53
|
+
this.expandableMutationObserver.disconnect();
|
|
58
54
|
}
|
|
59
55
|
render() {
|
|
60
|
-
|
|
61
|
-
${this.columnSticky ? "table-column-sticky" : ""}
|
|
62
|
-
${this.headerSticky ? "table-header-sticky" : ""}`;
|
|
63
|
-
if (this.error) {
|
|
64
|
-
return this.renderError(tableClass);
|
|
65
|
-
}
|
|
66
|
-
if (this.empty) {
|
|
67
|
-
return this.renderEmpty(tableClass);
|
|
68
|
-
}
|
|
69
|
-
return (h(Host, null, h("div", { class: tableClass }, h("slot", null)), h("slot", { name: "sticky-footer" })));
|
|
56
|
+
return (h(Host, { expandable: this.expandable }, h("div", { class: "table", role: "table" }, h("slot", null))));
|
|
70
57
|
}
|
|
71
|
-
static get assetsDirs() { return ["assets"]; }
|
|
72
58
|
get host() { return getElement(this); }
|
|
73
59
|
};
|
|
74
60
|
ZTable.style = stylesCss;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-a2ca4b97.js';
|
|
2
|
-
import {
|
|
2
|
+
import { t as ToastNotificationPosition } from './index-9c5d63ea.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host{position:fixed;z-index:10000;display:flex;flex-flow:column nowrap;margin-top:calc(var(--space-unit) * 2);margin-bottom:calc(var(--space-unit) * 2);font-family:var(--font-family-sans);font-weight:var(--font-rg)}::slotted(z-toast-notification){width:100vw}::slotted(:not(:last-child)){margin-bottom:calc(var(--space-unit) * 1)}:host([position=\"bottom-centre\"]),:host([position=\"bottom-right\"]),:host([position=\"bottom-left\"]){bottom:0;align-items:flex-end;justify-content:flex-end}:host([position=\"top-left\"]),:host([position=\"top-right\"]),:host([position=\"top-centre\"]){top:0;align-items:flex-start;justify-content:flex-start}@media only screen and (min-width: 768px){:host{margin:calc(var(--space-unit) * 3)}:host([position=\"top-centre\"]){top:0;left:50%;align-items:center;justify-content:flex-start;transform:translateX(-50%)}:host([position=\"top-left\"]){top:0;left:0;align-items:flex-start;justify-content:flex-start}:host([position=\"top-right\"]){top:0;right:0;align-items:flex-end;justify-content:flex-start}:host([position=\"bottom-centre\"]){bottom:0;left:50%;align-items:center;justify-content:flex-end;transform:translateX(-50%)}:host([position=\"bottom-right\"]){right:0;bottom:0;align-items:flex-end;justify-content:flex-end}:host([position=\"bottom-left\"]){bottom:0;left:0;align-items:flex-start;justify-content:flex-end}::slotted(z-toast-notification){width:50vw}}@media only screen and (min-width: 1366px){:host{margin:calc(var(--space-unit) * 4)}::slotted(z-toast-notification){width:33vw}}";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-a2ca4b97.js';
|
|
2
|
-
import {
|
|
2
|
+
import { s as ToastNotificationTransition } from './index-9c5d63ea.js';
|
|
3
3
|
import { m as mobileBreakpoint } from './breakpoints-9b81eb1b.js';
|
|
4
4
|
import { h as hammer } from './hammer-c3266b17.js';
|
|
5
5
|
import './_commonjsHelpers-9943807e.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-a2ca4b97.js';
|
|
2
|
-
import { r as randomId } from './utils-
|
|
3
|
-
import {
|
|
2
|
+
import { r as randomId } from './utils-d7278f26.js';
|
|
3
|
+
import { k as LabelPosition } from './index-9c5d63ea.js';
|
|
4
4
|
import './breakpoints-9b81eb1b.js';
|
|
5
5
|
|
|
6
6
|
const stylesCss = ".sc-z-toggle-switch-h{position:relative;display:inline-flex;font-family:var(--font-family-sans);font-weight:var(--font-rg)}label.sc-z-toggle-switch{display:flex;flex-direction:row;align-items:center;cursor:pointer}label.disabled.sc-z-toggle-switch{cursor:default}label.right.sc-z-toggle-switch{flex-direction:row-reverse}label.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{color:var(--color-text01);letter-spacing:0}label.left.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-right:var(--space-unit)}label.right.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-left:var(--space-unit)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch{position:relative;top:1px;left:1px;display:flex;width:calc(var(--space-unit) * 4);height:18px;align-items:center;background-color:var(--gray500);border-radius:var(--space-unit);color:var(--gray500);cursor:pointer}label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch,label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch{background-color:var(--color-disabled01);cursor:default}label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch>span.circle.sc-z-toggle-switch>z-icon.sc-z-toggle-switch{fill:var(--color-disabled01)}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch{background-color:var(--color-primary01);fill:var(--color-primary01)}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled){box-shadow:var(--shadow-focus-primary);outline:none}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch{outline:none}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled):hover{background-color:var(--color-hover-primary);fill:var(--color-hover-primary)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{position:absolute;top:1px;left:1px;display:flex;width:calc(var(--space-unit) * 2);height:calc(var(--space-unit) * 2);align-items:center;justify-content:center;margin:0;background-color:var(--color-white);border-radius:7px;box-shadow:var(--shadow-1);transition:transform 0.3s ease}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{transform:translateX(calc(100% - 2px))}input[type=\"checkbox\"].sc-z-toggle-switch{position:absolute;z-index:-1;opacity:0;pointer-events:none}";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-a2ca4b97.js';
|
|
2
|
-
import { P as PopoverPosition } from './index-
|
|
2
|
+
import { P as PopoverPosition } from './index-9c5d63ea.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host{--z-tooltip-theme--surface:var(--color-surface01);--z-tooltip-theme--text:var(--color-text01);--z-tooltip-shadow-filter:drop-shadow(0 1px 2px var(--shadow-color-base))}:host([dark]) z-popover{--z-popover-theme--surface:var(--color-surface05);--z-popover-theme--text:var(--color-text-inverse)}z-popover{--z-popover-padding:var(--space-unit);--z-popover-theme--surface:var(--z-tooltip-theme--surface);--z-popover-theme--text:var(--z-tooltip-theme--text);--z-popover-shadow-filter:var(--z-tooltip-shadow-filter)}";
|
|
5
5
|
|
|
@@ -185,8 +185,7 @@ export declare enum DividerOrientation {
|
|
|
185
185
|
}
|
|
186
186
|
export declare enum SortDirection {
|
|
187
187
|
ASC = "asc",
|
|
188
|
-
DESC = "desc"
|
|
189
|
-
NONE = "none"
|
|
188
|
+
DESC = "desc"
|
|
190
189
|
}
|
|
191
190
|
export declare enum AvatarSize {
|
|
192
191
|
SMALL = "small",
|
|
@@ -199,13 +198,6 @@ export declare enum ListSize {
|
|
|
199
198
|
LARGE = "large",
|
|
200
199
|
X_LARGE = "x-large"
|
|
201
200
|
}
|
|
202
|
-
export declare enum Size {
|
|
203
|
-
X_SMALL = "x-small",
|
|
204
|
-
SMALL = "small",
|
|
205
|
-
MEDIUM = "medium",
|
|
206
|
-
LARGE = "large",
|
|
207
|
-
SPECIAL = "special"
|
|
208
|
-
}
|
|
209
201
|
export declare enum ExpandableListStyle {
|
|
210
202
|
ACCORDION = "accordion",
|
|
211
203
|
MENU = "menu"
|
|
@@ -392,3 +384,7 @@ export declare enum BreadcrumbHomepageVariant {
|
|
|
392
384
|
TEXT = "text",
|
|
393
385
|
ICON = "icon"
|
|
394
386
|
}
|
|
387
|
+
export declare enum VisibilityCondition {
|
|
388
|
+
HOVER = "hover",
|
|
389
|
+
ALWAYS = "always"
|
|
390
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { EventEmitter } from "../../../../stencil-public-runtime";
|
|
2
|
+
import { VisibilityCondition } from "../../../../beans";
|
|
3
|
+
/**
|
|
4
|
+
* ZTd component.
|
|
5
|
+
* @slot - ZTd content.
|
|
6
|
+
*/
|
|
7
|
+
export declare class ZTd {
|
|
8
|
+
host: HTMLZTdElement;
|
|
9
|
+
/**
|
|
10
|
+
* Number of columns that the cell should span.
|
|
11
|
+
*/
|
|
12
|
+
colspan: number;
|
|
13
|
+
/**
|
|
14
|
+
* Whether the cell should stick.
|
|
15
|
+
*/
|
|
16
|
+
sticky: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Enables the contextual menu.
|
|
19
|
+
* Can be set to "hover" or "always" to show the button only on cell hover or always.
|
|
20
|
+
* Set a nullish value to hide the menu button.
|
|
21
|
+
*/
|
|
22
|
+
showMenu: VisibilityCondition;
|
|
23
|
+
/**
|
|
24
|
+
* Store the open state of the menu.
|
|
25
|
+
*/
|
|
26
|
+
isMenuOpen: boolean;
|
|
27
|
+
private menuTrigger;
|
|
28
|
+
private popoverEl;
|
|
29
|
+
/**
|
|
30
|
+
* Emitted when the value of the `colspan` changes.
|
|
31
|
+
*/
|
|
32
|
+
colspanChange: EventEmitter<number>;
|
|
33
|
+
protected updateColspan(): void;
|
|
34
|
+
componentWillLoad(): void;
|
|
35
|
+
render(): HTMLZTdElement;
|
|
36
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { SortDirection, VisibilityCondition } from "../../../../beans";
|
|
2
|
+
/**
|
|
3
|
+
* ZTh component.
|
|
4
|
+
* @slot - ZTh content.
|
|
5
|
+
* @slot contextual-menu - Contextual menu content. Only visible when `showMenu` is true.
|
|
6
|
+
*/
|
|
7
|
+
export declare class ZTh {
|
|
8
|
+
host: HTMLZThElement;
|
|
9
|
+
/**
|
|
10
|
+
* Number of columns that the cell should span.
|
|
11
|
+
*/
|
|
12
|
+
colspan: number;
|
|
13
|
+
/**
|
|
14
|
+
* Enables the contextual menu.
|
|
15
|
+
* Can be set to "hover" or "always" to show the button only on cell hover or always.
|
|
16
|
+
* Set a nullish value to hide the menu button.
|
|
17
|
+
*/
|
|
18
|
+
showMenu: VisibilityCondition;
|
|
19
|
+
/**
|
|
20
|
+
* Whether the cell should stick.
|
|
21
|
+
*/
|
|
22
|
+
sticky: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Current sorting direction.
|
|
25
|
+
* Set `SortDirection.ASC` or `SortDirection.DESC` to show the sort icon.
|
|
26
|
+
*/
|
|
27
|
+
sortDirection?: SortDirection;
|
|
28
|
+
/**
|
|
29
|
+
* Store the open state of the menu.
|
|
30
|
+
*/
|
|
31
|
+
isMenuOpen: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Sort event fired when the user clicks on the sort button.
|
|
34
|
+
* The sorting logic must be implemented by the app.
|
|
35
|
+
* You can set an `id` on the `z-th` to easly identify the column in the event listener.
|
|
36
|
+
*/
|
|
37
|
+
private sort;
|
|
38
|
+
private menuTrigger;
|
|
39
|
+
private popoverEl;
|
|
40
|
+
/**
|
|
41
|
+
* Get the value to set to the `aria-sort` attribute based on the current sort direction.
|
|
42
|
+
*/
|
|
43
|
+
private get ariaSortDirection();
|
|
44
|
+
/**
|
|
45
|
+
* Handle the click on the sort button.
|
|
46
|
+
* @fires sort
|
|
47
|
+
*/
|
|
48
|
+
private handleSort;
|
|
49
|
+
protected updateColspan(): void;
|
|
50
|
+
componentWillLoad(): void;
|
|
51
|
+
render(): HTMLZThElement;
|
|
52
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
+
import "../z-thead/index";
|
|
3
|
+
import "../z-tbody/index";
|
|
4
|
+
import "../z-tr/index";
|
|
5
|
+
import "../z-tfoot/index";
|
|
6
|
+
/**
|
|
7
|
+
* ZTable component.
|
|
8
|
+
* @slot - Table content (`z-thead`, `z-tbody`, `z-tfoot`, `z-tr`).
|
|
9
|
+
* @cssprop --z-table--cells-padding - Padding of the cells.
|
|
10
|
+
*/
|
|
11
|
+
export declare class ZTable {
|
|
12
|
+
host: HTMLZTableElement;
|
|
13
|
+
/**
|
|
14
|
+
* Whether the table cells should show a border between them.
|
|
15
|
+
*/
|
|
16
|
+
bordered: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Whether the table contains some expandable rows.
|
|
19
|
+
*/
|
|
20
|
+
expandable: boolean;
|
|
21
|
+
private updateExpandable;
|
|
22
|
+
/**
|
|
23
|
+
* Table emits its own resize event when it changes size, using a ResizeObserver.
|
|
24
|
+
* This is convenient for sticky cells that needs to update styles when stuck.
|
|
25
|
+
*/
|
|
26
|
+
tableResize: EventEmitter<ZTable>;
|
|
27
|
+
private resizeObserver;
|
|
28
|
+
private expandableMutationObserver;
|
|
29
|
+
/**
|
|
30
|
+
* Setup table:
|
|
31
|
+
* - create the resize observer for resize event
|
|
32
|
+
* - create mutation observer for expandable attribute
|
|
33
|
+
*/
|
|
34
|
+
componentWillLoad(): void;
|
|
35
|
+
disconnectedCallback(): void;
|
|
36
|
+
render(): HTMLZTableElement;
|
|
37
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
+
import "../cells/z-td/index";
|
|
3
|
+
import "../cells/z-th/index";
|
|
4
|
+
/**
|
|
5
|
+
* ZTr component.
|
|
6
|
+
* When the row is `expandable`, you can set the `prevent-expand` css class on an interactive element inside the row
|
|
7
|
+
* to prevent the row from expanding.
|
|
8
|
+
* @slot - ZTr content (`z-td` or `z-th`).
|
|
9
|
+
*/
|
|
10
|
+
export declare class ZTr {
|
|
11
|
+
host: HTMLZTrElement;
|
|
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
|
+
expandable: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Whether the row is currently expanded.
|
|
24
|
+
*/
|
|
25
|
+
expanded: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* HTML Id of the expandable content.
|
|
28
|
+
* It is used to link the button to the content through the `aria-controls` attribute.
|
|
29
|
+
*/
|
|
30
|
+
expandableContentId: string;
|
|
31
|
+
/** Row has been expanded */
|
|
32
|
+
expand: EventEmitter;
|
|
33
|
+
protected updateColumns(): void;
|
|
34
|
+
/**
|
|
35
|
+
* Handle click on row.
|
|
36
|
+
* Skip expansion if the click is on a element with `prevent-expand` css class.
|
|
37
|
+
*/
|
|
38
|
+
private onRowClick;
|
|
39
|
+
componentWillLoad(): void;
|
|
40
|
+
render(): HTMLZTrElement;
|
|
41
|
+
}
|