@pega/custom-dx-components 0.26.5 → 0.26.6
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
|
@@ -141,16 +141,16 @@ function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}Props) {
|
|
|
141
141
|
value={item.key}
|
|
142
142
|
key={`${fullReference}.${item.key}`}
|
|
143
143
|
label={isDatapageLocale
|
|
144
|
-
?
|
|
144
|
+
? pConn
|
|
145
145
|
.getLocalizationService()
|
|
146
146
|
.getLocalizedDataPage(
|
|
147
147
|
item.value ? item.value.toString() : '',
|
|
148
148
|
localeName,
|
|
149
149
|
localePath
|
|
150
150
|
)
|
|
151
|
-
:
|
|
151
|
+
: pConn
|
|
152
152
|
.getLocalizationService(
|
|
153
|
-
|
|
153
|
+
pConn.getLocaleRuleNameFromKeys(localeClass, localeContext, localeName)
|
|
154
154
|
)
|
|
155
155
|
.getLocalizedText(item.value ? item.value.toString() : '')}
|
|
156
156
|
name={fullReference}
|
|
@@ -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": "~0.26.
|
|
110
|
+
"@pega/custom-dx-components": "~0.26.6",
|
|
111
111
|
"@pega/pcore-pconnect-typedefs": "^4.1.0",
|
|
112
112
|
"@storybook/addon-docs": "^9.1.7",
|
|
113
113
|
"@storybook/addon-essentials": "^9.0.0-alpha.12",
|
package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/index.tsx
CHANGED
|
@@ -141,16 +141,16 @@ function PegaDxilMyRadiobuttons(props: PegaDxilMyRadiobuttonsProps) {
|
|
|
141
141
|
value={item.key}
|
|
142
142
|
key={`${fullReference}.${item.key}`}
|
|
143
143
|
label={isDatapageLocale
|
|
144
|
-
?
|
|
144
|
+
? pConn
|
|
145
145
|
.getLocalizationService()
|
|
146
146
|
.getLocalizedDataPage(
|
|
147
147
|
item.value ? item.value.toString() : '',
|
|
148
148
|
localeName,
|
|
149
149
|
localePath
|
|
150
150
|
)
|
|
151
|
-
:
|
|
151
|
+
: pConn
|
|
152
152
|
.getLocalizationService(
|
|
153
|
-
|
|
153
|
+
pConn.getLocaleRuleNameFromKeys(localeClass, localeContext, localeName)
|
|
154
154
|
)
|
|
155
155
|
.getLocalizedText(item.value ? item.value.toString() : '')}
|
|
156
156
|
name={fullReference}
|
package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/index.tsx
CHANGED
|
@@ -141,16 +141,16 @@ function PegaDxilMyRadiobuttons(props: PegaDxilMyRadiobuttonsProps) {
|
|
|
141
141
|
value={item.key}
|
|
142
142
|
key={`${fullReference}.${item.key}`}
|
|
143
143
|
label={isDatapageLocale
|
|
144
|
-
?
|
|
144
|
+
? pConn
|
|
145
145
|
.getLocalizationService()
|
|
146
146
|
.getLocalizedDataPage(
|
|
147
147
|
item.value ? item.value.toString() : '',
|
|
148
148
|
localeName,
|
|
149
149
|
localePath
|
|
150
150
|
)
|
|
151
|
-
:
|
|
151
|
+
: pConn
|
|
152
152
|
.getLocalizationService(
|
|
153
|
-
|
|
153
|
+
pConn.getLocaleRuleNameFromKeys(localeClass, localeContext, localeName)
|
|
154
154
|
)
|
|
155
155
|
.getLocalizedText(item.value ? item.value.toString() : '')}
|
|
156
156
|
name={fullReference}
|
package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyRadiobuttons/index.tsx
CHANGED
|
@@ -141,16 +141,16 @@ function PegaDxilMyRadiobuttons(props: PegaDxilMyRadiobuttonsProps) {
|
|
|
141
141
|
value={item.key}
|
|
142
142
|
key={`${fullReference}.${item.key}`}
|
|
143
143
|
label={isDatapageLocale
|
|
144
|
-
?
|
|
144
|
+
? pConn
|
|
145
145
|
.getLocalizationService()
|
|
146
146
|
.getLocalizedDataPage(
|
|
147
147
|
item.value ? item.value.toString() : '',
|
|
148
148
|
localeName,
|
|
149
149
|
localePath
|
|
150
150
|
)
|
|
151
|
-
:
|
|
151
|
+
: pConn
|
|
152
152
|
.getLocalizationService(
|
|
153
|
-
|
|
153
|
+
pConn.getLocaleRuleNameFromKeys(localeClass, localeContext, localeName)
|
|
154
154
|
)
|
|
155
155
|
.getLocalizedText(item.value ? item.value.toString() : '')}
|
|
156
156
|
name={fullReference}
|