@hef2024/llmasaservice-ui 0.23.1 → 0.23.2
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.js +10 -8
- package/dist/index.mjs +10 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6993,8 +6993,7 @@ var AIAgentPanel = import_react16.default.forwardRef(({
|
|
|
6993
6993
|
if (e.target === e.currentTarget) {
|
|
6994
6994
|
toggleCollapse();
|
|
6995
6995
|
}
|
|
6996
|
-
}
|
|
6997
|
-
title: "Click to expand"
|
|
6996
|
+
}
|
|
6998
6997
|
},
|
|
6999
6998
|
/* @__PURE__ */ import_react16.default.createElement(Tooltip, { content: "Expand Panel", side: "left" }, /* @__PURE__ */ import_react16.default.createElement(Button, { variant: "ghost", size: "icon", onClick: toggleCollapse }, position === "right" ? /* @__PURE__ */ import_react16.default.createElement(ChevronLeftIcon, null) : /* @__PURE__ */ import_react16.default.createElement(ChevronRightIcon, null))),
|
|
7000
6999
|
/* @__PURE__ */ import_react16.default.createElement("div", { className: "ai-agent-panel__collapsed-divider" }),
|
|
@@ -7034,11 +7033,13 @@ var AIAgentPanel = import_react16.default.forwardRef(({
|
|
|
7034
7033
|
(conv) => conv.agentId === agent.id
|
|
7035
7034
|
);
|
|
7036
7035
|
const hasActiveConversation = !!activeConvForAgent;
|
|
7037
|
-
return /* @__PURE__ */ import_react16.default.createElement(
|
|
7036
|
+
return /* @__PURE__ */ import_react16.default.createElement(
|
|
7038
7037
|
Button,
|
|
7039
7038
|
{
|
|
7039
|
+
key: agent.id,
|
|
7040
7040
|
variant: agent.id === currentAgentId ? "secondary" : "ghost",
|
|
7041
7041
|
size: "icon",
|
|
7042
|
+
title: agent.name,
|
|
7042
7043
|
onClick: () => {
|
|
7043
7044
|
if (!isControlled) {
|
|
7044
7045
|
setUncontrolledIsCollapsed(false);
|
|
@@ -7080,7 +7081,7 @@ var AIAgentPanel = import_react16.default.forwardRef(({
|
|
|
7080
7081
|
}
|
|
7081
7082
|
) : agent.name.charAt(0).toUpperCase(),
|
|
7082
7083
|
hasActiveConversation && /* @__PURE__ */ import_react16.default.createElement("span", { className: "ai-agent-panel__agent-active-indicator" })
|
|
7083
|
-
)
|
|
7084
|
+
);
|
|
7084
7085
|
}),
|
|
7085
7086
|
/* @__PURE__ */ import_react16.default.createElement("div", { className: "ai-agent-panel__collapsed-spacer" })
|
|
7086
7087
|
));
|
|
@@ -7114,8 +7115,7 @@ var AIAgentPanel = import_react16.default.forwardRef(({
|
|
|
7114
7115
|
if (e.target === e.currentTarget) {
|
|
7115
7116
|
toggleHistoryCollapse();
|
|
7116
7117
|
}
|
|
7117
|
-
}
|
|
7118
|
-
title: "Click to expand history"
|
|
7118
|
+
}
|
|
7119
7119
|
},
|
|
7120
7120
|
/* @__PURE__ */ import_react16.default.createElement(Tooltip, { content: "Expand History", side: sidebarPosition === "left" ? "right" : "left" }, /* @__PURE__ */ import_react16.default.createElement(
|
|
7121
7121
|
Button,
|
|
@@ -7142,11 +7142,13 @@ var AIAgentPanel = import_react16.default.forwardRef(({
|
|
|
7142
7142
|
(conv) => conv.agentId === agent.id
|
|
7143
7143
|
);
|
|
7144
7144
|
const hasActiveConversation = !!activeConvForAgent;
|
|
7145
|
-
return /* @__PURE__ */ import_react16.default.createElement(
|
|
7145
|
+
return /* @__PURE__ */ import_react16.default.createElement(
|
|
7146
7146
|
Button,
|
|
7147
7147
|
{
|
|
7148
|
+
key: agent.id,
|
|
7148
7149
|
variant: agent.id === currentAgentId ? "secondary" : "ghost",
|
|
7149
7150
|
size: "icon",
|
|
7151
|
+
title: agent.name,
|
|
7150
7152
|
onClick: () => {
|
|
7151
7153
|
if (hasActiveConversation && activeConvForAgent) {
|
|
7152
7154
|
setCurrentConversationId(activeConvForAgent.conversationId);
|
|
@@ -7184,7 +7186,7 @@ var AIAgentPanel = import_react16.default.forwardRef(({
|
|
|
7184
7186
|
}
|
|
7185
7187
|
) : agent.name.charAt(0).toUpperCase(),
|
|
7186
7188
|
hasActiveConversation && /* @__PURE__ */ import_react16.default.createElement("span", { className: "ai-agent-panel__agent-active-indicator" })
|
|
7187
|
-
)
|
|
7189
|
+
);
|
|
7188
7190
|
}),
|
|
7189
7191
|
/* @__PURE__ */ import_react16.default.createElement("div", { className: "ai-agent-panel__history-collapsed-spacer" })
|
|
7190
7192
|
)
|
package/dist/index.mjs
CHANGED
|
@@ -6958,8 +6958,7 @@ var AIAgentPanel = React15.forwardRef(({
|
|
|
6958
6958
|
if (e.target === e.currentTarget) {
|
|
6959
6959
|
toggleCollapse();
|
|
6960
6960
|
}
|
|
6961
|
-
}
|
|
6962
|
-
title: "Click to expand"
|
|
6961
|
+
}
|
|
6963
6962
|
},
|
|
6964
6963
|
/* @__PURE__ */ React15.createElement(Tooltip, { content: "Expand Panel", side: "left" }, /* @__PURE__ */ React15.createElement(Button, { variant: "ghost", size: "icon", onClick: toggleCollapse }, position === "right" ? /* @__PURE__ */ React15.createElement(ChevronLeftIcon, null) : /* @__PURE__ */ React15.createElement(ChevronRightIcon, null))),
|
|
6965
6964
|
/* @__PURE__ */ React15.createElement("div", { className: "ai-agent-panel__collapsed-divider" }),
|
|
@@ -6999,11 +6998,13 @@ var AIAgentPanel = React15.forwardRef(({
|
|
|
6999
6998
|
(conv) => conv.agentId === agent.id
|
|
7000
6999
|
);
|
|
7001
7000
|
const hasActiveConversation = !!activeConvForAgent;
|
|
7002
|
-
return /* @__PURE__ */ React15.createElement(
|
|
7001
|
+
return /* @__PURE__ */ React15.createElement(
|
|
7003
7002
|
Button,
|
|
7004
7003
|
{
|
|
7004
|
+
key: agent.id,
|
|
7005
7005
|
variant: agent.id === currentAgentId ? "secondary" : "ghost",
|
|
7006
7006
|
size: "icon",
|
|
7007
|
+
title: agent.name,
|
|
7007
7008
|
onClick: () => {
|
|
7008
7009
|
if (!isControlled) {
|
|
7009
7010
|
setUncontrolledIsCollapsed(false);
|
|
@@ -7045,7 +7046,7 @@ var AIAgentPanel = React15.forwardRef(({
|
|
|
7045
7046
|
}
|
|
7046
7047
|
) : agent.name.charAt(0).toUpperCase(),
|
|
7047
7048
|
hasActiveConversation && /* @__PURE__ */ React15.createElement("span", { className: "ai-agent-panel__agent-active-indicator" })
|
|
7048
|
-
)
|
|
7049
|
+
);
|
|
7049
7050
|
}),
|
|
7050
7051
|
/* @__PURE__ */ React15.createElement("div", { className: "ai-agent-panel__collapsed-spacer" })
|
|
7051
7052
|
));
|
|
@@ -7079,8 +7080,7 @@ var AIAgentPanel = React15.forwardRef(({
|
|
|
7079
7080
|
if (e.target === e.currentTarget) {
|
|
7080
7081
|
toggleHistoryCollapse();
|
|
7081
7082
|
}
|
|
7082
|
-
}
|
|
7083
|
-
title: "Click to expand history"
|
|
7083
|
+
}
|
|
7084
7084
|
},
|
|
7085
7085
|
/* @__PURE__ */ React15.createElement(Tooltip, { content: "Expand History", side: sidebarPosition === "left" ? "right" : "left" }, /* @__PURE__ */ React15.createElement(
|
|
7086
7086
|
Button,
|
|
@@ -7107,11 +7107,13 @@ var AIAgentPanel = React15.forwardRef(({
|
|
|
7107
7107
|
(conv) => conv.agentId === agent.id
|
|
7108
7108
|
);
|
|
7109
7109
|
const hasActiveConversation = !!activeConvForAgent;
|
|
7110
|
-
return /* @__PURE__ */ React15.createElement(
|
|
7110
|
+
return /* @__PURE__ */ React15.createElement(
|
|
7111
7111
|
Button,
|
|
7112
7112
|
{
|
|
7113
|
+
key: agent.id,
|
|
7113
7114
|
variant: agent.id === currentAgentId ? "secondary" : "ghost",
|
|
7114
7115
|
size: "icon",
|
|
7116
|
+
title: agent.name,
|
|
7115
7117
|
onClick: () => {
|
|
7116
7118
|
if (hasActiveConversation && activeConvForAgent) {
|
|
7117
7119
|
setCurrentConversationId(activeConvForAgent.conversationId);
|
|
@@ -7149,7 +7151,7 @@ var AIAgentPanel = React15.forwardRef(({
|
|
|
7149
7151
|
}
|
|
7150
7152
|
) : agent.name.charAt(0).toUpperCase(),
|
|
7151
7153
|
hasActiveConversation && /* @__PURE__ */ React15.createElement("span", { className: "ai-agent-panel__agent-active-indicator" })
|
|
7152
|
-
)
|
|
7154
|
+
);
|
|
7153
7155
|
}),
|
|
7154
7156
|
/* @__PURE__ */ React15.createElement("div", { className: "ai-agent-panel__history-collapsed-spacer" })
|
|
7155
7157
|
)
|