@data-driven-forms/mui-component-mapper 4.1.4 → 4.1.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/CHANGELOG.md +6 -0
- package/checkbox/checkbox.js +33 -58
- package/checkbox/index.js +1 -7
- package/component-mapper/component-mapper.js +3 -25
- package/component-mapper/index.js +1 -7
- package/date-picker/date-picker.js +17 -28
- package/date-picker/index.js +1 -7
- package/dual-list-select/dual-list-select.js +149 -186
- package/dual-list-select/index.js +1 -7
- package/esm/checkbox/checkbox.js +31 -38
- package/esm/component-mapper/component-mapper.js +1 -3
- package/esm/date-picker/date-picker.js +16 -18
- package/esm/dual-list-select/dual-list-select.js +148 -158
- package/esm/field-array/field-array.js +92 -116
- package/esm/form-field-grid/form-field-grid.js +2 -5
- package/esm/form-template/form-template.js +23 -40
- package/esm/multiple-choice-list/multiple-choice-list.js +40 -49
- package/esm/plain-text/plain-text.js +8 -11
- package/esm/radio/radio.js +45 -55
- package/esm/select/select.js +55 -71
- package/esm/slider/slider.js +21 -24
- package/esm/sub-form/sub-form.js +10 -14
- package/esm/switch/switch.js +30 -34
- package/esm/tabs/tabs.js +18 -24
- package/esm/text-field/text-field.js +15 -21
- package/esm/textarea/textarea.js +17 -23
- package/esm/time-picker/time-picker.js +16 -18
- package/esm/validation-error/validation-error.js +0 -1
- package/esm/wizard/step-buttons.js +25 -32
- package/esm/wizard/wizard-nav.js +6 -8
- package/esm/wizard/wizard.js +16 -25
- package/field-array/field-array.js +95 -148
- package/field-array/index.js +1 -7
- package/form-field-grid/form-field-grid.js +3 -15
- package/form-field-grid/index.js +0 -2
- package/form-template/form-template.js +25 -55
- package/form-template/index.js +1 -7
- package/index.js +1 -25
- package/multiple-choice-list/index.js +1 -7
- package/multiple-choice-list/multiple-choice-list.js +42 -70
- package/package.json +3 -3
- package/plain-text/index.js +1 -7
- package/plain-text/plain-text.js +9 -18
- package/radio/index.js +1 -7
- package/radio/radio.js +46 -72
- package/select/index.js +1 -7
- package/select/select.js +59 -97
- package/slider/index.js +1 -7
- package/slider/slider.js +22 -40
- package/sub-form/index.js +1 -7
- package/sub-form/sub-form.js +11 -26
- package/switch/index.js +1 -7
- package/switch/switch.js +32 -54
- package/tabs/index.js +1 -7
- package/tabs/tabs.js +20 -43
- package/text-field/index.js +1 -7
- package/text-field/text-field.js +16 -32
- package/textarea/index.js +1 -7
- package/textarea/textarea.js +18 -34
- package/time-picker/index.js +1 -7
- package/time-picker/time-picker.js +17 -30
- package/validation-error/index.js +1 -7
- package/validation-error/validation-error.js +2 -7
- package/wizard/index.js +1 -7
- package/wizard/step-buttons.js +26 -46
- package/wizard/wizard-nav.js +7 -20
- package/wizard/wizard.js +18 -43
- package/tsconfig.json +0 -17
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
|
-
|
|
4
|
-
function
|
|
5
|
-
|
|
6
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
7
|
-
|
|
3
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
8
5
|
import React from 'react';
|
|
9
6
|
import { styled } from '@mui/material/styles';
|
|
10
7
|
import clsx from 'clsx';
|
|
@@ -39,48 +36,45 @@ var classes = {
|
|
|
39
36
|
toolbar: "".concat(PREFIX, "-toolbar")
|
|
40
37
|
};
|
|
41
38
|
var StyledDualListSelect = styled(FormFieldGrid)(function (_ref) {
|
|
42
|
-
var _ref2;
|
|
43
|
-
|
|
44
39
|
var theme = _ref.theme;
|
|
45
|
-
return
|
|
40
|
+
return _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "& .".concat(classes.allToLeftIcon), {
|
|
46
41
|
transform: 'scaleX(-1)'
|
|
47
|
-
}),
|
|
42
|
+
}), "& .".concat(classes.upsideDown), {
|
|
48
43
|
transform: 'scaleY(-1)'
|
|
49
|
-
}),
|
|
44
|
+
}), "& .".concat(classes.list), {
|
|
50
45
|
height: 300,
|
|
51
46
|
overflow: 'auto'
|
|
52
|
-
}),
|
|
47
|
+
}), "& .".concat(classes.button), {
|
|
53
48
|
display: 'flex',
|
|
54
49
|
justifyContent: 'center',
|
|
55
50
|
margin: theme.spacing(0.5, 0)
|
|
56
|
-
}),
|
|
51
|
+
}), "& .".concat(classes.buttonsGrid), {
|
|
57
52
|
height: '100%',
|
|
58
53
|
alignContent: 'center'
|
|
59
|
-
}),
|
|
54
|
+
}), "& .".concat(classes.filter), {
|
|
60
55
|
width: '100%'
|
|
61
|
-
}),
|
|
56
|
+
}), "& .".concat(classes.toolbar), {
|
|
62
57
|
paddingLeft: 16,
|
|
63
58
|
paddingRight: 16
|
|
64
|
-
})
|
|
59
|
+
});
|
|
65
60
|
});
|
|
66
|
-
|
|
67
61
|
var ListInternal = function ListInternal(_ref3) {
|
|
68
62
|
var _ref3$value = _ref3.value,
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
63
|
+
value = _ref3$value === void 0 ? [] : _ref3$value,
|
|
64
|
+
optionClick = _ref3.optionClick,
|
|
65
|
+
noOptionsTitle = _ref3.noOptionsTitle,
|
|
66
|
+
filterValue = _ref3.filterValue,
|
|
67
|
+
filterValueText = _ref3.filterValueText,
|
|
68
|
+
selectedValues = _ref3.selectedValues,
|
|
69
|
+
_ref3$ListProps = _ref3.ListProps,
|
|
70
|
+
ListProps = _ref3$ListProps === void 0 ? {} : _ref3$ListProps,
|
|
71
|
+
ListItemProps = _ref3.ListItemProps,
|
|
72
|
+
ListItemIconProps = _ref3.ListItemIconProps,
|
|
73
|
+
ListItemTextProps = _ref3.ListItemTextProps,
|
|
74
|
+
ListItemSecondaryActionProps = _ref3.ListItemSecondaryActionProps,
|
|
75
|
+
checkboxVariant = _ref3.checkboxVariant,
|
|
76
|
+
PaperProps = _ref3.PaperProps,
|
|
77
|
+
LeftPaperProps = _ref3.LeftPaperProps;
|
|
84
78
|
return /*#__PURE__*/React.createElement(Paper, _extends({}, PaperProps, LeftPaperProps, {
|
|
85
79
|
className: clsx(PaperProps && PaperProps.className, LeftPaperProps && LeftPaperProps.className)
|
|
86
80
|
}), /*#__PURE__*/React.createElement(List, _extends({
|
|
@@ -96,14 +90,14 @@ var ListInternal = function ListInternal(_ref3) {
|
|
|
96
90
|
primary: filterValue ? filterValueText : noOptionsTitle
|
|
97
91
|
})), value.length > 0 && value.map(function (_ref4) {
|
|
98
92
|
var value = _ref4.value,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
93
|
+
label = _ref4.label,
|
|
94
|
+
icon = _ref4.icon,
|
|
95
|
+
isCheckbox = _ref4.isCheckbox,
|
|
96
|
+
secondaryActions = _ref4.secondaryActions,
|
|
97
|
+
ListItemPropsItem = _ref4.ListItemProps,
|
|
98
|
+
ListItemIconPropsItem = _ref4.ListItemIconProps,
|
|
99
|
+
ListItemTextPropsItem = _ref4.ListItemTextProps,
|
|
100
|
+
ListItemSecondaryActionPropsItem = _ref4.ListItemSecondaryActionProps;
|
|
107
101
|
return /*#__PURE__*/React.createElement(ListItem, _extends({
|
|
108
102
|
button: true,
|
|
109
103
|
key: value,
|
|
@@ -123,22 +117,21 @@ var ListInternal = function ListInternal(_ref3) {
|
|
|
123
117
|
}, ListItemTextProps, ListItemTextPropsItem)), secondaryActions && /*#__PURE__*/React.createElement(ListItemSecondaryAction, _extends({}, ListItemSecondaryActionProps, ListItemSecondaryActionPropsItem), secondaryActions));
|
|
124
118
|
})));
|
|
125
119
|
};
|
|
126
|
-
|
|
127
120
|
var ToolbarInternal = function ToolbarInternal(_ref5) {
|
|
128
121
|
var ToolbarProps = _ref5.ToolbarProps,
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
122
|
+
LeftToolbarProps = _ref5.LeftToolbarProps,
|
|
123
|
+
filterOptions = _ref5.filterOptions,
|
|
124
|
+
filterOptionsTitle = _ref5.filterOptionsTitle,
|
|
125
|
+
FilterFieldProps = _ref5.FilterFieldProps,
|
|
126
|
+
sortOptions = _ref5.sortOptions,
|
|
127
|
+
SortIconButtonProps = _ref5.SortIconButtonProps,
|
|
128
|
+
SortIconProps = _ref5.SortIconProps,
|
|
129
|
+
LeftSortIconProps = _ref5.LeftSortIconProps,
|
|
130
|
+
LeftFilterFieldProps = _ref5.LeftFilterFieldProps,
|
|
131
|
+
LeftSortIconButtonProps = _ref5.LeftSortIconButtonProps,
|
|
132
|
+
filter = _ref5.filter,
|
|
133
|
+
sortDesc = _ref5.sortDesc,
|
|
134
|
+
isValue = _ref5.isValue;
|
|
142
135
|
return /*#__PURE__*/React.createElement(Toolbar, _extends({
|
|
143
136
|
variant: "dense"
|
|
144
137
|
}, ToolbarProps, LeftToolbarProps, {
|
|
@@ -166,111 +159,110 @@ var ToolbarInternal = function ToolbarInternal(_ref5) {
|
|
|
166
159
|
className: clsx(!sortDesc && classes.upsideDown, SortIconProps && SortIconProps.className, LeftSortIconProps && LeftSortIconProps.className)
|
|
167
160
|
}))));
|
|
168
161
|
};
|
|
169
|
-
|
|
170
162
|
var DualListSelect = function DualListSelect(_ref7) {
|
|
171
163
|
var handleOptionsClick = _ref7.handleOptionsClick,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
164
|
+
rightValues = _ref7.rightValues,
|
|
165
|
+
_ref7$noValueTitle = _ref7.noValueTitle,
|
|
166
|
+
noValueTitle = _ref7$noValueTitle === void 0 ? 'No selected' : _ref7$noValueTitle,
|
|
167
|
+
_ref7$filterValueText = _ref7.filterValueText,
|
|
168
|
+
filterValueText = _ref7$filterValueText === void 0 ? 'Remove your filter to see all selected' : _ref7$filterValueText,
|
|
169
|
+
leftValues = _ref7.leftValues,
|
|
170
|
+
_ref7$noOptionsTitle = _ref7.noOptionsTitle,
|
|
171
|
+
noOptionsTitle = _ref7$noOptionsTitle === void 0 ? 'No available options' : _ref7$noOptionsTitle,
|
|
172
|
+
state = _ref7.state,
|
|
173
|
+
_ref7$filterOptionsTe = _ref7.filterOptionsText,
|
|
174
|
+
filterOptionsText = _ref7$filterOptionsTe === void 0 ? 'Remove your filter to see all options' : _ref7$filterOptionsTe,
|
|
175
|
+
handleValuesClick = _ref7.handleValuesClick,
|
|
176
|
+
handleMoveRight = _ref7.handleMoveRight,
|
|
177
|
+
_ref7$moveRightTitle = _ref7.moveRightTitle,
|
|
178
|
+
moveRightTitle = _ref7$moveRightTitle === void 0 ? 'Move selected to right' : _ref7$moveRightTitle,
|
|
179
|
+
handleClearLeftValues = _ref7.handleClearLeftValues,
|
|
180
|
+
_ref7$moveAllRightTit = _ref7.moveAllRightTitle,
|
|
181
|
+
moveAllRightTitle = _ref7$moveAllRightTit === void 0 ? 'Move all to right' : _ref7$moveAllRightTit,
|
|
182
|
+
handleClearRightValues = _ref7.handleClearRightValues,
|
|
183
|
+
_ref7$moveAllLeftTitl = _ref7.moveAllLeftTitle,
|
|
184
|
+
moveAllLeftTitle = _ref7$moveAllLeftTitl === void 0 ? 'Move all to left' : _ref7$moveAllLeftTitl,
|
|
185
|
+
handleMoveLeft = _ref7.handleMoveLeft,
|
|
186
|
+
_ref7$moveLeftTitle = _ref7.moveLeftTitle,
|
|
187
|
+
moveLeftTitle = _ref7$moveLeftTitle === void 0 ? 'Move selected to left' : _ref7$moveLeftTitle,
|
|
188
|
+
_ref7$allToRight = _ref7.allToRight,
|
|
189
|
+
allToRight = _ref7$allToRight === void 0 ? true : _ref7$allToRight,
|
|
190
|
+
_ref7$allToLeft = _ref7.allToLeft,
|
|
191
|
+
allToLeft = _ref7$allToLeft === void 0 ? true : _ref7$allToLeft,
|
|
192
|
+
checkboxVariant = _ref7.checkboxVariant,
|
|
193
|
+
isRequired = _ref7.isRequired,
|
|
194
|
+
meta = _ref7.meta,
|
|
195
|
+
validateOnMount = _ref7.validateOnMount,
|
|
196
|
+
label = _ref7.label,
|
|
197
|
+
helperText = _ref7.helperText,
|
|
198
|
+
description = _ref7.description,
|
|
199
|
+
_ref7$filterOptionsTi = _ref7.filterOptionsTitle,
|
|
200
|
+
filterOptionsTitle = _ref7$filterOptionsTi === void 0 ? 'Filter options' : _ref7$filterOptionsTi,
|
|
201
|
+
_ref7$leftTitle = _ref7.leftTitle,
|
|
202
|
+
leftTitle = _ref7$leftTitle === void 0 ? 'Options' : _ref7$leftTitle,
|
|
203
|
+
filterOptions = _ref7.filterOptions,
|
|
204
|
+
sortOptions = _ref7.sortOptions,
|
|
205
|
+
sortValues = _ref7.sortValues,
|
|
206
|
+
_ref7$filterValueTitl = _ref7.filterValueTitle,
|
|
207
|
+
filterValueTitle = _ref7$filterValueTitl === void 0 ? 'Filter selected value' : _ref7$filterValueTitl,
|
|
208
|
+
filterValues = _ref7.filterValues,
|
|
209
|
+
_ref7$rightTitle = _ref7.rightTitle,
|
|
210
|
+
rightTitle = _ref7$rightTitle === void 0 ? 'Selected' : _ref7$rightTitle,
|
|
211
|
+
_ref7$isFilterable = _ref7.isFilterable,
|
|
212
|
+
isFilterable = _ref7$isFilterable === void 0 ? true : _ref7$isFilterable,
|
|
213
|
+
FormFieldGridProps = _ref7.FormFieldGridProps,
|
|
214
|
+
InternalGridProps = _ref7.InternalGridProps,
|
|
215
|
+
ListGridProps = _ref7.ListGridProps,
|
|
216
|
+
LeftListGridProps = _ref7.LeftListGridProps,
|
|
217
|
+
ListProps = _ref7.ListProps,
|
|
218
|
+
LeftListProps = _ref7.LeftListProps,
|
|
219
|
+
ButtonsGridProps = _ref7.ButtonsGridProps,
|
|
220
|
+
ButtonsInternalGridProps = _ref7.ButtonsInternalGridProps,
|
|
221
|
+
ButtonGridProps = _ref7.ButtonGridProps,
|
|
222
|
+
ToRightGridProps = _ref7.ToRightGridProps,
|
|
223
|
+
IconButtonProps = _ref7.IconButtonProps,
|
|
224
|
+
ToRightIconButtonProps = _ref7.ToRightIconButtonProps,
|
|
225
|
+
AllToRightGridProps = _ref7.AllToRightGridProps,
|
|
226
|
+
AllToRightIconButtonProps = _ref7.AllToRightIconButtonProps,
|
|
227
|
+
AllToLeftGridProps = _ref7.AllToLeftGridProps,
|
|
228
|
+
AllToLeftIconButtonProps = _ref7.AllToLeftIconButtonProps,
|
|
229
|
+
ToLeftGridProps = _ref7.ToLeftGridProps,
|
|
230
|
+
ToLeftIconButtonProps = _ref7.ToLeftIconButtonProps,
|
|
231
|
+
RightListGridProps = _ref7.RightListGridProps,
|
|
232
|
+
RightListProps = _ref7.RightListProps,
|
|
233
|
+
ListItemProps = _ref7.ListItemProps,
|
|
234
|
+
ListItemIconProps = _ref7.ListItemIconProps,
|
|
235
|
+
ListItemTextProps = _ref7.ListItemTextProps,
|
|
236
|
+
ListItemSecondaryActionProps = _ref7.ListItemSecondaryActionProps,
|
|
237
|
+
LeftListItemProps = _ref7.LeftListItemProps,
|
|
238
|
+
LeftListItemIconProps = _ref7.LeftListItemIconProps,
|
|
239
|
+
LeftItemTextProps = _ref7.LeftItemTextProps,
|
|
240
|
+
LeftItemSecondaryActionProps = _ref7.LeftItemSecondaryActionProps,
|
|
241
|
+
RightListItemProps = _ref7.RightListItemProps,
|
|
242
|
+
RightListItemIconProps = _ref7.RightListItemIconProps,
|
|
243
|
+
RightItemTextProps = _ref7.RightItemTextProps,
|
|
244
|
+
RightItemSecondaryActionProps = _ref7.RightItemSecondaryActionProps,
|
|
245
|
+
FormControlProps = _ref7.FormControlProps,
|
|
246
|
+
FormLabelProps = _ref7.FormLabelProps,
|
|
247
|
+
FormHelperTextProps = _ref7.FormHelperTextProps,
|
|
248
|
+
TitleProps = _ref7.TitleProps,
|
|
249
|
+
ToolbarProps = _ref7.ToolbarProps,
|
|
250
|
+
FilterFieldProps = _ref7.FilterFieldProps,
|
|
251
|
+
SortIconButtonProps = _ref7.SortIconButtonProps,
|
|
252
|
+
SortIconProps = _ref7.SortIconProps,
|
|
253
|
+
LeftToolbarProps = _ref7.LeftToolbarProps,
|
|
254
|
+
LeftFilterFieldProps = _ref7.LeftFilterFieldProps,
|
|
255
|
+
LeftSortIconButtonProps = _ref7.LeftSortIconButtonProps,
|
|
256
|
+
LeftSortIconProps = _ref7.LeftSortIconProps,
|
|
257
|
+
LeftTitleProps = _ref7.LeftTitleProps,
|
|
258
|
+
RightToolbarProps = _ref7.RightToolbarProps,
|
|
259
|
+
RightFilterFieldProps = _ref7.RightFilterFieldProps,
|
|
260
|
+
RightSortIconButtonProps = _ref7.RightSortIconButtonProps,
|
|
261
|
+
RightSortIconProps = _ref7.RightSortIconProps,
|
|
262
|
+
RightTitleProps = _ref7.RightTitleProps,
|
|
263
|
+
PaperProps = _ref7.PaperProps,
|
|
264
|
+
LeftPaperProps = _ref7.LeftPaperProps,
|
|
265
|
+
RightPaperProps = _ref7.RightPaperProps;
|
|
274
266
|
var invalid = validationError(meta, validateOnMount);
|
|
275
267
|
var text = invalid || (meta.touched || validateOnMount) && meta.warning || helperText || description;
|
|
276
268
|
return /*#__PURE__*/React.createElement(StyledDualListSelect, FormFieldGridProps, /*#__PURE__*/React.createElement(FormControl, _extends({
|
|
@@ -413,11 +405,9 @@ var DualListSelect = function DualListSelect(_ref7) {
|
|
|
413
405
|
LeftPaperProps: RightPaperProps
|
|
414
406
|
}))), text && /*#__PURE__*/React.createElement(FormHelperText, FormHelperTextProps, text)));
|
|
415
407
|
};
|
|
416
|
-
|
|
417
408
|
var DualListSelectWrapper = function DualListSelectWrapper(props) {
|
|
418
409
|
return /*#__PURE__*/React.createElement(DualListSelectCommon, _extends({}, props, {
|
|
419
410
|
DualListSelect: DualListSelect
|
|
420
411
|
}));
|
|
421
412
|
};
|
|
422
|
-
|
|
423
413
|
export default DualListSelectWrapper;
|