@zero-library/chat-copilot 3.2.3 → 3.2.4

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
@@ -2088,6 +2088,7 @@ function createChatStore() {
2088
2088
  }
2089
2089
  await getMessages(conversationId);
2090
2090
  await setPreview();
2091
+ closeSubAgent();
2091
2092
  config.hooks?.onAfterSwitchConversation?.(conversationId);
2092
2093
  };
2093
2094
  const updateConversations = (data) => {
@@ -8168,9 +8169,7 @@ var ChatSubAgentPanel_default = ChatSubAgentPanel;
8168
8169
  var index_module_default3 = {
8169
8170
  chatLayout: "index_module_chatLayout",
8170
8171
  animatedSplitter: "index_module_animatedSplitter",
8171
- hideSplitterBar: "index_module_hideSplitterBar",
8172
- rightTabs: "index_module_rightTabs"
8173
- };
8172
+ hideSplitterBar: "index_module_hideSplitterBar"};
8174
8173
  var layouts_default = React10.forwardRef(({ theme: theme3, params, hooks, layout, config, services }, _ref) => {
8175
8174
  const { t: t11 } = common.useTranslation(NS_CHAT_COPILOT);
8176
8175
  const chatStore = React10.useMemo(() => createChatStore(), []);
@@ -8310,7 +8309,7 @@ var layouts_default = React10.forwardRef(({ theme: theme3, params, hooks, layout
8310
8309
  hasRightPanel && /* @__PURE__ */ jsxRuntime.jsx(antd.Splitter.Panel, { collapsible: false, min: 360, size: sizes[1], children: /* @__PURE__ */ jsxRuntime.jsx(
8311
8310
  antd.Tabs,
8312
8311
  {
8313
- className: classNames9__default.default("height-full", index_module_default3.rightTabs),
8312
+ className: "full-tabs",
8314
8313
  activeKey: effectiveRightTab,
8315
8314
  onChange: (k) => setActiveRightTab(k),
8316
8315
  tabBarStyle: { marginBottom: 0 },