@pdg/react-form 1.0.59 → 1.0.60

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/dist/index.js CHANGED
@@ -448,6 +448,14 @@ function checkDateAvailable(date, availableDate, type, time) {
448
448
  u += 1;
449
449
  } while (Math.round(Math.abs(bytes) * r) / r >= thresh && u < units.length - 1);
450
450
  return "".concat(bytes.toFixed(dp), " ").concat(units[u]);
451
+ }function ToForwardRefExoticComponent(component, ext) {
452
+ var fComponent = component;
453
+ fComponent.displayName = ext === null || ext === void 0 ? void 0 : ext.displayName;
454
+ fComponent.defaultProps = ext === null || ext === void 0 ? void 0 : ext.defaultProps;
455
+ return component;
456
+ }
457
+ function AutoTypeForwardRef(render) {
458
+ return React.forwardRef(render);
451
459
  }var nextTick = function (callback) {
452
460
  setTimeout(callback, 1);
453
461
  };var FormDefaultProps = {
@@ -4065,9 +4073,10 @@ FormTextarea.defaultProps = FormTextareaDefaultProps;var FormUrlDefaultProps = _
4065
4073
  });
4066
4074
  FormUrl.displayName = 'FormUrl';
4067
4075
  FormUrl.defaultProps = FormUrlDefaultProps;var FormSelectDefaultProps = __assign$7(__assign$7({}, FormTextFieldDefaultProps), { formValueSeparator: ',', minWidth: 120 });var css_248z$f = ".FormSelect.is-selected-placeholder .MuiSelect-select {\n opacity: 0.38;\n}\n.FormSelect .MuiInputBase-root.MuiInputBase-adornedEnd {\n padding-right: 25px;\n}\n.FormSelect .MuiSelect-select.MuiSelect-multiple .selected-list:not(:empty) {\n margin-top: -3px;\n margin-bottom: -3px;\n}\n.FormSelect-Menu-Popover > .MuiPaper-root::-webkit-scrollbar {\n width: 12px;\n}\n.FormSelect-Menu-Popover > .MuiPaper-root::-webkit-scrollbar-thumb {\n background-color: rgba(0, 0, 0, 0.1882352941);\n background-clip: padding-box;\n border-left: 4px transparent solid;\n border-right: 4px transparent solid;\n}\n.FormSelect-Menu-Popover > .MuiPaper-root::-webkit-scrollbar-button:start:decrement, .FormSelect-Menu-Popover > .MuiPaper-root::-webkit-scrollbar-button:end:increment {\n display: block;\n height: 4px;\n background-color: transparent;\n}";
4068
- styleInject(css_248z$f);var FormSelect = React.forwardRef(function (_a, ref) {
4069
- // FormState -------------------------------------------------------------------------------------------------------
4076
+ styleInject(css_248z$f);var FormSelect = ToForwardRefExoticComponent(AutoTypeForwardRef(function (_a, ref) {
4077
+ // types -------------------------------------------------------------------------------------------------------------
4070
4078
  var className = _a.className, name = _a.name, initItems = _a.items, initFullWidth = _a.fullWidth, onLoadItems = _a.onLoadItems, readOnly = _a.readOnly, multiple = _a.multiple, checkbox = _a.checkbox, placeholder = _a.placeholder, initStartAdornment = _a.startAdornment, initValue = _a.value, initInputLabelProps = _a.InputLabelProps, initSelectProps = _a.SelectProps, formValueSeparator = _a.formValueSeparator, formValueSort = _a.formValueSort, width = _a.width, minWidth = _a.minWidth, initLoading = _a.loading, onChange = _a.onChange, onValue = _a.onValue, props = __rest$4(_a, ["className", "name", "items", "fullWidth", "onLoadItems", "readOnly", "multiple", "checkbox", "placeholder", "startAdornment", "value", "InputLabelProps", "SelectProps", "formValueSeparator", "formValueSort", "width", "minWidth", "loading", "onChange", "onValue"]);
4079
+ // FormState -------------------------------------------------------------------------------------------------------
4071
4080
  var _b = useFormState(), formFullWidth = _b.fullWidth, onAddValueItem = _b.onAddValueItem, onValueChange = _b.onValueChange, otherFormState = __rest$4(_b, ["fullWidth", "onAddValueItem", "onValueChange"]);
4072
4081
  // Memo - FormState ------------------------------------------------------------------------------------------------
4073
4082
  var fullWidth = React.useMemo(function () { return (initFullWidth == null ? formFullWidth : initFullWidth); }, [initFullWidth, formFullWidth]);
@@ -4307,7 +4316,7 @@ styleInject(css_248z$f);var FormSelect = React.forwardRef(function (_a, ref) {
4307
4316
  multiple && checkbox && Array.isArray(value) && React.createElement(material.Checkbox, { checked: value.includes(itemValue) }),
4308
4317
  itemLabel));
4309
4318
  })) : (React.createElement(material.MenuItem, { value: '' })))));
