@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,120 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import dayjs from 'dayjs';
|
|
3
|
+
import timezonePlugin from 'dayjs/plugin/timezone';
|
|
4
|
+
import { FieldType, ROW_DENSITY } from 'pega-repeating-structures-core/lib/types/Meta.types';
|
|
5
|
+
import { NoValue } from '@pega/cosmos-react-core';
|
|
6
|
+
import ValueRenderer from '../../Components/RenderingEngine/ValueRenderer';
|
|
7
|
+
dayjs.extend(timezonePlugin);
|
|
8
|
+
const getStatusVariant = (data) => {
|
|
9
|
+
let variant;
|
|
10
|
+
const warnStrings = ['fail', 'cancel', 'reject', 'revoke', 'stopped', 'warn'];
|
|
11
|
+
const infoStrings = ['open', 'hold', 'info', 'new'];
|
|
12
|
+
const successStrings = ['resolved', 'completed', 'success'];
|
|
13
|
+
const pendingStrings = ['pending'];
|
|
14
|
+
if (new RegExp(warnStrings.join('|'), 'i').test(data)) {
|
|
15
|
+
variant = 'warn';
|
|
16
|
+
}
|
|
17
|
+
else if (new RegExp(infoStrings.join('|'), 'i').test(data)) {
|
|
18
|
+
variant = 'info';
|
|
19
|
+
}
|
|
20
|
+
else if (new RegExp(successStrings.join('|'), 'i').test(data)) {
|
|
21
|
+
variant = 'success';
|
|
22
|
+
}
|
|
23
|
+
else if (new RegExp(pendingStrings.join('|'), 'i').test(data)) {
|
|
24
|
+
variant = 'pending';
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
variant = 'info';
|
|
28
|
+
}
|
|
29
|
+
return variant;
|
|
30
|
+
};
|
|
31
|
+
const getFieldsAsActivityContent = (columns, row) => {
|
|
32
|
+
return columns
|
|
33
|
+
?.filter(column => column.field.name !== 'RowActionMenu' && !column.hidden)
|
|
34
|
+
?.map(column => {
|
|
35
|
+
return {
|
|
36
|
+
id: column.field.id,
|
|
37
|
+
name: column.field.label,
|
|
38
|
+
value: _jsx(ValueRenderer, { column: column, row: row })
|
|
39
|
+
};
|
|
40
|
+
});
|
|
41
|
+
};
|
|
42
|
+
const convertDateToTimezone = (value, timezone) => {
|
|
43
|
+
return (dayjs(value)
|
|
44
|
+
.tz(timezone)
|
|
45
|
+
// cSpell:disable-next-line
|
|
46
|
+
.format('YYYY-MM-DDTHH:mm:ss'));
|
|
47
|
+
};
|
|
48
|
+
const getActivity = (rows, columns, { timelineFields, timezone, defaultRowHeight }) => {
|
|
49
|
+
const { title, date, status: statusProp, icon, content } = timelineFields ?? {};
|
|
50
|
+
const titleColumn = columns?.find(({ field }) => field.name === title?.name);
|
|
51
|
+
const dateColumn = columns?.find(({ field }) => field.name === date?.name);
|
|
52
|
+
const contentColumn = columns?.find(({ field }) => field.name === content?.name);
|
|
53
|
+
return rows
|
|
54
|
+
?.map(row => {
|
|
55
|
+
const data = row.getContext().getValue();
|
|
56
|
+
const dateValue = date?.name ? data[date.name] : undefined;
|
|
57
|
+
const dateFieldType = dateColumn?.field?.type;
|
|
58
|
+
const isDateOnlyFieldType = dateFieldType === FieldType.DATE ||
|
|
59
|
+
dateFieldType === FieldType.DATE_ONLY ||
|
|
60
|
+
dateFieldType === FieldType.DATE_TIMELINE;
|
|
61
|
+
// Activity Object date can't be undefined
|
|
62
|
+
if (!dateValue) {
|
|
63
|
+
return undefined;
|
|
64
|
+
}
|
|
65
|
+
const statusData = statusProp?.name ? data[statusProp.name] : undefined;
|
|
66
|
+
let status;
|
|
67
|
+
if (statusData) {
|
|
68
|
+
status = {
|
|
69
|
+
variant: getStatusVariant(statusData),
|
|
70
|
+
children: statusData
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
const activity = {
|
|
74
|
+
id: row.key,
|
|
75
|
+
title: title?.name && data[title.name] && titleColumn ? (_jsx(ValueRenderer, { column: titleColumn, row: row })) : (_jsx(NoValue, {})),
|
|
76
|
+
date: timezone && dateColumn?.formatterAllowed && dateFieldType && !isDateOnlyFieldType // Date only value should be formatted without timezone
|
|
77
|
+
? convertDateToTimezone(dateValue, timezone)
|
|
78
|
+
: dateValue,
|
|
79
|
+
dateVariant: isDateOnlyFieldType ? 'date' : 'datetime',
|
|
80
|
+
icon: icon?.name ? data[icon.name] : undefined,
|
|
81
|
+
defaultExpanded: defaultRowHeight === ROW_DENSITY.FULL_CONTENT,
|
|
82
|
+
content: contentColumn ? (_jsx(ValueRenderer, { column: contentColumn, row: row })) : (getFieldsAsActivityContent(columns, row)),
|
|
83
|
+
status: statusProp?.getCustomContent ? statusProp.getCustomContent(row) : status
|
|
84
|
+
};
|
|
85
|
+
return activity;
|
|
86
|
+
})
|
|
87
|
+
?.filter((item) => !!item);
|
|
88
|
+
};
|
|
89
|
+
export default getActivity;
|
|
90
|
+
export const mapDateFnToGroupOption = (dateFunction) => {
|
|
91
|
+
switch (dateFunction) {
|
|
92
|
+
case 'YEARS':
|
|
93
|
+
return 'year';
|
|
94
|
+
case 'QUARTERS':
|
|
95
|
+
return 'quarteryear';
|
|
96
|
+
case 'MONTHS':
|
|
97
|
+
return 'monthyear';
|
|
98
|
+
case 'DAYS':
|
|
99
|
+
return 'date';
|
|
100
|
+
default:
|
|
101
|
+
return 'none';
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
export function calculateBodyMaxHeight(maxHeight, domContainer, pContainer) {
|
|
105
|
+
if (maxHeight === undefined)
|
|
106
|
+
return;
|
|
107
|
+
if (!domContainer || !pContainer)
|
|
108
|
+
return;
|
|
109
|
+
const extraHeight = domContainer.offsetHeight - pContainer.offsetHeight;
|
|
110
|
+
if (typeof maxHeight === 'string' && maxHeight.startsWith('--')) {
|
|
111
|
+
// Means it is a css variable which is a string, and it needs to be computed with calc function
|
|
112
|
+
// If css variable is not defined then fallback to default max height i.e. 550px
|
|
113
|
+
const defaultMaxHeight = `calc(550px + ${extraHeight}px + 32px)`;
|
|
114
|
+
return `calc(var(${maxHeight}, ${defaultMaxHeight}) - ${extraHeight}px - 32px)`;
|
|
115
|
+
}
|
|
116
|
+
if (typeof maxHeight === 'number') {
|
|
117
|
+
return `${maxHeight - extraHeight - 32}px`;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
//# sourceMappingURL=utility.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utility.js","sourceRoot":"","sources":["../../../../Core/Views/Timeline/utility.tsx"],"names":[],"mappings":"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","sourcesContent":["import dayjs from 'dayjs';\nimport timezonePlugin from 'dayjs/plugin/timezone';\nimport type { Group } from 'packages/lists-rs-core/types/State.types';\nimport type { ReactText } from 'react';\n\nimport { FieldType, ROW_DENSITY } from 'pega-repeating-structures-core/lib/types/Meta.types';\nimport type { FieldValueListProps, StatusProps } from '@pega/cosmos-react-core';\nimport { NoValue } from '@pega/cosmos-react-core';\nimport type {\n ActivityObject,\n TimelineGroupBy\n} from '@pega/cosmos-react-work/lib/components/Timeline/Timeline.types';\nimport type { RsCoreTypes } from 'pega-repeating-structures-core';\n\nimport ValueRenderer from '../../Components/RenderingEngine/ValueRenderer';\n\ndayjs.extend(timezonePlugin);\nconst getStatusVariant = (data: string): StatusProps['variant'] => {\n let variant: StatusProps['variant'];\n const warnStrings = ['fail', 'cancel', 'reject', 'revoke', 'stopped', 'warn'];\n const infoStrings = ['open', 'hold', 'info', 'new'];\n const successStrings = ['resolved', 'completed', 'success'];\n const pendingStrings = ['pending'];\n\n if (new RegExp(warnStrings.join('|'), 'i').test(data)) {\n variant = 'warn';\n } else if (new RegExp(infoStrings.join('|'), 'i').test(data)) {\n variant = 'info';\n } else if (new RegExp(successStrings.join('|'), 'i').test(data)) {\n variant = 'success';\n } else if (new RegExp(pendingStrings.join('|'), 'i').test(data)) {\n variant = 'pending';\n } else {\n variant = 'info';\n }\n return variant;\n};\n\nconst getFieldsAsActivityContent = (\n columns: RsCoreTypes.View['columns'],\n row: RsCoreTypes.Row\n): FieldValueListProps['fields'] | undefined => {\n return columns\n ?.filter(column => column.field.name !== 'RowActionMenu' && !column.hidden)\n ?.map(column => {\n return {\n id: column.field.id,\n name: column.field.label,\n value: <ValueRenderer column={column} row={row} />\n };\n });\n};\n\nconst convertDateToTimezone = (\n value: string | number | Date,\n timezone: RsCoreTypes.Meta['timezone']\n): string => {\n return (\n dayjs(value)\n .tz(timezone)\n // cSpell:disable-next-line\n .format('YYYY-MM-DDTHH:mm:ss')\n );\n};\n\nconst getActivity = (\n rows: RsCoreTypes.View['rows'],\n columns: RsCoreTypes.View['columns'],\n { timelineFields, timezone, defaultRowHeight }: RsCoreTypes.View['meta']\n): ActivityObject[] | undefined => {\n const { title, date, status: statusProp, icon, content } = timelineFields ?? {};\n const titleColumn = columns?.find(({ field }) => field.name === title?.name);\n const dateColumn = columns?.find(({ field }) => field.name === date?.name);\n const contentColumn = columns?.find(({ field }) => field.name === content?.name);\n\n return rows\n ?.map(row => {\n const data = row.getContext().getValue();\n const dateValue = date?.name ? data[date.name] : undefined;\n const dateFieldType = dateColumn?.field?.type;\n const isDateOnlyFieldType =\n dateFieldType === FieldType.DATE ||\n dateFieldType === FieldType.DATE_ONLY ||\n dateFieldType === FieldType.DATE_TIMELINE;\n\n // Activity Object date can't be undefined\n if (!dateValue) {\n return undefined;\n }\n const statusData = statusProp?.name ? data[statusProp.name] : undefined;\n let status;\n if (statusData) {\n status = {\n variant: getStatusVariant(statusData as string),\n children: statusData as ReactText\n };\n }\n const activity: ActivityObject = {\n id: row.key as string,\n title:\n title?.name && data[title.name] && titleColumn ? (\n <ValueRenderer column={titleColumn} row={row} />\n ) : (\n <NoValue />\n ),\n date:\n timezone && dateColumn?.formatterAllowed && dateFieldType && !isDateOnlyFieldType // Date only value should be formatted without timezone\n ? convertDateToTimezone(dateValue as string, timezone)\n : (dateValue as string),\n dateVariant: isDateOnlyFieldType ? 'date' : 'datetime',\n icon: icon?.name ? (data[icon.name] as string) : undefined,\n defaultExpanded: defaultRowHeight === ROW_DENSITY.FULL_CONTENT,\n content: contentColumn ? (\n <ValueRenderer column={contentColumn} row={row} />\n ) : (\n getFieldsAsActivityContent(columns, row)\n ),\n status: statusProp?.getCustomContent ? statusProp.getCustomContent(row) : status\n };\n return activity;\n })\n ?.filter((item): item is ActivityObject => !!item);\n};\n\nexport default getActivity;\n\nexport const mapDateFnToGroupOption = (dateFunction: Group['dateFunction']): TimelineGroupBy => {\n switch (dateFunction) {\n case 'YEARS':\n return 'year';\n case 'QUARTERS':\n return 'quarteryear';\n case 'MONTHS':\n return 'monthyear';\n case 'DAYS':\n return 'date';\n default:\n return 'none';\n }\n};\n\nexport function calculateBodyMaxHeight(\n maxHeight: string | number | undefined,\n domContainer: HTMLElement | undefined,\n pContainer: HTMLElement | null | undefined\n) {\n if (maxHeight === undefined) return;\n if (!domContainer || !pContainer) return;\n const extraHeight = domContainer.offsetHeight - pContainer.offsetHeight;\n if (typeof maxHeight === 'string' && maxHeight.startsWith('--')) {\n // Means it is a css variable which is a string, and it needs to be computed with calc function\n // If css variable is not defined then fallback to default max height i.e. 550px\n const defaultMaxHeight = `calc(550px + ${extraHeight}px + 32px)`;\n return `calc(var(${maxHeight}, ${defaultMaxHeight}) - ${extraHeight}px - 32px)`;\n }\n if (typeof maxHeight === 'number') {\n return `${maxHeight - extraHeight - 32}px`;\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rs-styles.d.ts","sourceRoot":"","sources":["../../../Core/Views/rs-styles.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rs-styles.js","sourceRoot":"","sources":["../../../Core/Views/rs-styles.js"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,eAAe,GAAG,CAAA;;;;;;;CAOjB,CAAC","sourcesContent":["import { css } from 'styled-components';\n\nexport default css`\n svg {\n font-size: var(--icon-size);\n }\n header h1 {\n margin: 0;\n }\n`;\n"]}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
export declare const EXTERNAL_FILTERS = "externalFilters";
|
|
2
|
+
export declare const DEFAULT_FORMAT = "Default";
|
|
3
|
+
export declare const SELECTION_MODES: {
|
|
4
|
+
single: string;
|
|
5
|
+
multi: string;
|
|
6
|
+
multi_on_hover: string;
|
|
7
|
+
};
|
|
8
|
+
export declare const rowDensityClasses: {
|
|
9
|
+
1: {
|
|
10
|
+
id: string;
|
|
11
|
+
className: string;
|
|
12
|
+
};
|
|
13
|
+
2: {
|
|
14
|
+
id: string;
|
|
15
|
+
className: string;
|
|
16
|
+
};
|
|
17
|
+
3: {
|
|
18
|
+
id: string;
|
|
19
|
+
className: string;
|
|
20
|
+
};
|
|
21
|
+
4: {
|
|
22
|
+
id: string;
|
|
23
|
+
className: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export declare const TEMPLATES: {
|
|
27
|
+
GALLERY: string;
|
|
28
|
+
TABLE: string;
|
|
29
|
+
TIMELINE: string;
|
|
30
|
+
};
|
|
31
|
+
export declare const debugInfoFields: {
|
|
32
|
+
className: string;
|
|
33
|
+
dataPage: string;
|
|
34
|
+
dataSource: string;
|
|
35
|
+
timeTaken: string;
|
|
36
|
+
insightId: string;
|
|
37
|
+
};
|
|
38
|
+
export declare const CELL_ALIGN_CLASSES: {
|
|
39
|
+
left: string;
|
|
40
|
+
right: string;
|
|
41
|
+
center: string;
|
|
42
|
+
};
|
|
43
|
+
export declare const NonNullSortActions: {
|
|
44
|
+
actionId: string;
|
|
45
|
+
actionName: string;
|
|
46
|
+
actionIcon: string;
|
|
47
|
+
}[];
|
|
48
|
+
export declare const sortActions: ({
|
|
49
|
+
actionId: string;
|
|
50
|
+
actionName: string;
|
|
51
|
+
actionIcon: string;
|
|
52
|
+
} | {
|
|
53
|
+
actionId: null;
|
|
54
|
+
actionName: string;
|
|
55
|
+
actionIcon: string;
|
|
56
|
+
})[];
|
|
57
|
+
export declare const TOOLBAR_FEATURES: {
|
|
58
|
+
readonly FILTER: "filter";
|
|
59
|
+
readonly SORT: "sort";
|
|
60
|
+
readonly GROUPING: "grouping";
|
|
61
|
+
};
|
|
62
|
+
export declare const customFunctions: {
|
|
63
|
+
TEXT_GROUPING: string;
|
|
64
|
+
RANGE_GROUPING: string;
|
|
65
|
+
INTERVAL_GROUPING: string;
|
|
66
|
+
};
|
|
67
|
+
export declare const intervalGroupingBoundaries: {
|
|
68
|
+
includeLowerOnly: string;
|
|
69
|
+
includeUpperOnly: string;
|
|
70
|
+
};
|
|
71
|
+
export declare const FOCUSABLE_SELECTORS: string[];
|
|
72
|
+
export declare const ACTIONABLE_SELECTORS: string[];
|
|
73
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../Core/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,oBAAoB,CAAC;AAClD,eAAO,MAAM,cAAc,YAAY,CAAC;AAExC,eAAO,MAAM,eAAe;;;;CAI3B,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;CAK7B,CAAC;AAEF,eAAO,MAAM,SAAS;;;;CAIrB,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;;CAM3B,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;CAI9B,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;GAW9B,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;;;IAOvB,CAAC;AACF,eAAO,MAAM,gBAAgB;;;;CAInB,CAAC;AAEX,eAAO,MAAM,eAAe;;;;CAI3B,CAAC;AAEF,eAAO,MAAM,0BAA0B;;;CAGtC,CAAC;AAEF,eAAO,MAAM,mBAAmB,UAQ/B,CAAC;AAEF,eAAO,MAAM,oBAAoB,UAWhC,CAAC"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
export const EXTERNAL_FILTERS = 'externalFilters';
|
|
2
|
+
export const DEFAULT_FORMAT = 'Default';
|
|
3
|
+
export const SELECTION_MODES = {
|
|
4
|
+
single: 'single',
|
|
5
|
+
multi: 'multi',
|
|
6
|
+
multi_on_hover: 'multi_on_hover'
|
|
7
|
+
};
|
|
8
|
+
export const rowDensityClasses = {
|
|
9
|
+
1: { id: '1', className: 'short-height' },
|
|
10
|
+
2: { id: '2', className: 'medium-height' },
|
|
11
|
+
3: { id: '3', className: 'tall-height' },
|
|
12
|
+
4: { id: '4', className: 'full-content-height' }
|
|
13
|
+
};
|
|
14
|
+
export const TEMPLATES = {
|
|
15
|
+
GALLERY: 'Gallery',
|
|
16
|
+
TABLE: 'Table',
|
|
17
|
+
TIMELINE: 'Timeline'
|
|
18
|
+
};
|
|
19
|
+
export const debugInfoFields = {
|
|
20
|
+
className: 'className',
|
|
21
|
+
dataPage: 'dataPage',
|
|
22
|
+
dataSource: 'dataSource',
|
|
23
|
+
timeTaken: 'timeTaken',
|
|
24
|
+
insightId: 'insightId'
|
|
25
|
+
};
|
|
26
|
+
export const CELL_ALIGN_CLASSES = {
|
|
27
|
+
left: 'align-left',
|
|
28
|
+
right: 'align-right',
|
|
29
|
+
center: 'align-center'
|
|
30
|
+
};
|
|
31
|
+
export const NonNullSortActions = [
|
|
32
|
+
{
|
|
33
|
+
actionId: 'asc',
|
|
34
|
+
actionName: 'Sort ascending',
|
|
35
|
+
actionIcon: 'arrow-up'
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
actionId: 'desc',
|
|
39
|
+
actionName: 'Sort descending',
|
|
40
|
+
actionIcon: 'arrow-down'
|
|
41
|
+
}
|
|
42
|
+
];
|
|
43
|
+
export const sortActions = [
|
|
44
|
+
...NonNullSortActions,
|
|
45
|
+
{
|
|
46
|
+
actionId: null,
|
|
47
|
+
actionName: 'Remove sort',
|
|
48
|
+
actionIcon: 'reset'
|
|
49
|
+
}
|
|
50
|
+
];
|
|
51
|
+
export const TOOLBAR_FEATURES = {
|
|
52
|
+
FILTER: 'filter',
|
|
53
|
+
SORT: 'sort',
|
|
54
|
+
GROUPING: 'grouping'
|
|
55
|
+
};
|
|
56
|
+
export const customFunctions = {
|
|
57
|
+
TEXT_GROUPING: 'TEXT_GROUPING',
|
|
58
|
+
RANGE_GROUPING: 'RANGE_GROUPING',
|
|
59
|
+
INTERVAL_GROUPING: 'INTERVAL_GROUPING'
|
|
60
|
+
};
|
|
61
|
+
export const intervalGroupingBoundaries = {
|
|
62
|
+
includeLowerOnly: 'include-lower-only',
|
|
63
|
+
includeUpperOnly: 'include-upper-only'
|
|
64
|
+
};
|
|
65
|
+
export const FOCUSABLE_SELECTORS = [
|
|
66
|
+
'button',
|
|
67
|
+
'a[href]',
|
|
68
|
+
'input[type=file]',
|
|
69
|
+
'input[type=checkbox]',
|
|
70
|
+
'input[type=radio]',
|
|
71
|
+
'.scalarlist-component',
|
|
72
|
+
'.row-error-column svg'
|
|
73
|
+
];
|
|
74
|
+
export const ACTIONABLE_SELECTORS = [
|
|
75
|
+
'input[type=text]',
|
|
76
|
+
'input[type=number]',
|
|
77
|
+
'input[inputmode=numeric]',
|
|
78
|
+
'input[inputmode=tel]',
|
|
79
|
+
'input[type=url]',
|
|
80
|
+
'input[type=email]',
|
|
81
|
+
'input[role=combobox]',
|
|
82
|
+
'textarea',
|
|
83
|
+
'select',
|
|
84
|
+
'iframe'
|
|
85
|
+
];
|
|
86
|
+
//# sourceMappingURL=constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../Core/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,gBAAgB,GAAG,iBAAiB,CAAC;AAClD,MAAM,CAAC,MAAM,cAAc,GAAG,SAAS,CAAC;AAExC,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,cAAc,EAAE,gBAAgB;CACjC,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,CAAC,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,SAAS,EAAE,cAAc,EAAE;IACzC,CAAC,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,SAAS,EAAE,eAAe,EAAE;IAC1C,CAAC,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,SAAS,EAAE,aAAa,EAAE;IACxC,CAAC,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,SAAS,EAAE,qBAAqB,EAAE;CACjD,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;CACrB,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE,UAAU;IACpB,UAAU,EAAE,YAAY;IACxB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;CACvB,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,IAAI,EAAE,YAAY;IAClB,KAAK,EAAE,aAAa;IACpB,MAAM,EAAE,cAAc;CACvB,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC;QACE,QAAQ,EAAE,KAAK;QACf,UAAU,EAAE,gBAAgB;QAC5B,UAAU,EAAE,UAAU;KACvB;IACD;QACE,QAAQ,EAAE,MAAM;QAChB,UAAU,EAAE,iBAAiB;QAC7B,UAAU,EAAE,YAAY;KACzB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,GAAG,kBAAkB;IACrB;QACE,QAAQ,EAAE,IAAI;QACd,UAAU,EAAE,aAAa;QACzB,UAAU,EAAE,OAAO;KACpB;CACF,CAAC;AACF,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE,UAAU;CACZ,CAAC;AAEX,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,aAAa,EAAE,eAAe;IAC9B,cAAc,EAAE,gBAAgB;IAChC,iBAAiB,EAAE,mBAAmB;CACvC,CAAC;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,gBAAgB,EAAE,oBAAoB;IACtC,gBAAgB,EAAE,oBAAoB;CACvC,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,QAAQ;IACR,SAAS;IACT,kBAAkB;IAClB,sBAAsB;IACtB,mBAAmB;IACnB,uBAAuB;IACvB,uBAAuB;CACxB,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,kBAAkB;IAClB,oBAAoB;IACpB,0BAA0B;IAC1B,sBAAsB;IACtB,iBAAiB;IACjB,mBAAmB;IACnB,sBAAsB;IACtB,UAAU;IACV,QAAQ;IACR,QAAQ;CACT,CAAC","sourcesContent":["export const EXTERNAL_FILTERS = 'externalFilters';\nexport const DEFAULT_FORMAT = 'Default';\n\nexport const SELECTION_MODES = {\n single: 'single',\n multi: 'multi',\n multi_on_hover: 'multi_on_hover'\n};\n\nexport const rowDensityClasses = {\n 1: { id: '1', className: 'short-height' },\n 2: { id: '2', className: 'medium-height' },\n 3: { id: '3', className: 'tall-height' },\n 4: { id: '4', className: 'full-content-height' }\n};\n\nexport const TEMPLATES = {\n GALLERY: 'Gallery',\n TABLE: 'Table',\n TIMELINE: 'Timeline'\n};\n\nexport const debugInfoFields = {\n className: 'className',\n dataPage: 'dataPage',\n dataSource: 'dataSource',\n timeTaken: 'timeTaken',\n insightId: 'insightId'\n};\n\nexport const CELL_ALIGN_CLASSES = {\n left: 'align-left',\n right: 'align-right',\n center: 'align-center'\n};\n\nexport const NonNullSortActions = [\n {\n actionId: 'asc',\n actionName: 'Sort ascending',\n actionIcon: 'arrow-up'\n },\n {\n actionId: 'desc',\n actionName: 'Sort descending',\n actionIcon: 'arrow-down'\n }\n];\n\nexport const sortActions = [\n ...NonNullSortActions,\n {\n actionId: null,\n actionName: 'Remove sort',\n actionIcon: 'reset'\n }\n];\nexport const TOOLBAR_FEATURES = {\n FILTER: 'filter',\n SORT: 'sort',\n GROUPING: 'grouping'\n} as const;\n\nexport const customFunctions = {\n TEXT_GROUPING: 'TEXT_GROUPING',\n RANGE_GROUPING: 'RANGE_GROUPING',\n INTERVAL_GROUPING: 'INTERVAL_GROUPING'\n};\n\nexport const intervalGroupingBoundaries = {\n includeLowerOnly: 'include-lower-only',\n includeUpperOnly: 'include-upper-only'\n};\n\nexport const FOCUSABLE_SELECTORS = [\n 'button',\n 'a[href]',\n 'input[type=file]',\n 'input[type=checkbox]',\n 'input[type=radio]',\n '.scalarlist-component',\n '.row-error-column svg'\n];\n\nexport const ACTIONABLE_SELECTORS = [\n 'input[type=text]',\n 'input[type=number]',\n 'input[inputmode=numeric]',\n 'input[inputmode=tel]',\n 'input[type=url]',\n 'input[type=email]',\n 'input[role=combobox]',\n 'textarea',\n 'select',\n 'iframe'\n];\n"]}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @returns {import('react').ForwardRefRenderFunction<import('../types').RSTypes.ImperativeApi, import('../types').RepeatingStructuresProps>}
|
|
3
|
+
*/
|
|
4
|
+
export default function repeatComponent(Component: any): import("react").ForwardRefRenderFunction<import("../types").RSTypes.ImperativeApi, import("../types").RepeatingStructuresProps>;
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../Core/index.jsx"],"names":[],"mappings":"AAYA;;GAEG;AACH,yDAFa,OAAO,OAAO,EAAE,wBAAwB,CAAC,OAAO,UAAU,EAAE,OAAO,CAAC,aAAa,EAAE,OAAO,UAAU,EAAE,wBAAwB,CAAC,CA4D3I"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo } from 'react';
|
|
3
|
+
import { resolveCellComponent, resolveViewComponent } from './Components/RenderingEngine/ComponentResolverFactory';
|
|
4
|
+
import GlobalContext from './Context/GlobalContext';
|
|
5
|
+
import useRepeat from './Hooks/useRepeat';
|
|
6
|
+
import { LocalizationProvider } from './Context/LocalizationContext';
|
|
7
|
+
import useReactToProps from './Hooks/UseReactToProps';
|
|
8
|
+
import { ToolbarProvider } from './Context/ToolbarContext';
|
|
9
|
+
/**
|
|
10
|
+
* @returns {import('react').ForwardRefRenderFunction<import('../types').RSTypes.ImperativeApi, import('../types').RepeatingStructuresProps>}
|
|
11
|
+
*/
|
|
12
|
+
export default function repeatComponent(Component) {
|
|
13
|
+
return function RepeatInnerComponent(props, ref) {
|
|
14
|
+
const { meta, apiContext, persistedInfo, renderFactory, renderFormatterTypeMap, onViewReady, formatters, mode, toolBarOptions, onRowClickAction, presets, errors, additionalInfo, styleFormats } = props;
|
|
15
|
+
const instance = useRepeat({
|
|
16
|
+
meta,
|
|
17
|
+
apiContext,
|
|
18
|
+
persistedInfo,
|
|
19
|
+
renderFactory,
|
|
20
|
+
renderFormatterTypeMap,
|
|
21
|
+
onViewReady,
|
|
22
|
+
formatters,
|
|
23
|
+
mode,
|
|
24
|
+
toolBarOptions,
|
|
25
|
+
onRowClickAction,
|
|
26
|
+
presets,
|
|
27
|
+
styleFormats,
|
|
28
|
+
repeatComponentInstance: ref
|
|
29
|
+
});
|
|
30
|
+
useReactToProps(errors, instance);
|
|
31
|
+
const globalContext = useMemo(() => ({
|
|
32
|
+
resolveCellComponent,
|
|
33
|
+
resolveViewComponent
|
|
34
|
+
}), []);
|
|
35
|
+
const toolbarContextValue = useMemo(() => ({ additionalInfo }), [additionalInfo]);
|
|
36
|
+
// TODO : Freeze view object before passing it down to component except columns.
|
|
37
|
+
return (_jsx(GlobalContext.Provider, { value: globalContext, children: _jsx(LocalizationProvider, { children: _jsx(ToolbarProvider, { value: toolbarContextValue, children: _jsx(Component, { view: instance.getView() }) }) }) }));
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../Core/index.jsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,uDAAuD,CAAC;AAC/D,OAAO,aAAa,MAAM,yBAAyB,CAAC;AACpD,OAAO,SAAS,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,eAAe,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAE3D;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,SAAS;IAC/C,OAAO,SAAS,oBAAoB,CAAC,KAAK,EAAE,GAAG;QAC7C,MAAM,EACJ,IAAI,EACJ,UAAU,EACV,aAAa,EACb,aAAa,EACb,sBAAsB,EACtB,WAAW,EACX,UAAU,EACV,IAAI,EACJ,cAAc,EACd,gBAAgB,EAChB,OAAO,EACP,MAAM,EACN,cAAc,EACd,YAAY,EACb,GAAG,KAAK,CAAC;QAEV,MAAM,QAAQ,GAAG,SAAS,CAAC;YACzB,IAAI;YACJ,UAAU;YACV,aAAa;YACb,aAAa;YACb,sBAAsB;YACtB,WAAW;YACX,UAAU;YACV,IAAI;YACJ,cAAc;YACd,gBAAgB;YAChB,OAAO;YACP,YAAY;YACZ,uBAAuB,EAAE,GAAG;SAC7B,CAAC,CAAC;QAEH,eAAe,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QAClC,MAAM,aAAa,GAAG,OAAO,CAC3B,GAAG,EAAE,CAAC,CAAC;YACL,oBAAoB;YACpB,oBAAoB;SACrB,CAAC,EACF,EAAE,CACH,CAAC;QAEF,MAAM,mBAAmB,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE,cAAc,EAAE,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC,CAAC;QAElF,gFAAgF;QAEhF,OAAO,CACL,KAAC,aAAa,CAAC,QAAQ,IAAC,KAAK,EAAE,aAAa,YAC1C,KAAC,oBAAoB,cACnB,KAAC,eAAe,IAAC,KAAK,EAAE,mBAAmB,YACzC,KAAC,SAAS,IAAC,IAAI,EAAE,QAAQ,CAAC,OAAO,EAAE,GAAI,GACvB,GACG,GACA,CAC1B,CAAC;IACJ,CAAC,CAAC;AACJ,CAAC","sourcesContent":["import { useMemo } from 'react';\n\nimport {\n resolveCellComponent,\n resolveViewComponent\n} from './Components/RenderingEngine/ComponentResolverFactory';\nimport GlobalContext from './Context/GlobalContext';\nimport useRepeat from './Hooks/useRepeat';\nimport { LocalizationProvider } from './Context/LocalizationContext';\nimport useReactToProps from './Hooks/UseReactToProps';\nimport { ToolbarProvider } from './Context/ToolbarContext';\n\n/**\n * @returns {import('react').ForwardRefRenderFunction<import('../types').RSTypes.ImperativeApi, import('../types').RepeatingStructuresProps>}\n */\nexport default function repeatComponent(Component) {\n return function RepeatInnerComponent(props, ref) {\n const {\n meta,\n apiContext,\n persistedInfo,\n renderFactory,\n renderFormatterTypeMap,\n onViewReady,\n formatters,\n mode,\n toolBarOptions,\n onRowClickAction,\n presets,\n errors,\n additionalInfo,\n styleFormats\n } = props;\n\n const instance = useRepeat({\n meta,\n apiContext,\n persistedInfo,\n renderFactory,\n renderFormatterTypeMap,\n onViewReady,\n formatters,\n mode,\n toolBarOptions,\n onRowClickAction,\n presets,\n styleFormats,\n repeatComponentInstance: ref\n });\n\n useReactToProps(errors, instance);\n const globalContext = useMemo(\n () => ({\n resolveCellComponent,\n resolveViewComponent\n }),\n []\n );\n\n const toolbarContextValue = useMemo(() => ({ additionalInfo }), [additionalInfo]);\n\n // TODO : Freeze view object before passing it down to component except columns.\n\n return (\n <GlobalContext.Provider value={globalContext}>\n <LocalizationProvider>\n <ToolbarProvider value={toolbarContextValue}>\n <Component view={instance.getView()} />\n </ToolbarProvider>\n </LocalizationProvider>\n </GlobalContext.Provider>\n );\n };\n}\n"]}
|
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { default as RepeatingStructures } from './Core/Components/RSWrapper/index';
|
|
2
|
+
export { convertMetaIntoState, UPDATE_DEBUG_INFO, TOGGLE_DISABLE_SELECTION, TOGGLE_REQUIRED, NOTIFY_DATA_REFRESH, CLEAR_DATA_REFRESH_NOTIFICATION, USER_CONFIRMATION_ACTION, SET_IN_EXTERNAL_STATE, UPDATE_SELECTED_ROWS } from 'pega-repeating-structures-core';
|
|
3
|
+
export { EXTERNAL_FILTERS, FOCUSABLE_SELECTORS, ACTIONABLE_SELECTORS } from './Core/constants';
|
|
4
|
+
export type { RSTypes, RepeatingStructuresProps } from './types';
|
|
5
|
+
export { ROW_DENSITY } from 'pega-repeating-structures-core';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAGnF,OAAO,EACL,oBAAoB,EACpB,iBAAiB,EACjB,wBAAwB,EACxB,eAAe,EACf,mBAAmB,EACnB,+BAA+B,EAC/B,wBAAwB,EACxB,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,gCAAgC,CAAC;AAGxC,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAE/F,YAAY,EAAE,OAAO,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAEjE,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC"}
|
package/lib/index.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { default as RepeatingStructures } from './Core/Components/RSWrapper/index';
|
|
2
|
+
// FIXME: revisit these imports
|
|
3
|
+
export { convertMetaIntoState, UPDATE_DEBUG_INFO, TOGGLE_DISABLE_SELECTION, TOGGLE_REQUIRED, NOTIFY_DATA_REFRESH, CLEAR_DATA_REFRESH_NOTIFICATION, USER_CONFIRMATION_ACTION, SET_IN_EXTERNAL_STATE, UPDATE_SELECTED_ROWS } from 'pega-repeating-structures-core';
|
|
4
|
+
// Dispatch Action constants that is used by consumer in order to send particular actions to Repeating structures
|
|
5
|
+
export { EXTERNAL_FILTERS, FOCUSABLE_SELECTORS, ACTIONABLE_SELECTORS } from './Core/constants';
|
|
6
|
+
export { ROW_DENSITY } from 'pega-repeating-structures-core';
|
|
7
|
+
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAEnF,+BAA+B;AAC/B,OAAO,EACL,oBAAoB,EACpB,iBAAiB,EACjB,wBAAwB,EACxB,eAAe,EACf,mBAAmB,EACnB,+BAA+B,EAC/B,wBAAwB,EACxB,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,gCAAgC,CAAC;AAExC,iHAAiH;AACjH,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAI/F,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC","sourcesContent":["export { default as RepeatingStructures } from './Core/Components/RSWrapper/index';\n\n// FIXME: revisit these imports\nexport {\n convertMetaIntoState,\n UPDATE_DEBUG_INFO,\n TOGGLE_DISABLE_SELECTION,\n TOGGLE_REQUIRED,\n NOTIFY_DATA_REFRESH,\n CLEAR_DATA_REFRESH_NOTIFICATION,\n USER_CONFIRMATION_ACTION,\n SET_IN_EXTERNAL_STATE,\n UPDATE_SELECTED_ROWS\n} from 'pega-repeating-structures-core';\n\n// Dispatch Action constants that is used by consumer in order to send particular actions to Repeating structures\nexport { EXTERNAL_FILTERS, FOCUSABLE_SELECTORS, ACTIONABLE_SELECTORS } from './Core/constants';\n\nexport type { RSTypes, RepeatingStructuresProps } from './types';\n\nexport { ROW_DENSITY } from 'pega-repeating-structures-core';\n"]}
|