@pega/react-sdk-overrides 0.242.7 → 0.242.9
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/FieldValueList/FieldValueList.tsx +2 -2
- package/lib/field/CancelAlert/CancelAlert.tsx +1 -4
- package/lib/field/Currency/Currency.tsx +8 -5
- package/lib/field/Date/Date.tsx +5 -1
- package/lib/field/DateTime/DateTime.tsx +13 -5
- package/lib/field/Decimal/Decimal.tsx +7 -2
- package/lib/field/Dropdown/Dropdown.tsx +27 -20
- package/lib/field/Percentage/Percentage.tsx +6 -2
- package/lib/field/RadioButtons/RadioButtons.tsx +0 -3
- package/lib/field/ScalarList/ScalarList.tsx +1 -2
- package/lib/field/Time/Time.tsx +1 -1
- package/lib/field/UserReference/UserReference.tsx +1 -3
- package/lib/helpers/common-utils.ts +24 -1
- package/lib/helpers/formatters/Currency.ts +11 -16
- package/lib/helpers/formatters/common.ts +2 -1
- package/lib/helpers/formatters/index.ts +2 -4
- package/lib/infra/Assignment/Assignment.tsx +2 -6
- package/lib/infra/Containers/FlowContainer/FlowContainer.tsx +5 -18
- package/lib/infra/Containers/FlowContainer/helpers.ts +1 -5
- package/lib/infra/Containers/ModalViewContainer/ListViewActionButtons/ListViewActionButtons.tsx +7 -2
- package/lib/infra/Containers/SimpleView/helper.ts +1 -1
- package/lib/infra/DashboardFilter/DashboardFilter.tsx +2 -3
- package/lib/infra/DashboardFilter/filterUtils.tsx +1 -3
- package/lib/infra/DeferLoad/DeferLoad.tsx +5 -5
- package/lib/infra/MultiStep/MultiStep.tsx +1 -6
- package/lib/infra/RootContainer/RootContainer.tsx +1 -1
- package/lib/template/AppShell/AppShell.tsx +6 -6
- package/lib/template/CaseView/CaseView.tsx +5 -4
- package/lib/template/Confirmation/Confirmation.tsx +1 -1
- package/lib/template/Details/DynamicTabs/DynamicTabs.tsx +0 -1
- package/lib/template/FieldGroupTemplate/FieldGroupTemplate.tsx +0 -2
- package/lib/template/ListView/ListView.tsx +10 -9
- package/lib/template/ListView/utils.ts +0 -1
- package/lib/template/PromotedFilters/PromotedFilters.tsx +0 -1
- package/lib/template/SimpleTable/SimpleTable/SimpleTable.tsx +0 -2
- package/lib/template/SimpleTable/SimpleTableManual/SimpleTableManual.tsx +71 -56
- package/lib/template/SimpleTable/SimpleTableSelect/SimpleTableSelect.tsx +2 -4
- package/lib/widget/Attachment/Attachment.css +1 -0
- package/lib/widget/Attachment/Attachment.tsx +2 -7
- package/lib/widget/FileUtility/FileUtility/FileUtility.tsx +1 -1
- package/lib/widget/QuickCreate/QuickCreate.tsx +0 -1
- package/lib/widget/SummaryItem/SummaryItem.tsx +1 -1
- package/lib/widget/ToDo/ToDo.tsx +1 -1
- package/package.json +1 -1
- /package/lib/infra/Containers/{helpers.ts → container-helpers.ts} +0 -0
|
@@ -512,7 +512,7 @@ export default function FileUtility(props: FileUtilityProps) {
|
|
|
512
512
|
>
|
|
513
513
|
<MoreVertIcon />
|
|
514
514
|
</IconButton>
|
|
515
|
-
<Menu
|
|
515
|
+
<Menu id='simple-menu' anchorEl={anchorEl} keepMounted open={Boolean(anchorEl)} onClose={handleClose}>
|
|
516
516
|
<MenuItem style={{ fontSize: '14px' }} onClick={onAddFilesClick}>
|
|
517
517
|
{thePConn.getLocalizedValue('Add files', '', '')}
|
|
518
518
|
</MenuItem>{' '}
|
|
@@ -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
|
|
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}>
|
package/lib/widget/ToDo/ToDo.tsx
CHANGED
|
@@ -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
|
File without changes
|