4310
- });
4319
+ }));
4311
4320
  FormSelect.displayName = 'FormSelect';
4312
4321
  FormSelect.defaultProps = FormSelectDefaultProps;var FormCompanyNoDefaultProps = __assign$7(__assign$7({}, FormTextDefaultProps), { validPattern: /(([0-9]{3})([0-9]{2})([0-9]{5}))|(([0-9]{3})-([0-9]{2})-([0-9]{5}))/ });var FormCompanyNo = React.forwardRef(function (_a, ref) {
4313
4322
  // Event Handler ---------------------------------------------------------------------------------------------------
@@ -4693,8 +4702,8 @@ FormCheckbox.displayName = 'FormCheckbox';
4693
4702
  FormCheckbox.defaultProps = FormCheckboxDefaultProps;var FormRadioGroupDefaultProps = {
4694
4703
  inline: true,
4695
4704
  };var PADDING_LEFT = 3;
4696
- var FormRadioGroup = React.forwardRef(function (_a, ref) {
4697
- // ID --------------------------------------------------------------------------------------------------------------
4705
+ var FormRadioGroup = ToForwardRefExoticComponent(AutoTypeForwardRef(function (_a, ref) {
4706
+ // type ------------------------------------------------------------------------------------------------------------
4698
4707
  var initVariant = _a.variant, initSize = _a.size, initColor = _a.color, initFocused = _a.focused, initFullWidth = _a.fullWidth, hidden = _a.hidden,
4699
4708
  //----------------------------------------------------------------------------------------------------------------
4700
4709
  name = _a.name, initWidth = _a.width, labelIcon = _a.labelIcon, label = _a.label, inline = _a.inline, initLoading = _a.loading, nowrap = _a.nowrap, initItems = _a.items, initValue = _a.value, initData = _a.data, initError = _a.error, initHelperText = _a.helperText, initDisabled = _a.disabled, readOnly = _a.readOnly, required = _a.required, exceptValue = _a.exceptValue, onLoadItems = _a.onLoadItems, onChange = _a.onChange, onValue = _a.onValue, onValidate = _a.onValidate,
@@ -4702,6 +4711,7 @@ var FormRadioGroup = React.forwardRef(function (_a, ref) {
4702
4711
  className = _a.className, initStyle = _a.style, sx = _a.sx,
4703
4712
  //----------------------------------------------------------------------------------------------------------------
4704
4713
  props = __rest$4(_a, ["variant", "size", "color", "focused", "fullWidth", "hidden", "name", "width", "labelIcon", "label", "inline", "loading", "nowrap", "items", "value", "data", "error", "helperText", "disabled", "readOnly", "required", "exceptValue", "onLoadItems", "onChange", "onValue", "onValidate", "className", "style", "sx"]);
4714
+ // ID --------------------------------------------------------------------------------------------------------------
4705
4715
  var id = React.useId();
4706
4716
  // FormState -------------------------------------------------------------------------------------------------------
4707
4717
  var _b = useFormState(), formVariant = _b.variant, formSize = _b.size, formColor = _b.color, formFocused = _b.focused, formFullWidth = _b.fullWidth, onAddValueItem = _b.onAddValueItem, onRemoveValueItem = _b.onRemoveValueItem, onValueChange = _b.onValueChange, onValueChangeByUser = _b.onValueChangeByUser, onRequestSearchSubmit = _b.onRequestSearchSubmit;
@@ -5001,14 +5011,14 @@ var FormRadioGroup = React.forwardRef(function (_a, ref) {
5001
5011
  var value = _a.value, label = _a.label, itemDisabled = _a.disabled;
5002
5012
  return (React.createElement(material.FormControlLabel, { key: idx, control: React.createElement(material.Radio, { icon: React.createElement(iconsMaterial.RadioButtonUnchecked, { color: error ? 'error' : undefined }), checkedIcon: React.createElement(iconsMaterial.RadioButtonChecked, { color: error ? 'error' : undefined }), color: color, size: size, inputRef: idx === 0 ? firstInputRef : null }), label: label, style: { color: error ? theme.palette.error.main : '', marginTop: -10, whiteSpace: 'nowrap' }, value: value, disabled: disabled || readOnly || itemDisabled }));
5003
5013
  })))))) }));
5004
- });
5014
+ }));
5005
5015
  FormRadioGroup.displayName = 'FormRadioGroup';
