@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.
Files changed (65) hide show
  1. package/package.json +1 -1
  2. package/src/tasks/create/templates/Constellation/field/Boolean/index.jsx.mustache +2 -2
  3. package/src/tasks/create/templates/Constellation/field/Date/index.jsx.mustache +1 -1
  4. package/src/tasks/create/templates/Constellation/field/DateTime/index.jsx.mustache +1 -1
  5. package/src/tasks/create/templates/Constellation/field/Decimal/index.jsx.mustache +1 -1
  6. package/src/tasks/create/templates/Constellation/field/Decimal-Currency/index.jsx.mustache +1 -1
  7. package/src/tasks/create/templates/Constellation/field/Decimal-Percentage/index.jsx.mustache +1 -1
  8. package/src/tasks/create/templates/Constellation/field/Integer/index.jsx.mustache +1 -1
  9. package/src/tasks/create/templates/Constellation/field/Picklist/index.jsx.mustache +1 -1
  10. package/src/tasks/create/templates/Constellation/field/Text/index.jsx.mustache +1 -1
  11. package/src/tasks/create/templates/Constellation/field/Text-Email/index.jsx.mustache +1 -1
  12. package/src/tasks/create/templates/Constellation/field/Text-Input/index.jsx.mustache +1 -1
  13. package/src/tasks/create/templates/Constellation/field/Text-Paragraph/index.jsx.mustache +1 -1
  14. package/src/tasks/create/templates/Constellation/field/Text-Phone/index.jsx.mustache +1 -1
  15. package/src/tasks/create/templates/Constellation/field/Text-URL/index.jsx.mustache +1 -1
  16. package/src/tasks/create/templates/Constellation/field/TimeOfDay/index.jsx.mustache +1 -1
  17. package/src/tasks/create/templates/SDK-React/field/Boolean/index.tsx.mustache +0 -28
  18. package/src/tasks/create/templates/SDK-React/field/Date/index.tsx.mustache +0 -27
  19. package/src/tasks/create/templates/SDK-React/field/DateTime/index.tsx.mustache +0 -27
  20. package/src/tasks/create/templates/SDK-React/field/Decimal/index.tsx.mustache +0 -37
  21. package/src/tasks/create/templates/SDK-React/field/Decimal-Currency/index.tsx.mustache +0 -29
  22. package/src/tasks/create/templates/SDK-React/field/Decimal-Percentage/index.tsx.mustache +0 -31
  23. package/src/tasks/create/templates/SDK-React/field/Integer/index.tsx.mustache +0 -33
  24. package/src/tasks/create/templates/SDK-React/field/Picklist/index.tsx.mustache +0 -40
  25. package/src/tasks/create/templates/SDK-React/field/Text/index.tsx.mustache +0 -41
  26. package/src/tasks/create/templates/SDK-React/field/Text-Email/index.tsx.mustache +0 -38
  27. package/src/tasks/create/templates/SDK-React/field/Text-Input/index.tsx.mustache +0 -41
  28. package/src/tasks/create/templates/SDK-React/field/Text-Paragraph/index.tsx.mustache +0 -41
  29. package/src/tasks/create/templates/SDK-React/field/Text-Phone/index.tsx.mustache +0 -35
  30. package/src/tasks/create/templates/SDK-React/field/Text-URL/index.tsx.mustache +0 -35
  31. package/src/tasks/create/templates/SDK-React/field/TimeOfDay/index.tsx.mustache +0 -37
  32. package/src/tasks/create-all/index.js +1 -1
  33. package/src/tasks/map/map.js +23 -5
  34. package/tests/assets/components/SDK-React/create/custom-constellation/field/Pega_DXIL_MyTestText/index.jsx +1 -1
  35. package/tests/assets/components/SDK-React/create/custom-sdk/field/Pega_DXIL_MyTestText/index.tsx +0 -41
  36. package/tests/assets/components/SDK-React/createAll/custom-constellation/field/Pega_DXIL_MyBoolean/index.jsx +2 -2
  37. package/tests/assets/components/SDK-React/createAll/custom-constellation/field/Pega_DXIL_MyCurrency/index.jsx +1 -1
  38. package/tests/assets/components/SDK-React/createAll/custom-constellation/field/Pega_DXIL_MyDate/index.jsx +1 -1
  39. package/tests/assets/components/SDK-React/createAll/custom-constellation/field/Pega_DXIL_MyDateTime/index.jsx +1 -1
  40. package/tests/assets/components/SDK-React/createAll/custom-constellation/field/Pega_DXIL_MyDecimal/index.jsx +1 -1
  41. package/tests/assets/components/SDK-React/createAll/custom-constellation/field/Pega_DXIL_MyEmail/index.jsx +1 -1
  42. package/tests/assets/components/SDK-React/createAll/custom-constellation/field/Pega_DXIL_MyInteger/index.jsx +1 -1
  43. package/tests/assets/components/SDK-React/createAll/custom-constellation/field/Pega_DXIL_MyParagraph/index.jsx +1 -1
  44. package/tests/assets/components/SDK-React/createAll/custom-constellation/field/Pega_DXIL_MyPercentage/index.jsx +1 -1
  45. package/tests/assets/components/SDK-React/createAll/custom-constellation/field/Pega_DXIL_MyPhone/index.jsx +1 -1
  46. package/tests/assets/components/SDK-React/createAll/custom-constellation/field/Pega_DXIL_MyPicklist/index.jsx +1 -1
  47. package/tests/assets/components/SDK-React/createAll/custom-constellation/field/Pega_DXIL_MyText/index.jsx +1 -1
  48. package/tests/assets/components/SDK-React/createAll/custom-constellation/field/Pega_DXIL_MyTextInput/index.jsx +1 -1
  49. package/tests/assets/components/SDK-React/createAll/custom-constellation/field/Pega_DXIL_MyTimeOfDay/index.jsx +1 -1
  50. package/tests/assets/components/SDK-React/createAll/custom-constellation/field/Pega_DXIL_MyURL/index.jsx +1 -1
  51. package/tests/assets/components/SDK-React/createAll/custom-sdk/field/Pega_DXIL_MyBoolean/index.tsx +0 -28
  52. package/tests/assets/components/SDK-React/createAll/custom-sdk/field/Pega_DXIL_MyCurrency/index.tsx +0 -29
  53. package/tests/assets/components/SDK-React/createAll/custom-sdk/field/Pega_DXIL_MyDate/index.tsx +0 -27
  54. package/tests/assets/components/SDK-React/createAll/custom-sdk/field/Pega_DXIL_MyDateTime/index.tsx +0 -27
  55. package/tests/assets/components/SDK-React/createAll/custom-sdk/field/Pega_DXIL_MyDecimal/index.tsx +0 -37
  56. package/tests/assets/components/SDK-React/createAll/custom-sdk/field/Pega_DXIL_MyEmail/index.tsx +0 -38
  57. package/tests/assets/components/SDK-React/createAll/custom-sdk/field/Pega_DXIL_MyInteger/index.tsx +0 -33
  58. package/tests/assets/components/SDK-React/createAll/custom-sdk/field/Pega_DXIL_MyParagraph/index.tsx +0 -41
  59. package/tests/assets/components/SDK-React/createAll/custom-sdk/field/Pega_DXIL_MyPercentage/index.tsx +0 -31
  60. package/tests/assets/components/SDK-React/createAll/custom-sdk/field/Pega_DXIL_MyPhone/index.tsx +0 -35
  61. package/tests/assets/components/SDK-React/createAll/custom-sdk/field/Pega_DXIL_MyPicklist/index.tsx +0 -40
  62. package/tests/assets/components/SDK-React/createAll/custom-sdk/field/Pega_DXIL_MyText/index.tsx +0 -41
  63. package/tests/assets/components/SDK-React/createAll/custom-sdk/field/Pega_DXIL_MyTextInput/index.tsx +0 -41
  64. package/tests/assets/components/SDK-React/createAll/custom-sdk/field/Pega_DXIL_MyTimeOfDay/index.tsx +0 -37
  65. package/tests/assets/components/SDK-React/createAll/custom-sdk/field/Pega_DXIL_MyURL/index.tsx +0 -35
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pega/dx-component-builder-sdk",
3
- "version": "0.23.2",
3
+ "version": "0.23.3",
4
4
  "description": "Utility for building custom UI components",
