@pega/dx-component-builder-sdk 0.23.2 → 0.23.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/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
- package/tests/functional/localCreateBuildAllDeleteAllCustom.test.js +1 -1
- package/tests/functional/localCreatePublishAllDeleteAllCustom.test.js +1 -1
- package/tests/functional/localCreatePublishAllDeleteAllOverride.test.js +1 -1
package/package.json
CHANGED
|
@@ -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:
|
|
141
|
+
testId: '',
|
|
142
142
|
additionalProps: {},
|
|
143
143
|
displayMode: null,
|
|
144
144
|
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
|
-
// };
|