5006
5016
  FormRadioGroup.defaultProps = FormRadioGroupDefaultProps;var FormToggleButtonGroupDefaultProps = {
5007
5017
  type: 'button',
5008
5018
  formValueSeparator: ',',
5009
5019
  };var css_248z$d = ".FormToggleButtonGroup .ToggleButton {\n display: inline-block;\n padding: 0 10px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.FormToggleButtonGroup.type-checkbox .ToggleButton, .FormToggleButtonGroup.type-radio .ToggleButton {\n padding-left: 3px;\n padding-right: 5px;\n border: 0 !important;\n margin-left: 0 !important;\n justify-content: flex-start;\n display: flex;\n background-color: transparent !important;\n}\n.FormToggleButtonGroup.type-checkbox .ToggleButton:not(:last-child), .FormToggleButtonGroup.type-radio .ToggleButton:not(:last-child) {\n margin-right: 5px;\n}\n.FormToggleButtonGroup.type-checkbox .ToggleButton .__checkbox-checked__,\n.FormToggleButtonGroup.type-checkbox .ToggleButton .__checkbox-unchecked__, .FormToggleButtonGroup.type-radio .ToggleButton .__checkbox-checked__,\n.FormToggleButtonGroup.type-radio .ToggleButton .__checkbox-unchecked__ {\n margin-right: 3px;\n}\n.FormToggleButtonGroup.type-checkbox .ToggleButton .__checkbox-checked__, .FormToggleButtonGroup.type-radio .ToggleButton .__checkbox-checked__ {\n display: none;\n}\n.FormToggleButtonGroup.type-checkbox .ToggleButton.Mui-selected .__checkbox-checked__, .FormToggleButtonGroup.type-radio .ToggleButton.Mui-selected .__checkbox-checked__ {\n display: block;\n}\n.FormToggleButtonGroup.type-checkbox .ToggleButton.Mui-selected .__checkbox-unchecked__, .FormToggleButtonGroup.type-radio .ToggleButton.Mui-selected .__checkbox-unchecked__ {\n display: none;\n}\n.FormToggleButtonGroup:not(.with-label).variant-outlined .FormItemBase-Control-wrap {\n margin-top: 15px;\n margin-bottom: -15px;\n}\n.FormToggleButtonGroup:not(.with-label).variant-outlined .FormItemBase-Control-wrap .ToggleButton {\n height: 37px;\n}\n.FormToggleButtonGroup:not(.with-label).variant-filled .FormItemBase-Control-wrap {\n margin-top: 15px;\n margin-bottom: -15px;\n}\n.FormToggleButtonGroup:not(.with-label).variant-filled .FormItemBase-Control-wrap .ToggleButton {\n height: 37px;\n}\n.FormToggleButtonGroup:not(.with-label).variant-standard .FormItemBase-Control-wrap {\n margin-top: 0px;\n margin-bottom: 0px;\n}\n.FormToggleButtonGroup:not(.with-label).variant-standard .FormItemBase-Control-wrap .ToggleButton {\n height: 28px;\n}\n.FormToggleButtonGroup:not(.with-label).size-small.variant-outlined .FormItemBase-Control-wrap {\n margin-top: 13px;\n margin-bottom: -13px;\n}\n.FormToggleButtonGroup:not(.with-label).size-small.variant-outlined .FormItemBase-Control-wrap .ToggleButton {\n height: 24px;\n}\n.FormToggleButtonGroup:not(.with-label).size-small.variant-filled .FormItemBase-Control-wrap {\n margin-top: 13px;\n margin-bottom: -13px;\n}\n.FormToggleButtonGroup:not(.with-label).size-small.variant-filled .FormItemBase-Control-wrap .ToggleButton {\n height: 31px;\n}\n.FormToggleButtonGroup:not(.with-label).size-small.variant-standard .FormItemBase-Control-wrap {\n margin-top: 0px;\n margin-bottom: 0px;\n}\n.FormToggleButtonGroup:not(.with-label).size-small.variant-standard .FormItemBase-Control-wrap .ToggleButton {\n height: 26px;\n}\n.FormToggleButtonGroup.with-label.variant-outlined .FormItemBase-Control-wrap {\n margin-top: 0;\n margin-bottom: 0;\n}\n.FormToggleButtonGroup.with-label.variant-outlined .FormItemBase-Control-wrap .ToggleButton {\n height: 37px;\n}\n.FormToggleButtonGroup.with-label.variant-filled .FormItemBase-Control-wrap {\n margin-top: 0;\n margin-bottom: 0;\n}\n.FormToggleButtonGroup.with-label.variant-filled .FormItemBase-Control-wrap .ToggleButton {\n height: 37px;\n}\n.FormToggleButtonGroup.with-label.variant-standard .FormItemBase-Control-wrap {\n margin-top: 0;\n margin-bottom: 0;\n}\n.FormToggleButtonGroup.with-label.variant-standard .FormItemBase-Control-wrap .ToggleButton {\n height: 28px;\n}\n.FormToggleButtonGroup.with-label.size-small.variant-outlined .FormItemBase-Control-wrap {\n margin-top: 0;\n margin-bottom: 0;\n}\n.FormToggleButtonGroup.with-label.size-small.variant-outlined .FormItemBase-Control-wrap .ToggleButton {\n height: 24px;\n}\n.FormToggleButtonGroup.with-label.size-small.variant-filled .FormItemBase-Control-wrap {\n margin-top: 0;\n margin-bottom: 0;\n}\n.FormToggleButtonGroup.with-label.size-small.variant-filled .FormItemBase-Control-wrap .ToggleButton {\n height: 31px;\n}\n.FormToggleButtonGroup.with-label.size-small.variant-standard .FormItemBase-Control-wrap {\n margin-top: 0;\n margin-bottom: 0;\n}\n.FormToggleButtonGroup.with-label.size-small.variant-standard .FormItemBase-Control-wrap .ToggleButton {\n height: 26px;\n}\n\n.Form .FormCol.with-label .FormToggleButtonGroup.variant-outlined .FormItemBase-Control-wrap {\n margin-top: 0;\n margin-bottom: 0;\n}\n.Form .FormCol.with-label .FormToggleButtonGroup.variant-outlined .FormItemBase-Control-wrap .ToggleButton {\n height: 37px;\n}\n.Form .FormCol.with-label .FormToggleButtonGroup.variant-filled .FormItemBase-Control-wrap {\n margin-top: 0;\n margin-bottom: 0;\n}\n.Form .FormCol.with-label .FormToggleButtonGroup.variant-filled .FormItemBase-Control-wrap .ToggleButton {\n height: 37px;\n}\n.Form .FormCol.with-label .FormToggleButtonGroup.variant-standard .FormItemBase-Control-wrap {\n margin-top: 0;\n margin-bottom: 0;\n}\n.Form .FormCol.with-label .FormToggleButtonGroup.variant-standard .FormItemBase-Control-wrap .ToggleButton {\n height: 28px;\n}\n.Form .FormCol.with-label .FormToggleButtonGroup.size-small.variant-outlined .FormItemBase-Control-wrap {\n margin-top: 0;\n margin-bottom: 0;\n}\n.Form .FormCol.with-label .FormToggleButtonGroup.size-small.variant-outlined .FormItemBase-Control-wrap .ToggleButton {\n height: 24px;\n}\n.Form .FormCol.with-label .FormToggleButtonGroup.size-small.variant-filled .FormItemBase-Control-wrap {\n margin-top: 0;\n margin-bottom: 0;\n}\n.Form .FormCol.with-label .FormToggleButtonGroup.size-small.variant-filled .FormItemBase-Control-wrap .ToggleButton {\n height: 31px;\n}\n.Form .FormCol.with-label .FormToggleButtonGroup.size-small.variant-standard .FormItemBase-Control-wrap {\n margin-top: 0;\n margin-bottom: 0;\n}\n.Form .FormCol.with-label .FormToggleButtonGroup.size-small.variant-standard .FormItemBase-Control-wrap .ToggleButton {\n height: 26px;\n}";
