fui-material 2.6.7 → 2.6.8
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/f-ui-kit.es.js
CHANGED
|
@@ -3479,7 +3479,7 @@ const FSearchableSelect = forwardRef(
|
|
|
3479
3479
|
setIsTyping(true);
|
|
3480
3480
|
const timeoutId = setTimeout(() => {
|
|
3481
3481
|
setIsTyping(false);
|
|
3482
|
-
},
|
|
3482
|
+
}, 1e3);
|
|
3483
3483
|
return () => clearTimeout(timeoutId);
|
|
3484
3484
|
}, [searchQuery, isOpen]);
|
|
3485
3485
|
const deferredQuery = useDeferredValue(searchQuery);
|
|
@@ -3647,10 +3647,7 @@ const FSearchableSelect = forwardRef(
|
|
|
3647
3647
|
/* @__PURE__ */ jsx("div", { className: `${styles$6["f-select-icon"]} ${isOpen ? styles$6["rotate"] : ""}`, children: /* @__PURE__ */ jsx(ChevronIcon, {}) })
|
|
3648
3648
|
] })
|
|
3649
3649
|
] }),
|
|
3650
|
-
isOpen && !disabled2 && !load && /* @__PURE__ */ jsx("div", { className: styles$6["f-select-dropdown"], children: /* @__PURE__ */ jsx("ul", { ref: listRef, className: styles$6["f-select-list"], children: isTyping ? (
|
|
3651
|
-
// НОВОЕ: Отображение статуса ввода
|
|
3652
|
-
/* @__PURE__ */ jsx("li", { className: styles$6["f-select-no-results"], children: "Ожидается окончание ввода..." })
|
|
3653
|
-
) : renderList.length === 0 ? /* @__PURE__ */ jsx("li", { className: styles$6["f-select-no-results"], children: allowCreate ? "Нет данных" : "Совпадений не найдено" }) : renderList.map((option, index) => /* @__PURE__ */ jsx(
|
|
3650
|
+
isOpen && !disabled2 && !load && /* @__PURE__ */ jsx("div", { className: styles$6["f-select-dropdown"], children: /* @__PURE__ */ jsx("ul", { ref: listRef, className: styles$6["f-select-list"], children: isTyping ? /* @__PURE__ */ jsx("li", { className: styles$6["f-select-no-results"], children: "Ожидается окончание ввода..." }) : renderList.length === 0 ? /* @__PURE__ */ jsx("li", { className: styles$6["f-select-no-results"], children: allowCreate ? "Нет данных" : "Совпадений не найдено" }) : renderList.map((option, index) => /* @__PURE__ */ jsx(
|
|
3654
3651
|
"li",
|
|
3655
3652
|
{
|
|
3656
3653
|
className: `
|