@aheart-ui/ai 1.1.0 → 1.2.0

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.
@@ -1,5 +1,8 @@
1
1
  import { defineComponent as Be, ref as R, getCurrentInstance as Ve, useId as De, computed as I, onMounted as He, nextTick as Le, onBeforeUnmount as Ie, watch as ee, onBeforeUpdate as Pe, h as te, openBlock as h, createElementBlock as g, createElementVNode as u, toDisplayString as $, createCommentVNode as C, normalizeClass as Ne, createVNode as m, unref as y, withCtx as k, createTextVNode as P, createBlock as ae, Teleport as $e, mergeProps as Fe, renderSlot as _, createSlots as Je, withDirectives as oe, Fragment as Ze, renderList as qe, vShow as se } from "vue";
2
- import { Splitter as We, SplitterPanel as ne, Button as N, Tabs as Ge, Drawer as Xe } from "aheart-ui";
2
+ import { Button as N } from "aheart-ui/button";
3
+ import { Drawer as We } from "aheart-ui/drawer";
4
+ import { Splitter as Ge, SplitterPanel as ne } from "aheart-ui/splitter";
5
+ import { Tabs as Xe } from "aheart-ui/tabs";
3
6
  import { SortableList as Ye } from "@aheart-ui/dnd/sortable";
4
7
  import Ce from "./attachments.vue.js";
5
8
  import Qe from "./chat-panel.vue.js";
@@ -30,7 +33,7 @@ const tt = {
30
33
  }, yt = { class: "aheart-ai-workbench__context-list-mobile" }, wt = ["data-context-id"], It = { key: 0 }, $t = { class: "aheart-ai-workbench__move-actions" }, Ct = { class: "aheart-ai-workbench__mobile-panel" }, xt = { class: "aheart-ai-workbench__mobile-panel--chat" }, St = ["id"], At = {
31
34
  key: 0,
32
35
  class: "aheart-ai-workbench__empty"
33
- }, Tt = { class: "aheart-ai-workbench__mobile-panel" }, Ut = /* @__PURE__ */ Be({
36
+ }, Tt = { class: "aheart-ai-workbench__mobile-panel" }, Dt = /* @__PURE__ */ Be({
34
37
  name: "AAIAgentWorkbench",
35
38
  __name: "agent-workbench",
36
39
  props: {
@@ -262,7 +265,7 @@ const tt = {
262
265
  ])
263
266
  ]),
264
267
  u("div", it, [
265
- m(y(We), {
268
+ m(y(Ge), {
266
269
  sizes: l.panelSizes,
267
270
  "default-sizes": [150, "auto", 200],
268
271
  "onUpdate:sizes": e[13] || (e[13] = (a) => v("update:panelSizes", a))
@@ -427,7 +430,7 @@ const tt = {
427
430
  }, 8, ["sizes"])
428
431
  ]),
429
432
  u("div", ht, [
430
- m(y(Ge), {
433
+ m(y(Xe), {
431
434
  items: je.value,
432
435
  "active-key": J(j.value),
433
436
  "onUpdate:activeKey": e[14] || (e[14] = (a) => j.value = String(a).split("--")[0])
@@ -509,7 +512,7 @@ const tt = {
509
512
  ], 512), [
510
513
  [se, j.value === "execution"]
511
514
  ]),
512
- m(y(Xe), {
515
+ m(y(We), {
513
516
  open: D.value,
514
517
  "onUpdate:open": e[17] || (e[17] = (a) => D.value = a),
515
518
  title: "执行与产物",
@@ -533,5 +536,5 @@ const tt = {
533
536
  }
534
537
  });
535
538
  export {
536
- Ut as default
539
+ Dt as default
537
540
  };
@@ -322,7 +322,6 @@
322
322
 
323
323
  .aheart-ai-chat-panel__message-actions button,
324
324
  .aheart-ai-chat-panel__editing button,
325
- .aheart-ai-actions button,
326
325
  .aheart-ai-attachments button {
327
326
  min-block-size: 28px;
328
327
  padding: 3px 8px;
@@ -339,8 +338,6 @@
339
338
  .aheart-ai-chat-panel__message-actions button:focus-visible,
340
339
  .aheart-ai-chat-panel__editing button:hover,
341
340
  .aheart-ai-chat-panel__editing button:focus-visible,
342
- .aheart-ai-actions button:hover,
343
- .aheart-ai-actions button:focus-visible,
344
341
  .aheart-ai-attachments button:hover,
345
342
  .aheart-ai-attachments button:focus-visible {
346
343
  border-color: #b9c2cf;
@@ -429,7 +426,6 @@
429
426
  }
430
427
 
431
428
  .aheart-ai-conversations,
432
- .aheart-ai-actions,
433
429
  .aheart-ai-sources,
434
430
  .aheart-ai-process,
435
431
  .aheart-ai-attachments {