@pega/react-sdk-overrides 0.24.4 → 0.242.2
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/lib/designSystemExtension/AlertBanner/AlertBanner.tsx +1 -1
- package/lib/designSystemExtension/Banner/Banner.tsx +1 -1
- package/lib/designSystemExtension/CaseSummaryFields/CaseSummaryFields.css +0 -1
- package/lib/designSystemExtension/CaseSummaryFields/CaseSummaryFields.tsx +11 -2
- package/lib/designSystemExtension/DetailsFields/DetailsFields.tsx +3 -3
- package/lib/designSystemExtension/FieldGroup/FieldGroup.tsx +4 -4
- package/lib/designSystemExtension/FieldGroupList/FieldGroupList.tsx +4 -4
- package/lib/designSystemExtension/FieldValueList/FieldValueList.tsx +3 -3
- package/lib/designSystemExtension/Operator/Operator.tsx +6 -5
- package/lib/designSystemExtension/Pulse/Pulse.tsx +2 -2
- package/lib/designSystemExtension/RichTextEditor/RichTextEditor.tsx +3 -2
- package/lib/designSystemExtension/WssQuickCreate/WssQuickCreate.tsx +1 -1
- package/lib/field/AutoComplete/AutoComplete.tsx +3 -3
- package/lib/field/CancelAlert/CancelAlert.tsx +3 -3
- package/lib/field/Checkbox/Checkbox.tsx +3 -3
- package/lib/field/Currency/Currency.tsx +1 -1
- package/lib/field/Date/Date.tsx +22 -41
- package/lib/field/DateTime/DateTime.tsx +22 -34
- package/lib/field/Decimal/Decimal.tsx +1 -1
- package/lib/field/Dropdown/Dropdown.tsx +2 -2
- package/lib/field/Email/Email.tsx +2 -2
- package/lib/field/Group/Group.tsx +1 -1
- package/lib/field/Integer/Integer.tsx +1 -1
- package/lib/field/Multiselect/Multiselect.tsx +8 -14
- package/lib/field/Percentage/Percentage.tsx +2 -2
- package/lib/field/Phone/Phone.tsx +1 -1
- package/lib/field/RadioButtons/RadioButtons.tsx +2 -2
- package/lib/field/SemanticLink/SemanticLink.tsx +3 -3
- package/lib/field/TextArea/TextArea.tsx +1 -1
- package/lib/field/TextContent/TextContent.tsx +1 -1
- package/lib/field/TextInput/TextInput.tsx +1 -1
- package/lib/field/Time/Time.tsx +19 -15
- package/lib/field/URL/URL.tsx +1 -1
- package/lib/field/UserReference/UserReference.tsx +1 -1
- package/lib/helpers/simpleTableHelpers.ts +1 -1
- package/lib/infra/ActionButtons/ActionButtons.tsx +3 -3
- package/lib/infra/Assignment/Assignment.tsx +9 -5
- package/lib/infra/Containers/FlowContainer/FlowContainer.tsx +8 -9
- package/lib/infra/Containers/ModalViewContainer/ListViewActionButtons/ListViewActionButtons.tsx +2 -2
- package/lib/infra/Containers/ModalViewContainer/ModalViewContainer.tsx +8 -8
- package/lib/infra/Containers/ViewContainer/ViewContainer.tsx +1 -1
- package/lib/infra/DashboardFilter/DashboardFilter.tsx +1 -1
- package/lib/infra/DashboardFilter/filterUtils.tsx +2 -1
- package/lib/infra/DeferLoad/DeferLoad.tsx +2 -2
- package/lib/infra/NavBar/NavBar.tsx +17 -16
- package/lib/infra/RootContainer/RootContainer.tsx +5 -6
- package/lib/infra/Stages/Stages.tsx +4 -4
- package/lib/infra/VerticalTabs/LeftAlignVerticalTabs/LeftAlignVerticalTabs.tsx +4 -3
- package/lib/infra/VerticalTabs/VerticalTabs/VerticalTabs.tsx +2 -2
- package/lib/template/AppShell/AppShell.tsx +21 -2
- package/lib/template/CaseView/CaseView.tsx +5 -5
- package/lib/template/CaseViewActionsMenu/CaseViewActionsMenu.tsx +7 -7
- package/lib/template/Confirmation/Confirmation.tsx +2 -1
- package/lib/template/DataReference/DataReference.tsx +1 -1
- package/lib/template/Details/Details/Details.tsx +1 -1
- package/lib/template/Details/DetailsSubTabs/DetailsSubTabs.tsx +3 -3
- package/lib/template/Details/DetailsThreeColumn/DetailsThreeColumn.tsx +1 -1
- package/lib/template/Details/DetailsTwoColumn/DetailsTwoColumn.tsx +1 -1
- package/lib/template/Details/DynamicTabs/DynamicTabs.tsx +3 -2
- package/lib/template/InlineDashboard/InlineDashboard.tsx +2 -2
- package/lib/template/ListView/ListView.tsx +41 -34
- package/lib/template/NarrowWide/NarrowWideDetails/NarrowWideDetails.tsx +1 -1
- package/lib/template/OneColumn/OneColumn/OneColumn.tsx +2 -2
- package/lib/template/PromotedFilters/PromotedFilters.tsx +1 -1
- package/lib/template/SimpleTable/SimpleTableManual/SimpleTableManual.tsx +29 -25
- package/lib/template/SubTabs/SubTabs.tsx +2 -2
- package/lib/template/TwoColumn/TwoColumn/TwoColumn.tsx +2 -2
- package/lib/template/TwoColumn/TwoColumnTab/TwoColumnTab.tsx +2 -2
- package/lib/template/WideNarrow/WideNarrowDetails/WideNarrowDetails.tsx +1 -1
- package/lib/template/WssNavBar/WssNavBar.tsx +9 -9
- package/lib/widget/AppAnnouncement/AppAnnouncement.tsx +2 -2
- package/lib/widget/Attachment/Attachment.tsx +3 -2
- package/lib/widget/CaseHistory/CaseHistory.tsx +12 -10
- package/lib/widget/FileUtility/ActionButtonsForFileUtil/ActionButtonsForFileUtil.tsx +1 -1
- package/lib/widget/FileUtility/FileUtility/FileUtility.tsx +4 -3
- package/lib/widget/Followers/Followers.tsx +2 -2
- package/lib/widget/SummaryItem/SummaryItem.tsx +3 -2
- package/lib/widget/ToDo/ToDo.tsx +91 -21
- package/package.json +1 -1
|
@@ -4,37 +4,39 @@
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-shadow */
|
|
5
5
|
|
|
6
6
|
import React, { useState, useEffect, useRef } from 'react';
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import
|
|
37
|
-
import
|
|
7
|
+
import { Theme } from '@mui/material/styles';
|
|
8
|
+
import createStyles from '@mui/styles/createStyles';
|
|
9
|
+
import makeStyles from '@mui/styles/makeStyles';
|
|
10
|
+
import Table from '@mui/material/Table';
|
|
11
|
+
import TableBody from '@mui/material/TableBody';
|
|
12
|
+
import TableCell from '@mui/material/TableCell';
|
|
13
|
+
import TableContainer from '@mui/material/TableContainer';
|
|
14
|
+
import TableHead from '@mui/material/TableHead';
|
|
15
|
+
import TablePagination from '@mui/material/TablePagination';
|
|
16
|
+
import TableRow from '@mui/material/TableRow';
|
|
17
|
+
import TableSortLabel from '@mui/material/TableSortLabel';
|
|
18
|
+
import Paper from '@mui/material/Paper';
|
|
19
|
+
import MoreIcon from '@mui/icons-material/MoreVert';
|
|
20
|
+
import FilterListIcon from '@mui/icons-material/FilterList';
|
|
21
|
+
import SubjectIcon from '@mui/icons-material/Subject';
|
|
22
|
+
import SearchIcon from '@mui/icons-material/Search';
|
|
23
|
+
import TextField from '@mui/material/TextField';
|
|
24
|
+
import Grid from '@mui/material/Grid';
|
|
25
|
+
import Menu from '@mui/material/Menu';
|
|
26
|
+
import MenuItem from '@mui/material/MenuItem';
|
|
27
|
+
import Dialog from '@mui/material/Dialog';
|
|
28
|
+
import DialogActions from '@mui/material/DialogActions';
|
|
29
|
+
import DialogContent from '@mui/material/DialogContent';
|
|
30
|
+
import DialogTitle from '@mui/material/DialogTitle';
|
|
31
|
+
import Select from '@mui/material/Select';
|
|
32
|
+
import Button from '@mui/material/Button';
|
|
33
|
+
import Link from '@mui/material/Link';
|
|
34
|
+
import Typography from '@mui/material/Typography';
|
|
35
|
+
import Snackbar from '@mui/material/Snackbar';
|
|
36
|
+
import IconButton from '@mui/material/IconButton';
|
|
37
|
+
import CloseIcon from '@mui/icons-material/Close';
|
|
38
|
+
import { Radio } from '@mui/material';
|
|
39
|
+
import Checkbox from '@mui/material/Checkbox';
|
|
38
40
|
|
|
39
41
|
import { filterData } from '@pega/react-sdk-components/lib/components/helpers/simpleTableHelpers';
|
|
40
42
|
|
|
@@ -670,7 +672,7 @@ export default function ListView(props: ListViewProps) {
|
|
|
670
672
|
}
|
|
671
673
|
}
|
|
672
674
|
|
|
673
|
-
function handleSnackbarClose(event: React.SyntheticEvent |
|
|
675
|
+
function handleSnackbarClose(event: React.SyntheticEvent<any> | Event, reason?: string) {
|
|
674
676
|
if (reason === 'clickaway') {
|
|
675
677
|
return;
|
|
676
678
|
}
|
|
@@ -1047,6 +1049,7 @@ export default function ListView(props: ListViewProps) {
|
|
|
1047
1049
|
onClick={() => {
|
|
1048
1050
|
_listViewClick(row, column);
|
|
1049
1051
|
}}
|
|
1052
|
+
underline='hover'
|
|
1050
1053
|
>
|
|
1051
1054
|
{column.format && typeof value === 'number' ? column.format(value) : value}
|
|
1052
1055
|
</Link>
|
|
@@ -1158,7 +1161,7 @@ export default function ListView(props: ListViewProps) {
|
|
|
1158
1161
|
<DialogContent>
|
|
1159
1162
|
{containsDateOrTime ? (
|
|
1160
1163
|
<>
|
|
1161
|
-
<Select value={displayDialogDateFilter} onChange={_dialogDateFilter} fullWidth>
|
|
1164
|
+
<Select variant='standard' value={displayDialogDateFilter} onChange={_dialogDateFilter} fullWidth>
|
|
1162
1165
|
<MenuItem value='notequal'>is not equal to</MenuItem>
|
|
1163
1166
|
<MenuItem value='after'>after</MenuItem>
|
|
1164
1167
|
<MenuItem value='before'>before</MenuItem>
|
|
@@ -1167,6 +1170,7 @@ export default function ListView(props: ListViewProps) {
|
|
|
1167
1170
|
</Select>
|
|
1168
1171
|
{filterType === 'Date' && (
|
|
1169
1172
|
<TextField
|
|
1173
|
+
variant='standard'
|
|
1170
1174
|
autoFocus
|
|
1171
1175
|
margin='dense'
|
|
1172
1176
|
id='containsFilter'
|
|
@@ -1178,6 +1182,7 @@ export default function ListView(props: ListViewProps) {
|
|
|
1178
1182
|
)}
|
|
1179
1183
|
{filterType === 'DateTime' && (
|
|
1180
1184
|
<TextField
|
|
1185
|
+
variant='standard'
|
|
1181
1186
|
autoFocus
|
|
1182
1187
|
margin='dense'
|
|
1183
1188
|
id='containsFilter'
|
|
@@ -1189,6 +1194,7 @@ export default function ListView(props: ListViewProps) {
|
|
|
1189
1194
|
)}
|
|
1190
1195
|
{filterType === 'Time' && (
|
|
1191
1196
|
<TextField
|
|
1197
|
+
variant='standard'
|
|
1192
1198
|
autoFocus
|
|
1193
1199
|
margin='dense'
|
|
1194
1200
|
id='containsFilter'
|
|
@@ -1201,12 +1207,13 @@ export default function ListView(props: ListViewProps) {
|
|
|
1201
1207
|
</>
|
|
1202
1208
|
) : (
|
|
1203
1209
|
<>
|
|
1204
|
-
<Select fullWidth onChange={_dialogContainsFilter} value={displayDialogContainsFilter}>
|
|
1210
|
+
<Select variant='standard' fullWidth onChange={_dialogContainsFilter} value={displayDialogContainsFilter}>
|
|
1205
1211
|
<MenuItem value='contains'>Contains</MenuItem>
|
|
1206
1212
|
<MenuItem value='equals'>Equals</MenuItem>
|
|
1207
1213
|
<MenuItem value='startswith'>Starts with</MenuItem>
|
|
1208
1214
|
</Select>
|
|
1209
1215
|
<TextField
|
|
1216
|
+
variant='standard'
|
|
1210
1217
|
autoFocus
|
|
1211
1218
|
margin='dense'
|
|
1212
1219
|
id='containsFilter'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createElement } from 'react';
|
|
2
|
-
import Grid, { GridSize } from '@material
|
|
2
|
+
import Grid, { GridSize } from '@mui/material/Grid';
|
|
3
3
|
|
|
4
4
|
import createPConnectComponent from '@pega/react-sdk-components/lib/bridge/react_pconnect';
|
|
5
5
|
import { getComponentFromMap } from '@pega/react-sdk-components/lib/bridge/helpers/sdk_component_map';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropsWithChildren, ReactElement } from 'react';
|
|
2
|
-
import { Grid } from '@material
|
|
3
|
-
import
|
|
2
|
+
import { Grid } from '@mui/material';
|
|
3
|
+
import makeStyles from '@mui/styles/makeStyles';
|
|
4
4
|
import { PConnProps } from '@pega/react-sdk-components/lib/types/PConnProps';
|
|
5
5
|
|
|
6
6
|
interface OneColumnProps extends PConnProps {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useCallback, useMemo, useState, createElement } from 'react';
|
|
2
|
-
import Button from '@material
|
|
2
|
+
import Button from '@mui/material/Button';
|
|
3
3
|
|
|
4
4
|
import createPConnectComponent from '@pega/react-sdk-components/lib/bridge/react_pconnect';
|
|
5
5
|
import { isEmptyObject } from '@pega/react-sdk-components/lib/components/helpers/common-utils';
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
/* eslint-disable no-nested-ternary */
|
|
2
2
|
import React, { PropsWithChildren, useEffect, useLayoutEffect, useRef, useState } from 'react';
|
|
3
|
-
import Table from '@material
|
|
4
|
-
import TableBody from '@material
|
|
5
|
-
import TableCell from '@material
|
|
6
|
-
import TableContainer from '@material
|
|
7
|
-
import TableHead from '@material
|
|
8
|
-
import TableRow from '@material
|
|
9
|
-
import Paper from '@material
|
|
10
|
-
import
|
|
11
|
-
import Link from '@material
|
|
3
|
+
import Table from '@mui/material/Table';
|
|
4
|
+
import TableBody from '@mui/material/TableBody';
|
|
5
|
+
import TableCell from '@mui/material/TableCell';
|
|
6
|
+
import TableContainer from '@mui/material/TableContainer';
|
|
7
|
+
import TableHead from '@mui/material/TableHead';
|
|
8
|
+
import TableRow from '@mui/material/TableRow';
|
|
9
|
+
import Paper from '@mui/material/Paper';
|
|
10
|
+
import makeStyles from '@mui/styles/makeStyles';
|
|
11
|
+
import Link from '@mui/material/Link';
|
|
12
12
|
import { createElement } from 'react';
|
|
13
|
-
import TableSortLabel from '@material
|
|
14
|
-
import MoreIcon from '@
|
|
15
|
-
import Menu from '@material
|
|
16
|
-
import MenuItem from '@material
|
|
17
|
-
import FilterListIcon from '@
|
|
18
|
-
import SubjectIcon from '@
|
|
19
|
-
import Dialog from '@material
|
|
20
|
-
import DialogActions from '@material
|
|
21
|
-
import DialogContent from '@material
|
|
22
|
-
import DialogTitle from '@material
|
|
23
|
-
import Select from '@material
|
|
24
|
-
import Button from '@material
|
|
25
|
-
import TextField from '@material
|
|
13
|
+
import TableSortLabel from '@mui/material/TableSortLabel';
|
|
14
|
+
import MoreIcon from '@mui/icons-material/MoreVert';
|
|
15
|
+
import Menu from '@mui/material/Menu';
|
|
16
|
+
import MenuItem from '@mui/material/MenuItem';
|
|
17
|
+
import FilterListIcon from '@mui/icons-material/FilterList';
|
|
18
|
+
import SubjectIcon from '@mui/icons-material/Subject';
|
|
19
|
+
import Dialog from '@mui/material/Dialog';
|
|
20
|
+
import DialogActions from '@mui/material/DialogActions';
|
|
21
|
+
import DialogContent from '@mui/material/DialogContent';
|
|
22
|
+
import DialogTitle from '@mui/material/DialogTitle';
|
|
23
|
+
import Select from '@mui/material/Select';
|
|
24
|
+
import Button from '@mui/material/Button';
|
|
25
|
+
import TextField from '@mui/material/TextField';
|
|
26
26
|
|
|
27
27
|
import createPConnectComponent from '@pega/react-sdk-components/lib/bridge/react_pconnect';
|
|
28
28
|
import { Utils } from '@pega/react-sdk-components/lib/components/helpers/utils';
|
|
@@ -698,7 +698,7 @@ export default function SimpleTableManual(props: PropsWithChildren<SimpleTableMa
|
|
|
698
698
|
</TableContainer>
|
|
699
699
|
{showAddRowButton && (
|
|
700
700
|
<div style={{ fontSize: '1rem' }}>
|
|
701
|
-
<Link style={{ cursor: 'pointer' }} onClick={addRecord}>
|
|
701
|
+
<Link style={{ cursor: 'pointer' }} onClick={addRecord} underline='hover'>
|
|
702
702
|
+ Add
|
|
703
703
|
</Link>
|
|
704
704
|
</div>
|
|
@@ -716,7 +716,7 @@ export default function SimpleTableManual(props: PropsWithChildren<SimpleTableMa
|
|
|
716
716
|
<DialogContent>
|
|
717
717
|
{containsDateOrTime ? (
|
|
718
718
|
<>
|
|
719
|
-
<Select value={displayDialogDateFilter} onChange={_dialogDateFilter} fullWidth>
|
|
719
|
+
<Select variant='standard' value={displayDialogDateFilter} onChange={_dialogDateFilter} fullWidth>
|
|
720
720
|
<MenuItem value='notequal'>is not equal to</MenuItem>
|
|
721
721
|
<MenuItem value='equal'>is equal to</MenuItem>
|
|
722
722
|
<MenuItem value='after'>after</MenuItem>
|
|
@@ -726,6 +726,7 @@ export default function SimpleTableManual(props: PropsWithChildren<SimpleTableMa
|
|
|
726
726
|
</Select>
|
|
727
727
|
{filterType === 'Date' && (
|
|
728
728
|
<TextField
|
|
729
|
+
variant='standard'
|
|
729
730
|
autoFocus
|
|
730
731
|
margin='dense'
|
|
731
732
|
id='containsFilter'
|
|
@@ -737,6 +738,7 @@ export default function SimpleTableManual(props: PropsWithChildren<SimpleTableMa
|
|
|
737
738
|
)}
|
|
738
739
|
{filterType === 'DateTime' && (
|
|
739
740
|
<TextField
|
|
741
|
+
variant='standard'
|
|
740
742
|
autoFocus
|
|
741
743
|
margin='dense'
|
|
742
744
|
id='containsFilter'
|
|
@@ -748,6 +750,7 @@ export default function SimpleTableManual(props: PropsWithChildren<SimpleTableMa
|
|
|
748
750
|
)}
|
|
749
751
|
{filterType === 'Time' && (
|
|
750
752
|
<TextField
|
|
753
|
+
variant='standard'
|
|
751
754
|
autoFocus
|
|
752
755
|
margin='dense'
|
|
753
756
|
id='containsFilter'
|
|
@@ -760,12 +763,13 @@ export default function SimpleTableManual(props: PropsWithChildren<SimpleTableMa
|
|
|
760
763
|
</>
|
|
761
764
|
) : (
|
|
762
765
|
<>
|
|
763
|
-
<Select id='filter' fullWidth onChange={_dialogContainsFilter} value={displayDialogContainsFilter}>
|
|
766
|
+
<Select variant='standard' id='filter' fullWidth onChange={_dialogContainsFilter} value={displayDialogContainsFilter}>
|
|
764
767
|
<MenuItem value='contains'>Contains</MenuItem>
|
|
765
768
|
<MenuItem value='equals'>Equals</MenuItem>
|
|
766
769
|
<MenuItem value='startswith'>Starts with</MenuItem>
|
|
767
770
|
</Select>
|
|
768
771
|
<TextField
|
|
772
|
+
variant='standard'
|
|
769
773
|
autoFocus
|
|
770
774
|
margin='dense'
|
|
771
775
|
id='containsFilter'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Children, PropsWithChildren, useEffect, useState } from 'react';
|
|
2
|
-
import { Tab, Tabs } from '@material
|
|
3
|
-
import { TabContext, TabPanel } from '@
|
|
2
|
+
import { Tab, Tabs } from '@mui/material';
|
|
3
|
+
import { TabContext, TabPanel } from '@mui/lab';
|
|
4
4
|
|
|
5
5
|
import { getTransientTabs, getVisibleTabs, tabClick } from './tabUtils';
|
|
6
6
|
import { PConnProps } from '@pega/react-sdk-components/lib/types/PConnProps';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropsWithChildren, ReactElement } from 'react';
|
|
2
|
-
import { Grid, GridSize } from '@material
|
|
3
|
-
import
|
|
2
|
+
import { Grid, GridSize } from '@mui/material';
|
|
3
|
+
import makeStyles from '@mui/styles/makeStyles';
|
|
4
4
|
import { PConnProps } from '@pega/react-sdk-components/lib/types/PConnProps';
|
|
5
5
|
|
|
6
6
|
interface TwoColumnProps extends PConnProps {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropsWithChildren, ReactElement } from 'react';
|
|
2
|
-
import { Grid, GridSize } from '@material
|
|
3
|
-
import
|
|
2
|
+
import { Grid, GridSize } from '@mui/material';
|
|
3
|
+
import makeStyles from '@mui/styles/makeStyles';
|
|
4
4
|
import { PConnProps } from '@pega/react-sdk-components/lib/types/PConnProps';
|
|
5
5
|
|
|
6
6
|
interface TwoColumnTabProps extends PConnProps {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createElement } from 'react';
|
|
2
|
-
import Grid, { GridSize } from '@material
|
|
2
|
+
import Grid, { GridSize } from '@mui/material/Grid';
|
|
3
3
|
|
|
4
4
|
import createPConnectComponent from '@pega/react-sdk-components/lib/bridge/react_pconnect';
|
|
5
5
|
import { getComponentFromMap } from '@pega/react-sdk-components/lib/bridge/helpers/sdk_component_map';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React, { useState } from 'react';
|
|
2
|
-
import
|
|
3
|
-
import AppBar from '@material
|
|
4
|
-
import Box from '@material
|
|
5
|
-
import Toolbar from '@material
|
|
6
|
-
import Container from '@material
|
|
7
|
-
import { IconButton, Menu, MenuItem, Typography, Button } from '@material
|
|
8
|
-
import Avatar from '@material
|
|
9
|
-
import MenuIcon from '@
|
|
2
|
+
import makeStyles from '@mui/styles/makeStyles';
|
|
3
|
+
import AppBar from '@mui/material/AppBar';
|
|
4
|
+
import Box from '@mui/material/Box';
|
|
5
|
+
import Toolbar from '@mui/material/Toolbar';
|
|
6
|
+
import Container from '@mui/material/Container';
|
|
7
|
+
import { IconButton, Menu, MenuItem, Typography, Button } from '@mui/material';
|
|
8
|
+
import Avatar from '@mui/material/Avatar';
|
|
9
|
+
import MenuIcon from '@mui/icons-material/Menu';
|
|
10
10
|
import { logout } from '@pega/auth/lib/sdk-auth-manager';
|
|
11
11
|
import { PConnProps } from '@pega/react-sdk-components/lib/types/PConnProps';
|
|
12
12
|
import './WssNavBar.css';
|
|
@@ -128,7 +128,7 @@ export default function WssNavBar(props: WssNavBarProps) {
|
|
|
128
128
|
{position === 'inline' && <>{navLinksContent}</>}
|
|
129
129
|
|
|
130
130
|
<Box sx={{ flexGrow: 0 }}>
|
|
131
|
-
<IconButton onClick={handleOpenUserMenu}>
|
|
131
|
+
<IconButton onClick={handleOpenUserMenu} size='large'>
|
|
132
132
|
<Avatar>{operator.currentUserInitials}</Avatar>
|
|
133
133
|
</IconButton>
|
|
134
134
|
<Menu
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Card, CardContent, CardHeader, Typography, CardActions, Button } from '@material
|
|
2
|
-
import
|
|
1
|
+
import { Card, CardContent, CardHeader, Typography, CardActions, Button } from '@mui/material';
|
|
2
|
+
import makeStyles from '@mui/styles/makeStyles';
|
|
3
3
|
import { PConnProps } from '@pega/react-sdk-components/lib/types/PConnProps';
|
|
4
4
|
|
|
5
5
|
interface AppAnnouncementProps extends PConnProps {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/* eslint-disable react/no-array-index-key */
|
|
3
3
|
/* eslint-disable no-nested-ternary */
|
|
4
4
|
import { useState, useEffect, useCallback } from 'react';
|
|
5
|
-
import { CircularProgress, IconButton, Menu, MenuItem, Button } from '@material
|
|
6
|
-
import MoreVertIcon from '@
|
|
5
|
+
import { CircularProgress, IconButton, Menu, MenuItem, Button } from '@mui/material';
|
|
6
|
+
import MoreVertIcon from '@mui/icons-material/MoreVert';
|
|
7
7
|
import download from 'downloadjs';
|
|
8
8
|
|
|
9
9
|
import { buildFilePropsFromResponse, getIconFromFileType, validateMaxSize } from '@pega/react-sdk-components/lib/components/helpers/attachmentHelpers';
|
|
@@ -430,6 +430,7 @@ export default function Attachment(props: AttachmentProps) {
|
|
|
430
430
|
aria-expanded={open ? 'true' : undefined}
|
|
431
431
|
aria-haspopup='true'
|
|
432
432
|
onClick={handleClick}
|
|
433
|
+
size='large'
|
|
433
434
|
>
|
|
434
435
|
<MoreVertIcon />
|
|
435
436
|
</IconButton>
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { useEffect, useRef, useState } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
2
|
+
import { Theme } from '@mui/material/styles';
|
|
3
|
+
import withStyles from '@mui/styles/withStyles';
|
|
4
|
+
import createStyles from '@mui/styles/createStyles';
|
|
5
|
+
import Table from '@mui/material/Table';
|
|
6
|
+
import TableBody from '@mui/material/TableBody';
|
|
7
|
+
import TableCell from '@mui/material/TableCell';
|
|
8
|
+
import TableContainer from '@mui/material/TableContainer';
|
|
9
|
+
import TableHead from '@mui/material/TableHead';
|
|
10
|
+
import TableRow from '@mui/material/TableRow';
|
|
9
11
|
import isDeepEqual from 'fast-deep-equal/react';
|
|
10
12
|
|
|
11
13
|
import { Utils } from '@pega/react-sdk-components/lib/components/helpers/utils';
|
|
@@ -145,9 +147,9 @@ export default function CaseHistory(props: CaseHistoryProps) {
|
|
|
145
147
|
const theKey = `CaseHistory-${index}`;
|
|
146
148
|
theDataRows.push(
|
|
147
149
|
<TableRow key={theKey}>
|
|
148
|
-
<StyledTableCell>{dataRow[0] ? dataRow[0] : '---'}</StyledTableCell>
|
|
149
|
-
<StyledTableCell>{dataRow[1] ? dataRow[1] : '---'}</StyledTableCell>
|
|
150
|
-
<StyledTableCell>{dataRow[2] ? dataRow[2] : '---'}</StyledTableCell>
|
|
150
|
+
<StyledTableCell>{dataRow[0] ? dataRow[0] : ('---' as any)}</StyledTableCell>
|
|
151
|
+
<StyledTableCell>{dataRow[1] ? dataRow[1] : ('---' as any)}</StyledTableCell>
|
|
152
|
+
<StyledTableCell>{dataRow[2] ? dataRow[2] : ('---' as any)}</StyledTableCell>
|
|
151
153
|
</TableRow>
|
|
152
154
|
);
|
|
153
155
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useEffect, useState } from 'react';
|
|
2
|
-
import TextField from '@material
|
|
2
|
+
import TextField from '@mui/material/TextField';
|
|
3
3
|
|
|
4
4
|
import { Utils } from '@pega/react-sdk-components/lib/components/helpers/utils';
|
|
5
5
|
|
|
@@ -7,8 +7,8 @@ import download from 'downloadjs';
|
|
|
7
7
|
// import SummaryList from '../../SummaryList';
|
|
8
8
|
// import ActionButtonsForFileUtil from '../ActionButtonsForFileUtil';
|
|
9
9
|
import './FileUtility.css';
|
|
10
|
-
import { IconButton, Menu, MenuItem, Button, CircularProgress } from '@material
|
|
11
|
-
import MoreVertIcon from '@
|
|
10
|
+
import { IconButton, Menu, MenuItem, Button, CircularProgress } from '@mui/material';
|
|
11
|
+
import MoreVertIcon from '@mui/icons-material/MoreVert';
|
|
12
12
|
|
|
13
13
|
import { validateMaxSize } from '@pega/react-sdk-components/lib/components/helpers/attachmentHelpers';
|
|
14
14
|
import { getComponentFromMap } from '@pega/react-sdk-components/lib/bridge/helpers/sdk_component_map';
|
|
@@ -508,6 +508,7 @@ export default function FileUtility(props: FileUtilityProps) {
|
|
|
508
508
|
aria-expanded={open ? 'true' : undefined}
|
|
509
509
|
aria-haspopup='true'
|
|
510
510
|
onClick={handleClick}
|
|
511
|
+
size='large'
|
|
511
512
|
>
|
|
512
513
|
<MoreVertIcon />
|
|
513
514
|
</IconButton>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
|
-
import { Card, CardContent, CardHeader, Typography } from '@material
|
|
3
|
-
import
|
|
2
|
+
import { Card, CardContent, CardHeader, Typography } from '@mui/material';
|
|
3
|
+
import makeStyles from '@mui/styles/makeStyles';
|
|
4
4
|
import { PConnProps } from '@pega/react-sdk-components/lib/types/PConnProps';
|
|
5
5
|
|
|
6
6
|
interface FollowersProps extends PConnProps {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useState } from 'react';
|
|
2
|
-
import { IconButton, Menu, MenuItem } from '@material
|
|
3
|
-
import MoreVertIcon from '@
|
|
2
|
+
import { IconButton, Menu, MenuItem } from '@mui/material';
|
|
3
|
+
import MoreVertIcon from '@mui/icons-material/MoreVert';
|
|
4
4
|
import { Utils } from '@pega/react-sdk-components/lib/components/helpers/utils';
|
|
5
5
|
import { PConnProps } from '@pega/react-sdk-components/lib/types/PConnProps';
|
|
6
6
|
|
|
@@ -69,6 +69,7 @@ export default function SummaryItem(props: SummaryItemProps) {
|
|
|
69
69
|
aria-expanded={open ? 'true' : undefined}
|
|
70
70
|
aria-haspopup='true'
|
|
71
71
|
onClick={handleClick}
|
|
72
|
+
size='large'
|
|
72
73
|
>
|
|
73
74
|
<MoreVertIcon />
|
|
74
75
|
</IconButton>
|