@zero-library/chat-agent 2.2.9 → 2.2.11

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.cjs.js CHANGED
@@ -1161,7 +1161,7 @@ var MessageRender_default = ({ message: message2, placement, onFilePreview }) =>
1161
1161
  quoteMsg.msgContent && /* @__PURE__ */ jsxRuntime.jsx(
1162
1162
  antd.Tooltip,
1163
1163
  {
1164
- color: "#fff",
1164
+ arrow: false,
1165
1165
  classNames: {
1166
1166
  root: styles_module_default2.quoteTooltip,
1167
1167
  body: `${styles_module_default2.quoteTooltipContainer} scroll-fade-in`
@@ -1796,7 +1796,7 @@ var ChatSender_default = react.forwardRef(
1796
1796
  }, ref) => {
1797
1797
  const senderRef = react.useRef(null);
1798
1798
  const { inputValue, setInputValue } = common.useSyncInput(content || "", onContentChange);
1799
- const attachmentsNode = (fileUpload?.config?.length ?? 0 > 0) && /* @__PURE__ */ jsxRuntime.jsx(antd.Badge, { dot: !!fileList?.length && !headerOpen, children: /* @__PURE__ */ jsxRuntime.jsx(antd.Button, { type: "text", icon: /* @__PURE__ */ jsxRuntime.jsx(icons.PaperClipOutlined, {}), onClick: () => onHeaderOpenChange(!headerOpen) }) });
1799
+ const attachmentsNode = (fileUpload?.config?.length ?? 0) > 0 && /* @__PURE__ */ jsxRuntime.jsx(antd.Badge, { dot: !!fileList?.length && !headerOpen, children: /* @__PURE__ */ jsxRuntime.jsx(antd.Button, { type: "text", icon: /* @__PURE__ */ jsxRuntime.jsx(icons.PaperClipOutlined, {}), onClick: () => onHeaderOpenChange(!headerOpen) }) });
1800
1800
  const attachmentsRef = react.useRef();
1801
1801
  const senderHeader = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1802
1802
  /* @__PURE__ */ jsxRuntime.jsx(x.Sender.Header, { title: "\u9009\u62E9\u6587\u4EF6", open: headerOpen, onOpenChange: onHeaderOpenChange, children: /* @__PURE__ */ jsxRuntime.jsx(