@pega/dx-component-builder-sdk 0.23.2 → 0.23.3
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/Boolean/index.jsx.mustache +2 -2
- package/src/tasks/create/templates/Constellation/field/Date/index.jsx.mustache +1 -1
- package/src/tasks/create/templates/Constellation/field/DateTime/index.jsx.mustache +1 -1
- package/src/tasks/create/templates/Constellation/field/Decimal/index.jsx.mustache +1 -1
- package/src/tasks/create/templates/Constellation/field/Decimal-Currency/index.jsx.mustache +1 -1
- package/src/tasks/create/templates/Constellation/field/Decimal-Percentage/index.jsx.mustache +1 -1
- package/src/tasks/create/templates/Constellation/field/Integer/index.jsx.mustache +1 -1
- package/src/tasks/create/templates/Constellation/field/Picklist/index.jsx.mustache +1 -1
- package/src/tasks/create/templates/Constellation/field/Text/index.jsx.mustache +1 -1
- package/src/tasks/create/templates/Constellation/field/Text-Email/index.jsx.mustache +1 -1
- package/src/tasks/create/templates/Constellation/field/Text-Input/index.jsx.mustache +1 -1
- package/src/tasks/create/templates/Constellation/field/Text-Paragraph/index.jsx.mustache +1 -1
- package/src/tasks/create/templates/Constellation/field/Text-Phone/index.jsx.mustache +1 -1
- package/src/tasks/create/templates/Constellation/field/Text-URL/index.jsx.mustache +1 -1
- package/src/tasks/create/templates/Constellation/field/TimeOfDay/index.jsx.mustache +1 -1
- package/src/tasks/create/templates/SDK-React/field/Boolean/index.tsx.mustache +0 -28
- package/src/tasks/create/templates/SDK-React/field/Date/index.tsx.mustache +0 -27
- package/src/tasks/create/templates/SDK-React/field/DateTime/index.tsx.mustache +0 -27
- package/src/tasks/create/templates/SDK-React/field/Decimal/index.tsx.mustache +0 -37
- package/src/tasks/create/templates/SDK-React/field/Decimal-Currency/index.tsx.mustache +0 -29
- package/src/tasks/create/templates/SDK-React/field/Decimal-Percentage/index.tsx.mustache +0 -31
- package/src/tasks/create/templates/SDK-React/field/Integer/index.tsx.mustache +0 -33
- package/src/tasks/create/templates/SDK-React/field/Picklist/index.tsx.mustache +0 -40
- package/src/tasks/create/templates/SDK-React/field/Text/index.tsx.mustache +0 -41
- package/src/tasks/create/templates/SDK-React/field/Text-Email/index.tsx.mustache +0 -38
- package/src/tasks/create/templates/SDK-React/field/Text-Input/index.tsx.mustache +0 -41
- package/src/tasks/create/templates/SDK-React/field/Text-Paragraph/index.tsx.mustache +0 -41
- package/src/tasks/create/templates/SDK-React/field/Text-Phone/index.tsx.mustache +0 -35
- package/src/tasks/create/templates/SDK-React/field/Text-URL/index.tsx.mustache +0 -35
- package/src/tasks/create/templates/SDK-React/field/TimeOfDay/index.tsx.mustache +0 -37
- package/src/tasks/create-all/index.js +1 -1
- package/src/tasks/map/map.js +23 -5
- package/tests/assets/components/SDK-React/create/custom-constellation/field/Pega_DXIL_MyTestText/index.jsx +1 -1
- package/tests/assets/components/SDK-React/create/custom-sdk/field/Pega_DXIL_MyTestText/index.tsx +0 -41
- package/tests/assets/components/SDK-React/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/index.jsx +2 -2
- package/tests/assets/components/SDK-React/createAll/custom-constellation/field/Pega_DXIL_MyCurrency/index.jsx +1 -1
- package/tests/assets/components/SDK-React/createAll/custom-constellation/field/Pega_DXIL_MyDate/index.jsx +1 -1
- package/tests/assets/components/SDK-React/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/index.jsx +1 -1
- package/tests/assets/components/SDK-React/createAll/custom-constellation/field/Pega_DXIL_MyDecimal/index.jsx +1 -1
- package/tests/assets/components/SDK-React/createAll/custom-constellation/field/Pega_DXIL_MyEmail/index.jsx +1 -1
- package/tests/assets/components/SDK-React/createAll/custom-constellation/field/Pega_DXIL_MyInteger/index.jsx +1 -1
- package/tests/assets/components/SDK-React/createAll/custom-constellation/field/Pega_DXIL_MyParagraph/index.jsx +1 -1
- package/tests/assets/components/SDK-React/createAll/custom-constellation/field/Pega_DXIL_MyPercentage/index.jsx +1 -1
- package/tests/assets/components/SDK-React/createAll/custom-constellation/field/Pega_DXIL_MyPhone/index.jsx +1 -1
- package/tests/assets/components/SDK-React/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/index.jsx +1 -1
- package/tests/assets/components/SDK-React/createAll/custom-constellation/field/Pega_DXIL_MyText/index.jsx +1 -1
- package/tests/assets/components/SDK-React/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/index.jsx +1 -1
- package/tests/assets/components/SDK-React/createAll/custom-constellation/field/Pega_DXIL_MyTimeOfDay/index.jsx +1 -1
- package/tests/assets/components/SDK-React/createAll/custom-constellation/field/Pega_DXIL_MyURL/index.jsx +1 -1
- package/tests/assets/components/SDK-React/createAll/custom-sdk/field/Pega_DXIL_MyBoolean/index.tsx +0 -28
- package/tests/assets/components/SDK-React/createAll/custom-sdk/field/Pega_DXIL_MyCurrency/index.tsx +0 -29
- package/tests/assets/components/SDK-React/createAll/custom-sdk/field/Pega_DXIL_MyDate/index.tsx +0 -27
- package/tests/assets/components/SDK-React/createAll/custom-sdk/field/Pega_DXIL_MyDateTime/index.tsx +0 -27
- package/tests/assets/components/SDK-React/createAll/custom-sdk/field/Pega_DXIL_MyDecimal/index.tsx +0 -37
- package/tests/assets/components/SDK-React/createAll/custom-sdk/field/Pega_DXIL_MyEmail/index.tsx +0 -38
- package/tests/assets/components/SDK-React/createAll/custom-sdk/field/Pega_DXIL_MyInteger/index.tsx +0 -33
- package/tests/assets/components/SDK-React/createAll/custom-sdk/field/Pega_DXIL_MyParagraph/index.tsx +0 -41
- package/tests/assets/components/SDK-React/createAll/custom-sdk/field/Pega_DXIL_MyPercentage/index.tsx +0 -31
- package/tests/assets/components/SDK-React/createAll/custom-sdk/field/Pega_DXIL_MyPhone/index.tsx +0 -35
- package/tests/assets/components/SDK-React/createAll/custom-sdk/field/Pega_DXIL_MyPicklist/index.tsx +0 -40
- package/tests/assets/components/SDK-React/createAll/custom-sdk/field/Pega_DXIL_MyText/index.tsx +0 -41
- package/tests/assets/components/SDK-React/createAll/custom-sdk/field/Pega_DXIL_MyTextInput/index.tsx +0 -41
- package/tests/assets/components/SDK-React/createAll/custom-sdk/field/Pega_DXIL_MyTimeOfDay/index.tsx +0 -37
- package/tests/assets/components/SDK-React/createAll/custom-sdk/field/Pega_DXIL_MyURL/index.tsx +0 -35
|
@@ -114,38 +114,3 @@ export default function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}
|
|
|
114
114
|
);
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
// {{COMPONENT_CLASS_NAME}}.defaultProps = {
|
|
118
|
-
// value: '',
|
|
119
|
-
// placeholder: '',
|
|
120
|
-
// validatemessage: '',
|
|
121
|
-
// helperText: '',
|
|
122
|
-
// displayAsStatus: false,
|
|
123
|
-
// hideLabel: false,
|
|
124
|
-
// disabled: false,
|
|
125
|
-
// readOnly: false,
|
|
126
|
-
// required: false,
|
|
127
|
-
// testId: null,
|
|
128
|
-
// displayMode: null,
|
|
129
|
-
// variant: 'inline',
|
|
130
|
-
// formatter: '',
|
|
131
|
-
// hasSuggestions: false
|
|
132
|
-
// };
|
|
133
|
-
|
|
134
|
-
// {{COMPONENT_CLASS_NAME}}.propTypes = {
|
|
135
|
-
// value: PropTypes.string,
|
|
136
|
-
// placeholder: PropTypes.string,
|
|
137
|
-
// displayMode: PropTypes.string,
|
|
138
|
-
// displayAsStatus: PropTypes.bool,
|
|
139
|
-
// label: PropTypes.string.isRequired,
|
|
140
|
-
// hideLabel: PropTypes.bool,
|
|
141
|
-
// getPConnect: PropTypes.func.isRequired,
|
|
142
|
-
// validatemessage: PropTypes.string,
|
|
143
|
-
// helperText: PropTypes.string,
|
|
144
|
-
// disabled: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
145
|
-
// readOnly: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
146
|
-
// required: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
147
|
-
// testId: PropTypes.string,
|
|
148
|
-
// variant: PropTypes.string,
|
|
149
|
-
// formatter: PropTypes.string,
|
|
150
|
-
// hasSuggestions: PropTypes.bool
|
|
151
|
-
// };
|
|
@@ -79,38 +79,3 @@ export default function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}
|
|
|
79
79
|
);
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
// {{COMPONENT_CLASS_NAME}}.defaultProps = {
|
|
83
|
-
// value: '',
|
|
84
|
-
// placeholder: '',
|
|
85
|
-
// validatemessage: '',
|
|
86
|
-
// helperText: '',
|
|
87
|
-
// displayAsStatus: false,
|
|
88
|
-
// hideLabel: false,
|
|
89
|
-
// disabled: false,
|
|
90
|
-
// readOnly: false,
|
|
91
|
-
// required: false,
|
|
92
|
-
// testId: null,
|
|
93
|
-
// displayMode: null,
|
|
94
|
-
// variant: 'inline',
|
|
95
|
-
// formatter: '',
|
|
96
|
-
// hasSuggestions: false
|
|
97
|
-
// };
|
|
98
|
-
|
|
99
|
-
// {{COMPONENT_CLASS_NAME}}.propTypes = {
|
|
100
|
-
// value: PropTypes.string,
|
|
101
|
-
// placeholder: PropTypes.string,
|
|
102
|
-
// displayMode: PropTypes.string,
|
|
103
|
-
// displayAsStatus: PropTypes.bool,
|
|
104
|
-
// label: PropTypes.string.isRequired,
|
|
105
|
-
// hideLabel: PropTypes.bool,
|
|
106
|
-
// getPConnect: PropTypes.func.isRequired,
|
|
107
|
-
// validatemessage: PropTypes.string,
|
|
108
|
-
// helperText: PropTypes.string,
|
|
109
|
-
// disabled: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
110
|
-
// readOnly: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
111
|
-
// required: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
112
|
-
// testId: PropTypes.string,
|
|
113
|
-
// variant: PropTypes.string,
|
|
114
|
-
// formatter: PropTypes.string,
|
|
115
|
-
// hasSuggestions: PropTypes.bool
|
|
116
|
-
// };
|
|
@@ -102,40 +102,3 @@ export default function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}
|
|
|
102
102
|
);
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
// {{COMPONENT_CLASS_NAME}}.defaultProps = {
|
|
106
|
-
// value: '',
|
|
107
|
-
// placeholder: '',
|
|
108
|
-
// validatemessage: '',
|
|
109
|
-
// helperText: '',
|
|
110
|
-
// displayAsStatus: false,
|
|
111
|
-
// hideLabel: false,
|
|
112
|
-
// disabled: false,
|
|
113
|
-
// readOnly: false,
|
|
114
|
-
// required: false,
|
|
115
|
-
// testId: null,
|
|
116
|
-
// displayMode: null,
|
|
117
|
-
// variant: 'inline',
|
|
118
|
-
// formatter: '',
|
|
119
|
-
// isTableFormatter: false,
|
|
120
|
-
// hasSuggestions: false
|
|
121
|
-
// };
|
|
122
|
-
|
|
123
|
-
// {{COMPONENT_CLASS_NAME}}.propTypes = {
|
|
124
|
-
// value: PropTypes.string,
|
|
125
|
-
// placeholder: PropTypes.string,
|
|
126
|
-
// displayMode: PropTypes.string,
|
|
127
|
-
// displayAsStatus: PropTypes.bool,
|
|
128
|
-
// label: PropTypes.string.isRequired,
|
|
129
|
-
// hideLabel: PropTypes.bool,
|
|
130
|
-
// getPConnect: PropTypes.func.isRequired,
|
|
131
|
-
// validatemessage: PropTypes.string,
|
|
132
|
-
// helperText: PropTypes.string,
|
|
133
|
-
// disabled: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
134
|
-
// readOnly: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
135
|
-
// required: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
136
|
-
// testId: PropTypes.string,
|
|
137
|
-
// variant: PropTypes.string,
|
|
138
|
-
// formatter: PropTypes.string,
|
|
139
|
-
// isTableFormatter: PropTypes.bool,
|
|
140
|
-
// hasSuggestions: PropTypes.bool
|
|
141
|
-
// };
|
|
@@ -306,7 +306,7 @@ export const validateCompile = async (
|
|
|
306
306
|
|
|
307
307
|
const templateDirConstellation = `./templates/Constellation/${typeLC}/${sSubType}`;
|
|
308
308
|
let templateDirectoryConstellation = fileURLToPath(new URL(templateDirConstellation, import.meta.url));
|
|
309
|
-
templateDirectoryConstellation = templateDirectoryConstellation.replace("
|
|
309
|
+
templateDirectoryConstellation = templateDirectoryConstellation.replace( path.sep + "create-all", path.sep + "create");
|
|
310
310
|
|
|
311
311
|
const componentKey = `${organization}_${library}_${componentName}`;
|
|
312
312
|
|
package/src/tasks/map/map.js
CHANGED
|
@@ -40,6 +40,9 @@ export const updateComponentMap = async (componentKey, category = CATEGORY_CUSTO
|
|
|
40
40
|
|
|
41
41
|
const framework = await getFramework();
|
|
42
42
|
|
|
43
|
+
// POSIX key
|
|
44
|
+
componentKey = componentKey.split(path.sep).join("/");
|
|
45
|
+
|
|
43
46
|
switch (framework) {
|
|
44
47
|
case 'SDK-React' :
|
|
45
48
|
|
|
@@ -51,7 +54,9 @@ export const updateComponentMap = async (componentKey, category = CATEGORY_CUSTO
|
|
|
51
54
|
let mapData = fs.readFileSync(pegaLocalReactComponentMapPath, { encoding: 'utf8' });
|
|
52
55
|
|
|
53
56
|
let importComponent = join(REACT_COMPONENTS_DIRECTORY_PATH, categoryDirectory, componentKey);
|
|
54
|
-
|
|
57
|
+
|
|
58
|
+
// POSIX path
|
|
59
|
+
importComponent = "./".concat(importComponent).split(path.sep).join("/");
|
|
55
60
|
|
|
56
61
|
let importFull = "import ".concat(componentName).concat(" from '").concat(importComponent).concat("/';");
|
|
57
62
|
let mapFull = "\"".concat(componentNameNoPrefix).concat("\" : " ).concat(componentName).concat(",");
|
|
@@ -94,7 +99,9 @@ export const updateComponentMap = async (componentKey, category = CATEGORY_CUSTO
|
|
|
94
99
|
|
|
95
100
|
// componentKey twice for directory and file
|
|
96
101
|
let importComponentAng = join(ANGULAR_COMPONENTS_DIRECTORY_PATH, categoryDirectoryAng, componentKey, componentNameNoPrefixAng);
|
|
97
|
-
|
|
102
|
+
|
|
103
|
+
// POSIX path
|
|
104
|
+
importComponentAng = "./".concat(importComponentAng).split(path.sep).join("/");
|
|
98
105
|
|
|
99
106
|
let importFullAng = "import { ".concat(componentComponentNameAng).concat(" } from '").concat(importComponentAng).concat(".component';");
|
|
100
107
|
let mapFullAng = "\"".concat(originalComponentName).concat("\" : " ).concat(componentComponentNameAng).concat(",");
|
|
@@ -135,6 +142,8 @@ export const deleteFromComponentMap = async (componentKey, category = CATEGORY_C
|
|
|
135
142
|
|
|
136
143
|
const framework = await getFramework();
|
|
137
144
|
|
|
145
|
+
// POSIX key
|
|
146
|
+
componentKey = componentKey.split(path.sep).join("/");
|
|
138
147
|
|
|
139
148
|
switch (framework) {
|
|
140
149
|
case 'SDK-React' :
|
|
@@ -146,7 +155,10 @@ export const deleteFromComponentMap = async (componentKey, category = CATEGORY_C
|
|
|
146
155
|
let mapData = fs.readFileSync(pegaLocalReactComponentMapPath, { encoding: 'utf8' });
|
|
147
156
|
|
|
148
157
|
let importComponent = join(REACT_COMPONENTS_DIRECTORY_PATH, categoryDirectory, componentKey);
|
|
149
|
-
|
|
158
|
+
|
|
159
|
+
// POSIX path
|
|
160
|
+
importComponent = "./".concat(importComponent).split(path.sep).join("/");
|
|
161
|
+
|
|
150
162
|
|
|
151
163
|
let importFull = "import ".concat(componentName).concat(" from '").concat(importComponent).concat("/';");
|
|
152
164
|
let mapFull = "\"".concat(componentNameNoPrefix).concat("\" : " ).concat(componentName).concat(",");
|
|
@@ -177,7 +189,9 @@ export const deleteFromComponentMap = async (componentKey, category = CATEGORY_C
|
|
|
177
189
|
|
|
178
190
|
// componentKey twice for directory and file
|
|
179
191
|
let importComponentAng = join(ANGULAR_COMPONENTS_DIRECTORY_PATH, categoryDirectoryAng, componentKey, componentNameNoPrefixAng);
|
|
180
|
-
|
|
192
|
+
|
|
193
|
+
// POSIX path
|
|
194
|
+
importComponentAng = "./".concat(importComponentAng).split(path.sep).join("/");
|
|
181
195
|
|
|
182
196
|
|
|
183
197
|
let importFullAng = "import { ".concat(componentComponentNameAng).concat(" } from '").concat(importComponentAng).concat(".component';");
|
|
@@ -211,6 +225,10 @@ export const renameComponentInMap = async (oldComponentKey, newComponentKey) =>
|
|
|
211
225
|
|
|
212
226
|
const framework = await getFramework();
|
|
213
227
|
|
|
228
|
+
// POSIX key
|
|
229
|
+
oldComponentKey = oldComponentKey.split(path.sep).join("/");
|
|
230
|
+
newComponentKey = newComponentKey.split(path.sep).join("/");
|
|
231
|
+
|
|
214
232
|
switch (framework) {
|
|
215
233
|
case 'SDK-React' :
|
|
216
234
|
|
|
@@ -355,7 +373,7 @@ export const isComponentMapEmpty = (framework) => {
|
|
|
355
373
|
let mapData;
|
|
356
374
|
|
|
357
375
|
switch (framework) {
|
|
358
|
-
case "
|
|
376
|
+
case "SDK-React":
|
|
359
377
|
blankMap = path.join(path.resolve(), COMPONENT_REACT_LIB_PATH, SDK_LOCAL_REACT_COMPONENT_MAP_FILENAME);
|
|
360
378
|
blankMapData = fs.readFileSync(blankMap, { encoding: 'utf8' });
|
|
361
379
|
mapData = fs.readFileSync(pegaLocalAngularComponentMapPath, { encoding: 'utf8' });
|
package/tests/assets/components/SDK-React/create/custom-sdk/field/Pega_DXIL_MyTestText/index.tsx
CHANGED
|
@@ -80,44 +80,3 @@ export default function PegaDxilMyTestText(props: PegaDxilMyTestTextProps) {
|
|
|
80
80
|
);
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
// PegaDxilMyTestText.defaultProps = {
|
|
84
|
-
// value: '',
|
|
85
|
-
// placeholder: '',
|
|
86
|
-
// validatemessage: '',
|
|
87
|
-
// helperText: '',
|
|
88
|
-
// displayAsStatus: false,
|
|
89
|
-
// hideLabel: false,
|
|
90
|
-
// disabled: false,
|
|
91
|
-
// readOnly: false,
|
|
92
|
-
// required: false,
|
|
93
|
-
// testId: null,
|
|
94
|
-
// fieldMetadata: {},
|
|
95
|
-
// additionalProps: {},
|
|
96
|
-
// displayMode: null,
|
|
97
|
-
// variant: 'inline',
|
|
98
|
-
// formatter: '',
|
|
99
|
-
// isTableFormatter: false,
|
|
100
|
-
// hasSuggestions: false
|
|
101
|
-
// };
|
|
102
|
-
|
|
103
|
-
// PegaDxilMyTestText.propTypes = {
|
|
104
|
-
// value: PropTypes.string,
|
|
105
|
-
// placeholder: PropTypes.string,
|
|
106
|
-
// displayMode: PropTypes.string,
|
|
107
|
-
// displayAsStatus: PropTypes.bool,
|
|
108
|
-
// label: PropTypes.string.isRequired,
|
|
109
|
-
// hideLabel: PropTypes.bool,
|
|
110
|
-
// getPConnect: PropTypes.func.isRequired,
|
|
111
|
-
// validatemessage: PropTypes.string,
|
|
112
|
-
// helperText: PropTypes.string,
|
|
113
|
-
// disabled: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
114
|
-
// readOnly: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
115
|
-
// required: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
116
|
-
// testId: PropTypes.string,
|
|
117
|
-
// fieldMetadata: PropTypes.objectOf(PropTypes.any),
|
|
118
|
-
// additionalProps: PropTypes.objectOf(PropTypes.any),
|
|
119
|
-
// variant: PropTypes.string,
|
|
120
|
-
// formatter: PropTypes.string,
|
|
121
|
-
// isTableFormatter: PropTypes.bool,
|
|
122
|
-
// hasSuggestions: PropTypes.bool
|
|
123
|
-
// };
|
|
@@ -65,7 +65,7 @@ const PegaDxilMyBoolean = props => {
|
|
|
65
65
|
/>
|
|
66
66
|
);
|
|
67
67
|
|
|
68
|
-
const parentTestId = testId ? `${testId}-parent` : testId;
|
|
68
|
+
const parentTestId = testId === '' ? `${testId}-parent` : testId;
|
|
69
69
|
|
|
70
70
|
let displayComponent;
|
|
71
71
|
if (displayMode) {
|
|
@@ -138,7 +138,7 @@ PegaDxilMyBoolean.defaultProps = {
|
|
|
138
138
|
disabled: false,
|
|
139
139
|
readOnly: false,
|
|
140
140
|
required: false,
|
|
141
|
-
testId:
|
|
141
|
+
testId: '',
|
|
142
142
|
additionalProps: {},
|
|
143
143
|
displayMode: null,
|
|
144
144
|
variant: 'inline',
|
package/tests/assets/components/SDK-React/createAll/custom-sdk/field/Pega_DXIL_MyBoolean/index.tsx
CHANGED
|
@@ -116,31 +116,3 @@ export default function PegaDxilMyBoolean(props /* : PegaDxilMyBooleanProps */)
|
|
|
116
116
|
);
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
|
|
120
|
-
// PegaDxilMyBoolean.defaultProps = {
|
|
121
|
-
// validatemessage: "",
|
|
122
|
-
// value: false,
|
|
123
|
-
// label: "",
|
|
124
|
-
// hideLabel: false,
|
|
125
|
-
// helperText: "",
|
|
126
|
-
// disabled: false,
|
|
127
|
-
// readOnly: false,
|
|
128
|
-
// required: false,
|
|
129
|
-
// testId: null,
|
|
130
|
-
// additionalProps: {}
|
|
131
|
-
// };
|
|
132
|
-
|
|
133
|
-
// PegaDxilMyBoolean.propTypes = {
|
|
134
|
-
// getPConnect: PropTypes.func.isRequired,
|
|
135
|
-
// validatemessage: PropTypes.string,
|
|
136
|
-
// label: PropTypes.string,
|
|
137
|
-
// hideLabel: PropTypes.bool,
|
|
138
|
-
// helperText: PropTypes.string,
|
|
139
|
-
// value: PropTypes.bool,
|
|
140
|
-
// caption: PropTypes.string.isRequired,
|
|
141
|
-
// disabled: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
142
|
-
// readOnly: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
143
|
-
// required: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
144
|
-
// testId: PropTypes.string,
|
|
145
|
-
// additionalProps: PropTypes.objectOf(PropTypes.any)
|
|
146
|
-
// };
|
package/tests/assets/components/SDK-React/createAll/custom-sdk/field/Pega_DXIL_MyCurrency/index.tsx
CHANGED
|
@@ -125,32 +125,3 @@ export default function PegaDxilMyCurrency(props: PegaDxilMyCurrencyProps) {
|
|
|
125
125
|
);
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
// PegaDxilMyCurrency.defaultProps = {
|
|
129
|
-
// value: '',
|
|
130
|
-
// placeholder: '',
|
|
131
|
-
// validatemessage: '',
|
|
132
|
-
// helperText: '',
|
|
133
|
-
// displayAsStatus: false,
|
|
134
|
-
// hideLabel: false,
|
|
135
|
-
// disabled: false,
|
|
136
|
-
// readOnly: false,
|
|
137
|
-
// required: false,
|
|
138
|
-
// testId: null,
|
|
139
|
-
// displayMode: null
|
|
140
|
-
// };
|
|
141
|
-
|
|
142
|
-
// PegaDxilMyCurrency.propTypes = {
|
|
143
|
-
// value: PropTypes.string,
|
|
144
|
-
// placeholder: PropTypes.string,
|
|
145
|
-
// displayMode: PropTypes.string,
|
|
146
|
-
// displayAsStatus: PropTypes.bool,
|
|
147
|
-
// label: PropTypes.string.isRequired,
|
|
148
|
-
// hideLabel: PropTypes.bool,
|
|
149
|
-
// getPConnect: PropTypes.func.isRequired,
|
|
150
|
-
// validatemessage: PropTypes.string,
|
|
151
|
-
// helperText: PropTypes.string,
|
|
152
|
-
// disabled: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
153
|
-
// readOnly: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
154
|
-
// required: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
155
|
-
// testId: PropTypes.string
|
|
156
|
-
// };
|
package/tests/assets/components/SDK-React/createAll/custom-sdk/field/Pega_DXIL_MyDate/index.tsx
CHANGED
|
@@ -112,30 +112,3 @@ export default function PegaDxilMyDate(props: PegaDxilMyDateProps) {
|
|
|
112
112
|
</StyledPegaDxilMyDateWrapper>
|
|
113
113
|
);
|
|
114
114
|
}
|
|
115
|
-
|
|
116
|
-
// PegaDxilMyDate.defaultProps = {
|
|
117
|
-
// value: undefined,
|
|
118
|
-
// validatemessage: "",
|
|
119
|
-
// helperText: "",
|
|
120
|
-
// hideLabel: false,
|
|
121
|
-
// disabled: false,
|
|
122
|
-
// readOnly: false,
|
|
123
|
-
// required: false,
|
|
124
|
-
// testId: null,
|
|
125
|
-
// displayMode: null,
|
|
126
|
-
// variant: "inline"
|
|
127
|
-
// };
|
|
128
|
-
|
|
129
|
-
// PegaDxilMyDate.propTypes = {
|
|
130
|
-
// value: PropTypes.string,
|
|
131
|
-
// label: PropTypes.string.isRequired,
|
|
132
|
-
// hideLabel: PropTypes.bool,
|
|
133
|
-
// getPConnect: PropTypes.func.isRequired,
|
|
134
|
-
// validatemessage: PropTypes.string,
|
|
135
|
-
// helperText: PropTypes.string,
|
|
136
|
-
// readOnly: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
137
|
-
// required: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
138
|
-
// testId: PropTypes.string,
|
|
139
|
-
// displayMode: PropTypes.string,
|
|
140
|
-
// variant: PropTypes.string
|
|
141
|
-
// };
|
package/tests/assets/components/SDK-React/createAll/custom-sdk/field/Pega_DXIL_MyDateTime/index.tsx
CHANGED
|
@@ -110,30 +110,3 @@ export default function PegaDxilMyDateTime(props: PegaDxilMyDateTimeProps) {
|
|
|
110
110
|
);
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
// PegaDxilMyDateTime.defaultProps = {
|
|
114
|
-
// value: undefined,
|
|
115
|
-
// validatemessage: "",
|
|
116
|
-
// helperText: "",
|
|
117
|
-
// hideLabel: false,
|
|
118
|
-
// disabled: false,
|
|
119
|
-
// readOnly: false,
|
|
120
|
-
// required: false,
|
|
121
|
-
// testId: null,
|
|
122
|
-
// displayMode: null,
|
|
123
|
-
// variant: "inline"
|
|
124
|
-
// };
|
|
125
|
-
|
|
126
|
-
// PegaDxilMyDateTime.propTypes = {
|
|
127
|
-
// value: PropTypes.string,
|
|
128
|
-
// label: PropTypes.string.isRequired,
|
|
129
|
-
// hideLabel: PropTypes.bool,
|
|
130
|
-
// getPConnect: PropTypes.func.isRequired,
|
|
131
|
-
// validatemessage: PropTypes.string,
|
|
132
|
-
// helperText: PropTypes.string,
|
|
133
|
-
// disabled: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
134
|
-
// readOnly: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
135
|
-
// required: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
136
|
-
// testId: PropTypes.string,
|
|
137
|
-
// displayMode: PropTypes.string,
|
|
138
|
-
// variant: PropTypes.string
|
|
139
|
-
// };
|
package/tests/assets/components/SDK-React/createAll/custom-sdk/field/Pega_DXIL_MyDecimal/index.tsx
CHANGED
|
@@ -123,40 +123,3 @@ export default function PegaDxilMyDecimal(props: PegaDxilMyDecimalProps) {
|
|
|
123
123
|
);
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
// PegaDxilMyDecimal.defaultProps = {
|
|
127
|
-
// value: '',
|
|
128
|
-
// placeholder: '',
|
|
129
|
-
// validatemessage: '',
|
|
130
|
-
// helperText: '',
|
|
131
|
-
// displayAsStatus: false,
|
|
132
|
-
// hideLabel: false,
|
|
133
|
-
// disabled: false,
|
|
134
|
-
// readOnly: false,
|
|
135
|
-
// required: false,
|
|
136
|
-
// testId: null,
|
|
137
|
-
// fieldMetadata: {},
|
|
138
|
-
// additionalProps: {},
|
|
139
|
-
// displayMode: null,
|
|
140
|
-
// isTableFormatter: false,
|
|
141
|
-
// hasSuggestions: false
|
|
142
|
-
// };
|
|
143
|
-
|
|
144
|
-
// PegaDxilMyDecimal.propTypes = {
|
|
145
|
-
// value: PropTypes.string,
|
|
146
|
-
// placeholder: PropTypes.string,
|
|
147
|
-
// displayMode: PropTypes.string,
|
|
148
|
-
// displayAsStatus: PropTypes.bool,
|
|
149
|
-
// label: PropTypes.string.isRequired,
|
|
150
|
-
// hideLabel: PropTypes.bool,
|
|
151
|
-
// getPConnect: PropTypes.func.isRequired,
|
|
152
|
-
// validatemessage: PropTypes.string,
|
|
153
|
-
// helperText: PropTypes.string,
|
|
154
|
-
// disabled: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
155
|
-
// readOnly: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
156
|
-
// required: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
157
|
-
// testId: PropTypes.string,
|
|
158
|
-
// fieldMetadata: PropTypes.objectOf(PropTypes.any),
|
|
159
|
-
// additionalProps: PropTypes.objectOf(PropTypes.any),
|
|
160
|
-
// isTableFormatter: PropTypes.bool,
|
|
161
|
-
// hasSuggestions: PropTypes.bool
|
|
162
|
-
// };
|
package/tests/assets/components/SDK-React/createAll/custom-sdk/field/Pega_DXIL_MyEmail/index.tsx
CHANGED
|
@@ -84,41 +84,3 @@ export default function PegaDxilMyEmail(props: PegaDxilMyEmailProps) {
|
|
|
84
84
|
</StyledPegaDxilMyEmailWrapper>
|
|
85
85
|
);
|
|
86
86
|
}
|
|
87
|
-
|
|
88
|
-
// PegaDxilMyEmail.defaultProps = {
|
|
89
|
-
// value: '',
|
|
90
|
-
// placeholder: '',
|
|
91
|
-
// validatemessage: '',
|
|
92
|
-
// helperText: '',
|
|
93
|
-
// displayAsStatus: false,
|
|
94
|
-
// hideLabel: false,
|
|
95
|
-
// disabled: false,
|
|
96
|
-
// readOnly: false,
|
|
97
|
-
// required: false,
|
|
98
|
-
// testId: null,
|
|
99
|
-
// displayMode: null,
|
|
100
|
-
// variant: 'inline',
|
|
101
|
-
// formatter: '',
|
|
102
|
-
// isTableFormatter: false,
|
|
103
|
-
// hasSuggestions: false
|
|
104
|
-
// };
|
|
105
|
-
|
|
106
|
-
// PegaDxilMyEmail.propTypes = {
|
|
107
|
-
// value: PropTypes.string,
|
|
108
|
-
// placeholder: PropTypes.string,
|
|
109
|
-
// displayMode: PropTypes.string,
|
|
110
|
-
// displayAsStatus: PropTypes.bool,
|
|
111
|
-
// label: PropTypes.string.isRequired,
|
|
112
|
-
// hideLabel: PropTypes.bool,
|
|
113
|
-
// getPConnect: PropTypes.func.isRequired,
|
|
114
|
-
// validatemessage: PropTypes.string,
|
|
115
|
-
// helperText: PropTypes.string,
|
|
116
|
-
// disabled: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
117
|
-
// readOnly: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
118
|
-
// required: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
|
|
119
|
-
// testId: PropTypes.string,
|
|
120
|
-
// variant: PropTypes.string,
|
|
121
|
-
// formatter: PropTypes.string,
|
|
122
|
-
// isTableFormatter: PropTypes.bool,
|
|
123
|
-
// hasSuggestions: PropTypes.bool
|
|
124
|
-
// };
|