@pega/dx-component-builder-sdk 0.23.14 → 0.23.15
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/package.json +1 -1
- package/src/constants.js +8 -0
- package/src/tasks/create/templates/SDK-Angular/field/Boolean/boolean.component.html.mustache +5 -1
- package/src/tasks/create/templates/SDK-Angular/field/Boolean/boolean.component.ts.mustache +6 -0
- package/src/tasks/create/templates/SDK-Angular/field/Date/date.component.html.mustache +5 -1
- package/src/tasks/create/templates/SDK-Angular/field/Date/date.component.ts.mustache +7 -0
- package/src/tasks/create/templates/SDK-Angular/template/DETAILS/details.component.ts.mustache +2 -1
- package/src/tasks/create/templates/SDK-Angular/template/FORM/form.component.scss.mustache +14 -5
- package/src/tasks/create/templates/SDK-React/field/Boolean/demo.stories.tsx.mustache +8 -4
- package/src/tasks/create/templates/SDK-React/field/Date/demo.stories.tsx.mustache +17 -15
- package/src/tasks/create/templates/SDK-React/field/DateTime/demo.stories.tsx.mustache +15 -14
- package/src/tasks/create/templates/SDK-React/field/Decimal/demo.stories.tsx.mustache +15 -14
- package/src/tasks/create/templates/SDK-React/field/Decimal/index.tsx.mustache +1 -1
- package/src/tasks/create/templates/SDK-React/field/Decimal-Currency/demo.stories.tsx.mustache +14 -12
- package/src/tasks/create/templates/SDK-React/field/Decimal-Percentage/demo.stories.tsx.mustache +2 -2
- package/src/tasks/create/templates/SDK-React/field/Integer/demo.stories.tsx.mustache +3 -3
- package/src/tasks/create/templates/SDK-React/field/Picklist/demo.stories.tsx.mustache +2 -3
- package/src/tasks/create/templates/SDK-React/field/Picklist-Autocomplete/demo.stories.tsx.mustache +3 -3
- package/src/tasks/create/templates/SDK-React/field/Picklist-RadioButtons/demo.stories.tsx.mustache +6 -4
- package/src/tasks/create/templates/SDK-React/field/Text/demo.stories.tsx.mustache +8 -4
- package/src/tasks/create/templates/SDK-React/field/Text-Email/demo.stories.tsx.mustache +8 -4
- package/src/tasks/create/templates/SDK-React/field/Text-Input/demo.stories.tsx.mustache +8 -4
- package/src/tasks/create/templates/SDK-React/field/Text-Paragraph/demo.stories.tsx.mustache +8 -5
- package/src/tasks/create/templates/SDK-React/field/Text-Phone/demo.stories.tsx.mustache +6 -4
- package/src/tasks/create/templates/SDK-React/field/Text-URL/demo.stories.tsx.mustache +8 -4
- package/src/tasks/create/templates/SDK-React/field/TimeOfDay/demo.stories.tsx.mustache +6 -4
- package/src/tasks/create/templates/SDK-React/template/DETAILS/demo.stories.tsx.mustache +22 -22
- package/src/tasks/create/templates/SDK-React/template/DETAILS-region/demo.stories.tsx.mustache +17 -17
- package/src/tasks/create/templates/SDK-React/template/FORM/demo.stories.tsx.mustache +30 -18
- package/src/tasks/create/templates/SDK-React/template/FORM-region/demo.stories.tsx.mustache +50 -24
- package/src/tasks/create/templates/SDK-React/template/PAGE/demo.stories.tsx.mustache +37 -21
- package/src/tasks/create/templates/SDK-React/widget/CASE/demo.stories.tsx.mustache +22 -10
- package/src/tasks/create/templates/SDK-React/widget/PAGE/demo.stories.tsx.mustache +3 -4
- package/src/tasks/create/templates/SDK-React/widget/PAGE-CASE/demo.stories.tsx.mustache +21 -9
- package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/field-group/field-group.component.html +21 -0
- package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/field-group/field-group.component.scss +18 -0
- package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/field-group/field-group.component.spec.ts +21 -0
- package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/field-group/field-group.component.ts +24 -0
- package/tests/assets/sdk-a/components/create/override-sdk/designSystemExtension/material-details-fields/material-details-fields.component.html +8 -2
- package/tests/assets/sdk-a/components/create/override-sdk/field/check-box/check-box.component.html +5 -1
- package/tests/assets/sdk-a/components/create/override-sdk/field/check-box/check-box.component.ts +6 -0
- package/tests/assets/sdk-a/components/create/override-sdk/field/date/date.component.html +5 -1
- package/tests/assets/sdk-a/components/create/override-sdk/field/date/date.component.ts +7 -0
- package/tests/assets/sdk-a/components/create/override-sdk/field/group/config-ext.json +8 -0
- package/tests/assets/sdk-a/components/create/override-sdk/field/group/group.component.html +25 -0
- package/tests/assets/sdk-a/components/create/override-sdk/field/group/group.component.scss +0 -0
- package/tests/assets/sdk-a/components/create/override-sdk/field/group/group.component.spec.ts +21 -0
- package/tests/assets/sdk-a/components/create/override-sdk/field/group/group.component.ts +84 -0
- package/tests/assets/sdk-a/components/create/override-sdk/template/app-shell/app-shell.component.ts +2 -2
- package/tests/assets/sdk-a/components/create/override-sdk/template/case-view/case-view.component.ts +1 -1
- package/tests/assets/sdk-a/components/create/override-sdk/template/default-form/default-form.component.scss +9 -5
- package/tests/assets/sdk-a/components/create/override-sdk/template/details/details.component.ts +2 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-boolean/pega-dxil-my-boolean.component.html +5 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-boolean/pega-dxil-my-boolean.component.ts +6 -0
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-date/pega-dxil-my-date.component.html +5 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/field/pega-dxil-my-date/pega-dxil-my-date.component.ts +7 -0
- package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-details/pega-dxil-my-details.component.ts +2 -1
- package/tests/assets/sdk-a/components/createAll/custom-sdk/template/pega-dxil-my-form/pega-dxil-my-form.component.scss +14 -5
- package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/field-group/field-group.component.html +21 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/field-group/field-group.component.scss +18 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/field-group/field-group.component.spec.ts +21 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/field-group/field-group.component.ts +24 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/designSystemExtension/material-details-fields/material-details-fields.component.html +8 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/check-box/check-box.component.html +5 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/check-box/check-box.component.ts +6 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/date/date.component.html +5 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/date/date.component.ts +7 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/group/config-ext.json +8 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/group/group.component.html +25 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/group/group.component.scss +0 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/group/group.component.spec.ts +21 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/field/group/group.component.ts +84 -0
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/app-shell/app-shell.component.ts +2 -2
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/case-view/case-view.component.ts +1 -1
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/default-form/default-form.component.scss +9 -5
- package/tests/assets/sdk-a/components/createAll/override-sdk/template/details/details.component.ts +2 -1
- package/tests/assets/sdk-r/components/create/custom-sdk/field/Pega_DXIL_MyTestText/demo.stories.tsx +8 -4
- package/tests/assets/sdk-r/components/create/custom-sdk/field/Pega_DXIL_MyTestText/index.tsx +15 -16
- package/tests/assets/sdk-r/components/create/override-sdk/designSystemExtension/FieldGroup/FieldGroup.tsx +35 -6
- package/tests/assets/sdk-r/components/create/override-sdk/field/Checkbox/Checkbox.tsx +7 -4
- package/tests/assets/sdk-r/components/create/override-sdk/field/Group/Group.tsx +37 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Group/config-ext.json +8 -0
- package/tests/assets/sdk-r/components/create/override-sdk/field/Group/index.tsx +1 -0
- package/tests/assets/sdk-r/components/create/override-sdk/template/CaseViewActionsMenu/CaseViewActionsMenu.tsx +14 -1
- package/tests/assets/sdk-r/components/create/override-sdk/template/DefaultForm/DefaultForm.css +6 -2
- package/tests/assets/sdk-r/components/create/override-sdk/template/SimpleTableManual/SimpleTableManual.tsx +19 -1
- package/tests/assets/sdk-r/components/create/override-sdk/widget/FileUtility/FileUtility.tsx +22 -16
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTestText/PConnProps.d.ts +46 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTestText/demo.stories.tsx +54 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTestText/index.tsx +73 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTestText/mock.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-constellation/field/Pega_DXIL_MyTestText/styles.ts +15 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyBoolean/demo.stories.tsx +8 -4
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyBoolean/index.tsx +23 -21
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyCurrency/demo.stories.tsx +14 -12
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyCurrency/index.tsx +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDate/demo.stories.tsx +17 -15
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDate/index.tsx +21 -23
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDateTime/demo.stories.tsx +15 -14
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDateTime/index.tsx +20 -22
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDecimal/demo.stories.tsx +15 -14
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyDecimal/index.tsx +1 -2
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyEmail/demo.stories.tsx +8 -4
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyEmail/index.tsx +23 -24
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyInteger/demo.stories.tsx +3 -3
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyInteger/index.tsx +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyParagraph/demo.stories.tsx +8 -5
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyParagraph/index.tsx +18 -19
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPercentage/demo.stories.tsx +2 -2
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPercentage/index.tsx +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPhone/demo.stories.tsx +6 -4
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPhone/index.tsx +33 -34
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPicklist/demo.stories.tsx +2 -3
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyPicklist/index.tsx +0 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyRadiobuttons/demo.stories.tsx +6 -4
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyRadiobuttons/index.tsx +22 -23
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MySearchbox/demo.stories.tsx +3 -3
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MySearchbox/index.tsx +28 -29
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTestText/config.json +83 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTestText/demo.stories.tsx +59 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTestText/index.tsx +101 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTestText/mock.ts +16 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTestText/styles.js +7 -0
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyText/demo.stories.tsx +8 -4
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyText/index.tsx +15 -16
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTextInput/demo.stories.tsx +8 -4
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTextInput/index.tsx +15 -16
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTimeOfDay/demo.stories.tsx +6 -4
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyTimeOfDay/index.tsx +1 -2
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyURL/demo.stories.tsx +8 -4
- package/tests/assets/sdk-r/components/createAll/custom-sdk/field/Pega_DXIL_MyURL/index.tsx +16 -17
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyDetails/demo.stories.tsx +22 -22
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyDetails/index.tsx +16 -17
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyForm/demo.stories.tsx +56 -18
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyForm/index.tsx +3 -4
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyPage/demo.stories.tsx +37 -21
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyPage/index.tsx +4 -5
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnDetails/demo.stories.tsx +17 -17
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnDetails/index.tsx +16 -17
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnForm/demo.stories.tsx +50 -24
- package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyTwoColumnForm/index.tsx +8 -9
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyCaseWidget/demo.stories.tsx +22 -10
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyCaseWidget/index.tsx +10 -11
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageCaseWidget/demo.stories.tsx +21 -9
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageCaseWidget/index.tsx +34 -34
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageWidget/demo.stories.tsx +3 -4
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageWidget/index.tsx +23 -24
- package/tests/assets/sdk-r/components/createAll/override-sdk/designSystemExtension/FieldGroup/FieldGroup.tsx +35 -6
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Checkbox/Checkbox.tsx +7 -4
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Group/Group.tsx +37 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Group/config-ext.json +8 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/field/Group/index.tsx +1 -0
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/CaseViewActionsMenu/CaseViewActionsMenu.tsx +14 -1
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/DefaultForm/DefaultForm.css +6 -2
- package/tests/assets/sdk-r/components/createAll/override-sdk/template/SimpleTableManual/SimpleTableManual.tsx +19 -1
- package/tests/assets/sdk-r/components/createAll/override-sdk/widget/FileUtility/FileUtility.tsx +22 -16
|
@@ -11,7 +11,6 @@ interface PegaDxilMyUrlProps extends PConnFieldProps {
|
|
|
11
11
|
// Duplicated runtime code from React SDK
|
|
12
12
|
|
|
13
13
|
// props passed in combination of props from property panel (config.json) and run time props from Constellation
|
|
14
|
-
// any default values in config.pros should be set in defaultProps at bottom of this file
|
|
15
14
|
export default function PegaDxilMyUrl(props: PegaDxilMyUrlProps) {
|
|
16
15
|
// Get emitted components from map (so we can get any override that may exist)
|
|
17
16
|
const FieldValueList = getComponentFromMap('FieldValueList');
|
|
@@ -55,22 +54,22 @@ export default function PegaDxilMyUrl(props: PegaDxilMyUrlProps) {
|
|
|
55
54
|
|
|
56
55
|
return (
|
|
57
56
|
<StyledPegaDxilMyUrlWrapper>
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
57
|
+
<TextField
|
|
58
|
+
type='url'
|
|
59
|
+
fullWidth
|
|
60
|
+
variant='outlined'
|
|
61
|
+
helperText={helperTextToDisplay}
|
|
62
|
+
placeholder={placeholder ?? ''}
|
|
63
|
+
size='small'
|
|
64
|
+
required={required}
|
|
65
|
+
disabled={disabled}
|
|
66
|
+
onChange={onChange}
|
|
67
|
+
onBlur={!readOnly ? onBlur : undefined}
|
|
68
|
+
error={status === 'error'}
|
|
69
|
+
label={label}
|
|
70
|
+
value={value}
|
|
71
|
+
InputProps={{ inputProps: { ...testProp } }}
|
|
72
|
+
/>
|
|
74
73
|
</StyledPegaDxilMyUrlWrapper>
|
|
75
74
|
);
|
|
76
75
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
2
|
|
|
3
|
-
import PegaDxilMyDetails from
|
|
4
|
-
import operatorDetails, { pyReviewRaw } from
|
|
3
|
+
import PegaDxilMyDetails from './index';
|
|
4
|
+
import operatorDetails, { pyReviewRaw } from './mock';
|
|
5
5
|
|
|
6
6
|
const meta: Meta<typeof PegaDxilMyDetails> = {
|
|
7
7
|
title: 'PegaDxilMyDetails',
|
|
@@ -20,28 +20,28 @@ window.PCore = {
|
|
|
20
20
|
getUserApi: (): any => {
|
|
21
21
|
return {
|
|
22
22
|
getOperatorDetails: () => {
|
|
23
|
-
return new Promise(
|
|
23
|
+
return new Promise(resolve => {
|
|
24
24
|
resolve(operatorDetails);
|
|
25
25
|
});
|
|
26
|
-
}
|
|
26
|
+
}
|
|
27
27
|
};
|
|
28
28
|
},
|
|
29
29
|
getEnvironmentInfo: (): any => {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}
|
|
30
|
+
return {
|
|
31
|
+
getUseLocale: () => {
|
|
32
|
+
return 'en-GB';
|
|
33
|
+
},
|
|
34
|
+
getLocale: () => {
|
|
35
|
+
return 'en-GB';
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
39
|
};
|
|
40
40
|
|
|
41
|
-
export const BasePegaDxilMyDetails: Story =
|
|
41
|
+
export const BasePegaDxilMyDetails: Story = args => {
|
|
42
42
|
const props = {
|
|
43
|
-
NumCols:
|
|
44
|
-
template:
|
|
43
|
+
NumCols: '1',
|
|
44
|
+
template: 'DefaultForm',
|
|
45
45
|
showHighlightedData: false,
|
|
46
46
|
getPConnect: () => {
|
|
47
47
|
return {
|
|
@@ -57,21 +57,21 @@ export const BasePegaDxilMyDetails: Story = (args) => {
|
|
|
57
57
|
getInheritedProps: () => {
|
|
58
58
|
return pyReviewRaw.config.inheritedProps;
|
|
59
59
|
},
|
|
60
|
-
|
|
60
|
+
|
|
61
61
|
setInheritedProp: () => {
|
|
62
62
|
/* nothing */
|
|
63
63
|
},
|
|
64
64
|
resolveConfigProps: () => {
|
|
65
65
|
/* nothing */
|
|
66
|
-
}
|
|
66
|
+
}
|
|
67
67
|
};
|
|
68
|
-
}
|
|
68
|
+
}
|
|
69
69
|
};
|
|
70
70
|
|
|
71
71
|
return <PegaDxilMyDetails {...props} {...args} />;
|
|
72
72
|
};
|
|
73
73
|
|
|
74
74
|
BasePegaDxilMyDetails.args = {
|
|
75
|
-
label:
|
|
76
|
-
showLabel: true
|
|
77
|
-
}
|
|
75
|
+
label: 'Details',
|
|
76
|
+
showLabel: true
|
|
77
|
+
};
|
package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyDetails/index.tsx
CHANGED
|
@@ -15,7 +15,6 @@ interface PegaDxilMyDetailsProps extends PConnProps {
|
|
|
15
15
|
}
|
|
16
16
|
// Duplicated runtime code from React SDK
|
|
17
17
|
// props passed in combination of props from property panel (config.json) and run time props from Constellation
|
|
18
|
-
// any default values in config.pros should be set in defaultProps at bottom of this file
|
|
19
18
|
export default function PegaDxilMyDetails(props: PegaDxilMyDetailsProps) {
|
|
20
19
|
// Get emitted components from map (so we can get any override that may exist)
|
|
21
20
|
const FieldGroup = getComponentFromMap('FieldGroup');
|
|
@@ -55,25 +54,25 @@ export default function PegaDxilMyDetails(props: PegaDxilMyDetailsProps) {
|
|
|
55
54
|
}
|
|
56
55
|
|
|
57
56
|
return (
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
57
|
+
<StyledPegaDxilMyDetailsWrapper>
|
|
58
|
+
<FieldGroup name={propsToUse.showLabel ? propsToUse.label : ''}>
|
|
59
|
+
{showHighlightedData && highlightedDataArr.length > 0 && (
|
|
60
|
+
<Grid container spacing={1} style={{ padding: '0 0 1em' }}>
|
|
61
|
+
{highlightedDataArr.map((child, i) => (
|
|
62
|
+
<Grid item xs={12} key={`hf-${i + 1}`}>
|
|
63
|
+
{child}
|
|
64
|
+
</Grid>
|
|
65
|
+
))}
|
|
66
|
+
</Grid>
|
|
67
|
+
)}
|
|
68
|
+
<Grid container spacing={1}>
|
|
69
|
+
{children.map((child, i) => (
|
|
70
|
+
<Grid item xs={12} key={`r-${i + 1}`}>
|
|
64
71
|
{child}
|
|
65
72
|
</Grid>
|
|
66
73
|
))}
|
|
67
74
|
</Grid>
|
|
68
|
-
|
|
69
|
-
<Grid container spacing={1}>
|
|
70
|
-
{children.map((child, i) => (
|
|
71
|
-
<Grid item xs={12} key={`r-${i + 1}`}>
|
|
72
|
-
{child}
|
|
73
|
-
</Grid>
|
|
74
|
-
))}
|
|
75
|
-
</Grid>
|
|
76
|
-
</FieldGroup>
|
|
75
|
+
</FieldGroup>
|
|
77
76
|
</StyledPegaDxilMyDetailsWrapper>
|
|
78
77
|
);
|
|
79
|
-
}
|
|
78
|
+
}
|
|
@@ -11,16 +11,16 @@ window.PCore = {
|
|
|
11
11
|
getGenericFailedMessage() {
|
|
12
12
|
/* nothing */
|
|
13
13
|
}
|
|
14
|
-
}
|
|
14
|
+
};
|
|
15
15
|
},
|
|
16
16
|
getConstants: (): any => {
|
|
17
17
|
return {
|
|
18
18
|
CASE_INFO: {
|
|
19
|
-
INSTRUCTIONS:
|
|
19
|
+
INSTRUCTIONS: ''
|
|
20
20
|
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
24
|
|
|
25
25
|
const meta: Meta<typeof PegaDxilMyForm> = {
|
|
26
26
|
title: 'PegaDxilMyForm',
|
|
@@ -34,7 +34,7 @@ const meta: Meta<typeof PegaDxilMyForm> = {
|
|
|
34
34
|
export default meta;
|
|
35
35
|
type Story = StoryObj<typeof PegaDxilMyForm>;
|
|
36
36
|
|
|
37
|
-
export const BasePegaDxilMyForm: Story =
|
|
37
|
+
export const BasePegaDxilMyForm: Story = args => {
|
|
38
38
|
|
|
39
39
|
const [firstName, setFirstName] = useState('John');
|
|
40
40
|
const [middleName, setMiddleName] = useState('');
|
|
@@ -44,10 +44,10 @@ export const BasePegaDxilMyForm: Story = (args) => {
|
|
|
44
44
|
const [email, setEmail] = useState('john@doe.com');
|
|
45
45
|
|
|
46
46
|
const props = {
|
|
47
|
-
NumCols:
|
|
47
|
+
NumCols: '1',
|
|
48
48
|
template: 'DefaultForm',
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
getPConnect: () => {
|
|
51
51
|
return {
|
|
52
52
|
getChildren: () => {
|
|
53
53
|
return [
|
|
@@ -69,12 +69,19 @@ export const BasePegaDxilMyForm: Story = (args) => {
|
|
|
69
69
|
return {
|
|
70
70
|
getActionsApi: () => {
|
|
71
71
|
return {
|
|
72
|
-
updateFieldValue: () => {
|
|
73
|
-
|
|
72
|
+
updateFieldValue: () => {
|
|
73
|
+
/* nothing */
|
|
74
|
+
},
|
|
75
|
+
triggerFieldChange: () => {
|
|
76
|
+
/* nothing */
|
|
77
|
+
}
|
|
74
78
|
};
|
|
75
79
|
},
|
|
76
80
|
getStateProps: () => {
|
|
77
81
|
return { value: '.firstname' };
|
|
82
|
+
},
|
|
83
|
+
getComputedVisibility: () => {
|
|
84
|
+
return true;
|
|
78
85
|
}
|
|
79
86
|
};
|
|
80
87
|
}
|
|
@@ -92,12 +99,19 @@ export const BasePegaDxilMyForm: Story = (args) => {
|
|
|
92
99
|
return {
|
|
93
100
|
getActionsApi: () => {
|
|
94
101
|
return {
|
|
95
|
-
updateFieldValue: () => {
|
|
96
|
-
|
|
102
|
+
updateFieldValue: () => {
|
|
103
|
+
/* nothing */
|
|
104
|
+
},
|
|
105
|
+
triggerFieldChange: () => {
|
|
106
|
+
/* nothing */
|
|
107
|
+
}
|
|
97
108
|
};
|
|
98
109
|
},
|
|
99
110
|
getStateProps: () => {
|
|
100
111
|
return { value: '.middlename' };
|
|
112
|
+
},
|
|
113
|
+
getComputedVisibility: () => {
|
|
114
|
+
return true;
|
|
101
115
|
}
|
|
102
116
|
};
|
|
103
117
|
}
|
|
@@ -117,12 +131,19 @@ export const BasePegaDxilMyForm: Story = (args) => {
|
|
|
117
131
|
return {
|
|
118
132
|
getActionsApi: () => {
|
|
119
133
|
return {
|
|
120
|
-
updateFieldValue: () => {
|
|
121
|
-
|
|
134
|
+
updateFieldValue: () => {
|
|
135
|
+
/* nothing */
|
|
136
|
+
},
|
|
137
|
+
triggerFieldChange: () => {
|
|
138
|
+
/* nothing */
|
|
139
|
+
}
|
|
122
140
|
};
|
|
123
141
|
},
|
|
124
142
|
getStateProps: () => {
|
|
125
143
|
return { value: '.lastname' };
|
|
144
|
+
},
|
|
145
|
+
getComputedVisibility: () => {
|
|
146
|
+
return true;
|
|
126
147
|
}
|
|
127
148
|
};
|
|
128
149
|
}
|
|
@@ -157,6 +178,13 @@ export const BasePegaDxilMyForm: Story = (args) => {
|
|
|
157
178
|
},
|
|
158
179
|
onBlur: () => {
|
|
159
180
|
/* nothing */
|
|
181
|
+
},
|
|
182
|
+
getPConnect: () => {
|
|
183
|
+
return {
|
|
184
|
+
getComputedVisibility: () => {
|
|
185
|
+
return true;
|
|
186
|
+
}
|
|
187
|
+
};
|
|
160
188
|
}
|
|
161
189
|
},
|
|
162
190
|
|
|
@@ -212,6 +240,9 @@ export const BasePegaDxilMyForm: Story = (args) => {
|
|
|
212
240
|
return {
|
|
213
241
|
value: ''
|
|
214
242
|
};
|
|
243
|
+
},
|
|
244
|
+
getComputedVisibility: () => {
|
|
245
|
+
return true;
|
|
215
246
|
}
|
|
216
247
|
};
|
|
217
248
|
},
|
|
@@ -228,6 +259,13 @@ export const BasePegaDxilMyForm: Story = (args) => {
|
|
|
228
259
|
hasSuggestions: false,
|
|
229
260
|
onChange: val => {
|
|
230
261
|
setEmail(val.target.value);
|
|
262
|
+
},
|
|
263
|
+
getPConnect: () => {
|
|
264
|
+
return {
|
|
265
|
+
getComputedVisibility: () => {
|
|
266
|
+
return true;
|
|
267
|
+
}
|
|
268
|
+
};
|
|
231
269
|
}
|
|
232
270
|
}
|
|
233
271
|
];
|
|
@@ -237,14 +275,14 @@ export const BasePegaDxilMyForm: Story = (args) => {
|
|
|
237
275
|
}
|
|
238
276
|
];
|
|
239
277
|
},
|
|
240
|
-
getValue:
|
|
278
|
+
getValue: val => {
|
|
241
279
|
return val;
|
|
242
280
|
},
|
|
243
281
|
getCurrentView: () => {
|
|
244
|
-
return
|
|
282
|
+
return '';
|
|
245
283
|
},
|
|
246
284
|
getCurrentClassID: () => {
|
|
247
|
-
return
|
|
285
|
+
return '';
|
|
248
286
|
}
|
|
249
287
|
};
|
|
250
288
|
}
|
|
@@ -253,4 +291,4 @@ export const BasePegaDxilMyForm: Story = (args) => {
|
|
|
253
291
|
return <PegaDxilMyForm {...props} {...args} />;
|
|
254
292
|
};
|
|
255
293
|
|
|
256
|
-
BasePegaDxilMyForm.args = {}
|
|
294
|
+
BasePegaDxilMyForm.args = {};
|
package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyForm/index.tsx
CHANGED
|
@@ -25,7 +25,6 @@ const Child = connectToState(mapStateToProps)(props => {
|
|
|
25
25
|
// Duplicated runtime code from React SDK
|
|
26
26
|
|
|
27
27
|
// props passed in combination of props from property panel (config.json) and run time props from Constellation
|
|
28
|
-
// any default values in config.pros should be set in defaultProps at bottom of this file
|
|
29
28
|
export default function PegaDxilMyForm(props: PropsWithChildren<PegaDxilMyFormProps>) {
|
|
30
29
|
const { getPConnect, NumCols = '1' } = props;
|
|
31
30
|
const instructions = getInstructions(getPConnect(), props.instructions);
|
|
@@ -63,8 +62,8 @@ export default function PegaDxilMyForm(props: PropsWithChildren<PegaDxilMyFormPr
|
|
|
63
62
|
<div className='psdk-default-form-instruction-text'>
|
|
64
63
|
{/* server performs sanitization method for instructions html content */}
|
|
65
64
|
{/* eslint-disable react/no-danger */}
|
|
66
|
-
<div key='instructions' id='instruction-text'
|
|
67
|
-
dangerouslySetInnerHTML={{ __html: instructions }}
|
|
65
|
+
<div key='instructions' id='instruction-text'
|
|
66
|
+
dangerouslySetInnerHTML={{ __html: instructions }}
|
|
68
67
|
/>
|
|
69
68
|
</div>
|
|
70
69
|
)}
|
|
@@ -72,4 +71,4 @@ export default function PegaDxilMyForm(props: PropsWithChildren<PegaDxilMyFormPr
|
|
|
72
71
|
</>
|
|
73
72
|
</StyledPegaDxilMyFormWrapper>
|
|
74
73
|
);
|
|
75
|
-
}
|
|
74
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable react/no-unstable-nested-components */
|
|
2
2
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
3
|
|
|
4
|
-
import AppAnnouncement from
|
|
4
|
+
import AppAnnouncement from '@pega/react-sdk-components/lib/components/widget/AppAnnouncement';
|
|
5
5
|
|
|
6
6
|
import PegaDxilMyPage from './index';
|
|
7
7
|
import { pyHome1Resolved, pyHome1Raw } from './mock';
|
|
@@ -15,8 +15,7 @@ const meta: Meta<typeof PegaDxilMyPage> = {
|
|
|
15
15
|
export default meta;
|
|
16
16
|
type Story = StoryObj<typeof PegaDxilMyPage>;
|
|
17
17
|
|
|
18
|
-
export const BasePegaDxilMyPage: Story =
|
|
19
|
-
|
|
18
|
+
export const BasePegaDxilMyPage: Story = args => {
|
|
20
19
|
const configProps = pyHome1Resolved.children[0].children[0].config;
|
|
21
20
|
|
|
22
21
|
const props = {
|
|
@@ -32,8 +31,12 @@ export const BasePegaDxilMyPage: Story = (args) => {
|
|
|
32
31
|
resolve({});
|
|
33
32
|
});
|
|
34
33
|
},
|
|
35
|
-
updateFieldValue: () => {
|
|
36
|
-
|
|
34
|
+
updateFieldValue: () => {
|
|
35
|
+
/* nothing */
|
|
36
|
+
},
|
|
37
|
+
triggerFieldChange: () => {
|
|
38
|
+
/* nothing */
|
|
39
|
+
}
|
|
37
40
|
};
|
|
38
41
|
},
|
|
39
42
|
getChildren: () => {
|
|
@@ -49,31 +52,44 @@ export const BasePegaDxilMyPage: Story = (args) => {
|
|
|
49
52
|
return pyHome1Raw;
|
|
50
53
|
},
|
|
51
54
|
createComponent: config => {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
55
|
+
if (config.type === 'AppAnnouncement') {
|
|
56
|
+
return (
|
|
57
|
+
<AppAnnouncement
|
|
58
|
+
key='announcement'
|
|
59
|
+
header='Announcements'
|
|
60
|
+
description={configProps.description}
|
|
61
|
+
datasource={configProps.datasource}
|
|
62
|
+
whatsnewlink={configProps.whatsnewlink}
|
|
63
|
+
getPConnect={(): typeof PConnect => ({}) as typeof PConnect}
|
|
64
|
+
/>
|
|
65
|
+
);
|
|
62
66
|
}
|
|
63
67
|
},
|
|
64
|
-
ignoreSuggestion: () => {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
+
ignoreSuggestion: () => {
|
|
69
|
+
/* nothing */
|
|
70
|
+
},
|
|
71
|
+
acceptSuggestion: () => {
|
|
72
|
+
/* nothing */
|
|
73
|
+
},
|
|
74
|
+
setInheritedProps: () => {
|
|
75
|
+
/* nothing */
|
|
76
|
+
},
|
|
77
|
+
resolveConfigProps: () => {
|
|
78
|
+
/* nothing */
|
|
79
|
+
}
|
|
68
80
|
};
|
|
69
81
|
}
|
|
70
82
|
};
|
|
71
83
|
|
|
72
84
|
const regionAChildren = pyHome1Raw.children[0].children.map(child => {
|
|
73
|
-
|
|
85
|
+
return props.getPConnect().createComponent(child);
|
|
74
86
|
});
|
|
75
87
|
|
|
76
|
-
return
|
|
88
|
+
return (
|
|
89
|
+
<PegaDxilMyPage {...props} {...args}>
|
|
90
|
+
{regionAChildren}
|
|
91
|
+
</PegaDxilMyPage>
|
|
92
|
+
);
|
|
77
93
|
};
|
|
78
94
|
|
|
79
95
|
BasePegaDxilMyPage.args = {};
|
package/tests/assets/sdk-r/components/createAll/custom-sdk/template/Pega_DXIL_MyPage/index.tsx
CHANGED
|
@@ -14,16 +14,15 @@ interface PegaDxilMyPageProps extends PConnProps {
|
|
|
14
14
|
// Duplicated runtime code from React SDK
|
|
15
15
|
|
|
16
16
|
// props passed in combination of props from property panel (config.json) and run time props from Constellation
|
|
17
|
-
// any default values in config.pros should be set in defaultProps at bottom of this file
|
|
18
17
|
export default function PegaDxilMyPage(props: PegaDxilMyPageProps) {
|
|
19
18
|
// Get emitted components from map (so we can get any override that may exist)
|
|
20
19
|
const OneColumn = getComponentFromMap('OneColumn');
|
|
21
20
|
|
|
22
21
|
return (
|
|
23
22
|
<StyledPegaDxilMyPageWrapper>
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
<OneColumn
|
|
24
|
+
{...props}
|
|
25
|
+
/>
|
|
27
26
|
</StyledPegaDxilMyPageWrapper>
|
|
28
27
|
);
|
|
29
|
-
}
|
|
28
|
+
}
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
2
|
|
|
3
|
-
import PegaDxilMyTwoColumnDetails from
|
|
4
|
-
import operatorDetails, { pyReviewRaw } from
|
|
3
|
+
import PegaDxilMyTwoColumnDetails from './index';
|
|
4
|
+
import operatorDetails, { pyReviewRaw } from './mock';
|
|
5
5
|
|
|
6
6
|
window.PCore = {
|
|
7
7
|
...window.PCore,
|
|
8
8
|
getUserApi: (): any => {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
return new Promise(resolve => {
|
|
10
|
+
resolve(operatorDetails);
|
|
11
|
+
});
|
|
12
12
|
},
|
|
13
13
|
getEnvironmentInfo: (): any => {
|
|
14
14
|
return {
|
|
15
15
|
getUseLocale: () => {
|
|
16
|
-
return
|
|
16
|
+
return 'en-US';
|
|
17
17
|
},
|
|
18
18
|
getLocale: () => {
|
|
19
19
|
return 'en-GB';
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
|
-
}
|
|
23
|
+
};
|
|
24
24
|
|
|
25
25
|
const meta: Meta<typeof PegaDxilMyTwoColumnDetails> = {
|
|
26
26
|
title: 'PegaDxilMyTwoColumnDetails',
|
|
27
27
|
component: PegaDxilMyTwoColumnDetails,
|
|
28
28
|
excludeStories: /.*Data$/,
|
|
29
29
|
parameters: {
|
|
30
|
-
type:
|
|
31
|
-
}
|
|
30
|
+
type: 'DetailsRegion'
|
|
31
|
+
}
|
|
32
32
|
};
|
|
33
33
|
|
|
34
34
|
export default meta;
|
|
35
35
|
type Story = StoryObj<typeof PegaDxilMyTwoColumnDetails>;
|
|
36
36
|
|
|
37
|
-
export const BasePegaDxilMyTwoColumnDetails: Story =
|
|
37
|
+
export const BasePegaDxilMyTwoColumnDetails: Story = args => {
|
|
38
38
|
const props = {
|
|
39
|
-
NumCols:
|
|
40
|
-
template:
|
|
39
|
+
NumCols: '2',
|
|
40
|
+
template: 'DefaultForm',
|
|
41
41
|
getPConnect: () => {
|
|
42
42
|
return {
|
|
43
43
|
getChildren: () => {
|
|
@@ -57,9 +57,9 @@ export const BasePegaDxilMyTwoColumnDetails: Story = (args) => {
|
|
|
57
57
|
},
|
|
58
58
|
resolveConfigProps: () => {
|
|
59
59
|
/* nothing */
|
|
60
|
-
}
|
|
60
|
+
}
|
|
61
61
|
};
|
|
62
|
-
}
|
|
62
|
+
}
|
|
63
63
|
};
|
|
64
64
|
|
|
65
65
|
return <PegaDxilMyTwoColumnDetails {...props} {...args} />;
|
|
@@ -67,6 +67,6 @@ export const BasePegaDxilMyTwoColumnDetails: Story = (args) => {
|
|
|
67
67
|
|
|
68
68
|
BasePegaDxilMyTwoColumnDetails.args = {
|
|
69
69
|
showHighlightedData: false,
|
|
70
|
-
label:
|
|
71
|
-
showLabel: true
|
|
72
|
-
}
|
|
70
|
+
label: 'Details Region',
|
|
71
|
+
showLabel: true
|
|
72
|
+
};
|
|
@@ -15,7 +15,6 @@ interface PegaDxilMyTwoColumnDetailsProps extends PConnProps {
|
|
|
15
15
|
}
|
|
16
16
|
// Duplicated runtime code from React SDK
|
|
17
17
|
// props passed in combination of props from property panel (config.json) and run time props from Constellation
|
|
18
|
-
// any default values in config.pros should be set in defaultProps at bottom of this file
|
|
19
18
|
export default function PegaDxilMyTwoColumnDetails(props: PegaDxilMyTwoColumnDetailsProps) {
|
|
20
19
|
// Get emitted components from map (so we can get any override that may exist)
|
|
21
20
|
const FieldGroup = getComponentFromMap('FieldGroup');
|
|
@@ -55,25 +54,25 @@ export default function PegaDxilMyTwoColumnDetails(props: PegaDxilMyTwoColumnDet
|
|
|
55
54
|
}
|
|
56
55
|
|
|
57
56
|
return (
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
57
|
+
<StyledPegaDxilMyTwoColumnDetailsWrapper>
|
|
58
|
+
<FieldGroup name={propsToUse.showLabel ? propsToUse.label : ''}>
|
|
59
|
+
{showHighlightedData && highlightedDataArr.length > 0 && (
|
|
60
|
+
<Grid container spacing={1} style={{ padding: '0 0 1em' }}>
|
|
61
|
+
{highlightedDataArr.map((child, i) => (
|
|
62
|
+
<Grid item xs={6} key={`hf-${i + 1}`}>
|
|
63
|
+
{child}
|
|
64
|
+
</Grid>
|
|
65
|
+
))}
|
|
66
|
+
</Grid>
|
|
67
|
+
)}
|
|
68
|
+
<Grid container spacing={1}>
|
|
69
|
+
{children.map((child, i) => (
|
|
70
|
+
<Grid item xs={6} key={`r-${i + 1}`}>
|
|
64
71
|
{child}
|
|
65
72
|
</Grid>
|
|
66
73
|
))}
|
|
67
74
|
</Grid>
|
|
68
|
-
|
|
69
|
-
<Grid container spacing={1}>
|
|
70
|
-
{children.map((child, i) => (
|
|
71
|
-
<Grid item xs={6} key={`r-${i + 1}`}>
|
|
72
|
-
{child}
|
|
73
|
-
</Grid>
|
|
74
|
-
))}
|
|
75
|
-
</Grid>
|
|
76
|
-
</FieldGroup>
|
|
75
|
+
</FieldGroup>
|
|
77
76
|
</StyledPegaDxilMyTwoColumnDetailsWrapper>
|
|
78
77
|
);
|
|
79
|
-
}
|
|
78
|
+
}
|