@data-driven-forms/mui-component-mapper 4.1.4 → 4.1.5

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 (68) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/checkbox/checkbox.js +33 -58
  3. package/checkbox/index.js +1 -7
  4. package/component-mapper/component-mapper.js +3 -25
  5. package/component-mapper/index.js +1 -7
  6. package/date-picker/date-picker.js +17 -28
  7. package/date-picker/index.js +1 -7
  8. package/dual-list-select/dual-list-select.js +149 -186
  9. package/dual-list-select/index.js +1 -7
  10. package/esm/checkbox/checkbox.js +31 -38
  11. package/esm/component-mapper/component-mapper.js +1 -3
  12. package/esm/date-picker/date-picker.js +16 -18
  13. package/esm/dual-list-select/dual-list-select.js +148 -158
  14. package/esm/field-array/field-array.js +92 -116
  15. package/esm/form-field-grid/form-field-grid.js +2 -5
  16. package/esm/form-template/form-template.js +23 -40
  17. package/esm/multiple-choice-list/multiple-choice-list.js +40 -49
  18. package/esm/plain-text/plain-text.js +8 -11
  19. package/esm/radio/radio.js +45 -55
  20. package/esm/select/select.js +55 -71
  21. package/esm/slider/slider.js +21 -24
  22. package/esm/sub-form/sub-form.js +10 -14
  23. package/esm/switch/switch.js +30 -34
  24. package/esm/tabs/tabs.js +18 -24
  25. package/esm/text-field/text-field.js +15 -21
  26. package/esm/textarea/textarea.js +17 -23
  27. package/esm/time-picker/time-picker.js +16 -18
  28. package/esm/validation-error/validation-error.js +0 -1
  29. package/esm/wizard/step-buttons.js +25 -32
  30. package/esm/wizard/wizard-nav.js +6 -8
  31. package/esm/wizard/wizard.js +16 -25
  32. package/field-array/field-array.js +95 -148
  33. package/field-array/index.js +1 -7
  34. package/form-field-grid/form-field-grid.js +3 -15
  35. package/form-field-grid/index.js +0 -2
  36. package/form-template/form-template.js +25 -55
  37. package/form-template/index.js +1 -7
  38. package/index.js +1 -25
  39. package/multiple-choice-list/index.js +1 -7
  40. package/multiple-choice-list/multiple-choice-list.js +42 -70
  41. package/package.json +3 -3
  42. package/plain-text/index.js +1 -7
  43. package/plain-text/plain-text.js +9 -18
  44. package/radio/index.js +1 -7
  45. package/radio/radio.js +46 -72
  46. package/select/index.js +1 -7
  47. package/select/select.js +59 -97
  48. package/slider/index.js +1 -7
  49. package/slider/slider.js +22 -40
  50. package/sub-form/index.js +1 -7
  51. package/sub-form/sub-form.js +11 -26
  52. package/switch/index.js +1 -7
  53. package/switch/switch.js +32 -54
  54. package/tabs/index.js +1 -7
  55. package/tabs/tabs.js +20 -43
  56. package/text-field/index.js +1 -7
  57. package/text-field/text-field.js +16 -32
  58. package/textarea/index.js +1 -7
  59. package/textarea/textarea.js +18 -34
  60. package/time-picker/index.js +1 -7
  61. package/time-picker/time-picker.js +17 -30
  62. package/validation-error/index.js +1 -7
  63. package/validation-error/validation-error.js +2 -7
  64. package/wizard/index.js +1 -7
  65. package/wizard/step-buttons.js +26 -46
  66. package/wizard/wizard-nav.js +7 -20
  67. package/wizard/wizard.js +18 -43
  68. 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 ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
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 _ref2 = {}, _defineProperty(_ref2, "& .".concat(classes.allToLeftIcon), {
40
+ return _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "& .".concat(classes.allToLeftIcon), {
46
41
  transform: 'scaleX(-1)'
47
- }), _defineProperty(_ref2, "& .".concat(classes.upsideDown), {
42
+ }), "& .".concat(classes.upsideDown), {
48
43
  transform: 'scaleY(-1)'
49
- }), _defineProperty(_ref2, "& .".concat(classes.list), {
44
+ }), "& .".concat(classes.list), {
50
45
  height: 300,
51
46
  overflow: 'auto'
52
- }), _defineProperty(_ref2, "& .".concat(classes.button), {
47
+ }), "& .".concat(classes.button), {
53
48
  display: 'flex',
54
49
  justifyContent: 'center',
55
50
  margin: theme.spacing(0.5, 0)
56
- }), _defineProperty(_ref2, "& .".concat(classes.buttonsGrid), {
51
+ }), "& .".concat(classes.buttonsGrid), {
57
52
  height: '100%',
58
53
  alignContent: 'center'
59
- }), _defineProperty(_ref2, "& .".concat(classes.filter), {
54
+ }), "& .".concat(classes.filter), {
60
55
  width: '100%'
61
- }), _defineProperty(_ref2, "& .".concat(classes.toolbar), {
56
+ }), "& .".concat(classes.toolbar), {
62
57
  paddingLeft: 16,
63
58
  paddingRight: 16
64
- }), _ref2;
59
+ });
65
60
  });
