bi-components-library 1.3.2-next.14 → 1.3.2-next.15
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.es.js +9 -8
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -39224,19 +39224,19 @@ function AI(e, t, n = /* @__PURE__ */ new Set()) {
|
|
|
39224
39224
|
const NI = {
|
|
39225
39225
|
reportModules: {},
|
|
39226
39226
|
markdownModules: {}
|
|
39227
|
-
}, Jm = ge.memo(({ options: e, onSelect: t, disabled: n }) => {
|
|
39228
|
-
const
|
|
39229
|
-
key:
|
|
39227
|
+
}, Jm = ge.memo(({ options: e, onSelect: t, disabled: n, currentAgent: r }) => {
|
|
39228
|
+
const l = e.filter((a) => a.isShowNew !== 1).map((a) => ({
|
|
39229
|
+
key: a.key,
|
|
39230
39230
|
label: /* @__PURE__ */ Y("div", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
|
|
39231
|
-
|
|
39232
|
-
/* @__PURE__ */ y("span", { children:
|
|
39231
|
+
a.icon && /* @__PURE__ */ y("i", { className: a.icon }),
|
|
39232
|
+
/* @__PURE__ */ y("span", { children: a.label })
|
|
39233
39233
|
] }),
|
|
39234
|
-
onClick: () => t?.(
|
|
39234
|
+
onClick: () => t?.(a)
|
|
39235
39235
|
}));
|
|
39236
39236
|
return /* @__PURE__ */ y(
|
|
39237
39237
|
Nb,
|
|
39238
39238
|
{
|
|
39239
|
-
menu: { items: r },
|
|
39239
|
+
menu: { items: l, selectedKeys: r ? [String(r.key)] : [] },
|
|
39240
39240
|
disabled: n,
|
|
39241
39241
|
placement: "bottomLeft",
|
|
39242
39242
|
autoAdjustOverflow: !0,
|
|
@@ -39370,7 +39370,8 @@ const nb = ge.memo(
|
|
|
39370
39370
|
{
|
|
39371
39371
|
options: s,
|
|
39372
39372
|
onSelect: u,
|
|
39373
|
-
disabled: n || e
|
|
39373
|
+
disabled: n || e,
|
|
39374
|
+
currentAgent: c
|
|
39374
39375
|
}
|
|
39375
39376
|
) }),
|
|
39376
39377
|
l && /* @__PURE__ */ y(
|