@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.esm.js CHANGED
@@ -2058,6 +2058,7 @@ function createChatStore() {
2058
2058
  }
2059
2059
  await getMessages(conversationId);
2060
2060
  await setPreview();
2061
+ closeSubAgent();
2061
2062
  config.hooks?.onAfterSwitchConversation?.(conversationId);
2062
2063
  };
2063
2064
  const updateConversations = (data) => {
@@ -8138,9 +8139,7 @@ var ChatSubAgentPanel_default = ChatSubAgentPanel;
8138
8139
  var index_module_default3 = {
8139
8140
  chatLayout: "index_module_chatLayout",
8140
8141
  animatedSplitter: "index_module_animatedSplitter",
8141
- hideSplitterBar: "index_module_hideSplitterBar",
8142
- rightTabs: "index_module_rightTabs"
8143
- };
8142
+ hideSplitterBar: "index_module_hideSplitterBar"};
8144
8143
  var layouts_default = forwardRef(({ theme: theme3, params, hooks, layout, config, services }, _ref) => {
8145
8144
  const { t: t11 } = useTranslation(NS_CHAT_COPILOT);
8146
8145
  const chatStore = useMemo(() => createChatStore(), []);
@@ -8280,7 +8279,7 @@ var layouts_default = forwardRef(({ theme: theme3, params, hooks, layout, config
8280
8279
  hasRightPanel && /* @__PURE__ */ jsx(Splitter.Panel, { collapsible: false, min: 360, size: sizes[1], children: /* @__PURE__ */ jsx(
8281
8280
  Tabs,
8282
8281
  {
8283
- className: classNames9("height-full", index_module_default3.rightTabs),
8282
+ className: "full-tabs",
8284
8283
  activeKey: effectiveRightTab,
8285
8284
  onChange: (k) => setActiveRightTab(k),
8286
8285
  tabBarStyle: { marginBottom: 0 },