66
-
67
61
  var ListInternal = function ListInternal(_ref3) {
68
62
  var _ref3$value = _ref3.value,
69
- value = _ref3$value === void 0 ? [] : _ref3$value,
70
- optionClick = _ref3.optionClick,
71
- noOptionsTitle = _ref3.noOptionsTitle,
72
- filterValue = _ref3.filterValue,
73
- filterValueText = _ref3.filterValueText,
74
- selectedValues = _ref3.selectedValues,
75
- _ref3$ListProps = _ref3.ListProps,
76
- ListProps = _ref3$ListProps === void 0 ? {} : _ref3$ListProps,
77
- ListItemProps = _ref3.ListItemProps,
78
- ListItemIconProps = _ref3.ListItemIconProps,
79
- ListItemTextProps = _ref3.ListItemTextProps,
80
- ListItemSecondaryActionProps = _ref3.ListItemSecondaryActionProps,
81
- checkboxVariant = _ref3.checkboxVariant,
82
- PaperProps = _ref3.PaperProps,
83
- LeftPaperProps = _ref3.LeftPaperProps;
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
- label = _ref4.label,
100
- icon = _ref4.icon,
101
- isCheckbox = _ref4.isCheckbox,
102
- secondaryActions = _ref4.secondaryActions,
103
- ListItemPropsItem = _ref4.ListItemProps,
104
- ListItemIconPropsItem = _ref4.ListItemIconProps,
105
- ListItemTextPropsItem = _ref4.ListItemTextProps,
106
- ListItemSecondaryActionPropsItem = _ref4.ListItemSecondaryActionProps;
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
- LeftToolbarProps = _ref5.LeftToolbarProps,
130
- filterOptions = _ref5.filterOptions,
131
- filterOptionsTitle = _ref5.filterOptionsTitle,
132
- FilterFieldProps = _ref5.FilterFieldProps,
133
- sortOptions = _ref5.sortOptions,
134
- SortIconButtonProps = _ref5.SortIconButtonProps,
135
- SortIconProps = _ref5.SortIconProps,
136
- LeftSortIconProps = _ref5.LeftSortIconProps,
137
- LeftFilterFieldProps = _ref5.LeftFilterFieldProps,
138
- LeftSortIconButtonProps = _ref5.LeftSortIconButtonProps,
139
- filter = _ref5.filter,
140
- sortDesc = _ref5.sortDesc,
141
- isValue = _ref5.isValue;
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
- rightValues = _ref7.rightValues,
173
- _ref7$noValueTitle = _ref7.noValueTitle,
174
- noValueTitle = _ref7$noValueTitle === void 0 ? 'No selected' : _ref7$noValueTitle,
175
- _ref7$filterValueText = _ref7.filterValueText,
176
- filterValueText = _ref7$filterValueText === void 0 ? 'Remove your filter to see all selected' : _ref7$filterValueText,
177
- leftValues = _ref7.leftValues,
178
- _ref7$noOptionsTitle = _ref7.noOptionsTitle,
179
- noOptionsTitle = _ref7$noOptionsTitle === void 0 ? 'No available options' : _ref7$noOptionsTitle,
180
- state = _ref7.state,
181
- _ref7$filterOptionsTe = _ref7.filterOptionsText,
182
- filterOptionsText = _ref7$filterOptionsTe === void 0 ? 'Remove your filter to see all options' : _ref7$filterOptionsTe,
183
- handleValuesClick = _ref7.handleValuesClick,
184
- handleMoveRight = _ref7.handleMoveRight,
185
- _ref7$moveRightTitle = _ref7.moveRightTitle,
186
- moveRightTitle = _ref7$moveRightTitle === void 0 ? 'Move selected to right' : _ref7$moveRightTitle,
187
- handleClearLeftValues = _ref7.handleClearLeftValues,
188
- _ref7$moveAllRightTit = _ref7.moveAllRightTitle,
189
- moveAllRightTitle = _ref7$moveAllRightTit === void 0 ? 'Move all to right' : _ref7$moveAllRightTit,
190
- handleClearRightValues = _ref7.handleClearRightValues,
191
- _ref7$moveAllLeftTitl = _ref7.moveAllLeftTitle,
192
- moveAllLeftTitle = _ref7$moveAllLeftTitl === void 0 ? 'Move all to left' : _ref7$moveAllLeftTitl,
193
- handleMoveLeft = _ref7.handleMoveLeft,
194
- _ref7$moveLeftTitle = _ref7.moveLeftTitle,
195
- moveLeftTitle = _ref7$moveLeftTitle === void 0 ? 'Move selected to left' : _ref7$moveLeftTitle,
196
- _ref7$allToRight = _ref7.allToRight,
197
- allToRight = _ref7$allToRight === void 0 ? true : _ref7$allToRight,
198
- _ref7$allToLeft = _ref7.allToLeft,
199
- allToLeft = _ref7$allToLeft === void 0 ? true : _ref7$allToLeft,
200
- checkboxVariant = _ref7.checkboxVariant,
201
- isRequired = _ref7.isRequired,
202
- meta = _ref7.meta,
203
- validateOnMount = _ref7.validateOnMount,
204
- label = _ref7.label,
205
- helperText = _ref7.helperText,
206
- description = _ref7.description,
207
- _ref7$filterOptionsTi = _ref7.filterOptionsTitle,
208
- filterOptionsTitle = _ref7$filterOptionsTi === void 0 ? 'Filter options' : _ref7$filterOptionsTi,
209
- _ref7$leftTitle = _ref7.leftTitle,
210
- leftTitle = _ref7$leftTitle === void 0 ? 'Options' : _ref7$leftTitle,
211
- filterOptions = _ref7.filterOptions,
212
- sortOptions = _ref7.sortOptions,
213
- sortValues = _ref7.sortValues,
214
- _ref7$filterValueTitl = _ref7.filterValueTitle,
215
- filterValueTitle = _ref7$filterValueTitl === void 0 ? 'Filter selected value' : _ref7$filterValueTitl,
216
- filterValues = _ref7.filterValues,
217
- _ref7$rightTitle = _ref7.rightTitle,
218
- rightTitle = _ref7$rightTitle === void 0 ? 'Selected' : _ref7$rightTitle,
219
- _ref7$isFilterable = _ref7.isFilterable,
220
- isFilterable = _ref7$isFilterable === void 0 ? true : _ref7$isFilterable,
221
- FormFieldGridProps = _ref7.FormFieldGridProps,
222
- InternalGridProps = _ref7.InternalGridProps,
223
- ListGridProps = _ref7.ListGridProps,
224
- LeftListGridProps = _ref7.LeftListGridProps,
225
- ListProps = _ref7.ListProps,
226
- LeftListProps = _ref7.LeftListProps,
227
- ButtonsGridProps = _ref7.ButtonsGridProps,
228
- ButtonsInternalGridProps = _ref7.ButtonsInternalGridProps,
229
- ButtonGridProps = _ref7.ButtonGridProps,
230
- ToRightGridProps = _ref7.ToRightGridProps,
231
- IconButtonProps = _ref7.IconButtonProps,
232
- ToRightIconButtonProps = _ref7.ToRightIconButtonProps,
233
- AllToRightGridProps = _ref7.AllToRightGridProps,
234
- AllToRightIconButtonProps = _ref7.AllToRightIconButtonProps,
235
- AllToLeftGridProps = _ref7.AllToLeftGridProps,
236
- AllToLeftIconButtonProps = _ref7.AllToLeftIconButtonProps,
237
- ToLeftGridProps = _ref7.ToLeftGridProps,
238
- ToLeftIconButtonProps = _ref7.ToLeftIconButtonProps,
239
- RightListGridProps = _ref7.RightListGridProps,
240
- RightListProps = _ref7.RightListProps,
241
- ListItemProps = _ref7.ListItemProps,
242
- ListItemIconProps = _ref7.ListItemIconProps,
243
- ListItemTextProps = _ref7.ListItemTextProps,
244
- ListItemSecondaryActionProps = _ref7.ListItemSecondaryActionProps,
245
- LeftListItemProps = _ref7.LeftListItemProps,
246
- LeftListItemIconProps = _ref7.LeftListItemIconProps,
247
- LeftItemTextProps = _ref7.LeftItemTextProps,
248
- LeftItemSecondaryActionProps = _ref7.LeftItemSecondaryActionProps,
249
- RightListItemProps = _ref7.RightListItemProps,
250
- RightListItemIconProps = _ref7.RightListItemIconProps,
251
- RightItemTextProps = _ref7.RightItemTextProps,
252
- RightItemSecondaryActionProps = _ref7.RightItemSecondaryActionProps,
253
- FormControlProps = _ref7.FormControlProps,
254
- FormLabelProps = _ref7.FormLabelProps,
255
- FormHelperTextProps = _ref7.FormHelperTextProps,
256
- TitleProps = _ref7.TitleProps,
257
- ToolbarProps = _ref7.ToolbarProps,
258
- FilterFieldProps = _ref7.FilterFieldProps,
259
- SortIconButtonProps = _ref7.SortIconButtonProps,
260
- SortIconProps = _ref7.SortIconProps,
261
- LeftToolbarProps = _ref7.LeftToolbarProps,
262
- LeftFilterFieldProps = _ref7.LeftFilterFieldProps,
263
- LeftSortIconButtonProps = _ref7.LeftSortIconButtonProps,
264
- LeftSortIconProps = _ref7.LeftSortIconProps,
265
- LeftTitleProps = _ref7.LeftTitleProps,
266
- RightToolbarProps = _ref7.RightToolbarProps,
267
- RightFilterFieldProps = _ref7.RightFilterFieldProps,
268
- RightSortIconButtonProps = _ref7.RightSortIconButtonProps,
269
- RightSortIconProps = _ref7.RightSortIconProps,
270
- RightTitleProps = _ref7.RightTitleProps,
271
- PaperProps = _ref7.PaperProps,
272
- LeftPaperProps = _ref7.LeftPaperProps,
273
- RightPaperProps = _ref7.RightPaperProps;
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;