@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,504 @@
|
|
|
1
|
+
import type { FieldDef, Meta } from '../../../types/Meta.types';
|
|
2
|
+
import type { AggregationType, Group, Sort, State } from '../../../types/State.types';
|
|
3
|
+
import type { STATE } from '../constants';
|
|
4
|
+
import type { FeatureProps } from '../features/featureFactory';
|
|
5
|
+
import type Column from '../generators/ColumnGenerator';
|
|
6
|
+
import type { RowData } from '../generators/RowGenerator.types';
|
|
7
|
+
import type View from '../generators/ViewGenerator';
|
|
8
|
+
import ActionTypes from './actionConstants';
|
|
9
|
+
import * as Actions from './actions';
|
|
10
|
+
/** A Type function utility that accepts an object of methods and returns a union of return type of all the methods. Used in case of actions functions. */
|
|
11
|
+
type GenerateActionType<T extends {
|
|
12
|
+
[key: string]: (...args: any[]) => any;
|
|
13
|
+
}> = {
|
|
14
|
+
[K in keyof T]: ReturnType<T[K]>;
|
|
15
|
+
}[keyof T];
|
|
16
|
+
export interface ActionMeta {
|
|
17
|
+
/**
|
|
18
|
+
* Instantly dispatches a render by calling the external store reference's dispatch method.
|
|
19
|
+
* This action bypasses the usual waiting for actions, features, or side effects to complete.
|
|
20
|
+
*/
|
|
21
|
+
instantRender?: boolean;
|
|
22
|
+
/** Indicates to skip the action queue and directly call reducer. */
|
|
23
|
+
skipActionQueue?: boolean;
|
|
24
|
+
/** Indicates to take latest action from the action queue if multiple actions of same type are present. */
|
|
25
|
+
takeLatestAction?: boolean;
|
|
26
|
+
}
|
|
27
|
+
export interface ColumnFilteringActionPayload {
|
|
28
|
+
filterExp: NonNullable<State['filterExpression']>;
|
|
29
|
+
}
|
|
30
|
+
export interface ColumnSortPayload {
|
|
31
|
+
id: FieldDef['id'];
|
|
32
|
+
flushState: boolean;
|
|
33
|
+
sortOrderId: Sort['order'];
|
|
34
|
+
}
|
|
35
|
+
export interface PaginationPayload {
|
|
36
|
+
id: string;
|
|
37
|
+
startIndex: number;
|
|
38
|
+
endIndex: number;
|
|
39
|
+
}
|
|
40
|
+
export interface PaginateAction extends ActionMeta {
|
|
41
|
+
payload: PaginationPayload;
|
|
42
|
+
type: typeof ActionTypes.PAGINATE;
|
|
43
|
+
}
|
|
44
|
+
export interface ColumnResizePayload {
|
|
45
|
+
data: {
|
|
46
|
+
[fieldId: string]: number;
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
export interface ColumnDragDropAction {
|
|
50
|
+
payload: {
|
|
51
|
+
sourceColId: string;
|
|
52
|
+
targetColId: string;
|
|
53
|
+
};
|
|
54
|
+
type: typeof ActionTypes.COLUMN_DRAG_DROP;
|
|
55
|
+
}
|
|
56
|
+
export interface ExpandCollapsePayload {
|
|
57
|
+
groupHeader?: NonNullable<View['groupHeaders']>[number];
|
|
58
|
+
groups?: Group[];
|
|
59
|
+
}
|
|
60
|
+
export interface MoveRecordKeysUpdatePayload {
|
|
61
|
+
sourceID?: string;
|
|
62
|
+
destinationID?: string;
|
|
63
|
+
sourceKey?: string;
|
|
64
|
+
destinationKey?: string;
|
|
65
|
+
}
|
|
66
|
+
export interface RowSelectionUpdatePayload {
|
|
67
|
+
key: string;
|
|
68
|
+
selected: boolean;
|
|
69
|
+
data: RowData;
|
|
70
|
+
status: typeof STATE.NOT_STARTED;
|
|
71
|
+
mode: Meta['selectionMode'];
|
|
72
|
+
}
|
|
73
|
+
export interface RowSelectionItemsUpdatePayload {
|
|
74
|
+
selectedRows: string[];
|
|
75
|
+
mode: NonNullable<Meta['selectionMode']>;
|
|
76
|
+
}
|
|
77
|
+
export interface UpdateRowSelectionStatusPayload {
|
|
78
|
+
keys: string[];
|
|
79
|
+
status: typeof STATE.IN_PROGRESS;
|
|
80
|
+
mode: NonNullable<Meta['selectionMode']>;
|
|
81
|
+
}
|
|
82
|
+
export type SearchGlobalActionAsFunction = (dispatch: FeatureProps['dispatch'], getState: FeatureProps['getState'], meta: Meta) => void;
|
|
83
|
+
export interface SearchGlobalAction {
|
|
84
|
+
type: typeof ActionTypes.SEARCH;
|
|
85
|
+
payload: {
|
|
86
|
+
query: string;
|
|
87
|
+
fields: string[];
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
export interface MergeColumnsPayload {
|
|
91
|
+
sourceId: string;
|
|
92
|
+
targetId: string;
|
|
93
|
+
title: string;
|
|
94
|
+
templateName: string;
|
|
95
|
+
bHideColumns: boolean;
|
|
96
|
+
uniqueID: string;
|
|
97
|
+
hideColumns?: [string, string];
|
|
98
|
+
}
|
|
99
|
+
export interface DeleteCustomColumnPayload {
|
|
100
|
+
columnId: FieldDef['id'] | FieldDef['id'][];
|
|
101
|
+
}
|
|
102
|
+
export type SanitizableProperties = Pick<State, 'sortingOrder' | 'freezeColumns' | 'hiddenColumns' | 'columnWidths' | 'colOrder' | 'aggregationInfo' | 'groups' | 'customFields' | 'filterExpression' | 'hierarchicalGroup' | 'renderFormatter'>;
|
|
103
|
+
export interface UpdateAggregationPayload {
|
|
104
|
+
columnId: FieldDef['id'];
|
|
105
|
+
type: AggregationType;
|
|
106
|
+
}
|
|
107
|
+
export interface UpdateRenderFormatterPayload {
|
|
108
|
+
columnId: FieldDef['id'];
|
|
109
|
+
name: Column['formatterName'];
|
|
110
|
+
}
|
|
111
|
+
export interface ChangeLabelActionPayload {
|
|
112
|
+
columnId: FieldDef['id'];
|
|
113
|
+
label: Column['label'];
|
|
114
|
+
}
|
|
115
|
+
export interface SubmitChangeSetPayload {
|
|
116
|
+
key: string;
|
|
117
|
+
name: string;
|
|
118
|
+
newValue: string | number | Date | boolean;
|
|
119
|
+
oldValue: string | number | Date | boolean;
|
|
120
|
+
status: string;
|
|
121
|
+
}
|
|
122
|
+
export type PersonalizationCreateAction = ReturnType<typeof Actions.actionPersonalizationCreate>;
|
|
123
|
+
export type PersonalizationDeleteAction = ReturnType<typeof Actions.actionPersonalizationDelete>;
|
|
124
|
+
export type PersonalizationEditAction = ReturnType<typeof Actions.actionPersonalizationEdit>;
|
|
125
|
+
export type PersonalizationSetActiveAction = ReturnType<typeof Actions.actionPersonalizationSetActive>;
|
|
126
|
+
export type PersonalizationSetAppDefaultAction = ReturnType<typeof Actions.actionPersonalizationSetAppDefault>;
|
|
127
|
+
export type PersonalizationSetDefaultAction = ReturnType<typeof Actions.actionPersonalizationSetDefault>;
|
|
128
|
+
export type PersonalizationUpdateAction = ReturnType<typeof Actions.actionPersonalizationUpdate>;
|
|
129
|
+
export type PersonalizationUpdateIdAction = ReturnType<typeof Actions.actionPersonalizationUpdateId>;
|
|
130
|
+
export type PersonalizationUpdatePresetIdAction = ReturnType<typeof Actions.actionPersonalizationUpdatePresetId>;
|
|
131
|
+
export type GetPersonalizationsAction = ReturnType<typeof Actions.actionGetPersonalizations>;
|
|
132
|
+
export type PersonalizationActions = PersonalizationCreateAction | PersonalizationDeleteAction | PersonalizationEditAction | PersonalizationSetActiveAction | PersonalizationSetAppDefaultAction | PersonalizationSetDefaultAction | PersonalizationUpdateAction | PersonalizationUpdateIdAction | PersonalizationUpdatePresetIdAction | GetPersonalizationsAction;
|
|
133
|
+
export type ActionAsFunction = SearchGlobalActionAsFunction;
|
|
134
|
+
declare const objectActions: {
|
|
135
|
+
actionNotificationAdd(notifications: import("../../../types/State.types").Notification | import("../../../types/State.types").Notification[]): {
|
|
136
|
+
type: "NOTIFICATION_ADD";
|
|
137
|
+
payload: {
|
|
138
|
+
msgs: import("../../../types/State.types").Notification[];
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
actionNotificationRemove(ids: string | string[]): {
|
|
142
|
+
type: "NOTIFICATION_REMOVE";
|
|
143
|
+
payload: {
|
|
144
|
+
ids: string | string[];
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
actionGroupingExpandCollapseAll(payload: boolean): {
|
|
148
|
+
type: "toggleExpandCollapseAll";
|
|
149
|
+
payload: boolean;
|
|
150
|
+
};
|
|
151
|
+
actionColumnFiltering(payload: ColumnFilteringActionPayload): {
|
|
152
|
+
type: "columnFiltering";
|
|
153
|
+
payload: ColumnFilteringActionPayload;
|
|
154
|
+
};
|
|
155
|
+
actionClearFiltering(colId: string): {
|
|
156
|
+
type: "columnClearFiltering";
|
|
157
|
+
payload: {
|
|
158
|
+
colId: string;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
actionColumnSort(payload: ColumnSortPayload): {
|
|
162
|
+
type: "columnSort";
|
|
163
|
+
payload: ColumnSortPayload;
|
|
164
|
+
};
|
|
165
|
+
actionUpdateSort(payload: NonNullable<State["sortingOrder"]>): {
|
|
166
|
+
type: "updateSort";
|
|
167
|
+
payload: Sort[];
|
|
168
|
+
};
|
|
169
|
+
actionPaginate(payload: PaginationPayload, actionMeta?: ActionMeta): PaginateAction;
|
|
170
|
+
actionRowHeightChange(payload: typeof import("../../../types/Meta.types").ROW_DENSITY[keyof typeof import("../../../types/Meta.types").ROW_DENSITY]): {
|
|
171
|
+
type: "rowHeightChange";
|
|
172
|
+
payload: "1" | "2" | "3" | "4";
|
|
173
|
+
};
|
|
174
|
+
actionColumnResize(columnResizeObj: ColumnResizePayload["data"]): {
|
|
175
|
+
type: "columnResize";
|
|
176
|
+
payload: {
|
|
177
|
+
data: {
|
|
178
|
+
[fieldId: string]: number;
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
actionColumnAutoSize(column: Column, domContainer: NonNullable<View["domContainer"]>, forceAutoSize?: boolean): {
|
|
183
|
+
type: "columnResize";
|
|
184
|
+
payload: {
|
|
185
|
+
data: {
|
|
186
|
+
[x: string]: number;
|
|
187
|
+
};
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
actionColumnsAutoSize(columns: Column[], domContainer: NonNullable<View["domContainer"]>, reset?: boolean): {
|
|
191
|
+
type: "columnResize";
|
|
192
|
+
payload: {
|
|
193
|
+
data: ColumnResizePayload["data"];
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
actionColumnToggle(toggledColumns: string[]): {
|
|
197
|
+
type: "columnToggle";
|
|
198
|
+
payload: string[];
|
|
199
|
+
};
|
|
200
|
+
actionHiddenColumnUpdate(hiddenColumns: string[], ootbColumns: {
|
|
201
|
+
dragHandle?: boolean;
|
|
202
|
+
}): {
|
|
203
|
+
type: "hiddenColumnUpdate";
|
|
204
|
+
payload: {
|
|
205
|
+
hiddenColumns: string[];
|
|
206
|
+
ootbColumns: {
|
|
207
|
+
dragHandle?: boolean;
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
};
|
|
211
|
+
actionColumnPin(pinnedColumns: string[]): {
|
|
212
|
+
type: "togglePin";
|
|
213
|
+
payload: string[];
|
|
214
|
+
};
|
|
215
|
+
actionColumnPinAtIndex(pinnedColumn: string, index: number): {
|
|
216
|
+
type: "togglePinAtIndex";
|
|
217
|
+
payload: {
|
|
218
|
+
pinnedColumn: string;
|
|
219
|
+
index: number;
|
|
220
|
+
};
|
|
221
|
+
};
|
|
222
|
+
actionColumnDragDrop(sourceColId: string, targetColId: string): ColumnDragDropAction;
|
|
223
|
+
actionToggleGrouping(payload: FieldDef): {
|
|
224
|
+
type: "toggleGrouping";
|
|
225
|
+
payload: FieldDef;
|
|
226
|
+
};
|
|
227
|
+
actionToggleExpandCollpase(payload: ExpandCollapsePayload): {
|
|
228
|
+
type: "toggleExpandCollapse";
|
|
229
|
+
payload: ExpandCollapsePayload;
|
|
230
|
+
};
|
|
231
|
+
actionToggleGroupingSort(payload: FieldDef): {
|
|
232
|
+
type: "toggleGroupingSort";
|
|
233
|
+
payload: FieldDef;
|
|
234
|
+
};
|
|
235
|
+
actionAddGroups(payload: Group[]): {
|
|
236
|
+
type: "addGroups";
|
|
237
|
+
payload: Group[];
|
|
238
|
+
};
|
|
239
|
+
actionMoveRecordKeysUpdate(payload: MoveRecordKeysUpdatePayload): {
|
|
240
|
+
type: "moverecordkeys";
|
|
241
|
+
payload: MoveRecordKeysUpdatePayload;
|
|
242
|
+
};
|
|
243
|
+
actionRowSelectionUpdate(payload: RowSelectionUpdatePayload): {
|
|
244
|
+
type: "updateRowSelection";
|
|
245
|
+
payload: RowSelectionUpdatePayload;
|
|
246
|
+
};
|
|
247
|
+
actionRowSelectionItemsUpdate(payload: RowSelectionItemsUpdatePayload): {
|
|
248
|
+
type: "UPDATE_ROW_SELECTION_ITEMS";
|
|
249
|
+
payload: RowSelectionItemsUpdatePayload;
|
|
250
|
+
};
|
|
251
|
+
actionUpdateRowSelectionStatus(payload: UpdateRowSelectionStatusPayload): {
|
|
252
|
+
type: "UPDATE_ROW_SELECTION_STATUS";
|
|
253
|
+
payload: UpdateRowSelectionStatusPayload;
|
|
254
|
+
};
|
|
255
|
+
actionClearRowSelectionStatus(payload: {
|
|
256
|
+
keys: string[];
|
|
257
|
+
}): {
|
|
258
|
+
type: "CLEAR_ROW_SELECTION";
|
|
259
|
+
payload: {
|
|
260
|
+
keys: string[];
|
|
261
|
+
};
|
|
262
|
+
};
|
|
263
|
+
actionMergeColumns(payload: MergeColumnsPayload): {
|
|
264
|
+
type: "columnMerge";
|
|
265
|
+
payload: MergeColumnsPayload;
|
|
266
|
+
};
|
|
267
|
+
actionGetPersonalizations(payload: NonNullable<State["personalization"]> & {
|
|
268
|
+
personalizationKey?: string;
|
|
269
|
+
}): {
|
|
270
|
+
skipActionQueue: boolean;
|
|
271
|
+
type: "PERSONALIZATION_GET";
|
|
272
|
+
payload: import("../../../types/State.types").Personalization & {
|
|
273
|
+
personalizationKey?: string;
|
|
274
|
+
};
|
|
275
|
+
};
|
|
276
|
+
actionDeleteCustomColumn(payload: DeleteCustomColumnPayload): {
|
|
277
|
+
type: "customColumnDelete";
|
|
278
|
+
payload: DeleteCustomColumnPayload;
|
|
279
|
+
};
|
|
280
|
+
actionHydrateState(payload: State): {
|
|
281
|
+
skipActionQueue: boolean;
|
|
282
|
+
type: "HYDRATE_STATE";
|
|
283
|
+
payload: State;
|
|
284
|
+
};
|
|
285
|
+
actionSanitizeState(payload: SanitizableProperties): {
|
|
286
|
+
skipActionQueue: boolean;
|
|
287
|
+
type: "sanitizeState";
|
|
288
|
+
payload: SanitizableProperties;
|
|
289
|
+
};
|
|
290
|
+
actionUpdateColumnOrder(payload: [string]): {
|
|
291
|
+
type: "updateColumnOrder";
|
|
292
|
+
payload: [string];
|
|
293
|
+
};
|
|
294
|
+
actionNewColumnOrder(payload: string[]): {
|
|
295
|
+
type: "newColumnOrder";
|
|
296
|
+
payload: string[];
|
|
297
|
+
};
|
|
298
|
+
actionUpdateTableHeight(payload: View["bodyHeight"]): {
|
|
299
|
+
type: "updateTableHeight";
|
|
300
|
+
payload: string | number | undefined;
|
|
301
|
+
};
|
|
302
|
+
actionPersonalizationUpdate(personalizationKey: string, markAsDefault: boolean, markAsAppDefault: boolean): {
|
|
303
|
+
type: "PERSONALIZATION_UPDATE";
|
|
304
|
+
payload: {
|
|
305
|
+
personalizationKey: string;
|
|
306
|
+
markAsDefault: boolean;
|
|
307
|
+
markAsAppDefault: boolean;
|
|
308
|
+
};
|
|
309
|
+
};
|
|
310
|
+
actionPersonalizationUpdateId(oldPersonalizationId: string, newPersonalizationId: string): {
|
|
311
|
+
type: "PERSONALIZATION_UPDATE_ID";
|
|
312
|
+
payload: {
|
|
313
|
+
oldPersonalizationId: string;
|
|
314
|
+
newPersonalizationId: string;
|
|
315
|
+
};
|
|
316
|
+
};
|
|
317
|
+
actionPersonalizationUpdatePresetId(personalizationKey: string, oldPresetId: string, newPresetId: string): {
|
|
318
|
+
type: "PERSONALIZATION_UPDATE_PRESET_ID";
|
|
319
|
+
payload: {
|
|
320
|
+
oldPresetId: string;
|
|
321
|
+
newPresetId: string;
|
|
322
|
+
personalizationKey: string;
|
|
323
|
+
};
|
|
324
|
+
};
|
|
325
|
+
actionPersonalizationDelete(personalizationKey: string, deletePresetPersonalizations?: boolean): {
|
|
326
|
+
type: "PERSONALIZATION_DELETE";
|
|
327
|
+
payload: {
|
|
328
|
+
personalizationKey: string;
|
|
329
|
+
deletePresetPersonalizations: boolean | undefined;
|
|
330
|
+
};
|
|
331
|
+
};
|
|
332
|
+
actionPersonalizationSetActive({ id, isPreset }: {
|
|
333
|
+
id: string;
|
|
334
|
+
isPreset: boolean;
|
|
335
|
+
}): {
|
|
336
|
+
type: "PERSONALIZATION_SET_ACTIVE";
|
|
337
|
+
payload: {
|
|
338
|
+
personalizationKey: string;
|
|
339
|
+
isPreset: boolean;
|
|
340
|
+
};
|
|
341
|
+
};
|
|
342
|
+
actionPersonalizationCreate(personalizationName: string, markAsDefault: boolean, template?: string, presetId?: string): {
|
|
343
|
+
type: "PERSONALIZATION_CREATE";
|
|
344
|
+
payload: {
|
|
345
|
+
personalizationKey: string;
|
|
346
|
+
personalizationName: string;
|
|
347
|
+
markAsDefault: boolean;
|
|
348
|
+
template: string | undefined;
|
|
349
|
+
presetId: string | undefined;
|
|
350
|
+
};
|
|
351
|
+
};
|
|
352
|
+
actionPersonalizationEdit(personalizationKey: string, personalizationName: string, markAsDefault: boolean, markAsAppDefault: boolean): {
|
|
353
|
+
type: "PERSONALIZATION_EDIT";
|
|
354
|
+
payload: {
|
|
355
|
+
personalizationKey: string;
|
|
356
|
+
personalizationName: string;
|
|
357
|
+
markAsDefault: boolean;
|
|
358
|
+
markAsAppDefault: boolean;
|
|
359
|
+
};
|
|
360
|
+
};
|
|
361
|
+
actionPersonalizationSetDefault(personalizationKey: string): {
|
|
362
|
+
type: "PERSONALIZATION_SET_DEFAULT";
|
|
363
|
+
payload: {
|
|
364
|
+
personalizationKey: string;
|
|
365
|
+
};
|
|
366
|
+
};
|
|
367
|
+
actionPersonalizationSetAppDefault(personalizationKey: string, personalizationName: string): {
|
|
368
|
+
type: "PERSONALIZATION_SET_APP_DEFAULT";
|
|
369
|
+
payload: {
|
|
370
|
+
personalizationKey: string;
|
|
371
|
+
personalizationName: string;
|
|
372
|
+
};
|
|
373
|
+
};
|
|
374
|
+
actionBootstrap(): {
|
|
375
|
+
type: "bootstrap";
|
|
376
|
+
};
|
|
377
|
+
actionUpdateStateVersion(): {
|
|
378
|
+
type: "updateStateVersion";
|
|
379
|
+
};
|
|
380
|
+
actionUpdateAggregation(payload: UpdateAggregationPayload): {
|
|
381
|
+
type: "updateAggregation";
|
|
382
|
+
payload: UpdateAggregationPayload;
|
|
383
|
+
};
|
|
384
|
+
actionUpdateAggregations(payload: NonNullable<State["aggregationInfo"]>): {
|
|
385
|
+
type: "updateAggregations";
|
|
386
|
+
payload: import("../../../types/State.types").Aggregation[];
|
|
387
|
+
};
|
|
388
|
+
actionUpdateRenderFormatter(payload: UpdateRenderFormatterPayload): {
|
|
389
|
+
type: "changeRenderFormatter";
|
|
390
|
+
payload: UpdateRenderFormatterPayload;
|
|
391
|
+
};
|
|
392
|
+
actionUpdateDisplayMode(payload: import("../../../types/Meta.types").HierarchicalInfo): {
|
|
393
|
+
type: "COLUMN_DISPLAY_CHANGE’";
|
|
394
|
+
payload: import("../../../types/Meta.types").HierarchicalInfo;
|
|
395
|
+
};
|
|
396
|
+
actionChangeLabel(payload: ChangeLabelActionPayload): {
|
|
397
|
+
type: "changeLabel";
|
|
398
|
+
payload: ChangeLabelActionPayload;
|
|
399
|
+
};
|
|
400
|
+
actionReplaceLabels(payload: NonNullable<State["columnAlias"]>): {
|
|
401
|
+
type: "replaceLabels";
|
|
402
|
+
payload: {
|
|
403
|
+
[key: string]: string;
|
|
404
|
+
};
|
|
405
|
+
};
|
|
406
|
+
actionEditCell(payload: import("../../../types/State.types").EditInfo): {
|
|
407
|
+
type: "changeCellMode";
|
|
408
|
+
payload: import("../../../types/State.types").EditInfo;
|
|
409
|
+
};
|
|
410
|
+
actionUpdateChangeSet(payload: SubmitChangeSetPayload): {
|
|
411
|
+
type: "updateChangeSet";
|
|
412
|
+
payload: SubmitChangeSetPayload;
|
|
413
|
+
};
|
|
414
|
+
actionSubmitChangeSet(payload: SubmitChangeSetPayload): {
|
|
415
|
+
type: "submitChangeSet";
|
|
416
|
+
payload: SubmitChangeSetPayload;
|
|
417
|
+
};
|
|
418
|
+
actionClearChangeSet(payload: SubmitChangeSetPayload): {
|
|
419
|
+
type: "clearChangeSet";
|
|
420
|
+
payload: SubmitChangeSetPayload;
|
|
421
|
+
};
|
|
422
|
+
actionShowHeaderIcons(showHeaderIcons: boolean): {
|
|
423
|
+
type: "showHeaderIcons";
|
|
424
|
+
payload: boolean;
|
|
425
|
+
};
|
|
426
|
+
actionForceUpdate(instantRender?: boolean, forceUpdateFeatures?: State["forceUpdateFeatures"]): {
|
|
427
|
+
instantRender: boolean;
|
|
428
|
+
type: "forceUpdate";
|
|
429
|
+
payload: {
|
|
430
|
+
forceUpdateFeatures: {
|
|
431
|
+
forceRenderOnNextRun?: boolean;
|
|
432
|
+
forceCalculateAutoWidth?: boolean;
|
|
433
|
+
updateSelectedRows?: number;
|
|
434
|
+
};
|
|
435
|
+
};
|
|
436
|
+
};
|
|
437
|
+
actionForceRefresh(flushState?: {
|
|
438
|
+
[key: string]: boolean;
|
|
439
|
+
}, featuresToAvoid?: string[]): {
|
|
440
|
+
type: "forceRefresh";
|
|
441
|
+
payload: {
|
|
442
|
+
stateToReset: {};
|
|
443
|
+
featuresToAvoid: string[];
|
|
444
|
+
};
|
|
445
|
+
};
|
|
446
|
+
actionToggleSelectAllCheckbox(payload: {
|
|
447
|
+
showSelectAllCheckbox: boolean;
|
|
448
|
+
}): {
|
|
449
|
+
type: "toggleSelectAllCheckbox";
|
|
450
|
+
payload: {
|
|
451
|
+
showSelectAllCheckbox: boolean;
|
|
452
|
+
};
|
|
453
|
+
};
|
|
454
|
+
actionSetDataRefreshNotification(): {
|
|
455
|
+
type: "notifyDataRefresh";
|
|
456
|
+
};
|
|
457
|
+
actionClearDataRefreshNotification(): {
|
|
458
|
+
type: "clearDataRefreshNotification";
|
|
459
|
+
};
|
|
460
|
+
showConfirmationAction(): {
|
|
461
|
+
type: "userConfirmationAction";
|
|
462
|
+
instantRender: boolean;
|
|
463
|
+
};
|
|
464
|
+
completeConfirmationAction(): {
|
|
465
|
+
type: "completeUserConfirmationAction";
|
|
466
|
+
instantRender: boolean;
|
|
467
|
+
};
|
|
468
|
+
setDataErrors(payload: import("../../../types/State.types").Errors["dataErrors"]): {
|
|
469
|
+
type: "setDataError";
|
|
470
|
+
payload: import("../../../types/State.types").DataError;
|
|
471
|
+
};
|
|
472
|
+
setDomContainerResponsiveBreakpoints(payload: {
|
|
473
|
+
breakpoint: string;
|
|
474
|
+
value: boolean;
|
|
475
|
+
}): {
|
|
476
|
+
type: "setDomContainerResponsiveBreakpoints";
|
|
477
|
+
payload: {
|
|
478
|
+
breakpoint: string;
|
|
479
|
+
value: boolean;
|
|
480
|
+
};
|
|
481
|
+
};
|
|
482
|
+
setExternalState(payload: NonNullable<State["externalState"]>): {
|
|
483
|
+
type: "setInExternalState";
|
|
484
|
+
payload: {
|
|
485
|
+
[key: string]: object;
|
|
486
|
+
};
|
|
487
|
+
};
|
|
488
|
+
updateColumnsVisibility(payload: {
|
|
489
|
+
[key: FieldDef["id"]]: boolean;
|
|
490
|
+
}): {
|
|
491
|
+
type: "updateColumnsVisibility";
|
|
492
|
+
payload: {
|
|
493
|
+
[key: string]: boolean;
|
|
494
|
+
};
|
|
495
|
+
};
|
|
496
|
+
setConditionalStyleFormats(payload: import("../../../types/Meta.types").ConditionalStyleFormat[]): {
|
|
497
|
+
type: "setConditionalStyleFormats";
|
|
498
|
+
payload: import("../../../types/Meta.types").ConditionalStyleFormat[];
|
|
499
|
+
};
|
|
500
|
+
};
|
|
501
|
+
export type Action = GenerateActionType<typeof objectActions> | SearchGlobalAction;
|
|
502
|
+
export type BaseAction = Action | ActionAsFunction;
|
|
503
|
+
export {};
|
|
504
|
+
//# sourceMappingURL=actions.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actions.types.d.ts","sourceRoot":"","sources":["../../../../src/core/actions/actions.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAC;AACtF,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,KAAK,MAAM,MAAM,+BAA+B,CAAC;AACxD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,KAAK,IAAI,MAAM,6BAA6B,CAAC;AAEpD,OAAO,WAAW,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AAErC,0JAA0J;AAC1J,KAAK,kBAAkB,CAAC,CAAC,SAAS;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAA;CAAE,IAAI;KAC7E,CAAC,IAAI,MAAM,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CACjC,CAAC,MAAM,CAAC,CAAC,CAAC;AAEX,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,oEAAoE;IACpE,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,0GAA0G;IAC1G,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,MAAM,WAAW,4BAA4B;IAC3C,SAAS,EAAE,WAAW,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC;CACnD;AAED,MAAM,WAAW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"mappings":"AAQA,OAAO,WAAW,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AAuLrC,2EAA2E;AAC3E,MAAM,EAAE,kBAAkB,EAAE,GAAG,aAAa,EAAE,GAAG,OAAO,CAAC","sourcesContent":["import type { FieldDef, Meta } from '../../../types/Meta.types';\nimport type { AggregationType, Group, Sort, State } from '../../../types/State.types';\nimport type { STATE } from '../constants';\nimport type { FeatureProps } from '../features/featureFactory';\nimport type Column from '../generators/ColumnGenerator';\nimport type { RowData } from '../generators/RowGenerator.types';\nimport type View from '../generators/ViewGenerator';\n\nimport ActionTypes from './actionConstants';\nimport * as Actions from './actions';\n\n/** A Type function utility that accepts an object of methods and returns a union of return type of all the methods. Used in case of actions functions. */\ntype GenerateActionType<T extends { [key: string]: (...args: any[]) => any }> = {\n [K in keyof T]: ReturnType<T[K]>;\n}[keyof T];\n\nexport interface ActionMeta {\n /**\n * Instantly dispatches a render by calling the external store reference's dispatch method.\n * This action bypasses the usual waiting for actions, features, or side effects to complete.\n */\n instantRender?: boolean;\n /** Indicates to skip the action queue and directly call reducer. */\n skipActionQueue?: boolean;\n /** Indicates to take latest action from the action queue if multiple actions of same type are present. */\n takeLatestAction?: boolean;\n}\n\nexport interface ColumnFilteringActionPayload {\n filterExp: NonNullable<State['filterExpression']>;\n}\n\nexport interface ColumnSortPayload {\n id: FieldDef['id'];\n flushState: boolean;\n sortOrderId: Sort['order'];\n}\n\nexport interface PaginationPayload {\n id: string;\n startIndex: number;\n endIndex: number;\n}\n\nexport interface PaginateAction extends ActionMeta {\n payload: PaginationPayload;\n type: typeof ActionTypes.PAGINATE;\n}\n\nexport interface ColumnResizePayload {\n data: { [fieldId: string]: number };\n}\n\nexport interface ColumnDragDropAction {\n payload: {\n sourceColId: string;\n targetColId: string;\n };\n type: typeof ActionTypes.COLUMN_DRAG_DROP;\n}\n\nexport interface ExpandCollapsePayload {\n groupHeader?: NonNullable<View['groupHeaders']>[number];\n groups?: Group[];\n}\n\nexport interface MoveRecordKeysUpdatePayload {\n sourceID?: string;\n destinationID?: string;\n sourceKey?: string;\n destinationKey?: string;\n}\n\nexport interface RowSelectionUpdatePayload {\n key: string;\n selected: boolean;\n data: RowData;\n status: typeof STATE.NOT_STARTED;\n mode: Meta['selectionMode'];\n}\n\nexport interface RowSelectionItemsUpdatePayload {\n selectedRows: string[];\n mode: NonNullable<Meta['selectionMode']>;\n}\n\nexport interface UpdateRowSelectionStatusPayload {\n keys: string[];\n status: typeof STATE.IN_PROGRESS;\n mode: NonNullable<Meta['selectionMode']>;\n}\n\nexport type SearchGlobalActionAsFunction = (\n dispatch: FeatureProps['dispatch'],\n getState: FeatureProps['getState'],\n meta: Meta\n) => void;\n\nexport interface SearchGlobalAction {\n type: typeof ActionTypes.SEARCH;\n payload: { query: string; fields: string[] };\n}\n\nexport interface MergeColumnsPayload {\n sourceId: string;\n targetId: string;\n title: string;\n templateName: string;\n bHideColumns: boolean;\n uniqueID: string;\n hideColumns?: [string, string];\n}\n\nexport interface DeleteCustomColumnPayload {\n columnId: FieldDef['id'] | FieldDef['id'][];\n}\n\n// cSpell:disable-next-line\nexport type SanitizableProperties = Pick<\n State,\n | 'sortingOrder'\n | 'freezeColumns'\n | 'hiddenColumns'\n | 'columnWidths'\n | 'colOrder'\n | 'aggregationInfo'\n | 'groups'\n | 'customFields'\n | 'filterExpression'\n | 'hierarchicalGroup'\n | 'renderFormatter'\n>;\nexport interface UpdateAggregationPayload {\n columnId: FieldDef['id'];\n type: AggregationType;\n}\n\nexport interface UpdateRenderFormatterPayload {\n columnId: FieldDef['id'];\n name: Column['formatterName'];\n}\n\nexport interface ChangeLabelActionPayload {\n columnId: FieldDef['id'];\n label: Column['label'];\n}\n\nexport interface SubmitChangeSetPayload {\n key: string;\n name: string;\n newValue: string | number | Date | boolean;\n oldValue: string | number | Date | boolean;\n status: string;\n}\n\n// Personalization Actions.\nexport type PersonalizationCreateAction = ReturnType<typeof Actions.actionPersonalizationCreate>;\nexport type PersonalizationDeleteAction = ReturnType<typeof Actions.actionPersonalizationDelete>;\nexport type PersonalizationEditAction = ReturnType<typeof Actions.actionPersonalizationEdit>;\nexport type PersonalizationSetActiveAction = ReturnType<\n typeof Actions.actionPersonalizationSetActive\n>;\nexport type PersonalizationSetAppDefaultAction = ReturnType<\n typeof Actions.actionPersonalizationSetAppDefault\n>;\nexport type PersonalizationSetDefaultAction = ReturnType<\n typeof Actions.actionPersonalizationSetDefault\n>;\nexport type PersonalizationUpdateAction = ReturnType<typeof Actions.actionPersonalizationUpdate>;\nexport type PersonalizationUpdateIdAction = ReturnType<\n typeof Actions.actionPersonalizationUpdateId\n>;\nexport type PersonalizationUpdatePresetIdAction = ReturnType<\n typeof Actions.actionPersonalizationUpdatePresetId\n>;\nexport type GetPersonalizationsAction = ReturnType<typeof Actions.actionGetPersonalizations>;\nexport type PersonalizationActions =\n | PersonalizationCreateAction\n | PersonalizationDeleteAction\n | PersonalizationEditAction\n | PersonalizationSetActiveAction\n | PersonalizationSetAppDefaultAction\n | PersonalizationSetDefaultAction\n | PersonalizationUpdateAction\n | PersonalizationUpdateIdAction\n | PersonalizationUpdatePresetIdAction\n | GetPersonalizationsAction;\n\n// TODO: Remove Action as function.The logic for Search global action function can be move to reducer.\n// Needs further refactor, but it is required to remove the Actions as function usecase in reducer.\nexport type ActionAsFunction = SearchGlobalActionAsFunction;\n\n// All Actions of type object with signature {type: TYPE: payload: PAYLOAD}\nconst { actionSearchGlobal, ...objectActions } = Actions;\nexport type Action = GenerateActionType<typeof objectActions> | SearchGlobalAction;\n\n// Generic Action that represents Actions as object and Action as function.\n// TODO Action as function should be removed, only one use case is present as of today which can be migrated to Action as object.\nexport type BaseAction = Action | ActionAsFunction;\n"]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Meta } from '../../../types/Meta.types';
|
|
2
|
+
export type DefaultConfigType = Required<Pick<Meta, 'template' | 'basicMode' | 'sortOrder' | 'defaultRowHeight' | 'allowBulkActions' | 'displayDensity' | 'height' | 'toggleFieldVisibility' | 'dynamicFieldTemplates' | 'grouping' | 'reorderFields' | 'globalSearch' | 'headerBar' | 'editing' | 'relativeDates' | 'showCount' | 'toolbar' | 'footer' | 'enableAppDefault' | 'personalization' | 'showHeaderIcons' | 'dragHandle' | 'reorderItems' | 'rowDensity' | 'resetColumnWidths' | 'enableFreezeColumns' | 'autoSizeColumns' | 'title' | 'icon' | 'nonPersonalizationViewName' | 'aggregateOptions' | 'locale' | 'timezone' | 'rowActions' | 'displayFeatures' | 'showErrorField'>> & {
|
|
3
|
+
defaultFieldDef: NonNullable<Meta['defaultFieldDef']>;
|
|
4
|
+
pageSize: Meta['pageSize'];
|
|
5
|
+
dateFunctions: Meta['dateFunctions'];
|
|
6
|
+
};
|
|
7
|
+
declare const DefaultConfig: DefaultConfigType;
|
|
8
|
+
export default DefaultConfig;
|
|
9
|
+
//# sourceMappingURL=config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../src/core/config/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AAEtD,MAAM,MAAM,iBAAiB,GAAG,QAAQ,CACtC,IAAI,CACF,IAAI,EACF,UAAU,GACV,WAAW,GACX,WAAW,GACX,kBAAkB,GAClB,kBAAkB,GAClB,gBAAgB,GAChB,QAAQ,GACR,uBAAuB,GACvB,uBAAuB,GACvB,UAAU,GACV,eAAe,GACf,cAAc,GACd,WAAW,GACX,SAAS,GACT,eAAe,GACf,WAAW,GACX,SAAS,GACT,QAAQ,GACR,kBAAkB,GAClB,iBAAiB,GACjB,iBAAiB,GACjB,YAAY,GACZ,cAAc,GACd,YAAY,GACZ,mBAAmB,GACnB,qBAAqB,GACrB,iBAAiB,GACjB,OAAO,GACP,MAAM,GACN,4BAA4B,GAC5B,kBAAkB,GAClB,QAAQ,GACR,UAAU,GACV,YAAY,GACZ,iBAAiB,GACjB,gBAAgB,CACnB,CACF,GAAG;IACF,eAAe,EAAE,WAAW,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACtD,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;IAC3B,aAAa,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;CACtC,CAAC;AAEF,QAAA,MAAM,aAAa,EAAE,iBA0FpB,CAAC;AACF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
const DefaultConfig = {
|
|
2
|
+
template: 'Table',
|
|
3
|
+
basicMode: false,
|
|
4
|
+
sortOrder: ['asc', 'desc', null],
|
|
5
|
+
defaultRowHeight: '1',
|
|
6
|
+
allowBulkActions: false,
|
|
7
|
+
pageSize: undefined,
|
|
8
|
+
defaultFieldDef: {
|
|
9
|
+
minWidth: 90,
|
|
10
|
+
filter: true,
|
|
11
|
+
filterPickList: false,
|
|
12
|
+
reorderFields: true,
|
|
13
|
+
sort: true,
|
|
14
|
+
resize: true,
|
|
15
|
+
autosize: true,
|
|
16
|
+
freeze: true,
|
|
17
|
+
aggregation: true,
|
|
18
|
+
/* sortRenderer: 'CustomSort', */
|
|
19
|
+
toggle: true,
|
|
20
|
+
show: true,
|
|
21
|
+
showMenu: true,
|
|
22
|
+
noContextMenu: false,
|
|
23
|
+
grouping: true,
|
|
24
|
+
hideGroupColumnNameLabel: false,
|
|
25
|
+
customizeColumn: true,
|
|
26
|
+
combineColumn: true
|
|
27
|
+
},
|
|
28
|
+
displayDensity: [
|
|
29
|
+
{ name: 'Short', id: '1' },
|
|
30
|
+
{ name: 'Medium', id: '2' },
|
|
31
|
+
{ name: 'Tall', id: '3' },
|
|
32
|
+
{ name: 'Full content', id: '4' }
|
|
33
|
+
],
|
|
34
|
+
height: {
|
|
35
|
+
minHeight: 600
|
|
36
|
+
},
|
|
37
|
+
toggleFieldVisibility: true,
|
|
38
|
+
dynamicFieldTemplates: [
|
|
39
|
+
{
|
|
40
|
+
name: 'Comma separated',
|
|
41
|
+
value: 'comma',
|
|
42
|
+
selected: true
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
name: 'Space separated',
|
|
46
|
+
value: 'space'
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
name: 'Multi line',
|
|
50
|
+
value: 'multiline'
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
name: 'Forward slash',
|
|
54
|
+
value: 'forwardslash'
|
|
55
|
+
}
|
|
56
|
+
],
|
|
57
|
+
grouping: true,
|
|
58
|
+
reorderFields: true,
|
|
59
|
+
autoSizeColumns: true,
|
|
60
|
+
enableFreezeColumns: true,
|
|
61
|
+
resetColumnWidths: true,
|
|
62
|
+
rowDensity: true,
|
|
63
|
+
reorderItems: false,
|
|
64
|
+
dragHandle: false,
|
|
65
|
+
showHeaderIcons: false,
|
|
66
|
+
globalSearch: true,
|
|
67
|
+
personalization: true,
|
|
68
|
+
enableAppDefault: false,
|
|
69
|
+
footer: true,
|
|
70
|
+
toolbar: true,
|
|
71
|
+
showCount: true,
|
|
72
|
+
dateFunctions: undefined,
|
|
73
|
+
relativeDates: false,
|
|
74
|
+
editing: false,
|
|
75
|
+
headerBar: false,
|
|
76
|
+
title: '<label not set>',
|
|
77
|
+
icon: 'picture',
|
|
78
|
+
nonPersonalizationViewName: 'Initial view',
|
|
79
|
+
aggregateOptions: {
|
|
80
|
+
number: ['Sum', 'Min', 'Max', 'Avg']
|
|
81
|
+
},
|
|
82
|
+
locale: 'en-US',
|
|
83
|
+
timezone: 'America/New_York',
|
|
84
|
+
rowActions: [],
|
|
85
|
+
displayFeatures: {
|
|
86
|
+
filter: true,
|
|
87
|
+
grouping: true,
|
|
88
|
+
sort: true
|
|
89
|
+
},
|
|
90
|
+
showErrorField: false
|
|
91
|
+
};
|
|
92
|
+
export default DefaultConfig;
|
|
93
|
+
//# sourceMappingURL=config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":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,IAAI,EAAE,YAAY;YAClB,KAAK,EAAE,WAAW;SACnB;QACD;YACE,IAAI,EAAE,eAAe;YACrB,KAAK,EAAE,cAAc;SACtB;KACF;IACD,QAAQ,EAAE,IAAI;IACd,aAAa,EAAE,IAAI;IACnB,eAAe,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,iBAAiB,EAAE,IAAI;IACvB,UAAU,EAAE,IAAI;IAChB,YAAY,EAAE,KAAK;IACnB,UAAU,EAAE,KAAK;IACjB,eAAe,EAAE,KAAK;IACtB,YAAY,EAAE,IAAI;IAClB,eAAe,EAAE,IAAI;IACrB,gBAAgB,EAAE,KAAK;IACvB,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE,IAAI;IACb,SAAS,EAAE,IAAI;IACf,aAAa,EAAE,SAAS;IACxB,aAAa,EAAE,KAAK;IACpB,OAAO,EAAE,KAAK;IACd,SAAS,EAAE,KAAK;IAChB,KAAK,EAAE,iBAAiB;IACxB,IAAI,EAAE,SAAS;IACf,0BAA0B,EAAE,cAAc;IAC1C,gBAAgB,EAAE;QAChB,MAAM,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC;KACrC;IACD,MAAM,EAAE,OAAO;IACf,QAAQ,EAAE,kBAAkB;IAC5B,UAAU,EAAE,EAAE;IACd,eAAe,EAAE;QACf,MAAM,EAAE,IAAI;QACZ,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,IAAI;KACX;IACD,cAAc,EAAE,KAAK;CACtB,CAAC;AACF,eAAe,aAAa,CAAC","sourcesContent":["import type { Meta } from '../../../types/Meta.types';\n\nexport type DefaultConfigType = Required<\n Pick<\n Meta,\n | 'template'\n | 'basicMode'\n | 'sortOrder'\n | 'defaultRowHeight'\n | 'allowBulkActions'\n | 'displayDensity'\n | 'height'\n | 'toggleFieldVisibility'\n | 'dynamicFieldTemplates'\n | 'grouping'\n | 'reorderFields'\n | 'globalSearch'\n | 'headerBar'\n | 'editing'\n | 'relativeDates'\n | 'showCount'\n | 'toolbar'\n | 'footer'\n | 'enableAppDefault'\n | 'personalization'\n | 'showHeaderIcons'\n | 'dragHandle'\n | 'reorderItems'\n | 'rowDensity'\n | 'resetColumnWidths'\n | 'enableFreezeColumns'\n | 'autoSizeColumns'\n | 'title'\n | 'icon'\n | 'nonPersonalizationViewName'\n | 'aggregateOptions'\n | 'locale'\n | 'timezone'\n | 'rowActions'\n | 'displayFeatures'\n | 'showErrorField'\n >\n> & {\n defaultFieldDef: NonNullable<Meta['defaultFieldDef']>;\n pageSize: Meta['pageSize'];\n dateFunctions: Meta['dateFunctions'];\n};\n\nconst DefaultConfig: DefaultConfigType = {\n template: 'Table',\n basicMode: false,\n sortOrder: ['asc', 'desc', null],\n defaultRowHeight: '1',\n allowBulkActions: false,\n pageSize: undefined,\n defaultFieldDef: {\n minWidth: 90,\n filter: true,\n filterPickList: false,\n reorderFields: true,\n sort: true,\n resize: true,\n autosize: true,\n freeze: true,\n aggregation: true,\n /* sortRenderer: 'CustomSort', */\n toggle: true,\n show: true,\n showMenu: true,\n noContextMenu: false,\n grouping: true,\n hideGroupColumnNameLabel: false,\n customizeColumn: true,\n combineColumn: true\n },\n displayDensity: [\n { name: 'Short', id: '1' },\n { name: 'Medium', id: '2' },\n { name: 'Tall', id: '3' },\n { name: 'Full content', id: '4' }\n ],\n height: {\n minHeight: 600\n },\n toggleFieldVisibility: true,\n dynamicFieldTemplates: [\n {\n name: 'Comma separated',\n value: 'comma',\n selected: true\n },\n {\n name: 'Space separated',\n value: 'space'\n },\n {\n name: 'Multi line',\n value: 'multiline'\n },\n {\n name: 'Forward slash',\n value: 'forwardslash'\n }\n ],\n grouping: true,\n reorderFields: true,\n autoSizeColumns: true,\n enableFreezeColumns: true,\n resetColumnWidths: true,\n rowDensity: true,\n reorderItems: false,\n dragHandle: false,\n showHeaderIcons: false,\n globalSearch: true,\n personalization: true,\n enableAppDefault: false,\n footer: true,\n toolbar: true,\n showCount: true,\n dateFunctions: undefined,\n relativeDates: false,\n editing: false,\n headerBar: false,\n title: '<label not set>',\n icon: 'picture',\n nonPersonalizationViewName: 'Initial view',\n aggregateOptions: {\n number: ['Sum', 'Min', 'Max', 'Avg']\n },\n locale: 'en-US',\n timezone: 'America/New_York',\n rowActions: [],\n displayFeatures: {\n filter: true,\n grouping: true,\n sort: true\n },\n showErrorField: false\n};\nexport default DefaultConfig;\n"]}
|