@pega/react-sdk-overrides 0.23.25 → 8.8.20

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.
Files changed (141) hide show
  1. package/lib/designSystemExtension/AlertBanner/AlertBanner.tsx +47 -0
  2. package/lib/designSystemExtension/AlertBanner/index.tsx +1 -0
  3. package/lib/designSystemExtension/Banner/Banner.css +4 -0
  4. package/lib/designSystemExtension/Banner/Banner.tsx +25 -11
  5. package/lib/designSystemExtension/CaseSummaryFields/CaseSummaryFields.tsx +15 -10
  6. package/lib/designSystemExtension/DetailsFields/DetailsFields.tsx +10 -11
  7. package/lib/designSystemExtension/FieldGroup/FieldGroup.tsx +10 -3
  8. package/lib/designSystemExtension/FieldGroupList/FieldGroupList.tsx +11 -5
  9. package/lib/designSystemExtension/FieldValueList/FieldValueList.tsx +11 -3
  10. package/lib/designSystemExtension/Operator/Operator.tsx +30 -21
  11. package/lib/designSystemExtension/Pulse/Pulse.tsx +11 -7
  12. package/lib/designSystemExtension/RichTextEditor/RichTextEditor.tsx +121 -0
  13. package/lib/designSystemExtension/RichTextEditor/index.tsx +1 -0
  14. package/lib/designSystemExtension/WssQuickCreate/WssQuickCreate.css +6 -2
  15. package/lib/designSystemExtension/WssQuickCreate/WssQuickCreate.tsx +12 -3
  16. package/lib/field/AutoComplete/AutoComplete.tsx +37 -18
  17. package/lib/field/CancelAlert/CancelAlert.tsx +21 -12
  18. package/lib/field/Checkbox/Checkbox.tsx +41 -17
  19. package/lib/field/Currency/Currency.tsx +23 -15
  20. package/lib/field/Currency/currency-utils.ts +1 -2
  21. package/lib/field/Date/Date.tsx +31 -17
  22. package/lib/field/DateTime/DateTime.tsx +26 -15
  23. package/lib/field/Decimal/Decimal.tsx +82 -19
  24. package/lib/field/Dropdown/Dropdown.tsx +57 -14
  25. package/lib/field/Email/Email.tsx +17 -9
  26. package/lib/field/Integer/Integer.tsx +15 -7
  27. package/lib/field/Percentage/Percentage.tsx +15 -7
  28. package/lib/field/Phone/Phone.tsx +21 -12
  29. package/lib/field/RadioButtons/RadioButtons.tsx +54 -27
  30. package/lib/field/RichText/RichText.tsx +93 -0
  31. package/lib/field/RichText/index.tsx +1 -0
  32. package/lib/field/ScalarList/ScalarList.tsx +64 -0
  33. package/lib/field/ScalarList/config-ext.json +8 -0
  34. package/lib/field/ScalarList/index.tsx +1 -0
  35. package/lib/field/SemanticLink/SemanticLink.tsx +26 -25
  36. package/lib/field/SemanticLink/utils.ts +2 -1
  37. package/lib/field/TextArea/TextArea.tsx +14 -5
  38. package/lib/field/TextContent/TextContent.tsx +10 -1
  39. package/lib/field/TextInput/TextInput.tsx +40 -11
  40. package/lib/field/Time/Time.tsx +29 -26
  41. package/lib/field/URL/URL.tsx +24 -8
  42. package/lib/field/UserReference/UserReference.tsx +52 -60
  43. package/lib/helpers/{attachmentHelpers.js → attachmentHelpers.ts} +5 -5
  44. package/lib/helpers/auth.js +741 -390
  45. package/lib/helpers/authManager.ts +933 -0
  46. package/lib/helpers/case-utils.tsx +103 -0
  47. package/lib/helpers/common-utils.ts +4 -0
  48. package/lib/helpers/config_access.js +63 -145
  49. package/lib/helpers/data_page.ts +2 -1
  50. package/lib/helpers/date-format-utils.ts +29 -19
  51. package/lib/helpers/{event-utils.js → event-utils.ts} +1 -1
  52. package/lib/helpers/{field-group-utils.js → field-group-utils.ts} +4 -3
  53. package/lib/helpers/formatters/{Currency.js → Currency.ts} +13 -12
  54. package/lib/helpers/formatters/{CurrencyMap.js → CurrencyMap.ts} +8 -5
  55. package/lib/helpers/formatters/{Date.js → Date.ts} +2 -2
  56. package/lib/helpers/formatters/{common.js → common.ts} +4 -4
  57. package/lib/helpers/formatters/{index.js → index.ts} +3 -3
  58. package/lib/helpers/simpleTableHelpers.ts +10 -6
  59. package/lib/helpers/state-utils.tsx +47 -0
  60. package/lib/helpers/template-utils.ts +3 -4
  61. package/lib/helpers/utils.ts +12 -4
  62. package/lib/helpers/versionHelpers.ts +0 -1
  63. package/lib/infra/ActionButtons/ActionButtons.tsx +13 -18
  64. package/lib/infra/Assignment/Assignment.tsx +38 -32
  65. package/lib/infra/AssignmentCard/AssignmentCard.tsx +15 -19
  66. package/lib/infra/Containers/FlowContainer/FlowContainer.tsx +76 -64
  67. package/lib/infra/Containers/FlowContainer/{helpers.js → helpers.ts} +18 -16
  68. package/lib/infra/Containers/ModalViewContainer/ModalViewContainer.tsx +41 -27
  69. package/lib/infra/Containers/ViewContainer/ViewContainer.tsx +19 -28
  70. package/lib/infra/DashboardFilter/DashboardFilter.tsx +16 -20
  71. package/lib/infra/DashboardFilter/filterUtils.tsx +3 -1
  72. package/lib/infra/DeferLoad/DeferLoad.tsx +16 -19
  73. package/lib/infra/ErrorBoundary/ErrorBoundary.tsx +20 -19
  74. package/lib/infra/MultiStep/MultiStep.tsx +24 -24
  75. package/lib/infra/NavBar/NavBar.tsx +23 -24
  76. package/lib/infra/Reference/Reference.tsx +13 -18
  77. package/lib/infra/Region/Region.tsx +8 -6
  78. package/lib/infra/RootContainer/RootContainer.tsx +32 -39
  79. package/lib/infra/Stages/Stages.tsx +15 -9
  80. package/lib/infra/VerticalTabs/LeftAlignVerticalTabs/LeftAlignVerticalTabs.tsx +8 -1
  81. package/lib/infra/VerticalTabs/VerticalTabs/VerticalTabs.tsx +12 -12
  82. package/lib/infra/View/View.tsx +30 -58
  83. package/lib/template/AppShell/AppShell.tsx +51 -34
  84. package/lib/template/BannerPage/BannerPage.tsx +26 -31
  85. package/lib/template/CaseSummary/CaseSummary.tsx +15 -8
  86. package/lib/template/CaseView/CaseView.tsx +137 -100
  87. package/lib/template/CaseViewActionsMenu/CaseViewActionsMenu.tsx +27 -27
  88. package/lib/template/Confirmation/Confirmation.tsx +29 -52
  89. package/lib/template/DataReference/DataReference.tsx +50 -52
  90. package/lib/template/DefaultForm/DefaultForm.tsx +29 -20
  91. package/lib/template/DefaultForm/utils/index.ts +33 -0
  92. package/lib/template/Details/Details/Details.tsx +16 -17
  93. package/lib/template/Details/DetailsSubTabs/DetailsSubTabs.tsx +13 -16
  94. package/lib/template/Details/DetailsThreeColumn/DetailsThreeColumn.tsx +19 -18
  95. package/lib/template/Details/DetailsTwoColumn/DetailsTwoColumn.tsx +20 -18
  96. package/lib/template/FieldGroupTemplate/FieldGroupTemplate.tsx +24 -27
  97. package/lib/template/InlineDashboard/InlineDashboard.tsx +11 -7
  98. package/lib/template/InlineDashboardPage/InlineDashboardPage.tsx +19 -17
  99. package/lib/template/ListPage/ListPage.tsx +14 -13
  100. package/lib/template/ListView/ListView.tsx +140 -152
  101. package/lib/template/ListView/{hooks.js → hooks.ts} +3 -1
  102. package/lib/template/ListView/{utils.js → utils.ts} +172 -23
  103. package/lib/template/MultiReferenceReadOnly/MultiReferenceReadOnly.tsx +12 -17
  104. package/lib/template/NarrowWide/NarrowWide/NarrowWide.tsx +16 -1
  105. package/lib/template/NarrowWide/NarrowWideDetails/NarrowWideDetails.tsx +19 -18
  106. package/lib/template/NarrowWide/NarrowWideForm/NarrowWideForm.tsx +9 -1
  107. package/lib/template/NarrowWide/NarrowWidePage/NarrowWidePage.tsx +17 -17
  108. package/lib/template/OneColumn/OneColumn/OneColumn.tsx +8 -7
  109. package/lib/template/OneColumn/OneColumnPage/OneColumnPage.tsx +10 -10
  110. package/lib/template/OneColumn/OneColumnTab/OneColumnTab.tsx +5 -7
  111. package/lib/template/PromotedFilters/PromotedFilters.tsx +23 -17
  112. package/lib/template/SimpleTable/SimpleTable/SimpleTable.tsx +103 -6
  113. package/lib/template/SimpleTable/SimpleTableManual/SimpleTableManual.tsx +28 -7
  114. package/lib/template/SimpleTable/SimpleTableSelect/SimpleTableSelect.tsx +26 -31
  115. package/lib/template/SingleReferenceReadOnly/SingleReferenceReadOnly.tsx +34 -36
  116. package/lib/template/SubTabs/SubTabs.tsx +10 -11
  117. package/lib/template/SubTabs/tabUtils.ts +0 -2
  118. package/lib/template/TwoColumn/TwoColumn/TwoColumn.tsx +10 -15
  119. package/lib/template/TwoColumn/TwoColumnPage/TwoColumnPage.tsx +10 -10
  120. package/lib/template/TwoColumn/TwoColumnTab/TwoColumnTab.tsx +10 -12
  121. package/lib/template/WideNarrow/WideNarrow/WideNarrow.tsx +17 -3
  122. package/lib/template/WideNarrow/WideNarrowDetails/WideNarrowDetails.tsx +35 -25
  123. package/lib/template/WideNarrow/WideNarrowForm/WideNarrowForm.tsx +7 -1
  124. package/lib/template/WideNarrow/WideNarrowPage/WideNarrowPage.tsx +15 -17
  125. package/lib/template/WssNavBar/WssNavBar.tsx +36 -14
  126. package/lib/widget/AppAnnouncement/AppAnnouncement.tsx +13 -21
  127. package/lib/widget/Attachment/Attachment.css +15 -3
  128. package/lib/widget/Attachment/Attachment.tsx +51 -32
  129. package/lib/widget/CaseHistory/CaseHistory.tsx +13 -11
  130. package/lib/widget/FileUtility/ActionButtonsForFileUtil/ActionButtonsForFileUtil.tsx +13 -1
  131. package/lib/widget/FileUtility/FileUtility/FileUtility.tsx +40 -26
  132. package/lib/widget/Followers/Followers.tsx +10 -11
  133. package/lib/widget/QuickCreate/QuickCreate.tsx +15 -6
  134. package/lib/widget/SummaryItem/SummaryItem.tsx +12 -4
  135. package/lib/widget/SummaryList/SummaryList.tsx +17 -3
  136. package/lib/widget/ToDo/ToDo.tsx +69 -104
  137. package/package.json +1 -1
  138. package/lib/helpers/authManager.js +0 -631
  139. /package/lib/helpers/formatters/{Boolean.js → Boolean.ts} +0 -0
  140. /package/lib/helpers/{reactContextHelpers.js → reactContextHelpers.ts} +0 -0
  141. /package/lib/template/ListView/{DefaultViewMeta.js → DefaultViewMeta.ts} +0 -0
