beca-ui 2.1.0-beta.42 → 2.1.0-beta.44
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/beca-ui.js +17 -10
- package/dist/main.css +1 -1
- package/package.json +1 -1
package/dist/beca-ui.js
CHANGED
|
@@ -111274,7 +111274,7 @@ const dOt = (e) => {
|
|
|
111274
111274
|
return (r == null ? void 0 : r.indexOf(n)) >= 0 || (o == null ? void 0 : o.indexOf(n)) >= 0;
|
|
111275
111275
|
}, ks = ao(
|
|
111276
111276
|
(e, t) => {
|
|
111277
|
-
var
|
|
111277
|
+
var g;
|
|
111278
111278
|
const {
|
|
111279
111279
|
allowClear: n,
|
|
111280
111280
|
suffixIcon: r,
|
|
@@ -111284,14 +111284,23 @@ const dOt = (e) => {
|
|
|
111284
111284
|
menuItemSelectedIcon: s,
|
|
111285
111285
|
...l
|
|
111286
111286
|
} = e, { isMobileApp: c } = eM(), u = Gt(() => {
|
|
111287
|
-
const
|
|
111288
|
-
if (
|
|
111289
|
-
return
|
|
111287
|
+
const v = e.showSearch;
|
|
111288
|
+
if (v && v.filterOption !== void 0)
|
|
111289
|
+
return v.filterOption;
|
|
111290
111290
|
if (i)
|
|
111291
111291
|
return Aot;
|
|
111292
111292
|
if (a)
|
|
111293
111293
|
return zot;
|
|
111294
|
-
}, [e]), f = Gt(() => c ? !(e.showSearch || a) : !1, [c])
|
|
111294
|
+
}, [e]), f = Gt(() => c ? !(e.showSearch || a) : !1, [c]), m = () => e.showSearch !== void 0 ? typeof e.showSearch == "object" ? {
|
|
111295
|
+
filterOption: u,
|
|
111296
|
+
...e.showSearch
|
|
111297
|
+
} : {
|
|
111298
|
+
filterOption: u
|
|
111299
|
+
} : i || a ? {
|
|
111300
|
+
filterOption: u
|
|
111301
|
+
} : e.showSearch === !0 ? {
|
|
111302
|
+
filterOption: u
|
|
111303
|
+
} : e.showSearch;
|
|
111295
111304
|
return /* @__PURE__ */ D(
|
|
111296
111305
|
Bs,
|
|
111297
111306
|
{
|
|
@@ -111302,7 +111311,7 @@ const dOt = (e) => {
|
|
|
111302
111311
|
classNames: {
|
|
111303
111312
|
...e.classNames,
|
|
111304
111313
|
popup: {
|
|
111305
|
-
...(
|
|
111314
|
+
...(g = e.classNames) == null ? void 0 : g.popup,
|
|
111306
111315
|
root: Dot(e)
|
|
111307
111316
|
}
|
|
111308
111317
|
},
|
|
@@ -111315,10 +111324,8 @@ const dOt = (e) => {
|
|
|
111315
111324
|
listHeight: c && !f ? 220 : void 0,
|
|
111316
111325
|
menuItemSelectedIcon: s ?? /* @__PURE__ */ D(Ej, { style: { color: "#fff" } }),
|
|
111317
111326
|
removeIcon: /* @__PURE__ */ D(JT, { style: { color: "var(--picker-suffix-icon-color)" } }),
|
|
111318
|
-
getPopupContainer: o ?? e.position === "relative" ? (
|
|
111319
|
-
showSearch:
|
|
111320
|
-
filterOption: u
|
|
111321
|
-
},
|
|
111327
|
+
getPopupContainer: o ?? e.position === "relative" ? (v) => v.parentNode : void 0,
|
|
111328
|
+
showSearch: m(),
|
|
111322
111329
|
allowClear: n === !0 ? {
|
|
111323
111330
|
clearIcon: /* @__PURE__ */ D(fb, { color: "var(--picker-suffix-icon-color)" })
|
|
111324
111331
|
} : !1,
|