indicator-ui 0.0.239 → 0.0.240
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
|
@@ -20147,15 +20147,18 @@ var inputFieldComponent = function inputFieldComponent(schema, key, additionProp
|
|
|
20147
20147
|
}
|
|
20148
20148
|
}
|
|
20149
20149
|
var component = schema.props.ownerInputComponent ? schema.props.ownerInputComponent : (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_ui__WEBPACK_IMPORTED_MODULE_3__.InputField, {});
|
|
20150
|
-
var elementKey =
|
|
20151
|
-
|
|
20150
|
+
var elementKey = schema.props._key !== undefined ? schema.props._key ? {
|
|
20151
|
+
key: schema.props._key
|
|
20152
|
+
} : {} : {
|
|
20153
|
+
key: key
|
|
20154
|
+
};
|
|
20155
|
+
var props = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, additionProps !== null && additionProps !== void 0 && additionProps.inputFieldAdditionProps ? additionProps === null || additionProps === void 0 ? void 0 : additionProps.inputFieldAdditionProps : {}), {}, {
|
|
20152
20156
|
value: value,
|
|
20153
20157
|
onChange: onChange,
|
|
20154
20158
|
isError: isError,
|
|
20155
20159
|
isErrorHintText: isErrorHintText,
|
|
20156
|
-
onBlur: onBlur
|
|
20157
|
-
|
|
20158
|
-
}, additionProps.inputFieldClassName ? {
|
|
20160
|
+
onBlur: onBlur
|
|
20161
|
+
}, elementKey), additionProps.inputFieldClassName ? {
|
|
20159
20162
|
className: additionProps.inputFieldClassName
|
|
20160
20163
|
} : {}), (0,_lib__WEBPACK_IMPORTED_MODULE_2__.isCustomComponent)(component) ? additionProps.customCompAdditionProps : {}), schema.props);
|
|
20161
20164
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(component, props);
|