5010
- styleInject(css_248z$d);var FormToggleButtonGroup = React.forwardRef(function (_a, ref) {
5011
- // ID --------------------------------------------------------------------------------------------------------------
5020
+ styleInject(css_248z$d);var FormToggleButtonGroup = ToForwardRefExoticComponent(AutoTypeForwardRef(function (_a, ref) {
5021
+ // type ------------------------------------------------------------------------------------------------------------
5012
5022
  var initVariant = _a.variant, initSize = _a.size, initColor = _a.color, initFocused = _a.focused, initFullWidth = _a.fullWidth,
5013
5023
  //----------------------------------------------------------------------------------------------------------------
5014
5024
  name = _a.name, labelIcon = _a.labelIcon, label = _a.label, type = _a.type, initLoading = _a.loading, initItems = _a.items, initValue = _a.value, initData = _a.data, initError = _a.error, initHelperText = _a.helperText, initDisabled = _a.disabled, readOnly = _a.readOnly, required = _a.required, notAllowEmptyValue = _a.notAllowEmptyValue, exceptValue = _a.exceptValue, initWidth = _a.width, multiple = _a.multiple, formValueSeparator = _a.formValueSeparator, formValueSort = _a.formValueSort, hidden = _a.hidden, itemWidth = _a.itemWidth, onLoadItems = _a.onLoadItems,
@@ -5016,6 +5026,7 @@ styleInject(css_248z$d);var FormToggleButtonGroup = React.forwardRef(function (_
5016
5026
  onChange = _a.onChange, onValue = _a.onValue, onValidate = _a.onValidate,
5017
5027
  //----------------------------------------------------------------------------------------------------------------
5018
5028
  className = _a.className, initStyle = _a.style, sx = _a.sx;
5029
+ // ID --------------------------------------------------------------------------------------------------------------
5019
5030
  var id = React.useId();
5020
5031
  var labelId = React.useId();
5021
5032
  // Ref ---------------------------------------------------------------------------------------------------------------
@@ -5193,7 +5204,7 @@ styleInject(css_248z$d);var FormToggleButtonGroup = React.forwardRef(function (_
5193
5204
  }
5194
5205
  }
5195
5206
  if (setFirstItem) {
5196
- setValue(multiple ? [items[0].value] : items[0].value);
5207
+ setValue((multiple ? [items[0].value] : items[0].value));
5197
5208
  }
5198
5209
  }
5199
5210
  }
@@ -5427,7 +5438,7 @@ styleInject(css_248z$d);var FormToggleButtonGroup = React.forwardRef(function (_
5427
5438
  : undefined,
5428
5439
  flexWrap: type === 'checkbox' || type === 'radio' ? 'wrap' : 'nowrap',
5429
5440
  }, "aria-labelledby": notEmpty(label) ? labelId : undefined }, isOnGetItemLoading || loading || !items || empty(items) ? (React.createElement(material.ToggleButton, { ref: refForButtonResizeHeightDetect, size: size, className: 'ToggleButton', disabled: disabled || readOnly, value: '', style: { visibility: 'hidden' } })) : (buttons)))) })));
