@pega/lists-react 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 +219 -0
- package/SECURITY.md +11 -0
- package/lib/Core/Components/A11y/RepeatingStructureA11y.d.ts +23 -0
- package/lib/Core/Components/A11y/RepeatingStructureA11y.d.ts.map +1 -0
- package/lib/Core/Components/A11y/RepeatingStructureA11y.js +30 -0
- package/lib/Core/Components/A11y/RepeatingStructureA11y.js.map +1 -0
- package/lib/Core/Components/AggregateMenu.d.ts +23 -0
- package/lib/Core/Components/AggregateMenu.d.ts.map +1 -0
- package/lib/Core/Components/AggregateMenu.js +73 -0
- package/lib/Core/Components/AggregateMenu.js.map +1 -0
- package/lib/Core/Components/AggregatorCell.d.ts +23 -0
- package/lib/Core/Components/AggregatorCell.d.ts.map +1 -0
- package/lib/Core/Components/AggregatorCell.js +29 -0
- package/lib/Core/Components/AggregatorCell.js.map +1 -0
- package/lib/Core/Components/ColumnResizer.d.ts +13 -0
- package/lib/Core/Components/ColumnResizer.d.ts.map +1 -0
- package/lib/Core/Components/ColumnResizer.js +12 -0
- package/lib/Core/Components/ColumnResizer.js.map +1 -0
- package/lib/Core/Components/ConfirmationModal.d.ts +27 -0
- package/lib/Core/Components/ConfirmationModal.d.ts.map +1 -0
- package/lib/Core/Components/ConfirmationModal.js +36 -0
- package/lib/Core/Components/ConfirmationModal.js.map +1 -0
- package/lib/Core/Components/ContextMenu/ContextMenuContainer.d.ts +17 -0
- package/lib/Core/Components/ContextMenu/ContextMenuContainer.d.ts.map +1 -0
- package/lib/Core/Components/ContextMenu/ContextMenuContainer.js +209 -0
- package/lib/Core/Components/ContextMenu/ContextMenuContainer.js.map +1 -0
- package/lib/Core/Components/ContextMenu/CopyPaste.d.ts +3 -0
- package/lib/Core/Components/ContextMenu/CopyPaste.d.ts.map +1 -0
- package/lib/Core/Components/ContextMenu/CopyPaste.js +22 -0
- package/lib/Core/Components/ContextMenu/CopyPaste.js.map +1 -0
- package/lib/Core/Components/ContextMenu/QuickFilter.d.ts +4 -0
- package/lib/Core/Components/ContextMenu/QuickFilter.d.ts.map +1 -0
- package/lib/Core/Components/ContextMenu/QuickFilter.js +82 -0
- package/lib/Core/Components/ContextMenu/QuickFilter.js.map +1 -0
- package/lib/Core/Components/DateValueDisplay.d.ts +13 -0
- package/lib/Core/Components/DateValueDisplay.d.ts.map +1 -0
- package/lib/Core/Components/DateValueDisplay.js +71 -0
- package/lib/Core/Components/DateValueDisplay.js.map +1 -0
- package/lib/Core/Components/DefaultComponents/Badge.d.ts +14 -0
- package/lib/Core/Components/DefaultComponents/Badge.d.ts.map +1 -0
- package/lib/Core/Components/DefaultComponents/Badge.js +15 -0
- package/lib/Core/Components/DefaultComponents/Badge.js.map +1 -0
- package/lib/Core/Components/DefaultComponents/CardItem.d.ts +3 -0
- package/lib/Core/Components/DefaultComponents/CardItem.d.ts.map +1 -0
- package/lib/Core/Components/DefaultComponents/CardItem.js +78 -0
- package/lib/Core/Components/DefaultComponents/CardItem.js.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/Cell.d.ts +15 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/Cell.d.ts.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/Cell.js +18 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/Cell.js.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/CheckCross.d.ts +5 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/CheckCross.d.ts.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/CheckCross.js +25 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/CheckCross.js.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/ColumnMergeTemplates/Comma.d.ts +13 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/ColumnMergeTemplates/Comma.d.ts.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/ColumnMergeTemplates/Comma.js +11 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/ColumnMergeTemplates/Comma.js.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/ColumnMergeTemplates/CustomCellWrapper.d.ts +3 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/ColumnMergeTemplates/CustomCellWrapper.d.ts.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/ColumnMergeTemplates/CustomCellWrapper.js +10 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/ColumnMergeTemplates/CustomCellWrapper.js.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/ColumnMergeTemplates/ForwardSlash.d.ts +13 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/ColumnMergeTemplates/ForwardSlash.d.ts.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/ColumnMergeTemplates/ForwardSlash.js +11 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/ColumnMergeTemplates/ForwardSlash.js.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/ColumnMergeTemplates/MultiLine.d.ts +13 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/ColumnMergeTemplates/MultiLine.d.ts.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/ColumnMergeTemplates/MultiLine.js +15 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/ColumnMergeTemplates/MultiLine.js.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/ColumnMergeTemplates/Space.d.ts +13 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/ColumnMergeTemplates/Space.d.ts.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/ColumnMergeTemplates/Space.js +11 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/ColumnMergeTemplates/Space.js.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/ColumnMergeTemplates/index.d.ts +12 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/ColumnMergeTemplates/index.d.ts.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/ColumnMergeTemplates/index.js +11 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/ColumnMergeTemplates/index.js.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/CustomCell.d.ts +18 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/CustomCell.d.ts.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/CustomCell.js +51 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/CustomCell.js.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/DefaultTextRenderer.d.ts +13 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/DefaultTextRenderer.d.ts.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/DefaultTextRenderer.js +25 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/DefaultTextRenderer.js.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/DateTime.d.ts +12 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/DateTime.d.ts.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/DateTime.js +35 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/DateTime.js.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/Radio.d.ts +15 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/Radio.d.ts.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/Radio.js +49 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/Radio.js.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/TextInput.d.ts +12 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/TextInput.d.ts.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/TextInput.js +44 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/TextInput.js.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/index.d.ts +16 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/index.d.ts.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/index.js +64 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/index.js.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/Link.d.ts +7 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/Link.d.ts.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/Link.js +23 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/Link.js.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/Operator.d.ts +19 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/Operator.d.ts.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/Operator.js +37 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/Operator.js.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/RichText.d.ts +17 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/RichText.d.ts.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/RichText.js +50 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/RichText.js.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/RowActionMenu.d.ts +13 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/RowActionMenu.d.ts.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/RowActionMenu.js +67 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/RowActionMenu.js.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/RowDragDropHandle.d.ts +11 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/RowDragDropHandle.d.ts.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/RowDragDropHandle.js +11 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/RowDragDropHandle.js.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/RowError.d.ts +11 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/RowError.d.ts.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/RowError.js +13 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/RowError.js.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/RowSelectHandle.d.ts +15 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/RowSelectHandle.d.ts.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/RowSelectHandle.js +57 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/RowSelectHandle.js.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/index.d.ts +52 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/index.d.ts.map +1 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/index.js +29 -0
- package/lib/Core/Components/DefaultComponents/CellRenderers/index.js.map +1 -0
- package/lib/Core/Components/DefaultComponents/EmptyContainer.d.ts +3 -0
- package/lib/Core/Components/DefaultComponents/EmptyContainer.d.ts.map +1 -0
- package/lib/Core/Components/DefaultComponents/EmptyContainer.js +25 -0
- package/lib/Core/Components/DefaultComponents/EmptyContainer.js.map +1 -0
- package/lib/Core/Components/DefaultComponents/Filter.d.ts +15 -0
- package/lib/Core/Components/DefaultComponents/Filter.d.ts.map +1 -0
- package/lib/Core/Components/DefaultComponents/Filter.js +18 -0
- package/lib/Core/Components/DefaultComponents/Filter.js.map +1 -0
- package/lib/Core/Components/DefaultComponents/HeaderCell.d.ts +17 -0
- package/lib/Core/Components/DefaultComponents/HeaderCell.d.ts.map +1 -0
- package/lib/Core/Components/DefaultComponents/HeaderCell.js +21 -0
- package/lib/Core/Components/DefaultComponents/HeaderCell.js.map +1 -0
- package/lib/Core/Components/DefaultComponents/LoadingIndicator.d.ts +3 -0
- package/lib/Core/Components/DefaultComponents/LoadingIndicator.d.ts.map +1 -0
- package/lib/Core/Components/DefaultComponents/LoadingIndicator.js +9 -0
- package/lib/Core/Components/DefaultComponents/LoadingIndicator.js.map +1 -0
- package/lib/Core/Components/DefaultComponents/PersonalizationCreateEdit.d.ts +24 -0
- package/lib/Core/Components/DefaultComponents/PersonalizationCreateEdit.d.ts.map +1 -0
- package/lib/Core/Components/DefaultComponents/PersonalizationCreateEdit.js +102 -0
- package/lib/Core/Components/DefaultComponents/PersonalizationCreateEdit.js.map +1 -0
- package/lib/Core/Components/DefaultComponents/PersonalizationDeleteConfirmation.d.ts +16 -0
- package/lib/Core/Components/DefaultComponents/PersonalizationDeleteConfirmation.d.ts.map +1 -0
- package/lib/Core/Components/DefaultComponents/PersonalizationDeleteConfirmation.js +26 -0
- package/lib/Core/Components/DefaultComponents/PersonalizationDeleteConfirmation.js.map +1 -0
- package/lib/Core/Components/DefaultComponents/PersonalizationSelector.d.ts +25 -0
- package/lib/Core/Components/DefaultComponents/PersonalizationSelector.d.ts.map +1 -0
- package/lib/Core/Components/DefaultComponents/PersonalizationSelector.js +85 -0
- package/lib/Core/Components/DefaultComponents/PersonalizationSelector.js.map +1 -0
- package/lib/Core/Components/DefaultComponents/PersonalizationUnsavedWarning.d.ts +16 -0
- package/lib/Core/Components/DefaultComponents/PersonalizationUnsavedWarning.d.ts.map +1 -0
- package/lib/Core/Components/DefaultComponents/PersonalizationUnsavedWarning.js +26 -0
- package/lib/Core/Components/DefaultComponents/PersonalizationUnsavedWarning.js.map +1 -0
- package/lib/Core/Components/DefaultComponents/RowHeight.d.ts +13 -0
- package/lib/Core/Components/DefaultComponents/RowHeight.d.ts.map +1 -0
- package/lib/Core/Components/DefaultComponents/RowHeight.js +20 -0
- package/lib/Core/Components/DefaultComponents/RowHeight.js.map +1 -0
- package/lib/Core/Components/DefaultComponents/SelectAllCheckbox.d.ts +15 -0
- package/lib/Core/Components/DefaultComponents/SelectAllCheckbox.d.ts.map +1 -0
- package/lib/Core/Components/DefaultComponents/SelectAllCheckbox.js +40 -0
- package/lib/Core/Components/DefaultComponents/SelectAllCheckbox.js.map +1 -0
- package/lib/Core/Components/DefaultComponents/Sort.d.ts +15 -0
- package/lib/Core/Components/DefaultComponents/Sort.d.ts.map +1 -0
- package/lib/Core/Components/DefaultComponents/Sort.js +21 -0
- package/lib/Core/Components/DefaultComponents/Sort.js.map +1 -0
- package/lib/Core/Components/DefaultComponents/index.d.ts +96 -0
- package/lib/Core/Components/DefaultComponents/index.d.ts.map +1 -0
- package/lib/Core/Components/DefaultComponents/index.js +53 -0
- package/lib/Core/Components/DefaultComponents/index.js.map +1 -0
- package/lib/Core/Components/DynamicFieldConfiguration.d.ts +23 -0
- package/lib/Core/Components/DynamicFieldConfiguration.d.ts.map +1 -0
- package/lib/Core/Components/DynamicFieldConfiguration.js +92 -0
- package/lib/Core/Components/DynamicFieldConfiguration.js.map +1 -0
- package/lib/Core/Components/EmptyContainer.d.ts +5 -0
- package/lib/Core/Components/EmptyContainer.d.ts.map +1 -0
- package/lib/Core/Components/EmptyContainer.js +12 -0
- package/lib/Core/Components/EmptyContainer.js.map +1 -0
- package/lib/Core/Components/FieldTypeIcon.d.ts +13 -0
- package/lib/Core/Components/FieldTypeIcon.d.ts.map +1 -0
- package/lib/Core/Components/FieldTypeIcon.js +17 -0
- package/lib/Core/Components/FieldTypeIcon.js.map +1 -0
- package/lib/Core/Components/Filters/AdvanceFilter.d.ts +16 -0
- package/lib/Core/Components/Filters/AdvanceFilter.d.ts.map +1 -0
- package/lib/Core/Components/Filters/AdvanceFilter.js +29 -0
- package/lib/Core/Components/Filters/AdvanceFilter.js.map +1 -0
- package/lib/Core/Components/Filters/BooleanFilter.d.ts +17 -0
- package/lib/Core/Components/Filters/BooleanFilter.d.ts.map +1 -0
- package/lib/Core/Components/Filters/BooleanFilter.js +43 -0
- package/lib/Core/Components/Filters/BooleanFilter.js.map +1 -0
- package/lib/Core/Components/Filters/CommonFilter.d.ts +17 -0
- package/lib/Core/Components/Filters/CommonFilter.d.ts.map +1 -0
- package/lib/Core/Components/Filters/CommonFilter.js +67 -0
- package/lib/Core/Components/Filters/CommonFilter.js.map +1 -0
- package/lib/Core/Components/Filters/Filter.d.ts +18 -0
- package/lib/Core/Components/Filters/Filter.d.ts.map +1 -0
- package/lib/Core/Components/Filters/Filter.js +20 -0
- package/lib/Core/Components/Filters/Filter.js.map +1 -0
- package/lib/Core/Components/Filters/FilterMenu.d.ts +15 -0
- package/lib/Core/Components/Filters/FilterMenu.d.ts.map +1 -0
- package/lib/Core/Components/Filters/FilterMenu.js +32 -0
- package/lib/Core/Components/Filters/FilterMenu.js.map +1 -0
- package/lib/Core/Components/Filters/FilterType.d.ts +18 -0
- package/lib/Core/Components/Filters/FilterType.d.ts.map +1 -0
- package/lib/Core/Components/Filters/FilterType.js +35 -0
- package/lib/Core/Components/Filters/FilterType.js.map +1 -0
- package/lib/Core/Components/Filters/Hooks/useFilterSubmit.d.ts +5 -0
- package/lib/Core/Components/Filters/Hooks/useFilterSubmit.d.ts.map +1 -0
- package/lib/Core/Components/Filters/Hooks/useFilterSubmit.js +10 -0
- package/lib/Core/Components/Filters/Hooks/useFilterSubmit.js.map +1 -0
- package/lib/Core/Components/Filters/Hooks/useValidRhsTypes.d.ts +2 -0
- package/lib/Core/Components/Filters/Hooks/useValidRhsTypes.d.ts.map +1 -0
- package/lib/Core/Components/Filters/Hooks/useValidRhsTypes.js +14 -0
- package/lib/Core/Components/Filters/Hooks/useValidRhsTypes.js.map +1 -0
- package/lib/Core/Components/Filters/InputWrapper.d.ts +28 -0
- package/lib/Core/Components/Filters/InputWrapper.d.ts.map +1 -0
- package/lib/Core/Components/Filters/InputWrapper.js +40 -0
- package/lib/Core/Components/Filters/InputWrapper.js.map +1 -0
- package/lib/Core/Components/Filters/SelectFilter.d.ts +17 -0
- package/lib/Core/Components/Filters/SelectFilter.d.ts.map +1 -0
- package/lib/Core/Components/Filters/SelectFilter.js +116 -0
- package/lib/Core/Components/Filters/SelectFilter.js.map +1 -0
- package/lib/Core/Components/Filters/SimpleFilter.d.ts +17 -0
- package/lib/Core/Components/Filters/SimpleFilter.d.ts.map +1 -0
- package/lib/Core/Components/Filters/SimpleFilter.js +38 -0
- package/lib/Core/Components/Filters/SimpleFilter.js.map +1 -0
- package/lib/Core/Components/Filters/config.d.ts +75 -0
- package/lib/Core/Components/Filters/config.d.ts.map +1 -0
- package/lib/Core/Components/Filters/config.js +244 -0
- package/lib/Core/Components/Filters/config.js.map +1 -0
- package/lib/Core/Components/Filters/styles.d.ts +3 -0
- package/lib/Core/Components/Filters/styles.d.ts.map +1 -0
- package/lib/Core/Components/Filters/styles.js +30 -0
- package/lib/Core/Components/Filters/styles.js.map +1 -0
- package/lib/Core/Components/Footer.d.ts +13 -0
- package/lib/Core/Components/Footer.d.ts.map +1 -0
- package/lib/Core/Components/Footer.js +22 -0
- package/lib/Core/Components/Footer.js.map +1 -0
- package/lib/Core/Components/FooterAggregators.d.ts +16 -0
- package/lib/Core/Components/FooterAggregators.d.ts.map +1 -0
- package/lib/Core/Components/FooterAggregators.js +29 -0
- package/lib/Core/Components/FooterAggregators.js.map +1 -0
- package/lib/Core/Components/FreezeLine.d.ts +13 -0
- package/lib/Core/Components/FreezeLine.d.ts.map +1 -0
- package/lib/Core/Components/FreezeLine.js +13 -0
- package/lib/Core/Components/FreezeLine.js.map +1 -0
- package/lib/Core/Components/GroupRenderer.d.ts +15 -0
- package/lib/Core/Components/GroupRenderer.d.ts.map +1 -0
- package/lib/Core/Components/GroupRenderer.js +212 -0
- package/lib/Core/Components/GroupRenderer.js.map +1 -0
- package/lib/Core/Components/Grouping/GroupingMenu.d.ts +15 -0
- package/lib/Core/Components/Grouping/GroupingMenu.d.ts.map +1 -0
- package/lib/Core/Components/Grouping/GroupingMenu.js +66 -0
- package/lib/Core/Components/Grouping/GroupingMenu.js.map +1 -0
- package/lib/Core/Components/HeaderCell.d.ts +17 -0
- package/lib/Core/Components/HeaderCell.d.ts.map +1 -0
- package/lib/Core/Components/HeaderCell.js +30 -0
- package/lib/Core/Components/HeaderCell.js.map +1 -0
- package/lib/Core/Components/HeaderMenu/actions.d.ts +15 -0
- package/lib/Core/Components/HeaderMenu/actions.d.ts.map +1 -0
- package/lib/Core/Components/HeaderMenu/actions.js +211 -0
- package/lib/Core/Components/HeaderMenu/actions.js.map +1 -0
- package/lib/Core/Components/HeaderMenu/index.d.ts +23 -0
- package/lib/Core/Components/HeaderMenu/index.d.ts.map +1 -0
- package/lib/Core/Components/HeaderMenu/index.js +187 -0
- package/lib/Core/Components/HeaderMenu/index.js.map +1 -0
- package/lib/Core/Components/HierarchicalCell.d.ts +23 -0
- package/lib/Core/Components/HierarchicalCell.d.ts.map +1 -0
- package/lib/Core/Components/HierarchicalCell.js +30 -0
- package/lib/Core/Components/HierarchicalCell.js.map +1 -0
- package/lib/Core/Components/HierarchicalGroupFooters.d.ts +32 -0
- package/lib/Core/Components/HierarchicalGroupFooters.d.ts.map +1 -0
- package/lib/Core/Components/HierarchicalGroupFooters.js +58 -0
- package/lib/Core/Components/HierarchicalGroupFooters.js.map +1 -0
- package/lib/Core/Components/HierarchicalGroupRenderer.d.ts +31 -0
- package/lib/Core/Components/HierarchicalGroupRenderer.d.ts.map +1 -0
- package/lib/Core/Components/HierarchicalGroupRenderer.js +230 -0
- package/lib/Core/Components/HierarchicalGroupRenderer.js.map +1 -0
- package/lib/Core/Components/LoadingIndicator.d.ts +15 -0
- package/lib/Core/Components/LoadingIndicator.d.ts.map +1 -0
- package/lib/Core/Components/LoadingIndicator.js +15 -0
- package/lib/Core/Components/LoadingIndicator.js.map +1 -0
- package/lib/Core/Components/NotificationManager.d.ts +13 -0
- package/lib/Core/Components/NotificationManager.d.ts.map +1 -0
- package/lib/Core/Components/NotificationManager.js +44 -0
- package/lib/Core/Components/NotificationManager.js.map +1 -0
- package/lib/Core/Components/RFColumnConfigurator.d.ts +19 -0
- package/lib/Core/Components/RFColumnConfigurator.d.ts.map +1 -0
- package/lib/Core/Components/RFColumnConfigurator.js +90 -0
- package/lib/Core/Components/RFColumnConfigurator.js.map +1 -0
- package/lib/Core/Components/RSWrapper/HeaderBarGadget.d.ts +13 -0
- package/lib/Core/Components/RSWrapper/HeaderBarGadget.d.ts.map +1 -0
- package/lib/Core/Components/RSWrapper/HeaderBarGadget.js +52 -0
- package/lib/Core/Components/RSWrapper/HeaderBarGadget.js.map +1 -0
- package/lib/Core/Components/RSWrapper/Personalization.d.ts +13 -0
- package/lib/Core/Components/RSWrapper/Personalization.d.ts.map +1 -0
- package/lib/Core/Components/RSWrapper/Personalization.js +61 -0
- package/lib/Core/Components/RSWrapper/Personalization.js.map +1 -0
- package/lib/Core/Components/RSWrapper/__mocks__/uuid.d.ts +2 -0
- package/lib/Core/Components/RSWrapper/__mocks__/uuid.d.ts.map +1 -0
- package/lib/Core/Components/RSWrapper/__mocks__/uuid.js +4 -0
- package/lib/Core/Components/RSWrapper/__mocks__/uuid.js.map +1 -0
- package/lib/Core/Components/RSWrapper/index.d.ts +6 -0
- package/lib/Core/Components/RSWrapper/index.d.ts.map +1 -0
- package/lib/Core/Components/RSWrapper/index.js +83 -0
- package/lib/Core/Components/RSWrapper/index.js.map +1 -0
- package/lib/Core/Components/RenderingEngine/ComponentResolverFactory.d.ts +3 -0
- package/lib/Core/Components/RenderingEngine/ComponentResolverFactory.d.ts.map +1 -0
- package/lib/Core/Components/RenderingEngine/ComponentResolverFactory.js +65 -0
- package/lib/Core/Components/RenderingEngine/ComponentResolverFactory.js.map +1 -0
- package/lib/Core/Components/RenderingEngine/ErrorHandler.d.ts +2 -0
- package/lib/Core/Components/RenderingEngine/ErrorHandler.d.ts.map +1 -0
- package/lib/Core/Components/RenderingEngine/ErrorHandler.js +2 -0
- package/lib/Core/Components/RenderingEngine/ErrorHandler.js.map +1 -0
- package/lib/Core/Components/RenderingEngine/ExpresssionEvaluator.d.ts +2 -0
- package/lib/Core/Components/RenderingEngine/ExpresssionEvaluator.d.ts.map +1 -0
- package/lib/Core/Components/RenderingEngine/ExpresssionEvaluator.js +2 -0
- package/lib/Core/Components/RenderingEngine/ExpresssionEvaluator.js.map +1 -0
- package/lib/Core/Components/RenderingEngine/Flasher.d.ts +2 -0
- package/lib/Core/Components/RenderingEngine/Flasher.d.ts.map +1 -0
- package/lib/Core/Components/RenderingEngine/Flasher.js +2 -0
- package/lib/Core/Components/RenderingEngine/Flasher.js.map +1 -0
- package/lib/Core/Components/RenderingEngine/Formatter.d.ts +2 -0
- package/lib/Core/Components/RenderingEngine/Formatter.d.ts.map +1 -0
- package/lib/Core/Components/RenderingEngine/Formatter.js +24 -0
- package/lib/Core/Components/RenderingEngine/Formatter.js.map +1 -0
- package/lib/Core/Components/RenderingEngine/RenderCell.d.ts +16 -0
- package/lib/Core/Components/RenderingEngine/RenderCell.d.ts.map +1 -0
- package/lib/Core/Components/RenderingEngine/RenderCell.js +48 -0
- package/lib/Core/Components/RenderingEngine/RenderCell.js.map +1 -0
- package/lib/Core/Components/RenderingEngine/RenderView.d.ts +8 -0
- package/lib/Core/Components/RenderingEngine/RenderView.d.ts.map +1 -0
- package/lib/Core/Components/RenderingEngine/RenderView.js +25 -0
- package/lib/Core/Components/RenderingEngine/RenderView.js.map +1 -0
- package/lib/Core/Components/RenderingEngine/Util.d.ts +2 -0
- package/lib/Core/Components/RenderingEngine/Util.d.ts.map +1 -0
- package/lib/Core/Components/RenderingEngine/Util.js +36 -0
- package/lib/Core/Components/RenderingEngine/Util.js.map +1 -0
- package/lib/Core/Components/RenderingEngine/ValueRenderer.d.ts +14 -0
- package/lib/Core/Components/RenderingEngine/ValueRenderer.d.ts.map +1 -0
- package/lib/Core/Components/RenderingEngine/ValueRenderer.js +12 -0
- package/lib/Core/Components/RenderingEngine/ValueRenderer.js.map +1 -0
- package/lib/Core/Components/RenderingEngine/useHighlighter.d.ts +5 -0
- package/lib/Core/Components/RenderingEngine/useHighlighter.d.ts.map +1 -0
- package/lib/Core/Components/RenderingEngine/useHighlighter.js +52 -0
- package/lib/Core/Components/RenderingEngine/useHighlighter.js.map +1 -0
- package/lib/Core/Components/TestIdConstants.d.ts +15 -0
- package/lib/Core/Components/TestIdConstants.d.ts.map +1 -0
- package/lib/Core/Components/TestIdConstants.js +14 -0
- package/lib/Core/Components/TestIdConstants.js.map +1 -0
- package/lib/Core/Components/Toolbar/ActionsMenu.d.ts +15 -0
- package/lib/Core/Components/Toolbar/ActionsMenu.d.ts.map +1 -0
- package/lib/Core/Components/Toolbar/ActionsMenu.js +58 -0
- package/lib/Core/Components/Toolbar/ActionsMenu.js.map +1 -0
- package/lib/Core/Components/Toolbar/AdvanceToolbar.d.ts +14 -0
- package/lib/Core/Components/Toolbar/AdvanceToolbar.d.ts.map +1 -0
- package/lib/Core/Components/Toolbar/AdvanceToolbar.js +59 -0
- package/lib/Core/Components/Toolbar/AdvanceToolbar.js.map +1 -0
- package/lib/Core/Components/Toolbar/AnnounceRowsCount.d.ts +20 -0
- package/lib/Core/Components/Toolbar/AnnounceRowsCount.d.ts.map +1 -0
- package/lib/Core/Components/Toolbar/AnnounceRowsCount.js +14 -0
- package/lib/Core/Components/Toolbar/AnnounceRowsCount.js.map +1 -0
- package/lib/Core/Components/Toolbar/ColumnSelector.d.ts +35 -0
- package/lib/Core/Components/Toolbar/ColumnSelector.d.ts.map +1 -0
- package/lib/Core/Components/Toolbar/ColumnSelector.js +141 -0
- package/lib/Core/Components/Toolbar/ColumnSelector.js.map +1 -0
- package/lib/Core/Components/Toolbar/DebugInfo.d.ts +14 -0
- package/lib/Core/Components/Toolbar/DebugInfo.d.ts.map +1 -0
- package/lib/Core/Components/Toolbar/DebugInfo.js +48 -0
- package/lib/Core/Components/Toolbar/DebugInfo.js.map +1 -0
- package/lib/Core/Components/Toolbar/FieldSelector.d.ts +19 -0
- package/lib/Core/Components/Toolbar/FieldSelector.d.ts.map +1 -0
- package/lib/Core/Components/Toolbar/FieldSelector.js +53 -0
- package/lib/Core/Components/Toolbar/FieldSelector.js.map +1 -0
- package/lib/Core/Components/Toolbar/Grouping.types.d.ts +22 -0
- package/lib/Core/Components/Toolbar/Grouping.types.d.ts.map +1 -0
- package/lib/Core/Components/Toolbar/Grouping.types.js +2 -0
- package/lib/Core/Components/Toolbar/Grouping.types.js.map +1 -0
- package/lib/Core/Components/Toolbar/Map/MapToolbar.d.ts +9 -0
- package/lib/Core/Components/Toolbar/Map/MapToolbar.d.ts.map +1 -0
- package/lib/Core/Components/Toolbar/Map/MapToolbar.js +27 -0
- package/lib/Core/Components/Toolbar/Map/MapToolbar.js.map +1 -0
- package/lib/Core/Components/Toolbar/RefreshBanner.d.ts +15 -0
- package/lib/Core/Components/Toolbar/RefreshBanner.d.ts.map +1 -0
- package/lib/Core/Components/Toolbar/RefreshBanner.js +28 -0
- package/lib/Core/Components/Toolbar/RefreshBanner.js.map +1 -0
- package/lib/Core/Components/Toolbar/SimpleToolbar.d.ts +14 -0
- package/lib/Core/Components/Toolbar/SimpleToolbar.d.ts.map +1 -0
- package/lib/Core/Components/Toolbar/SimpleToolbar.js +22 -0
- package/lib/Core/Components/Toolbar/SimpleToolbar.js.map +1 -0
- package/lib/Core/Components/Toolbar/Timeline/TimelineToolbar.d.ts +8 -0
- package/lib/Core/Components/Toolbar/Timeline/TimelineToolbar.d.ts.map +1 -0
- package/lib/Core/Components/Toolbar/Timeline/TimelineToolbar.js +61 -0
- package/lib/Core/Components/Toolbar/Timeline/TimelineToolbar.js.map +1 -0
- package/lib/Core/Components/Toolbar/ToolbarActions.d.ts +20 -0
- package/lib/Core/Components/Toolbar/ToolbarActions.d.ts.map +1 -0
- package/lib/Core/Components/Toolbar/ToolbarActions.js +28 -0
- package/lib/Core/Components/Toolbar/ToolbarActions.js.map +1 -0
- package/lib/Core/Components/Toolbar/ValidateMessage.d.ts +17 -0
- package/lib/Core/Components/Toolbar/ValidateMessage.d.ts.map +1 -0
- package/lib/Core/Components/Toolbar/ValidateMessage.js +44 -0
- package/lib/Core/Components/Toolbar/ValidateMessage.js.map +1 -0
- package/lib/Core/Components/Toolbar/hooks/useAnnounceRowsCount.d.ts +3 -0
- package/lib/Core/Components/Toolbar/hooks/useAnnounceRowsCount.d.ts.map +1 -0
- package/lib/Core/Components/Toolbar/hooks/useAnnounceRowsCount.js +37 -0
- package/lib/Core/Components/Toolbar/hooks/useAnnounceRowsCount.js.map +1 -0
- package/lib/Core/Components/Toolbar/hooks/useFilter.d.ts +10 -0
- package/lib/Core/Components/Toolbar/hooks/useFilter.d.ts.map +1 -0
- package/lib/Core/Components/Toolbar/hooks/useFilter.js +43 -0
- package/lib/Core/Components/Toolbar/hooks/useFilter.js.map +1 -0
- package/lib/Core/Components/Toolbar/hooks/useFormControlProps.d.ts +5 -0
- package/lib/Core/Components/Toolbar/hooks/useFormControlProps.d.ts.map +1 -0
- package/lib/Core/Components/Toolbar/hooks/useFormControlProps.js +18 -0
- package/lib/Core/Components/Toolbar/hooks/useFormControlProps.js.map +1 -0
- package/lib/Core/Components/Toolbar/hooks/useGroup/DateFunctionSelector.d.ts +24 -0
- package/lib/Core/Components/Toolbar/hooks/useGroup/DateFunctionSelector.d.ts.map +1 -0
- package/lib/Core/Components/Toolbar/hooks/useGroup/DateFunctionSelector.js +58 -0
- package/lib/Core/Components/Toolbar/hooks/useGroup/DateFunctionSelector.js.map +1 -0
- package/lib/Core/Components/Toolbar/hooks/useGroup/GroupRenderer.d.ts +16 -0
- package/lib/Core/Components/Toolbar/hooks/useGroup/GroupRenderer.d.ts.map +1 -0
- package/lib/Core/Components/Toolbar/hooks/useGroup/GroupRenderer.js +110 -0
- package/lib/Core/Components/Toolbar/hooks/useGroup/GroupRenderer.js.map +1 -0
- package/lib/Core/Components/Toolbar/hooks/useGroup/useGroup.d.ts +11 -0
- package/lib/Core/Components/Toolbar/hooks/useGroup/useGroup.d.ts.map +1 -0
- package/lib/Core/Components/Toolbar/hooks/useGroup/useGroup.js +75 -0
- package/lib/Core/Components/Toolbar/hooks/useGroup/useGroup.js.map +1 -0
- package/lib/Core/Components/Toolbar/hooks/useGroup/utils.d.ts +11 -0
- package/lib/Core/Components/Toolbar/hooks/useGroup/utils.d.ts.map +1 -0
- package/lib/Core/Components/Toolbar/hooks/useGroup/utils.js +61 -0
- package/lib/Core/Components/Toolbar/hooks/useGroup/utils.js.map +1 -0
- package/lib/Core/Components/Toolbar/hooks/useMore.d.ts +9 -0
- package/lib/Core/Components/Toolbar/hooks/useMore.d.ts.map +1 -0
- package/lib/Core/Components/Toolbar/hooks/useMore.js +317 -0
- package/lib/Core/Components/Toolbar/hooks/useMore.js.map +1 -0
- package/lib/Core/Components/Toolbar/hooks/usePersonalization.d.ts +13 -0
- package/lib/Core/Components/Toolbar/hooks/usePersonalization.d.ts.map +1 -0
- package/lib/Core/Components/Toolbar/hooks/usePersonalization.js +17 -0
- package/lib/Core/Components/Toolbar/hooks/usePersonalization.js.map +1 -0
- package/lib/Core/Components/Toolbar/hooks/useRowFocus.d.ts +6 -0
- package/lib/Core/Components/Toolbar/hooks/useRowFocus.d.ts.map +1 -0
- package/lib/Core/Components/Toolbar/hooks/useRowFocus.js +13 -0
- package/lib/Core/Components/Toolbar/hooks/useRowFocus.js.map +1 -0
- package/lib/Core/Components/Toolbar/hooks/useSearch.d.ts +11 -0
- package/lib/Core/Components/Toolbar/hooks/useSearch.d.ts.map +1 -0
- package/lib/Core/Components/Toolbar/hooks/useSearch.js +38 -0
- package/lib/Core/Components/Toolbar/hooks/useSearch.js.map +1 -0
- package/lib/Core/Components/Toolbar/hooks/useSort/Row.d.ts +44 -0
- package/lib/Core/Components/Toolbar/hooks/useSort/Row.d.ts.map +1 -0
- package/lib/Core/Components/Toolbar/hooks/useSort/Row.js +54 -0
- package/lib/Core/Components/Toolbar/hooks/useSort/Row.js.map +1 -0
- package/lib/Core/Components/Toolbar/hooks/useSort/SortRenderer.d.ts +13 -0
- package/lib/Core/Components/Toolbar/hooks/useSort/SortRenderer.d.ts.map +1 -0
- package/lib/Core/Components/Toolbar/hooks/useSort/SortRenderer.js +81 -0
- package/lib/Core/Components/Toolbar/hooks/useSort/SortRenderer.js.map +1 -0
- package/lib/Core/Components/Toolbar/hooks/useSort/useSort.d.ts +11 -0
- package/lib/Core/Components/Toolbar/hooks/useSort/useSort.d.ts.map +1 -0
- package/lib/Core/Components/Toolbar/hooks/useSort/useSort.js +41 -0
- package/lib/Core/Components/Toolbar/hooks/useSort/useSort.js.map +1 -0
- package/lib/Core/Components/Toolbar/hooks/useSort/utils.d.ts +8 -0
- package/lib/Core/Components/Toolbar/hooks/useSort/utils.d.ts.map +1 -0
- package/lib/Core/Components/Toolbar/hooks/useSort/utils.js +19 -0
- package/lib/Core/Components/Toolbar/hooks/useSort/utils.js.map +1 -0
- package/lib/Core/Components/Toolbar/index.d.ts +14 -0
- package/lib/Core/Components/Toolbar/index.d.ts.map +1 -0
- package/lib/Core/Components/Toolbar/index.js +13 -0
- package/lib/Core/Components/Toolbar/index.js.map +1 -0
- package/lib/Core/Components/Toolbar/utils/getCount.d.ts +9 -0
- package/lib/Core/Components/Toolbar/utils/getCount.d.ts.map +1 -0
- package/lib/Core/Components/Toolbar/utils/getCount.js +22 -0
- package/lib/Core/Components/Toolbar/utils/getCount.js.map +1 -0
- package/lib/Core/Components/Toolbar/utils/utils.d.ts +51 -0
- package/lib/Core/Components/Toolbar/utils/utils.d.ts.map +1 -0
- package/lib/Core/Components/Toolbar/utils/utils.js +100 -0
- package/lib/Core/Components/Toolbar/utils/utils.js.map +1 -0
- package/lib/Core/Components/Virtualise/Pagination.d.ts +13 -0
- package/lib/Core/Components/Virtualise/Pagination.d.ts.map +1 -0
- package/lib/Core/Components/Virtualise/Pagination.js +228 -0
- package/lib/Core/Components/Virtualise/Pagination.js.map +1 -0
- package/lib/Core/Components/Virtualise/UseResizeObserver.d.ts +2 -0
- package/lib/Core/Components/Virtualise/UseResizeObserver.d.ts.map +1 -0
- package/lib/Core/Components/Virtualise/UseResizeObserver.js +18 -0
- package/lib/Core/Components/Virtualise/UseResizeObserver.js.map +1 -0
- package/lib/Core/Components/Virtualise/UseScroll.d.ts +3 -0
- package/lib/Core/Components/Virtualise/UseScroll.d.ts.map +1 -0
- package/lib/Core/Components/Virtualise/UseScroll.js +92 -0
- package/lib/Core/Components/Virtualise/UseScroll.js.map +1 -0
- package/lib/Core/Components/Virtualise/VirtualizeInfinite.d.ts +3 -0
- package/lib/Core/Components/Virtualise/VirtualizeInfinite.d.ts.map +1 -0
- package/lib/Core/Components/Virtualise/VirtualizeInfinite.js +328 -0
- package/lib/Core/Components/Virtualise/VirtualizeInfinite.js.map +1 -0
- package/lib/Core/Components/Virtualise/index.d.ts +3 -0
- package/lib/Core/Components/Virtualise/index.d.ts.map +1 -0
- package/lib/Core/Components/Virtualise/index.js +313 -0
- package/lib/Core/Components/Virtualise/index.js.map +1 -0
- package/lib/Core/Components/Virtualise/utility.d.ts +63 -0
- package/lib/Core/Components/Virtualise/utility.d.ts.map +1 -0
- package/lib/Core/Components/Virtualise/utility.js +209 -0
- package/lib/Core/Components/Virtualise/utility.js.map +1 -0
- package/lib/Core/Context/GlobalContext.d.ts +8 -0
- package/lib/Core/Context/GlobalContext.d.ts.map +1 -0
- package/lib/Core/Context/GlobalContext.js +7 -0
- package/lib/Core/Context/GlobalContext.js.map +1 -0
- package/lib/Core/Context/LocalizationContext.d.ts +13 -0
- package/lib/Core/Context/LocalizationContext.d.ts.map +1 -0
- package/lib/Core/Context/LocalizationContext.js +16 -0
- package/lib/Core/Context/LocalizationContext.js.map +1 -0
- package/lib/Core/Context/ToolbarContext.d.ts +8 -0
- package/lib/Core/Context/ToolbarContext.d.ts.map +1 -0
- package/lib/Core/Context/ToolbarContext.js +7 -0
- package/lib/Core/Context/ToolbarContext.js.map +1 -0
- package/lib/Core/Hooks/UseDebounce.d.ts +2 -0
- package/lib/Core/Hooks/UseDebounce.d.ts.map +1 -0
- package/lib/Core/Hooks/UseDebounce.js +15 -0
- package/lib/Core/Hooks/UseDebounce.js.map +1 -0
- package/lib/Core/Hooks/UseOuterEvent.d.ts +2 -0
- package/lib/Core/Hooks/UseOuterEvent.d.ts.map +1 -0
- package/lib/Core/Hooks/UseOuterEvent.js +30 -0
- package/lib/Core/Hooks/UseOuterEvent.js.map +1 -0
- package/lib/Core/Hooks/UseReactToProps.d.ts +2 -0
- package/lib/Core/Hooks/UseReactToProps.d.ts.map +1 -0
- package/lib/Core/Hooks/UseReactToProps.js +8 -0
- package/lib/Core/Hooks/UseReactToProps.js.map +1 -0
- package/lib/Core/Hooks/UseScrollAway.d.ts +2 -0
- package/lib/Core/Hooks/UseScrollAway.d.ts.map +1 -0
- package/lib/Core/Hooks/UseScrollAway.js +30 -0
- package/lib/Core/Hooks/UseScrollAway.js.map +1 -0
- package/lib/Core/Hooks/UseSelect.d.ts +2 -0
- package/lib/Core/Hooks/UseSelect.d.ts.map +1 -0
- package/lib/Core/Hooks/UseSelect.js +17 -0
- package/lib/Core/Hooks/UseSelect.js.map +1 -0
- package/lib/Core/Hooks/UseThrottle.d.ts +2 -0
- package/lib/Core/Hooks/UseThrottle.d.ts.map +1 -0
- package/lib/Core/Hooks/UseThrottle.js +14 -0
- package/lib/Core/Hooks/UseThrottle.js.map +1 -0
- package/lib/Core/Hooks/UseThunkReducer.d.ts +3 -0
- package/lib/Core/Hooks/UseThunkReducer.d.ts.map +1 -0
- package/lib/Core/Hooks/UseThunkReducer.js +15 -0
- package/lib/Core/Hooks/UseThunkReducer.js.map +1 -0
- package/lib/Core/Hooks/a11y/index.d.ts +3 -0
- package/lib/Core/Hooks/a11y/index.d.ts.map +1 -0
- package/lib/Core/Hooks/a11y/index.js +4 -0
- package/lib/Core/Hooks/a11y/index.js.map +1 -0
- package/lib/Core/Hooks/a11y/useAnnounceGroup.d.ts +3 -0
- package/lib/Core/Hooks/a11y/useAnnounceGroup.d.ts.map +1 -0
- package/lib/Core/Hooks/a11y/useAnnounceGroup.js +45 -0
- package/lib/Core/Hooks/a11y/useAnnounceGroup.js.map +1 -0
- package/lib/Core/Hooks/a11y/useKeyboardA11y.d.ts +16 -0
- package/lib/Core/Hooks/a11y/useKeyboardA11y.d.ts.map +1 -0
- package/lib/Core/Hooks/a11y/useKeyboardA11y.js +147 -0
- package/lib/Core/Hooks/a11y/useKeyboardA11y.js.map +1 -0
- package/lib/Core/Hooks/useConfirmationModal.d.ts +5 -0
- package/lib/Core/Hooks/useConfirmationModal.d.ts.map +1 -0
- package/lib/Core/Hooks/useConfirmationModal.js +42 -0
- package/lib/Core/Hooks/useConfirmationModal.js.map +1 -0
- package/lib/Core/Hooks/useDragDrop.d.ts +25 -0
- package/lib/Core/Hooks/useDragDrop.d.ts.map +1 -0
- package/lib/Core/Hooks/useDragDrop.js +217 -0
- package/lib/Core/Hooks/useDragDrop.js.map +1 -0
- package/lib/Core/Hooks/useRepeat.d.ts +18 -0
- package/lib/Core/Hooks/useRepeat.d.ts.map +1 -0
- package/lib/Core/Hooks/useRepeat.js +174 -0
- package/lib/Core/Hooks/useRepeat.js.map +1 -0
- package/lib/Core/Hooks/useSingleClick.d.ts +2 -0
- package/lib/Core/Hooks/useSingleClick.d.ts.map +1 -0
- package/lib/Core/Hooks/useSingleClick.js +17 -0
- package/lib/Core/Hooks/useSingleClick.js.map +1 -0
- package/lib/Core/Hooks/useSmallScreen.d.ts +4 -0
- package/lib/Core/Hooks/useSmallScreen.d.ts.map +1 -0
- package/lib/Core/Hooks/useSmallScreen.js +11 -0
- package/lib/Core/Hooks/useSmallScreen.js.map +1 -0
- package/lib/Core/Hooks/useTranslate.d.ts +2 -0
- package/lib/Core/Hooks/useTranslate.d.ts.map +1 -0
- package/lib/Core/Hooks/useTranslate.js +7 -0
- package/lib/Core/Hooks/useTranslate.js.map +1 -0
- package/lib/Core/Localization/defaultTranslations.d.ts +144 -0
- package/lib/Core/Localization/defaultTranslations.d.ts.map +1 -0
- package/lib/Core/Localization/defaultTranslations.js +145 -0
- package/lib/Core/Localization/defaultTranslations.js.map +1 -0
- package/lib/Core/Localization/translateCosmosLiteralsUtils.d.ts +6 -0
- package/lib/Core/Localization/translateCosmosLiteralsUtils.d.ts.map +1 -0
- package/lib/Core/Localization/translateCosmosLiteralsUtils.js +15 -0
- package/lib/Core/Localization/translateCosmosLiteralsUtils.js.map +1 -0
- package/lib/Core/Test/JUnitMocks.d.ts +1015 -0
- package/lib/Core/Test/JUnitMocks.d.ts.map +1 -0
- package/lib/Core/Test/JUnitMocks.js +619 -0
- package/lib/Core/Test/JUnitMocks.js.map +1 -0
- package/lib/Core/Test/TestUtils.d.ts +9 -0
- package/lib/Core/Test/TestUtils.d.ts.map +1 -0
- package/lib/Core/Test/TestUtils.js +25 -0
- package/lib/Core/Test/TestUtils.js.map +1 -0
- package/lib/Core/Utils/index.d.ts +19 -0
- package/lib/Core/Utils/index.d.ts.map +1 -0
- package/lib/Core/Utils/index.js +93 -0
- package/lib/Core/Utils/index.js.map +1 -0
- package/lib/Core/Views/Gallery/GalleryA11y.d.ts +13 -0
- package/lib/Core/Views/Gallery/GalleryA11y.d.ts.map +1 -0
- package/lib/Core/Views/Gallery/GalleryA11y.js +57 -0
- package/lib/Core/Views/Gallery/GalleryA11y.js.map +1 -0
- package/lib/Core/Views/Gallery/ItemWrapper.d.ts +19 -0
- package/lib/Core/Views/Gallery/ItemWrapper.d.ts.map +1 -0
- package/lib/Core/Views/Gallery/ItemWrapper.js +29 -0
- package/lib/Core/Views/Gallery/ItemWrapper.js.map +1 -0
- package/lib/Core/Views/Gallery/StyledGalleryContainer.d.ts +3 -0
- package/lib/Core/Views/Gallery/StyledGalleryContainer.d.ts.map +1 -0
- package/lib/Core/Views/Gallery/StyledGalleryContainer.js +60 -0
- package/lib/Core/Views/Gallery/StyledGalleryContainer.js.map +1 -0
- package/lib/Core/Views/Gallery/_tests_/Samples/GalleryA11ySample.d.ts +2 -0
- package/lib/Core/Views/Gallery/_tests_/Samples/GalleryA11ySample.d.ts.map +1 -0
- package/lib/Core/Views/Gallery/_tests_/Samples/GalleryA11ySample.js +8 -0
- package/lib/Core/Views/Gallery/_tests_/Samples/GalleryA11ySample.js.map +1 -0
- package/lib/Core/Views/Gallery/index.d.ts +13 -0
- package/lib/Core/Views/Gallery/index.d.ts.map +1 -0
- package/lib/Core/Views/Gallery/index.js +82 -0
- package/lib/Core/Views/Gallery/index.js.map +1 -0
- package/lib/Core/Views/Map/Map.styles.d.ts +12 -0
- package/lib/Core/Views/Map/Map.styles.d.ts.map +1 -0
- package/lib/Core/Views/Map/Map.styles.js +47 -0
- package/lib/Core/Views/Map/Map.styles.js.map +1 -0
- package/lib/Core/Views/Map/MapItem.d.ts +10 -0
- package/lib/Core/Views/Map/MapItem.d.ts.map +1 -0
- package/lib/Core/Views/Map/MapItem.js +12 -0
- package/lib/Core/Views/Map/MapItem.js.map +1 -0
- package/lib/Core/Views/Map/index.d.ts +7 -0
- package/lib/Core/Views/Map/index.d.ts.map +1 -0
- package/lib/Core/Views/Map/index.js +50 -0
- package/lib/Core/Views/Map/index.js.map +1 -0
- package/lib/Core/Views/Map/utils.d.ts +14 -0
- package/lib/Core/Views/Map/utils.d.ts.map +1 -0
- package/lib/Core/Views/Map/utils.js +31 -0
- package/lib/Core/Views/Map/utils.js.map +1 -0
- package/lib/Core/Views/Table/Body.d.ts +23 -0
- package/lib/Core/Views/Table/Body.d.ts.map +1 -0
- package/lib/Core/Views/Table/Body.js +44 -0
- package/lib/Core/Views/Table/Body.js.map +1 -0
- package/lib/Core/Views/Table/CellWrapper.d.ts +23 -0
- package/lib/Core/Views/Table/CellWrapper.d.ts.map +1 -0
- package/lib/Core/Views/Table/CellWrapper.js +75 -0
- package/lib/Core/Views/Table/CellWrapper.js.map +1 -0
- package/lib/Core/Views/Table/GroupingHeaderCell.d.ts +22 -0
- package/lib/Core/Views/Table/GroupingHeaderCell.d.ts.map +1 -0
- package/lib/Core/Views/Table/GroupingHeaderCell.js +26 -0
- package/lib/Core/Views/Table/GroupingHeaderCell.js.map +1 -0
- package/lib/Core/Views/Table/HeaderWrapper.d.ts +13 -0
- package/lib/Core/Views/Table/HeaderWrapper.d.ts.map +1 -0
- package/lib/Core/Views/Table/HeaderWrapper.js +33 -0
- package/lib/Core/Views/Table/HeaderWrapper.js.map +1 -0
- package/lib/Core/Views/Table/Headers.d.ts +3 -0
- package/lib/Core/Views/Table/Headers.d.ts.map +1 -0
- package/lib/Core/Views/Table/Headers.js +24 -0
- package/lib/Core/Views/Table/Headers.js.map +1 -0
- package/lib/Core/Views/Table/Row.d.ts +26 -0
- package/lib/Core/Views/Table/Row.d.ts.map +1 -0
- package/lib/Core/Views/Table/Row.js +24 -0
- package/lib/Core/Views/Table/Row.js.map +1 -0
- package/lib/Core/Views/Table/Samples/a11ySampleWithErrors.d.ts +8 -0
- package/lib/Core/Views/Table/Samples/a11ySampleWithErrors.d.ts.map +1 -0
- package/lib/Core/Views/Table/Samples/a11ySampleWithErrors.js +333 -0
- package/lib/Core/Views/Table/Samples/a11ySampleWithErrors.js.map +1 -0
- package/lib/Core/Views/Table/StyledTableContainer.d.ts +3 -0
- package/lib/Core/Views/Table/StyledTableContainer.d.ts.map +1 -0
- package/lib/Core/Views/Table/StyledTableContainer.js +861 -0
- package/lib/Core/Views/Table/StyledTableContainer.js.map +1 -0
- package/lib/Core/Views/Table/TableA11y.d.ts +48 -0
- package/lib/Core/Views/Table/TableA11y.d.ts.map +1 -0
- package/lib/Core/Views/Table/TableA11y.js +638 -0
- package/lib/Core/Views/Table/TableA11y.js.map +1 -0
- package/lib/Core/Views/Table/UseSort.d.ts +2 -0
- package/lib/Core/Views/Table/UseSort.d.ts.map +1 -0
- package/lib/Core/Views/Table/UseSort.js +37 -0
- package/lib/Core/Views/Table/UseSort.js.map +1 -0
- package/lib/Core/Views/Table/VirtualizeWrapper.d.ts +31 -0
- package/lib/Core/Views/Table/VirtualizeWrapper.d.ts.map +1 -0
- package/lib/Core/Views/Table/VirtualizeWrapper.js +39 -0
- package/lib/Core/Views/Table/VirtualizeWrapper.js.map +1 -0
- package/lib/Core/Views/Table/index.d.ts +13 -0
- package/lib/Core/Views/Table/index.d.ts.map +1 -0
- package/lib/Core/Views/Table/index.js +91 -0
- package/lib/Core/Views/Table/index.js.map +1 -0
- package/lib/Core/Views/Timeline/index.d.ts +7 -0
- package/lib/Core/Views/Timeline/index.d.ts.map +1 -0
- package/lib/Core/Views/Timeline/index.js +81 -0
- package/lib/Core/Views/Timeline/index.js.map +1 -0
- package/lib/Core/Views/Timeline/utility.d.ts +8 -0
- package/lib/Core/Views/Timeline/utility.d.ts.map +1 -0
- package/lib/Core/Views/Timeline/utility.js +120 -0
- package/lib/Core/Views/Timeline/utility.js.map +1 -0
- package/lib/Core/Views/rs-styles.d.ts +3 -0
- package/lib/Core/Views/rs-styles.d.ts.map +1 -0
- package/lib/Core/Views/rs-styles.js +10 -0
- package/lib/Core/Views/rs-styles.js.map +1 -0
- package/lib/Core/constants.d.ts +73 -0
- package/lib/Core/constants.d.ts.map +1 -0
- package/lib/Core/constants.js +86 -0
- package/lib/Core/constants.js.map +1 -0
- package/lib/Core/index.d.ts +5 -0
- package/lib/Core/index.d.ts.map +1 -0
- package/lib/Core/index.js +40 -0
- package/lib/Core/index.js.map +1 -0
- package/lib/index.d.ts +6 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +7 -0
- package/lib/index.js.map +1 -0
- package/lib/types.d.ts +231 -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 +51 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../Core/Components/DefaultComponents/index.jsx"],"names":[],"mappings":"AA8BA,uGAKC;;;;;;;;;;AAUD,mGASC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAtDqB,YAAY;iBAEjB,QAAQ;mBACN,UAAU;uBAEN,cAAc;6BAGR,oBAAoB;8BACnB,aAAa;4CAEC,2BAA2B;8CACzB,6BAA6B;8BAC7C,qBAAqB"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import sort from './Sort';
|
|
4
|
+
import Filter from './Filter';
|
|
5
|
+
import CellRenderers from './CellRenderers';
|
|
6
|
+
import HeaderCell from './HeaderCell';
|
|
7
|
+
import CardItem from './CardItem';
|
|
8
|
+
import EmptyContainer from './EmptyContainer';
|
|
9
|
+
import LoadingIndicator from './LoadingIndicator';
|
|
10
|
+
import RowHeightRenderer from './RowHeight';
|
|
11
|
+
import BadgeRenderer from './Badge';
|
|
12
|
+
import personalizationSelectorRenderer from './PersonalizationSelector';
|
|
13
|
+
import personalizationCreateEditRenderer from './PersonalizationCreateEdit';
|
|
14
|
+
import SelectAllCheckbox from './SelectAllCheckbox';
|
|
15
|
+
export default {
|
|
16
|
+
sortRenderer: sort,
|
|
17
|
+
filterRenderer: Filter,
|
|
18
|
+
headerCellRenderer: HeaderCell,
|
|
19
|
+
emptyContainerRenderer: EmptyContainer,
|
|
20
|
+
loadingIndicator: LoadingIndicator,
|
|
21
|
+
rowHeightRenderer: RowHeightRenderer,
|
|
22
|
+
personalizationSelectorRenderer,
|
|
23
|
+
personalizationCreateEditRenderer,
|
|
24
|
+
badgeRenderer: BadgeRenderer,
|
|
25
|
+
CardItemRenderer: CardItem,
|
|
26
|
+
selectAllCheckboxRenderer: SelectAllCheckbox,
|
|
27
|
+
...CellRenderers
|
|
28
|
+
};
|
|
29
|
+
export function defaultRenderer(Comp, props) {
|
|
30
|
+
if (Comp) {
|
|
31
|
+
return _jsx(Comp, { ...props });
|
|
32
|
+
}
|
|
33
|
+
return null;
|
|
34
|
+
}
|
|
35
|
+
defaultRenderer.propTypes = {
|
|
36
|
+
itemKey: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
37
|
+
};
|
|
38
|
+
defaultRenderer.defaultProps = {
|
|
39
|
+
itemKey: ''
|
|
40
|
+
};
|
|
41
|
+
export function extRenderer(Comp, props) {
|
|
42
|
+
if (Comp) {
|
|
43
|
+
return (_jsx("span", { children: _jsx(Comp, { ...props }) }));
|
|
44
|
+
}
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
47
|
+
extRenderer.propTypes = {
|
|
48
|
+
itemKey: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
49
|
+
};
|
|
50
|
+
extRenderer.defaultProps = {
|
|
51
|
+
itemKey: ''
|
|
52
|
+
};
|
|
53
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Core/Components/DefaultComponents/index.jsx"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,UAAU,MAAM,cAAc,CAAC;AACtC,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAClD,OAAO,iBAAiB,MAAM,aAAa,CAAC;AAC5C,OAAO,aAAa,MAAM,SAAS,CAAC;AACpC,OAAO,+BAA+B,MAAM,2BAA2B,CAAC;AACxE,OAAO,iCAAiC,MAAM,6BAA6B,CAAC;AAC5E,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AAEpD,eAAe;IACb,YAAY,EAAE,IAAI;IAClB,cAAc,EAAE,MAAM;IACtB,kBAAkB,EAAE,UAAU;IAC9B,sBAAsB,EAAE,cAAc;IACtC,gBAAgB,EAAE,gBAAgB;IAClC,iBAAiB,EAAE,iBAAiB;IACpC,+BAA+B;IAC/B,iCAAiC;IACjC,aAAa,EAAE,aAAa;IAC5B,gBAAgB,EAAE,QAAQ;IAC1B,yBAAyB,EAAE,iBAAiB;IAC5C,GAAG,aAAa;CACjB,CAAC;AAEF,MAAM,UAAU,eAAe,CAAC,IAAI,EAAE,KAAK;IACzC,IAAI,IAAI,EAAE,CAAC;QACT,OAAO,KAAC,IAAI,OAAK,KAAK,GAAI,CAAC;IAC7B,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED,eAAe,CAAC,SAAS,GAAG;IAC1B,OAAO,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC,SAAS,CAAC,MAAM,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;CACnE,CAAC;AAEF,eAAe,CAAC,YAAY,GAAG;IAC7B,OAAO,EAAE,EAAE;CACZ,CAAC;AAEF,MAAM,UAAU,WAAW,CAAC,IAAI,EAAE,KAAK;IACrC,IAAI,IAAI,EAAE,CAAC;QACT,OAAO,CACL,yBACE,KAAC,IAAI,OAAK,KAAK,GAAI,GACd,CACR,CAAC;IACJ,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED,WAAW,CAAC,SAAS,GAAG;IACtB,OAAO,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC,SAAS,CAAC,MAAM,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;CACnE,CAAC;AAEF,WAAW,CAAC,YAAY,GAAG;IACzB,OAAO,EAAE,EAAE;CACZ,CAAC","sourcesContent":["import PropTypes from 'prop-types';\n\nimport sort from './Sort';\nimport Filter from './Filter';\nimport CellRenderers from './CellRenderers';\nimport HeaderCell from './HeaderCell';\nimport CardItem from './CardItem';\nimport EmptyContainer from './EmptyContainer';\nimport LoadingIndicator from './LoadingIndicator';\nimport RowHeightRenderer from './RowHeight';\nimport BadgeRenderer from './Badge';\nimport personalizationSelectorRenderer from './PersonalizationSelector';\nimport personalizationCreateEditRenderer from './PersonalizationCreateEdit';\nimport SelectAllCheckbox from './SelectAllCheckbox';\n\nexport default {\n sortRenderer: sort,\n filterRenderer: Filter,\n headerCellRenderer: HeaderCell,\n emptyContainerRenderer: EmptyContainer,\n loadingIndicator: LoadingIndicator,\n rowHeightRenderer: RowHeightRenderer,\n personalizationSelectorRenderer,\n personalizationCreateEditRenderer,\n badgeRenderer: BadgeRenderer,\n CardItemRenderer: CardItem,\n selectAllCheckboxRenderer: SelectAllCheckbox,\n ...CellRenderers\n};\n\nexport function defaultRenderer(Comp, props) {\n if (Comp) {\n return <Comp {...props} />;\n }\n return null;\n}\n\ndefaultRenderer.propTypes = {\n itemKey: PropTypes.oneOfType([PropTypes.string, PropTypes.number])\n};\n\ndefaultRenderer.defaultProps = {\n itemKey: ''\n};\n\nexport function extRenderer(Comp, props) {\n if (Comp) {\n return (\n <span>\n <Comp {...props} />\n </span>\n );\n }\n return null;\n}\n\nextRenderer.propTypes = {\n itemKey: PropTypes.oneOfType([PropTypes.string, PropTypes.number])\n};\n\nextRenderer.defaultProps = {\n itemKey: ''\n};\n"]}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare function DynamicFieldConfiguration({ column, onSubmit, onCancel }: {
|
|
2
|
+
column: any;
|
|
3
|
+
onSubmit: any;
|
|
4
|
+
onCancel: any;
|
|
5
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare namespace DynamicFieldConfiguration {
|
|
7
|
+
namespace propTypes {
|
|
8
|
+
let column: PropTypes.Validator<{
|
|
9
|
+
[x: string]: any;
|
|
10
|
+
}>;
|
|
11
|
+
let onCancel: PropTypes.Requireable<(...args: any[]) => any>;
|
|
12
|
+
let onSubmit: PropTypes.Requireable<(...args: any[]) => any>;
|
|
13
|
+
}
|
|
14
|
+
namespace defaultProps {
|
|
15
|
+
export function onCancel_1(): void;
|
|
16
|
+
export { onCancel_1 as onCancel };
|
|
17
|
+
export function onSubmit_1(): void;
|
|
18
|
+
export { onSubmit_1 as onSubmit };
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
export default DynamicFieldConfiguration;
|
|
22
|
+
import PropTypes from 'prop-types';
|
|
23
|
+
//# sourceMappingURL=DynamicFieldConfiguration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DynamicFieldConfiguration.d.ts","sourceRoot":"","sources":["../../../Core/Components/DynamicFieldConfiguration.jsx"],"names":[],"mappings":"AAmHA;;;;4CA2EC;;;;;;;;;;QASW,mCAAQ;;QACR,mCAAQ;;;;;sBAxME,YAAY"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import { memo, useCallback, useState } from 'react';
|
|
4
|
+
import styled from 'styled-components';
|
|
5
|
+
import { Select, Option, Button, Input, Checkbox } from '@pega/cosmos-react-core';
|
|
6
|
+
import { deepCopy } from '../Utils';
|
|
7
|
+
import useTranslate from '../Hooks/useTranslate';
|
|
8
|
+
const StyledDynamicFieldConfiguration = styled.div `
|
|
9
|
+
margin: 0 0.312rem;
|
|
10
|
+
`;
|
|
11
|
+
const StyledDynamicFieldContent = styled.div `
|
|
12
|
+
padding: 0.312rem;
|
|
13
|
+
min-width: 12.5rem;
|
|
14
|
+
|
|
15
|
+
footer {
|
|
16
|
+
display: flex;
|
|
17
|
+
justify-content: space-between;
|
|
18
|
+
}
|
|
19
|
+
`;
|
|
20
|
+
const StyledRow = styled.div `
|
|
21
|
+
margin: 0.625rem 0;
|
|
22
|
+
`;
|
|
23
|
+
const Footer = memo(({ cancel, submit, translate }) => {
|
|
24
|
+
return (_jsxs("footer", { children: [_jsx(Button, { onClick: cancel, children: translate('Cancel') }), _jsx(Button, { variant: 'primary', onClick: submit, children: translate('Submit') })] }));
|
|
25
|
+
});
|
|
26
|
+
Footer.propTypes = {
|
|
27
|
+
cancel: PropTypes.func.isRequired,
|
|
28
|
+
submit: PropTypes.func.isRequired,
|
|
29
|
+
translate: PropTypes.func.isRequired
|
|
30
|
+
};
|
|
31
|
+
const Body = memo(({ templateNameEditHandler, templateChangeHandler, hideColChangeHandler, templates, fieldName, bHideColumns, error, translate }) => {
|
|
32
|
+
const selectedTemplate = templates.find(t => t.selected).value;
|
|
33
|
+
return (_jsxs(_Fragment, { children: [_jsx(StyledRow, { children: _jsx(Input, { id: 'column-name', type: 'text', onChange: templateNameEditHandler, label: translate('Column name:'), placeholder: 'Enter a name', value: fieldName, required: true, status: error ? 'error' : null, info: error }) }), _jsx(StyledRow, { children: _jsx(Select, { id: 'select-template', value: selectedTemplate, onChange: templateChangeHandler, label: translate('Template:'), children: templates.map(v => (_jsx(Option, { value: v.value, children: translate(v.name) }, v.value))) }) }), _jsx(StyledRow, { children: _jsx(Checkbox, { checked: bHideColumns, id: 'hideColumns', onChange: hideColChangeHandler, label: translate('Hide columns'), name: 'Hide columns' }, 'hideColumns') })] }));
|
|
34
|
+
});
|
|
35
|
+
Body.propTypes = {
|
|
36
|
+
templateNameEditHandler: PropTypes.func.isRequired,
|
|
37
|
+
templateChangeHandler: PropTypes.func.isRequired,
|
|
38
|
+
hideColChangeHandler: PropTypes.func.isRequired,
|
|
39
|
+
templates: PropTypes.arrayOf(PropTypes.any).isRequired,
|
|
40
|
+
fieldName: PropTypes.string.isRequired,
|
|
41
|
+
bHideColumns: PropTypes.bool.isRequired,
|
|
42
|
+
error: PropTypes.string,
|
|
43
|
+
translate: PropTypes.func.isRequired
|
|
44
|
+
};
|
|
45
|
+
Body.defaultProps = {
|
|
46
|
+
error: null
|
|
47
|
+
};
|
|
48
|
+
export default function DynamicFieldConfiguration({ column, onSubmit, onCancel }) {
|
|
49
|
+
const [translate] = useTranslate();
|
|
50
|
+
const { dynamicFieldTemplates } = column.parent.meta;
|
|
51
|
+
const [templates, updateTemplates] = useState(dynamicFieldTemplates ? deepCopy(dynamicFieldTemplates) : []);
|
|
52
|
+
const [fieldName, updateFieldName] = useState('');
|
|
53
|
+
const [bHideColumns, updateHideColumns] = useState(true);
|
|
54
|
+
const [error, setError] = useState();
|
|
55
|
+
const columnNameEmptyError = translate('Column name cannot be empty.');
|
|
56
|
+
const templateChangeHandler = useCallback(e => {
|
|
57
|
+
const items = [...templates];
|
|
58
|
+
items.find(t => t.selected).selected = false;
|
|
59
|
+
items.find(t => t.value === e.target.value).selected = true;
|
|
60
|
+
updateTemplates(items);
|
|
61
|
+
}, [templates, updateTemplates]);
|
|
62
|
+
const templateNameEditHandler = useCallback(e => {
|
|
63
|
+
updateFieldName(e.target.value);
|
|
64
|
+
}, [updateFieldName]);
|
|
65
|
+
const hideColChangeHandler = useCallback(e => {
|
|
66
|
+
updateHideColumns(e.target.checked);
|
|
67
|
+
}, [updateHideColumns]);
|
|
68
|
+
const submit = useCallback(e => {
|
|
69
|
+
e.stopPropagation();
|
|
70
|
+
if (!fieldName.trim()) {
|
|
71
|
+
setError(columnNameEmptyError);
|
|
72
|
+
return;
|
|
73
|
+
}
|
|
74
|
+
setError(null);
|
|
75
|
+
onSubmit(fieldName, templates.find(t => t.selected).value, bHideColumns);
|
|
76
|
+
}, [onSubmit, fieldName, templates, bHideColumns, columnNameEmptyError]);
|
|
77
|
+
const cancel = useCallback(e => {
|
|
78
|
+
e.stopPropagation();
|
|
79
|
+
onCancel();
|
|
80
|
+
}, [onCancel]);
|
|
81
|
+
return (_jsx(StyledDynamicFieldConfiguration, { children: _jsxs(StyledDynamicFieldContent, { children: [_jsx(Body, { templateNameEditHandler: templateNameEditHandler, templateChangeHandler: templateChangeHandler, hideColChangeHandler: hideColChangeHandler, templates: templates, fieldName: fieldName, bHideColumns: bHideColumns, error: error, translate: translate }), _jsx(Footer, { submit: submit, cancel: cancel, translate: translate })] }) }));
|
|
82
|
+
}
|
|
83
|
+
DynamicFieldConfiguration.propTypes = {
|
|
84
|
+
column: PropTypes.objectOf(PropTypes.any).isRequired,
|
|
85
|
+
onCancel: PropTypes.func,
|
|
86
|
+
onSubmit: PropTypes.func
|
|
87
|
+
};
|
|
88
|
+
DynamicFieldConfiguration.defaultProps = {
|
|
89
|
+
onCancel: () => { },
|
|
90
|
+
onSubmit: () => { }
|
|
91
|
+
};
|
|
92
|
+
//# sourceMappingURL=DynamicFieldConfiguration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DynamicFieldConfiguration.js","sourceRoot":"","sources":["../../../Core/Components/DynamicFieldConfiguration.jsx"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAEvC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAElF,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AACpC,OAAO,YAAY,MAAM,uBAAuB,CAAC;AAEjD,MAAM,+BAA+B,GAAG,MAAM,CAAC,GAAG,CAAA;;CAEjD,CAAC;AAEF,MAAM,yBAAyB,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;CAQ3C,CAAC;AAEF,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAAA;;CAE3B,CAAC;AAEF,MAAM,MAAM,GAAG,IAAI,CAAC,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,EAAE;IACpD,OAAO,CACL,6BACE,KAAC,MAAM,IAAC,OAAO,EAAE,MAAM,YAAG,SAAS,CAAC,QAAQ,CAAC,GAAU,EACvD,KAAC,MAAM,IAAC,OAAO,EAAC,SAAS,EAAC,OAAO,EAAE,MAAM,YACtC,SAAS,CAAC,QAAQ,CAAC,GACb,IACF,CACV,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,CAAC,SAAS,GAAG;IACjB,MAAM,EAAE,SAAS,CAAC,IAAI,CAAC,UAAU;IACjC,MAAM,EAAE,SAAS,CAAC,IAAI,CAAC,UAAU;IACjC,SAAS,EAAE,SAAS,CAAC,IAAI,CAAC,UAAU;CACrC,CAAC;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,WAAW,CACxB,CAAC,CAAC,EAAE;QACF,CAAC,CAAC,eAAe,EAAE,CAAC;QACpB,QAAQ,EAAE,CAAC;IACb,CAAC,EACD,CAAC,QAAQ,CAAC,CACX,CAAC;IAEF,OAAO,CACL,KAAC,+BAA+B,cAC9B,MAAC,yBAAyB,eACxB,KAAC,IAAI,IACH,uBAAuB,EAAE,uBAAuB,EAChD,qBAAqB,EAAE,qBAAqB,EAC5C,oBAAoB,EAAE,oBAAoB,EAC1C,SAAS,EAAE,SAAS,EACpB,SAAS,EAAE,SAAS,EACpB,YAAY,EAAE,YAAY,EAC1B,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,SAAS,GACpB,EACF,KAAC,MAAM,IAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,GAAI,IACtC,GACI,CACnC,CAAC;AACJ,CAAC;AAED,yBAAyB,CAAC,SAAS,GAAG;IACpC,MAAM,EAAE,SAAS,CAAC,QAAQ,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,UAAU;IACpD,QAAQ,EAAE,SAAS,CAAC,IAAI;IACxB,QAAQ,EAAE,SAAS,CAAC,IAAI;CACzB,CAAC;AAEF,yBAAyB,CAAC,YAAY,GAAG;IACvC,QAAQ,EAAE,GAAG,EAAE,GAAE,CAAC;IAClB,QAAQ,EAAE,GAAG,EAAE,GAAE,CAAC;CACnB,CAAC","sourcesContent":["import PropTypes from 'prop-types';\nimport { memo, useCallback, useState } from 'react';\nimport styled from 'styled-components';\n\nimport { Select, Option, Button, Input, Checkbox } from '@pega/cosmos-react-core';\n\nimport { deepCopy } from '../Utils';\nimport useTranslate from '../Hooks/useTranslate';\n\nconst StyledDynamicFieldConfiguration = styled.div`\n margin: 0 0.312rem;\n`;\n\nconst StyledDynamicFieldContent = styled.div`\n padding: 0.312rem;\n min-width: 12.5rem;\n\n footer {\n display: flex;\n justify-content: space-between;\n }\n`;\n\nconst StyledRow = styled.div`\n margin: 0.625rem 0;\n`;\n\nconst Footer = memo(({ cancel, submit, translate }) => {\n return (\n <footer>\n <Button onClick={cancel}>{translate('Cancel')}</Button>\n <Button variant='primary' onClick={submit}>\n {translate('Submit')}\n </Button>\n </footer>\n );\n});\n\nFooter.propTypes = {\n cancel: PropTypes.func.isRequired,\n submit: PropTypes.func.isRequired,\n translate: PropTypes.func.isRequired\n};\n\nconst Body = memo(\n ({\n templateNameEditHandler,\n templateChangeHandler,\n hideColChangeHandler,\n templates,\n fieldName,\n bHideColumns,\n error,\n translate\n }) => {\n const selectedTemplate = templates.find(t => t.selected).value;\n return (\n <>\n <StyledRow>\n <Input\n id='column-name'\n type='text'\n onChange={templateNameEditHandler}\n label={translate('Column name:')}\n placeholder='Enter a name'\n value={fieldName}\n required\n status={error ? 'error' : null}\n info={error}\n />\n </StyledRow>\n <StyledRow>\n <Select\n id='select-template'\n value={selectedTemplate}\n onChange={templateChangeHandler}\n label={translate('Template:')}\n >\n {templates.map(v => (\n <Option key={v.value} value={v.value}>\n {translate(v.name)}\n </Option>\n ))}\n </Select>\n </StyledRow>\n <StyledRow>\n <Checkbox\n checked={bHideColumns}\n key='hideColumns'\n id='hideColumns'\n onChange={hideColChangeHandler}\n label={translate('Hide columns')}\n name='Hide columns'\n />\n </StyledRow>\n </>\n );\n }\n);\n\nBody.propTypes = {\n templateNameEditHandler: PropTypes.func.isRequired,\n templateChangeHandler: PropTypes.func.isRequired,\n hideColChangeHandler: PropTypes.func.isRequired,\n templates: PropTypes.arrayOf(PropTypes.any).isRequired,\n fieldName: PropTypes.string.isRequired,\n bHideColumns: PropTypes.bool.isRequired,\n error: PropTypes.string,\n translate: PropTypes.func.isRequired\n};\n\nBody.defaultProps = {\n error: null\n};\n\nexport default function DynamicFieldConfiguration({ column, onSubmit, onCancel }) {\n const [translate] = useTranslate();\n\n const { dynamicFieldTemplates } = column.parent.meta;\n\n const [templates, updateTemplates] = useState(\n dynamicFieldTemplates ? deepCopy(dynamicFieldTemplates) : []\n );\n const [fieldName, updateFieldName] = useState('');\n const [bHideColumns, updateHideColumns] = useState(true);\n const [error, setError] = useState();\n const columnNameEmptyError = translate('Column name cannot be empty.');\n\n const templateChangeHandler = useCallback(\n e => {\n const items = [...templates];\n items.find(t => t.selected).selected = false;\n items.find(t => t.value === e.target.value).selected = true;\n updateTemplates(items);\n },\n [templates, updateTemplates]\n );\n\n const templateNameEditHandler = useCallback(\n e => {\n updateFieldName(e.target.value);\n },\n [updateFieldName]\n );\n const hideColChangeHandler = useCallback(\n e => {\n updateHideColumns(e.target.checked);\n },\n [updateHideColumns]\n );\n\n const submit = useCallback(\n e => {\n e.stopPropagation();\n if (!fieldName.trim()) {\n setError(columnNameEmptyError);\n return;\n }\n setError(null);\n\n onSubmit(fieldName, templates.find(t => t.selected).value, bHideColumns);\n },\n [onSubmit, fieldName, templates, bHideColumns, columnNameEmptyError]\n );\n\n const cancel = useCallback(\n e => {\n e.stopPropagation();\n onCancel();\n },\n [onCancel]\n );\n\n return (\n <StyledDynamicFieldConfiguration>\n <StyledDynamicFieldContent>\n <Body\n templateNameEditHandler={templateNameEditHandler}\n templateChangeHandler={templateChangeHandler}\n hideColChangeHandler={hideColChangeHandler}\n templates={templates}\n fieldName={fieldName}\n bHideColumns={bHideColumns}\n error={error}\n translate={translate}\n />\n <Footer submit={submit} cancel={cancel} translate={translate} />\n </StyledDynamicFieldContent>\n </StyledDynamicFieldConfiguration>\n );\n}\n\nDynamicFieldConfiguration.propTypes = {\n column: PropTypes.objectOf(PropTypes.any).isRequired,\n onCancel: PropTypes.func,\n onSubmit: PropTypes.func\n};\n\nDynamicFieldConfiguration.defaultProps = {\n onCancel: () => {},\n onSubmit: () => {}\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmptyContainer.d.ts","sourceRoot":"","sources":["../../../Core/Components/EmptyContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAMlE,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,WAAW,CAAC,IAAI,CAAA;CAAE,kDAM1E"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
// TODO remove ts-ignore once ComponentResolverFactory migrated to TS
|
|
3
|
+
// @ts-ignore
|
|
4
|
+
import { resolveViewComponent } from './RenderingEngine/ComponentResolverFactory';
|
|
5
|
+
export default function EmptyContainer({ view }) {
|
|
6
|
+
const { domContainer, hasNoRecords, renderFactory, getContext } = view;
|
|
7
|
+
if (domContainer && hasNoRecords) {
|
|
8
|
+
return _jsxs(_Fragment, { children: [" ", resolveViewComponent('emptyContainerRenderer', renderFactory, getContext()), " "] });
|
|
9
|
+
}
|
|
10
|
+
return null;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=EmptyContainer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmptyContainer.js","sourceRoot":"","sources":["../../../Core/Components/EmptyContainer.tsx"],"names":[],"mappings":";AAEA,qEAAqE;AACrE,aAAa;AACb,OAAO,EAAE,oBAAoB,EAAE,MAAM,4CAA4C,CAAC;AAElF,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EAAE,IAAI,EAA8B;IACzE,MAAM,EAAE,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC;IACvE,IAAI,YAAY,IAAI,YAAY,EAAE,CAAC;QACjC,OAAO,mCAAI,oBAAoB,CAAC,wBAAwB,EAAE,aAAa,EAAE,UAAU,EAAE,CAAC,SAAK,CAAC;IAC9F,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC","sourcesContent":["import type { RsCoreTypes } from 'pega-repeating-structures-core';\n\n// TODO remove ts-ignore once ComponentResolverFactory migrated to TS\n// @ts-ignore\nimport { resolveViewComponent } from './RenderingEngine/ComponentResolverFactory';\n\nexport default function EmptyContainer({ view }: { view: RsCoreTypes.View }) {\n const { domContainer, hasNoRecords, renderFactory, getContext } = view;\n if (domContainer && hasNoRecords) {\n return <> {resolveViewComponent('emptyContainerRenderer', renderFactory, getContext())} </>;\n }\n return null;\n}\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export default FieldTypeIcon;
|
|
2
|
+
declare function FieldTypeIcon({ column }: {
|
|
3
|
+
column: any;
|
|
4
|
+
}): "" | import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare namespace FieldTypeIcon {
|
|
6
|
+
namespace propTypes {
|
|
7
|
+
let column: PropTypes.Validator<{
|
|
8
|
+
[x: string]: any;
|
|
9
|
+
}>;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
import PropTypes from 'prop-types';
|
|
13
|
+
//# sourceMappingURL=FieldTypeIcon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldTypeIcon.d.ts","sourceRoot":"","sources":["../../../Core/Components/FieldTypeIcon.jsx"],"names":[],"mappings":";AAQA;;iDAOC;;;;;;;;sBAfqB,YAAY"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import { Icon } from '@pega/cosmos-react-core';
|
|
4
|
+
import { getFieldIcon } from '../Utils';
|
|
5
|
+
const IconStyles = { alignSelf: 'center', marginRight: '0.3125rem', marginBottom: '0.215rem' };
|
|
6
|
+
function FieldTypeIcon({ column }) {
|
|
7
|
+
if (!column.showHeaderIcons) {
|
|
8
|
+
return '';
|
|
9
|
+
}
|
|
10
|
+
const iconName = getFieldIcon(column.field.type);
|
|
11
|
+
return _jsx(Icon, { name: iconName, "data-test-id": iconName, "data-testid": iconName, style: IconStyles });
|
|
12
|
+
}
|
|
13
|
+
FieldTypeIcon.propTypes = {
|
|
14
|
+
column: PropTypes.objectOf(PropTypes.any).isRequired
|
|
15
|
+
};
|
|
16
|
+
export default FieldTypeIcon;
|
|
17
|
+
//# sourceMappingURL=FieldTypeIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldTypeIcon.js","sourceRoot":"","sources":["../../../Core/Components/FieldTypeIcon.jsx"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAE/C,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,MAAM,UAAU,GAAG,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,UAAU,EAAE,CAAC;AAE/F,SAAS,aAAa,CAAC,EAAE,MAAM,EAAE;IAC/B,IAAI,CAAC,MAAM,CAAC,eAAe,EAAE,CAAC;QAC5B,OAAO,EAAE,CAAC;IACZ,CAAC;IACD,MAAM,QAAQ,GAAG,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAEjD,OAAO,KAAC,IAAI,IAAC,IAAI,EAAE,QAAQ,kBAAgB,QAAQ,iBAAe,QAAQ,EAAE,KAAK,EAAE,UAAU,GAAI,CAAC;AACpG,CAAC;AAED,aAAa,CAAC,SAAS,GAAG;IACxB,MAAM,EAAE,SAAS,CAAC,QAAQ,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,UAAU;CACrD,CAAC;AAEF,eAAe,aAAa,CAAC","sourcesContent":["import PropTypes from 'prop-types';\n\nimport { Icon } from '@pega/cosmos-react-core';\n\nimport { getFieldIcon } from '../Utils';\n\nconst IconStyles = { alignSelf: 'center', marginRight: '0.3125rem', marginBottom: '0.215rem' };\n\nfunction FieldTypeIcon({ column }) {\n if (!column.showHeaderIcons) {\n return '';\n }\n const iconName = getFieldIcon(column.field.type);\n\n return <Icon name={iconName} data-test-id={iconName} data-testid={iconName} style={IconStyles} />;\n}\n\nFieldTypeIcon.propTypes = {\n column: PropTypes.objectOf(PropTypes.any).isRequired\n};\n\nexport default FieldTypeIcon;\n"]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare function AdvanceFilter({ setShowFilter, view, popoverButtonRef }: {
|
|
2
|
+
setShowFilter: any;
|
|
3
|
+
view: any;
|
|
4
|
+
popoverButtonRef: any;
|
|
5
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
6
|
+
declare namespace AdvanceFilter {
|
|
7
|
+
namespace propTypes {
|
|
8
|
+
let view: PropTypes.Validator<{
|
|
9
|
+
[x: string]: any;
|
|
10
|
+
}>;
|
|
11
|
+
let setShowFilter: PropTypes.Validator<(...args: any[]) => any>;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export default AdvanceFilter;
|
|
15
|
+
import PropTypes from 'prop-types';
|
|
16
|
+
//# sourceMappingURL=AdvanceFilter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AdvanceFilter.d.ts","sourceRoot":"","sources":["../../../../Core/Components/Filters/AdvanceFilter.jsx"],"names":[],"mappings":"AAUA;;;;mDAoCC;;;;;;;;;;sBA9CqB,YAAY"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import { useRef } from 'react';
|
|
4
|
+
import { ConditionBuilder } from '@pega/cosmos-react-condition-builder';
|
|
5
|
+
import { FormDialog } from '@pega/cosmos-react-core';
|
|
6
|
+
import getMenuItemsFromColumns from '../Toolbar/utils/utils';
|
|
7
|
+
import useValidRhsTypes from './Hooks/useValidRhsTypes';
|
|
8
|
+
export default function AdvanceFilter({ setShowFilter, view, popoverButtonRef }) {
|
|
9
|
+
const filterExpression = view.state?.filterExpression;
|
|
10
|
+
const formattedColumns = getMenuItemsFromColumns(view.columns?.filter(c => c.field.filter), 'name');
|
|
11
|
+
const validRhsTypes = useValidRhsTypes(view);
|
|
12
|
+
const handle = useRef(null);
|
|
13
|
+
// FIXME: popoverButtonRef should be converted to a state since refs should not be read during render.
|
|
14
|
+
// https://react.dev/learn/referencing-values-with-refs#differences-between-refs-and-state
|
|
15
|
+
return popoverButtonRef.current ? (_jsx(FormDialog, { target: popoverButtonRef.current, placement: 'bottom-start', onCancel: () => {
|
|
16
|
+
setShowFilter(false);
|
|
17
|
+
}, onSubmit: () => {
|
|
18
|
+
const [valid, filterExp] = handle.current.getCondition();
|
|
19
|
+
if (valid) {
|
|
20
|
+
setShowFilter(false);
|
|
21
|
+
view.type.applyFilter({ filterExp });
|
|
22
|
+
}
|
|
23
|
+
}, children: _jsx(ConditionBuilder, { fields: formattedColumns, condition: filterExpression || undefined, validRhsTypes: validRhsTypes, dateFunctions: view.meta.dateFunctions, disallowNOT: true, handle: handle }) })) : null;
|
|
24
|
+
}
|
|
25
|
+
AdvanceFilter.propTypes = {
|
|
26
|
+
view: PropTypes.objectOf(PropTypes.any).isRequired,
|
|
27
|
+
setShowFilter: PropTypes.func.isRequired
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=AdvanceFilter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AdvanceFilter.js","sourceRoot":"","sources":["../../../../Core/Components/Filters/AdvanceFilter.jsx"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAErD,OAAO,uBAAuB,MAAM,wBAAwB,CAAC;AAE7D,OAAO,gBAAgB,MAAM,0BAA0B,CAAC;AAExD,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EAAE,aAAa,EAAE,IAAI,EAAE,gBAAgB,EAAE;IAC7E,MAA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,IAAI,CAAC,UAAU;CACzC,CAAC","sourcesContent":["import PropTypes from 'prop-types';\nimport { useRef } from 'react';\n\nimport { ConditionBuilder } from '@pega/cosmos-react-condition-builder';\nimport { FormDialog } from '@pega/cosmos-react-core';\n\nimport getMenuItemsFromColumns from '../Toolbar/utils/utils';\n\nimport useValidRhsTypes from './Hooks/useValidRhsTypes';\n\nexport default function AdvanceFilter({ setShowFilter, view, popoverButtonRef }) {\n const filterExpression = view.state?.filterExpression;\n const formattedColumns = getMenuItemsFromColumns(\n view.columns?.filter(c => c.field.filter),\n 'name'\n );\n const validRhsTypes = useValidRhsTypes(view);\n const handle = useRef(null);\n\n // FIXME: popoverButtonRef should be converted to a state since refs should not be read during render.\n // https://react.dev/learn/referencing-values-with-refs#differences-between-refs-and-state\n return popoverButtonRef.current ? (\n <FormDialog\n target={popoverButtonRef.current}\n placement='bottom-start'\n onCancel={() => {\n setShowFilter(false);\n }}\n onSubmit={() => {\n const [valid, filterExp] = handle.current.getCondition();\n if (valid) {\n setShowFilter(false);\n view.type.applyFilter({ filterExp });\n }\n }}\n >\n <ConditionBuilder\n fields={formattedColumns}\n condition={filterExpression || undefined}\n validRhsTypes={validRhsTypes}\n dateFunctions={view.meta.dateFunctions} // Could be undefined\n disallowNOT\n handle={handle}\n />\n </FormDialog>\n ) : null;\n}\n\nAdvanceFilter.propTypes = {\n view: PropTypes.objectOf(PropTypes.any).isRequired,\n setShowFilter: PropTypes.func.isRequired\n};\n"]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare function BooleanFilter({ column, finishPopOver, onFilter }: {
|
|
2
|
+
column: any;
|
|
3
|
+
finishPopOver: any;
|
|
4
|
+
onFilter: any;
|
|
5
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare namespace BooleanFilter {
|
|
7
|
+
namespace propTypes {
|
|
8
|
+
let column: PropTypes.Validator<{
|
|
9
|
+
[x: string]: any;
|
|
10
|
+
}>;
|
|
11
|
+
let finishPopOver: PropTypes.Validator<(...args: any[]) => any>;
|
|
12
|
+
let onFilter: PropTypes.Validator<(...args: any[]) => any>;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
export default BooleanFilter;
|
|
16
|
+
import PropTypes from 'prop-types';
|
|
17
|
+
//# sourceMappingURL=BooleanFilter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BooleanFilter.d.ts","sourceRoot":"","sources":["../../../../Core/Components/Filters/BooleanFilter.jsx"],"names":[],"mappings":"AAWA;;;;4CAiDC;;;;;;;;;;;sBA5DqB,YAAY"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import { useState, useCallback } from 'react';
|
|
4
|
+
import { RadioButton, RadioCheckGroup } from '@pega/cosmos-react-core';
|
|
5
|
+
import { addFilter, getFilterInitializers, comparatorMap } from 'pega-repeating-structures-core';
|
|
6
|
+
import RenderingEngine from '../RenderingEngine/RenderCell';
|
|
7
|
+
import useTranslate from '../../Hooks/useTranslate';
|
|
8
|
+
import FilterMenu from './FilterMenu';
|
|
9
|
+
export default function BooleanFilter({ column, finishPopOver, onFilter }) {
|
|
10
|
+
const [, fValue, filter, filterExpression] = getFilterInitializers(column);
|
|
11
|
+
const [comparator, setComparator] = useState(fValue);
|
|
12
|
+
const { field: { filterParams } } = column;
|
|
13
|
+
const [translate] = useTranslate();
|
|
14
|
+
const onFilterChange = useCallback(event => {
|
|
15
|
+
const { value } = event.target;
|
|
16
|
+
setComparator(value);
|
|
17
|
+
}, []);
|
|
18
|
+
const submitFilter = useCallback(() => {
|
|
19
|
+
// sending filter expression
|
|
20
|
+
const formattedComp = comparatorMap[comparator];
|
|
21
|
+
let localFilterExpression = null;
|
|
22
|
+
localFilterExpression = addFilter({
|
|
23
|
+
filterExpression: filter ? null : filterExpression,
|
|
24
|
+
column,
|
|
25
|
+
comparator: formattedComp,
|
|
26
|
+
input: null
|
|
27
|
+
});
|
|
28
|
+
onFilter({
|
|
29
|
+
filterExp: localFilterExpression
|
|
30
|
+
});
|
|
31
|
+
}, [comparator, filter, filterExpression, column, onFilter]);
|
|
32
|
+
column.setExecutionContext(null); // re-setting executionContext to null
|
|
33
|
+
return (_jsx(FilterMenu, { finishPopOver: finishPopOver, column: column, submitFilter: submitFilter, children: _jsx(RadioCheckGroup, { name: column.field.name, children: filterParams.map(item => {
|
|
34
|
+
const context = { getValue: () => translate(item.value) };
|
|
35
|
+
return (_jsx(RadioButton, { id: item.key, name: item.key, onClick: onFilterChange, value: item.key, checked: comparator === item.key, label: _jsx(RenderingEngine, { ...column.getRenderingEngineProps(), context: context }) }, item.key));
|
|
36
|
+
}) }) }));
|
|
37
|
+
}
|
|
38
|
+
BooleanFilter.propTypes = {
|
|
39
|
+
column: PropTypes.objectOf(PropTypes.any).isRequired,
|
|
40
|
+
finishPopOver: PropTypes.func.isRequired,
|
|
41
|
+
onFilter: PropTypes.func.isRequired
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=BooleanFilter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BooleanFilter.js","sourceRoot":"","sources":["../../../../Core/Components/Filters/BooleanFilter.jsx"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAE9C,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AACvE,OAAO,EAAE,SAAS,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAEjG,OAAO,eAAe,MAAM,+BAA+B,CAAC;AAC5D,OAAO,YAAY,MAAM,0BAA0B,CAAC;AAEpD,OAAO,UAAU,MAAM,cAAc,CAAC;AAEtC,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EAAE,MAAM,EAAE,aAAa,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KAAK,CAAC,IAAI,YACrC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;gBACvB,MAAM,OAAO,GAAG,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;gBAC1D,OAAO,CACL,KAAC,WAAW,IAEV,EAAE,EAAE,IAAI,CAAC,GAAG,EACZ,IAAI,EAAE,IAAI,CAAC,GAAG,EACd,OAAO,EAAE,cAAc,EACvB,KAAK,EAAE,IAAI,CAAC,GAAG,EACf,OAAO,EAAE,UAAU,KAAK,IAAI,CAAC,GAAG,EAChC,KAAK,EAAE,KAAC,eAAe,OAAK,MAAM,CAAC,uBAAuB,EAAE,EAAE,OAAO,EAAE,OAAO,GAAI,IAN7E,IAAI,CAAC,GAAG,CAOb,CACH,CAAC;YACJ,CAAC,CAAC,GACc,GACP,CACd,CAAC;AACJ,CAAC;AAED,aAAa,CAAC,SAAS,GAAG;IACxB,MAAM,EAAE,SAAS,CAAC,QAAQ,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,UAAU;IACpD,aAAa,EAAE,SAAS,CAAC,IAAI,CAAC,UAAU;IACxC,QAAQ,EAAE,SAAS,CAAC,IAAI,CAAC,UAAU;CACpC,CAAC","sourcesContent":["import PropTypes from 'prop-types';\nimport { useState, useCallback } from 'react';\n\nimport { RadioButton, RadioCheckGroup } from '@pega/cosmos-react-core';\nimport { addFilter, getFilterInitializers, comparatorMap } from 'pega-repeating-structures-core';\n\nimport RenderingEngine from '../RenderingEngine/RenderCell';\nimport useTranslate from '../../Hooks/useTranslate';\n\nimport FilterMenu from './FilterMenu';\n\nexport default function BooleanFilter({ column, finishPopOver, onFilter }) {\n const [, fValue, filter, filterExpression] = getFilterInitializers(column);\n const [comparator, setComparator] = useState(fValue);\n const {\n field: { filterParams }\n } = column;\n const [translate] = useTranslate();\n const onFilterChange = useCallback(event => {\n const { value } = event.target;\n setComparator(value);\n }, []);\n\n const submitFilter = useCallback(() => {\n // sending filter expression\n const formattedComp = comparatorMap[comparator];\n let localFilterExpression = null;\n localFilterExpression = addFilter({\n filterExpression: filter ? null : filterExpression,\n column,\n comparator: formattedComp,\n input: null\n });\n onFilter({\n filterExp: localFilterExpression\n });\n }, [comparator, filter, filterExpression, column, onFilter]);\n\n column.setExecutionContext(null); // re-setting executionContext to null\n\n return (\n <FilterMenu finishPopOver={finishPopOver} column={column} submitFilter={submitFilter}>\n <RadioCheckGroup name={column.field.name}>\n {filterParams.map(item => {\n const context = { getValue: () => translate(item.value) };\n return (\n <RadioButton\n key={item.key}\n id={item.key}\n name={item.key}\n onClick={onFilterChange}\n value={item.key}\n checked={comparator === item.key}\n label={<RenderingEngine {...column.getRenderingEngineProps()} context={context} />}\n />\n );\n })}\n </RadioCheckGroup>\n </FilterMenu>\n );\n}\n\nBooleanFilter.propTypes = {\n column: PropTypes.objectOf(PropTypes.any).isRequired,\n finishPopOver: PropTypes.func.isRequired,\n onFilter: PropTypes.func.isRequired\n};\n"]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare function CommonFilter({ column, onFilter, finishPopOver }: {
|
|
2
|
+
column: any;
|
|
3
|
+
onFilter: any;
|
|
4
|
+
finishPopOver: any;
|
|
5
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare namespace CommonFilter {
|
|
7
|
+
namespace propTypes {
|
|
8
|
+
let column: PropTypes.Validator<{
|
|
9
|
+
[x: string]: any;
|
|
10
|
+
}>;
|
|
11
|
+
let finishPopOver: PropTypes.Validator<(...args: any[]) => any>;
|
|
12
|
+
let onFilter: PropTypes.Validator<(...args: any[]) => any>;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
export default CommonFilter;
|
|
16
|
+
import PropTypes from 'prop-types';
|
|
17
|
+
//# sourceMappingURL=CommonFilter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CommonFilter.d.ts","sourceRoot":"","sources":["../../../../Core/Components/Filters/CommonFilter.jsx"],"names":[],"mappings":"AAYA;;;;4CAkGC;;;;;;;;;;;sBA9GqB,YAAY"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import { useState, useCallback, useEffect } from 'react';
|
|
4
|
+
import { Select, Option, Flex } from '@pega/cosmos-react-core';
|
|
5
|
+
import { addFilter, getFilterInitializers, comparatorMap } from 'pega-repeating-structures-core';
|
|
6
|
+
import useTranslate from '../../Hooks/useTranslate';
|
|
7
|
+
import InputWrapper from './InputWrapper';
|
|
8
|
+
import FilterMenu from './FilterMenu';
|
|
9
|
+
import useFilterSubmit from './Hooks/useFilterSubmit';
|
|
10
|
+
export default function CommonFilter({ column, onFilter, finishPopOver }) {
|
|
11
|
+
const params = column.field.filterParams || [];
|
|
12
|
+
const [fInput, fValue, filter, filterExpression] = getFilterInitializers(column);
|
|
13
|
+
const [filterInput, setFilterInput] = useState(fInput);
|
|
14
|
+
const [comparator, setComparator] = useState(fValue);
|
|
15
|
+
const [translate] = useTranslate();
|
|
16
|
+
let content = null;
|
|
17
|
+
useEffect(() => {
|
|
18
|
+
/* Safe check for params */
|
|
19
|
+
if (params?.[0]?.key && !comparator)
|
|
20
|
+
setComparator(params[0].key);
|
|
21
|
+
}, []);
|
|
22
|
+
const submitFilter = useCallback(() => {
|
|
23
|
+
/* Sending filter expression */
|
|
24
|
+
const newFilterExpression = addFilter({
|
|
25
|
+
filterExpression: filter ? null : filterExpression,
|
|
26
|
+
column,
|
|
27
|
+
comparator: comparatorMap[comparator],
|
|
28
|
+
input: filterInput
|
|
29
|
+
});
|
|
30
|
+
onFilter({
|
|
31
|
+
filterExp: newFilterExpression
|
|
32
|
+
});
|
|
33
|
+
}, [filter, filterExpression, column, comparator, filterInput, onFilter]);
|
|
34
|
+
const onFilterChange = useCallback(({ value: comparatorType }) => {
|
|
35
|
+
setComparator(comparatorType);
|
|
36
|
+
}, []);
|
|
37
|
+
const applyFilter = useFilterSubmit({ finishPopOver, submitFilter });
|
|
38
|
+
const onTextChange = useCallback(value => {
|
|
39
|
+
setFilterInput(value);
|
|
40
|
+
}, []);
|
|
41
|
+
const onNumberChange = useCallback(value => {
|
|
42
|
+
setFilterInput(parseFloat(value));
|
|
43
|
+
}, []);
|
|
44
|
+
const handleSubmitHandler = e => {
|
|
45
|
+
if (e.key === 'Enter') {
|
|
46
|
+
applyFilter();
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
// eslint-disable-next-line sonarjs/no-small-switch
|
|
50
|
+
switch (column.field.type) {
|
|
51
|
+
case 'number': {
|
|
52
|
+
content = (_jsx(InputWrapper, { id: `${column.field.name}`, type: 'number', onChange: onNumberChange, onKeyDown: handleSubmitHandler, style: { width: '100%' }, label: translate('Filter value'), value: filterInput }));
|
|
53
|
+
break;
|
|
54
|
+
}
|
|
55
|
+
default: {
|
|
56
|
+
content = (_jsx(InputWrapper, { id: `${column.field.name}`, type: 'text', onChange: onTextChange, onKeyDown: handleSubmitHandler, style: { width: '100%' }, label: translate('Filter value'), value: filterInput }));
|
|
57
|
+
break;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
return (_jsx(FilterMenu, { finishPopOver: finishPopOver, column: column, submitFilter: submitFilter, children: _jsxs(Flex, { container: { direction: 'column', wrap: 'no-wrap', itemGap: 1 }, children: [_jsx(Flex, { item: true, children: _jsx(Select, { defaultValue: comparator, onChange: e => onFilterChange({ value: e.target.value }), id: `select-${column.field.name}`, label: translate('Filter comparison'), children: params.map(opt => (_jsx(Option, { value: opt.key, children: translate(opt.value) }, opt.key))) }) }), _jsx(Flex, { item: true, children: content })] }) }));
|
|
61
|
+
}
|
|
62
|
+
CommonFilter.propTypes = {
|
|
63
|
+
column: PropTypes.objectOf(PropTypes.any).isRequired,
|
|
64
|
+
finishPopOver: PropTypes.func.isRequired,
|
|
65
|
+
onFilter: PropTypes.func.isRequired
|
|
66
|
+
};
|
|
67
|
+
//# sourceMappingURL=CommonFilter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CommonFilter.js","sourceRoot":"","sources":["../../../../Core/Components/Filters/CommonFilter.jsx"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzD,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAEjG,OAAO,YAAY,MAAM,0BAA0B,CAAC;AAEpD,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,UAAU,MAAM,cAAc,CAAC;AACtC,OAAO,eAAe,MAAM,yBAAyB,CAAC;AAEtD,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE;IACtE,MAAM,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,YAAY,IAAI,EAAE,CAAC;IAC/C,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,gBAAgB,CAAC,GAAG,qBAAqB,CAAC,MAAM,CAAC,CAAC;IACjF,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC;IACvD,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC;IACrD,MAAM,CAAC,SAAS,CAAC,GAAG,YAAY,EAAE,CAAC;IACnC,IAAI,OAAO,GAAG,IAAI,CAAC;IACnB,SAAS,CAAC,GAAG,EAAE;QACb,2BAA2B;QAC3B,IAAI,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,GAAG,IAAI,CAAC,UAAU;YA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EACjC,KAAK,EAAE,SAAS,CAAC,mBAAmB,CAAC,YAEpC,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,CACjB,KAAC,MAAM,IAAe,KAAK,EAAE,GAAG,CAAC,GAAG,YACjC,SAAS,CAAC,GAAG,CAAC,KAAK,CAAC,IADV,GAAG,CAAC,GAAG,CAEX,CACV,CAAC,GACK,GACJ,EACP,KAAC,IAAI,IAAC,IAAI,kBAAE,OAAO,GAAQ,IACtB,GACI,CACd,CAAC;AACJ,CAAC;AAED,YAAY,CAAC,SAAS,GAAG;IACvB,MAAM,EAAE,SAAS,CAAC,QAAQ,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,UAAU;IACpD,aAAa,EAAE,SAAS,CAAC,IAAI,CAAC,UAAU;IACxC,QAAQ,EAAE,SAAS,CAAC,IAAI,CAAC,UAAU;CACpC,CAAC","sourcesContent":["import PropTypes from 'prop-types';\nimport { useState, useCallback, useEffect } from 'react';\n\nimport { Select, Option, Flex } from '@pega/cosmos-react-core';\nimport { addFilter, getFilterInitializers, comparatorMap } from 'pega-repeating-structures-core';\n\nimport useTranslate from '../../Hooks/useTranslate';\n\nimport InputWrapper from './InputWrapper';\nimport FilterMenu from './FilterMenu';\nimport useFilterSubmit from './Hooks/useFilterSubmit';\n\nexport default function CommonFilter({ column, onFilter, finishPopOver }) {\n const params = column.field.filterParams || [];\n const [fInput, fValue, filter, filterExpression] = getFilterInitializers(column);\n const [filterInput, setFilterInput] = useState(fInput);\n const [comparator, setComparator] = useState(fValue);\n const [translate] = useTranslate();\n let content = null;\n useEffect(() => {\n /* Safe check for params */\n if (params?.[0]?.key && !comparator) setComparator(params[0].key);\n }, []);\n\n const submitFilter = useCallback(() => {\n /* Sending filter expression */\n const newFilterExpression = addFilter({\n filterExpression: filter ? null : filterExpression,\n column,\n comparator: comparatorMap[comparator],\n input: filterInput\n });\n onFilter({\n filterExp: newFilterExpression\n });\n }, [filter, filterExpression, column, comparator, filterInput, onFilter]);\n\n const onFilterChange = useCallback(({ value: comparatorType }) => {\n setComparator(comparatorType);\n }, []);\n\n const applyFilter = useFilterSubmit({ finishPopOver, submitFilter });\n\n const onTextChange = useCallback(value => {\n setFilterInput(value);\n }, []);\n\n const onNumberChange = useCallback(value => {\n setFilterInput(parseFloat(value));\n }, []);\n\n const handleSubmitHandler = e => {\n if (e.key === 'Enter') {\n applyFilter();\n }\n };\n\n // eslint-disable-next-line sonarjs/no-small-switch\n switch (column.field.type) {\n case 'number': {\n content = (\n <InputWrapper\n id={`${column.field.name}`}\n type='number'\n onChange={onNumberChange}\n onKeyDown={handleSubmitHandler}\n style={{ width: '100%' }}\n label={translate('Filter value')}\n value={filterInput}\n />\n );\n break;\n }\n default: {\n content = (\n <InputWrapper\n id={`${column.field.name}`}\n type='text'\n onChange={onTextChange}\n onKeyDown={handleSubmitHandler}\n style={{ width: '100%' }}\n label={translate('Filter value')}\n value={filterInput}\n />\n );\n break;\n }\n }\n\n return (\n <FilterMenu finishPopOver={finishPopOver} column={column} submitFilter={submitFilter}>\n <Flex container={{ direction: 'column', wrap: 'no-wrap', itemGap: 1 }}>\n <Flex item>\n <Select\n defaultValue={comparator}\n onChange={e => onFilterChange({ value: e.target.value })}\n id={`select-${column.field.name}`}\n label={translate('Filter comparison')}\n >\n {params.map(opt => (\n <Option key={opt.key} value={opt.key}>\n {translate(opt.value)}\n </Option>\n ))}\n </Select>\n </Flex>\n <Flex item>{content}</Flex>\n </Flex>\n </FilterMenu>\n );\n}\n\nCommonFilter.propTypes = {\n column: PropTypes.objectOf(PropTypes.any).isRequired,\n finishPopOver: PropTypes.func.isRequired,\n onFilter: PropTypes.func.isRequired\n};\n"]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare function Filter(props: any): import("react/jsx-runtime").JSX.Element | null;
|
|
2
|
+
declare namespace Filter {
|
|
3
|
+
namespace propTypes {
|
|
4
|
+
let column: PropTypes.Requireable<{
|
|
5
|
+
[x: string]: any;
|
|
6
|
+
}>;
|
|
7
|
+
let finishPopOver: PropTypes.Requireable<(...args: any[]) => any>;
|
|
8
|
+
}
|
|
9
|
+
namespace defaultProps {
|
|
10
|
+
let column_1: undefined;
|
|
11
|
+
export { column_1 as column };
|
|
12
|
+
export function finishPopOver_1(): void;
|
|
13
|
+
export { finishPopOver_1 as finishPopOver };
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export default Filter;
|
|
17
|
+
import PropTypes from 'prop-types';
|
|
18
|
+
//# sourceMappingURL=Filter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Filter.d.ts","sourceRoot":"","sources":["../../../../Core/Components/Filters/Filter.jsx"],"names":[],"mappings":"AAKA,oFAeC;;;;;;;;;;;QASgB,wCAAQ;;;;;sBA7BH,YAAY"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import { useCallback } from 'react';
|
|
4
|
+
import FilterType from './FilterType';
|
|
5
|
+
export default function Filter(props) {
|
|
6
|
+
const { column, finishPopOver, popoverButtonRef } = props;
|
|
7
|
+
const onFilter = useCallback(params => column.parent.type.applyFilter(params), [column]);
|
|
8
|
+
if (!(Number.isNaN(column.field.filter) || column.field.filter))
|
|
9
|
+
return null;
|
|
10
|
+
return (_jsx(FilterType, { column: column, onFilter: onFilter, finishPopOver: finishPopOver, popoverButtonRef: popoverButtonRef }));
|
|
11
|
+
}
|
|
12
|
+
Filter.propTypes = {
|
|
13
|
+
column: PropTypes.objectOf(PropTypes.any),
|
|
14
|
+
finishPopOver: PropTypes.func
|
|
15
|
+
};
|
|
16
|
+
Filter.defaultProps = {
|
|
17
|
+
column: undefined,
|
|
18
|
+
finishPopOver: () => { }
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=Filter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Filter.js","sourceRoot":"","sources":["../../../../Core/Components/Filters/Filter.jsx"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAEpC,OAAO,UAAU,MAAM,cAAc,CAAC;AAEtC,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,KAAK;IAClC,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,gBAAgB,EAAE,GAAG,KAAK,CAAC;IAE1D,MAAM,QAAQ,GAAG,WAAW,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC;IAEzF,IAAI,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC;QAAE,OAAO,IAAI,CAAC;IAE7E,OAAO,CACL,KAAC,UAAU,IACT,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,EAClB,aAAa,EAAE,aAAa,EAC5B,gBAAgB,EAAE,gBAAgB,GAClC,CACH,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,SAAS,GAAG;IACjB,MAAM,EAAE,SAAS,CAAC,QAAQ,CAAC,SAAS,CAAC,GAAG,CAAC;IACzC,aAAa,EAAE,SAAS,CAAC,IAAI;CAC9B,CAAC;AAEF,MAAM,CAAC,YAAY,GAAG;IACpB,MAAM,EAAE,SAAS;IACjB,aAAa,EAAE,GAAG,EAAE,GAAE,CAAC;CACxB,CAAC","sourcesContent":["import PropTypes from 'prop-types';\nimport { useCallback } from 'react';\n\nimport FilterType from './FilterType';\n\nexport default function Filter(props) {\n const { column, finishPopOver, popoverButtonRef } = props;\n\n const onFilter = useCallback(params => column.parent.type.applyFilter(params), [column]);\n\n if (!(Number.isNaN(column.field.filter) || column.field.filter)) return null;\n\n return (\n <FilterType\n column={column}\n onFilter={onFilter}\n finishPopOver={finishPopOver}\n popoverButtonRef={popoverButtonRef}\n />\n );\n}\n\nFilter.propTypes = {\n column: PropTypes.objectOf(PropTypes.any),\n finishPopOver: PropTypes.func\n};\n\nFilter.defaultProps = {\n column: undefined,\n finishPopOver: () => {}\n};\n"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare function FilterMenu({ submitFilter, children, finishPopOver }: {
|
|
2
|
+
submitFilter: any;
|
|
3
|
+
children: any;
|
|
4
|
+
finishPopOver: any;
|
|
5
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare namespace FilterMenu {
|
|
7
|
+
namespace propTypes {
|
|
8
|
+
let children: PropTypes.Validator<object>;
|
|
9
|
+
let finishPopOver: PropTypes.Validator<(...args: any[]) => any>;
|
|
10
|
+
let submitFilter: PropTypes.Validator<(...args: any[]) => any>;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
export default FilterMenu;
|
|
14
|
+
import PropTypes from 'prop-types';
|
|
15
|
+
//# sourceMappingURL=FilterMenu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FilterMenu.d.ts","sourceRoot":"","sources":["../../../../Core/Components/Filters/FilterMenu.jsx"],"names":[],"mappings":"AAyBA;;;;4CAoBC;;;;;;;;;sBA7CqB,YAAY"}
|