5
5
  "bin": "./bin/index.js",
6
6
  "scripts": {
@@ -65,7 +65,7 @@ const {{COMPONENT_CLASS_NAME}} = 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 @@ const {{COMPONENT_CLASS_NAME}} = props => {
138
138
  disabled: false,
139
139
  readOnly: false,
140
140
  required: false,
141
- testId: null,
141
+ testId: '',
142
142
  additionalProps: {},
143
143
  displayMode: null,
144
144
  variant: 'inline',
@@ -221,7 +221,7 @@ const {{COMPONENT_CLASS_NAME}} = props => {
221
221
  showWeekNumber: false,
222
222
  nextYearRange: "",
223
223
  previousYearRange: "",
224
- testId: null,
224
+ testId: "",
225
225
  showAsFormattedText: false,
226
226
  additionalProps: {},
227
227
  displayMode: null,
@@ -217,7 +217,7 @@ const {{COMPONENT_CLASS_NAME}} = props => {
217
217
  showWeekNumber: false,
218
218
  nextYearRange: "",
219
219
  previousYearRange: "",
220
- testId: null,
220
+ testId: "",
221
221
  additionalProps: {},
222
222
  displayMode: null,
223
223
  variant: "inline",
@@ -225,7 +225,7 @@ const {{COMPONENT_CLASS_NAME}} = props => {
225
225
  disabled: false,
226
226
  readOnly: false,
227
227
  required: false,
228
- testId: null,
228
+ testId: "",
229
229
  decimalPrecision: '',
230
230
  showGroupSeparators: false,
231
231
  displayMode: null,
@@ -251,7 +251,7 @@ const {{COMPONENT_CLASS_NAME}} = props => {
251
251
  allowDecimals: true,
252
252
  currencyISOCode: 'USD',
253
253
  isoCodeSelection: 'constant',
254
- testId: null,
254
+ testId: "",
255
255
  displayMode: null,
256
256
  additionalProps: {},
257
257
  variant: 'inline',
@@ -243,7 +243,7 @@ const {{COMPONENT_CLASS_NAME}} = props => {
243
243
  disabled: false,
244
244
  readOnly: false,
245
245
  required: false,
246
- testId: null,
246
+ testId: "",
247
247
  decimalPrecision: '',
248
248
  showGroupSeparators: false,
249
249
  additionalProps: {},
@@ -275,7 +275,7 @@ const {{COMPONENT_CLASS_NAME}} = props => {
275
275
  disabled: false,
276
276
  readOnly: false,
277
277
  required: false,
278
- testId: null,
278
+ testId: "",
279
279
  showGroupSeparators: false,
280
280
  displayMode: null,
281
281
  displayAs: 'input',
@@ -305,7 +305,7 @@ const {{COMPONENT_CLASS_NAME}} = props => {
305
305
  disabled: false,
306
306
  readOnly: false,
307
307
  required: false,
308
- testId: null,
308
+ testId: '',
309
309
  helperText: '',
310
310
  datasource: [],
311
311
  listType: '',
@@ -43,7 +43,7 @@ const {{COMPONENT_CLASS_NAME}} = props => {
43
43
  disabled: false,
44
44
  readOnly: false,
45
45
  required: false,
46
- testId: null
46
+ testId: ''
47
47
  };
48
48
 
49
49
  {{COMPONENT_CLASS_NAME}}.propTypes = {
@@ -199,7 +199,7 @@ const {{COMPONENT_CLASS_NAME}} = props => {
199
199
  disabled: false,
200
200
  readOnly: false,
201
201
  required: false,
202
- testId: null,
202
+ testId: '',
203
203
  displayMode: null,
204
204
  additionalProps: {},
205
205
  variant: 'inline',
@@ -204,7 +204,7 @@ const {{COMPONENT_CLASS_NAME}} = props => {
204
204
  disabled: false,
205
205
  readOnly: false,
206
206
  required: false,
207
- testId: null,
207
+ testId: '',
208
208
  fieldMetadata: {},
209
209
  additionalProps: {},
210
210
  displayMode: null,
@@ -197,7 +197,7 @@ const {{COMPONENT_CLASS_NAME}} = props => {
197
197
  disabled: false,
198
198
  readOnly: false,
199
199
  required: false,
200
- testId: null,
200
+ testId: '',
201
201
  displayMode: null,
202
202
  fieldMetadata: {},
203
203
  additionalProps: {},
@@ -232,7 +232,7 @@ const {{COMPONENT_CLASS_NAME}} = props => {
232
232
  readOnly: false,
233
233
  required: false,
234
234
  showCountryCode: true,
235
- testId: null,
235
+ testId: '',
236
236
  displayMode: null,
237
237
  additionalProps: {},
238
238
  variant: 'inline',
@@ -180,7 +180,7 @@ const {{COMPONENT_CLASS_NAME}} = props => {
180
180
  disabled: false,
181
181
  readOnly: false,
182
182
  required: false,
183
- testId: null,
183
+ testId: '',
184
184
  displayMode: null,
185
185
  additionalProps: {},
186
186
  variant: 'inline',
@@ -183,7 +183,7 @@ const {{COMPONENT_CLASS_NAME}} = props => {
183
183
  required: false,
184
184
  pickerInterval: "30",
185
185
  clockFormat: 0,
186
- testId: null,
186
+ testId: "",
187
187
  additionalProps: {},
188
188
  displayMode: null,
189
189
  variant: "inline",
@@ -116,31 +116,3 @@ export default function {{COMPONENT_CLASS_NAME}}(props /* : {{COMPONENT_CLASS_NA
116
116
  );
117
117
  }
118
118
 
119
-
120
- // {{COMPONENT_CLASS_NAME}}.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
- // {{COMPONENT_CLASS_NAME}}.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
- // };
@@ -115,30 +115,3 @@ export default function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}
115
115
  </Styled{{COMPONENT_CLASS_NAME}}Wrapper>
116
116
  );
117
117
  }
118
-
119
- // {{COMPONENT_CLASS_NAME}}.defaultProps = {
120
- // value: undefined,
121
- // validatemessage: "",
122
- // helperText: "",
123
- // hideLabel: false,
124
- // disabled: false,
125
- // readOnly: false,
126
- // required: false,
127
- // testId: null,
128
- // displayMode: null,
129
- // variant: "inline"
130
- // };
131
-
132
- // {{COMPONENT_CLASS_NAME}}.propTypes = {
133
- // value: PropTypes.string,
134
- // label: PropTypes.string.isRequired,
135
- // hideLabel: PropTypes.bool,
136
- // getPConnect: PropTypes.func.isRequired,
137
- // validatemessage: PropTypes.string,
138
- // helperText: PropTypes.string,
139
- // readOnly: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
140
- // required: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
141
- // testId: PropTypes.string,
142
- // displayMode: PropTypes.string,
143
- // variant: PropTypes.string
144
- // };
@@ -110,30 +110,3 @@ export default function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}
110
110
  );
111
111
  }
112
112
 
113
- // {{COMPONENT_CLASS_NAME}}.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
- // {{COMPONENT_CLASS_NAME}}.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
- // };
@@ -126,40 +126,3 @@ export default function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}
126
126
  );
127
127
  }
128
128
 
129
- // {{COMPONENT_CLASS_NAME}}.defaultProps = {
130
- // value: '',
131
- // placeholder: '',
132
- // validatemessage: '',
133
- // helperText: '',
134
- // displayAsStatus: false,
135
- // hideLabel: false,
136
- // disabled: false,
137
- // readOnly: false,
138
- // required: false,
139
- // testId: null,
140
- // fieldMetadata: {},
141
- // additionalProps: {},
142
- // displayMode: null,
143
- // isTableFormatter: false,
144
- // hasSuggestions: false
145
- // };
146
-
147
- // {{COMPONENT_CLASS_NAME}}.propTypes = {
148
- // value: PropTypes.string,
149
- // placeholder: PropTypes.string,
150
- // displayMode: PropTypes.string,
151
- // displayAsStatus: PropTypes.bool,
152
- // label: PropTypes.string.isRequired,
153
- // hideLabel: PropTypes.bool,
154
- // getPConnect: PropTypes.func.isRequired,
155
- // validatemessage: PropTypes.string,
156
- // helperText: PropTypes.string,
157
- // disabled: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
158
- // readOnly: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
159
- // required: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
160
- // testId: PropTypes.string,
161
- // fieldMetadata: PropTypes.objectOf(PropTypes.any),
162
- // additionalProps: PropTypes.objectOf(PropTypes.any),
163
- // isTableFormatter: PropTypes.bool,
164
- // hasSuggestions: PropTypes.bool
165
- // };
@@ -128,32 +128,3 @@ export default function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}
128
128
  );
129
129
  }
130
130
 
131
- // {{COMPONENT_CLASS_NAME}}.defaultProps = {
132
- // value: '',
133
- // placeholder: '',
134
- // validatemessage: '',
135
- // helperText: '',
136
- // displayAsStatus: false,
137
- // hideLabel: false,
138
- // disabled: false,
139
- // readOnly: false,
140
- // required: false,
141
- // testId: null,
142
- // displayMode: null
143
- // };
144
-
145
- // {{COMPONENT_CLASS_NAME}}.propTypes = {
146
- // value: PropTypes.string,
147
- // placeholder: PropTypes.string,
148
- // displayMode: PropTypes.string,
149
- // displayAsStatus: PropTypes.bool,
150
- // label: PropTypes.string.isRequired,
151
- // hideLabel: PropTypes.bool,
152
- // getPConnect: PropTypes.func.isRequired,
153
- // validatemessage: PropTypes.string,
154
- // helperText: PropTypes.string,
155
- // disabled: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
156
- // readOnly: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
157
- // required: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
158
- // testId: PropTypes.string
159
- // };
@@ -102,34 +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
- // };
119
-
120
- // {{COMPONENT_CLASS_NAME}}.propTypes = {
121
- // value: PropTypes.string,
122
- // placeholder: PropTypes.string,
123
- // displayMode: PropTypes.string,
124
- // displayAsStatus: PropTypes.bool,
125
- // label: PropTypes.string.isRequired,
126
- // hideLabel: PropTypes.bool,
127
- // getPConnect: PropTypes.func.isRequired,
128
- // validatemessage: PropTypes.string,
129
- // helperText: PropTypes.string,
130
- // disabled: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
131
- // readOnly: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
132
- // required: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
133
- // testId: PropTypes.string,
134
- // variant: PropTypes.string
135
- // };
@@ -97,36 +97,3 @@ export default function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}
97
97
  );
98
98
  }
99
99
 
100
- // {{COMPONENT_CLASS_NAME}}.defaultProps = {
101
- // value: '',
102
- // placeholder: '',
103
- // validatemessage: '',
104
- // helperText: '',
105
- // displayAsStatus: false,
106
- // hideLabel: false,
107
- // disabled: false,
108
- // readOnly: false,
109
- // required: false,
110
- // testId: null,
111
- // displayMode: null,
112
- // variant: 'inline',
113
- // formatter: ''
114
- // };
115
-
116
- // {{COMPONENT_CLASS_NAME}}.propTypes = {
117
- // value: PropTypes.string,
118
- // placeholder: PropTypes.string,
119
- // displayMode: PropTypes.string,
120
- // displayAsStatus: PropTypes.bool,
121
- // label: PropTypes.string.isRequired,
122
- // hideLabel: PropTypes.bool,
123
- // getPConnect: PropTypes.func.isRequired,
124
- // validatemessage: PropTypes.string,
125
- // helperText: PropTypes.string,
126
- // disabled: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
127
- // readOnly: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
128
- // required: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
129
- // testId: PropTypes.string,
130
- // variant: PropTypes.string,
131
- // formatter: PropTypes.string
132
- // };
@@ -138,43 +138,3 @@ export default function {{COMPONENT_CLASS_NAME}}(props /* : {{COMPONENT_CLASS_NA
138
138
  );
139
139
  }
140
140
 
141
- // {{COMPONENT_CLASS_NAME}}.defaultProps = {
142
- // value: '',
143
- // placeholder: '',
144
- // validatemessage: '',
145
- // helperText: '',
146
- // displayAsStatus: false,
147
- // datasource: [],
148
- // hideLabel: false,
149
- // disabled: false,
150
- // readOnly: false,
151
- // required: false,
152
- // testId: null,
153
- // displayMode: null,
154
- // variant: 'inline',
155
- // formatter: ''
156
- // };
157
-
158
- // {{COMPONENT_CLASS_NAME}}.propTypes = {
159
- // value: PropTypes.string,
160
- // placeholder: PropTypes.string,
161
- // displayMode: PropTypes.string,
162
- // displayAsStatus: PropTypes.bool,
163
- // label: PropTypes.string.isRequired,
164
- // hideLabel: PropTypes.bool,
165
- // getPConnect: PropTypes.func.isRequired,
166
- // validatemessage: PropTypes.string,
167
- // helperText: PropTypes.string,
168
- // datasource: PropTypes.oneOfType([
169
- // PropTypes.arrayOf(PropTypes.any),
170
- // PropTypes.shape({
171
- // source: PropTypes.arrayOf(PropTypes.any)
172
- // })
173
- // ]),
174
- // disabled: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
175
- // readOnly: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
176
- // required: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
177
- // testId: PropTypes.string,
178
- // variant: PropTypes.string,
179
- // formatter: PropTypes.string
180
- // };
@@ -83,44 +83,3 @@ export default function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}
83
83
  );
84
84
  }
85
85
 
86
- // {{COMPONENT_CLASS_NAME}}.defaultProps = {
87
- // value: '',
88
- // placeholder: '',
89
- // validatemessage: '',
90
- // helperText: '',
91
- // displayAsStatus: false,
92
- // hideLabel: false,
93
- // disabled: false,
94
- // readOnly: false,
95
- // required: false,
96
- // testId: null,
97
- // fieldMetadata: {},
98
- // additionalProps: {},
99
- // displayMode: null,
100
- // variant: 'inline',
101
- // formatter: '',
102
- // isTableFormatter: false,
103
- // hasSuggestions: false
104
- // };
105
-
106
- // {{COMPONENT_CLASS_NAME}}.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
- // fieldMetadata: PropTypes.objectOf(PropTypes.any),
121
- // additionalProps: PropTypes.objectOf(PropTypes.any),
122
- // variant: PropTypes.string,
123
- // formatter: PropTypes.string,
124
- // isTableFormatter: PropTypes.bool,
125
- // hasSuggestions: PropTypes.bool
126
- // };
@@ -87,41 +87,3 @@ export default function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}
87
87
  </Styled{{COMPONENT_CLASS_NAME}}Wrapper>
88
88
  );
89
89
  }
90
-
91
- // {{COMPONENT_CLASS_NAME}}.defaultProps = {
92
- // value: '',
93
- // placeholder: '',
94
- // validatemessage: '',
95
- // helperText: '',
96
- // displayAsStatus: false,
97
- // hideLabel: false,
98
- // disabled: false,
99
- // readOnly: false,
100
- // required: false,
101
- // testId: null,
102
- // displayMode: null,
103
- // variant: 'inline',
104
- // formatter: '',
105
- // isTableFormatter: false,
106
- // hasSuggestions: false
107
- // };
108
-
109
- // {{COMPONENT_CLASS_NAME}}.propTypes = {
110
- // value: PropTypes.string,
111
- // placeholder: PropTypes.string,
112
- // displayMode: PropTypes.string,
113
- // displayAsStatus: PropTypes.bool,
114
- // label: PropTypes.string.isRequired,
115
- // hideLabel: PropTypes.bool,
116
- // getPConnect: PropTypes.func.isRequired,
117
- // validatemessage: PropTypes.string,
118
- // helperText: PropTypes.string,
119
- // disabled: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
120
- // readOnly: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
121
- // required: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
122
- // testId: PropTypes.string,
123
- // variant: PropTypes.string,
124
- // formatter: PropTypes.string,
125
- // isTableFormatter: PropTypes.bool,
126
- // hasSuggestions: PropTypes.bool
127
- // };
@@ -84,44 +84,3 @@ export default function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}
84
84
  );
85
85
  }
86
86
 
87
- // {{COMPONENT_CLASS_NAME}}.defaultProps = {
88
- // value: '',
89
- // placeholder: '',
90
- // validatemessage: '',
91
- // helperText: '',
92
- // displayAsStatus: false,
93
- // hideLabel: false,
94
- // disabled: false,
95
- // readOnly: false,
96
- // required: false,
97
- // testId: null,
98
- // fieldMetadata: {},
99
- // additionalProps: {},
100
- // displayMode: null,
101
- // variant: 'inline',
102
- // formatter: '',
103
- // isTableFormatter: false,
104
- // hasSuggestions: false
105
- // };
106
-
107
- // {{COMPONENT_CLASS_NAME}}.propTypes = {
108
- // value: PropTypes.string,
109
- // placeholder: PropTypes.string,
110
- // displayMode: PropTypes.string,
111
- // displayAsStatus: PropTypes.bool,
112
- // label: PropTypes.string.isRequired,
113
- // hideLabel: PropTypes.bool,
114
- // getPConnect: PropTypes.func.isRequired,
115
- // validatemessage: PropTypes.string,
116
- // helperText: PropTypes.string,
117
- // disabled: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
118
- // readOnly: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
119
- // required: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
120
- // testId: PropTypes.string,
121
- // fieldMetadata: PropTypes.objectOf(PropTypes.any),
122
- // additionalProps: PropTypes.objectOf(PropTypes.any),
123
- // variant: PropTypes.string,
124
- // formatter: PropTypes.string,
125
- // isTableFormatter: PropTypes.bool,
126
- // hasSuggestions: PropTypes.bool
127
- // };
@@ -87,44 +87,3 @@ export default function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}
87
87
  );
88
88
  }
89
89
 
90
- // {{COMPONENT_CLASS_NAME}}.defaultProps = {
91
- // value: '',
92
- // placeholder: '',
93
- // validatemessage: '',
94
- // helperText: '',
95
- // displayAsStatus: false,
96
- // hideLabel: false,
97
- // disabled: false,
98
- // readOnly: false,
99
- // required: false,
100
- // testId: null,
101
- // fieldMetadata: {},
102
- // additionalProps: {},
103
- // displayMode: null,
104
- // variant: 'inline',
105
- // formatter: '',
106
- // isTableFormatter: false,
107
- // hasSuggestions: false
108
- // };
109
-
110
- // {{COMPONENT_CLASS_NAME}}.propTypes = {
111
- // value: PropTypes.string,
112
- // placeholder: PropTypes.string,
113
- // displayMode: PropTypes.string,
114
- // displayAsStatus: PropTypes.bool,
115
- // label: PropTypes.string.isRequired,
116
- // hideLabel: PropTypes.bool,
117
- // getPConnect: PropTypes.func.isRequired,
118
- // validatemessage: PropTypes.string,
119
- // helperText: PropTypes.string,
120
- // disabled: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
121
- // readOnly: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
122
- // required: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
123
- // testId: PropTypes.string,
124
- // fieldMetadata: PropTypes.objectOf(PropTypes.any),
125
- // additionalProps: PropTypes.objectOf(PropTypes.any),
126
- // variant: PropTypes.string,
127
- // formatter: PropTypes.string,
128
- // isTableFormatter: PropTypes.bool,
129
- // hasSuggestions: PropTypes.bool
130
- // };