5430
- });
5441
+ }));
5431
5442
  FormToggleButtonGroup.displayName = 'FormToggleButtonGroup';
5432
5443
  FormToggleButtonGroup.defaultProps = FormToggleButtonGroupDefaultProps;var FormRatingDefaultProps = {
5433
5444
  value: 0,
@@ -7654,8 +7665,8 @@ FormTextEditor.displayName = 'FormTextEditor';
7654
7665
  FormTextEditor.defaultProps = FormTextEditorDefaultProps;var FormAutocompleteDefaultProps = {
7655
7666
  formValueSeparator: ',',
7656
7667
  noOptionsText: '항목이 없습니다',
7657
- };var FormAutocomplete = React.forwardRef(function (_a, ref) {
7658
- // ID --------------------------------------------------------------------------------------------------------------
7668
+ };var FormAutocomplete = ToForwardRefExoticComponent(AutoTypeForwardRef(function (_a, ref) {
7669
+ // type ------------------------------------------------------------------------------------------------------------
7659
7670
  var initVariant = _a.variant, initSize = _a.size, initColor = _a.color, initFocused = _a.focused, initLabelShrink = _a.labelShrink, initFullWidth = _a.fullWidth,
7660
7671
  //----------------------------------------------------------------------------------------------------------------
7661
7672
  name = _a.name, labelIcon = _a.labelIcon, label = _a.label, initLoading = _a.loading, initItems = _a.items, initValue = _a.value, initData = _a.data, initError = _a.error, initHelperText = _a.helperText, initDisabled = _a.disabled, readOnly = _a.readOnly, required = _a.required, exceptValue = _a.exceptValue, width = _a.width, placeholder = _a.placeholder, multiple = _a.multiple, formValueSeparator = _a.formValueSeparator, formValueSort = _a.formValueSort, disablePortal = _a.disablePortal, noOptionsText = _a.noOptionsText, loadingText = _a.loadingText, limitTags = _a.limitTags, openOnFocus = _a.openOnFocus, disableClearable = _a.disableClearable, async = _a.async, hidden = _a.hidden, onLoadItems = _a.onLoadItems, onAsyncLoadValueItem = _a.onAsyncLoadValueItem, onRenderItem = _a.onRenderItem, onRenderTag = _a.onRenderTag, onAddItem = _a.onAddItem, getOptionDisabled = _a.getOptionDisabled,
@@ -7663,6 +7674,7 @@ FormTextEditor.defaultProps = FormTextEditorDefaultProps;var FormAutocompleteDef
7663
7674
  onChange = _a.onChange, onValue = _a.onValue, onValidate = _a.onValidate,
7664
7675
  //----------------------------------------------------------------------------------------------------------------
7665
7676
  className = _a.className, initStyle = _a.style, sx = _a.sx;
7677
+ // ID --------------------------------------------------------------------------------------------------------------
7666
7678
  var id = React.useId();
7667
7679
  // Ref -------------------------------------------------------------------------------------------------------------
7668
7680
  var textFieldRef = React.useRef(null);
@@ -7775,16 +7787,17 @@ FormTextEditor.defaultProps = FormTextEditorDefaultProps;var FormAutocompleteDef
7775
7787
  }
7776
7788
  }
7777
7789
  else {
7778
- finalValue = multiple ? [] : undefined;
7790
+ finalValue = (multiple ? [] : undefined);
7779
7791
  }
7780
- var newComponentValue = multiple ? [] : null;
7792
+ var newComponentValue = (multiple ? [] : null);
7781
7793
  if (notEmpty(finalValue)) {
7782
7794
  if (items) {
7783
7795
  if (Array.isArray(finalValue)) {
7784
7796
  newComponentValue = items.filter(function (info) { return Array.isArray(finalValue) && finalValue.includes(info.value); });
7785
7797
  }
7786
7798
  else {
7787
- newComponentValue = items.find(function (info) { return info.value === value; }) || (multiple ? [] : null);
7799
+ newComponentValue = (items.find(function (info) { return info.value === value; }) ||
7800
+ (multiple ? [] : null));
7788
7801
  }
7789
7802
  }
7790
7803
  if (empty(newComponentValue) && valueItem) {
@@ -8048,7 +8061,7 @@ FormTextEditor.defaultProps = FormTextEditorDefaultProps;var FormAutocompleteDef
8048
8061
  // Event Handler ---------------------------------------------------------------------------------------------------
8049
8062
  var handleChange = React.useCallback(function (componentValue, reason, details) {
8050
8063
  var go = function () {
8051
- var newValue;
8064
+ var newValue = undefined;
8052
8065
  if (componentValue) {
8053
8066
  if (componentValue) {
8054
8067
  if (Array.isArray(componentValue)) {
@@ -8111,7 +8124,7 @@ FormTextEditor.defaultProps = FormTextEditorDefaultProps;var FormAutocompleteDef
8111
8124
  }, renderInput: function (params) { return (React.createElement(FormTextField, __assign$7({}, params, { ref: textFieldRef, name: name, variant: variant, size: size, color: color, labelIcon: labelIcon, label: label, labelShrink: labelShrink, required: required, focused: focused, error: error, readOnly: readOnly, helperText: helperText, placeholder: placeholder, noFormValueItem: true, InputProps: __assign$7(__assign$7({}, params.InputProps), { endAdornment: (React.createElement(React.Fragment, null,
8112
8125
  loading || isOnGetItemLoading ? React.createElement(CircularProgress, { color: 'inherit', size: 20 }) : null,
8113
8126
  params.InputProps.endAdornment)) }), inputProps: readOnly || disabled ? __assign$7(__assign$7({}, params.inputProps), { tabIndex: -1 }) : params.inputProps }))); } }));
8114
- });
8127
+ }));
8115
8128
  FormAutocomplete.displayName = 'FormAutocomplete';
8116
8129
  FormAutocomplete.defaultProps = FormAutocompleteDefaultProps;var FormDatePickerDefaultProps = {};/* global Reflect, Promise, SuppressedError, Symbol */
8117
8130