@pega/lists-core 8.0.0-build.27.14
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/LICENSE +185 -0
- package/README.md +80 -0
- package/SECURITY.md +11 -0
- package/lib/index.d.ts +13 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +14 -0
- package/lib/index.js.map +1 -0
- package/lib/src/core/RsCore.d.ts +37 -0
- package/lib/src/core/RsCore.d.ts.map +1 -0
- package/lib/src/core/RsCore.js +48 -0
- package/lib/src/core/RsCore.js.map +1 -0
- package/lib/src/core/RsInternal.d.ts +85 -0
- package/lib/src/core/RsInternal.d.ts.map +1 -0
- package/lib/src/core/RsInternal.js +104 -0
- package/lib/src/core/RsInternal.js.map +1 -0
- package/lib/src/core/RsProps.d.ts +52 -0
- package/lib/src/core/RsProps.d.ts.map +1 -0
- package/lib/src/core/RsProps.js +47 -0
- package/lib/src/core/RsProps.js.map +1 -0
- package/lib/src/core/RsStore.d.ts +62 -0
- package/lib/src/core/RsStore.d.ts.map +1 -0
- package/lib/src/core/RsStore.js +59 -0
- package/lib/src/core/RsStore.js.map +1 -0
- package/lib/src/core/StateResolver.d.ts +45 -0
- package/lib/src/core/StateResolver.d.ts.map +1 -0
- package/lib/src/core/StateResolver.js +276 -0
- package/lib/src/core/StateResolver.js.map +1 -0
- package/lib/src/core/a11y/BaseA11y.d.ts +161 -0
- package/lib/src/core/a11y/BaseA11y.d.ts.map +1 -0
- package/lib/src/core/a11y/BaseA11y.js +549 -0
- package/lib/src/core/a11y/BaseA11y.js.map +1 -0
- package/lib/src/core/actions/actionConstants.d.ts +77 -0
- package/lib/src/core/actions/actionConstants.d.ts.map +1 -0
- package/lib/src/core/actions/actionConstants.js +79 -0
- package/lib/src/core/actions/actionConstants.js.map +1 -0
- package/lib/src/core/actions/actions.d.ts +400 -0
- package/lib/src/core/actions/actions.d.ts.map +1 -0
- package/lib/src/core/actions/actions.js +537 -0
- package/lib/src/core/actions/actions.js.map +1 -0
- package/lib/src/core/actions/actions.types.d.ts +504 -0
- package/lib/src/core/actions/actions.types.d.ts.map +1 -0
- package/lib/src/core/actions/actions.types.js +5 -0
- package/lib/src/core/actions/actions.types.js.map +1 -0
- package/lib/src/core/config/config.d.ts +9 -0
- package/lib/src/core/config/config.d.ts.map +1 -0
- package/lib/src/core/config/config.js +93 -0
- package/lib/src/core/config/config.js.map +1 -0
- package/lib/src/core/config/filterConfig.d.ts +123 -0
- package/lib/src/core/config/filterConfig.d.ts.map +1 -0
- package/lib/src/core/config/filterConfig.js +238 -0
- package/lib/src/core/config/filterConfig.js.map +1 -0
- package/lib/src/core/constants.d.ts +146 -0
- package/lib/src/core/constants.d.ts.map +1 -0
- package/lib/src/core/constants.js +124 -0
- package/lib/src/core/constants.js.map +1 -0
- package/lib/src/core/features/featureFactory.d.ts +52 -0
- package/lib/src/core/features/featureFactory.d.ts.map +1 -0
- package/lib/src/core/features/featureFactory.js +118 -0
- package/lib/src/core/features/featureFactory.js.map +1 -0
- package/lib/src/core/features/uIFeatures/afterRender/animation.d.ts +24 -0
- package/lib/src/core/features/uIFeatures/afterRender/animation.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/afterRender/animation.js +157 -0
- package/lib/src/core/features/uIFeatures/afterRender/animation.js.map +1 -0
- package/lib/src/core/features/uIFeatures/afterRender/columnSizing/autoSize.d.ts +29 -0
- package/lib/src/core/features/uIFeatures/afterRender/columnSizing/autoSize.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/afterRender/columnSizing/autoSize.js +114 -0
- package/lib/src/core/features/uIFeatures/afterRender/columnSizing/autoSize.js.map +1 -0
- package/lib/src/core/features/uIFeatures/afterRender/columnSizing/index.d.ts +38 -0
- package/lib/src/core/features/uIFeatures/afterRender/columnSizing/index.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/afterRender/columnSizing/index.js +157 -0
- package/lib/src/core/features/uIFeatures/afterRender/columnSizing/index.js.map +1 -0
- package/lib/src/core/features/uIFeatures/afterRender/customizeParentContainer/index.d.ts +16 -0
- package/lib/src/core/features/uIFeatures/afterRender/customizeParentContainer/index.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/afterRender/customizeParentContainer/index.js +32 -0
- package/lib/src/core/features/uIFeatures/afterRender/customizeParentContainer/index.js.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/adjustHeight.d.ts +25 -0
- package/lib/src/core/features/uIFeatures/beforeRender/adjustHeight.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/adjustHeight.js +139 -0
- package/lib/src/core/features/uIFeatures/beforeRender/adjustHeight.js.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/adjustHeightToFitRecords.d.ts +18 -0
- package/lib/src/core/features/uIFeatures/beforeRender/adjustHeightToFitRecords.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/adjustHeightToFitRecords.js +46 -0
- package/lib/src/core/features/uIFeatures/beforeRender/adjustHeightToFitRecords.js.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/adjustMaxHeight.d.ts +13 -0
- package/lib/src/core/features/uIFeatures/beforeRender/adjustMaxHeight.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/adjustMaxHeight.js +38 -0
- package/lib/src/core/features/uIFeatures/beforeRender/adjustMaxHeight.js.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/aggregation.d.ts +11 -0
- package/lib/src/core/features/uIFeatures/beforeRender/aggregation.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/aggregation.js +48 -0
- package/lib/src/core/features/uIFeatures/beforeRender/aggregation.js.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/animation.d.ts +25 -0
- package/lib/src/core/features/uIFeatures/beforeRender/animation.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/animation.js +106 -0
- package/lib/src/core/features/uIFeatures/beforeRender/animation.js.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/busyIndicator.d.ts +18 -0
- package/lib/src/core/features/uIFeatures/beforeRender/busyIndicator.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/busyIndicator.js +56 -0
- package/lib/src/core/features/uIFeatures/beforeRender/busyIndicator.js.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/changePersonalisation.d.ts +7 -0
- package/lib/src/core/features/uIFeatures/beforeRender/changePersonalisation.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/changePersonalisation.js +34 -0
- package/lib/src/core/features/uIFeatures/beforeRender/changePersonalisation.js.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/columnAlias.d.ts +10 -0
- package/lib/src/core/features/uIFeatures/beforeRender/columnAlias.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/columnAlias.js +72 -0
- package/lib/src/core/features/uIFeatures/beforeRender/columnAlias.js.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/columnDisplayMode.d.ts +9 -0
- package/lib/src/core/features/uIFeatures/beforeRender/columnDisplayMode.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/columnDisplayMode.js +26 -0
- package/lib/src/core/features/uIFeatures/beforeRender/columnDisplayMode.js.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/columnFormatter.d.ts +9 -0
- package/lib/src/core/features/uIFeatures/beforeRender/columnFormatter.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/columnFormatter.js +29 -0
- package/lib/src/core/features/uIFeatures/beforeRender/columnFormatter.js.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/columnOrder.d.ts +11 -0
- package/lib/src/core/features/uIFeatures/beforeRender/columnOrder.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/columnOrder.js +38 -0
- package/lib/src/core/features/uIFeatures/beforeRender/columnOrder.js.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/columnReOrder.d.ts +11 -0
- package/lib/src/core/features/uIFeatures/beforeRender/columnReOrder.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/columnReOrder.js +199 -0
- package/lib/src/core/features/uIFeatures/beforeRender/columnReOrder.js.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/columnSizing/index.d.ts +5 -0
- package/lib/src/core/features/uIFeatures/beforeRender/columnSizing/index.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/columnSizing/index.js +29 -0
- package/lib/src/core/features/uIFeatures/beforeRender/columnSizing/index.js.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/columnSizing/resize.d.ts +14 -0
- package/lib/src/core/features/uIFeatures/beforeRender/columnSizing/resize.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/columnSizing/resize.js +118 -0
- package/lib/src/core/features/uIFeatures/beforeRender/columnSizing/resize.js.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/columnSort.d.ts +8 -0
- package/lib/src/core/features/uIFeatures/beforeRender/columnSort.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/columnSort.js +25 -0
- package/lib/src/core/features/uIFeatures/beforeRender/columnSort.js.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/columnToggle.d.ts +9 -0
- package/lib/src/core/features/uIFeatures/beforeRender/columnToggle.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/columnToggle.js +26 -0
- package/lib/src/core/features/uIFeatures/beforeRender/columnToggle.js.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/columnVisualOrder.d.ts +12 -0
- package/lib/src/core/features/uIFeatures/beforeRender/columnVisualOrder.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/columnVisualOrder.js +57 -0
- package/lib/src/core/features/uIFeatures/beforeRender/columnVisualOrder.js.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/conditionalStyleFormat.d.ts +9 -0
- package/lib/src/core/features/uIFeatures/beforeRender/conditionalStyleFormat.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/conditionalStyleFormat.js +36 -0
- package/lib/src/core/features/uIFeatures/beforeRender/conditionalStyleFormat.js.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/customColumn.d.ts +9 -0
- package/lib/src/core/features/uIFeatures/beforeRender/customColumn.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/customColumn.js +70 -0
- package/lib/src/core/features/uIFeatures/beforeRender/customColumn.js.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/edit.d.ts +12 -0
- package/lib/src/core/features/uIFeatures/beforeRender/edit.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/edit.js +94 -0
- package/lib/src/core/features/uIFeatures/beforeRender/edit.js.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/errorColumn.d.ts +9 -0
- package/lib/src/core/features/uIFeatures/beforeRender/errorColumn.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/errorColumn.js +26 -0
- package/lib/src/core/features/uIFeatures/beforeRender/errorColumn.js.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/filter.d.ts +10 -0
- package/lib/src/core/features/uIFeatures/beforeRender/filter.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/filter.js +36 -0
- package/lib/src/core/features/uIFeatures/beforeRender/filter.js.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/freeze.d.ts +15 -0
- package/lib/src/core/features/uIFeatures/beforeRender/freeze.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/freeze.js +119 -0
- package/lib/src/core/features/uIFeatures/beforeRender/freeze.js.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/grouping.d.ts +38 -0
- package/lib/src/core/features/uIFeatures/beforeRender/grouping.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/grouping.js +451 -0
- package/lib/src/core/features/uIFeatures/beforeRender/grouping.js.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/groupsorting.d.ts +7 -0
- package/lib/src/core/features/uIFeatures/beforeRender/groupsorting.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/groupsorting.js +36 -0
- package/lib/src/core/features/uIFeatures/beforeRender/groupsorting.js.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/moveListRecords.d.ts +7 -0
- package/lib/src/core/features/uIFeatures/beforeRender/moveListRecords.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/moveListRecords.js +76 -0
- package/lib/src/core/features/uIFeatures/beforeRender/moveListRecords.js.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/personalization.d.ts +16 -0
- package/lib/src/core/features/uIFeatures/beforeRender/personalization.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/personalization.js +306 -0
- package/lib/src/core/features/uIFeatures/beforeRender/personalization.js.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/prepareColumns.d.ts +7 -0
- package/lib/src/core/features/uIFeatures/beforeRender/prepareColumns.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/prepareColumns.js +59 -0
- package/lib/src/core/features/uIFeatures/beforeRender/prepareColumns.js.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/prepareRows.d.ts +7 -0
- package/lib/src/core/features/uIFeatures/beforeRender/prepareRows.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/prepareRows.js +30 -0
- package/lib/src/core/features/uIFeatures/beforeRender/prepareRows.js.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/refresh.d.ts +15 -0
- package/lib/src/core/features/uIFeatures/beforeRender/refresh.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/refresh.js +40 -0
- package/lib/src/core/features/uIFeatures/beforeRender/refresh.js.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/renderHeader.d.ts +7 -0
- package/lib/src/core/features/uIFeatures/beforeRender/renderHeader.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/renderHeader.js +21 -0
- package/lib/src/core/features/uIFeatures/beforeRender/renderHeader.js.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/resetFetch.d.ts +7 -0
- package/lib/src/core/features/uIFeatures/beforeRender/resetFetch.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/resetFetch.js +55 -0
- package/lib/src/core/features/uIFeatures/beforeRender/resetFetch.js.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/resizeGroupedDragDropColumn.d.ts +7 -0
- package/lib/src/core/features/uIFeatures/beforeRender/resizeGroupedDragDropColumn.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/resizeGroupedDragDropColumn.js +24 -0
- package/lib/src/core/features/uIFeatures/beforeRender/resizeGroupedDragDropColumn.js.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/rowDragDrop.d.ts +9 -0
- package/lib/src/core/features/uIFeatures/beforeRender/rowDragDrop.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/rowDragDrop.js +232 -0
- package/lib/src/core/features/uIFeatures/beforeRender/rowDragDrop.js.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/rowHeight.d.ts +7 -0
- package/lib/src/core/features/uIFeatures/beforeRender/rowHeight.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/rowHeight.js +18 -0
- package/lib/src/core/features/uIFeatures/beforeRender/rowHeight.js.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/rowSelect.d.ts +23 -0
- package/lib/src/core/features/uIFeatures/beforeRender/rowSelect.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/rowSelect.js +135 -0
- package/lib/src/core/features/uIFeatures/beforeRender/rowSelect.js.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/scrollToTop.d.ts +14 -0
- package/lib/src/core/features/uIFeatures/beforeRender/scrollToTop.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/scrollToTop.js +36 -0
- package/lib/src/core/features/uIFeatures/beforeRender/scrollToTop.js.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/stateHydration.d.ts +19 -0
- package/lib/src/core/features/uIFeatures/beforeRender/stateHydration.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/stateHydration.js +157 -0
- package/lib/src/core/features/uIFeatures/beforeRender/stateHydration.js.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/stateSanitization.d.ts +29 -0
- package/lib/src/core/features/uIFeatures/beforeRender/stateSanitization.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/stateSanitization.js +214 -0
- package/lib/src/core/features/uIFeatures/beforeRender/stateSanitization.js.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/toggleHeaderIcons.d.ts +11 -0
- package/lib/src/core/features/uIFeatures/beforeRender/toggleHeaderIcons.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/toggleHeaderIcons.js +26 -0
- package/lib/src/core/features/uIFeatures/beforeRender/toggleHeaderIcons.js.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/toggleSelectAllCheckbox.d.ts +12 -0
- package/lib/src/core/features/uIFeatures/beforeRender/toggleSelectAllCheckbox.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/beforeRender/toggleSelectAllCheckbox.js +51 -0
- package/lib/src/core/features/uIFeatures/beforeRender/toggleSelectAllCheckbox.js.map +1 -0
- package/lib/src/core/features/uIFeatures/index.d.ts +55 -0
- package/lib/src/core/features/uIFeatures/index.d.ts.map +1 -0
- package/lib/src/core/features/uIFeatures/index.js +95 -0
- package/lib/src/core/features/uIFeatures/index.js.map +1 -0
- package/lib/src/core/generators/ColumnGenerator.d.ts +349 -0
- package/lib/src/core/generators/ColumnGenerator.d.ts.map +1 -0
- package/lib/src/core/generators/ColumnGenerator.js +725 -0
- package/lib/src/core/generators/ColumnGenerator.js.map +1 -0
- package/lib/src/core/generators/ColumnGenerator.types.d.ts +149 -0
- package/lib/src/core/generators/ColumnGenerator.types.d.ts.map +1 -0
- package/lib/src/core/generators/ColumnGenerator.types.js +2 -0
- package/lib/src/core/generators/ColumnGenerator.types.js.map +1 -0
- package/lib/src/core/generators/GroupGenerator.d.ts +59 -0
- package/lib/src/core/generators/GroupGenerator.d.ts.map +1 -0
- package/lib/src/core/generators/GroupGenerator.js +64 -0
- package/lib/src/core/generators/GroupGenerator.js.map +1 -0
- package/lib/src/core/generators/RowGenerator.d.ts +97 -0
- package/lib/src/core/generators/RowGenerator.d.ts.map +1 -0
- package/lib/src/core/generators/RowGenerator.js +285 -0
- package/lib/src/core/generators/RowGenerator.js.map +1 -0
- package/lib/src/core/generators/RowGenerator.types.d.ts +95 -0
- package/lib/src/core/generators/RowGenerator.types.d.ts.map +1 -0
- package/lib/src/core/generators/RowGenerator.types.js +2 -0
- package/lib/src/core/generators/RowGenerator.types.js.map +1 -0
- package/lib/src/core/generators/ViewGenerator.d.ts +280 -0
- package/lib/src/core/generators/ViewGenerator.d.ts.map +1 -0
- package/lib/src/core/generators/ViewGenerator.js +585 -0
- package/lib/src/core/generators/ViewGenerator.js.map +1 -0
- package/lib/src/core/generators/ViewGenerator.types.d.ts +180 -0
- package/lib/src/core/generators/ViewGenerator.types.d.ts.map +1 -0
- package/lib/src/core/generators/ViewGenerator.types.js +2 -0
- package/lib/src/core/generators/ViewGenerator.types.js.map +1 -0
- package/lib/src/core/generators/__tests__/viewUtilityMockSetup.d.ts +69 -0
- package/lib/src/core/generators/__tests__/viewUtilityMockSetup.d.ts.map +1 -0
- package/lib/src/core/generators/__tests__/viewUtilityMockSetup.js +16 -0
- package/lib/src/core/generators/__tests__/viewUtilityMockSetup.js.map +1 -0
- package/lib/src/core/generators/viewUtilityMethods.d.ts +316 -0
- package/lib/src/core/generators/viewUtilityMethods.d.ts.map +1 -0
- package/lib/src/core/generators/viewUtilityMethods.js +542 -0
- package/lib/src/core/generators/viewUtilityMethods.js.map +1 -0
- package/lib/src/core/index.d.ts +7 -0
- package/lib/src/core/index.d.ts.map +1 -0
- package/lib/src/core/index.js +80 -0
- package/lib/src/core/index.js.map +1 -0
- package/lib/src/core/pubSub/events.d.ts +6 -0
- package/lib/src/core/pubSub/events.d.ts.map +1 -0
- package/lib/src/core/pubSub/events.js +6 -0
- package/lib/src/core/pubSub/events.js.map +1 -0
- package/lib/src/core/pubSub/index.d.ts +7 -0
- package/lib/src/core/pubSub/index.d.ts.map +1 -0
- package/lib/src/core/pubSub/index.js +35 -0
- package/lib/src/core/pubSub/index.js.map +1 -0
- package/lib/src/core/reducers/aggregation.d.ts +5 -0
- package/lib/src/core/reducers/aggregation.d.ts.map +1 -0
- package/lib/src/core/reducers/aggregation.js +35 -0
- package/lib/src/core/reducers/aggregation.js.map +1 -0
- package/lib/src/core/reducers/bootstrap.d.ts +5 -0
- package/lib/src/core/reducers/bootstrap.d.ts.map +1 -0
- package/lib/src/core/reducers/bootstrap.js +12 -0
- package/lib/src/core/reducers/bootstrap.js.map +1 -0
- package/lib/src/core/reducers/columnAlias.d.ts +5 -0
- package/lib/src/core/reducers/columnAlias.d.ts.map +1 -0
- package/lib/src/core/reducers/columnAlias.js +28 -0
- package/lib/src/core/reducers/columnAlias.js.map +1 -0
- package/lib/src/core/reducers/conditionalStyleFormat.d.ts +5 -0
- package/lib/src/core/reducers/conditionalStyleFormat.d.ts.map +1 -0
- package/lib/src/core/reducers/conditionalStyleFormat.js +13 -0
- package/lib/src/core/reducers/conditionalStyleFormat.js.map +1 -0
- package/lib/src/core/reducers/customColumn.d.ts +5 -0
- package/lib/src/core/reducers/customColumn.d.ts.map +1 -0
- package/lib/src/core/reducers/customColumn.js +40 -0
- package/lib/src/core/reducers/customColumn.js.map +1 -0
- package/lib/src/core/reducers/dragDrop.d.ts +6 -0
- package/lib/src/core/reducers/dragDrop.d.ts.map +1 -0
- package/lib/src/core/reducers/dragDrop.js +100 -0
- package/lib/src/core/reducers/dragDrop.js.map +1 -0
- package/lib/src/core/reducers/edit.d.ts +5 -0
- package/lib/src/core/reducers/edit.d.ts.map +1 -0
- package/lib/src/core/reducers/edit.js +65 -0
- package/lib/src/core/reducers/edit.js.map +1 -0
- package/lib/src/core/reducers/error.d.ts +69 -0
- package/lib/src/core/reducers/error.d.ts.map +1 -0
- package/lib/src/core/reducers/error.js +21 -0
- package/lib/src/core/reducers/error.js.map +1 -0
- package/lib/src/core/reducers/externalState.d.ts +5 -0
- package/lib/src/core/reducers/externalState.d.ts.map +1 -0
- package/lib/src/core/reducers/externalState.js +20 -0
- package/lib/src/core/reducers/externalState.js.map +1 -0
- package/lib/src/core/reducers/filter.d.ts +5 -0
- package/lib/src/core/reducers/filter.d.ts.map +1 -0
- package/lib/src/core/reducers/filter.js +29 -0
- package/lib/src/core/reducers/filter.js.map +1 -0
- package/lib/src/core/reducers/forceUpdate.d.ts +5 -0
- package/lib/src/core/reducers/forceUpdate.d.ts.map +1 -0
- package/lib/src/core/reducers/forceUpdate.js +25 -0
- package/lib/src/core/reducers/forceUpdate.js.map +1 -0
- package/lib/src/core/reducers/freeze.d.ts +5 -0
- package/lib/src/core/reducers/freeze.d.ts.map +1 -0
- package/lib/src/core/reducers/freeze.js +36 -0
- package/lib/src/core/reducers/freeze.js.map +1 -0
- package/lib/src/core/reducers/grouping.d.ts +5 -0
- package/lib/src/core/reducers/grouping.d.ts.map +1 -0
- package/lib/src/core/reducers/grouping.js +142 -0
- package/lib/src/core/reducers/grouping.js.map +1 -0
- package/lib/src/core/reducers/index.d.ts +5 -0
- package/lib/src/core/reducers/index.d.ts.map +1 -0
- package/lib/src/core/reducers/index.js +77 -0
- package/lib/src/core/reducers/index.js.map +1 -0
- package/lib/src/core/reducers/moveRecords.d.ts +5 -0
- package/lib/src/core/reducers/moveRecords.d.ts.map +1 -0
- package/lib/src/core/reducers/moveRecords.js +10 -0
- package/lib/src/core/reducers/moveRecords.js.map +1 -0
- package/lib/src/core/reducers/notificationsReducer.d.ts +4 -0
- package/lib/src/core/reducers/notificationsReducer.d.ts.map +1 -0
- package/lib/src/core/reducers/notificationsReducer.js +49 -0
- package/lib/src/core/reducers/notificationsReducer.js.map +1 -0
- package/lib/src/core/reducers/paginations.d.ts +5 -0
- package/lib/src/core/reducers/paginations.d.ts.map +1 -0
- package/lib/src/core/reducers/paginations.js +19 -0
- package/lib/src/core/reducers/paginations.js.map +1 -0
- package/lib/src/core/reducers/personalizationDirtyReducer.d.ts +5 -0
- package/lib/src/core/reducers/personalizationDirtyReducer.d.ts.map +1 -0
- package/lib/src/core/reducers/personalizationDirtyReducer.js +46 -0
- package/lib/src/core/reducers/personalizationDirtyReducer.js.map +1 -0
- package/lib/src/core/reducers/personalizationReducer.d.ts +5 -0
- package/lib/src/core/reducers/personalizationReducer.d.ts.map +1 -0
- package/lib/src/core/reducers/personalizationReducer.js +238 -0
- package/lib/src/core/reducers/personalizationReducer.js.map +1 -0
- package/lib/src/core/reducers/refresh.d.ts +5 -0
- package/lib/src/core/reducers/refresh.d.ts.map +1 -0
- package/lib/src/core/reducers/refresh.js +16 -0
- package/lib/src/core/reducers/refresh.js.map +1 -0
- package/lib/src/core/reducers/renderFormatter.d.ts +5 -0
- package/lib/src/core/reducers/renderFormatter.d.ts.map +1 -0
- package/lib/src/core/reducers/renderFormatter.js +22 -0
- package/lib/src/core/reducers/renderFormatter.js.map +1 -0
- package/lib/src/core/reducers/resize.d.ts +5 -0
- package/lib/src/core/reducers/resize.d.ts.map +1 -0
- package/lib/src/core/reducers/resize.js +32 -0
- package/lib/src/core/reducers/resize.js.map +1 -0
- package/lib/src/core/reducers/rowSelect.d.ts +5 -0
- package/lib/src/core/reducers/rowSelect.d.ts.map +1 -0
- package/lib/src/core/reducers/rowSelect.js +86 -0
- package/lib/src/core/reducers/rowSelect.js.map +1 -0
- package/lib/src/core/reducers/sanitize.d.ts +5 -0
- package/lib/src/core/reducers/sanitize.d.ts.map +1 -0
- package/lib/src/core/reducers/sanitize.js +21 -0
- package/lib/src/core/reducers/sanitize.js.map +1 -0
- package/lib/src/core/reducers/search.d.ts +5 -0
- package/lib/src/core/reducers/search.d.ts.map +1 -0
- package/lib/src/core/reducers/search.js +13 -0
- package/lib/src/core/reducers/search.js.map +1 -0
- package/lib/src/core/reducers/showHeaderIcons.d.ts +5 -0
- package/lib/src/core/reducers/showHeaderIcons.d.ts.map +1 -0
- package/lib/src/core/reducers/showHeaderIcons.js +13 -0
- package/lib/src/core/reducers/showHeaderIcons.js.map +1 -0
- package/lib/src/core/reducers/smallScreen.d.ts +5 -0
- package/lib/src/core/reducers/smallScreen.d.ts.map +1 -0
- package/lib/src/core/reducers/smallScreen.js +22 -0
- package/lib/src/core/reducers/smallScreen.js.map +1 -0
- package/lib/src/core/reducers/sort.d.ts +5 -0
- package/lib/src/core/reducers/sort.d.ts.map +1 -0
- package/lib/src/core/reducers/sort.js +71 -0
- package/lib/src/core/reducers/sort.js.map +1 -0
- package/lib/src/core/reducers/versioning/index.d.ts +16 -0
- package/lib/src/core/reducers/versioning/index.d.ts.map +1 -0
- package/lib/src/core/reducers/versioning/index.js +46 -0
- package/lib/src/core/reducers/versioning/index.js.map +1 -0
- package/lib/src/core/reducers/versioning/v1.d.ts +136 -0
- package/lib/src/core/reducers/versioning/v1.d.ts.map +1 -0
- package/lib/src/core/reducers/versioning/v1.js +156 -0
- package/lib/src/core/reducers/versioning/v1.js.map +1 -0
- package/lib/src/core/reducers/visibility.d.ts +5 -0
- package/lib/src/core/reducers/visibility.d.ts.map +1 -0
- package/lib/src/core/reducers/visibility.js +49 -0
- package/lib/src/core/reducers/visibility.js.map +1 -0
- package/lib/src/core/test/junitMocks.d.ts +756 -0
- package/lib/src/core/test/junitMocks.d.ts.map +1 -0
- package/lib/src/core/test/junitMocks.js +2923 -0
- package/lib/src/core/test/junitMocks.js.map +1 -0
- package/lib/src/core/test/samples/a11ySample.d.ts +8 -0
- package/lib/src/core/test/samples/a11ySample.d.ts.map +1 -0
- package/lib/src/core/test/samples/a11ySample.js +1131 -0
- package/lib/src/core/test/samples/a11ySample.js.map +1 -0
- package/lib/src/core/test/samples/a11ySampleWithLoaders.d.ts +8 -0
- package/lib/src/core/test/samples/a11ySampleWithLoaders.d.ts.map +1 -0
- package/lib/src/core/test/samples/a11ySampleWithLoaders.js +1134 -0
- package/lib/src/core/test/samples/a11ySampleWithLoaders.js.map +1 -0
- package/lib/src/core/test/samples/utils.d.ts +2 -0
- package/lib/src/core/test/samples/utils.d.ts.map +1 -0
- package/lib/src/core/test/samples/utils.js +9 -0
- package/lib/src/core/test/samples/utils.js.map +1 -0
- package/lib/src/core/test/utils/rowDragDropUtils.d.ts +20 -0
- package/lib/src/core/test/utils/rowDragDropUtils.d.ts.map +1 -0
- package/lib/src/core/test/utils/rowDragDropUtils.js +98 -0
- package/lib/src/core/test/utils/rowDragDropUtils.js.map +1 -0
- package/lib/src/core/utils/condition-utils.d.ts +15 -0
- package/lib/src/core/utils/condition-utils.d.ts.map +1 -0
- package/lib/src/core/utils/condition-utils.js +114 -0
- package/lib/src/core/utils/condition-utils.js.map +1 -0
- package/lib/src/core/utils/util.d.ts +380 -0
- package/lib/src/core/utils/util.d.ts.map +1 -0
- package/lib/src/core/utils/util.js +912 -0
- package/lib/src/core/utils/util.js.map +1 -0
- package/lib/src/core/utils/util.types.d.ts +43 -0
- package/lib/src/core/utils/util.types.d.ts.map +1 -0
- package/lib/src/core/utils/util.types.js +2 -0
- package/lib/src/core/utils/util.types.js.map +1 -0
- package/lib/types/ApiContext.types.d.ts +392 -0
- package/lib/types/ApiContext.types.d.ts.map +1 -0
- package/lib/types/ApiContext.types.js +2 -0
- package/lib/types/ApiContext.types.js.map +1 -0
- package/lib/types/Meta.types.d.ts +705 -0
- package/lib/types/Meta.types.d.ts.map +1 -0
- package/lib/types/Meta.types.js +37 -0
- package/lib/types/Meta.types.js.map +1 -0
- package/lib/types/RsCoreBootArgs.types.d.ts +103 -0
- package/lib/types/RsCoreBootArgs.types.d.ts.map +1 -0
- package/lib/types/RsCoreBootArgs.types.js +2 -0
- package/lib/types/RsCoreBootArgs.types.js.map +1 -0
- package/lib/types/State.types.d.ts +374 -0
- package/lib/types/State.types.d.ts.map +1 -0
- package/lib/types/State.types.js +5 -0
- package/lib/types/State.types.js.map +1 -0
- package/lib/types.d.ts +30 -0
- package/lib/types.d.ts.map +1 -0
- package/lib/types.js +2 -0
- package/lib/types.js.map +1 -0
- package/package.json +30 -0
|
@@ -0,0 +1,349 @@
|
|
|
1
|
+
import type { ExcludeStrict, OmitStrict } from '@pega/cosmos-react-core';
|
|
2
|
+
import type { Condition } from '@pega/cosmos-react-condition-builder';
|
|
3
|
+
import type { ConditionalStyleFormat, FieldDef, Meta, StyleFormat } from '../../../types/Meta.types';
|
|
4
|
+
import type { Sort, AggregationType } from '../../../types/State.types';
|
|
5
|
+
import type RsProps from '../RsProps';
|
|
6
|
+
import type RsInternal from '../RsInternal';
|
|
7
|
+
import type Row from './RowGenerator';
|
|
8
|
+
import { type ColumnConfig, type ColumnResizerProps, type ColumnStyle, type SortProperties, type ColumnContext, type ColumnRenderingEngineProps } from './ColumnGenerator.types';
|
|
9
|
+
import type { RowContext, RowData } from './RowGenerator.types';
|
|
10
|
+
import type { FormatterFunction } from './ViewGenerator.types';
|
|
11
|
+
export default class Column {
|
|
12
|
+
#private;
|
|
13
|
+
/** The common CSS styles for a column like width, order etc. */
|
|
14
|
+
style: ColumnStyle;
|
|
15
|
+
/** Indicates if the column is grouped.
|
|
16
|
+
* @default false
|
|
17
|
+
*/
|
|
18
|
+
grouped: boolean;
|
|
19
|
+
/** Indicates if the column is frozen.
|
|
20
|
+
* @default false
|
|
21
|
+
*/
|
|
22
|
+
frozen: boolean;
|
|
23
|
+
/** Indicates if any filter is appplied to the column.
|
|
24
|
+
* @default false
|
|
25
|
+
*/
|
|
26
|
+
filtered: boolean;
|
|
27
|
+
/** Indicates if any sorting is applied to the column.
|
|
28
|
+
* @default false
|
|
29
|
+
*/
|
|
30
|
+
sorted: boolean;
|
|
31
|
+
/** Indicates the sorting sequence of the column if it is {@link sorted}. */
|
|
32
|
+
sortSequence?: SortProperties['sortSequence'];
|
|
33
|
+
/** Indicates the sorting order of the column if it is {@link sorted}. */
|
|
34
|
+
sortOrder?: SortProperties['sortOrder'];
|
|
35
|
+
/** Indicates if the column is lastFrozen column if it is {@link frozen}.
|
|
36
|
+
* @default false
|
|
37
|
+
*/
|
|
38
|
+
lastFrozen: boolean;
|
|
39
|
+
/** Indicates if aggregation is applied on the column.
|
|
40
|
+
* @default false
|
|
41
|
+
*/
|
|
42
|
+
aggregated: boolean;
|
|
43
|
+
/** Aggregated value for the column for an {@link aggregationType} if {@link aggregated aggregation} is applied. */
|
|
44
|
+
aggregateValue?: number;
|
|
45
|
+
/** Current aggregation type applied on the column. */
|
|
46
|
+
aggregationType?: AggregationType;
|
|
47
|
+
/** Indicates the current width of the column. */
|
|
48
|
+
currentWidth?: number;
|
|
49
|
+
/** Field meta for this column from {@link Meta.fieldDefs meta fieldDefs}. */
|
|
50
|
+
field: FieldDef;
|
|
51
|
+
/** Indicates if the formatting is allowed on this column.
|
|
52
|
+
* @default true
|
|
53
|
+
*/
|
|
54
|
+
formatterAllowed: boolean;
|
|
55
|
+
/** Indicates the current formatter applied to the column. */
|
|
56
|
+
formatterName?: string;
|
|
57
|
+
/** The formatter function corresponding toe the {@link formatterName}. */
|
|
58
|
+
formatter?: FormatterFunction;
|
|
59
|
+
/** The name of the renderer for this cell. */
|
|
60
|
+
cellRenderer?: string;
|
|
61
|
+
/** Indicates if the column is hidden.
|
|
62
|
+
* @default false
|
|
63
|
+
*/
|
|
64
|
+
hidden: boolean;
|
|
65
|
+
/** Label for the column that can be displayed to end user. */
|
|
66
|
+
label?: string;
|
|
67
|
+
/** Categorized label for the column if the column has categories derived from {@link FieldDef.category}. */
|
|
68
|
+
categorizedHeaderLabel?: string;
|
|
69
|
+
/** Indicates if the column is first visual column for the end user.
|
|
70
|
+
* @default false
|
|
71
|
+
*/
|
|
72
|
+
isFirstVisualColumn: boolean;
|
|
73
|
+
/** Indicates if the column is first data column, excluding any action column like checkbox, row action, drag drop column.
|
|
74
|
+
* @default false
|
|
75
|
+
*/
|
|
76
|
+
isFirstDataColumn: boolean;
|
|
77
|
+
/** Indicates if the column is last column. */
|
|
78
|
+
isLastColumn: boolean;
|
|
79
|
+
/** Indicates if the column is a custom column derived from Customize column feature.
|
|
80
|
+
* E.g. column generated by joining 2 columns. */
|
|
81
|
+
isCustomColumn: boolean;
|
|
82
|
+
/** Indicates if the column is in edit mode. */
|
|
83
|
+
editMode: boolean;
|
|
84
|
+
/** Visual order of the column with respect to other columns */
|
|
85
|
+
order?: number;
|
|
86
|
+
/** CSS classes for the column.
|
|
87
|
+
* @default empty array.
|
|
88
|
+
*/
|
|
89
|
+
classList: string[];
|
|
90
|
+
/** Indicates if the icons should be shown for the column on the header based on {@link FieldDef.type type}. */
|
|
91
|
+
showHeaderIcons: boolean;
|
|
92
|
+
/** Indicates if the width of the column is changed. */
|
|
93
|
+
isWidthChanged: boolean;
|
|
94
|
+
/** Indicates the current display mode for hierarchical columns. */
|
|
95
|
+
displayMode?: string | null;
|
|
96
|
+
/** Indicates if the selection column is disabled for selection. */
|
|
97
|
+
disableSelection?: boolean;
|
|
98
|
+
/** The formatted value for the column. */
|
|
99
|
+
formattedValue: string | null;
|
|
100
|
+
/** Returns the resize events that can be attached to column DOM node. */
|
|
101
|
+
getResizerProps: () => ColumnResizerProps | undefined;
|
|
102
|
+
/** Alias of the column */
|
|
103
|
+
alias?: string;
|
|
104
|
+
/** Indicates a re-render is triggered for the column. */
|
|
105
|
+
refresh?: number;
|
|
106
|
+
/** A factory function provided to RsCore that returns component or component definition for specified type
|
|
107
|
+
* @param type It is equal to value of {@link FieldDef.cellRenderer cellRenderer}(if added in fieldDefs of that column).
|
|
108
|
+
* @returns It should return a component definition (or an object that contains component definition).
|
|
109
|
+
* This component definition will be used by RepeatingStructures to render a cell with the component provided by renderFactory.
|
|
110
|
+
* If component definition is not provided from render factory or renderFactory is not provided to Repeating structures then cell will be rendered directly with value derived for the cell or the formatted value(if {@link RsProps.formatters formatters} are provided for that column)
|
|
111
|
+
*/
|
|
112
|
+
renderFactory?: RsProps['renderFactory'];
|
|
113
|
+
/** Reference to {@link Column} class construtcor. */
|
|
114
|
+
type?: typeof Column;
|
|
115
|
+
/** Array of conditional style formats applied to this column. */
|
|
116
|
+
conditionalStyleFormats?: OmitStrict<ConditionalStyleFormat, 'fieldName'>[];
|
|
117
|
+
/**
|
|
118
|
+
* Creates a new instance of a column within a repeating structure template.
|
|
119
|
+
* @param config It represents few config properties which is used to create column instance.
|
|
120
|
+
* @param rsInternal A reference to rsInternal object.
|
|
121
|
+
*/
|
|
122
|
+
constructor(config: ColumnConfig, rsInternal: RsInternal);
|
|
123
|
+
/** Reference to current view object. */
|
|
124
|
+
get parent(): import("./ViewGenerator").default;
|
|
125
|
+
/** The data for all the cells for the column. */
|
|
126
|
+
get data(): RowData[keyof RowData][];
|
|
127
|
+
/**
|
|
128
|
+
* It returns the expression for the column if it is a {@link isCustomColumn custom} column.
|
|
129
|
+
*/
|
|
130
|
+
getExpression(): (string | [string])[] | undefined;
|
|
131
|
+
/**
|
|
132
|
+
* Indicates if tooltip needs to be shown or not for the current column cells.
|
|
133
|
+
*/
|
|
134
|
+
get showTooltip(): boolean;
|
|
135
|
+
/**
|
|
136
|
+
* Sets the showTooltip flag for the current column.
|
|
137
|
+
*/
|
|
138
|
+
set showTooltip(showTooltip: boolean);
|
|
139
|
+
/**
|
|
140
|
+
* Retrieves the distinct values for this column using {@link ApiContext.fetchUniqueColValues fetchUniqueColValues}.
|
|
141
|
+
*/
|
|
142
|
+
getUniqueValues(): Promise<(string | number | boolean | Date)[]>;
|
|
143
|
+
/**
|
|
144
|
+
* Returns the formatters available for the current column from
|
|
145
|
+
* {@link RsProps.renderFormatterTypeMap renderFormatterTypeMap} based on its {@link FieldDef.type type}
|
|
146
|
+
*/
|
|
147
|
+
getRenderFormatters(): import("../../../types/RsCoreBootArgs.types").RenderFormatterType[] | undefined;
|
|
148
|
+
/** Returns the sorting information for the current column. */
|
|
149
|
+
getSortProperties(): {
|
|
150
|
+
sorted: boolean;
|
|
151
|
+
sortSequence: number | undefined;
|
|
152
|
+
sortOrder: "desc" | "asc" | undefined;
|
|
153
|
+
};
|
|
154
|
+
/** Returns the filter information for the current column. */
|
|
155
|
+
getFilterProperties(): {
|
|
156
|
+
filtered: boolean;
|
|
157
|
+
filterExpression: Condition | undefined;
|
|
158
|
+
};
|
|
159
|
+
/**
|
|
160
|
+
* Retrieves the UI properties for the column, which can be applied to value cells within this column.
|
|
161
|
+
*/
|
|
162
|
+
getUIProps(): {
|
|
163
|
+
style: {
|
|
164
|
+
display: string;
|
|
165
|
+
left: `${number}px`;
|
|
166
|
+
order: number;
|
|
167
|
+
width: `${number}px`;
|
|
168
|
+
};
|
|
169
|
+
'data-col-id': string;
|
|
170
|
+
onDoubleClick: ((e: KeyboardEvent | MouseEvent) => void) | null;
|
|
171
|
+
onKeyDown: ((e: KeyboardEvent | MouseEvent) => void) | null;
|
|
172
|
+
classList: string[];
|
|
173
|
+
'aria-colindex': number;
|
|
174
|
+
role: string;
|
|
175
|
+
};
|
|
176
|
+
/**
|
|
177
|
+
* Retrieves the {@link StyleFormat style format} style format applicable to the cell
|
|
178
|
+
* @returns The style format if applicable, otherwise `undefined`.
|
|
179
|
+
*
|
|
180
|
+
*/
|
|
181
|
+
getCellStyleFormat(): StyleFormat | undefined;
|
|
182
|
+
/**
|
|
183
|
+
* Retrieves the UI properties for the column, which can be applied to the header cells of this column.
|
|
184
|
+
*/
|
|
185
|
+
getHeaderUIProps(): {
|
|
186
|
+
onDragStart?: ((e: DragEvent) => boolean | undefined) | undefined;
|
|
187
|
+
onDrag?: ((e: DragEvent) => boolean) | undefined;
|
|
188
|
+
onDragEnd?: ((e: DragEvent) => boolean) | undefined;
|
|
189
|
+
'data-col-id': string;
|
|
190
|
+
draggable: boolean | undefined;
|
|
191
|
+
role: string;
|
|
192
|
+
};
|
|
193
|
+
/**
|
|
194
|
+
* Provides essential information for cell rendering, including the column and row.
|
|
195
|
+
* Additionally, it supplies the current search query.
|
|
196
|
+
*/
|
|
197
|
+
getRenderingEngineProps(): ColumnRenderingEngineProps;
|
|
198
|
+
/**
|
|
199
|
+
* Sets the current execution context, {@link RowContext}, when rendering a cell for this column.
|
|
200
|
+
* This dynamic context is updated for each cell in the column as it is rendered.
|
|
201
|
+
*/
|
|
202
|
+
setExecutionContext(row: Row): void;
|
|
203
|
+
/**
|
|
204
|
+
* Retrieves the current execution context, i.e., {@link RowContext}, when rendering a cell for this column.
|
|
205
|
+
* This context dynamically updates as each cell in the column is rendered.
|
|
206
|
+
*/
|
|
207
|
+
getExecutionContext(): RowContext | null;
|
|
208
|
+
/**
|
|
209
|
+
* Sets the {@link Column.executionContext execution context} to the row of the cell being edited.
|
|
210
|
+
* It relies on the editInfo state to identify the cell being edited.
|
|
211
|
+
*/
|
|
212
|
+
setEditContext(): void;
|
|
213
|
+
/**
|
|
214
|
+
* Checks whether any value cell in this column is currently in edit mode.
|
|
215
|
+
*/
|
|
216
|
+
isCellInEditMode(): boolean | null;
|
|
217
|
+
/**
|
|
218
|
+
* Returns the current column {@link ColumnContext context}.
|
|
219
|
+
* @param overriddenExecutionContext - optional param to override the execution context with custom {@link RowContext}.
|
|
220
|
+
* @returns
|
|
221
|
+
*
|
|
222
|
+
* @public
|
|
223
|
+
*/
|
|
224
|
+
getContext(overriddenExecutionContext?: RowContext | null): ColumnContext;
|
|
225
|
+
/**
|
|
226
|
+
* Updates property of the column with value. The updated value will be reflected on next re-render.
|
|
227
|
+
* @param prop Either partial of {@link Column} or individual properties of {@link Column}.
|
|
228
|
+
* @param [value] An optional parameter to provide value for {@link prop} in case prop is not of type {@link ColumnConfig}
|
|
229
|
+
* @returns void
|
|
230
|
+
*/
|
|
231
|
+
setPropMutatively(prop: Partial<OmitStrict<Column, 'data' | 'isAutoSizable' | 'parent'>> | ExcludeStrict<keyof Column, 'data' | 'isAutoSizable' | 'parent'>, value?: Column[keyof Column]): void;
|
|
232
|
+
/**
|
|
233
|
+
* Sets a {@link prop property} and its {@link value} in the {@link Column} instance, creating an immutable instance.
|
|
234
|
+
* Always use `setProp` to update properties of {@link Column} to ensure immutability.
|
|
235
|
+
*
|
|
236
|
+
* @param prop Either a partial {@link ColumnConfig} or individual properties of {@link ColumnConfig}.
|
|
237
|
+
* @param [value] Optional value to set for `prop` if `prop` is not of type {@link ColumnConfig}.
|
|
238
|
+
* @returns void
|
|
239
|
+
*/
|
|
240
|
+
setProp(prop: Partial<ColumnConfig> | keyof ColumnConfig, value?: ColumnConfig[keyof ColumnConfig]): Column;
|
|
241
|
+
/**
|
|
242
|
+
* Applies grouping to this column.
|
|
243
|
+
*
|
|
244
|
+
* Dispatches an action that modifies the {@link State.groups groups} in the state.
|
|
245
|
+
*/
|
|
246
|
+
applyGrouping(): void;
|
|
247
|
+
/**
|
|
248
|
+
* Applies sorting to the grouped column.
|
|
249
|
+
*
|
|
250
|
+
* Dispatches an action that updates {@link Group.order group order} in the {@link State.groups groups} state.
|
|
251
|
+
*/
|
|
252
|
+
applyGroupingSort(): void;
|
|
253
|
+
/**
|
|
254
|
+
* Applies sorting to this column.
|
|
255
|
+
*
|
|
256
|
+
* Dispatches an action that updates the {@link State.sortingOrder sortingOrder} in the state.
|
|
257
|
+
*
|
|
258
|
+
* @param flushState If true, it will reset the existing {@link State.sortingOrder sortingOrder} state for this column.
|
|
259
|
+
* @param sortOrderId The sort order, either 'asc' or 'desc'.
|
|
260
|
+
*/
|
|
261
|
+
applySorting(flushState: boolean | undefined, sortOrderId: Sort['order']): void;
|
|
262
|
+
/**
|
|
263
|
+
* Toggles the visibility of a column, allowing it to be shown or hidden.
|
|
264
|
+
*
|
|
265
|
+
* Dispatches an action that updates {@link State.hiddenColumns hiddenColumns} in the state.
|
|
266
|
+
*
|
|
267
|
+
* @param column The column to be toggled.
|
|
268
|
+
*/
|
|
269
|
+
applyToggleVisibility(): void;
|
|
270
|
+
/**
|
|
271
|
+
* Toggles the "freeze" effect on a column, locking it to the left while the rest of the content scrolls.
|
|
272
|
+
* This helps keep key columns visible in large datasets.
|
|
273
|
+
*
|
|
274
|
+
* Dispatches an action that updates {@link State.freezeColumns freezeColumns} in the state.
|
|
275
|
+
*/
|
|
276
|
+
applyFreeze(): void;
|
|
277
|
+
/**
|
|
278
|
+
* Toggles the "freeze" effect on a column, locking it at given index while the rest of the columns
|
|
279
|
+
* continues to scroll. This can be used to keep key columns visible in large datasets.
|
|
280
|
+
* The freeze order of the given column is defined by {@link index} passed.
|
|
281
|
+
*
|
|
282
|
+
* Dispatches an action that modifies {@link State.freezeColumns freezeColumns} in the state.
|
|
283
|
+
* @param index
|
|
284
|
+
*/
|
|
285
|
+
applyFreezeAtIndex(index: number): void;
|
|
286
|
+
/** Applies aggregation to the column, summarizing the data based on a specified {@link type aggregationType}.
|
|
287
|
+
*
|
|
288
|
+
* Dispatches an action that modifies {@link State.aggregationInfo aggregation} in the state.
|
|
289
|
+
*/
|
|
290
|
+
applyAggregation(type: AggregationType): void;
|
|
291
|
+
/** Applies label to the current column.
|
|
292
|
+
*
|
|
293
|
+
* Dispatches an action that updates {@link State.columnAlias columnAlias} in the state.
|
|
294
|
+
*/
|
|
295
|
+
applyLabel(label: NonNullable<Column['label']>): void;
|
|
296
|
+
/** Applies formatter to the current column.
|
|
297
|
+
*
|
|
298
|
+
* Dispatches an action that updates {@link State.renderFormatter renderFormatter} in the state.
|
|
299
|
+
* @param name - Formatter name.
|
|
300
|
+
*/
|
|
301
|
+
applyFormatter(name: NonNullable<Column['formatterName']>): void;
|
|
302
|
+
/**
|
|
303
|
+
* Applies {@link mode displayMode} to hierarchical column.
|
|
304
|
+
*
|
|
305
|
+
* Dispatches an action that modifies {@link State.hierarchicalGroup hierarchicalGroups},
|
|
306
|
+
* {@link State.groupToggle groupToggle}, {@link State.groups groups} in the state.
|
|
307
|
+
* @param mode
|
|
308
|
+
*/
|
|
309
|
+
applyDisplay(mode: string): void;
|
|
310
|
+
/**
|
|
311
|
+
* Applies merge operation(combine columns) to 2 columns based on selected template.
|
|
312
|
+
*
|
|
313
|
+
* Dispatches an action that modifies {@link State.customFields customFields} in the state.
|
|
314
|
+
* @param mergeWith On which column the merge operation to be performed(left/right)
|
|
315
|
+
* @param title label for the new custom column.
|
|
316
|
+
* @param templateName The template which should be used to merge the columns
|
|
317
|
+
* @param bHideColumns Hide the existing columns.
|
|
318
|
+
*/
|
|
319
|
+
applyMerge(mergeWith: 'left' | 'right', title: string, templateName: NonNullable<Meta['dynamicFieldTemplates']>[number]['value'], bHideColumns: boolean): void;
|
|
320
|
+
/**
|
|
321
|
+
* Deletes the custom column.
|
|
322
|
+
*
|
|
323
|
+
* Dispatches an action that modifies {@link State.customFields customFields} in the state by removing this column from it.
|
|
324
|
+
*/
|
|
325
|
+
deleteCustomColumn(): void;
|
|
326
|
+
/**
|
|
327
|
+
* Updates column's width based on the autosize logic.
|
|
328
|
+
*
|
|
329
|
+
* Dispatches an action that modifies the {@link State.columnWidths columnWidths} in the state.
|
|
330
|
+
*/
|
|
331
|
+
applyColumnAutoSize(): void;
|
|
332
|
+
/**
|
|
333
|
+
* Determines if autosize is enabled for this column.
|
|
334
|
+
*/
|
|
335
|
+
get isAutoSizable(): boolean | undefined;
|
|
336
|
+
/**
|
|
337
|
+
* Determines whether hierarchical mode should be enabled for this column.
|
|
338
|
+
*/
|
|
339
|
+
renderDisplayMode(): boolean | "" | undefined;
|
|
340
|
+
/**
|
|
341
|
+
* Retrieves the personalized width of the column, sourced from either
|
|
342
|
+
* {@link RsProps.persistedInfo persistedInfo} or the current
|
|
343
|
+
* {@link State.personalization personalized state}.
|
|
344
|
+
*
|
|
345
|
+
* @returns The personalized width of the column.
|
|
346
|
+
*/
|
|
347
|
+
getPersonalizedWidth(): number | undefined;
|
|
348
|
+
}
|
|
349
|
+
//# sourceMappingURL=ColumnGenerator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColumnGenerator.d.ts","sourceRoot":"","sources":["../../../../src/core/generators/ColumnGenerator.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AAEtE,OAAO,KAAK,EACV,sBAAsB,EACtB,QAAQ,EACR,IAAI,EACJ,WAAW,EACZ,MAAM,2BAA2B,CAAC;AAEnC,OAAO,KAAK,EAAgB,IAAI,EAAE,eAAe,EAAY,MAAM,4BAA4B,CAAC;AAIhG,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,UAAU,MAAM,eAAe,CAAC;AAM5C,OAAO,KAAK,GAAG,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,0BAA0B,EAChC,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,MAAM,CAAC,OAAO,OAAO,MAAM;;IASzB,gEAAgE;IAChE,KAAK,EAAS,WAAW,CAAC;IAC1B;;OAEG;IACH,OAAO,UAAS;IAChB;;OAEG;IACH,MAAM,UAAS;IACf;;OAEG;IACH,QAAQ,UAAS;IACjB;;OAEG;IACH,MAAM,UAAS;IACf,4EAA4E;IAC5E,YAAY,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;IAC9C,yEAAyE;IACzE,SAAS,CAAC,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC;IACxC;;OAEG;IACH,UAA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