@zero-library/chat-agent 2.1.11 → 2.1.12
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 +66 -38
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.css +36 -28
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.esm.js +65 -37
- package/dist/index.esm.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs.js
CHANGED
|
@@ -8,13 +8,13 @@ var react = require('react');
|
|
|
8
8
|
var valtio = require('valtio');
|
|
9
9
|
var icons = require('@ant-design/icons');
|
|
10
10
|
var x = require('@ant-design/x');
|
|
11
|
-
var
|
|
11
|
+
var classNames9 = require('classnames');
|
|
12
12
|
var InfiniteScroll = require('react-infinite-scroll-component');
|
|
13
13
|
|
|
14
14
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
15
15
|
|
|
16
16
|
var dayjs__default = /*#__PURE__*/_interopDefault(dayjs);
|
|
17
|
-
var
|
|
17
|
+
var classNames9__default = /*#__PURE__*/_interopDefault(classNames9);
|
|
18
18
|
var InfiniteScroll__default = /*#__PURE__*/_interopDefault(InfiniteScroll);
|
|
19
19
|
|
|
20
20
|
var __defProp = Object.defineProperty;
|
|
@@ -974,6 +974,13 @@ var customComponents = {
|
|
|
974
974
|
fileEdit: () => Promise.resolve().then(() => (init_FileEdit(), FileEdit_exports)),
|
|
975
975
|
quoteList: () => Promise.resolve().then(() => (init_QuoteList(), QuoteList_exports))
|
|
976
976
|
};
|
|
977
|
+
|
|
978
|
+
// src/components/styles.module.less
|
|
979
|
+
var styles_module_default2 = {
|
|
980
|
+
chatAttachments: "styles_module_chatAttachments",
|
|
981
|
+
chatSender: "styles_module_chatSender",
|
|
982
|
+
chatQuoteMsg: "styles_module_chatQuoteMsg"
|
|
983
|
+
};
|
|
977
984
|
var MessageRender_default = ({ message: message3, placement }) => {
|
|
978
985
|
return /* @__PURE__ */ jsxRuntime.jsxs(antd.Flex, { vertical: true, children: [
|
|
979
986
|
message3.msgContent && /* @__PURE__ */ jsxRuntime.jsx(x.Bubble, { placement, content: /* @__PURE__ */ jsxRuntime.jsx(common.RenderMarkdown, { content: message3.msgContent, customComponents }) }),
|
|
@@ -996,7 +1003,34 @@ var MessageRender_default = ({ message: message3, placement }) => {
|
|
|
996
1003
|
)
|
|
997
1004
|
},
|
|
998
1005
|
file.content
|
|
999
|
-
))
|
|
1006
|
+
)),
|
|
1007
|
+
message3.quoteMsg?.id && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1008
|
+
x.Bubble,
|
|
1009
|
+
{
|
|
1010
|
+
className: classNames9__default.default(styles_module_default2.chatQuoteMsg),
|
|
1011
|
+
placement,
|
|
1012
|
+
content: /* @__PURE__ */ jsxRuntime.jsxs(antd.Flex, { vertical: true, gap: 8, children: [
|
|
1013
|
+
message3.quoteMsg.msgContent && /* @__PURE__ */ jsxRuntime.jsxs(antd.Flex, { children: [
|
|
1014
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { children: "\u3010\u5F15\u7528\u6D88\u606F\u3011\uFF1A" }),
|
|
1015
|
+
/* @__PURE__ */ jsxRuntime.jsx(antd.Flex, { flex: 1, className: "text-ellipsis", children: message3.quoteMsg.msgContent })
|
|
1016
|
+
] }),
|
|
1017
|
+
message3.quoteMsg?.msgFiles && message3.quoteMsg.msgFiles.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(antd.Flex, { children: [
|
|
1018
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { children: "\u3010\u5F15\u7528\u6587\u4EF6\u3011\uFF1A" }),
|
|
1019
|
+
/* @__PURE__ */ jsxRuntime.jsx(antd.Flex, { gap: 8, wrap: true, flex: 1, children: message3.quoteMsg.msgFiles.map((file) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1020
|
+
x.Attachments.FileCard,
|
|
1021
|
+
{
|
|
1022
|
+
item: {
|
|
1023
|
+
uid: file.content,
|
|
1024
|
+
name: file.name,
|
|
1025
|
+
url: file.content
|
|
1026
|
+
}
|
|
1027
|
+
},
|
|
1028
|
+
file.content
|
|
1029
|
+
)) })
|
|
1030
|
+
] })
|
|
1031
|
+
] })
|
|
1032
|
+
}
|
|
1033
|
+
)
|
|
1000
1034
|
] });
|
|
1001
1035
|
};
|
|
1002
1036
|
|
|
@@ -1012,7 +1046,7 @@ init_utils();
|
|
|
1012
1046
|
init_Context();
|
|
1013
1047
|
|
|
1014
1048
|
// src/ui/common/styles.module.less
|
|
1015
|
-
var
|
|
1049
|
+
var styles_module_default3 = {
|
|
1016
1050
|
loadingMessage: "styles_module_loadingMessage",
|
|
1017
1051
|
nsConversationListPanel: "styles_module_nsConversationListPanel",
|
|
1018
1052
|
nsConversations: "styles_module_nsConversations",
|
|
@@ -1074,7 +1108,7 @@ var MessageAIRender_default = ({ message: message3, placement }) => {
|
|
|
1074
1108
|
x.Bubble,
|
|
1075
1109
|
{
|
|
1076
1110
|
placement,
|
|
1077
|
-
className:
|
|
1111
|
+
className: classNames9__default.default({ [styles_module_default3.loadingMessage]: message3.type && message3.type !== "TEXT_MESSAGE_END" }),
|
|
1078
1112
|
content: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1079
1113
|
thinkContents.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1080
1114
|
antd.Collapse,
|
|
@@ -1143,11 +1177,11 @@ var BubbleListItems_default = ({ firstMessage = false, avatar = { user: false, a
|
|
|
1143
1177
|
() => [
|
|
1144
1178
|
{
|
|
1145
1179
|
key: "placeholder",
|
|
1146
|
-
content: /* @__PURE__ */ jsxRuntime.jsxs(antd.Space, { direction: "vertical", size: 16, className:
|
|
1180
|
+
content: /* @__PURE__ */ jsxRuntime.jsxs(antd.Space, { direction: "vertical", size: 16, className: styles_module_default3.chatWelcomeWrap, children: [
|
|
1147
1181
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1148
1182
|
x.Welcome,
|
|
1149
1183
|
{
|
|
1150
|
-
className:
|
|
1184
|
+
className: classNames9__default.default(styles_module_default3.chatWelcome, "p-t-32"),
|
|
1151
1185
|
variant: "borderless",
|
|
1152
1186
|
icon: /* @__PURE__ */ jsxRuntime.jsx(antd.Avatar, { shape: "square", size: 58, src: receiverState.active.logo }),
|
|
1153
1187
|
title: `\u4F60\u597D\uFF0C\u6211\u662F${receiverState.active.name || ""}`,
|
|
@@ -1165,7 +1199,7 @@ var BubbleListItems_default = ({ firstMessage = false, avatar = { user: false, a
|
|
|
1165
1199
|
label: "\u{1F914} \u63A8\u8350\u95EE\u9898:",
|
|
1166
1200
|
children: receiverState.active.config.recommendQuestions.map(({ question }) => ({
|
|
1167
1201
|
key: question,
|
|
1168
|
-
description: /* @__PURE__ */ jsxRuntime.jsx("span", { onClick: () => chatStore.sendMessage(question), className:
|
|
1202
|
+
description: /* @__PURE__ */ jsxRuntime.jsx("span", { onClick: () => chatStore.sendMessage(question), className: classNames9__default.default(styles_module_default3.chatWelcomePrompts, "text-ellipsis"), children: question })
|
|
1169
1203
|
}))
|
|
1170
1204
|
}
|
|
1171
1205
|
]
|
|
@@ -1298,7 +1332,7 @@ var BubbleListItems_default = ({ firstMessage = false, avatar = { user: false, a
|
|
|
1298
1332
|
autoScroll: false,
|
|
1299
1333
|
ref: listRef,
|
|
1300
1334
|
items: bubbleListItems,
|
|
1301
|
-
className:
|
|
1335
|
+
className: classNames9__default.default(styles_module_default3.nsBubbleList, "height-full", "scroll-fade-in", "zero-chat-bubbles"),
|
|
1302
1336
|
onScroll: handleScroll
|
|
1303
1337
|
},
|
|
1304
1338
|
conversationState.active.id
|
|
@@ -1329,18 +1363,18 @@ var CharacterList_default = () => {
|
|
|
1329
1363
|
okText: "\u5207\u6362\u6027\u683C",
|
|
1330
1364
|
onOk: () => chatStore.switchCharacter(activeCharacter),
|
|
1331
1365
|
confirmLoading: characterState.switchLoading,
|
|
1332
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
1366
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles_module_default3.nsAvatarListContainer, children: /* @__PURE__ */ jsxRuntime.jsx(antd.Row, { wrap: true, gutter: [16, 32], className: styles_module_default3.nsAvatarList, children: characterState.list.map((item) => /* @__PURE__ */ jsxRuntime.jsx(antd.Col, { span: 6, children: /* @__PURE__ */ jsxRuntime.jsxs(antd.Flex, { vertical: true, align: "center", className: styles_module_default3.nsAvatarListItem, onClick: () => setActiveCharacter(item), children: [
|
|
1333
1367
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1334
1368
|
antd.Avatar,
|
|
1335
1369
|
{
|
|
1336
|
-
className:
|
|
1337
|
-
[
|
|
1370
|
+
className: classNames9__default.default(styles_module_default3.nsAvatarListItemIcon, "cursor-pointer", {
|
|
1371
|
+
[styles_module_default3.nsAvatarListItemIconActive]: activeCharacter.id === item.id
|
|
1338
1372
|
}),
|
|
1339
1373
|
size: 50,
|
|
1340
1374
|
src: /* @__PURE__ */ jsxRuntime.jsx("img", { src: item.logo, alt: "\u5934\u50CF" })
|
|
1341
1375
|
}
|
|
1342
1376
|
),
|
|
1343
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
1377
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: styles_module_default3.nsAvatarListItemName, children: item.characterName })
|
|
1344
1378
|
] }) }, item.id)) }) })
|
|
1345
1379
|
}
|
|
1346
1380
|
);
|
|
@@ -1392,7 +1426,7 @@ var ConversationList_default = () => {
|
|
|
1392
1426
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1393
1427
|
x.Conversations,
|
|
1394
1428
|
{
|
|
1395
|
-
className:
|
|
1429
|
+
className: styles_module_default3.nsConversations,
|
|
1396
1430
|
items: conversationList,
|
|
1397
1431
|
activeKey: conversationState.active.id,
|
|
1398
1432
|
onActiveChange: async (id) => chatStore.switchConversation(id),
|
|
@@ -1428,7 +1462,7 @@ var ChatHeader_default = ({
|
|
|
1428
1462
|
const chatStore = useChatStore();
|
|
1429
1463
|
const receiverState = valtio.useSnapshot(chatStore.receiver);
|
|
1430
1464
|
const configState = valtio.useSnapshot(chatStore.config);
|
|
1431
|
-
return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: /* @__PURE__ */ jsxRuntime.jsxs(antd.Flex, { justify: "space-between", align: "center", className:
|
|
1465
|
+
return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: /* @__PURE__ */ jsxRuntime.jsxs(antd.Flex, { justify: "space-between", align: "center", className: classNames9__default.default(styles_module_default3.nsChatHeader, "zero-chat-header"), children: [
|
|
1432
1466
|
/* @__PURE__ */ jsxRuntime.jsxs(antd.Flex, { gap: 4, align: "center", children: [
|
|
1433
1467
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1434
1468
|
common.RenderWrapper,
|
|
@@ -1436,7 +1470,7 @@ var ChatHeader_default = ({
|
|
|
1436
1470
|
control: title,
|
|
1437
1471
|
DefaultComponent: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1438
1472
|
/* @__PURE__ */ jsxRuntime.jsx(antd.Avatar, { size: 22, src: receiverState.active.logo, alt: receiverState.active.name }),
|
|
1439
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
1473
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: styles_module_default3.nsChatTitle, children: receiverState.active.name })
|
|
1440
1474
|
] })
|
|
1441
1475
|
}
|
|
1442
1476
|
),
|
|
@@ -1460,7 +1494,7 @@ var ChatHeader_default = ({
|
|
|
1460
1494
|
{
|
|
1461
1495
|
getPopupContainer: (e) => e,
|
|
1462
1496
|
placement: "bottom",
|
|
1463
|
-
classNames: { body:
|
|
1497
|
+
classNames: { body: styles_module_default3.nsChatHeaderPopover },
|
|
1464
1498
|
content: /* @__PURE__ */ jsxRuntime.jsx(ConversationList_default, {}),
|
|
1465
1499
|
trigger: ["click"],
|
|
1466
1500
|
children: /* @__PURE__ */ jsxRuntime.jsx(antd.Button, { title: "\u5386\u53F2\u4F1A\u8BDD", type: "text", size: "large", icon: /* @__PURE__ */ jsxRuntime.jsx(icons.CommentOutlined, {}) })
|
|
@@ -1478,12 +1512,6 @@ var ChatHeader_default = ({
|
|
|
1478
1512
|
] })
|
|
1479
1513
|
] }) });
|
|
1480
1514
|
};
|
|
1481
|
-
|
|
1482
|
-
// src/components/styles.module.less
|
|
1483
|
-
var styles_module_default3 = {
|
|
1484
|
-
chatAttachments: "styles_module_chatAttachments",
|
|
1485
|
-
chatSender: "styles_module_chatSender"
|
|
1486
|
-
};
|
|
1487
1515
|
var Attachments_default = react.forwardRef(({ fileUpload, fileUploadConfig = [], fileList = [], onChange, extraParams }, ref) => {
|
|
1488
1516
|
const { message: message3 } = antd.App.useApp();
|
|
1489
1517
|
const fileListRef = react.useRef([]);
|
|
@@ -1617,7 +1645,7 @@ var Attachments_default = react.forwardRef(({ fileUpload, fileUploadConfig = [],
|
|
|
1617
1645
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1618
1646
|
x.Attachments,
|
|
1619
1647
|
{
|
|
1620
|
-
className:
|
|
1648
|
+
className: styles_module_default2.chatAttachments,
|
|
1621
1649
|
accept: acceptStr,
|
|
1622
1650
|
multiple: true,
|
|
1623
1651
|
customRequest: onCustomRequest,
|
|
@@ -1686,7 +1714,7 @@ var ChatSender_default = react.forwardRef(
|
|
|
1686
1714
|
return /* @__PURE__ */ jsxRuntime.jsx(x.Suggestion, { items: [], onSelect: (itemVal) => setInputValue(`[${itemVal}]:`), children: ({}) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1687
1715
|
x.Sender,
|
|
1688
1716
|
{
|
|
1689
|
-
className:
|
|
1717
|
+
className: styles_module_default2.chatSender,
|
|
1690
1718
|
ref: senderRef,
|
|
1691
1719
|
value: inputValue,
|
|
1692
1720
|
header: senderHeader,
|
|
@@ -1735,16 +1763,16 @@ var SenderPromptsItems_default = () => {
|
|
|
1735
1763
|
{
|
|
1736
1764
|
itemLayout: "horizontal",
|
|
1737
1765
|
split: false,
|
|
1738
|
-
className:
|
|
1766
|
+
className: styles_module_default3.nsSenderList,
|
|
1739
1767
|
dataSource: question.items,
|
|
1740
|
-
renderItem: (item) => /* @__PURE__ */ jsxRuntime.jsx(antd.List.Item, { onClick: () => chatStore.sendMessage(item.question), className:
|
|
1741
|
-
footer: /* @__PURE__ */ jsxRuntime.jsx(antd.Flex, { justify: "end", className:
|
|
1768
|
+
renderItem: (item) => /* @__PURE__ */ jsxRuntime.jsx(antd.List.Item, { onClick: () => chatStore.sendMessage(item.question), className: styles_module_default3.nsSenderListItem, children: item.question }),
|
|
1769
|
+
footer: /* @__PURE__ */ jsxRuntime.jsx(antd.Flex, { justify: "end", className: styles_module_default3.nsSenderListFooter, children: "(\u60A8\u53EF\u70B9\u51FB\u4EE5\u4E0A\u95EE\u9898\u5F00\u542FAI\u4F53\u9A8C)" })
|
|
1742
1770
|
}
|
|
1743
1771
|
),
|
|
1744
1772
|
title: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1745
1773
|
"div",
|
|
1746
1774
|
{
|
|
1747
|
-
className:
|
|
1775
|
+
className: classNames9__default.default(styles_module_default3.nsSenderListTitle, "text-ellipsis"),
|
|
1748
1776
|
children: `${receiverState.active.name}\u5F00\u59CB\u5173\u6CE8${question.name}\u5185\u5BB9\uFF01`
|
|
1749
1777
|
}
|
|
1750
1778
|
),
|
|
@@ -1835,8 +1863,8 @@ var ChatSender_default2 = react.forwardRef(
|
|
|
1835
1863
|
open: !!chatMessage?.references?.content?.name,
|
|
1836
1864
|
onOpenChange: () => chatStore.setReferences(),
|
|
1837
1865
|
classNames: {
|
|
1838
|
-
header:
|
|
1839
|
-
content: common.shouldRender(referencesBtn) ? "" :
|
|
1866
|
+
header: styles_module_default3.nsSenderReferenceHeaderTitle,
|
|
1867
|
+
content: common.shouldRender(referencesBtn) ? "" : styles_module_default3.nsSenderReferenceHeaderContent
|
|
1840
1868
|
},
|
|
1841
1869
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1842
1870
|
common.RenderWrapper,
|
|
@@ -1864,7 +1892,7 @@ var ConversationListHeader_default = () => {
|
|
|
1864
1892
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "p-24", children: [
|
|
1865
1893
|
/* @__PURE__ */ jsxRuntime.jsxs(antd.Flex, { align: "center", gap: 8, children: [
|
|
1866
1894
|
/* @__PURE__ */ jsxRuntime.jsx(antd.Avatar, { size: 36, src: receiverState.active.logo }),
|
|
1867
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
1895
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: styles_module_default3.nsChatUserName, children: receiverState.active.name })
|
|
1868
1896
|
] }),
|
|
1869
1897
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1870
1898
|
antd.Button,
|
|
@@ -1873,7 +1901,7 @@ var ConversationListHeader_default = () => {
|
|
|
1873
1901
|
type: "primary",
|
|
1874
1902
|
shape: "round",
|
|
1875
1903
|
onClick: () => chatStore.createConversation(),
|
|
1876
|
-
className:
|
|
1904
|
+
className: classNames9__default.default("m-t-16"),
|
|
1877
1905
|
icon: /* @__PURE__ */ jsxRuntime.jsx(icons.PlusOutlined, {}),
|
|
1878
1906
|
children: "\u65B0\u5EFA\u4F1A\u8BDD"
|
|
1879
1907
|
}
|
|
@@ -1881,7 +1909,7 @@ var ConversationListHeader_default = () => {
|
|
|
1881
1909
|
] });
|
|
1882
1910
|
};
|
|
1883
1911
|
var ConversationListPanel_default = ({ header }) => {
|
|
1884
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(antd.Flex, { vertical: true, className:
|
|
1912
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(antd.Flex, { vertical: true, className: classNames9__default.default("height-full", "zero-chat-conversations", styles_module_default3.nsConversationListPanel), children: [
|
|
1885
1913
|
/* @__PURE__ */ jsxRuntime.jsx(common.RenderWrapper, { control: header, DefaultComponent: ConversationListHeader_default }),
|
|
1886
1914
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "full-scroll", children: /* @__PURE__ */ jsxRuntime.jsx(ConversationList_default, {}) })
|
|
1887
1915
|
] });
|
|
@@ -1979,7 +2007,7 @@ var layouts_default = react.forwardRef(({ theme, params, userInfo, hooks, layout
|
|
|
1979
2007
|
react.useEffect(() => {
|
|
1980
2008
|
configState.hooks?.onBeforeInit?.();
|
|
1981
2009
|
}, []);
|
|
1982
|
-
return /* @__PURE__ */ jsxRuntime.jsx(x.XProvider, { theme: { cssVar: true, ...theme }, children: /* @__PURE__ */ jsxRuntime.jsx(ChatProvider, { store: chatStore, children: /* @__PURE__ */ jsxRuntime.jsx(antd.Spin, { spinning: receiverState.loading, wrapperClassName: "full-spin", children: /* @__PURE__ */ jsxRuntime.jsxs(antd.Flex, { vertical: true, className:
|
|
2010
|
+
return /* @__PURE__ */ jsxRuntime.jsx(x.XProvider, { theme: { cssVar: true, ...theme }, children: /* @__PURE__ */ jsxRuntime.jsx(ChatProvider, { store: chatStore, children: /* @__PURE__ */ jsxRuntime.jsx(antd.Spin, { spinning: receiverState.loading, wrapperClassName: "full-spin", children: /* @__PURE__ */ jsxRuntime.jsxs(antd.Flex, { vertical: true, className: classNames9__default.default(styles_module_default4.nsChatLayout, "zero-chat-layout", "height-full"), children: [
|
|
1983
2011
|
/* @__PURE__ */ jsxRuntime.jsx(common.RenderWrapper, { control: configState.layout.globalHeader, DefaultComponent: ChatHeader_default }),
|
|
1984
2012
|
/* @__PURE__ */ jsxRuntime.jsxs(antd.Flex, { className: "full-scroll", children: [
|
|
1985
2013
|
/* @__PURE__ */ jsxRuntime.jsx(common.RenderWrapper, { control: configState.layout.leftPanel }),
|
|
@@ -2033,15 +2061,15 @@ var layouts_default = react.forwardRef(({ theme, params, userInfo, hooks, layout
|
|
|
2033
2061
|
}
|
|
2034
2062
|
)
|
|
2035
2063
|
] }) }),
|
|
2036
|
-
/* @__PURE__ */ jsxRuntime.jsx(antd.Splitter.Panel, { collapsible: false, max: 800, min: 400, size: sizes[1], children: /* @__PURE__ */ jsxRuntime.jsxs(antd.Flex, { vertical: true, className:
|
|
2064
|
+
/* @__PURE__ */ jsxRuntime.jsx(antd.Splitter.Panel, { collapsible: false, max: 800, min: 400, size: sizes[1], children: /* @__PURE__ */ jsxRuntime.jsxs(antd.Flex, { vertical: true, className: classNames9__default.default("height-full"), children: [
|
|
2037
2065
|
/* @__PURE__ */ jsxRuntime.jsx(common.RenderWrapper, { control: configState.layout.chatHeader, DefaultComponent: ChatHeader_default }),
|
|
2038
|
-
/* @__PURE__ */ jsxRuntime.jsx(antd.Flex, { vertical: true, className:
|
|
2066
|
+
/* @__PURE__ */ jsxRuntime.jsx(antd.Flex, { vertical: true, className: classNames9__default.default("full-scroll"), children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2039
2067
|
antd.Flex,
|
|
2040
2068
|
{
|
|
2041
2069
|
justify: "center",
|
|
2042
2070
|
vertical: true,
|
|
2043
2071
|
gap: 24,
|
|
2044
|
-
className:
|
|
2072
|
+
className: classNames9__default.default("height-full", styles_module_default4.nsChatBody, "zero-chat-body", styles_module_default4.nsBodyWidth),
|
|
2045
2073
|
children: [
|
|
2046
2074
|
common.shouldRender(configState.layout.messageList) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "full-scroll", children: /* @__PURE__ */ jsxRuntime.jsx(common.RenderWrapper, { control: configState.layout.messageList, DefaultComponent: BubbleListItems_default }) }),
|
|
2047
2075
|
/* @__PURE__ */ jsxRuntime.jsxs(antd.Flex, { vertical: true, gap: 8, children: [
|