@@ -1,7 +1,6 @@
1
1
  /* eslint-disable no-shadow */
2
2
  /* eslint-disable @typescript-eslint/no-shadow */
3
3
  import React, { Fragment, useState } from 'react';
4
- import PropTypes from 'prop-types';
5
4
  import { Utils } from '@pega/react-sdk-components/lib/components/helpers/utils';
6
5
  import {
7
6
  Box,
@@ -28,9 +27,25 @@ import useMediaQuery from '@material-ui/core/useMediaQuery';
28
27
 
29
28
  import './ToDo.css';
30
29
 
31
- declare const PCore: any;
30
+ import type { PConnProps } from '@pega/react-sdk-components/lib/types/PConnProps';
32
31
 
33
- const isChildCase = assignment => {
32
+ interface ToDoProps extends PConnProps {
33
+ // If any, enter additional props that only exist on this component
34
+ datasource?: any;
35
+ myWorkList?: any;
36
+ // eslint-disable-next-line react/no-unused-prop-types
37
+ caseInfoID?: string;
38
+ headerText?: string;
39
+ // eslint-disable-next-line react/no-unused-prop-types
40
+ itemKey?: string;
41
+ showTodoList?: boolean;
42
+ type?: string;
43
+ // eslint-disable-next-line react/no-unused-prop-types
44
+ context?: string;
45
+ isConfirm?: boolean;
46
+ }
47
+
48
+ const isChildCase = (assignment) => {
34
49
  return assignment.isChild;
35
50
  };
36
51
 
@@ -49,7 +64,7 @@ function getID(assignment: any) {
49
64
  }
50
65
  }
51
66
 
52
- const useStyles = makeStyles(theme => ({
67
+ const useStyles = makeStyles((theme) => ({
53
68
  root: {
54
69
  marginTop: theme.spacing(1),
55
70
  marginBottom: theme.spacing(1),
@@ -69,8 +84,8 @@ const useStyles = makeStyles(theme => ({
69
84
  }
70
85
  }));
71
86
 
72
- export default function ToDo(props) {
73
- const { datasource, getPConnect, headerText, showTodoList, myWorkList, type, isConfirm } = props;
87
+ export default function ToDo(props: ToDoProps) {
88
+ const { getPConnect, datasource = [], headerText = 'To do', showTodoList = true, myWorkList = {}, type = 'worklist', isConfirm = false } = props;
74
89
 
75
90
  const CONSTS = PCore.getConstants();
76
91
 
@@ -90,6 +105,10 @@ export default function ToDo(props) {
90
105
  const classes = useStyles();
91
106
  const theme = useTheme();
92
107
  const isDesktop = useMediaQuery(theme.breakpoints.up('md'));
108
+ const localizedVal = PCore.getLocaleUtils().getLocaleValue;
109
+ const localeCategory = 'Todo';
110
+ const showlessLocalizedValue = localizedVal('show_less', 'CosmosFields');
111
+ const showMoreLocalizedValue = localizedVal('show_more', 'CosmosFields');
93
112
  // const { setOpen } = useNavBar();
94
113
 
95
114
  function initAssignments(): Array<any> {
@@ -102,15 +121,15 @@ export default function ToDo(props) {
102
121
  }
103
122
  }
104
123
 
105
- const getAssignmentId = assignment => {
124
+ const getAssignmentId = (assignment) => {
106
125
  return type === CONSTS.TODO ? assignment.ID : assignment.id;
107
126
  };
108
127
 
109
- const getPriority = assignment => {
128
+ const getPriority = (assignment) => {
110
129
  return type === CONSTS.TODO ? assignment.urgency : assignment.priority;
111
130
  };
112
131
 
113
- const getAssignmentName = assignment => {
132
+ const getAssignmentName = (assignment) => {
114
133
  return type === CONSTS.TODO ? assignment.name : assignment.stepName;
115
134
  };
116
135
 
@@ -145,7 +164,7 @@ export default function ToDo(props) {
145
164
  const sTarget = thePConn.getContainerName();
146
165
  const sTargetContainerName = sTarget;
147
166
 
148
- const options = { containerName: sTargetContainerName };
167
+ const options = { containerName: sTargetContainerName, channelName: '' };
149
168
 
150
169
  if (classname === null || classname === '') {
151
170
  classname = thePConn.getCaseInfo().getClassName();
@@ -180,31 +199,27 @@ export default function ToDo(props) {
180
199
 
181
200
  if ((showTodoList && type !== CONSTS.TODO) || assignment.isChild === true) {
182
201
  /* Supress link for todo inside flow step */
183
- return (
184
- <Button size='small' color='primary'>{`${assignment.name} ${getID(assignment)}`}</Button>
185
- );
202
+ return <Button size="small" color="primary">{`${assignment.name} ${getID(assignment)}`}</Button>;
186
203
  }
187
204
  return displayID;
188
205
  };
189
206
 
190
- const getListItemComponent = assignment => {
207
+ const getListItemComponent = (assignment) => {
191
208
  if (isDesktop) {
192
209
  return (
193
210
  <>
194
- Task in
211
+ {localizedVal('Task in', localeCategory)}
195
212
  {renderTaskId(type, getPConnect, showTodoList, assignment)}
196
213
  {type === CONSTS.WORKLIST && assignment.status ? `\u2022 ` : undefined}
197
- {type === CONSTS.WORKLIST && assignment.status ? (
198
- <span className='psdk-todo-assignment-status'>{assignment.status}</span>
199
- ) : undefined}
200
- {` \u2022 Urgency ${getPriority(assignment)}`}
214
+ {type === CONSTS.WORKLIST && assignment.status ? <span className="psdk-todo-assignment-status">{assignment.status}</span> : undefined}
215
+ {` \u2022 ${localizedVal('Urgency', localeCategory)} ${getPriority(assignment)}`}
201
216
  </>
202
217
  );
203
218
  }
204
219
  return (
205
220
  <>
206
- <Button size='small' color='primary'>{`${assignment.name} ${getID(assignment)}`}</Button>
207
- {` \u2022 Urgency ${getPriority(assignment)}`}
221
+ <Button size="small" color="primary">{`${assignment.name} ${getID(assignment)}`}</Button>
222
+ {` \u2022 ${localizedVal('Urgency', localeCategory)} ${getPriority(assignment)}`}
208
223
  </>
209
224
  );
210
225
  };
@@ -214,37 +229,33 @@ export default function ToDo(props) {
214
229
  {showTodoList && (
215
230
  <CardHeader
216
231
  title={
217
- <Badge badgeContent={assignmentCount} color='primary'>
218
- <Typography variant='h6'>{headerText}&nbsp;&nbsp;&nbsp;</Typography>
232
+ <Badge badgeContent={assignmentCount} overlap="rectangular" color="primary">
233
+ <Typography variant="h6">{headerText}&nbsp;&nbsp;&nbsp;</Typography>
219
234
  </Badge>
220
235
  }
221
236
  ></CardHeader>
222
237
  )}
223
238
  <List>
224
- {assignments.map(assignment => (
225
- <>
226
- <div className='psdk-todo-avatar-header'>
227
- <Avatar className={classes.avatar} style={{ marginRight: '16px' }}>
228
- {currentUserInitials}
229
- </Avatar>
230
- <div style={{ display: 'block' }}>
231
- <Typography variant='h6'>{assignment?.name}</Typography>
232
- {`Task in ${renderTaskId(
233
- type,
234
- getPConnect,
235
- showTodoList,
236
- assignment
237
- )} \u2022 Urgency ${getPriority(assignment)}`}
238
- </div>
239
- {!isConfirm && (
240
- <div style={{ marginLeft: 'auto' }}>
241
- <IconButton onClick={() => clickGo(assignment)}>
242
- <ArrowForwardIosOutlinedIcon />
243
- </IconButton>
244
- </div>
245
- )}
239
+ {assignments.map((assignment) => (
240
+ <div className="psdk-todo-avatar-header" key={getAssignmentId(assignment)}>
241
+ <Avatar className={classes.avatar} style={{ marginRight: '16px' }}>
242
+ {currentUserInitials}
243
+ </Avatar>
244
+ <div style={{ display: 'block' }}>
245
+ <Typography variant="h6">{assignment?.name}</Typography>
246
+ {`${localizedVal('Task in', localeCategory)} ${renderTaskId(type, getPConnect, showTodoList, assignment)} \u2022 ${localizedVal(
247
+ 'Urgency',
248
+ localeCategory
249
+ )} ${getPriority(assignment)}`}
246
250
  </div>
247
- </>
251
+ {!isConfirm && (
252
+ <div style={{ marginLeft: 'auto' }}>
253
+ <IconButton onClick={() => clickGo(assignment)}>
254
+ <ArrowForwardIosOutlinedIcon />
255
+ </IconButton>
256
+ </div>
257
+ )}
258
+ </div>
248
259
  ))}
249
260
  </List>
250
261
  </>
@@ -257,8 +268,8 @@ export default function ToDo(props) {
257
268
  {showTodoList && (
258
269
  <CardHeader
259
270
  title={
260
- <Badge badgeContent={assignmentCount} color='primary'>
261
- <Typography variant='h6'>{headerText}&nbsp;&nbsp;&nbsp;</Typography>
271
+ <Badge badgeContent={assignmentCount} overlap="rectangular" color="primary">
272
+ <Typography variant="h6">{headerText}&nbsp;&nbsp;&nbsp;</Typography>
262
273
  </Badge>
263
274
  }
264
275
  avatar={<Avatar className={classes.avatar}>{currentUserInitials}</Avatar>}
@@ -266,17 +277,9 @@ export default function ToDo(props) {
266
277
  )}
267
278
  <CardContent>
268
279
  <List>
269
- {assignments.map(assignment => (
270
- <ListItem
271
- key={getAssignmentId(assignment)}
272
- dense
273
- divider
274
- onClick={() => clickGo(assignment)}
275
- >
276
- <ListItemText
277
- primary={getAssignmentName(assignment)}
278
- secondary={getListItemComponent(assignment)}
279
- />
280
+ {assignments.map((assignment) => (
281
+ <ListItem key={getAssignmentId(assignment)} dense divider onClick={() => clickGo(assignment)}>
282
+ <ListItemText primary={getAssignmentName(assignment)} secondary={getListItemComponent(assignment)} />
280
283
  <ListItemSecondaryAction>
281
284
  <IconButton onClick={() => clickGo(assignment)}>
282
285
  <ArrowForwardIosOutlinedIcon />
@@ -289,19 +292,17 @@ export default function ToDo(props) {
289
292
  </Card>
290
293
  )}
291
294
 
292
- {type === CONSTS.TODO && !isConfirm && (
293
- <Card className={classes.todoWrapper}>{toDoContent}</Card>
294
- )}
295
+ {type === CONSTS.TODO && !isConfirm && <Card className={classes.todoWrapper}>{toDoContent}</Card>}
295
296
  {type === CONSTS.TODO && isConfirm && <Fragment>{toDoContent}</Fragment>}
296
297
 
297
298
  {assignmentCount > 3 && (
298
- <Box display='flex' justifyContent='center'>
299
+ <Box display="flex" justifyContent="center">
299
300
  {bShowMore ? (
300
- <Button color='primary' onClick={_showMore}>
301
- Show more
301
+ <Button color="primary" onClick={_showMore}>
302
+ {showMoreLocalizedValue === 'show_more' ? 'Show more' : showMoreLocalizedValue}
302
303
  </Button>
303
304
  ) : (
304
- <Button onClick={_showLess}>Show less</Button>
305
+ <Button onClick={_showLess}>{showlessLocalizedValue === 'show_less' ? 'Show less' : showlessLocalizedValue}</Button>
305
306
  )}
306
307
  </Box>
307
308
  )}
@@ -312,47 +313,11 @@ export default function ToDo(props) {
312
313
  onClose={handleSnackbarClose}
313
314
  message={snackbarMessage}
314
315
  action={
315
- <IconButton size='small' aria-label='close' color='inherit' onClick={handleSnackbarClose}>
316
- <CloseIcon fontSize='small' />
316
+ <IconButton size="small" aria-label="close" color="inherit" onClick={handleSnackbarClose}>
317
+ <CloseIcon fontSize="small" />
317
318
  </IconButton>
318
319
  }
319
320
  />
320
321
  </React.Fragment>
321
322
  );
322
323
  }
323
-
324
- ToDo.propTypes = {
325
- datasource: PropTypes.instanceOf(Object),
326
- myWorkList: PropTypes.instanceOf(Object),
327
- // eslint-disable-next-line react/no-unused-prop-types
328
- caseInfoID: PropTypes.string,
329
- // buildName: PropTypes.string,
330
- getPConnect: PropTypes.func.isRequired,
331
- headerText: PropTypes.string,
332
- // eslint-disable-next-line react/no-unused-prop-types
333
- itemKey: PropTypes.string,
334
- showTodoList: PropTypes.bool,
335
- // target: PropTypes.string,
336
- type: PropTypes.string,
337
- // pageMessages: PropTypes.arrayOf(PropTypes.any),
338
- // eslint-disable-next-line react/no-unused-prop-types
339
- context: PropTypes.string,
340
- // hideActionButtons: PropTypes.bool
341
- isConfirm: PropTypes.bool
342
- };
343
-
344
- ToDo.defaultProps = {
345
- caseInfoID: '',
346
- datasource: [],
347
- myWorkList: {},
348
- // buildName: "",
349
- headerText: 'To do',
350
- itemKey: '',
351
- showTodoList: true,
352
- // target: "",
353
- type: 'worklist',
354
- // pageMessages: null,
355
- context: '',
356
- // hideActionButtons: false
357
- isConfirm: false
358
- };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pega/react-sdk-overrides",
3
- "version": "0.23.25",
3
+ "version": "8.8.20",
4
4
  "description": "React SDK - Code for overriding components",
5
5
  "_filesComment": "During packing, npm ignores everything NOT in the files list",
6
6
  "files": [