indicator-ui 0.0.151 → 0.0.153
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
|
@@ -6781,14 +6781,9 @@ function setDeepValue(dict, value, options) {
|
|
|
6781
6781
|
if (i < lastIndexOfKeysWay) {
|
|
6782
6782
|
if (typeof curKey === "object") {
|
|
6783
6783
|
const { name, index } = curKey;
|
|
6784
|
-
|
|
6785
|
-
|
|
6786
|
-
writePlace[name] = [];
|
|
6784
|
+
if (writePlace[name] && Array.isArray(writePlace[name]) && writePlace[name].length > index) {
|
|
6785
|
+
writePlace = writePlace[name][index];
|
|
6787
6786
|
}
|
|
6788
|
-
while (writePlace[name].length <= index) {
|
|
6789
|
-
writePlace[name].push({});
|
|
6790
|
-
}
|
|
6791
|
-
writePlace = writePlace[name][index];
|
|
6792
6787
|
}
|
|
6793
6788
|
else {
|
|
6794
6789
|
// Если ключ не существует, создаем его
|
|
@@ -9740,7 +9735,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9740
9735
|
|
|
9741
9736
|
|
|
9742
9737
|
|
|
9743
|
-
const FlexField = (0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(({ value, type, onChange, onFocus, name, onBlur, onClick, mask = /.*/, required = false, disabled = false, isError = false, placeholder, notInput = false, icon, help, dropdown, userPic, textSupport, dropdownState = false, offFocus = false, button, unmask, blocks, pattern, onDropdownClick, buttonState = 'gray', onButtonClick,
|
|
9738
|
+
const FlexField = (0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(({ value, type, onChange, onFocus, name, onBlur, onClick, mask = /.*/, required = false, disabled = false, isError = false, placeholder, notInput = false, icon, help, dropdown, userPic, textSupport, dropdownState = false, offFocus = false, button, unmask, blocks, pattern, onDropdownClick, buttonState = 'gray', onButtonClick, additionStyles,
|
|
9744
9739
|
// className = FlexFieldStyle,
|
|
9745
9740
|
}, ref) => {
|
|
9746
9741
|
const [isFocus, setIsFocus] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false);
|
|
@@ -9828,7 +9823,7 @@ const FlexField = (0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(({ value, ty
|
|
|
9828
9823
|
[_styles__WEBPACK_IMPORTED_MODULE_5__.FlexFieldStyle.disabled]: disabled,
|
|
9829
9824
|
[_styles__WEBPACK_IMPORTED_MODULE_5__.FlexFieldStyle.focus]: isFocus && !offFocus,
|
|
9830
9825
|
[_styles__WEBPACK_IMPORTED_MODULE_5__.FlexFieldStyle.pointer]: !!onClick,
|
|
9831
|
-
}), children: [getIcon(), getTextSupport(), getUserPic(), getInput(), getHelp(), getDropdown(), getButton()] }));
|
|
9826
|
+
}, additionStyles), children: [getIcon(), getTextSupport(), getUserPic(), getInput(), getHelp(), getDropdown(), getButton()] }));
|
|
9832
9827
|
});
|
|
9833
9828
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (FlexField);
|
|
9834
9829
|
|