@ukic/canary-web-components 2.0.0-canary.14 → 2.0.0-canary.16
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/core.cjs.js +1 -1
- package/dist/cjs/{helpers-6d736902.js → helpers-4f5f087e.js} +59 -99
- package/dist/cjs/helpers-4f5f087e.js.map +1 -0
- package/dist/cjs/{helpers-f75cf7cf.js → helpers-fc9441f8.js} +34 -1
- package/dist/cjs/helpers-fc9441f8.js.map +1 -0
- package/dist/cjs/ic-accordion-group.cjs.entry.js +3 -1
- package/dist/cjs/ic-accordion-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-accordion.cjs.entry.js +1 -1
- package/dist/cjs/ic-alert.cjs.entry.js +1 -1
- package/dist/cjs/ic-back-to-top.cjs.entry.js +15 -9
- package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-badge.cjs.entry.js +55 -77
- package/dist/cjs/ic-badge.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +3 -1
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/ic-button_3.cjs.entry.js +14 -14
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card.cjs.entry.js +1 -1
- package/dist/cjs/ic-card.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +23 -16
- package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox.cjs.entry.js +33 -31
- package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-chip.cjs.entry.js +21 -31
- package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-row.cjs.entry.js +1 -1
- package/dist/cjs/ic-data-table-title-bar.cjs.entry.js +57 -0
- package/dist/cjs/ic-data-table-title-bar.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-data-table.cjs.entry.js +163 -36
- package/dist/cjs/ic-data-table.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-date-input.cjs.entry.js +1 -1
- package/dist/cjs/ic-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/ic-dialog.cjs.entry.js +4 -2
- package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-divider.cjs.entry.js +1 -1
- package/dist/cjs/ic-empty-state_2.cjs.entry.js +345 -0
- package/dist/cjs/ic-empty-state_2.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-footer-link-group.cjs.entry.js +2 -2
- package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer-link.cjs.entry.js +1 -1
- package/dist/cjs/ic-footer.cjs.entry.js +2 -2
- package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-hero.cjs.entry.js +3 -2
- package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +2 -3
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-component-container_4.cjs.entry.js +2 -2
- package/dist/cjs/ic-input-component-container_4.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-link.cjs.entry.js +2 -2
- package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-menu-item.cjs.entry.js +4 -10
- package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-menu-with-multi.cjs.entry.js +176 -35
- package/dist/cjs/ic-menu-with-multi.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-menu.cjs.entry.js +4 -4
- package/dist/cjs/ic-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-button.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js +2 -2
- package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-menu.cjs.entry.js +1 -1
- package/dist/cjs/ic-page-header.cjs.entry.js +1 -1
- package/dist/cjs/ic-pagination_4.cjs.entry.js +54 -29
- package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-popover-menu.cjs.entry.js +13 -18
- package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-group.cjs.entry.js +12 -16
- package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js +37 -37
- package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-search-bar.cjs.entry.js +1 -1
- package/dist/cjs/ic-select-with-multi.cjs.entry.js +1 -1
- package/dist/cjs/ic-side-navigation.cjs.entry.js +1 -1
- package/dist/cjs/ic-skeleton.cjs.entry.js +16 -35
- package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-status-tag.cjs.entry.js +1 -1
- package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-step.cjs.entry.js +1 -1
- package/dist/cjs/ic-stepper.cjs.entry.js +1 -1
- package/dist/cjs/ic-switch.cjs.entry.js +2 -2
- package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/ic-tab.cjs.entry.js +2 -2
- package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-theme.cjs.entry.js +13 -15
- package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toast.cjs.entry.js +1 -1
- package/dist/cjs/ic-toggle-button.cjs.entry.js +2 -2
- package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-top-navigation.cjs.entry.js +15 -24
- package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-typography.cjs.entry.js +2 -2
- package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
- package/dist/cjs/index-4cf27b16.js +8 -8
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/ic-data-table/ic-data-table.css +76 -1
- package/dist/collection/components/ic-data-table/ic-data-table.js +372 -53
- package/dist/collection/components/ic-data-table/ic-data-table.js.map +1 -1
- package/dist/collection/components/ic-data-table/ic-data-table.types.js.map +1 -1
- package/dist/collection/components/ic-data-table/story-data.js +262 -4
- package/dist/collection/components/ic-data-table/story-data.js.map +1 -1
- package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js +324 -3
- package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js.map +1 -1
- package/dist/collection/components/ic-data-table-title-bar/ic-data-table-title-bar.css +91 -0
- package/dist/collection/components/ic-data-table-title-bar/ic-data-table-title-bar.js +160 -0
- package/dist/collection/components/ic-data-table-title-bar/ic-data-table-title-bar.js.map +1 -0
- package/dist/collection/components/ic-data-table-title-bar/test/a11y/ic-data-table-title-bar.test.a11y.js +11 -0
- package/dist/collection/components/ic-data-table-title-bar/test/a11y/ic-data-table-title-bar.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-data-table-title-bar/test/basic/ic-data-table-title-bar.spec.js +70 -0
- package/dist/collection/components/ic-data-table-title-bar/test/basic/ic-data-table-title-bar.spec.js.map +1 -0
- package/dist/collection/components/ic-menu-with-multi/ic-menu.js +176 -35
- package/dist/collection/components/ic-menu-with-multi/ic-menu.js.map +1 -1
- package/dist/collection/components/ic-menu-with-multi/test/basic/ic-menu.spec.js +226 -49
- package/dist/collection/components/ic-menu-with-multi/test/basic/ic-menu.spec.js.map +1 -1
- package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js +180 -119
- package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js.map +1 -1
- package/dist/collection/components/ic-pagination-bar/test/basic/ic-pagination-bar.spec.js +56 -11
- package/dist/collection/components/ic-pagination-bar/test/basic/ic-pagination-bar.spec.js.map +1 -1
- package/dist/collection/utils/helpers.js +4 -1
- package/dist/collection/utils/helpers.js.map +1 -1
- package/dist/collection/utils/types.js.map +1 -1
- package/dist/components/helpers.js +57 -97
- package/dist/components/helpers.js.map +1 -1
- package/dist/components/helpers2.js +31 -1
- package/dist/components/helpers2.js.map +1 -1
- package/dist/components/ic-accordion-group.js +2 -1
- package/dist/components/ic-accordion-group.js.map +1 -1
- package/dist/components/ic-back-to-top.js +22 -9
- package/dist/components/ic-back-to-top.js.map +1 -1
- package/dist/components/ic-badge.js +59 -77
- package/dist/components/ic-badge.js.map +1 -1
- package/dist/components/ic-breadcrumb-group.js +2 -0
- package/dist/components/ic-breadcrumb-group.js.map +1 -1
- package/dist/components/ic-button2.js +11 -11
- package/dist/components/ic-button2.js.map +1 -1
- package/dist/components/ic-card.js.map +1 -1
- package/dist/components/ic-checkbox-group.js +26 -16
- package/dist/components/ic-checkbox-group.js.map +1 -1
- package/dist/components/ic-checkbox.js +33 -31
- package/dist/components/ic-checkbox.js.map +1 -1
- package/dist/components/ic-chip.js +21 -31
- package/dist/components/ic-chip.js.map +1 -1
- package/dist/components/ic-data-table-title-bar.d.ts +11 -0
- package/dist/components/ic-data-table-title-bar.js +136 -0
- package/dist/components/ic-data-table-title-bar.js.map +1 -0
- package/dist/components/ic-data-table.js +189 -43
- package/dist/components/ic-data-table.js.map +1 -1
- package/dist/components/ic-date-input2.js +1 -1
- package/dist/components/ic-date-picker.js +1 -1
- package/dist/components/ic-dialog.js +4 -2
- package/dist/components/ic-dialog.js.map +1 -1
- package/dist/components/ic-divider2.js +1 -1
- package/dist/components/ic-empty-state.js +1 -57
- package/dist/components/ic-empty-state.js.map +1 -1
- package/dist/{esm/ic-empty-state.entry.js → components/ic-empty-state2.js} +38 -11
- package/dist/components/ic-empty-state2.js.map +1 -0
- package/dist/components/ic-footer-link-group.js +2 -2
- package/dist/components/ic-footer-link-group.js.map +1 -1
- package/dist/components/ic-footer-link.js +1 -1
- package/dist/components/ic-footer.js +2 -2
- package/dist/components/ic-footer.js.map +1 -1
- package/dist/components/ic-hero.js +3 -2
- package/dist/components/ic-hero.js.map +1 -1
- package/dist/components/ic-horizontal-scroll2.js +1 -2
- package/dist/components/ic-horizontal-scroll2.js.map +1 -1
- package/dist/components/ic-input-component-container2.js +2 -2
- package/dist/components/ic-input-component-container2.js.map +1 -1
- package/dist/components/ic-link2.js +1 -1
- package/dist/components/ic-link2.js.map +1 -1
- package/dist/components/ic-loading-indicator2.js +1 -1
- package/dist/components/ic-loading-indicator2.js.map +1 -1
- package/dist/components/ic-menu-item2.js +4 -10
- package/dist/components/ic-menu-item2.js.map +1 -1
- package/dist/components/ic-menu2.js +3 -3
- package/dist/components/ic-menu2.js.map +1 -1
- package/dist/components/ic-menu3.js +177 -36
- package/dist/components/ic-menu3.js.map +1 -1
- package/dist/components/ic-navigation-button.js +1 -1
- package/dist/components/ic-navigation-group.js +1 -1
- package/dist/components/ic-navigation-item.js +2 -2
- package/dist/components/ic-navigation-item.js.map +1 -1
- package/dist/components/ic-pagination-bar2.js +160 -103
- package/dist/components/ic-pagination-bar2.js.map +1 -1
- package/dist/components/ic-pagination-item2.js +22 -12
- package/dist/components/ic-pagination-item2.js.map +1 -1
- package/dist/components/ic-pagination2.js +23 -8
- package/dist/components/ic-pagination2.js.map +1 -1
- package/dist/components/ic-popover-menu.js +12 -17
- package/dist/components/ic-popover-menu.js.map +1 -1
- package/dist/components/ic-radio-group.js +11 -15
- package/dist/components/ic-radio-group.js.map +1 -1
- package/dist/components/ic-radio-option.js +37 -37
- package/dist/components/ic-radio-option.js.map +1 -1
- package/dist/components/ic-search-bar.js +1 -1
- package/dist/components/ic-select-with-multi.js +1 -1
- package/dist/components/ic-select2.js +10 -6
- package/dist/components/ic-select2.js.map +1 -1
- package/dist/components/ic-side-navigation.js +1 -1
- package/dist/components/ic-skeleton.js +17 -40
- package/dist/components/ic-skeleton.js.map +1 -1
- package/dist/components/ic-status-tag.js.map +1 -1
- package/dist/components/ic-switch.js +1 -1
- package/dist/components/ic-switch.js.map +1 -1
- package/dist/components/ic-tab.js +1 -1
- package/dist/components/ic-tab.js.map +1 -1
- package/dist/components/ic-text-field2.js +8 -8
- package/dist/components/ic-text-field2.js.map +1 -1
- package/dist/components/ic-theme.js +13 -15
- package/dist/components/ic-theme.js.map +1 -1
- package/dist/components/ic-toggle-button.js +1 -1
- package/dist/components/ic-toggle-button.js.map +1 -1
- package/dist/components/ic-tooltip2.js +1 -1
- package/dist/components/ic-tooltip2.js.map +1 -1
- package/dist/components/ic-top-navigation.js +15 -24
- package/dist/components/ic-top-navigation.js.map +1 -1
- package/dist/components/ic-typography2.js +1 -1
- package/dist/components/ic-typography2.js.map +1 -1
- package/dist/core/core.css +2 -2
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/p-0e51d58e.entry.js +2 -0
- package/dist/core/p-0e51d58e.entry.js.map +1 -0
- package/dist/core/{p-4fd58768.entry.js → p-11b243c9.entry.js} +2 -2
- package/dist/core/{p-4bd13376.entry.js → p-185e91f0.entry.js} +2 -2
- package/dist/core/p-185e91f0.entry.js.map +1 -0
- package/dist/core/p-1a45f961.entry.js +2 -0
- package/dist/core/{p-e8151d13.entry.js.map → p-1a45f961.entry.js.map} +1 -1
- package/dist/core/p-1b4f852c.js +2 -0
- package/dist/core/p-1b4f852c.js.map +1 -0
- package/dist/core/{p-4ad3012a.entry.js → p-1fb48c84.entry.js} +2 -2
- package/dist/core/{p-6dce8e88.entry.js → p-1fff20ce.entry.js} +2 -2
- package/dist/core/p-1fff20ce.entry.js.map +1 -0
- package/dist/core/{p-1a91e842.entry.js → p-201ec29e.entry.js} +2 -2
- package/dist/core/{p-1a91e842.entry.js.map → p-201ec29e.entry.js.map} +1 -1
- package/dist/core/p-20d4ded5.js +2 -0
- package/dist/core/p-20d4ded5.js.map +1 -0
- package/dist/core/p-20f244ad.entry.js +2 -0
- package/dist/core/p-20f244ad.entry.js.map +1 -0
- package/dist/core/p-2536b95b.entry.js +2 -0
- package/dist/core/p-2536b95b.entry.js.map +1 -0
- package/dist/core/{p-730f058b.entry.js → p-25bbf4be.entry.js} +2 -2
- package/dist/core/p-25bbf4be.entry.js.map +1 -0
- package/dist/core/p-303dc008.entry.js +2 -0
- package/dist/core/p-303dc008.entry.js.map +1 -0
- package/dist/core/p-3484b15b.entry.js +2 -0
- package/dist/core/p-3484b15b.entry.js.map +1 -0
- package/dist/core/{p-aabab75f.entry.js → p-3fa986f8.entry.js} +2 -2
- package/dist/core/{p-f8f36680.entry.js → p-450f72b2.entry.js} +2 -2
- package/dist/core/{p-8b820365.entry.js → p-48c39d2a.entry.js} +2 -2
- package/dist/core/{p-a2dc10d8.entry.js → p-4aac2373.entry.js} +2 -2
- package/dist/core/{p-db3a35fb.entry.js → p-5201cd2b.entry.js} +2 -2
- package/dist/core/{p-db3a35fb.entry.js.map → p-5201cd2b.entry.js.map} +1 -1
- package/dist/core/p-53aeca18.entry.js +2 -0
- package/dist/core/p-53aeca18.entry.js.map +1 -0
- package/dist/core/{p-6eb58b0a.entry.js → p-5447f2fd.entry.js} +2 -2
- package/dist/core/{p-e1963c78.entry.js → p-5a5a52d3.entry.js} +2 -2
- package/dist/core/p-5a5a52d3.entry.js.map +1 -0
- package/dist/core/{p-946625a3.entry.js → p-60494f69.entry.js} +2 -2
- package/dist/core/p-60494f69.entry.js.map +1 -0
- package/dist/core/p-646b886c.entry.js +2 -0
- package/dist/core/p-646b886c.entry.js.map +1 -0
- package/dist/core/p-6996b750.entry.js +2 -0
- package/dist/core/p-6996b750.entry.js.map +1 -0
- package/dist/core/{p-849f43c3.entry.js → p-7114ae3b.entry.js} +2 -2
- package/dist/core/{p-494c3cbe.entry.js → p-71ddb6d9.entry.js} +2 -2
- package/dist/core/{p-baf81f30.entry.js → p-787ffd96.entry.js} +2 -2
- package/dist/core/p-787ffd96.entry.js.map +1 -0
- package/dist/core/p-7c569c2d.entry.js +2 -0
- package/dist/core/p-7c569c2d.entry.js.map +1 -0
- package/dist/core/{p-c621d6b0.entry.js → p-7f6de032.entry.js} +2 -2
- package/dist/core/p-7f6de032.entry.js.map +1 -0
- package/dist/core/{p-c14a897d.entry.js → p-7fe37432.entry.js} +2 -2
- package/dist/core/{p-9567c117.entry.js → p-86e679ab.entry.js} +2 -2
- package/dist/core/{p-a8c15117.entry.js → p-87075008.entry.js} +2 -2
- package/dist/core/p-895472da.entry.js +2 -0
- package/dist/core/p-895472da.entry.js.map +1 -0
- package/dist/core/{p-00bd7919.entry.js → p-8a67e960.entry.js} +2 -2
- package/dist/core/{p-9d8883d7.entry.js → p-8ccb23bd.entry.js} +2 -2
- package/dist/core/{p-9d8883d7.entry.js.map → p-8ccb23bd.entry.js.map} +1 -1
- package/dist/core/{p-d2d63a61.entry.js → p-9c22b14f.entry.js} +2 -2
- package/dist/core/{p-d2d63a61.entry.js.map → p-9c22b14f.entry.js.map} +1 -1
- package/dist/core/{p-19c1e271.entry.js → p-a1df23b4.entry.js} +2 -2
- package/dist/core/p-a1df23b4.entry.js.map +1 -0
- package/dist/core/{p-3dcc61cc.entry.js → p-a821c21f.entry.js} +2 -2
- package/dist/core/{p-3dcc61cc.entry.js.map → p-a821c21f.entry.js.map} +1 -1
- package/dist/core/{p-cca482e2.entry.js → p-b3b834b3.entry.js} +2 -2
- package/dist/core/p-b3b834b3.entry.js.map +1 -0
- package/dist/core/p-b4949e9a.entry.js +2 -0
- package/dist/core/p-b4949e9a.entry.js.map +1 -0
- package/dist/core/p-b7c644d1.entry.js +2 -0
- package/dist/core/p-b7c644d1.entry.js.map +1 -0
- package/dist/core/{p-0af27517.entry.js → p-b94ef8de.entry.js} +2 -2
- package/dist/core/p-ba1c1804.entry.js +2 -0
- package/dist/core/p-ba1c1804.entry.js.map +1 -0
- package/dist/core/{p-7fda2f94.entry.js → p-bbb1ce94.entry.js} +2 -2
- package/dist/core/p-bda7d350.entry.js +2 -0
- package/dist/core/p-bda7d350.entry.js.map +1 -0
- package/dist/core/{p-8b1f9648.entry.js → p-c5147498.entry.js} +2 -2
- package/dist/core/{p-ff6f1e3a.entry.js → p-d3a13342.entry.js} +2 -2
- package/dist/core/{p-843bdaae.entry.js → p-d4fed5f6.entry.js} +2 -2
- package/dist/core/p-d4fed5f6.entry.js.map +1 -0
- package/dist/core/p-d6ad82d8.entry.js +2 -0
- package/dist/core/p-d6ad82d8.entry.js.map +1 -0
- package/dist/core/{p-a05755b1.entry.js → p-d79bfead.entry.js} +2 -2
- package/dist/core/{p-a05755b1.entry.js.map → p-d79bfead.entry.js.map} +1 -1
- package/dist/core/p-db5c4969.entry.js +2 -0
- package/dist/core/{p-06c27edb.entry.js.map → p-db5c4969.entry.js.map} +1 -1
- package/dist/core/{p-957de939.entry.js → p-dd787b5b.entry.js} +2 -2
- package/dist/core/p-e42b66d5.entry.js +2 -0
- package/dist/core/p-e42b66d5.entry.js.map +1 -0
- package/dist/core/{p-9528b29e.entry.js → p-e4e89a4d.entry.js} +2 -2
- package/dist/core/{p-e16f73ba.entry.js → p-f704629e.entry.js} +2 -2
- package/dist/core/p-f704629e.entry.js.map +1 -0
- package/dist/core/p-fae5b518.entry.js +2 -0
- package/dist/core/p-fae5b518.entry.js.map +1 -0
- package/dist/core/{p-00c5639e.entry.js → p-ff697d68.entry.js} +2 -2
- package/dist/core/p-ff697d68.entry.js.map +1 -0
- package/dist/esm/core.js +1 -1
- package/dist/esm/{helpers-f328a7b6.js → helpers-1cd71f8a.js} +32 -2
- package/dist/esm/helpers-1cd71f8a.js.map +1 -0
- package/dist/esm/{helpers-c34e4042.js → helpers-84d21612.js} +58 -98
- package/dist/esm/helpers-84d21612.js.map +1 -0
- package/dist/esm/ic-accordion-group.entry.js +3 -1
- package/dist/esm/ic-accordion-group.entry.js.map +1 -1
- package/dist/esm/ic-accordion.entry.js +1 -1
- package/dist/esm/ic-alert.entry.js +1 -1
- package/dist/esm/ic-back-to-top.entry.js +15 -9
- package/dist/esm/ic-back-to-top.entry.js.map +1 -1
- package/dist/esm/ic-badge.entry.js +55 -77
- package/dist/esm/ic-badge.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb-group.entry.js +3 -1
- package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb.entry.js +1 -1
- package/dist/esm/ic-button_3.entry.js +14 -14
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-card.entry.js +1 -1
- package/dist/esm/ic-card.entry.js.map +1 -1
- package/dist/esm/ic-checkbox-group.entry.js +23 -16
- package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
- package/dist/esm/ic-checkbox.entry.js +33 -31
- package/dist/esm/ic-checkbox.entry.js.map +1 -1
- package/dist/esm/ic-chip.entry.js +21 -31
- package/dist/esm/ic-chip.entry.js.map +1 -1
- package/dist/esm/ic-data-row.entry.js +1 -1
- package/dist/esm/ic-data-table-title-bar.entry.js +53 -0
- package/dist/esm/ic-data-table-title-bar.entry.js.map +1 -0
- package/dist/esm/ic-data-table.entry.js +164 -37
- package/dist/esm/ic-data-table.entry.js.map +1 -1
- package/dist/esm/ic-date-input.entry.js +1 -1
- package/dist/esm/ic-date-picker.entry.js +1 -1
- package/dist/esm/ic-dialog.entry.js +4 -2
- package/dist/esm/ic-dialog.entry.js.map +1 -1
- package/dist/esm/ic-divider.entry.js +1 -1
- package/dist/esm/ic-empty-state_2.entry.js +340 -0
- package/dist/esm/ic-empty-state_2.entry.js.map +1 -0
- package/dist/esm/ic-footer-link-group.entry.js +2 -2
- package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
- package/dist/esm/ic-footer-link.entry.js +1 -1
- package/dist/esm/ic-footer.entry.js +2 -2
- package/dist/esm/ic-footer.entry.js.map +1 -1
- package/dist/esm/ic-hero.entry.js +3 -2
- package/dist/esm/ic-hero.entry.js.map +1 -1
- package/dist/esm/ic-horizontal-scroll.entry.js +2 -3
- package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
- package/dist/esm/ic-input-component-container_4.entry.js +2 -2
- package/dist/esm/ic-input-component-container_4.entry.js.map +1 -1
- package/dist/esm/ic-link.entry.js +2 -2
- package/dist/esm/ic-link.entry.js.map +1 -1
- package/dist/esm/ic-menu-group.entry.js +1 -1
- package/dist/esm/ic-menu-item.entry.js +4 -10
- package/dist/esm/ic-menu-item.entry.js.map +1 -1
- package/dist/esm/ic-menu-with-multi.entry.js +176 -35
- package/dist/esm/ic-menu-with-multi.entry.js.map +1 -1
- package/dist/esm/ic-menu.entry.js +4 -4
- package/dist/esm/ic-menu.entry.js.map +1 -1
- package/dist/esm/ic-navigation-button.entry.js +1 -1
- package/dist/esm/ic-navigation-group.entry.js +1 -1
- package/dist/esm/ic-navigation-item.entry.js +2 -2
- package/dist/esm/ic-navigation-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-menu.entry.js +1 -1
- package/dist/esm/ic-page-header.entry.js +1 -1
- package/dist/esm/ic-pagination_4.entry.js +54 -29
- package/dist/esm/ic-pagination_4.entry.js.map +1 -1
- package/dist/esm/ic-popover-menu.entry.js +13 -18
- package/dist/esm/ic-popover-menu.entry.js.map +1 -1
- package/dist/esm/ic-radio-group.entry.js +12 -16
- package/dist/esm/ic-radio-group.entry.js.map +1 -1
- package/dist/esm/ic-radio-option.entry.js +37 -37
- package/dist/esm/ic-radio-option.entry.js.map +1 -1
- package/dist/esm/ic-search-bar.entry.js +1 -1
- package/dist/esm/ic-select-with-multi.entry.js +1 -1
- package/dist/esm/ic-side-navigation.entry.js +1 -1
- package/dist/esm/ic-skeleton.entry.js +16 -35
- package/dist/esm/ic-skeleton.entry.js.map +1 -1
- package/dist/esm/ic-status-tag.entry.js +1 -1
- package/dist/esm/ic-status-tag.entry.js.map +1 -1
- package/dist/esm/ic-step.entry.js +1 -1
- package/dist/esm/ic-stepper.entry.js +1 -1
- package/dist/esm/ic-switch.entry.js +2 -2
- package/dist/esm/ic-switch.entry.js.map +1 -1
- package/dist/esm/ic-tab-group.entry.js +1 -1
- package/dist/esm/ic-tab-panel.entry.js +1 -1
- package/dist/esm/ic-tab.entry.js +2 -2
- package/dist/esm/ic-tab.entry.js.map +1 -1
- package/dist/esm/ic-theme.entry.js +13 -15
- package/dist/esm/ic-theme.entry.js.map +1 -1
- package/dist/esm/ic-toast.entry.js +1 -1
- package/dist/esm/ic-toggle-button.entry.js +2 -2
- package/dist/esm/ic-toggle-button.entry.js.map +1 -1
- package/dist/esm/ic-top-navigation.entry.js +15 -24
- package/dist/esm/ic-top-navigation.entry.js.map +1 -1
- package/dist/esm/ic-typography.entry.js +2 -2
- package/dist/esm/ic-typography.entry.js.map +1 -1
- package/dist/esm/index-93509377.js +8 -8
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/ic-data-table/ic-data-table.d.ts +79 -13
- package/dist/types/components/ic-data-table/ic-data-table.types.d.ts +9 -0
- package/dist/types/components/ic-data-table/story-data.d.ts +59 -0
- package/dist/types/components/ic-data-table-title-bar/ic-data-table-title-bar.d.ts +36 -0
- package/dist/types/components/ic-data-table-title-bar/test/a11y/ic-data-table-title-bar.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-menu-with-multi/ic-menu.d.ts +10 -0
- package/dist/types/components/ic-pagination-bar/ic-pagination-bar.d.ts +33 -13
- package/dist/types/components.d.ts +211 -46
- package/dist/types/utils/helpers.d.ts +1 -0
- package/dist/types/utils/types.d.ts +21 -5
- package/hydrate/index.js +1414 -1058
- package/package.json +3 -3
- package/dist/cjs/helpers-6d736902.js.map +0 -1
- package/dist/cjs/helpers-f75cf7cf.js.map +0 -1
- package/dist/cjs/ic-empty-state.cjs.entry.js +0 -38
- package/dist/cjs/ic-empty-state.cjs.entry.js.map +0 -1
- package/dist/cjs/ic-pagination-bar.cjs.entry.js +0 -269
- package/dist/cjs/ic-pagination-bar.cjs.entry.js.map +0 -1
- package/dist/collection/components/ic-pagination/ic-pagination.types.js +0 -2
- package/dist/collection/components/ic-pagination/ic-pagination.types.js.map +0 -1
- package/dist/core/p-00c5639e.entry.js.map +0 -1
- package/dist/core/p-06c27edb.entry.js +0 -2
- package/dist/core/p-162f3e36.entry.js +0 -2
- package/dist/core/p-162f3e36.entry.js.map +0 -1
- package/dist/core/p-19c1e271.entry.js.map +0 -1
- package/dist/core/p-1c3bd46d.entry.js +0 -2
- package/dist/core/p-1c3bd46d.entry.js.map +0 -1
- package/dist/core/p-2c9d6334.entry.js +0 -2
- package/dist/core/p-2c9d6334.entry.js.map +0 -1
- package/dist/core/p-3e9a8977.entry.js +0 -2
- package/dist/core/p-3e9a8977.entry.js.map +0 -1
- package/dist/core/p-41b682dc.entry.js +0 -2
- package/dist/core/p-41b682dc.entry.js.map +0 -1
- package/dist/core/p-4bd13376.entry.js.map +0 -1
- package/dist/core/p-6dce8e88.entry.js.map +0 -1
- package/dist/core/p-730f058b.entry.js.map +0 -1
- package/dist/core/p-7f53d1be.entry.js +0 -2
- package/dist/core/p-7f53d1be.entry.js.map +0 -1
- package/dist/core/p-843bdaae.entry.js.map +0 -1
- package/dist/core/p-946625a3.entry.js.map +0 -1
- package/dist/core/p-99bf38e3.entry.js +0 -2
- package/dist/core/p-99bf38e3.entry.js.map +0 -1
- package/dist/core/p-9e3178e8.entry.js +0 -2
- package/dist/core/p-9e3178e8.entry.js.map +0 -1
- package/dist/core/p-a1556d97.entry.js +0 -2
- package/dist/core/p-a1556d97.entry.js.map +0 -1
- package/dist/core/p-baf81f30.entry.js.map +0 -1
- package/dist/core/p-c621d6b0.entry.js.map +0 -1
- package/dist/core/p-c7590421.entry.js +0 -2
- package/dist/core/p-c7590421.entry.js.map +0 -1
- package/dist/core/p-c953edb9.entry.js +0 -2
- package/dist/core/p-c953edb9.entry.js.map +0 -1
- package/dist/core/p-cca482e2.entry.js.map +0 -1
- package/dist/core/p-cd799087.js +0 -2
- package/dist/core/p-cd799087.js.map +0 -1
- package/dist/core/p-d32d331b.entry.js +0 -2
- package/dist/core/p-d32d331b.entry.js.map +0 -1
- package/dist/core/p-dc5e1f8f.entry.js +0 -2
- package/dist/core/p-dc5e1f8f.entry.js.map +0 -1
- package/dist/core/p-e16f73ba.entry.js.map +0 -1
- package/dist/core/p-e189f1d0.entry.js +0 -2
- package/dist/core/p-e189f1d0.entry.js.map +0 -1
- package/dist/core/p-e1963c78.entry.js.map +0 -1
- package/dist/core/p-e8151d13.entry.js +0 -2
- package/dist/core/p-ee765ad5.js +0 -2
- package/dist/core/p-ee765ad5.js.map +0 -1
- package/dist/core/p-f2147136.entry.js +0 -2
- package/dist/core/p-f2147136.entry.js.map +0 -1
- package/dist/core/p-fca46bd9.entry.js +0 -2
- package/dist/core/p-fca46bd9.entry.js.map +0 -1
- package/dist/core/p-ff3a01f3.entry.js +0 -2
- package/dist/core/p-ff3a01f3.entry.js.map +0 -1
- package/dist/esm/helpers-c34e4042.js.map +0 -1
- package/dist/esm/helpers-f328a7b6.js.map +0 -1
- package/dist/esm/ic-empty-state.entry.js.map +0 -1
- package/dist/esm/ic-pagination-bar.entry.js +0 -265
- package/dist/esm/ic-pagination-bar.entry.js.map +0 -1
- package/dist/types/components/ic-pagination/ic-pagination.types.d.ts +0 -6
- /package/dist/core/{p-4fd58768.entry.js.map → p-11b243c9.entry.js.map} +0 -0
- /package/dist/core/{p-4ad3012a.entry.js.map → p-1fb48c84.entry.js.map} +0 -0
- /package/dist/core/{p-aabab75f.entry.js.map → p-3fa986f8.entry.js.map} +0 -0
- /package/dist/core/{p-f8f36680.entry.js.map → p-450f72b2.entry.js.map} +0 -0
- /package/dist/core/{p-8b820365.entry.js.map → p-48c39d2a.entry.js.map} +0 -0
- /package/dist/core/{p-a2dc10d8.entry.js.map → p-4aac2373.entry.js.map} +0 -0
- /package/dist/core/{p-6eb58b0a.entry.js.map → p-5447f2fd.entry.js.map} +0 -0
- /package/dist/core/{p-849f43c3.entry.js.map → p-7114ae3b.entry.js.map} +0 -0
- /package/dist/core/{p-494c3cbe.entry.js.map → p-71ddb6d9.entry.js.map} +0 -0
- /package/dist/core/{p-c14a897d.entry.js.map → p-7fe37432.entry.js.map} +0 -0
- /package/dist/core/{p-9567c117.entry.js.map → p-86e679ab.entry.js.map} +0 -0
- /package/dist/core/{p-a8c15117.entry.js.map → p-87075008.entry.js.map} +0 -0
- /package/dist/core/{p-00bd7919.entry.js.map → p-8a67e960.entry.js.map} +0 -0
- /package/dist/core/{p-0af27517.entry.js.map → p-b94ef8de.entry.js.map} +0 -0
- /package/dist/core/{p-7fda2f94.entry.js.map → p-bbb1ce94.entry.js.map} +0 -0
- /package/dist/core/{p-8b1f9648.entry.js.map → p-c5147498.entry.js.map} +0 -0
- /package/dist/core/{p-ff6f1e3a.entry.js.map → p-d3a13342.entry.js.map} +0 -0
- /package/dist/core/{p-957de939.entry.js.map → p-dd787b5b.entry.js.map} +0 -0
- /package/dist/core/{p-9528b29e.entry.js.map → p-e4e89a4d.entry.js.map} +0 -0
@@ -1,14 +1,37 @@
|
|
1
|
-
|
1
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
2
|
+
import { h, Fragment, } from "@stencil/core";
|
2
3
|
import unsortedIcon from "./assets/unsorted-icon.svg";
|
3
4
|
import ascendingIcon from "./assets/ascending-icon.svg";
|
4
5
|
import descendingIcon from "./assets/descending-icon.svg";
|
6
|
+
// Unable to import helper functions via @ukic/web-components
|
7
|
+
import { getSlotContent, isSlotUsed } from "../../utils/helpers";
|
8
|
+
/**
|
9
|
+
* @slot empty-state - Content is slotted below the table header when there is no data and the table is not loading.
|
10
|
+
* @slot {COLUMN_KEY}-{ROW_INDEX}[-icon] - Each cell should have its own slot, named using the column tag and the row index, allowing for custom elements to be displayed. Include `-icon` at the end for that cell's icon slot.
|
11
|
+
* @slot {COLUMN_KEY}-column-icon - The icon slot for a column header.
|
12
|
+
* @slot title-bar - A custom ic-data-table-title-bar can be slotted above the column headers to display additional information about the table.
|
13
|
+
*/
|
5
14
|
export class DataTable {
|
6
15
|
constructor() {
|
16
|
+
this.DENSITY_HEIGHT_MULTIPLIER = {
|
17
|
+
dense: 0.8,
|
18
|
+
default: 1,
|
19
|
+
spacious: 1.2,
|
20
|
+
};
|
7
21
|
this.SORT_ICONS = {
|
8
22
|
unsorted: unsortedIcon,
|
9
23
|
ascending: ascendingIcon,
|
10
24
|
descending: descendingIcon,
|
11
25
|
};
|
26
|
+
this.hasLoadedForOneSecond = true;
|
27
|
+
this.startLoadingTimer = () => {
|
28
|
+
this.hasLoadedForOneSecond = false;
|
29
|
+
this.timerStarted = Date.now();
|
30
|
+
setTimeout(() => {
|
31
|
+
this.hasLoadedForOneSecond = true;
|
32
|
+
this.timerStarted = null;
|
33
|
+
}, this.minimumLoadingDisplayDuration);
|
34
|
+
};
|
12
35
|
this.isObject = (value) => typeof value === "object";
|
13
36
|
this.notDefaultDensity = () => this.density !== "default";
|
14
37
|
this.getCellContent = (cell, dataType) => {
|
@@ -26,7 +49,11 @@ export class DataTable {
|
|
26
49
|
return this.getObjectValue(this.getObjectValue(cell, "cellAlignment"), alignment);
|
27
50
|
}
|
28
51
|
};
|
29
|
-
this.
|
52
|
+
this.createUpdatingIndicator = () => {
|
53
|
+
const { appearance, description, max, min, progress } = this.updatingOptions || {};
|
54
|
+
return (h("th", { colSpan: this.columns.length, class: "updating-state" }, h("ic-loading-indicator", { appearance: appearance, description: description || "Updating table data", fullWidth: true, max: max, min: min, progress: progress, type: "linear", size: "small" })));
|
55
|
+
};
|
56
|
+
this.createCells = (row, rowIndex) => {
|
30
57
|
const rowValues = Object.values(row);
|
31
58
|
const rowKeys = Object.keys(row);
|
32
59
|
let rowAlignment;
|
@@ -37,43 +64,56 @@ export class DataTable {
|
|
37
64
|
rowEmphasis = this.getObjectValue(rowValues[headerIndex], "emphasis");
|
38
65
|
}
|
39
66
|
return rowValues.map((cell, index) => {
|
40
|
-
|
67
|
+
var _a, _b, _c, _d, _e;
|
68
|
+
const columnProps = this.columns[index];
|
69
|
+
const cellSlotName = `${columnProps === null || columnProps === void 0 ? void 0 : columnProps.key}-${rowIndex}`;
|
70
|
+
const hasIcon = this.isObject(cell) && Object.keys(cell).includes("icon");
|
41
71
|
const cellValue = (key) => this.getObjectValue(cell, key);
|
42
72
|
return rowKeys[index] === "header" ? (h("th", { scope: "row", colSpan: cellValue("colspan"), class: {
|
43
73
|
["row-header"]: true,
|
44
74
|
[`row-header-alignment-${cellValue("cellAlignment")}`]: !!cellValue("cellAlignment"),
|
45
75
|
["row-header-sticky"]: this.stickyRowHeaders,
|
46
|
-
} }, cellValue("title"))) : (h("td", {
|
76
|
+
} }, cellValue("title"))) : (h("td", { class: {
|
47
77
|
["table-cell"]: true,
|
48
78
|
[`table-density-${this.density}`]: this.notDefaultDensity(),
|
49
|
-
[`data-type-${dataType}`]: true,
|
50
|
-
[`cell-alignment-${(
|
51
|
-
this.getCellAlignment(cell, "horizontal")}`]: !!(columnAlignment === null || columnAlignment === void 0 ? void 0 : columnAlignment.horizontal) ||
|
52
|
-
!!this.getCellAlignment(cell, "horizontal"),
|
53
|
-
[`cell-alignment-${(columnAlignment === null || columnAlignment === void 0 ? void 0 : columnAlignment.vertical) ||
|
79
|
+
[`data-type-${columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType}`]: true,
|
80
|
+
[`cell-alignment-${((_a = columnProps === null || columnProps === void 0 ? void 0 : columnProps.columnAlignment) === null || _a === void 0 ? void 0 : _a.vertical) ||
|
54
81
|
rowAlignment ||
|
55
|
-
this.getCellAlignment(cell, "vertical")}`]: !!(
|
82
|
+
this.getCellAlignment(cell, "vertical")}`]: !!((_b = columnProps === null || columnProps === void 0 ? void 0 : columnProps.columnAlignment) === null || _b === void 0 ? void 0 : _b.vertical) ||
|
56
83
|
!!rowAlignment ||
|
57
84
|
!!this.getCellAlignment(cell, "vertical"),
|
58
|
-
} }, h("
|
85
|
+
} }, h("div", { innerHTML: (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) === "element" &&
|
86
|
+
!isSlotUsed(this.el, cellSlotName)
|
87
|
+
? cell
|
88
|
+
: null, class: {
|
89
|
+
"cell-container": (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) !== "element",
|
90
|
+
[`data-type-${columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType}`]: true,
|
91
|
+
[`cell-alignment-${((_c = columnProps === null || columnProps === void 0 ? void 0 : columnProps.columnAlignment) === null || _c === void 0 ? void 0 : _c.horizontal) ||
|
92
|
+
this.getCellAlignment(cell, "horizontal")}`]: !!((_d = columnProps === null || columnProps === void 0 ? void 0 : columnProps.columnAlignment) === null || _d === void 0 ? void 0 : _d.horizontal) ||
|
93
|
+
!!this.getCellAlignment(cell, "horizontal"),
|
94
|
+
} }, isSlotUsed(this.el, cellSlotName) ? (h("slot", { name: cellSlotName })) : (h(Fragment, null, isSlotUsed(this.el, `${cellSlotName}-icon`) ? (h("slot", { name: `${cellSlotName}-icon` })) : ((hasIcon || ((_e = columnProps === null || columnProps === void 0 ? void 0 : columnProps.icon) === null || _e === void 0 ? void 0 : _e.onAllCells)) && (h("span", { class: "icon", innerHTML: cellValue("icon") || (columnProps === null || columnProps === void 0 ? void 0 : columnProps.icon.icon) }))), h("ic-typography", { variant: "body", class: {
|
59
95
|
[`cell-emphasis-${(this.isObject(cell) && cellValue("emphasis")) ||
|
60
|
-
emphasis ||
|
96
|
+
(columnProps === null || columnProps === void 0 ? void 0 : columnProps.emphasis) ||
|
61
97
|
rowEmphasis}`]: (this.isObject(cell) && !!cellValue("emphasis")) ||
|
62
|
-
!!emphasis ||
|
98
|
+
!!(columnProps === null || columnProps === void 0 ? void 0 : columnProps.emphasis) ||
|
63
99
|
!!rowEmphasis,
|
64
100
|
[`text-${this.density}`]: this.notDefaultDensity(),
|
65
|
-
} }, this.isObject(cell) && dataType !== "date" ? (Object.keys(cell).includes("href") ? (h("ic-link", { href: cellValue("href") }, cellValue("data"))) : (cellValue("data"))) : (this.getCellContent(cell, dataType)))));
|
101
|
+
} }, this.isObject(cell) && (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) !== "date" ? (Object.keys(cell).includes("href") ? (h("ic-link", { href: cellValue("href") }, cellValue("data"))) : (cellValue("data"))) : (this.getCellContent(cell, columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType))))))));
|
66
102
|
});
|
67
103
|
};
|
68
104
|
this.createColumnHeaders = () => {
|
69
|
-
return this.columns.map(({ cellAlignment, colspan, key, title }) => (h("th", { scope: "col", class: {
|
105
|
+
return this.columns.map(({ cellAlignment, colspan, icon, key, title }) => (h("th", { scope: "col", class: {
|
70
106
|
["column-header"]: true,
|
71
|
-
[`column-header-alignment-${cellAlignment}`]: !!cellAlignment,
|
72
107
|
[`table-density-${this.density}`]: this.notDefaultDensity(),
|
73
|
-
|
108
|
+
["updating-state-headers"]: this.updating && !this.loading,
|
109
|
+
}, colSpan: colspan }, h("div", { class: {
|
110
|
+
"column-header-inner-container": true,
|
111
|
+
[`column-header-alignment-${cellAlignment}`]: !!cellAlignment,
|
112
|
+
} }, isSlotUsed(this.el, `${key}-column-icon`) ? (h("slot", { name: `${key}-column-icon` })) : (icon &&
|
113
|
+
!icon.hideOnHeader && (h("span", { class: "icon", innerHTML: icon.icon }))), h("ic-typography", { variant: "body", class: {
|
74
114
|
["column-header-text"]: true,
|
75
115
|
[`text-${this.density}`]: this.notDefaultDensity(),
|
76
|
-
} }, title), h("ic-button", { variant: "icon", id: `sort-button-${key}`, "aria-label": this.getSortButtonLabel(key),
|
116
|
+
} }, title), this.sortable && (h("ic-button", { variant: "icon", id: `sort-button-${key}`, "aria-label": this.getSortButtonLabel(key),
|
77
117
|
// eslint-disable-next-line react/jsx-no-bind
|
78
118
|
onClick: () => this.sortRows(key), innerHTML: this.SORT_ICONS[this.sortedColumn === key
|
79
119
|
? this.sortedColumnOrder
|
@@ -81,21 +121,48 @@ export class DataTable {
|
|
81
121
|
["sort-button"]: true,
|
82
122
|
["sort-button-unsorted"]: this.sortedColumn !== key ||
|
83
123
|
this.sortedColumnOrder === "unsorted",
|
84
|
-
} })))
|
85
|
-
["column-header-text"]: true,
|
86
|
-
[`text-${this.density}`]: this.notDefaultDensity(),
|
87
|
-
} }, title)))));
|
124
|
+
} }))))));
|
88
125
|
};
|
89
126
|
this.createRows = () => {
|
90
127
|
const data = this.showPagination
|
91
128
|
? this.data.slice(this.fromRow, this.toRow)
|
92
129
|
: this.data.slice();
|
130
|
+
/**
|
131
|
+
* Ensures that createCells has a value in data to map over to actually render the slot.
|
132
|
+
* Removes the need for the user to add it multiple times.
|
133
|
+
*/
|
134
|
+
this.columns.forEach(({ key }) => {
|
135
|
+
data.forEach((row, rowIndex) => {
|
136
|
+
const cellSlotName = `${key}-${rowIndex}`;
|
137
|
+
if (isSlotUsed(this.el, cellSlotName)) {
|
138
|
+
row[key] = getSlotContent(this.el, cellSlotName);
|
139
|
+
}
|
140
|
+
});
|
141
|
+
});
|
93
142
|
return data
|
94
143
|
.sort(!this.sortable ? undefined : this.getSortFunction())
|
95
|
-
.map((row
|
96
|
-
|
97
|
-
|
98
|
-
|
144
|
+
.map((row, index) => {
|
145
|
+
var _a;
|
146
|
+
const variableRowHeightVal = (_a = this.variableRowHeight) === null || _a === void 0 ? void 0 : _a.call(this, Object.assign(Object.assign({}, row), { index }));
|
147
|
+
const findRowHeight = variableRowHeightVal
|
148
|
+
? variableRowHeightVal !== "auto" && variableRowHeightVal
|
149
|
+
: this.globalRowHeight !== "auto" && this.globalRowHeight;
|
150
|
+
return (h("tr", {
|
151
|
+
// eslint-disable-next-line react/jsx-no-bind
|
152
|
+
onClick: () => (this.selectedRow =
|
153
|
+
this.selectedRow !== row &&
|
154
|
+
!this.loading &&
|
155
|
+
!this.updating &&
|
156
|
+
row), class: {
|
157
|
+
["table-row"]: true,
|
158
|
+
["table-row-selected"]: this.selectedRow === row,
|
159
|
+
}, style: {
|
160
|
+
height: findRowHeight
|
161
|
+
? `${findRowHeight * this.DENSITY_HEIGHT_MULTIPLIER[this.density]}px`
|
162
|
+
: null,
|
163
|
+
}
|
164
|
+
}, this.createCells(row, index)));
|
165
|
+
});
|
99
166
|
};
|
100
167
|
this.getObjectValue = (cell, key) => {
|
101
168
|
return Object.values(cell)[Object.keys(cell).indexOf(key)];
|
@@ -173,18 +240,26 @@ export class DataTable {
|
|
173
240
|
this.data = undefined;
|
174
241
|
this.density = "default";
|
175
242
|
this.embedded = false;
|
243
|
+
this.globalRowHeight = 40;
|
176
244
|
this.hideColumnHeaders = false;
|
177
|
-
this.
|
178
|
-
|
245
|
+
this.loading = false;
|
246
|
+
this.loadingOptions = undefined;
|
247
|
+
this.minimumLoadingDisplayDuration = 1000;
|
248
|
+
this.paginationBarOptions = {
|
249
|
+
itemsPerPageOptions: [
|
179
250
|
{ label: "10", value: "10" },
|
180
251
|
{ label: "25", value: "25" },
|
181
252
|
{ label: "50", value: "50" },
|
182
253
|
],
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
254
|
+
rangeLabelType: "page",
|
255
|
+
type: "simple",
|
256
|
+
showItemsPerPageControl: true,
|
257
|
+
showGoToPageControl: true,
|
187
258
|
alignment: "right",
|
259
|
+
appearance: "default",
|
260
|
+
itemLabel: "Item",
|
261
|
+
pageLabel: "Page",
|
262
|
+
hideRangeLabel: false,
|
188
263
|
};
|
189
264
|
this.showPagination = false;
|
190
265
|
this.sortable = false;
|
@@ -194,13 +269,18 @@ export class DataTable {
|
|
194
269
|
};
|
195
270
|
this.stickyColumnHeaders = false;
|
196
271
|
this.stickyRowHeaders = false;
|
272
|
+
this.updating = false;
|
273
|
+
this.updatingOptions = undefined;
|
274
|
+
this.variableRowHeight = undefined;
|
197
275
|
}
|
198
276
|
componentWillLoad() {
|
199
|
-
|
277
|
+
var _a;
|
278
|
+
this.rowsPerPage = Number(this.paginationBarOptions.itemsPerPageOptions[0].value);
|
200
279
|
this.previousRowsPerPage = this.rowsPerPage;
|
201
280
|
this.toRow = this.rowsPerPage;
|
202
281
|
this.sortedColumn = this.sortOptions.defaultColumn;
|
203
282
|
this.sortedColumnOrder = this.sortOptions.sortOrders[0];
|
283
|
+
this.loadingOptions = Object.assign(Object.assign({}, this.loadingOptions), { showBackground: ((_a = this.data) === null || _a === void 0 ? void 0 : _a.length) > 0 });
|
204
284
|
}
|
205
285
|
componentDidLoad() {
|
206
286
|
const tableElement = this.el.shadowRoot.querySelector("table");
|
@@ -209,6 +289,10 @@ export class DataTable {
|
|
209
289
|
(tableElement === null || tableElement === void 0 ? void 0 : tableElement.clientWidth) > (tableContainer === null || tableContainer === void 0 ? void 0 : tableContainer.clientWidth)) {
|
210
290
|
this.scrollable = true;
|
211
291
|
}
|
292
|
+
if (this.loading) {
|
293
|
+
this.startLoadingTimer();
|
294
|
+
this.showLoadingIndicator();
|
295
|
+
}
|
212
296
|
}
|
213
297
|
handleItemsPerPageChange(ev) {
|
214
298
|
this.previousRowsPerPage = this.rowsPerPage;
|
@@ -229,19 +313,63 @@ export class DataTable {
|
|
229
313
|
this.previousRowsPerPage = this.rowsPerPage;
|
230
314
|
}
|
231
315
|
}
|
316
|
+
handleDensityChange(ev) {
|
317
|
+
this.density = ev.detail.value;
|
318
|
+
}
|
232
319
|
clickListener(ev) {
|
233
320
|
if (ev.target !== this.el)
|
234
321
|
this.selectedRow = undefined;
|
235
322
|
}
|
323
|
+
loadingHandler(newValue) {
|
324
|
+
if (newValue)
|
325
|
+
this.startLoadingTimer();
|
326
|
+
if (this.loading) {
|
327
|
+
setTimeout(() => {
|
328
|
+
this.showLoadingIndicator();
|
329
|
+
}, 500);
|
330
|
+
}
|
331
|
+
}
|
332
|
+
dataHandler(newData) {
|
333
|
+
this.loadingOptions = Object.assign(Object.assign({}, this.loadingOptions), { showBackground: (newData === null || newData === void 0 ? void 0 : newData.length) > 0 });
|
334
|
+
if (this.loading) {
|
335
|
+
!this.hasLoadedForOneSecond
|
336
|
+
? setTimeout(() => (this.loading = false), this.minimumLoadingDisplayDuration -
|
337
|
+
(Date.now() - this.timerStarted))
|
338
|
+
: (this.loading = false);
|
339
|
+
}
|
340
|
+
if (this.updating)
|
341
|
+
this.updating = false;
|
342
|
+
}
|
343
|
+
rowHeightChangeHandler() {
|
344
|
+
this.icRowHeightChange.emit();
|
345
|
+
}
|
346
|
+
/**
|
347
|
+
* Resets the `globalRowHeight` prop to `40px` and sets the `variableRowHeight` prop to `null`.
|
348
|
+
*/
|
349
|
+
async resetRowHeights() {
|
350
|
+
this.globalRowHeight = 40;
|
351
|
+
this.variableRowHeight = null;
|
352
|
+
}
|
353
|
+
showLoadingIndicator() {
|
354
|
+
this.loadingIndicator.classList.add("show");
|
355
|
+
}
|
236
356
|
render() {
|
237
|
-
const { caption, createColumnHeaders, createRows, data, hideColumnHeaders,
|
238
|
-
return (h("div", { class: "table-container" }, h("div", { class: {
|
357
|
+
const { caption, createColumnHeaders, createRows, createUpdatingIndicator, data, hideColumnHeaders, loading, loadingOptions, paginationBarOptions, scrollable, scrollOffset, showPagination, sortable, sortedColumnOrder, sortedColumn, stickyColumnHeaders, updateScrollOffset, updating, } = this;
|
358
|
+
return (h("div", { class: "table-container" }, isSlotUsed(this.el, "title-bar") && h("slot", { name: "title-bar" }), h("div", { class: {
|
239
359
|
["table-row-container"]: true,
|
240
360
|
scrollable,
|
241
361
|
}, tabIndex: scrollable ? 0 : null, onScroll: updateScrollOffset }, h("table", null, h("caption", { class: "table-caption" }, caption), !hideColumnHeaders && (h("thead", { class: {
|
242
362
|
["column-header-sticky"]: stickyColumnHeaders,
|
243
363
|
["column-header-overlay"]: stickyColumnHeaders && scrollOffset !== 0,
|
244
|
-
} }, h("tr", null, createColumnHeaders()))),
|
364
|
+
} }, h("tr", null, createColumnHeaders()))), updating &&
|
365
|
+
!loading &&
|
366
|
+
(hideColumnHeaders ? (h("thead", null, createUpdatingIndicator())) : (createUpdatingIndicator())), (data === null || data === void 0 ? void 0 : data.length) > 0 && h("tbody", null, createRows())), !(data === null || data === void 0 ? void 0 : data.length) &&
|
367
|
+
!loading &&
|
368
|
+
(isSlotUsed(this.el, "empty-state") ? (h("slot", { name: "empty-state" })) : (h("ic-empty-state", { aligned: "center", heading: "No Data", class: "loading-empty" })))), loading && (h("ic-loading-indicator", { appearance: loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.appearance, class: {
|
369
|
+
"loading-empty": loading,
|
370
|
+
loading: true,
|
371
|
+
"show-background": loadingOptions.showBackground,
|
372
|
+
}, description: loadingOptions.description || "Loading table data", label: loadingOptions.label || "Loading...", labelDuration: loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.labelDuration, max: loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.max, min: loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.min, progress: loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.progress, ref: (el) => (this.loadingIndicator = el) })), showPagination && (h("div", { class: "pagination-container" }, h("ic-pagination-bar", { totalItems: data.length, type: paginationBarOptions.type, rangeLabelType: paginationBarOptions.rangeLabelType, showItemsPerPageControl: paginationBarOptions.showItemsPerPageControl, showGoToPageControl: paginationBarOptions.showGoToPageControl, itemsPerPageOptions: paginationBarOptions.itemsPerPageOptions, alignment: paginationBarOptions.alignment, appearance: paginationBarOptions.appearance, itemLabel: paginationBarOptions.itemLabel, pageLabel: paginationBarOptions.pageLabel, hideRangeLabel: paginationBarOptions.hideRangeLabel }))), sortable && (h("div", { class: "screen-reader-sort-text", "aria-live": "polite" }, sortedColumnOrder !== "unsorted" && sortedColumn
|
245
373
|
? `${sortedColumn} sorted ${sortedColumnOrder}`
|
246
374
|
: "table unsorted"))));
|
247
375
|
}
|
@@ -314,7 +442,7 @@ export class DataTable {
|
|
314
442
|
},
|
315
443
|
"density": {
|
316
444
|
"type": "string",
|
317
|
-
"mutable":
|
445
|
+
"mutable": true,
|
318
446
|
"complexType": {
|
319
447
|
"original": "IcDataTableDensityOptions",
|
320
448
|
"resolved": "\"default\" | \"dense\" | \"spacious\"",
|
@@ -354,6 +482,30 @@ export class DataTable {
|
|
354
482
|
"reflect": false,
|
355
483
|
"defaultValue": "false"
|
356
484
|
},
|
485
|
+
"globalRowHeight": {
|
486
|
+
"type": "any",
|
487
|
+
"mutable": true,
|
488
|
+
"complexType": {
|
489
|
+
"original": "IcDataTableRowHeights",
|
490
|
+
"resolved": "\"auto\" | number",
|
491
|
+
"references": {
|
492
|
+
"IcDataTableRowHeights": {
|
493
|
+
"location": "import",
|
494
|
+
"path": "./ic-data-table.types",
|
495
|
+
"id": "src/components/ic-data-table/ic-data-table.types.tsx::IcDataTableRowHeights"
|
496
|
+
}
|
497
|
+
}
|
498
|
+
},
|
499
|
+
"required": false,
|
500
|
+
"optional": true,
|
501
|
+
"docs": {
|
502
|
+
"tags": [],
|
503
|
+
"text": "Sets the row height on all rows in the table that aren't set using the `variableRowHeight` method."
|
504
|
+
},
|
505
|
+
"attribute": "global-row-height",
|
506
|
+
"reflect": false,
|
507
|
+
"defaultValue": "40"
|
508
|
+
},
|
357
509
|
"hideColumnHeaders": {
|
358
510
|
"type": "boolean",
|
359
511
|
"mutable": false,
|
@@ -372,27 +524,74 @@ export class DataTable {
|
|
372
524
|
"reflect": false,
|
373
525
|
"defaultValue": "false"
|
374
526
|
},
|
375
|
-
"
|
527
|
+
"loading": {
|
528
|
+
"type": "boolean",
|
529
|
+
"mutable": true,
|
530
|
+
"complexType": {
|
531
|
+
"original": "boolean",
|
532
|
+
"resolved": "boolean",
|
533
|
+
"references": {}
|
534
|
+
},
|
535
|
+
"required": false,
|
536
|
+
"optional": true,
|
537
|
+
"docs": {
|
538
|
+
"tags": [],
|
539
|
+
"text": "When set to `true`, the full table will show a loading state, featuring a radial indicator."
|
540
|
+
},
|
541
|
+
"attribute": "loading",
|
542
|
+
"reflect": false,
|
543
|
+
"defaultValue": "false"
|
544
|
+
},
|
545
|
+
"loadingOptions": {
|
376
546
|
"type": "unknown",
|
377
547
|
"mutable": false,
|
378
548
|
"complexType": {
|
379
|
-
"original": "{\n
|
380
|
-
"resolved": "{
|
549
|
+
"original": "{\n appearance?: IcThemeForegroundNoDefault;\n description?: string;\n label?: string;\n labelDuration?: number;\n max?: number;\n min?: number;\n progress?: number;\n showBackground?: boolean;\n }",
|
550
|
+
"resolved": "{ appearance?: IcThemeForegroundNoDefault; description?: string; label?: string; labelDuration?: number; max?: number; min?: number; progress?: number; showBackground?: boolean; }",
|
381
551
|
"references": {
|
382
|
-
"
|
383
|
-
"location": "import",
|
384
|
-
"path": "../ic-pagination/ic-pagination.types",
|
385
|
-
"id": "src/components/ic-pagination/ic-pagination.types.ts::IcPaginationTypes"
|
386
|
-
},
|
387
|
-
"IcPaginationControlTypes": {
|
552
|
+
"IcThemeForegroundNoDefault": {
|
388
553
|
"location": "import",
|
389
|
-
"path": "
|
390
|
-
"id": "
|
391
|
-
}
|
392
|
-
|
554
|
+
"path": "@ukic/web-components/dist/types/utils/types",
|
555
|
+
"id": "../web-components/dist/types/utils/types.d.ts::IcThemeForegroundNoDefault"
|
556
|
+
}
|
557
|
+
}
|
558
|
+
},
|
559
|
+
"required": false,
|
560
|
+
"optional": true,
|
561
|
+
"docs": {
|
562
|
+
"tags": [],
|
563
|
+
"text": "Sets the props for the circular loading indicator used in the loading state."
|
564
|
+
}
|
565
|
+
},
|
566
|
+
"minimumLoadingDisplayDuration": {
|
567
|
+
"type": "number",
|
568
|
+
"mutable": false,
|
569
|
+
"complexType": {
|
570
|
+
"original": "number",
|
571
|
+
"resolved": "number",
|
572
|
+
"references": {}
|
573
|
+
},
|
574
|
+
"required": false,
|
575
|
+
"optional": true,
|
576
|
+
"docs": {
|
577
|
+
"tags": [],
|
578
|
+
"text": "The minimum amount of time the `loading` state displays for before showing the data. Used to prevent flashing in the component."
|
579
|
+
},
|
580
|
+
"attribute": "minimum-loading-display-duration",
|
581
|
+
"reflect": false,
|
582
|
+
"defaultValue": "1000"
|
583
|
+
},
|
584
|
+
"paginationBarOptions": {
|
585
|
+
"type": "unknown",
|
586
|
+
"mutable": false,
|
587
|
+
"complexType": {
|
588
|
+
"original": "IcPaginationBarOptions",
|
589
|
+
"resolved": "IcPaginationBarOptions",
|
590
|
+
"references": {
|
591
|
+
"IcPaginationBarOptions": {
|
393
592
|
"location": "import",
|
394
|
-
"path": "
|
395
|
-
"id": "src/
|
593
|
+
"path": "../../utils/types",
|
594
|
+
"id": "src/utils/types.ts::IcPaginationBarOptions"
|
396
595
|
}
|
397
596
|
}
|
398
597
|
},
|
@@ -402,7 +601,7 @@ export class DataTable {
|
|
402
601
|
"tags": [],
|
403
602
|
"text": "Sets the props for the pagination bar."
|
404
603
|
},
|
405
|
-
"defaultValue": "{\n
|
604
|
+
"defaultValue": "{\n itemsPerPageOptions: [\n { label: \"10\", value: \"10\" },\n { label: \"25\", value: \"25\" },\n { label: \"50\", value: \"50\" },\n ],\n rangeLabelType: \"page\",\n type: \"simple\",\n showItemsPerPageControl: true,\n showGoToPageControl: true,\n alignment: \"right\",\n appearance: \"default\",\n itemLabel: \"Item\",\n pageLabel: \"Page\",\n hideRangeLabel: false,\n }"
|
406
605
|
},
|
407
606
|
"showPagination": {
|
408
607
|
"type": "boolean",
|
@@ -497,6 +696,66 @@ export class DataTable {
|
|
497
696
|
"attribute": "sticky-row-headers",
|
498
697
|
"reflect": false,
|
499
698
|
"defaultValue": "false"
|
699
|
+
},
|
700
|
+
"updating": {
|
701
|
+
"type": "boolean",
|
702
|
+
"mutable": false,
|
703
|
+
"complexType": {
|
704
|
+
"original": "boolean",
|
705
|
+
"resolved": "boolean",
|
706
|
+
"references": {}
|
707
|
+
},
|
708
|
+
"required": false,
|
709
|
+
"optional": true,
|
710
|
+
"docs": {
|
711
|
+
"tags": [],
|
712
|
+
"text": "If `true`, the table displays a linear loading indicator below the header row to indicate an updating state."
|
713
|
+
},
|
714
|
+
"attribute": "updating",
|
715
|
+
"reflect": false,
|
716
|
+
"defaultValue": "false"
|
717
|
+
},
|
718
|
+
"updatingOptions": {
|
719
|
+
"type": "unknown",
|
720
|
+
"mutable": false,
|
721
|
+
"complexType": {
|
722
|
+
"original": "{\n appearance?: IcThemeForegroundNoDefault;\n description?: string;\n max?: number;\n min?: number;\n progress?: number;\n }",
|
723
|
+
"resolved": "{ appearance?: IcThemeForegroundNoDefault; description?: string; max?: number; min?: number; progress?: number; }",
|
724
|
+
"references": {
|
725
|
+
"IcThemeForegroundNoDefault": {
|
726
|
+
"location": "import",
|
727
|
+
"path": "@ukic/web-components/dist/types/utils/types",
|
728
|
+
"id": "../web-components/dist/types/utils/types.d.ts::IcThemeForegroundNoDefault"
|
729
|
+
}
|
730
|
+
}
|
731
|
+
},
|
732
|
+
"required": false,
|
733
|
+
"optional": true,
|
734
|
+
"docs": {
|
735
|
+
"tags": [],
|
736
|
+
"text": "Sets the props for the linear loading indicator used in the updating state."
|
737
|
+
}
|
738
|
+
},
|
739
|
+
"variableRowHeight": {
|
740
|
+
"type": "unknown",
|
741
|
+
"mutable": true,
|
742
|
+
"complexType": {
|
743
|
+
"original": "(params: {\n [key: string]: any;\n index: number;\n }) => IcDataTableRowHeights | null",
|
744
|
+
"resolved": "(params: { [key: string]: any; index: number; }) => IcDataTableRowHeights",
|
745
|
+
"references": {
|
746
|
+
"IcDataTableRowHeights": {
|
747
|
+
"location": "import",
|
748
|
+
"path": "./ic-data-table.types",
|
749
|
+
"id": "src/components/ic-data-table/ic-data-table.types.tsx::IcDataTableRowHeights"
|
750
|
+
}
|
751
|
+
}
|
752
|
+
},
|
753
|
+
"required": false,
|
754
|
+
"optional": true,
|
755
|
+
"docs": {
|
756
|
+
"tags": [],
|
757
|
+
"text": "Allows for custom setting of row heights on individual rows based on an individual value from the `data` prop and the row index.\nIf the function returns `null`, that row's height will be set to the `globalRowHeight` property."
|
758
|
+
}
|
500
759
|
}
|
501
760
|
};
|
502
761
|
}
|
@@ -513,7 +772,61 @@ export class DataTable {
|
|
513
772
|
"toRow": {}
|
514
773
|
};
|
515
774
|
}
|
775
|
+
static get events() {
|
776
|
+
return [{
|
777
|
+
"method": "icRowHeightChange",
|
778
|
+
"name": "icRowHeightChange",
|
779
|
+
"bubbles": true,
|
780
|
+
"cancelable": true,
|
781
|
+
"composed": true,
|
782
|
+
"docs": {
|
783
|
+
"tags": [],
|
784
|
+
"text": "Emitted when the `globalRowHeight` or `variableRowHeight` properties change in the data table."
|
785
|
+
},
|
786
|
+
"complexType": {
|
787
|
+
"original": "void",
|
788
|
+
"resolved": "void",
|
789
|
+
"references": {}
|
790
|
+
}
|
791
|
+
}];
|
792
|
+
}
|
793
|
+
static get methods() {
|
794
|
+
return {
|
795
|
+
"resetRowHeights": {
|
796
|
+
"complexType": {
|
797
|
+
"signature": "() => Promise<void>",
|
798
|
+
"parameters": [],
|
799
|
+
"references": {
|
800
|
+
"Promise": {
|
801
|
+
"location": "global",
|
802
|
+
"id": "global::Promise"
|
803
|
+
}
|
804
|
+
},
|
805
|
+
"return": "Promise<void>"
|
806
|
+
},
|
807
|
+
"docs": {
|
808
|
+
"text": "Resets the `globalRowHeight` prop to `40px` and sets the `variableRowHeight` prop to `null`.",
|
809
|
+
"tags": []
|
810
|
+
}
|
811
|
+
}
|
812
|
+
};
|
813
|
+
}
|
516
814
|
static get elementRef() { return "el"; }
|
815
|
+
static get watchers() {
|
816
|
+
return [{
|
817
|
+
"propName": "loading",
|
818
|
+
"methodName": "loadingHandler"
|
819
|
+
}, {
|
820
|
+
"propName": "data",
|
821
|
+
"methodName": "dataHandler"
|
822
|
+
}, {
|
823
|
+
"propName": "globalRowHeight",
|
824
|
+
"methodName": "rowHeightChangeHandler"
|
825
|
+
}, {
|
826
|
+
"propName": "variableRowHeight",
|
827
|
+
"methodName": "rowHeightChangeHandler"
|
828
|
+
}];
|
829
|
+
}
|
517
830
|
static get listeners() {
|
518
831
|
return [{
|
519
832
|
"name": "icItemsPerPageChange",
|
@@ -527,6 +840,12 @@ export class DataTable {
|
|
527
840
|
"target": undefined,
|
528
841
|
"capture": false,
|
529
842
|
"passive": false
|
843
|
+
}, {
|
844
|
+
"name": "icTableDensityUpdate",
|
845
|
+
"method": "handleDensityChange",
|
846
|
+
"target": undefined,
|
847
|
+
"capture": false,
|
848
|
+
"passive": false
|
530
849
|
}, {
|
531
850
|
"name": "click",
|
532
851
|
"method": "clickListener",
|