@pega/lists-react 9.0.0-build.2.9 → 9.0.0-build.20.0
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/README.md +1 -4
- package/lib/Core/Components/A11y/RepeatingStructureA11y.d.ts +10 -5
- package/lib/Core/Components/A11y/RepeatingStructureA11y.d.ts.map +1 -1
- package/lib/Core/Components/A11y/RepeatingStructureA11y.js +27 -2
- package/lib/Core/Components/A11y/RepeatingStructureA11y.js.map +1 -1
- package/lib/Core/Components/AggregateMenu.d.ts +1 -0
- package/lib/Core/Components/AggregateMenu.d.ts.map +1 -1
- package/lib/Core/Components/AggregateMenu.js +32 -18
- package/lib/Core/Components/AggregateMenu.js.map +1 -1
- package/lib/Core/Components/ContextMenu/ContextMenuContainer.d.ts +6 -15
- package/lib/Core/Components/ContextMenu/ContextMenuContainer.d.ts.map +1 -1
- package/lib/Core/Components/ContextMenu/ContextMenuContainer.js +91 -163
- package/lib/Core/Components/ContextMenu/ContextMenuContainer.js.map +1 -1
- package/lib/Core/Components/ContextMenu/QuickFilter.js +7 -7
- package/lib/Core/Components/ContextMenu/QuickFilter.js.map +1 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/ColumnMergeTemplates/CustomCellWrapper.d.ts +1 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/ColumnMergeTemplates/CustomCellWrapper.d.ts.map +1 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/RowActionMenu.d.ts +2 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/RowActionMenu.d.ts.map +1 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/RowActionMenu.js +9 -21
- package/lib/Core/Components/DefaultComponents/CellRenderers/RowActionMenu.js.map +1 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/RowDragDropHandle.d.ts +2 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/RowDragDropHandle.d.ts.map +1 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/RowDragDropHandle.js +4 -3
- package/lib/Core/Components/DefaultComponents/CellRenderers/RowDragDropHandle.js.map +1 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/RowError.d.ts +2 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/RowError.d.ts.map +1 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/RowError.js +4 -3
- package/lib/Core/Components/DefaultComponents/CellRenderers/RowError.js.map +1 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/index.d.ts +0 -2
- package/lib/Core/Components/DefaultComponents/CellRenderers/index.d.ts.map +1 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/index.js +0 -2
- package/lib/Core/Components/DefaultComponents/CellRenderers/index.js.map +1 -1
- package/lib/Core/Components/DefaultComponents/EmptyContainer.d.ts +5 -1
- package/lib/Core/Components/DefaultComponents/EmptyContainer.d.ts.map +1 -1
- package/lib/Core/Components/DefaultComponents/EmptyContainer.js +12 -5
- package/lib/Core/Components/DefaultComponents/EmptyContainer.js.map +1 -1
- package/lib/Core/Components/DefaultComponents/PersonalizationCreateEdit.d.ts +3 -2
- package/lib/Core/Components/DefaultComponents/PersonalizationCreateEdit.d.ts.map +1 -1
- package/lib/Core/Components/DefaultComponents/PersonalizationCreateEdit.js +13 -26
- package/lib/Core/Components/DefaultComponents/PersonalizationCreateEdit.js.map +1 -1
- package/lib/Core/Components/DefaultComponents/PersonalizationDeleteConfirmation.js +2 -2
- package/lib/Core/Components/DefaultComponents/PersonalizationDeleteConfirmation.js.map +1 -1
- package/lib/Core/Components/DefaultComponents/PersonalizationSelector.d.ts +0 -2
- package/lib/Core/Components/DefaultComponents/PersonalizationSelector.d.ts.map +1 -1
- package/lib/Core/Components/DefaultComponents/PersonalizationSelector.js +11 -9
- package/lib/Core/Components/DefaultComponents/PersonalizationSelector.js.map +1 -1
- package/lib/Core/Components/DefaultComponents/SelectAllCheckbox.d.ts.map +1 -1
- package/lib/Core/Components/DefaultComponents/SelectAllCheckbox.js +5 -0
- package/lib/Core/Components/DefaultComponents/SelectAllCheckbox.js.map +1 -1
- package/lib/Core/Components/DefaultComponents/index.d.ts +5 -3
- package/lib/Core/Components/DefaultComponents/index.d.ts.map +1 -1
- package/lib/Core/Components/DefaultComponents/index.js +0 -2
- package/lib/Core/Components/DefaultComponents/index.js.map +1 -1
- package/lib/Core/Components/Filters/CommonFilter.d.ts.map +1 -1
- package/lib/Core/Components/Filters/CommonFilter.js +2 -2
- package/lib/Core/Components/Filters/CommonFilter.js.map +1 -1
- package/lib/Core/Components/Filters/FilterType.js +5 -5
- package/lib/Core/Components/Filters/FilterType.js.map +1 -1
- package/lib/Core/Components/Filters/SelectFilter.d.ts.map +1 -1
- package/lib/Core/Components/Filters/SelectFilter.js +2 -2
- package/lib/Core/Components/Filters/SelectFilter.js.map +1 -1
- package/lib/Core/Components/Filters/styles.d.ts +1 -1
- package/lib/Core/Components/FooterAggregators.d.ts.map +1 -1
- package/lib/Core/Components/FooterAggregators.js +3 -2
- package/lib/Core/Components/FooterAggregators.js.map +1 -1
- package/lib/Core/Components/GroupRenderer/GroupAdditionalFieldDataModal.d.ts +12 -0
- package/lib/Core/Components/GroupRenderer/GroupAdditionalFieldDataModal.d.ts.map +1 -0
- package/lib/Core/Components/GroupRenderer/GroupAdditionalFieldDataModal.js +62 -0
- package/lib/Core/Components/GroupRenderer/GroupAdditionalFieldDataModal.js.map +1 -0
- package/lib/Core/Components/GroupRenderer/GroupAdditionalInfo.d.ts +33 -0
- package/lib/Core/Components/GroupRenderer/GroupAdditionalInfo.d.ts.map +1 -0
- package/lib/Core/Components/GroupRenderer/GroupAdditionalInfo.js +106 -0
- package/lib/Core/Components/GroupRenderer/GroupAdditionalInfo.js.map +1 -0
- package/lib/Core/Components/{GroupRenderer.d.ts → GroupRenderer/index.d.ts} +8 -1
- package/lib/Core/Components/GroupRenderer/index.d.ts.map +1 -0
- package/lib/Core/Components/GroupRenderer/index.js +367 -0
- package/lib/Core/Components/GroupRenderer/index.js.map +1 -0
- package/lib/Core/Components/Grouping/GroupingMenu.d.ts.map +1 -1
- package/lib/Core/Components/Grouping/GroupingMenu.js +6 -5
- package/lib/Core/Components/Grouping/GroupingMenu.js.map +1 -1
- package/lib/Core/Components/HeaderCell.d.ts.map +1 -1
- package/lib/Core/Components/HeaderCell.js +8 -5
- package/lib/Core/Components/HeaderCell.js.map +1 -1
- package/lib/Core/Components/HeaderMenu/actions.d.ts.map +1 -1
- package/lib/Core/Components/HeaderMenu/actions.js +3 -3
- package/lib/Core/Components/HeaderMenu/actions.js.map +1 -1
- package/lib/Core/Components/HeaderMenu/index.d.ts.map +1 -1
- package/lib/Core/Components/HeaderMenu/index.js +2 -2
- package/lib/Core/Components/HeaderMenu/index.js.map +1 -1
- package/lib/Core/Components/NotificationManager.js +1 -1
- package/lib/Core/Components/NotificationManager.js.map +1 -1
- package/lib/Core/Components/RSWrapper/HeaderBarGadget.d.ts.map +1 -1
- package/lib/Core/Components/RSWrapper/HeaderBarGadget.js +2 -1
- package/lib/Core/Components/RSWrapper/HeaderBarGadget.js.map +1 -1
- package/lib/Core/Components/RenderingEngine/RenderCell.d.ts +1 -1
- package/lib/Core/Components/RenderingEngine/RenderCell.d.ts.map +1 -1
- package/lib/Core/Components/RenderingEngine/RenderCell.js +2 -1
- package/lib/Core/Components/RenderingEngine/RenderCell.js.map +1 -1
- package/lib/Core/Components/TestIdConstants.d.ts +1 -0
- package/lib/Core/Components/TestIdConstants.js +2 -1
- package/lib/Core/Components/TestIdConstants.js.map +1 -1
- package/lib/Core/Components/Toolbar/AdvanceToolbar.d.ts.map +1 -1
- package/lib/Core/Components/Toolbar/AdvanceToolbar.js +9 -33
- package/lib/Core/Components/Toolbar/AdvanceToolbar.js.map +1 -1
- package/lib/Core/Components/Toolbar/AnnounceRowsCount.d.ts +1 -1
- package/lib/Core/Components/Toolbar/AnnounceRowsCount.js +1 -1
- package/lib/Core/Components/Toolbar/AnnounceRowsCount.js.map +1 -1
- package/lib/Core/Components/Toolbar/ColumnSelector.d.ts +20 -9
- package/lib/Core/Components/Toolbar/ColumnSelector.d.ts.map +1 -1
- package/lib/Core/Components/Toolbar/ColumnSelector.js +89 -65
- package/lib/Core/Components/Toolbar/ColumnSelector.js.map +1 -1
- package/lib/Core/Components/Toolbar/DebugInfo.d.ts +3 -5
- package/lib/Core/Components/Toolbar/DebugInfo.d.ts.map +1 -1
- package/lib/Core/Components/Toolbar/DebugInfo.js +3 -3
- package/lib/Core/Components/Toolbar/DebugInfo.js.map +1 -1
- package/lib/Core/Components/Toolbar/FieldSelector.d.ts +1 -0
- package/lib/Core/Components/Toolbar/FieldSelector.d.ts.map +1 -1
- package/lib/Core/Components/Toolbar/FieldSelector.js +3 -2
- package/lib/Core/Components/Toolbar/FieldSelector.js.map +1 -1
- package/lib/Core/Components/Toolbar/Grouping.types.d.ts +0 -6
- package/lib/Core/Components/Toolbar/Grouping.types.d.ts.map +1 -1
- package/lib/Core/Components/Toolbar/Grouping.types.js.map +1 -1
- package/lib/Core/Components/Toolbar/SimpleToolbar.d.ts.map +1 -1
- package/lib/Core/Components/Toolbar/SimpleToolbar.js +4 -3
- package/lib/Core/Components/Toolbar/SimpleToolbar.js.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/useGroup/DateFunctionSelector.d.ts +14 -18
- package/lib/Core/Components/Toolbar/hooks/useGroup/DateFunctionSelector.d.ts.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/useGroup/DateFunctionSelector.js +15 -16
- package/lib/Core/Components/Toolbar/hooks/useGroup/DateFunctionSelector.js.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/useGroup/GroupRenderer.d.ts +2 -1
- package/lib/Core/Components/Toolbar/hooks/useGroup/GroupRenderer.d.ts.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/useGroup/GroupRenderer.js +10 -7
- package/lib/Core/Components/Toolbar/hooks/useGroup/GroupRenderer.js.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/useGroup/useGroup.d.ts.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/useGroup/useGroup.js +6 -3
- package/lib/Core/Components/Toolbar/hooks/useGroup/useGroup.js.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/useGroup/utils.d.ts +7 -2
- package/lib/Core/Components/Toolbar/hooks/useGroup/utils.d.ts.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/useGroup/utils.js +11 -3
- package/lib/Core/Components/Toolbar/hooks/useGroup/utils.js.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/useMore.d.ts +1 -1
- package/lib/Core/Components/Toolbar/hooks/useMore.d.ts.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/useMore.js +81 -79
- package/lib/Core/Components/Toolbar/hooks/useMore.js.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/usePersonalization.d.ts +8 -6
- package/lib/Core/Components/Toolbar/hooks/usePersonalization.d.ts.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/usePersonalization.js +18 -3
- package/lib/Core/Components/Toolbar/hooks/usePersonalization.js.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/useSearch.d.ts.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/useSearch.js +6 -9
- package/lib/Core/Components/Toolbar/hooks/useSearch.js.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/useSort/Row.d.ts +4 -4
- package/lib/Core/Components/Toolbar/hooks/useSort/Row.d.ts.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/useSort/Row.js +6 -6
- package/lib/Core/Components/Toolbar/hooks/useSort/Row.js.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/useSort/SortRenderer.d.ts +2 -1
- package/lib/Core/Components/Toolbar/hooks/useSort/SortRenderer.d.ts.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/useSort/SortRenderer.js +8 -2
- package/lib/Core/Components/Toolbar/hooks/useSort/SortRenderer.js.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/useSort/useSort.d.ts.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/useSort/useSort.js +2 -2
- package/lib/Core/Components/Toolbar/hooks/useSort/useSort.js.map +1 -1
- package/lib/Core/Components/Toolbar/hooks/useWrapAction.d.ts +6 -0
- package/lib/Core/Components/Toolbar/hooks/useWrapAction.d.ts.map +1 -0
- package/lib/Core/Components/Toolbar/hooks/useWrapAction.js +17 -0
- package/lib/Core/Components/Toolbar/hooks/useWrapAction.js.map +1 -0
- package/lib/Core/Components/Toolbar/utils/utils.d.ts +1 -1
- package/lib/Core/Components/Toolbar/utils/utils.d.ts.map +1 -1
- package/lib/Core/Components/Toolbar/utils/utils.js +2 -1
- package/lib/Core/Components/Toolbar/utils/utils.js.map +1 -1
- package/lib/Core/Components/Virtualise/Pagination.d.ts.map +1 -1
- package/lib/Core/Components/Virtualise/Pagination.js +2 -1
- package/lib/Core/Components/Virtualise/Pagination.js.map +1 -1
- package/lib/Core/Components/Virtualise/UseScroll.d.ts +4 -1
- package/lib/Core/Components/Virtualise/UseScroll.d.ts.map +1 -1
- package/lib/Core/Components/Virtualise/UseScroll.js +16 -3
- package/lib/Core/Components/Virtualise/UseScroll.js.map +1 -1
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/VariableHeightVirtualizer.d.ts +97 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/VariableHeightVirtualizer.d.ts.map +1 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/VariableHeightVirtualizer.js +251 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/VariableHeightVirtualizer.js.map +1 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/useChildrenHeightResizeObserver.d.ts +22 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/useChildrenHeightResizeObserver.d.ts.map +1 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/useChildrenHeightResizeObserver.js +38 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/useChildrenHeightResizeObserver.js.map +1 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/useLoaderPositioning.d.ts +22 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/useLoaderPositioning.d.ts.map +1 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/useLoaderPositioning.js +45 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/useLoaderPositioning.js.map +1 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/usePagination.d.ts +49 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/usePagination.d.ts.map +1 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/usePagination.js +55 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/usePagination.js.map +1 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/useScroll.d.ts +21 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/useScroll.d.ts.map +1 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/useScroll.js +39 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/useScroll.js.map +1 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/useVirtualizerItemCount.d.ts +38 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/useVirtualizerItemCount.d.ts.map +1 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/useVirtualizerItemCount.js +62 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/useVirtualizerItemCount.js.map +1 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/utils.d.ts +112 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/utils.d.ts.map +1 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/utils.js +214 -0
- package/lib/Core/Components/Virtualise/VariableHeightVirtualizer/utils.js.map +1 -0
- package/lib/Core/Components/Virtualise/VirtualizeInfinite.js +21 -8
- package/lib/Core/Components/Virtualise/VirtualizeInfinite.js.map +1 -1
- package/lib/Core/Components/Virtualise/index.js +21 -13
- package/lib/Core/Components/Virtualise/index.js.map +1 -1
- package/lib/Core/Components/Virtualise/utility.d.ts +1 -1
- package/lib/Core/Components/Virtualise/utility.d.ts.map +1 -1
- package/lib/Core/Components/Virtualise/utility.js +3 -2
- package/lib/Core/Components/Virtualise/utility.js.map +1 -1
- package/lib/Core/Context/LocalizationContext.d.ts +1 -1
- package/lib/Core/Context/LocalizationContext.d.ts.map +1 -1
- package/lib/Core/Context/LocalizationContext.js.map +1 -1
- package/lib/Core/Hooks/a11y/useAnnounce.d.ts +19 -0
- package/lib/Core/Hooks/a11y/useAnnounce.d.ts.map +1 -0
- package/lib/Core/Hooks/a11y/useAnnounce.js +49 -0
- package/lib/Core/Hooks/a11y/useAnnounce.js.map +1 -0
- package/lib/Core/Hooks/useDragDrop.d.ts.map +1 -1
- package/lib/Core/Hooks/useDragDrop.js +2 -0
- package/lib/Core/Hooks/useDragDrop.js.map +1 -1
- package/lib/Core/Hooks/useRepeat.d.ts.map +1 -1
- package/lib/Core/Hooks/useRepeat.js +20 -1
- package/lib/Core/Hooks/useRepeat.js.map +1 -1
- package/lib/Core/Localization/defaultTranslations.d.ts +16 -13
- package/lib/Core/Localization/defaultTranslations.d.ts.map +1 -1
- package/lib/Core/Localization/defaultTranslations.js +17 -14
- package/lib/Core/Localization/defaultTranslations.js.map +1 -1
- package/lib/Core/Test/JUnitMocks.d.ts +6 -617
- package/lib/Core/Test/JUnitMocks.d.ts.map +1 -1
- package/lib/Core/Test/JUnitMocks.js +5 -4
- package/lib/Core/Test/JUnitMocks.js.map +1 -1
- package/lib/Core/Utils/index.d.ts +11 -0
- package/lib/Core/Utils/index.d.ts.map +1 -1
- package/lib/Core/Utils/index.js +22 -8
- package/lib/Core/Utils/index.js.map +1 -1
- package/lib/Core/Utils/styles.d.ts +2 -2
- package/lib/Core/Utils/styles.d.ts.map +1 -1
- package/lib/Core/Views/Gallery/Components/GalleryCard.d.ts +4 -0
- package/lib/Core/Views/Gallery/Components/GalleryCard.d.ts.map +1 -0
- package/lib/Core/Views/Gallery/Components/GalleryCard.js +18 -0
- package/lib/Core/Views/Gallery/Components/GalleryCard.js.map +1 -0
- package/lib/Core/Views/Gallery/Components/GalleryCheckboxCard.d.ts +8 -0
- package/lib/Core/Views/Gallery/Components/GalleryCheckboxCard.d.ts.map +1 -0
- package/lib/Core/Views/Gallery/Components/GalleryCheckboxCard.js +25 -0
- package/lib/Core/Views/Gallery/Components/GalleryCheckboxCard.js.map +1 -0
- package/lib/Core/Views/Gallery/Components/GalleryFieldValue.d.ts +8 -0
- package/lib/Core/Views/Gallery/Components/GalleryFieldValue.d.ts.map +1 -0
- package/lib/Core/Views/Gallery/Components/GalleryFieldValue.js +8 -0
- package/lib/Core/Views/Gallery/Components/GalleryFieldValue.js.map +1 -0
- package/lib/Core/Views/Gallery/Components/GalleryHeader.d.ts +8 -0
- package/lib/Core/Views/Gallery/Components/GalleryHeader.d.ts.map +1 -0
- package/lib/Core/Views/Gallery/Components/GalleryHeader.js +15 -0
- package/lib/Core/Views/Gallery/Components/GalleryHeader.js.map +1 -0
- package/lib/Core/Views/Gallery/Gallery.types.d.ts +8 -0
- package/lib/Core/Views/Gallery/Gallery.types.d.ts.map +1 -0
- package/lib/Core/Views/Gallery/Gallery.types.js +2 -0
- package/lib/Core/Views/Gallery/Gallery.types.js.map +1 -0
- package/lib/Core/Views/Gallery/StyledGalleryContainer.d.ts +13 -1
- package/lib/Core/Views/Gallery/StyledGalleryContainer.d.ts.map +1 -1
- package/lib/Core/Views/Gallery/StyledGalleryContainer.js +30 -40
- package/lib/Core/Views/Gallery/StyledGalleryContainer.js.map +1 -1
- package/lib/Core/Views/Gallery/_tests_/Samples/GalleryA11ySample.js +1 -1
- package/lib/Core/Views/Gallery/_tests_/Samples/GalleryA11ySample.js.map +1 -1
- package/lib/Core/Views/Gallery/hooks/useRowActions.d.ts +9 -0
- package/lib/Core/Views/Gallery/hooks/useRowActions.d.ts.map +1 -0
- package/lib/Core/Views/Gallery/hooks/useRowActions.js +25 -0
- package/lib/Core/Views/Gallery/hooks/useRowActions.js.map +1 -0
- package/lib/Core/Views/Gallery/index.d.ts +4 -8
- package/lib/Core/Views/Gallery/index.d.ts.map +1 -1
- package/lib/Core/Views/Gallery/index.js +22 -62
- package/lib/Core/Views/Gallery/index.js.map +1 -1
- package/lib/Core/Views/Gallery/utils.d.ts +36 -0
- package/lib/Core/Views/Gallery/utils.d.ts.map +1 -0
- package/lib/Core/Views/Gallery/utils.js +91 -0
- package/lib/Core/Views/Gallery/utils.js.map +1 -0
- package/lib/Core/Views/Map/Map.styles.d.ts +190 -6
- package/lib/Core/Views/Map/Map.styles.d.ts.map +1 -1
- package/lib/Core/Views/Map/Map.styles.js.map +1 -1
- package/lib/Core/Views/Map/index.d.ts.map +1 -1
- package/lib/Core/Views/Map/index.js +10 -4
- package/lib/Core/Views/Map/index.js.map +1 -1
- package/lib/Core/Views/RsCardWrapper.js.map +1 -1
- package/lib/Core/Views/Table/CellWrapper.d.ts +1 -1
- package/lib/Core/Views/Table/CellWrapper.d.ts.map +1 -1
- package/lib/Core/Views/Table/CellWrapper.js +4 -2
- package/lib/Core/Views/Table/CellWrapper.js.map +1 -1
- package/lib/Core/Views/Table/HeaderWrapper.d.ts.map +1 -1
- package/lib/Core/Views/Table/HeaderWrapper.js +5 -5
- package/lib/Core/Views/Table/HeaderWrapper.js.map +1 -1
- package/lib/Core/Views/Table/Row.d.ts +3 -1
- package/lib/Core/Views/Table/Row.d.ts.map +1 -1
- package/lib/Core/Views/Table/Row.js +5 -3
- package/lib/Core/Views/Table/Row.js.map +1 -1
- package/lib/Core/Views/Table/SkeletonRows.d.ts +1 -1
- package/lib/Core/Views/Table/SkeletonRows.d.ts.map +1 -1
- package/lib/Core/Views/Table/StyledTableContainer.d.ts +3 -1
- package/lib/Core/Views/Table/StyledTableContainer.d.ts.map +1 -1
- package/lib/Core/Views/Table/StyledTableContainer.js +269 -158
- package/lib/Core/Views/Table/StyledTableContainer.js.map +1 -1
- package/lib/Core/Views/Table/TableA11y.d.ts +11 -0
- package/lib/Core/Views/Table/TableA11y.d.ts.map +1 -1
- package/lib/Core/Views/Table/TableA11y.js +207 -2
- package/lib/Core/Views/Table/TableA11y.js.map +1 -1
- package/lib/Core/Views/Table/VirtualizeWrapper.d.ts +5 -1
- package/lib/Core/Views/Table/VirtualizeWrapper.d.ts.map +1 -1
- package/lib/Core/Views/Table/VirtualizeWrapper.js +38 -15
- package/lib/Core/Views/Table/VirtualizeWrapper.js.map +1 -1
- package/lib/Core/Views/Table/index.d.ts.map +1 -1
- package/lib/Core/Views/Table/index.js +6 -4
- package/lib/Core/Views/Table/index.js.map +1 -1
- package/lib/Core/Views/Table/useCountChange.d.ts +10 -0
- package/lib/Core/Views/Table/useCountChange.d.ts.map +1 -0
- package/lib/Core/Views/Table/useCountChange.js +39 -0
- package/lib/Core/Views/Table/useCountChange.js.map +1 -0
- package/lib/Core/Views/Timeline/Timeline.d.ts +5 -0
- package/lib/Core/Views/Timeline/Timeline.d.ts.map +1 -0
- package/lib/Core/Views/Timeline/Timeline.js +28 -0
- package/lib/Core/Views/Timeline/Timeline.js.map +1 -0
- package/lib/Core/Views/Timeline/Timeline.styles.d.ts +393 -0
- package/lib/Core/Views/Timeline/Timeline.styles.d.ts.map +1 -0
- package/lib/Core/Views/Timeline/Timeline.styles.js +175 -0
- package/lib/Core/Views/Timeline/Timeline.styles.js.map +1 -0
- package/lib/Core/Views/Timeline/Timeline.types.d.ts +48 -0
- package/lib/Core/Views/Timeline/Timeline.types.d.ts.map +1 -0
- package/lib/Core/Views/Timeline/Timeline.types.js +2 -0
- package/lib/Core/Views/Timeline/Timeline.types.js.map +1 -0
- package/lib/Core/Views/Timeline/TimelineItem.d.ts +12 -0
- package/lib/Core/Views/Timeline/TimelineItem.d.ts.map +1 -0
- package/lib/Core/Views/Timeline/TimelineItem.js +43 -0
- package/lib/Core/Views/Timeline/TimelineItem.js.map +1 -0
- package/lib/Core/Views/Timeline/__tests__/Timeline.mocks.d.ts +4 -0
- package/lib/Core/Views/Timeline/__tests__/Timeline.mocks.d.ts.map +1 -0
- package/lib/Core/Views/Timeline/__tests__/Timeline.mocks.js +141 -0
- package/lib/Core/Views/Timeline/__tests__/Timeline.mocks.js.map +1 -0
- package/lib/Core/Views/Timeline/index.d.ts.map +1 -1
- package/lib/Core/Views/Timeline/index.js +14 -8
- package/lib/Core/Views/Timeline/index.js.map +1 -1
- package/lib/Core/Views/Timeline/utils.d.ts +10 -0
- package/lib/Core/Views/Timeline/utils.d.ts.map +1 -0
- package/lib/Core/Views/Timeline/utils.js +144 -0
- package/lib/Core/Views/Timeline/utils.js.map +1 -0
- package/lib/Core/Views/rs-styles.d.ts +1 -1
- package/lib/Core/constants.d.ts.map +1 -1
- package/lib/Core/constants.js +1 -0
- package/lib/Core/constants.js.map +1 -1
- package/lib/Core/templateFeatureSupport.d.ts +17 -0
- package/lib/Core/templateFeatureSupport.d.ts.map +1 -0
- package/lib/Core/templateFeatureSupport.js +30 -0
- package/lib/Core/templateFeatureSupport.js.map +1 -0
- package/lib/types.d.ts +2 -0
- package/lib/types.d.ts.map +1 -1
- package/lib/types.js.map +1 -1
- package/package.json +11 -12
- package/lib/Core/Components/DefaultComponents/CardItem.d.ts +0 -3
- package/lib/Core/Components/DefaultComponents/CardItem.d.ts.map +0 -1
- package/lib/Core/Components/DefaultComponents/CardItem.js +0 -78
- package/lib/Core/Components/DefaultComponents/CardItem.js.map +0 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/DateTime.d.ts +0 -12
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/DateTime.d.ts.map +0 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/DateTime.js +0 -35
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/DateTime.js.map +0 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/Radio.d.ts +0 -15
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/Radio.d.ts.map +0 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/Radio.js +0 -49
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/Radio.js.map +0 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/TextInput.d.ts +0 -12
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/TextInput.d.ts.map +0 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/TextInput.js +0 -44
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/TextInput.js.map +0 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/index.d.ts +0 -16
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/index.d.ts.map +0 -1
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/index.js +0 -63
- package/lib/Core/Components/DefaultComponents/CellRenderers/EditComponents/index.js.map +0 -1
- package/lib/Core/Components/EmptyContainer.d.ts +0 -5
- package/lib/Core/Components/EmptyContainer.d.ts.map +0 -1
- package/lib/Core/Components/EmptyContainer.js +0 -12
- package/lib/Core/Components/EmptyContainer.js.map +0 -1
- package/lib/Core/Components/GroupRenderer.d.ts.map +0 -1
- package/lib/Core/Components/GroupRenderer.js +0 -240
- package/lib/Core/Components/GroupRenderer.js.map +0 -1
- package/lib/Core/Components/Toolbar/KeyboardInstructions.d.ts +0 -6
- package/lib/Core/Components/Toolbar/KeyboardInstructions.d.ts.map +0 -1
- package/lib/Core/Components/Toolbar/KeyboardInstructions.js +0 -32
- package/lib/Core/Components/Toolbar/KeyboardInstructions.js.map +0 -1
- package/lib/Core/Components/Toolbar/Timeline/TimelineToolbar.d.ts +0 -8
- package/lib/Core/Components/Toolbar/Timeline/TimelineToolbar.d.ts.map +0 -1
- package/lib/Core/Components/Toolbar/Timeline/TimelineToolbar.js +0 -61
- package/lib/Core/Components/Toolbar/Timeline/TimelineToolbar.js.map +0 -1
- package/lib/Core/Hooks/useSelect.d.ts +0 -9
- package/lib/Core/Hooks/useSelect.d.ts.map +0 -1
- package/lib/Core/Hooks/useSelect.js +0 -24
- package/lib/Core/Hooks/useSelect.js.map +0 -1
- package/lib/Core/Views/Gallery/ItemWrapper.d.ts +0 -19
- package/lib/Core/Views/Gallery/ItemWrapper.d.ts.map +0 -1
- package/lib/Core/Views/Gallery/ItemWrapper.js +0 -34
- package/lib/Core/Views/Gallery/ItemWrapper.js.map +0 -1
- package/lib/Core/Views/Timeline/utility.d.ts +0 -8
- package/lib/Core/Views/Timeline/utility.d.ts.map +0 -1
- package/lib/Core/Views/Timeline/utility.js +0 -120
- package/lib/Core/Views/Timeline/utility.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JUnitMocks.js","sourceRoot":"","sources":["../../../Core/Test/JUnitMocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,gCAAgC,CAAC;AAE/E,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB;QACE,IAAI,EAAE,YAAY;QAClB,OAAO,EAAE,kEAAkE;QAC3E,mBAAmB,EAAE,KAAK;QAC1B,aAAa,EAAE,IAAI;QACnB,YAAY,EAAE,KAAK;QACnB,gBAAgB,EAAE,0BAA0B;QAC5C,gBAAgB,EAAE,UAAU;KAC7B;IACD;QACE,IAAI,EAAE,YAAY;QAClB,OAAO,EAAE,wDAAwD;QACjE,mBAAmB,EAAE,UAAU;QAC/B,aAAa,EAAE,IAAI;QACnB,YAAY,EAAE,mBAAmB;QACjC,gBAAgB,EAAE,0BAA0B;QAC5C,gBAAgB,EAAE,UAAU;KAC7B;IACD;QACE,IAAI,EAAE,YAAY;QAClB,OAAO,EAAE,qCAAqC;QAC9C,mBAAmB,EAAE,OAAO;QAC5B,aAAa,EAAE,IAAI;QACnB,YAAY,EAAE,oBAAoB;QAClC,gBAAgB,EAAE,0BAA0B;QAC5C,gBAAgB,EAAE,UAAU;KAC7B;IACD;QACE,IAAI,EAAE,YAAY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BACF;wBACD,KAAK,EAAE,CAAC;qBACT;iBACF;aACF;YACD;gBACE,IAAI,EAAE;oBACJ,IAAI,EAAE,OAAO;oBACb,IAAI,EAAE,gBAAgB;oBACtB,KAAK,EAAE,MAAM;oBACb,wBAAwB,EAAE,SAAS;oBACnC,QAAQ,EAAE,YAAY;oBACtB,OAAO,EAAE,OAAO;oBAChB,IAAI,EAAE,cAAc;iBACrB;gBACD,GAAG,EAAE;oBACH,KAAK,EAAE;wBACL,GAAG,EAAE,MAAM;qBACZ;iBACF;gBACD,KAAK,EAAE,CAAC;gBACR,QAAQ,EAAE;oBACR;wBACE,IAAI,EAAE;4BACJ,IAAI,EAAE,OAAO;4BACb,IAAI,EAAE,eAAe;4BACrB,KAAK,EAAE,MAAM;4BACb,wBAAwB,EAAE,eAAe;4BACzC,QAAQ,EAAE,YAAY;4BACtB,OAAO,EAAE,OAAO;4BAChB,IAAI,EAAE,eAAe;yBACtB;wBACD,GAAG,EAAE;4BACH,KAAK,EAAE;gCACL,GAAG,EAAE,KAAK;6BACX;yBACF;wBACD,KAAK,EAAE,CAAC;qBACT;iBACF;aACF;SACF;KACF;CACF,CAAC;AACF,gBAAgB;AAEhB,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,GAAG,EAAE;QACH;YACE,SAAS,EAAE;gBACT,UAAU,EAAE,IAAI;gBAChB,GAAG,EAAE,EAAE,KAAK,EAAE,kBAAkB,EAAE;gBAClC,GAAG,EAAE,EAAE,KAAK,EAAE,kBAAkB,EAAE;aACnC;SACF;QACD;YACE,SAAS,EAAE;gBACT,UAAU,EAAE,UAAU;gBACtB,GAAG,EAAE,EAAE,KAAK,EAAE,qBAAqB,EAAE;gBACrC,GAAG,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE;aACtB;SACF;KACF;CACF,CAAC","sourcesContent":["import { REPEATING_STRUCTURE_TEMPLATES } from 'pega-repeating-structures-core';\n\nexport const dataMock = [\n {\n pyID: 'BUG-199277',\n pyLabel: 'MFS: Mobile: Operator icon doesn’t appear in Case Manager Portal',\n pxCurrentStageLabel: 'New',\n pxUrgencyWork: '15',\n pyStatusWork: 'New',\n pxCreateDateTime: '2020-04-25T12:20:29.273Z',\n ProductVersionID: 'RLS-5657'\n },\n {\n pyID: 'BUG-184789',\n pyLabel: 'Layout Group configured as tab shows both menu and tab',\n pxCurrentStageLabel: 'Rejected',\n pxUrgencyWork: '45',\n pyStatusWork: 'Resolved-Rejected',\n pxCreateDateTime: '2020-04-26T12:20:29.273Z',\n ProductVersionID: 'RLS-5658'\n },\n {\n pyID: 'BUG-168038',\n pyLabel: 'Show Message on unsupported browser',\n pxCurrentStageLabel: 'Fixed',\n pxUrgencyWork: '85',\n pyStatusWork: 'Resolved-Completed',\n pxCreateDateTime: '2020-01-25T12:20:29.273Z',\n ProductVersionID: 'RLS-5157'\n },\n {\n pyID: 'BUG-161608',\n pyLabel: 'UI Kit : Stages in CM portal not responsive with',\n pxCurrentStageLabel: 'Rejected',\n pxUrgencyWork: '15',\n pyStatusWork: 'Resolved-Rejected',\n pxCreateDateTime: '2019-04-25T12:20:29.273Z',\n ProductVersionID: 'RLS-4657'\n },\n {\n pyID: 'BUG-161604',\n pyLabel: 'UI Kit is not added for new applications built on existing implementation',\n pxCurrentStageLabel: 'Fixing',\n pxUrgencyWork: '45',\n pyStatusWork: 'Open-InProgress',\n pxCreateDateTime: '2020-09-25T12:20:29.273Z',\n ProductVersionID: 'RLS-3657'\n },\n {\n pyID: 'BUG-168099',\n pyLabel: 'Show Message on unsupported browser',\n pxCurrentStageLabel: 'Fixed',\n pxUrgencyWork: '90',\n pyStatusWork: 'Resolved-Completed',\n pxCreateDateTime: '2010-04-25T12:20:29.273Z',\n ProductVersionID: 'RLS-2657'\n },\n {\n pyID: 'BUG-161638',\n pyLabel: 'UI Kit : Stages in CM portal not responsive with',\n pxCurrentStageLabel: 'Rejected',\n pxUrgencyWork: '85',\n pyStatusWork: 'Resolved-Rejected',\n pxCreateDateTime: '2020-04-25T12:10:29.273Z',\n ProductVersionID: 'RLS-1657'\n },\n {\n pyID: 'BUG-161684',\n pyLabel: 'UI Kit is not added for new applications built on existing implementation',\n pxCurrentStageLabel: 'Fixing',\n pxUrgencyWork: '15',\n pyStatusWork: 'Open-InProgress',\n pxCreateDateTime: '2020-04-25T12:20:28.273Z',\n ProductVersionID: 'RLS-557'\n }\n];\n\nexport const fieldDefsMock = [\n {\n type: 'number',\n name: 'pyIndex',\n label: 'Sl.No.',\n width: 50,\n id: 'A', // Don't change this\n minWidth: 40,\n resize: true,\n show: true,\n sort: true\n },\n {\n type: 'text',\n name: 'pyID',\n label: 'ID',\n width: 150,\n id: '2',\n resize: true,\n show: true,\n sort: true\n },\n {\n type: 'text',\n name: 'pyLabel',\n label: 'Name',\n width: 400,\n id: '3',\n resize: true,\n show: true,\n sort: true\n },\n {\n type: 'number',\n name: 'pxUrgencyWork',\n label: 'Priority',\n width: 300,\n id: 'D',\n resize: true,\n show: true,\n category: [{ label: 'Update Operator' }],\n showCategoryInHeaderLabel: true\n },\n {\n type: 'date',\n name: 'pxCreateDateTime',\n label: 'Created on',\n width: 400,\n id: '5',\n filter: true,\n show: true\n },\n {\n type: 'text',\n name: 'ProductVersionID',\n label: 'Release',\n width: 100,\n id: '7',\n show: true\n },\n {\n type: 'text',\n name: 'pxCurrentStageLabel',\n label: 'Status',\n width: 100,\n id: 'F',\n resize: true,\n filter: true,\n show: true\n }\n];\n\nconst mockDataRow = {\n pyID: 1,\n pyLabel: 'Testing'\n};\n\nexport const mockRow = {\n getContext: () => {\n return {\n getValue: () => {\n return mockDataRow;\n }\n };\n }\n};\n\nexport const emptyMockRow = {\n getContext: () => {\n return {\n getValue: () => {\n return null;\n }\n };\n }\n};\n\nexport const meta = {\n title: '<>mock title<>',\n icon: 'picture',\n template: REPEATING_STRUCTURE_TEMPLATES.TABLE,\n personalization: true,\n fieldDefs: fieldDefsMock,\n locale: 'en-US',\n timezone: 'America/New_York',\n height: { height: 0, minHeight: 400 },\n comparatorMap: {},\n typeMap: {},\n sortOrder: ['asc', 'desc', null],\n toggleFieldVisibility: true,\n grouping: true,\n dateFunctions: {\n // TODO: Enable HOURS\n DATE_TIME: [\n 'YEARS',\n 'QUARTERS',\n 'MONTHS',\n 'WEEKS',\n 'DAYS',\n 'MONTHS_OF_YEAR',\n 'DAYS_OF_MONTH',\n 'DAYS_OF_WEEK'\n ],\n DATE_ONLY: [\n 'YEARS',\n 'QUARTERS',\n 'MONTHS',\n 'WEEKS',\n 'MONTHS_OF_YEAR',\n 'DAYS_OF_MONTH',\n 'DAYS_OF_WEEK'\n ]\n },\n aggregateOptions: {\n number: ['numberAggregateFn1', 'numberAggregateFn2'],\n currency: ['currencyAggregateFn1', 'currencyAggregateFn2']\n },\n expandGroups: true,\n dynamicFieldTemplates: [\n {\n name: 'Comma separated',\n value: 'comma',\n selected: true\n },\n {\n name: 'Space separated',\n value: 'space'\n },\n {\n name: 'Multi line',\n value: 'multiline'\n }\n ],\n displayDensity: [],\n headerBar: true,\n isPreset: true,\n id: 'nonPersonalizationViewKey',\n displayFeatures: {\n filter: true,\n grouping: true,\n sort: true\n }\n};\n\nconst state = {\n filteredFields: [],\n filterExpression: null,\n customFields: [],\n personalization: {\n active: 'nonPersonalizationViewKey',\n allPersonalizations: {\n nonPersonalizationViewKey: {\n name: 'Initial view',\n template: REPEATING_STRUCTURE_TEMPLATES.TABLE,\n isPreset: true\n }\n }\n },\n search: {\n query: 'search.query'\n },\n refresh: false,\n selectedHeightOption: 'selectedHeightOption',\n paginationOptions: {},\n showHeaderIcons: true,\n responsive: { sm: true }\n};\n\nconst apiContext = {\n fetchUniqueColValues: () => {\n return Promise.resolve([]);\n },\n fetchGroupedInfo: () => {\n return Promise.resolve([]);\n }\n};\n\nconst domContainer = document.createElement('div');\ndomContainer.setAttribute('data-testid', 'table-dom-container');\n// Attaching the domContainer to body to make it work with RTL specially in case of portals\ndocument.body.appendChild(domContainer);\ndomContainer.getBoundingClientRect = () => {\n return { top: 10, left: 10, bottom: 10, right: 10 } as DOMRect;\n};\n\nexport const instanceMock = {\n externalStatePassed: false,\n presets: [],\n view: {\n meta,\n state,\n formatters: {\n Integer: (value: number) => {\n return value;\n }\n },\n setProp: function setProp(p: any, value: any) {\n // @ts-ignore\n this[p] = value;\n },\n setDomContainer: () => {},\n getDomContainer: () => domContainer,\n type: {\n onPaginate: () => {},\n applyActivePersonalization: () => {},\n applySorting: () => {},\n applySearch: () => {}\n },\n getComponent: () => {},\n putVirtualizeElement: () => {},\n rowHeight: 40,\n rowHeightClass: '',\n setScrollNode: () => {},\n bodyHeight: 400,\n totalItemCount: undefined,\n columns: meta.fieldDefs.map(field => ({\n field,\n parent: {},\n label: field.label,\n setExecutionContext: () => {},\n getRenderingEngineProps: () => {\n return {\n column: {\n ...field,\n getExecutionContext: () => {},\n getContext: () => {},\n isCellInEditMode: () => {}\n },\n context: { getField: () => ({ type: undefined }) }\n };\n },\n isCellInEditMode: () => false,\n getUIProps: () => ({\n classList: 'some-class'\n }),\n getContext: () => ({\n getField: () => field,\n getFormattedValue: () => null\n }),\n getExecutionContext: () => {},\n style: {},\n get isAutoSizable(): boolean | undefined {\n // @ts-ignore\n return this.field.resize && !this.hidden && this.cellRenderer !== 'RichText';\n }\n })),\n toolBarOptions: [],\n data: dataMock,\n domContainer,\n getContext() {\n return { getRequiredDef: () => undefined, getMeta: () => meta };\n },\n shouldDisplayFeature: () => true\n },\n getState() {\n return this.view.state;\n },\n dispatch: () => {},\n apiContext,\n subscribe: () => {}\n};\n\ninstanceMock.view.columns.forEach(column => {\n column.parent = instanceMock.view;\n column.getExecutionContext = () => ({\n getValue: () => null,\n getParentContext: () => instanceMock.view\n });\n});\nexport const groupsMock = [\n { columnId: 'D', order: 'asc', level: 0 },\n { columnId: 'F', order: 'asc', level: 1 }\n];\n\nexport const groupingInfoMock = [\n {\n name: 15,\n children: [\n { name: 'New', count: 1 },\n { name: 'Rejected', count: 1 },\n { name: 'Fixing', count: 1 }\n ]\n },\n {\n name: 45,\n children: [\n { name: 'Fixing', count: 1 },\n { name: 'Rejected', count: 20 }\n ]\n },\n {\n name: 85,\n children: [\n { name: 'Fixed', count: 1 },\n { name: 'Rejected', count: 1 }\n ]\n },\n {\n name: 90,\n children: [{ name: 'Fixed', count: 1 }]\n }\n];\n\nexport const hierarchicalGroupsMock = {\n parentId: 'ParentAccountID',\n targetId: 'pyID',\n materializedPathId: 'ParentAccountMaterializedPath',\n sortById: 'Name',\n mode: 'Hierarchical'\n};\n\n// cSpell:disable\nexport const hierarchicalGroupingInfoMock = [\n {\n info: {\n pyID: 'waynb',\n Role: 'VP Sales',\n Sales: 1230000,\n HireDate: '2010-05-01',\n ParentAccountMaterializedPath: ['/', '/waynb', '/waynb/'],\n Name: 'Bruce Wayne',\n ParentAccountID: ''\n },\n agg: {\n Sales: {\n sum: 1996000\n }\n },\n count: 4,\n children: [\n {\n info: {\n pyID: 'curra',\n\n Role: 'Sales Director',\n Sales: 409000,\n 'Parent_account:Sales': 1230000,\n\n HireDate: '2012-06-12',\n 'Parent_account:pyID': 'waynb',\n 'Parent_account:Role': 'VP Sales',\n\n ParentAccountMaterializedPath: ['/', '/waynb', '/waynb/curra', '/waynb/curra/'],\n 'Parent_account:Name': 'Bruce Wayne',\n 'Parent_account:HireDate': '2010-05-01',\n\n Name: 'Arthur Curry',\n ParentAccountID: 'waynb'\n },\n agg: {\n Sales: {\n sum: 354000\n }\n },\n count: 2,\n children: [\n {\n info: {\n pyID: 'reesa',\n\n Role: 'Sales Manager',\n Sales: 254000,\n 'Parent_account:Sales': 409000,\n HireDate: '2016-01-18',\n 'Parent_account:pyID': 'curra',\n 'Parent_account:Role': 'Sales Director',\n ParentAccountMaterializedPath: [\n '/',\n '/waynb',\n '/waynb/curra',\n '/waynb/curra/reesa',\n '/waynb/curra/reesa/'\n ],\n 'Parent_account:Name': 'Arthur Curry',\n 'Parent_account:HireDate': '2012-06-12',\n Name: 'Amanda Rees',\n ParentAccountID: 'curra'\n },\n agg: {\n Sales: {\n sum: 77000\n }\n },\n count: 1\n },\n {\n info: {\n pyID: 'turnd',\n Role: 'Sales Manager',\n Sales: 100000,\n 'Parent_account:Sales': 409000,\n HireDate: '2015-05-13',\n 'Parent_account:pyID': 'curra',\n 'Parent_account:Role': 'Sales Director',\n ParentAccountMaterializedPath: [\n '/',\n '/waynb',\n '/waynb/curra',\n '/waynb/curra/turnd',\n '/waynb/curra/turnd/'\n ],\n 'Parent_account:Name': 'Arthur Curry',\n 'Parent_account:HireDate': '2012-06-12',\n Name: 'Diana Turner',\n ParentAccountID: 'curra'\n },\n agg: {},\n count: 0\n }\n ]\n },\n {\n info: {\n pyID: 'alleb',\n Role: 'Sales Director',\n Sales: 583000,\n Manager_MaterializedPath: '/waynb/',\n HireDate: '2012-06-30',\n Manager: 'waynb',\n Name: 'Barry Allen'\n },\n agg: {\n Sales: {\n sum: 102000\n }\n },\n count: 1,\n children: [\n {\n info: {\n pyID: 'ellil',\n Role: 'Sales Manager',\n Sales: 102000,\n Manager_MaterializedPath: '/waynb/alleb/',\n HireDate: '2017-09-19',\n Manager: 'alleb',\n Name: 'Lisa Ellison'\n },\n agg: {\n Sales: {\n sum: 57000\n }\n },\n count: 2\n }\n ]\n },\n {\n info: {\n pyID: 'prind',\n Role: 'Sales Director',\n Sales: 453000,\n Manager_MaterializedPath: '/waynb/',\n HireDate: '2010-09-30',\n Manager: 'waynb',\n Name: 'Diana Prince'\n },\n agg: {\n Sales: {\n sum: 146000\n }\n },\n count: 1,\n children: [\n {\n info: {\n pyID: 'maclj',\n Role: 'Sales Manager',\n Sales: 146000,\n Manager_MaterializedPath: '/waynb/prind/',\n HireDate: '2016-07-29',\n Manager: 'prind',\n Name: 'Jennifer MacLeod'\n },\n agg: {\n Sales: {\n sum: 80000\n }\n },\n count: 1\n }\n ]\n },\n {\n info: {\n pyID: 'stonv',\n Role: 'Sales Director',\n Sales: 551000,\n Manager_MaterializedPath: '/waynb/',\n HireDate: '2012-03-03',\n Manager: 'waynb',\n Name: 'Victor Stone'\n },\n agg: {\n Sales: {\n sum: 194000\n }\n },\n count: 1,\n children: [\n {\n info: {\n pyID: 'greec',\n Role: 'Sales Manager',\n Sales: 194000,\n Manager_MaterializedPath: '/waynb/stonv/',\n HireDate: '2016-06-17',\n Manager: 'stonv',\n Name: 'Claire Greene'\n },\n agg: {\n Sales: {\n sum: 52000\n }\n },\n count: 1\n }\n ]\n }\n ]\n }\n];\n// cSpell:enable\n\nexport const mockFilterExpression = {\n AND: [\n {\n condition: {\n comparator: 'LT',\n lhs: { field: 'pxCreateDateTime' },\n rhs: { value: '2023-11-10T00:00' }\n }\n },\n {\n condition: {\n comparator: 'CONTAINS',\n lhs: { field: 'pxCurrentStageLabel' },\n rhs: { value: 'NEW' }\n }\n }\n ]\n};\n"]}
|
|
1
|
+
{"version":3,"file":"JUnitMocks.js","sourceRoot":"","sources":["../../../Core/Test/JUnitMocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,gCAAgC,CAAC;AAG/E,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB;QACE,IAAI,EAAE,YAAY;QAClB,OAAO,EAAE,kEAAkE;QAC3E,mBAAmB,EAAE,KAAK;QAC1B,aAAa,EAAE,IAAI;QACnB,YAAY,EAAE,KAAK;QACnB,gBAAgB,EAAE,0BAA0B;QAC5C,gBAAgB,EAAE,UAAU;KAC7B;IACD;QACE,IAAI,EAAE,YAAY;QAClB,OAAO,EAAE,wDAAwD;QACjE,mBAAmB,EAAE,UAAU;QAC/B,aAAa,EAAE,IAAI;QACnB,YAAY,EAAE,mBAAmB;QACjC,gBAAgB,EAAE,0BAA0B;QAC5C,gBAAgB,EAAE,UAAU;KAC7B;IACD;QACE,IAAI,EAAE,YAAY;QAClB,OAAO,EAAE,qCAAqC;QAC9C,mBAAmB,EAAE,OAAO;QAC5B,aAAa,EAAE,IAAI;QACnB,YAAY,EAAE,oBAAoB;QAClC,gBAAgB,EAAE,0BAA0B;QAC5C,gBAAgB,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TEMPLATES } from 'pega-repeating-structures-core';\nimport type { RsCoreTypes } from 'pega-repeating-structures-core';\n\nexport const dataMock = [\n {\n pyID: 'BUG-199277',\n pyLabel: 'MFS: Mobile: Operator icon doesn’t appear in Case Manager Portal',\n pxCurrentStageLabel: 'New',\n pxUrgencyWork: '15',\n pyStatusWork: 'New',\n pxCreateDateTime: '2020-04-25T12:20:29.273Z',\n ProductVersionID: 'RLS-5657'\n },\n {\n pyID: 'BUG-184789',\n pyLabel: 'Layout Group configured as tab shows both menu and tab',\n pxCurrentStageLabel: 'Rejected',\n pxUrgencyWork: '45',\n pyStatusWork: 'Resolved-Rejected',\n pxCreateDateTime: '2020-04-26T12:20:29.273Z',\n ProductVersionID: 'RLS-5658'\n },\n {\n pyID: 'BUG-168038',\n pyLabel: 'Show Message on unsupported browser',\n pxCurrentStageLabel: 'Fixed',\n pxUrgencyWork: '85',\n pyStatusWork: 'Resolved-Completed',\n pxCreateDateTime: '2020-01-25T12:20:29.273Z',\n ProductVersionID: 'RLS-5157'\n },\n {\n pyID: 'BUG-161608',\n pyLabel: 'UI Kit : Stages in CM portal not responsive with',\n pxCurrentStageLabel: 'Rejected',\n pxUrgencyWork: '15',\n pyStatusWork: 'Resolved-Rejected',\n pxCreateDateTime: '2019-04-25T12:20:29.273Z',\n ProductVersionID: 'RLS-4657'\n },\n {\n pyID: 'BUG-161604',\n pyLabel: 'UI Kit is not added for new applications built on existing implementation',\n pxCurrentStageLabel: 'Fixing',\n pxUrgencyWork: '45',\n pyStatusWork: 'Open-InProgress',\n pxCreateDateTime: '2020-09-25T12:20:29.273Z',\n ProductVersionID: 'RLS-3657'\n },\n {\n pyID: 'BUG-168099',\n pyLabel: 'Show Message on unsupported browser',\n pxCurrentStageLabel: 'Fixed',\n pxUrgencyWork: '90',\n pyStatusWork: 'Resolved-Completed',\n pxCreateDateTime: '2010-04-25T12:20:29.273Z',\n ProductVersionID: 'RLS-2657'\n },\n {\n pyID: 'BUG-161638',\n pyLabel: 'UI Kit : Stages in CM portal not responsive with',\n pxCurrentStageLabel: 'Rejected',\n pxUrgencyWork: '85',\n pyStatusWork: 'Resolved-Rejected',\n pxCreateDateTime: '2020-04-25T12:10:29.273Z',\n ProductVersionID: 'RLS-1657'\n },\n {\n pyID: 'BUG-161684',\n pyLabel: 'UI Kit is not added for new applications built on existing implementation',\n pxCurrentStageLabel: 'Fixing',\n pxUrgencyWork: '15',\n pyStatusWork: 'Open-InProgress',\n pxCreateDateTime: '2020-04-25T12:20:28.273Z',\n ProductVersionID: 'RLS-557'\n }\n];\n\nexport const fieldDefsMock = [\n {\n type: 'number',\n name: 'pyIndex',\n label: 'Sl.No.',\n width: 50,\n id: 'A', // Don't change this\n minWidth: 40,\n resize: true,\n show: true,\n sort: true\n },\n {\n type: 'text',\n name: 'pyID',\n label: 'ID',\n width: 150,\n id: '2',\n resize: true,\n show: true,\n sort: true\n },\n {\n type: 'text',\n name: 'pyLabel',\n label: 'Name',\n width: 400,\n id: '3',\n resize: true,\n show: true,\n sort: true\n },\n {\n type: 'number',\n name: 'pxUrgencyWork',\n label: 'Priority',\n width: 300,\n id: 'D',\n resize: true,\n show: true,\n category: [{ label: 'Update Operator' }],\n showCategoryInHeaderLabel: true\n },\n {\n type: 'date',\n name: 'pxCreateDateTime',\n label: 'Created on',\n width: 400,\n id: '5',\n filter: true,\n show: true\n },\n {\n type: 'text',\n name: 'ProductVersionID',\n label: 'Release',\n width: 100,\n id: '7',\n show: true\n },\n {\n type: 'text',\n name: 'pxCurrentStageLabel',\n label: 'Status',\n width: 100,\n id: 'F',\n resize: true,\n filter: true,\n show: true\n }\n];\n\nconst mockDataRow = {\n pyID: 1,\n pyLabel: 'Testing'\n};\n\nexport const mockRow = {\n getContext: () => {\n return {\n getValue: () => {\n return mockDataRow;\n }\n };\n }\n};\n\nexport const emptyMockRow = {\n getContext: () => {\n return {\n getValue: () => {\n return null;\n }\n };\n }\n};\n\nexport const meta = {\n title: '<>mock title<>',\n icon: 'picture',\n template: REPEATING_STRUCTURE_TEMPLATES.TABLE,\n personalization: true,\n fieldDefs: fieldDefsMock,\n locale: 'en-US',\n timezone: 'America/New_York',\n height: { height: 0, minHeight: 400 },\n comparatorMap: {},\n typeMap: {},\n sortOrder: ['asc', 'desc', null],\n toggleFieldVisibility: true,\n grouping: true,\n dateFunctions: {\n // TODO: Enable HOURS\n DATE_TIME: [\n 'YEARS',\n 'QUARTERS',\n 'MONTHS',\n 'WEEKS',\n 'DAYS',\n 'MONTHS_OF_YEAR',\n 'DAYS_OF_MONTH',\n 'DAYS_OF_WEEK'\n ],\n DATE_ONLY: [\n 'YEARS',\n 'QUARTERS',\n 'MONTHS',\n 'WEEKS',\n 'MONTHS_OF_YEAR',\n 'DAYS_OF_MONTH',\n 'DAYS_OF_WEEK'\n ]\n },\n aggregateOptions: {\n number: ['numberAggregateFn1', 'numberAggregateFn2'],\n currency: ['currencyAggregateFn1', 'currencyAggregateFn2']\n },\n expandGroups: true,\n dynamicFieldTemplates: [\n {\n name: 'Comma separated',\n value: 'comma',\n selected: true\n },\n {\n name: 'Space separated',\n value: 'space'\n },\n {\n name: 'Multi line',\n value: 'multiline'\n }\n ],\n displayDensity: [],\n headerBar: true,\n isPreset: true,\n id: 'nonPersonalizationViewKey',\n displayFeatures: {\n filter: true,\n grouping: true,\n sort: true\n }\n};\n\nconst state = {\n filteredFields: [],\n filterExpression: null,\n customFields: [],\n personalization: {\n active: 'nonPersonalizationViewKey',\n allPersonalizations: {\n nonPersonalizationViewKey: {\n name: 'Initial view',\n template: REPEATING_STRUCTURE_TEMPLATES.TABLE,\n isPreset: true\n }\n }\n },\n search: {\n query: 'search.query'\n },\n refresh: false,\n selectedHeightOption: 'selectedHeightOption',\n paginationOptions: {},\n showHeaderIcons: true,\n responsive: { sm: true }\n};\n\nconst apiContext = {\n fetchUniqueColValues: () => {\n return Promise.resolve([]);\n },\n fetchGroupedInfo: () => {\n return Promise.resolve([]);\n }\n};\n\nconst domContainer = document.createElement('div');\ndomContainer.setAttribute('data-testid', 'table-dom-container');\n// Attaching the domContainer to body to make it work with RTL specially in case of portals\ndocument.body.appendChild(domContainer);\ndomContainer.getBoundingClientRect = () => {\n return { top: 10, left: 10, bottom: 10, right: 10 } as DOMRect;\n};\n\nexport const instanceMock = {\n externalStatePassed: false,\n presets: [],\n view: {\n meta,\n state,\n formatters: {\n Integer: (value: number) => {\n return value;\n }\n },\n setProp: function setProp(p: any, value: any) {\n // @ts-expect-error\n this[p] = value;\n },\n setDomContainer: () => {},\n getDomContainer: () => domContainer,\n type: {\n onPaginate: () => {},\n applyActivePersonalization: () => {},\n applySorting: () => {},\n applySearch: () => {}\n },\n getComponent: () => {},\n putVirtualizeElement: () => {},\n rowHeight: 40,\n rowHeightClass: '',\n setScrollNode: () => {},\n bodyHeight: 400,\n totalItemCount: undefined,\n columns: meta.fieldDefs.map(field => ({\n field,\n parent: {},\n label: field.label,\n setExecutionContext: () => {},\n getRenderingEngineProps: () => {\n return {\n column: {\n ...field,\n getExecutionContext: () => {},\n getContext: () => {},\n isCellInEditMode: () => {}\n },\n context: { getField: () => ({ type: undefined }) }\n };\n },\n isCellInEditMode: () => false,\n getUIProps: () => ({\n classList: 'some-class'\n }),\n getContext: () => ({\n getField: () => field,\n getFormattedValue: () => null\n }),\n getExecutionContext: () => {},\n style: {},\n get isAutoSizable(): boolean | undefined {\n // @ts-expect-error\n return this.field.resize && !this.hidden && this.cellRenderer !== 'RichText';\n }\n })),\n toolBarOptions: [],\n data: dataMock,\n domContainer,\n getContext() {\n return { getRequiredDef: () => undefined, getMeta: () => meta };\n },\n shouldDisplayFeature: () => true\n } as unknown as RsCoreTypes.View & {\n columns: NonNullable<RsCoreTypes.View['columns']>;\n meta: RsCoreTypes.Meta & { title: NonNullable<RsCoreTypes.Meta['title']> };\n },\n getState() {\n return this.view.state;\n },\n dispatch: () => {},\n apiContext,\n subscribe: () => {}\n};\n\ninstanceMock.view.columns.forEach(column => {\n // @ts-expect-error\n column.parent = instanceMock.view;\n column.getExecutionContext = (() => ({\n getValue: () => null,\n getParentContext: () => instanceMock.view\n })) as unknown as RsCoreTypes.Row['getContext'];\n});\nexport const groupsMock = [\n { columnId: 'D', order: 'asc', level: 0 },\n { columnId: 'F', order: 'asc', level: 1 }\n];\n\nexport const groupingInfoMock = [\n {\n name: 15,\n children: [\n { name: 'New', count: 1 },\n { name: 'Rejected', count: 1 },\n { name: 'Fixing', count: 1 }\n ]\n },\n {\n name: 45,\n children: [\n { name: 'Fixing', count: 1 },\n { name: 'Rejected', count: 20 }\n ]\n },\n {\n name: 85,\n children: [\n { name: 'Fixed', count: 1 },\n { name: 'Rejected', count: 1 }\n ]\n },\n {\n name: 90,\n children: [{ name: 'Fixed', count: 1 }]\n }\n];\n\nexport const hierarchicalGroupsMock = {\n parentId: 'ParentAccountID',\n targetId: 'pyID',\n materializedPathId: 'ParentAccountMaterializedPath',\n sortById: 'Name',\n mode: 'Hierarchical'\n};\n\n// cSpell:disable\nexport const hierarchicalGroupingInfoMock = [\n {\n info: {\n pyID: 'waynb',\n Role: 'VP Sales',\n Sales: 1230000,\n HireDate: '2010-05-01',\n ParentAccountMaterializedPath: ['/', '/waynb', '/waynb/'],\n Name: 'Bruce Wayne',\n ParentAccountID: ''\n },\n agg: {\n Sales: {\n sum: 1996000\n }\n },\n count: 4,\n children: [\n {\n info: {\n pyID: 'curra',\n\n Role: 'Sales Director',\n Sales: 409000,\n 'Parent_account:Sales': 1230000,\n\n HireDate: '2012-06-12',\n 'Parent_account:pyID': 'waynb',\n 'Parent_account:Role': 'VP Sales',\n\n ParentAccountMaterializedPath: ['/', '/waynb', '/waynb/curra', '/waynb/curra/'],\n 'Parent_account:Name': 'Bruce Wayne',\n 'Parent_account:HireDate': '2010-05-01',\n\n Name: 'Arthur Curry',\n ParentAccountID: 'waynb'\n },\n agg: {\n Sales: {\n sum: 354000\n }\n },\n count: 2,\n children: [\n {\n info: {\n pyID: 'reesa',\n\n Role: 'Sales Manager',\n Sales: 254000,\n 'Parent_account:Sales': 409000,\n HireDate: '2016-01-18',\n 'Parent_account:pyID': 'curra',\n 'Parent_account:Role': 'Sales Director',\n ParentAccountMaterializedPath: [\n '/',\n '/waynb',\n '/waynb/curra',\n '/waynb/curra/reesa',\n '/waynb/curra/reesa/'\n ],\n 'Parent_account:Name': 'Arthur Curry',\n 'Parent_account:HireDate': '2012-06-12',\n Name: 'Amanda Rees',\n ParentAccountID: 'curra'\n },\n agg: {\n Sales: {\n sum: 77000\n }\n },\n count: 1\n },\n {\n info: {\n pyID: 'turnd',\n Role: 'Sales Manager',\n Sales: 100000,\n 'Parent_account:Sales': 409000,\n HireDate: '2015-05-13',\n 'Parent_account:pyID': 'curra',\n 'Parent_account:Role': 'Sales Director',\n ParentAccountMaterializedPath: [\n '/',\n '/waynb',\n '/waynb/curra',\n '/waynb/curra/turnd',\n '/waynb/curra/turnd/'\n ],\n 'Parent_account:Name': 'Arthur Curry',\n 'Parent_account:HireDate': '2012-06-12',\n Name: 'Diana Turner',\n ParentAccountID: 'curra'\n },\n agg: {},\n count: 0\n }\n ]\n },\n {\n info: {\n pyID: 'alleb',\n Role: 'Sales Director',\n Sales: 583000,\n Manager_MaterializedPath: '/waynb/',\n HireDate: '2012-06-30',\n Manager: 'waynb',\n Name: 'Barry Allen'\n },\n agg: {\n Sales: {\n sum: 102000\n }\n },\n count: 1,\n children: [\n {\n info: {\n pyID: 'ellil',\n Role: 'Sales Manager',\n Sales: 102000,\n Manager_MaterializedPath: '/waynb/alleb/',\n HireDate: '2017-09-19',\n Manager: 'alleb',\n Name: 'Lisa Ellison'\n },\n agg: {\n Sales: {\n sum: 57000\n }\n },\n count: 2\n }\n ]\n },\n {\n info: {\n pyID: 'prind',\n Role: 'Sales Director',\n Sales: 453000,\n Manager_MaterializedPath: '/waynb/',\n HireDate: '2010-09-30',\n Manager: 'waynb',\n Name: 'Diana Prince'\n },\n agg: {\n Sales: {\n sum: 146000\n }\n },\n count: 1,\n children: [\n {\n info: {\n pyID: 'maclj',\n Role: 'Sales Manager',\n Sales: 146000,\n Manager_MaterializedPath: '/waynb/prind/',\n HireDate: '2016-07-29',\n Manager: 'prind',\n Name: 'Jennifer MacLeod'\n },\n agg: {\n Sales: {\n sum: 80000\n }\n },\n count: 1\n }\n ]\n },\n {\n info: {\n pyID: 'stonv',\n Role: 'Sales Director',\n Sales: 551000,\n Manager_MaterializedPath: '/waynb/',\n HireDate: '2012-03-03',\n Manager: 'waynb',\n Name: 'Victor Stone'\n },\n agg: {\n Sales: {\n sum: 194000\n }\n },\n count: 1,\n children: [\n {\n info: {\n pyID: 'greec',\n Role: 'Sales Manager',\n Sales: 194000,\n Manager_MaterializedPath: '/waynb/stonv/',\n HireDate: '2016-06-17',\n Manager: 'stonv',\n Name: 'Claire Greene'\n },\n agg: {\n Sales: {\n sum: 52000\n }\n },\n count: 1\n }\n ]\n }\n ]\n }\n];\n// cSpell:enable\n\nexport const mockFilterExpression = {\n AND: [\n {\n condition: {\n comparator: 'LT',\n lhs: { field: 'pxCreateDateTime' },\n rhs: { value: '2023-11-10T00:00' }\n }\n },\n {\n condition: {\n comparator: 'CONTAINS',\n lhs: { field: 'pxCurrentStageLabel' },\n rhs: { value: 'NEW' }\n }\n }\n ]\n};\n"]}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { IconName } from '@pega/cosmos-react-core';
|
|
2
|
+
import { type RsCoreTypes } from 'pega-repeating-structures-core';
|
|
2
3
|
import type { RSTypes } from '../../types';
|
|
3
4
|
/**
|
|
4
5
|
* Performs a deep comparison between two values to determine if they are equivalent.
|
|
@@ -16,4 +17,14 @@ export declare const allowToggle: (visibleColumns: string | any[]) => boolean;
|
|
|
16
17
|
export declare const getFieldIcon: (type: RSTypes.FieldDef["type"]) => IconName;
|
|
17
18
|
export declare function isAccessibleValue(value: any): boolean;
|
|
18
19
|
export declare const isRowReorderFieldEnabled: (meta: RSTypes.Meta) => boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Indicates if any of the filters (filterExpression, searchText, externalFilters) is applied on the view.
|
|
22
|
+
* @param view View object
|
|
23
|
+
* @returns true if any filter is applied, false otherwise.
|
|
24
|
+
*/
|
|
25
|
+
export declare const isFilterApplied: ({ filterExpression, searchText, externalState }: {
|
|
26
|
+
filterExpression: RsCoreTypes.View["state"]["filterExpression"];
|
|
27
|
+
searchText: RsCoreTypes.View["state"]["searchText"];
|
|
28
|
+
externalState: RsCoreTypes.View["state"]["externalState"];
|
|
29
|
+
}, externalFilters: RsCoreTypes.Meta["externalFilters"]) => boolean;
|
|
19
30
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../Core/Utils/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../Core/Utils/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAa,KAAK,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C;;;GAGG;AACH,wBAAgB,SAAS,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,WAEvC;AAED,wBAAgB,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC,CAcxC;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,GAAG,GAAG,EAAE,GAAG,KAAK,IAAI,IAE1C,GAAG,MAAM,GAAG,UASnC;AAED,wBAAgB,UAAU,CAAC,GAAG,EAAE,GAAG,WAElC;AAED,wBAAgB,OAAO,CAAC,GAAG,EAAE,GAAG,gBAE/B;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,GAAG,WAEhC;AAGD,wBAAgB,eAAe,CAAC,GAAG,IAAI,EAAE,GAAG,OAkB3C;AAED,wBAAgB,OAAO,CAAC,GAAG,IAAI,EAAE,CAAC,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC,EAAE,GAAG,MAAM,CAE/E;AAED,eAAO,MAAM,WAAW,GAAI,gBAAgB,MAAM,GAAG,GAAG,EAAE,YAEzD,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,MAAM,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAG,QAmB7D,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,GAAG,WAE3C;AAGD,eAAO,MAAM,wBAAwB,GAAI,MAAM,OAAO,CAAC,IAAI,KAAG,OAE7D,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,eAAe,GAC1B,iDAIG;IACD,gBAAgB,EAAE,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,kBAAkB,CAAC,CAAC;IAChE,UAAU,EAAE,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,YAAY,CAAC,CAAC;IACpD,aAAa,EAAE,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,eAAe,CAAC,CAAC;CAC3D,EACD,iBAAiB,WAAW,CAAC,IAAI,CAAC,iBAAiB,CAAC,KACnD,OAOF,CAAC"}
|
package/lib/Core/Utils/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import fastDeepEqual from 'fast-deep-equal/es6';
|
|
2
|
+
import { FieldType } from 'pega-repeating-structures-core';
|
|
2
3
|
/**
|
|
3
4
|
* Performs a deep comparison between two values to determine if they are equivalent.
|
|
4
5
|
* A wrapper on fast-deep-equal
|
|
@@ -67,18 +68,20 @@ export const allowToggle = (visibleColumns) => {
|
|
|
67
68
|
};
|
|
68
69
|
export const getFieldIcon = (type) => {
|
|
69
70
|
switch (type) {
|
|
70
|
-
case
|
|
71
|
+
case FieldType.NUMBER:
|
|
71
72
|
return 'dataviz-numeric-field';
|
|
72
|
-
case
|
|
73
|
+
case FieldType.BOOLEAN:
|
|
73
74
|
return 'circle-mixed-left';
|
|
74
|
-
case
|
|
75
|
-
case
|
|
76
|
-
case
|
|
75
|
+
case FieldType.DATE_TIME:
|
|
76
|
+
case FieldType.DATE:
|
|
77
|
+
case FieldType.TIME:
|
|
77
78
|
return 'dataviz-datetime-field';
|
|
78
|
-
|
|
79
|
+
// TODO: FieldType.OBJECT should have its own icon to represent it as a complex type instead of custom.
|
|
80
|
+
case FieldType.CUSTOM:
|
|
81
|
+
case FieldType.OBJECT:
|
|
79
82
|
return 'distribute-item-center';
|
|
80
|
-
case
|
|
81
|
-
case
|
|
83
|
+
case FieldType.URL:
|
|
84
|
+
case FieldType.TEXT:
|
|
82
85
|
default:
|
|
83
86
|
return 'dataviz-string-field';
|
|
84
87
|
}
|
|
@@ -90,4 +93,15 @@ export function isAccessibleValue(value) {
|
|
|
90
93
|
export const isRowReorderFieldEnabled = (meta) => {
|
|
91
94
|
return meta.dragHandle || !!meta.rowReorderField;
|
|
92
95
|
};
|
|
96
|
+
/**
|
|
97
|
+
* Indicates if any of the filters (filterExpression, searchText, externalFilters) is applied on the view.
|
|
98
|
+
* @param view View object
|
|
99
|
+
* @returns true if any filter is applied, false otherwise.
|
|
100
|
+
*/
|
|
101
|
+
export const isFilterApplied = ({ filterExpression, searchText, externalState }, externalFilters) => {
|
|
102
|
+
const isExternalFiltersExist = externalFilters &&
|
|
103
|
+
externalState?.[externalFilters] &&
|
|
104
|
+
Object.keys(externalState[externalFilters]).length > 0;
|
|
105
|
+
return Boolean(filterExpression || searchText || isExternalFiltersExist);
|
|
106
|
+
};
|
|
93
107
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../Core/Utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.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EAAsE;AACtE,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,IAAkB,EAAW,EAAE;IACtE,OAAO,IAAI,CAAC,UAAU,IAAI,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC;AACnD,CAAC,CAAC;AAEF;;;;GAIG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAC7B,EACE,gBAAgB,EAChB,UAAU,EACV,aAAa,EAKd,EACD,eAAoD,EAC3C,EAAE;IACX,MAAM,sBAAsB,GAC1B,eAAe;QACf,aAAa,EAAE,CAAC,eAAe,CAAC;QAChC,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,eAAe,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC;IAEzD,OAAO,OAAO,CAAC,gBAAgB,IAAI,UAAU,IAAI,sBAAsB,CAAC,CAAC;AAC3E,CAAC,CAAC","sourcesContent":["import fastDeepEqual from 'fast-deep-equal/es6';\n\nimport type { IconName } from '@pega/cosmos-react-core';\nimport { FieldType, type RsCoreTypes } from 'pega-repeating-structures-core';\n\nimport type { RSTypes } from '../../types';\n\n/**\n * Performs a deep comparison between two values to determine if they are equivalent.\n * A wrapper on fast-deep-equal\n */\nexport function deepEqual(x: any, y: any) {\n return fastDeepEqual(x, y);\n}\n\nexport function deepCopy<T>(oldObj: T): T {\n let newObj: any = oldObj;\n\n if (oldObj && typeof oldObj === 'object') {\n newObj = Array.isArray(oldObj) ? [] : ({} as T);\n\n Object.keys(oldObj).forEach(key => {\n if (Object.hasOwn(oldObj, key)) {\n newObj[key] = deepCopy(oldObj[key as keyof T]);\n }\n });\n }\n\n return newObj;\n}\n\nexport function debounced(delay: number, fn: (...arg: any) => void) {\n let timerId: any;\n return function inner(...args: any) {\n if (timerId) {\n clearTimeout(timerId);\n }\n timerId = setTimeout(() => {\n fn(...args);\n timerId = null;\n }, delay);\n };\n}\n\nexport function isFunction(obj: any) {\n return typeof obj === 'function';\n}\n\nexport function isArray(obj: any) {\n return Array.isArray(obj);\n}\n\nexport function isObject(obj: any) {\n return obj === Object(obj) && !(isFunction(obj) || isArray(obj));\n}\n\n// Concat CSS classes\nexport function createClassName(...args: any) {\n const classes = args.reduce((arr: [], arg: any) => {\n let val;\n\n if (isArray(arg)) {\n val = createClassName(...arg);\n } else if (typeof arg === 'string' && /\\S/.test(arg)) {\n val = arg.replace(/ \\s+/g, ' ').trim();\n } else if (isFunction(arg)) {\n val = createClassName(arg());\n } else if (isObject(arg)) {\n val = Object.keys(arg).filter(key => !!arg[key] && key);\n }\n\n return val ? arr.concat(val) : arr;\n }, []);\n\n return classes.length ? classes.join(' ') : undefined;\n}\n\nexport function keyFrom(...args: (string | number | null | undefined)[]): string {\n return args.map(val => `${val}`).join('-');\n}\n\nexport const allowToggle = (visibleColumns: string | any[]) => {\n return !(visibleColumns.length === 1);\n};\n\nexport const getFieldIcon = (type: RSTypes.FieldDef['type']): IconName => {\n switch (type) {\n case FieldType.NUMBER:\n return 'dataviz-numeric-field';\n case FieldType.BOOLEAN:\n return 'circle-mixed-left';\n case FieldType.DATE_TIME:\n case FieldType.DATE:\n case FieldType.TIME:\n return 'dataviz-datetime-field';\n // TODO: FieldType.OBJECT should have its own icon to represent it as a complex type instead of custom.\n case FieldType.CUSTOM:\n case FieldType.OBJECT:\n return 'distribute-item-center';\n case FieldType.URL:\n case FieldType.TEXT:\n default:\n return 'dataviz-string-field';\n }\n};\n\nexport function isAccessibleValue(value: any) {\n return value !== null && value !== undefined && value !== '––';\n}\n\n// TODO: temporary method, till meta.dragHandle is completely removed.\nexport const isRowReorderFieldEnabled = (meta: RSTypes.Meta): boolean => {\n return meta.dragHandle || !!meta.rowReorderField;\n};\n\n/**\n * Indicates if any of the filters (filterExpression, searchText, externalFilters) is applied on the view.\n * @param view View object\n * @returns true if any filter is applied, false otherwise.\n */\nexport const isFilterApplied = (\n {\n filterExpression,\n searchText,\n externalState\n }: {\n filterExpression: RsCoreTypes.View['state']['filterExpression'];\n searchText: RsCoreTypes.View['state']['searchText'];\n externalState: RsCoreTypes.View['state']['externalState'];\n },\n externalFilters: RsCoreTypes.Meta['externalFilters']\n): boolean => {\n const isExternalFiltersExist =\n externalFilters &&\n externalState?.[externalFilters] &&\n Object.keys(externalState[externalFilters]).length > 0;\n\n return Boolean(filterExpression || searchText || isExternalFiltersExist);\n};\n"]}
|
|
@@ -2,6 +2,6 @@ import type { RsCoreTypes } from 'pega-repeating-structures-core';
|
|
|
2
2
|
export declare const generateRSHeightStyles: ({ view, isFullscreen }: {
|
|
3
3
|
view: RsCoreTypes.View;
|
|
4
4
|
isFullscreen: boolean;
|
|
5
|
-
}) => import("styled-components").
|
|
6
|
-
export declare const generateRSDataContainerHeightStyles: () => import("styled-components").
|
|
5
|
+
}) => import("styled-components").RuleSet<object>;
|
|
6
|
+
export declare const generateRSDataContainerHeightStyles: () => import("styled-components").RuleSet<object>;
|
|
7
7
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../Core/Utils/styles.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAgElE,eAAO,MAAM,sBAAsB,GAAI,wBAGpC;IACD,IAAI,EAAE,WAAW,CAAC,IAAI,CAAC;IACvB,YAAY,EAAE,OAAO,CAAC;CACvB,
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../Core/Utils/styles.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAgElE,eAAO,MAAM,sBAAsB,GAAI,wBAGpC;IACD,IAAI,EAAE,WAAW,CAAC,IAAI,CAAC;IACvB,YAAY,EAAE,OAAO,CAAC;CACvB,gDAUA,CAAC;AAGF,eAAO,MAAM,mCAAmC,mDAM/C,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { GalleryCardProps } from '../Gallery.types';
|
|
2
|
+
declare const GalleryCard: import("react").MemoExoticComponent<({ headerColumn, row, meta, visibleColumns }: GalleryCardProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
|
+
export default GalleryCard;
|
|
4
|
+
//# sourceMappingURL=GalleryCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GalleryCard.d.ts","sourceRoot":"","sources":["../../../../../Core/Views/Gallery/Components/GalleryCard.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAIzD,QAAA,MAAM,WAAW,oFAAsD,gBAAgB,6CA0BrF,CAAC;AAEH,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { memo } from 'react';
|
|
3
|
+
import { SelectionCardDisplay } from '@pega/cosmos-react-core';
|
|
4
|
+
import { getCardData, getCardUIProps } from '../utils';
|
|
5
|
+
import useRowActions from '../hooks/useRowActions';
|
|
6
|
+
const GalleryCard = memo(({ headerColumn, row, meta, visibleColumns }) => {
|
|
7
|
+
const { label, image, fields, 'aria-label': ariaLabel } = getCardData({
|
|
8
|
+
row,
|
|
9
|
+
visibleColumns,
|
|
10
|
+
meta,
|
|
11
|
+
headerColumn
|
|
12
|
+
});
|
|
13
|
+
const uiProps = getCardUIProps({ row });
|
|
14
|
+
const fetchActionsCb = useRowActions({ row, meta });
|
|
15
|
+
return (_jsx(SelectionCardDisplay, { "aria-label": ariaLabel, label: label, image: image, fields: fields, actions: fetchActionsCb, ...uiProps }));
|
|
16
|
+
});
|
|
17
|
+
export default GalleryCard;
|
|
18
|
+
//# sourceMappingURL=GalleryCard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GalleryCard.js","sourceRoot":"","sources":["../../../../../Core/Views/Gallery/Components/GalleryCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAE7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAG/D,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AACvD,OAAO,aAAa,MAAM,wBAAwB,CAAC;AAEnD,MAAM,WAAW,GAAG,IAAI,CAAC,CAAC,EAAE,YAAY,EAAE,GAAG,EAAE,IAAI,EAAE,cAAc,EAAoB,EAAE,EAAE;IACzF,MAAM,EACJ,KAAK,EACL,KAAK,EACL,MAAM,EACN,YAAY,EAAE,SAAS,EACxB,GAAG,WAAW,CAAC;QACd,GAAG;QACH,cAAc;QACd,IAAI;QACJ,YAAY;KACb,CAAC,CAAC;IAEH,MAAM,OAAO,GAAG,cAAc,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC;IACxC,MAAM,cAAc,GAAG,aAAa,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC;IAEpD,OAAO,CACL,KAAC,oBAAoB,kBACP,SAAS,EACrB,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,cAAc,KACnB,OAAO,GACX,CACH,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,eAAe,WAAW,CAAC","sourcesContent":["import { memo } from 'react';\n\nimport { SelectionCardDisplay } from '@pega/cosmos-react-core';\n\nimport type { GalleryCardProps } from '../Gallery.types';\nimport { getCardData, getCardUIProps } from '../utils';\nimport useRowActions from '../hooks/useRowActions';\n\nconst GalleryCard = memo(({ headerColumn, row, meta, visibleColumns }: GalleryCardProps) => {\n const {\n label,\n image,\n fields,\n 'aria-label': ariaLabel\n } = getCardData({\n row,\n visibleColumns,\n meta,\n headerColumn\n });\n\n const uiProps = getCardUIProps({ row });\n const fetchActionsCb = useRowActions({ row, meta });\n\n return (\n <SelectionCardDisplay\n aria-label={ariaLabel}\n label={label}\n image={image}\n fields={fields}\n actions={fetchActionsCb}\n {...uiProps}\n />\n );\n});\n\nexport default GalleryCard;\n"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { RsCoreTypes } from 'pega-repeating-structures-core';
|
|
2
|
+
import type { GalleryCardProps } from '../Gallery.types';
|
|
3
|
+
interface GalleryCheckboxCardProps extends GalleryCardProps {
|
|
4
|
+
selectionColumn: RsCoreTypes.Column;
|
|
5
|
+
}
|
|
6
|
+
declare const GalleryCheckboxCard: import("react").MemoExoticComponent<({ headerColumn, selectionColumn, row, meta, visibleColumns }: GalleryCheckboxCardProps) => import("react/jsx-runtime").JSX.Element>;
|
|
7
|
+
export default GalleryCheckboxCard;
|
|
8
|
+
//# sourceMappingURL=GalleryCheckboxCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GalleryCheckboxCard.d.ts","sourceRoot":"","sources":["../../../../../Core/Views/Gallery/Components/GalleryCheckboxCard.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAGlE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAIzD,UAAU,wBAAyB,SAAQ,gBAAgB;IACzD,eAAe,EAAE,WAAW,CAAC,MAAM,CAAC;CACrC;AAED,QAAA,MAAM,mBAAmB,qGACwC,wBAAwB,6CA2CxF,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { memo, useCallback } from 'react';
|
|
3
|
+
import { CheckboxCard } from '@pega/cosmos-react-core';
|
|
4
|
+
import { getCardData, getCardUIProps } from '../utils';
|
|
5
|
+
import useRowActions from '../hooks/useRowActions';
|
|
6
|
+
const GalleryCheckboxCard = memo(({ headerColumn, selectionColumn, row, meta, visibleColumns }) => {
|
|
7
|
+
const { label, image, fields, 'aria-label': ariaLabel } = getCardData({
|
|
8
|
+
row,
|
|
9
|
+
visibleColumns,
|
|
10
|
+
meta,
|
|
11
|
+
headerColumn
|
|
12
|
+
});
|
|
13
|
+
const uiProps = getCardUIProps({ row });
|
|
14
|
+
const { selectRow, getContext } = row;
|
|
15
|
+
const disableSelectionOnLoad = selectionColumn
|
|
16
|
+
.getContext()
|
|
17
|
+
?.getRsMeta()?.disableSelectionOnLoad;
|
|
18
|
+
// TODO: identify the usecase for column.disableSelection. Keeping it for now to keep the behavior in sync with RowSelectionColumn in table.
|
|
19
|
+
const disableSelection = selectionColumn.disableSelection ?? disableSelectionOnLoad;
|
|
20
|
+
const handleChange = useCallback((event) => selectRow(event.target.checked), [row, selectRow]);
|
|
21
|
+
const fetchActionsCb = useRowActions({ row, meta });
|
|
22
|
+
return (_jsx(CheckboxCard, { "aria-label": ariaLabel, label: label, image: image, fields: fields, onChange: handleChange, checked: getContext()?.$selected, readOnly: disableSelection, ...uiProps, actions: fetchActionsCb }));
|
|
23
|
+
});
|
|
24
|
+
export default GalleryCheckboxCard;
|
|
25
|
+
//# sourceMappingURL=GalleryCheckboxCard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GalleryCheckboxCard.js","sourceRoot":"","sources":["../../../../../Core/Views/Gallery/Components/GalleryCheckboxCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,WAAW,EAAoB,MAAM,OAAO,CAAC;AAG5D,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAGvD,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AACvD,OAAO,aAAa,MAAM,wBAAwB,CAAC;AAMnD,MAAM,mBAAmB,GAAG,IAAI,CAC9B,CAAC,EAAE,YAAY,EAAE,eAAe,EAAE,GAAG,EAAE,IAAI,EAAE,cAAc,EAA4B,EAAE,EAAE;IACzF,MAAM,EACJ,KAAK,EACL,KAAK,EACL,MAAM,EACN,YAAY,EAAE,SAAS,EACxB,GAAG,WAAW,CAAC;QACd,GAAG;QACH,cAAc;QACd,IAAI;QACJ,YAAY;KACb,CAAC,CAAC;IAEH,MAAM,OAAO,GAAG,cAAc,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC;IAExC,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,GAAG,GAAG,CAAC;IACtC,MAAM,sBAAsB,GAAG,eAAe;SAC3C,UAAU,EAAE;QACb,EAAE,SAAS,EAAE,EAAE,sBAAsB,CAAC;IACxC,4IAA4I;IAC5I,MAAM,gBAAgB,GAAG,eAAe,CAAC,gBAAgB,IAAI,sBAAsB,CAAC;IAEpF,MAAM,YAAY,GAAG,WAAW,CAC9B,CAAC,KAAoC,EAAE,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,EACzE,CAAC,GAAG,EAAE,SAAS,CAAC,CACjB,CAAC;IAEF,MAAM,cAAc,GAAG,aAAa,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC;IAEpD,OAAO,CACL,KAAC,YAAY,kBACC,SAAS,EACrB,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,YAAY,EACtB,OAAO,EAAE,UAAU,EAAE,EAAE,SAAS,EAChC,QAAQ,EAAE,gBAAgB,KACtB,OAAO,EACX,OAAO,EAAE,cAAc,GACvB,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,mBAAmB,CAAC","sourcesContent":["import { memo, useCallback, type ChangeEvent } from 'react';\n\nimport type { RsCoreTypes } from 'pega-repeating-structures-core';\nimport { CheckboxCard } from '@pega/cosmos-react-core';\n\nimport type { GalleryCardProps } from '../Gallery.types';\nimport { getCardData, getCardUIProps } from '../utils';\nimport useRowActions from '../hooks/useRowActions';\n\ninterface GalleryCheckboxCardProps extends GalleryCardProps {\n selectionColumn: RsCoreTypes.Column;\n}\n\nconst GalleryCheckboxCard = memo(\n ({ headerColumn, selectionColumn, row, meta, visibleColumns }: GalleryCheckboxCardProps) => {\n const {\n label,\n image,\n fields,\n 'aria-label': ariaLabel\n } = getCardData({\n row,\n visibleColumns,\n meta,\n headerColumn\n });\n\n const uiProps = getCardUIProps({ row });\n\n const { selectRow, getContext } = row;\n const disableSelectionOnLoad = selectionColumn\n .getContext()\n ?.getRsMeta()?.disableSelectionOnLoad;\n // TODO: identify the usecase for column.disableSelection. Keeping it for now to keep the behavior in sync with RowSelectionColumn in table.\n const disableSelection = selectionColumn.disableSelection ?? disableSelectionOnLoad;\n\n const handleChange = useCallback(\n (event: ChangeEvent<HTMLInputElement>) => selectRow(event.target.checked),\n [row, selectRow]\n );\n\n const fetchActionsCb = useRowActions({ row, meta });\n\n return (\n <CheckboxCard\n aria-label={ariaLabel}\n label={label}\n image={image}\n fields={fields}\n onChange={handleChange}\n checked={getContext()?.$selected}\n readOnly={disableSelection}\n {...uiProps}\n actions={fetchActionsCb}\n />\n );\n }\n);\n\nexport default GalleryCheckboxCard;\n"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { RsCoreTypes } from 'pega-repeating-structures-core';
|
|
2
|
+
interface GalleryFieldValueProps {
|
|
3
|
+
column: RsCoreTypes.Column;
|
|
4
|
+
row: RsCoreTypes.Row;
|
|
5
|
+
}
|
|
6
|
+
declare function GalleryFieldValue({ column, row }: GalleryFieldValueProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default GalleryFieldValue;
|
|
8
|
+
//# sourceMappingURL=GalleryFieldValue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GalleryFieldValue.d.ts","sourceRoot":"","sources":["../../../../../Core/Views/Gallery/Components/GalleryFieldValue.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAIlE,UAAU,sBAAsB;IAC9B,MAAM,EAAE,WAAW,CAAC,MAAM,CAAC;IAC3B,GAAG,EAAE,WAAW,CAAC,GAAG,CAAC;CACtB;AAED,iBAAS,iBAAiB,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,EAAE,sBAAsB,2CAIjE;AAED,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import RenderingEngine from '../../../Components/RenderingEngine/RenderCell';
|
|
3
|
+
function GalleryFieldValue({ column, row }) {
|
|
4
|
+
column.setExecutionContext(row);
|
|
5
|
+
return _jsx(RenderingEngine, { ...column.getRenderingEngineProps(), highlighter: true });
|
|
6
|
+
}
|
|
7
|
+
export default GalleryFieldValue;
|
|
8
|
+
//# sourceMappingURL=GalleryFieldValue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GalleryFieldValue.js","sourceRoot":"","sources":["../../../../../Core/Views/Gallery/Components/GalleryFieldValue.tsx"],"names":[],"mappings":";AAEA,OAAO,eAAe,MAAM,gDAAgD,CAAC;AAO7E,SAAS,iBAAiB,CAAC,EAAE,MAAM,EAAE,GAAG,EAA0B;IAChE,MAAM,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAC;IAEhC,OAAO,KAAC,eAAe,OAAK,MAAM,CAAC,uBAAuB,EAAE,EAAE,WAAW,SAAG,CAAC;AAC/E,CAAC;AAED,eAAe,iBAAiB,CAAC","sourcesContent":["import type { RsCoreTypes } from 'pega-repeating-structures-core';\n\nimport RenderingEngine from '../../../Components/RenderingEngine/RenderCell';\n\ninterface GalleryFieldValueProps {\n column: RsCoreTypes.Column;\n row: RsCoreTypes.Row;\n}\n\nfunction GalleryFieldValue({ column, row }: GalleryFieldValueProps) {\n column.setExecutionContext(row);\n\n return <RenderingEngine {...column.getRenderingEngineProps()} highlighter />;\n}\n\nexport default GalleryFieldValue;\n"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { RsCoreTypes } from 'pega-repeating-structures-core';
|
|
2
|
+
type GalleryHeaderProps = {
|
|
3
|
+
headerColumn?: RsCoreTypes.Column;
|
|
4
|
+
row: RsCoreTypes.Row;
|
|
5
|
+
};
|
|
6
|
+
declare function GalleryHeader({ headerColumn, row }: GalleryHeaderProps): import("react/jsx-runtime").JSX.Element | null;
|
|
7
|
+
export default GalleryHeader;
|
|
8
|
+
//# sourceMappingURL=GalleryHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GalleryHeader.d.ts","sourceRoot":"","sources":["../../../../../Core/Views/Gallery/Components/GalleryHeader.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAIlE,KAAK,kBAAkB,GAAG;IACxB,YAAY,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC;IAClC,GAAG,EAAE,WAAW,CAAC,GAAG,CAAC;CACtB,CAAC;AAMF,iBAAS,aAAa,CAAC,EAAE,YAAY,EAAE,GAAG,EAAE,EAAE,kBAAkB,kDAY/D;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
import RenderingEngine from '../../../Components/RenderingEngine/RenderCell';
|
|
4
|
+
const StyledHeaderContainer = styled.div `
|
|
5
|
+
word-break: break-word;
|
|
6
|
+
`;
|
|
7
|
+
function GalleryHeader({ headerColumn, row }) {
|
|
8
|
+
if (!headerColumn) {
|
|
9
|
+
return null;
|
|
10
|
+
}
|
|
11
|
+
headerColumn?.setExecutionContext(row);
|
|
12
|
+
return (_jsx(StyledHeaderContainer, { children: _jsx(RenderingEngine, { ...headerColumn.getRenderingEngineProps() }) }));
|
|
13
|
+
}
|
|
14
|
+
export default GalleryHeader;
|
|
15
|
+
//# sourceMappingURL=GalleryHeader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GalleryHeader.js","sourceRoot":"","sources":["../../../../../Core/Views/Gallery/Components/GalleryHeader.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAIvC,OAAO,eAAe,MAAM,gDAAgD,CAAC;AAO7E,MAAM,qBAAqB,GAAG,MAAM,CAAC,GAAG,CAAA;;CAEvC,CAAC;AAEF,SAAS,aAAa,CAAC,EAAE,YAAY,EAAE,GAAG,EAAsB;IAC9D,IAAI,CAAC,YAAY,EAAE,CAAC;QAClB,OAAO,IAAI,CAAC;IACd,CAAC;IAED,YAAY,EAAE,mBAAmB,CAAC,GAAG,CAAC,CAAC;IAEvC,OAAO,CACL,KAAC,qBAAqB,cACpB,KAAC,eAAe,OAAK,YAAY,CAAC,uBAAuB,EAAE,GAAI,GACzC,CACzB,CAAC;AACJ,CAAC;AAED,eAAe,aAAa,CAAC","sourcesContent":["import styled from 'styled-components';\n\nimport type { RsCoreTypes } from 'pega-repeating-structures-core';\n\nimport RenderingEngine from '../../../Components/RenderingEngine/RenderCell';\n\ntype GalleryHeaderProps = {\n headerColumn?: RsCoreTypes.Column;\n row: RsCoreTypes.Row;\n};\n\nconst StyledHeaderContainer = styled.div`\n word-break: break-word;\n`;\n\nfunction GalleryHeader({ headerColumn, row }: GalleryHeaderProps) {\n if (!headerColumn) {\n return null;\n }\n\n headerColumn?.setExecutionContext(row);\n\n return (\n <StyledHeaderContainer>\n <RenderingEngine {...headerColumn.getRenderingEngineProps()} />\n </StyledHeaderContainer>\n );\n}\n\nexport default GalleryHeader;\n"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { RsCoreTypes } from 'pega-repeating-structures-core';
|
|
2
|
+
export interface GalleryCardProps {
|
|
3
|
+
headerColumn?: RsCoreTypes.Column;
|
|
4
|
+
row: RsCoreTypes.Row;
|
|
5
|
+
meta: RsCoreTypes.Meta;
|
|
6
|
+
visibleColumns: RsCoreTypes.Column[];
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=Gallery.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Gallery.types.d.ts","sourceRoot":"","sources":["../../../../Core/Views/Gallery/Gallery.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAElE,MAAM,WAAW,gBAAgB;IAC/B,YAAY,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC;IAClC,GAAG,EAAE,WAAW,CAAC,GAAG,CAAC;IACrB,IAAI,EAAE,WAAW,CAAC,IAAI,CAAC;IACvB,cAAc,EAAE,WAAW,CAAC,MAAM,EAAE,CAAC;CACtC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Gallery.types.js","sourceRoot":"","sources":["../../../../Core/Views/Gallery/Gallery.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { RsCoreTypes } from 'pega-repeating-structures-core';\n\nexport interface GalleryCardProps {\n headerColumn?: RsCoreTypes.Column;\n row: RsCoreTypes.Row;\n meta: RsCoreTypes.Meta;\n visibleColumns: RsCoreTypes.Column[];\n}\n"]}
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import type { RsCoreTypes } from 'pega-repeating-structures-core';
|
|
3
|
+
interface StyledGalleryContainerProps {
|
|
4
|
+
children?: ReactNode;
|
|
5
|
+
view: RsCoreTypes.View;
|
|
6
|
+
isFullscreen: boolean;
|
|
7
|
+
isInlineImage: boolean;
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const StyledGalleryContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<StyledGalleryContainerProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
|
|
11
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
12
|
+
}, Pick<StyledGalleryContainerProps, "view" | "isFullscreen">>> & string & Omit<import("react").ForwardRefExoticComponent<StyledGalleryContainerProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
|
|
1
13
|
export default StyledGalleryContainer;
|
|
2
|
-
declare const
|
|
14
|
+
export declare const StyledVirtualizeContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
15
|
//# sourceMappingURL=StyledGalleryContainer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StyledGalleryContainer.d.ts","sourceRoot":"","sources":["../../../../Core/Views/Gallery/StyledGalleryContainer.
|
|
1
|
+
{"version":3,"file":"StyledGalleryContainer.d.ts","sourceRoot":"","sources":["../../../../Core/Views/Gallery/StyledGalleryContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAInD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAIlE,UAAU,2BAA2B;IACnC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,IAAI,EAAE,WAAW,CAAC,IAAI,CAAC;IACvB,YAAY,EAAE,OAAO,CAAC;IACtB,aAAa,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,sBAAsB;;sPAqC1B,CAAC;AAEH,eAAe,sBAAsB,CAAC;AAEtC,eAAO,MAAM,yBAAyB,6NAGrC,CAAC"}
|
|
@@ -1,50 +1,40 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef } from 'react';
|
|
3
3
|
import styled, { css } from 'styled-components';
|
|
4
|
-
import {
|
|
5
|
-
|
|
4
|
+
import { StyledSelectionCard } from '@pega/cosmos-react-core/lib/components/SelectionCard/SelectionCard.styles';
|
|
5
|
+
import { generateRSDataContainerHeightStyles, generateRSHeightStyles } from '../../Utils/styles';
|
|
6
|
+
const StyledGalleryContainer = styled(forwardRef((props, ref) => (_jsx("div", { ref: ref, ...props }))))(({ theme, isInlineImage, view, isFullscreen }) => {
|
|
6
7
|
return css `
|
|
7
|
-
|
|
8
|
+
${generateRSHeightStyles({ view, isFullscreen })}
|
|
8
9
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
.icon-ph {
|
|
29
|
-
margin: 0.625rem 0;
|
|
30
|
-
}
|
|
31
|
-
.field-value > li {
|
|
32
|
-
padding-bottom: 0.25rem;
|
|
33
|
-
}
|
|
10
|
+
.grid-container {
|
|
11
|
+
position: absolute;
|
|
12
|
+
display: grid;
|
|
13
|
+
grid-gap: 1rem;
|
|
14
|
+
grid-template-columns: repeat(
|
|
15
|
+
auto-fit,
|
|
16
|
+
minmax(
|
|
17
|
+
min(
|
|
18
|
+
${isInlineImage
|
|
19
|
+
? theme?.base?.['content-width']?.md
|
|
20
|
+
: theme?.base?.['content-width']?.sm},
|
|
21
|
+
100%
|
|
22
|
+
),
|
|
23
|
+
1fr
|
|
24
|
+
)
|
|
25
|
+
);
|
|
26
|
+
width: 100%;
|
|
27
|
+
padding: 0.2rem;
|
|
34
28
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
justify-content: space-evenly;
|
|
29
|
+
${StyledSelectionCard} {
|
|
30
|
+
max-width: 100%;
|
|
38
31
|
}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
.row-container > span {
|
|
42
|
-
transition: transform 0.5s cubic-bezier(0.4, 0.6, 0.1, 1);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/* Gallery view CSS END */
|
|
47
|
-
`;
|
|
32
|
+
}
|
|
33
|
+
`;
|
|
48
34
|
});
|
|
49
35
|
export default StyledGalleryContainer;
|
|
36
|
+
export const StyledVirtualizeContainer = styled.div `
|
|
37
|
+
${generateRSDataContainerHeightStyles};
|
|
38
|
+
position: relative;
|
|
39
|
+
`;
|
|
50
40
|
//# sourceMappingURL=StyledGalleryContainer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StyledGalleryContainer.js","sourceRoot":"","sources":["../../../../Core/Views/Gallery/StyledGalleryContainer.
|
|
1
|
+
{"version":3,"file":"StyledGalleryContainer.js","sourceRoot":"","sources":["../../../../Core/Views/Gallery/StyledGalleryContainer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAkB,MAAM,OAAO,CAAC;AACnD,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,EAAE,mBAAmB,EAAE,MAAM,2EAA2E,CAAC;AAGhH,OAAO,EAAE,mCAAmC,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAUjG,MAAM,sBAAsB,GAAG,MAAM,CACnC,UAAU,CAA8C,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE,CAAC,CACtE,cAAK,GAAG,EAAE,GAAG,KAAM,KAAK,GAAI,CAC7B,CAAC,CACH,CAA6D,CAAC,EAC7D,KAAK,EACL,aAAa,EACb,IAAI,EACJ,YAAY,EACb,EAAE,EAAE;IACH,OAAO,GAAG,CAAA;MACN,sBAAsB,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;;;;;;;;;;cAUtC,aAAa;QACb,CAAC,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;QACpC,CAAC,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;;;;;;;;;QAS1C,mBAAmB;;;;GAIxB,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,eAAe,sBAAsB,CAAC;AAEtC,MAAM,CAAC,MAAM,yBAAyB,GAAG,MAAM,CAAC,GAAG,CAAA;IAC/C,mCAAmC;;CAEtC,CAAC","sourcesContent":["import { forwardRef, type ReactNode } from 'react';\nimport styled, { css } from 'styled-components';\n\nimport { StyledSelectionCard } from '@pega/cosmos-react-core/lib/components/SelectionCard/SelectionCard.styles';\nimport type { RsCoreTypes } from 'pega-repeating-structures-core';\n\nimport { generateRSDataContainerHeightStyles, generateRSHeightStyles } from '../../Utils/styles';\n\ninterface StyledGalleryContainerProps {\n children?: ReactNode;\n view: RsCoreTypes.View;\n isFullscreen: boolean;\n isInlineImage: boolean;\n className?: string;\n}\n\nconst StyledGalleryContainer = styled(\n forwardRef<HTMLDivElement, StyledGalleryContainerProps>((props, ref) => (\n <div ref={ref} {...props} />\n ))\n)<Pick<StyledGalleryContainerProps, 'view' | 'isFullscreen'>>(({\n theme,\n isInlineImage,\n view,\n isFullscreen\n}) => {\n return css`\n ${generateRSHeightStyles({ view, isFullscreen })}\n\n .grid-container {\n position: absolute;\n display: grid;\n grid-gap: 1rem;\n grid-template-columns: repeat(\n auto-fit,\n minmax(\n min(\n ${isInlineImage\n ? theme?.base?.['content-width']?.md\n : theme?.base?.['content-width']?.sm},\n 100%\n ),\n 1fr\n )\n );\n width: 100%;\n padding: 0.2rem;\n\n ${StyledSelectionCard} {\n max-width: 100%;\n }\n }\n `;\n});\n\nexport default StyledGalleryContainer;\n\nexport const StyledVirtualizeContainer = styled.div`\n ${generateRSDataContainerHeightStyles};\n position: relative;\n`;\n"]}
|