@pega/custom-dx-components 25.1.10-alpha-0.3 → 25.1.10-alpha-0.4
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/tasks/create/templates/Constellation/Field/Picklist-RadioButtons/index.tsx.mustache +3 -3
- package/src/tasks/init/template/package.json.mustache +1 -1
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/index.tsx +3 -3
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/index.tsx +3 -3
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyRadiobuttons/index.tsx +3 -3
package/package.json
CHANGED
package/src/tasks/create/templates/Constellation/Field/Picklist-RadioButtons/index.tsx.mustache
CHANGED
|
@@ -77,7 +77,7 @@ function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}Props) {
|
|
|
77
77
|
const propName: string = stateProps.value;
|
|
78
78
|
const configProps = pConn.getConfigProps();
|
|
79
79
|
const className = pConn.getCaseInfo().getClassName();
|
|
80
|
-
|
|
80
|
+
|
|
81
81
|
|
|
82
82
|
// @ts-ignore
|
|
83
83
|
let configProperty = pConn.getRawMetadata()?.config?.value || '';
|
|
@@ -139,10 +139,10 @@ function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}Props) {
|
|
|
139
139
|
id={`${fullReference}.${item.key}`}
|
|
140
140
|
value={item.key}
|
|
141
141
|
key={`${fullReference}.${item.key}`}
|
|
142
|
-
label={getLocalizedValue(
|
|
142
|
+
label={pConn.getLocalizedValue(
|
|
143
143
|
isDatapage ? item.text : item.value,
|
|
144
144
|
localePath,
|
|
145
|
-
getLocaleRuleNameFromKeys(localeClass, localeContext, localeName)
|
|
145
|
+
pConn.getLocaleRuleNameFromKeys(localeClass, localeContext, localeName)
|
|
146
146
|
)}
|
|
147
147
|
name={fullReference}
|
|
148
148
|
/>
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"@babel/preset-react": "^7.27.1",
|
|
108
108
|
"@babel/preset-typescript": "^7.27.1",
|
|
109
109
|
"@pega/configs": "^0.16.3",
|
|
110
|
-
"@pega/custom-dx-components": "~25.1.10-alpha-0.
|
|
110
|
+
"@pega/custom-dx-components": "~25.1.10-alpha-0.4",
|
|
111
111
|
"@pega/pcore-pconnect-typedefs": "^4.1.0-alpha.1",
|
|
112
112
|
"@storybook/addon-actions": "^8.6.12",
|
|
113
113
|
"@storybook/addon-essentials": "^8.6.12",
|
package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/index.tsx
CHANGED
|
@@ -77,7 +77,7 @@ function PegaDxilMyRadiobuttons(props: PegaDxilMyRadiobuttonsProps) {
|
|
|
77
77
|
const propName: string = stateProps.value;
|
|
78
78
|
const configProps = pConn.getConfigProps();
|
|
79
79
|
const className = pConn.getCaseInfo().getClassName();
|
|
80
|
-
|
|
80
|
+
|
|
81
81
|
|
|
82
82
|
// @ts-ignore
|
|
83
83
|
let configProperty = pConn.getRawMetadata()?.config?.value || '';
|
|
@@ -139,10 +139,10 @@ function PegaDxilMyRadiobuttons(props: PegaDxilMyRadiobuttonsProps) {
|
|
|
139
139
|
id={`${fullReference}.${item.key}`}
|
|
140
140
|
value={item.key}
|
|
141
141
|
key={`${fullReference}.${item.key}`}
|
|
142
|
-
label={getLocalizedValue(
|
|
142
|
+
label={pConn.getLocalizedValue(
|
|
143
143
|
isDatapage ? item.text : item.value,
|
|
144
144
|
localePath,
|
|
145
|
-
getLocaleRuleNameFromKeys(localeClass, localeContext, localeName)
|
|
145
|
+
pConn.getLocaleRuleNameFromKeys(localeClass, localeContext, localeName)
|
|
146
146
|
)}
|
|
147
147
|
name={fullReference}
|
|
148
148
|
/>
|
package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/index.tsx
CHANGED
|
@@ -77,7 +77,7 @@ function PegaDxilMyRadiobuttons(props: PegaDxilMyRadiobuttonsProps) {
|
|
|
77
77
|
const propName: string = stateProps.value;
|
|
78
78
|
const configProps = pConn.getConfigProps();
|
|
79
79
|
const className = pConn.getCaseInfo().getClassName();
|
|
80
|
-
|
|
80
|
+
|
|
81
81
|
|
|
82
82
|
// @ts-ignore
|
|
83
83
|
let configProperty = pConn.getRawMetadata()?.config?.value || '';
|
|
@@ -139,10 +139,10 @@ function PegaDxilMyRadiobuttons(props: PegaDxilMyRadiobuttonsProps) {
|
|
|
139
139
|
id={`${fullReference}.${item.key}`}
|
|
140
140
|
value={item.key}
|
|
141
141
|
key={`${fullReference}.${item.key}`}
|
|
142
|
-
label={getLocalizedValue(
|
|
142
|
+
label={pConn.getLocalizedValue(
|
|
143
143
|
isDatapage ? item.text : item.value,
|
|
144
144
|
localePath,
|
|
145
|
-
getLocaleRuleNameFromKeys(localeClass, localeContext, localeName)
|
|
145
|
+
pConn.getLocaleRuleNameFromKeys(localeClass, localeContext, localeName)
|
|
146
146
|
)}
|
|
147
147
|
name={fullReference}
|
|
148
148
|
/>
|
package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyRadiobuttons/index.tsx
CHANGED
|
@@ -77,7 +77,7 @@ function PegaDxilMyRadiobuttons(props: PegaDxilMyRadiobuttonsProps) {
|
|
|
77
77
|
const propName: string = stateProps.value;
|
|
78
78
|
const configProps = pConn.getConfigProps();
|
|
79
79
|
const className = pConn.getCaseInfo().getClassName();
|
|
80
|
-
|
|
80
|
+
|
|
81
81
|
|
|
82
82
|
// @ts-ignore
|
|
83
83
|
let configProperty = pConn.getRawMetadata()?.config?.value || '';
|
|
@@ -139,10 +139,10 @@ function PegaDxilMyRadiobuttons(props: PegaDxilMyRadiobuttonsProps) {
|
|
|
139
139
|
id={`${fullReference}.${item.key}`}
|
|
140
140
|
value={item.key}
|
|
141
141
|
key={`${fullReference}.${item.key}`}
|
|
142
|
-
label={getLocalizedValue(
|
|
142
|
+
label={pConn.getLocalizedValue(
|
|
143
143
|
isDatapage ? item.text : item.value,
|
|
144
144
|
localePath,
|
|
145
|
-
getLocaleRuleNameFromKeys(localeClass, localeContext, localeName)
|
|
145
|
+
pConn.getLocaleRuleNameFromKeys(localeClass, localeContext, localeName)
|
|
146
146
|
)}
|
|
147
147
|
name={fullReference}
|
|
148
148
|
/>
|