indicator-ui 0.0.75 → 0.0.77
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
|
@@ -8486,10 +8486,10 @@ const getValidateFun = ({ validationProps, keyWay, value, schemeRequired, addErr
|
|
|
8486
8486
|
return () => {
|
|
8487
8487
|
let required = schemeRequired;
|
|
8488
8488
|
let fun = () => true;
|
|
8489
|
-
if ('required' in validationProps && validationProps.required !== undefined) {
|
|
8489
|
+
if (validationProps && 'required' in validationProps && validationProps.required !== undefined) {
|
|
8490
8490
|
required = validationProps.required;
|
|
8491
8491
|
}
|
|
8492
|
-
if ('fun' in validationProps && validationProps.fun !== undefined) {
|
|
8492
|
+
if (validationProps && 'fun' in validationProps && validationProps.fun !== undefined) {
|
|
8493
8493
|
fun = validationProps.fun;
|
|
8494
8494
|
}
|
|
8495
8495
|
const isEmptyValue = !value ||
|
|
@@ -9678,7 +9678,11 @@ function SelectField({ value, onChange, options = [], placeholder, isError, sear
|
|
|
9678
9678
|
processLoadMoreOptions();
|
|
9679
9679
|
}
|
|
9680
9680
|
};
|
|
9681
|
-
return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", { className: className?.selectField, children: [getViewField(), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_ui__WEBPACK_IMPORTED_MODULE_6__.ModalWindowWrapper, { isShow: isShowModalWindow, setIsShow:
|
|
9681
|
+
return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", { className: className?.selectField, children: [getViewField(), (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_ui__WEBPACK_IMPORTED_MODULE_6__.ModalWindowWrapper, { isShow: isShowModalWindow, setIsShow: (newValue) => {
|
|
9682
|
+
if (newValue === false && onBlur)
|
|
9683
|
+
onBlur();
|
|
9684
|
+
setIsShowModalWindow(newValue);
|
|
9685
|
+
}, additionElements: [inputRef.current], className: className?.modalWindow, children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_SelectModalWindow__WEBPACK_IMPORTED_MODULE_5__["default"], { value: value, options: optionsState, onChange: handleChange, afterElement: selectModalWindowAfterElement, onScrollToBottom: onScrollToBottom, className: className }) })] }));
|
|
9682
9686
|
}
|
|
9683
9687
|
|
|
9684
9688
|
|