@pega/react-sdk-overrides 24.2.10 → 24.2.11

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 (45) hide show
  1. package/lib/designSystemExtension/FieldValueList/FieldValueList.tsx +2 -2
  2. package/lib/field/CancelAlert/CancelAlert.tsx +1 -4
  3. package/lib/field/Currency/Currency.tsx +8 -5
  4. package/lib/field/Date/Date.tsx +5 -1
  5. package/lib/field/DateTime/DateTime.tsx +13 -5
  6. package/lib/field/Decimal/Decimal.tsx +7 -2
  7. package/lib/field/Dropdown/Dropdown.tsx +27 -20
  8. package/lib/field/Percentage/Percentage.tsx +6 -2
  9. package/lib/field/RadioButtons/RadioButtons.tsx +0 -3
  10. package/lib/field/ScalarList/ScalarList.tsx +1 -2
  11. package/lib/field/Time/Time.tsx +1 -1
  12. package/lib/field/UserReference/UserReference.tsx +1 -3
  13. package/lib/helpers/common-utils.ts +24 -1
  14. package/lib/helpers/formatters/Currency.ts +11 -16
  15. package/lib/helpers/formatters/common.ts +2 -1
  16. package/lib/helpers/formatters/index.ts +2 -4
  17. package/lib/infra/Assignment/Assignment.tsx +2 -6
  18. package/lib/infra/Containers/FlowContainer/FlowContainer.tsx +5 -18
  19. package/lib/infra/Containers/FlowContainer/helpers.ts +1 -5
  20. package/lib/infra/Containers/ModalViewContainer/ListViewActionButtons/ListViewActionButtons.tsx +3 -1
  21. package/lib/infra/Containers/SimpleView/helper.ts +1 -1
  22. package/lib/infra/DashboardFilter/DashboardFilter.tsx +2 -3
  23. package/lib/infra/DashboardFilter/filterUtils.tsx +1 -3
  24. package/lib/infra/DeferLoad/DeferLoad.tsx +5 -5
  25. package/lib/infra/MultiStep/MultiStep.tsx +1 -6
  26. package/lib/infra/RootContainer/RootContainer.tsx +1 -1
  27. package/lib/template/AppShell/AppShell.tsx +6 -6
  28. package/lib/template/CaseView/CaseView.tsx +5 -4
  29. package/lib/template/Confirmation/Confirmation.tsx +1 -1
  30. package/lib/template/Details/DynamicTabs/DynamicTabs.tsx +0 -1
  31. package/lib/template/FieldGroupTemplate/FieldGroupTemplate.tsx +0 -2
  32. package/lib/template/ListView/ListView.tsx +10 -9
  33. package/lib/template/ListView/utils.ts +0 -1
  34. package/lib/template/PromotedFilters/PromotedFilters.tsx +0 -1
  35. package/lib/template/SimpleTable/SimpleTable/SimpleTable.tsx +0 -2
  36. package/lib/template/SimpleTable/SimpleTableManual/SimpleTableManual.tsx +68 -56
  37. package/lib/template/SimpleTable/SimpleTableSelect/SimpleTableSelect.tsx +2 -4
  38. package/lib/widget/Attachment/Attachment.css +1 -0
  39. package/lib/widget/Attachment/Attachment.tsx +2 -7
  40. package/lib/widget/FileUtility/FileUtility/FileUtility.tsx +1 -1
  41. package/lib/widget/QuickCreate/QuickCreate.tsx +0 -1
  42. package/lib/widget/SummaryItem/SummaryItem.tsx +1 -1
  43. package/lib/widget/ToDo/ToDo.tsx +1 -1
  44. package/package.json +1 -1
  45. /package/lib/infra/Containers/{helpers.ts → container-helpers.ts} +0 -0
@@ -35,7 +35,6 @@ export default function QuickCreate(props: QuickCreateProps) {
35
35
  const defaultCases: any = [];
36
36
  const envInfo = PCore.getEnvironmentInfo();
37
37
  if (envInfo?.environmentInfoObject?.pyCaseTypeList) {
38
- // @ts-ignore - Property 'forEach' does not exist on type 'string'
39
38
  envInfo.environmentInfoObject.pyCaseTypeList.forEach(casetype => {
40
39
  if (casetype.pyWorkTypeName && casetype.pyWorkTypeImplementationClassName) {
41
40
  defaultCases.push({
@@ -73,7 +73,7 @@ export default function SummaryItem(props: SummaryItemProps) {
73
73
  >
74
74
  <MoreVertIcon />
75
75
  </IconButton>
76
- <Menu style={{ marginTop: '3rem' }} id='file-menu' anchorEl={anchorEl} keepMounted open={Boolean(anchorEl)} onClose={handleClose}>
76
+ <Menu id='file-menu' anchorEl={anchorEl} keepMounted open={Boolean(anchorEl)} onClose={handleClose}>
77
77
  {item.actions &&
78
78
  item.actions.map(option => (
79
79
  <MenuItem style={{ fontSize: '14px' }} key={option.id || option.text} onClick={option.onClick}>
@@ -129,7 +129,7 @@ export default function ToDo(props: ToDoProps) {
129
129
  const CONSTS = PCore.getConstants();
130
130
 
131
131
  const bLogging = true;
132
- const currentUser = PCore.getEnvironmentInfo().getOperatorName();
132
+ const currentUser = PCore.getEnvironmentInfo().getOperatorName() ?? '';
133
133
  const currentUserInitials = Utils.getInitials(currentUser);
134
134
  const assignmentsSource = datasource?.source || myWorkList?.source;
135
135
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pega/react-sdk-overrides",
3
- "version": "24.2.10",
3
+ "version": "24.2.11",
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": [