@zanichelli/albe-web-components 8.1.0-RC1 → 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-10e0d8b7.js → index-4e1850d7.js} +5 -15
- 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 +32 -8
- 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 -14
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-dd90aed2.js → utils-aa00c0cc.js} +1 -1
- package/dist/cjs/{utils-3b4947cd.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 +6 -5
- 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 -15
- package/dist/collection/collection-manifest.json +18 -12
- package/dist/collection/components/inputs/z-input/index.js +3 -2
- package/dist/collection/components/inputs/z-input/styles.css +4 -0
- 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-c53ca6bc.js → index-9c5d63ea.js} +6 -16
- package/dist/esm/index-a2ca4b97.js +32 -8
- 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-412ebe25.js → utils-cd86cb21.js} +1 -1
- package/dist/esm/{utils-4db4ed1f.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 +6 -5
- 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 +4 -13
- package/dist/types/components/buttons/z-button/index.d.ts +0 -0
- package/dist/types/components/buttons/z-button-sort/index.d.ts +0 -0
- package/dist/types/components/buttons/z-chip/index.d.ts +0 -0
- package/dist/types/components/buttons/z-toggle-button/index.d.ts +0 -0
- package/dist/types/components/buttons/z-toggle-switch/index.d.ts +0 -0
- package/dist/types/components/date-picker/utils.d.ts +0 -0
- package/dist/types/components/date-picker/z-date-picker/index.d.ts +0 -0
- package/dist/types/components/date-picker/z-range-picker/index.d.ts +0 -0
- package/dist/types/components/file-upload/z-dragdrop-area/index.d.ts +0 -0
- package/dist/types/components/file-upload/z-file/index.d.ts +0 -0
- package/dist/types/components/file-upload/z-file-upload/index.d.ts +0 -0
- package/dist/types/components/icons/icons.d.ts +0 -0
- package/dist/types/components/icons/z-icon/index.d.ts +0 -0
- package/dist/types/components/index.d.ts +0 -0
- package/dist/types/components/indicators/z-stepper/index.d.ts +0 -0
- package/dist/types/components/indicators/z-stepper-item/index.d.ts +0 -0
- package/dist/types/components/inputs/z-combobox/index.d.ts +0 -0
- package/dist/types/components/inputs/z-input/index.d.ts +0 -0
- package/dist/types/components/inputs/z-input-message/index.d.ts +0 -0
- package/dist/types/components/inputs/z-searchbar/index.d.ts +0 -0
- package/dist/types/components/inputs/z-select/index.d.ts +0 -0
- package/dist/types/components/list/z-list/index.d.ts +0 -0
- package/dist/types/components/list/z-list-element/index.d.ts +0 -0
- package/dist/types/components/list/z-list-group/index.d.ts +0 -0
- package/dist/types/components/list/z-toast-notification-list/index.d.ts +0 -0
- package/dist/types/components/logo/z-logo/index.d.ts +0 -0
- package/dist/types/components/modal/z-modal/index.d.ts +0 -0
- package/dist/types/components/navigation/tabs/z-navigation-tab/index.d.ts +0 -0
- package/dist/types/components/navigation/tabs/z-navigation-tab-link/index.d.ts +0 -0
- package/dist/types/components/navigation/tabs/z-navigation-tabs/index.d.ts +0 -0
- package/dist/types/components/navigation/z-app-header/index.d.ts +0 -0
- package/dist/types/components/navigation/z-link/index.d.ts +0 -0
- package/dist/types/components/navigation/z-menu/index.d.ts +0 -0
- package/dist/types/components/navigation/z-menu-section/index.d.ts +0 -0
- package/dist/types/components/notification/z-info-box/index.d.ts +0 -0
- package/dist/types/components/notification/z-notification/index.d.ts +0 -0
- package/dist/types/components/notification/z-toast-notification/index.d.ts +0 -0
- package/dist/types/components/notification/z-tooltip/index.d.ts +0 -0
- package/dist/types/components/panel/z-panel-elem/index.d.ts +0 -0
- 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/z-anchor-navigation/index.d.ts +0 -0
- package/dist/types/components/z-aria-alert/index.d.ts +0 -0
- package/dist/types/components/z-avatar/index.d.ts +0 -0
- package/dist/types/components/z-card/index.d.ts +0 -0
- package/dist/types/components/z-carousel/index.d.ts +0 -0
- package/dist/types/components/z-contextual-menu/index.d.ts +0 -0
- package/dist/types/components/z-cover-hero/index.d.ts +0 -0
- package/dist/types/components/z-divider/index.d.ts +0 -0
- package/dist/types/components/z-ghost-loading/index.d.ts +0 -0
- package/dist/types/components/z-info-reveal/index.d.ts +0 -0
- package/dist/types/components/z-offcanvas/index.d.ts +0 -0
- package/dist/types/components/z-pagination/index.d.ts +0 -0
- package/dist/types/components/z-popover/index.d.ts +0 -0
- package/dist/types/components/z-section-title/index.d.ts +0 -0
- package/dist/types/components/z-skip-to-content/index.d.ts +0 -0
- package/dist/types/components/z-tag/index.d.ts +0 -0
- package/dist/types/components/z-visually-hidden/index.d.ts +0 -0
- package/dist/types/components.d.ts +244 -118
- package/dist/types/constants/breakpoints.d.ts +0 -0
- package/dist/types/constants/icons.d.ts +0 -0
- 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/types/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/card/z-myz-card-alert/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/card/z-myz-card-body/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/card/z-myz-card-cover/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/card/z-myz-card-dictionary/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/card/z-myz-card-footer/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/card/z-myz-card-footer-sections/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/card/z-myz-card-header/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/card/z-myz-card-icon/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/card/z-myz-card-info/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/card/z-myz-card-list/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/list/z-myz-list/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/list/z-myz-list-item/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/pocket/z-messages-pocket/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/pocket/z-pocket/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/pocket/z-pocket-body/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/pocket/z-pocket-header/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/pocket/z-pocket-message/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/z-alert/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/z-otp/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/z-slideshow/index.d.ts +0 -0
- package/dist/types/stencil-public-runtime.d.ts +0 -0
- package/dist/types/utils/utils.d.ts +0 -0
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/{p-d4afc10f.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-8ff9de86.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-d96d4f30.entry.js → p-15738cb6.entry.js} +1 -1
- package/dist/web-components-library/{p-a0345d42.entry.js → p-15dca231.entry.js} +1 -1
- package/dist/web-components-library/p-1a98992a.entry.js +1 -0
- package/dist/web-components-library/{p-5aee5484.entry.js → p-1d7b6787.entry.js} +1 -1
- package/dist/web-components-library/p-220254b4.entry.js +1 -0
- package/dist/web-components-library/{p-661905c0.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-e663af8b.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-9b4b0fbb.entry.js → p-32c4383b.entry.js} +1 -1
- package/dist/web-components-library/{p-b0141c4d.entry.js → p-33d41e9f.entry.js} +1 -1
- package/{www/build/p-f3fce575.entry.js → dist/web-components-library/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-bee6bf99.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/dist/web-components-library/{p-482c478a.entry.js → p-4df0eb86.entry.js} +1 -1
- package/dist/web-components-library/{p-47c095c2.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-0e92e0d9.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/{www/build/p-d8ea70ed.entry.js → dist/web-components-library/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/{www/build/p-e4d78452.entry.js → dist/web-components-library/p-7d181b0a.entry.js} +1 -1
- package/dist/web-components-library/p-875dc6a3.js +1 -0
- package/dist/web-components-library/{p-0aa025fa.entry.js → p-88276662.entry.js} +1 -1
- package/dist/web-components-library/p-8878929e.js +1 -0
- package/dist/web-components-library/{p-374d6f57.entry.js → p-89ad35df.entry.js} +1 -1
- package/{www/build/p-c18b8fb3.js → dist/web-components-library/p-8c6b1f2c.js} +1 -1
- package/dist/web-components-library/p-8e334a37.entry.js +1 -0
- package/dist/web-components-library/{p-757c4b4d.entry.js → p-8e7891d0.entry.js} +1 -1
- package/dist/web-components-library/{p-e4e5a652.entry.js → p-91a29198.entry.js} +1 -1
- package/dist/web-components-library/{p-e41e28f7.entry.js → p-92828b84.entry.js} +1 -1
- package/dist/web-components-library/{p-89d048ff.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-81e6e4c8.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-a4711d6d.js +1 -0
- 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-ab1799fe.entry.js → p-b5e790d7.entry.js} +1 -1
- package/dist/web-components-library/p-b6f0020b.js +1 -0
- package/dist/web-components-library/{p-3ea868e0.entry.js → p-b7d13c6f.entry.js} +1 -1
- package/{www/build/p-c59c6c78.entry.js → dist/web-components-library/p-b851ced1.entry.js} +1 -1
- package/dist/web-components-library/{p-0f8f488c.entry.js → p-bc8d30ce.entry.js} +1 -1
- package/dist/web-components-library/{p-e7c7ac3d.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/dist/web-components-library/{p-aa228ddb.entry.js → p-d1e9a84b.entry.js} +1 -1
- package/dist/web-components-library/{p-d9c76001.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-29426408.entry.js → p-dca95f65.entry.js} +1 -1
- package/{www/build/p-78c5f1a4.entry.js → dist/web-components-library/p-e6807d13.entry.js} +1 -1
- package/{www/build/p-856c6f33.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-dd515f64.entry.js → p-fb9f2761.entry.js} +1 -1
- package/{www/build/p-a2d11471.entry.js → dist/web-components-library/p-ffbb02d3.entry.js} +1 -1
- package/dist/web-components-library/web-components-library.css +0 -0
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/loader/cdn.js +0 -0
- package/loader/index.cjs.js +0 -0
- package/loader/index.d.ts +0 -0
- package/loader/index.es2017.js +0 -0
- package/loader/index.js +0 -0
- package/loader/package.json +0 -0
- package/package.json +1 -1
- package/react/components.d.ts +7 -1
- package/react/components.js +9 -3
- package/react/components.js.map +1 -1
- package/readme.md +2 -2
- package/www/build/index.esm.js +1 -1
- package/www/build/{p-d4afc10f.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-8ff9de86.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-d96d4f30.entry.js → p-15738cb6.entry.js} +1 -1
- package/www/build/{p-a0345d42.entry.js → p-15dca231.entry.js} +1 -1
- package/www/build/p-1a98992a.entry.js +1 -0
- package/www/build/{p-5aee5484.entry.js → p-1d7b6787.entry.js} +1 -1
- package/www/build/p-220254b4.entry.js +1 -0
- package/www/build/{p-661905c0.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-e663af8b.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-9b4b0fbb.entry.js → p-32c4383b.entry.js} +1 -1
- package/www/build/{p-b0141c4d.entry.js → p-33d41e9f.entry.js} +1 -1
- package/{dist/web-components-library/p-f3fce575.entry.js → www/build/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-bee6bf99.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/www/build/{p-482c478a.entry.js → p-4df0eb86.entry.js} +1 -1
- package/www/build/{p-47c095c2.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-0e92e0d9.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/{dist/web-components-library/p-d8ea70ed.entry.js → www/build/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/{dist/web-components-library/p-e4d78452.entry.js → www/build/p-7d181b0a.entry.js} +1 -1
- package/www/build/p-875dc6a3.js +1 -0
- package/www/build/{p-0aa025fa.entry.js → p-88276662.entry.js} +1 -1
- package/www/build/p-8878929e.js +1 -0
- package/www/build/{p-374d6f57.entry.js → p-89ad35df.entry.js} +1 -1
- package/{dist/web-components-library/p-c18b8fb3.js → www/build/p-8c6b1f2c.js} +1 -1
- package/www/build/p-8e334a37.entry.js +1 -0
- package/www/build/{p-757c4b4d.entry.js → p-8e7891d0.entry.js} +1 -1
- package/www/build/{p-e4e5a652.entry.js → p-91a29198.entry.js} +1 -1
- package/www/build/{p-e41e28f7.entry.js → p-92828b84.entry.js} +1 -1
- package/www/build/{p-89d048ff.entry.js → p-94550647.entry.js} +1 -1
- package/www/build/p-97481f35.entry.js +1 -0
- package/www/build/{p-81e6e4c8.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-a4711d6d.js +1 -0
- package/www/build/p-ab4773c6.js +1 -0
- package/www/build/p-ac9881cd.entry.js +1 -0
- package/www/build/{p-ab1799fe.entry.js → p-b5e790d7.entry.js} +1 -1
- package/www/build/p-b6f0020b.js +1 -0
- package/www/build/{p-3ea868e0.entry.js → p-b7d13c6f.entry.js} +1 -1
- package/{dist/web-components-library/p-c59c6c78.entry.js → www/build/p-b851ced1.entry.js} +1 -1
- package/www/build/{p-0f8f488c.entry.js → p-bc8d30ce.entry.js} +1 -1
- package/www/build/{p-e7c7ac3d.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/www/build/{p-aa228ddb.entry.js → p-d1e9a84b.entry.js} +1 -1
- package/www/build/{p-d9c76001.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-29426408.entry.js → p-dca95f65.entry.js} +1 -1
- package/{dist/web-components-library/p-78c5f1a4.entry.js → www/build/p-e6807d13.entry.js} +1 -1
- package/{dist/web-components-library/p-856c6f33.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-dd515f64.entry.js → p-fb9f2761.entry.js} +1 -1
- package/www/build/p-fbcf172a.js +1 -0
- package/{dist/web-components-library/p-a2d11471.entry.js → www/build/p-ffbb02d3.entry.js} +1 -1
- package/www/build/web-components-library.css +0 -0
- package/www/build/web-components-library.esm.js +1 -1
- package/www/build/web-components-library.js +0 -0
- package/www/host.config.json +0 -0
- package/www/index.html +1 -1
- package/CHANGELOG.md +0 -2575
- package/dist/cjs/z-book-card.cjs.entry.js +0 -115
- package/dist/collection/components/z-book-card/index.js +0 -308
- package/dist/collection/components/z-book-card/styles.css +0 -363
- package/dist/esm/z-book-card.entry.js +0 -111
- package/dist/types/components/z-book-card/index.d.ts +0 -75
- package/dist/web-components-library/p-03ee7c14.entry.js +0 -1
- package/dist/web-components-library/p-095ce6ef.entry.js +0 -1
- package/dist/web-components-library/p-3be171d0.entry.js +0 -1
- package/dist/web-components-library/p-64fa04a0.entry.js +0 -1
- package/dist/web-components-library/p-6a459468.entry.js +0 -1
- package/dist/web-components-library/p-800ca36a.entry.js +0 -1
- package/dist/web-components-library/p-8c3eeb55.js +0 -1
- package/dist/web-components-library/p-9f1b9bbc.entry.js +0 -1
- package/dist/web-components-library/p-c4417a91.entry.js +0 -1
- package/dist/web-components-library/p-d00cf0ff.entry.js +0 -1
- package/dist/web-components-library/p-e936bf5f.entry.js +0 -1
- package/dist/web-components-library/p-eaa4eba8.entry.js +0 -1
- package/dist/web-components-library/p-f0cd78f2.js +0 -1
- package/dist/web-components-library/p-fed42db6.entry.js +0 -1
- package/src-react/index.ts +0 -1
- package/www/build/p-03ee7c14.entry.js +0 -1
- package/www/build/p-095ce6ef.entry.js +0 -1
- package/www/build/p-3be171d0.entry.js +0 -1
- package/www/build/p-64fa04a0.entry.js +0 -1
- package/www/build/p-6a459468.entry.js +0 -1
- package/www/build/p-800ca36a.entry.js +0 -1
- package/www/build/p-8c3eeb55.js +0 -1
- package/www/build/p-9f1b9bbc.entry.js +0 -1
- package/www/build/p-c4417a91.entry.js +0 -1
- package/www/build/p-d00cf0ff.entry.js +0 -1
- package/www/build/p-e936bf5f.entry.js +0 -1
- package/www/build/p-eaa4eba8.entry.js +0 -1
- package/www/build/p-f0cd78f2.js +0 -1
- package/www/build/p-f25c985e.js +0 -1
- package/www/build/p-fed42db6.entry.js +0 -1
- package/www/pages/book-cards.html +0 -269
- /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
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-a2ca4b97.js';
|
|
2
|
+
import { B as ButtonVariant, d as ButtonSize } from './index-9c5d63ea.js';
|
|
3
|
+
import { m as mobileBreakpoint } from './breakpoints-9b81eb1b.js';
|
|
4
|
+
import './index-2c800f19.js';
|
|
5
|
+
import './index-272fc060.js';
|
|
6
|
+
import './index-2cdac489.js';
|
|
7
|
+
import './index-83736b34.js';
|
|
8
|
+
import './index-f98f4ad3.js';
|
|
9
|
+
import './index-0e0fa88d.js';
|
|
10
|
+
import './index-db083023.js';
|
|
11
|
+
import './index-e2c8b8b5.js';
|
|
12
|
+
import './index-16d8ed5b.js';
|
|
13
|
+
import './index-1ae1c122.js';
|
|
14
|
+
import './utils-d7278f26.js';
|
|
15
|
+
|
|
16
|
+
const stylesCss = "z-table-deprecated{display:block;width:100%;background-color:var(--color-white);font-family:var(--dashboard-font);font-weight:var(--font-rg);overflow-x:auto}z-table-deprecated>div.table{display:table;width:100%;border-collapse:separate}z-table-deprecated>div.table-bordered>z-table-body>z-table-row>z-table-cell:not(:last-child),z-table-deprecated>div.table-bordered>z-table-head>z-table-header-row>z-table-header:not(:last-child){border-right:var(--border-size-small) solid var(--bg-grey-200)}z-table-deprecated>div>z-table-body>z-table-row[expandable]>z-table-cell:first-child,z-table-deprecated>div>z-table-head>z-table-header-row[expandable]>z-table-header:first-child{border-right:none}z-table-deprecated>div>z-table-body>z-table-row[expanded]>z-table-cell{background-color:var(--gray50)}z-table-deprecated>div>z-table-body>z-table-row[expanded]+z-table-expanded-row{border-bottom:1px solid var(--gray200)}z-table-deprecated>div.table-column-sticky>z-table-body>z-table-row>z-table-cell:first-child,z-table-deprecated>div.table-column-sticky>z-table-head>z-table-header-row>z-table-header:first-child{position:sticky;z-index:1;left:0;box-shadow:1px 0 4px -1px rgb(66 69 72 / 40%)}z-table-deprecated>div.table-header-sticky>z-table-head>z-table-header-row>z-table-header{position:sticky;z-index:2;top:0;box-shadow:0 2px 3px -3px rgb(66 69 72 / 40%)}z-table-deprecated>div.table-header-sticky>z-table-head>z-table-header-row>z-table-header:first-child,z-table-deprecated>div.table-column-sticky>z-table-head>z-table-header-row>z-table-header:first-child{z-index:5}z-table-body{width:auto;background-color:var(--color-white)}z-table-empty-box{display:flex;flex-direction:column;flex-grow:1;border-bottom:var(--border-size-small) solid var(--bg-grey-200)}z-table-empty-box.bordered{border-left:var(--border-size-small) solid var(--bg-grey-200)}.error-message{margin-top:calc(var(--space-unit) * 2)}.table-content{display:flex;width:100%;flex-direction:row}.error-content{display:flex;padding:calc(var(--space-unit) * 3);font-family:var(--dashboard-font)}.error-content>img{width:244px;height:188px;margin-right:calc(var(--space-unit) * 3)}@media only screen and (max-width: 768px){z-table-deprecated>div.table-empty{display:none}.error-content{display:flex;flex-direction:column}.error-content>img{width:auto;height:auto}.text{padding:calc(var(--space-unit) * 3) 0}}";
|
|
17
|
+
|
|
18
|
+
const ZTableDeprecated = class {
|
|
19
|
+
constructor(hostRef) {
|
|
20
|
+
registerInstance(this, hostRef);
|
|
21
|
+
this.callToAction = createEvent(this, "callToAction", 7);
|
|
22
|
+
this.callToActionTwo = createEvent(this, "callToActionTwo", 7);
|
|
23
|
+
/** Error message */
|
|
24
|
+
this.errorMessage = "Siamo spiacenti, non siamo riusciti a caricare il contenuto richiesto";
|
|
25
|
+
/** Sets table with border */
|
|
26
|
+
this.bordered = false;
|
|
27
|
+
/** Sets first column sticky */
|
|
28
|
+
this.columnSticky = false;
|
|
29
|
+
/** Sets empty table */
|
|
30
|
+
this.empty = false;
|
|
31
|
+
/** Set error status */
|
|
32
|
+
this.error = false;
|
|
33
|
+
/** Sets header sticky */
|
|
34
|
+
this.headerSticky = false;
|
|
35
|
+
/** Set message */
|
|
36
|
+
this.message = "Siamo spiacenti, al momento non sono presenti dati da visualizzare";
|
|
37
|
+
/** Set subtitle */
|
|
38
|
+
this.subtitle = "";
|
|
39
|
+
}
|
|
40
|
+
handleResize() {
|
|
41
|
+
this.isMobile = window.innerWidth <= mobileBreakpoint;
|
|
42
|
+
}
|
|
43
|
+
handleOrientationChange() {
|
|
44
|
+
this.isMobile = screen.width <= mobileBreakpoint;
|
|
45
|
+
}
|
|
46
|
+
componentWillLoad() {
|
|
47
|
+
var _a;
|
|
48
|
+
this.isMobile = window.innerWidth <= mobileBreakpoint;
|
|
49
|
+
const tableBody = this.host.querySelector('[slot="table-body"]');
|
|
50
|
+
this.hasTableBody = !!((_a = tableBody === null || tableBody === void 0 ? void 0 : tableBody.children) === null || _a === void 0 ? void 0 : _a.length);
|
|
51
|
+
if (!!tableBody && !this.hasTableBody) {
|
|
52
|
+
tableBody.remove();
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
componentWillRender() {
|
|
56
|
+
this.host.setAttribute("role", "table");
|
|
57
|
+
}
|
|
58
|
+
renderError(tableClass) {
|
|
59
|
+
const minHeight = this.lines ? `calc(40px * ${this.lines})` : "auto";
|
|
60
|
+
return (h(Host, null, h("div", { class: tableClass }, h("slot", { name: "table-header" })), h("z-table-error", null, h("div", { class: "error-content", style: { minHeight } }, h("slot", { name: "error-image" }), h("div", { class: "text" }, h("span", { class: "body-3-sb error-message" }, this.errorMessage), h("slot", { name: "error-action" }))))));
|
|
61
|
+
}
|
|
62
|
+
renderEmpty(tableClass) {
|
|
63
|
+
const buttonSize = this.isMobile ? ButtonSize.SMALL : ButtonSize.BIG;
|
|
64
|
+
const tableContentClass = `${this.hasTableBody ? "table-content" : ""}`;
|
|
65
|
+
if (this.hasTableBody) {
|
|
66
|
+
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)))))));
|
|
67
|
+
}
|
|
68
|
+
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)))));
|
|
69
|
+
}
|
|
70
|
+
render() {
|
|
71
|
+
const tableClass = `table ${this.empty ? "table-empty" : ""} ${this.bordered ? "table-bordered" : ""}
|
|
72
|
+
${this.columnSticky ? "table-column-sticky" : ""}
|
|
73
|
+
${this.headerSticky ? "table-header-sticky" : ""}`;
|
|
74
|
+
if (this.error) {
|
|
75
|
+
return this.renderError(tableClass);
|
|
76
|
+
}
|
|
77
|
+
if (this.empty) {
|
|
78
|
+
return this.renderEmpty(tableClass);
|
|
79
|
+
}
|
|
80
|
+
return (h(Host, null, h("div", { class: tableClass }, h("slot", null)), h("slot", { name: "sticky-footer" })));
|
|
81
|
+
}
|
|
82
|
+
static get assetsDirs() { return ["assets"]; }
|
|
83
|
+
get host() { return getElement(this); }
|
|
84
|
+
};
|
|
85
|
+
ZTableDeprecated.style = stylesCss;
|
|
86
|
+
|
|
87
|
+
export { ZTableDeprecated as z_table_deprecated };
|
|
@@ -1,27 +1,2 @@
|
|
|
1
|
-
|
|
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(--bg-white)}.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_table_empty_box };
|
|
1
|
+
export { Z as z_table_empty_box } from './index-2cdac489.js';
|
|
2
|
+
import './index-a2ca4b97.js';
|
|
@@ -1,15 +1,2 @@
|
|
|
1
|
-
|
|
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_table_expanded_row };
|
|
1
|
+
export { Z as z_table_expanded_row } from './index-83736b34.js';
|
|
2
|
+
import './index-a2ca4b97.js';
|
|
@@ -1,19 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const stylesCss = ".sc-z-table-footer-h{display:table-footer-group;font-family:var(--dashboard-font);font-weight:var(--font-rg)}";
|
|
4
|
-
|
|
5
|
-
const ZTableFooter = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
}
|
|
9
|
-
componentWillRender() {
|
|
10
|
-
this.host.setAttribute("role", "rowgroup");
|
|
11
|
-
}
|
|
12
|
-
render() {
|
|
13
|
-
return h("slot", null);
|
|
14
|
-
}
|
|
15
|
-
get host() { return getElement(this); }
|
|
16
|
-
};
|
|
17
|
-
ZTableFooter.style = stylesCss;
|
|
18
|
-
|
|
19
|
-
export { ZTableFooter as z_table_footer };
|
|
1
|
+
export { Z as z_table_footer } from './index-f98f4ad3.js';
|
|
2
|
+
import './index-a2ca4b97.js';
|
|
@@ -1,19 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const stylesCss = ".sc-z-table-head-h{display:table-header-group;font-family:var(--dashboard-font);font-weight:var(--font-rg)}";
|
|
4
|
-
|
|
5
|
-
const ZTableHead = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
}
|
|
9
|
-
componentWillRender() {
|
|
10
|
-
this.host.setAttribute("role", "rowgroup");
|
|
11
|
-
}
|
|
12
|
-
render() {
|
|
13
|
-
return h("slot", null);
|
|
14
|
-
}
|
|
15
|
-
get host() { return getElement(this); }
|
|
16
|
-
};
|
|
17
|
-
ZTableHead.style = stylesCss;
|
|
18
|
-
|
|
19
|
-
export { ZTableHead as z_table_head };
|
|
1
|
+
export { Z as z_table_head } from './index-0e0fa88d.js';
|
|
2
|
+
import './index-a2ca4b97.js';
|
|
@@ -1,18 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const stylesCss = "z-table-header-row{display:table-row}z-table-header-row[expandable]>z-table-header:first-child{width:40px;box-sizing:border-box;user-select:none}z-table-header-row[expandable]>z-table-header:nth-child(2){padding-left:8px}";
|
|
4
|
-
|
|
5
|
-
const ZTableHeaderRow = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
}
|
|
9
|
-
renderExpandHeader() {
|
|
10
|
-
return h("z-table-header", null);
|
|
11
|
-
}
|
|
12
|
-
render() {
|
|
13
|
-
return (h(Host, { role: "row" }, this.expandable && this.renderExpandHeader(), h("slot", null)));
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
ZTableHeaderRow.style = stylesCss;
|
|
17
|
-
|
|
18
|
-
export { ZTableHeaderRow as z_table_header_row };
|
|
1
|
+
export { Z as z_table_header_row } from './index-e2c8b8b5.js';
|
|
2
|
+
import './index-a2ca4b97.js';
|
|
@@ -1,78 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
export { Z as z_table_header } from './index-db083023.js';
|
|
2
|
+
import './index-a2ca4b97.js';
|
|
3
|
+
import './index-9c5d63ea.js';
|
|
4
|
+
import './utils-d7278f26.js';
|
|
4
5
|
import './breakpoints-9b81eb1b.js';
|
|
5
|
-
|
|
6
|
-
const stylesCss = ":host{position:relative;display:table-cell;border-bottom:var(--border-size-medium) solid var(--gray200);background-color:var(--gray50);font-family:var(--dashboard-font);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}";
|
|
7
|
-
|
|
8
|
-
const ZTableHeader = class {
|
|
9
|
-
constructor(hostRef) {
|
|
10
|
-
registerInstance(this, hostRef);
|
|
11
|
-
this.sort = createEvent(this, "sort", 7);
|
|
12
|
-
/** Set padding size of cell, if special 0px padding will be set */
|
|
13
|
-
this.padding = Size.MEDIUM;
|
|
14
|
-
/** [Optional] Default sort order */
|
|
15
|
-
this.defaultSortDirection = SortDirection.ASC;
|
|
16
|
-
/** Sort direction */
|
|
17
|
-
this.sortDirection = SortDirection.NONE;
|
|
18
|
-
this.emitOnSort = this.emitOnSort.bind(this);
|
|
19
|
-
}
|
|
20
|
-
emitOnSort() {
|
|
21
|
-
this.sort.emit({
|
|
22
|
-
columnId: this.columnId,
|
|
23
|
-
sortDirection: this.sortDirection,
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
handleSort() {
|
|
27
|
-
if (!this.sortable) {
|
|
28
|
-
return;
|
|
29
|
-
}
|
|
30
|
-
this.sortDirection = (() => {
|
|
31
|
-
switch (this.sortDirection) {
|
|
32
|
-
case SortDirection.ASC:
|
|
33
|
-
return SortDirection.DESC;
|
|
34
|
-
case SortDirection.DESC:
|
|
35
|
-
return SortDirection.ASC;
|
|
36
|
-
case SortDirection.NONE:
|
|
37
|
-
return this.defaultSortDirection;
|
|
38
|
-
default:
|
|
39
|
-
return SortDirection.NONE;
|
|
40
|
-
}
|
|
41
|
-
})();
|
|
42
|
-
this.emitOnSort();
|
|
43
|
-
}
|
|
44
|
-
handleMenuClick() {
|
|
45
|
-
this.popover.open = !this.popover.open;
|
|
46
|
-
}
|
|
47
|
-
handleOutsideClick(e) {
|
|
48
|
-
const tree = getElementTree(e.target);
|
|
49
|
-
const parent = tree.find((elem) => elem.nodeName.toLowerCase() === "z-popover");
|
|
50
|
-
if (!parent && this.popover) {
|
|
51
|
-
this.popover.open = false;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
handleClickHeaders(e) {
|
|
55
|
-
const target = e.target;
|
|
56
|
-
const parent = getElementTree(target).find((elem) => elem.nodeName.toLowerCase() === "z-table-header");
|
|
57
|
-
if (!this.sortable || !parent) {
|
|
58
|
-
return;
|
|
59
|
-
}
|
|
60
|
-
const parentColumnId = parent.attributes.getNamedItem("column-id").value;
|
|
61
|
-
const isSortable = target.parentNode.sortable || target.sortable;
|
|
62
|
-
if (parentColumnId !== this.columnId && isSortable) {
|
|
63
|
-
this.sortDirection = SortDirection.NONE;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
componentWillRender() {
|
|
67
|
-
this.host.setAttribute("role", "columnheader");
|
|
68
|
-
}
|
|
69
|
-
render() {
|
|
70
|
-
return (h(Host, { class: {
|
|
71
|
-
sortable: this.sortable,
|
|
72
|
-
}, onClick: () => this.handleSort() }, h("div", { class: "container" }, h("slot", null), this.sortable && this.sortDirection !== SortDirection.NONE && (h("z-icon", { name: this.sortDirection === 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" })))))));
|
|
73
|
-
}
|
|
74
|
-
get host() { return getElement(this); }
|
|
75
|
-
};
|
|
76
|
-
ZTableHeader.style = stylesCss;
|
|
77
|
-
|
|
78
|
-
export { ZTableHeader as z_table_header };
|
|
@@ -1,39 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
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(--myz-blue-dark)}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_table_row };
|
|
1
|
+
export { Z as z_table_row } from './index-16d8ed5b.js';
|
|
2
|
+
import './index-a2ca4b97.js';
|
|
3
|
+
import './index-9c5d63ea.js';
|
|
@@ -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,8 +384,7 @@ export declare enum BreadcrumbHomepageVariant {
|
|
|
392
384
|
TEXT = "text",
|
|
393
385
|
ICON = "icon"
|
|
394
386
|
}
|
|
395
|
-
export declare enum
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
SEARCH = "search"
|
|
387
|
+
export declare enum VisibilityCondition {
|
|
388
|
+
HOVER = "hover",
|
|
389
|
+
ALWAYS = "always"
|
|
399
390
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|