@apform-ui/core 1.10.37 → 1.10.38

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.
Files changed (36) hide show
  1. package/dist/apform-ui.css +1 -1
  2. package/dist/apform-ui.js +443 -442
  3. package/dist/apform-ui.umd.cjs +2 -2
  4. package/dist/chat.css +1 -0
  5. package/dist/chat.d.ts +78 -0
  6. package/dist/chat.js +9801 -0
  7. package/dist/chat.umd.cjs +68 -0
  8. package/dist/components/AppDialog/AppDialog.vue.d.ts +6 -6
  9. package/dist/components/CardGridSkeleton/CardGridSkeleton.vue.d.ts +1 -1
  10. package/dist/components/Chat/AssistantPicker/AssistantPicker.vue.d.ts +2 -2
  11. package/dist/components/Chat/ConversationSearchBar/ConversationSearchBar.vue.d.ts +5 -5
  12. package/dist/components/Chat/EditableArtifactCard/EditableArtifactCard.vue.d.ts +1 -1
  13. package/dist/components/Chat/MessageBubble/MessageBubble.vue.d.ts +4 -4
  14. package/dist/components/Chat/MessageList/MessageList.vue.d.ts +4 -4
  15. package/dist/components/Chat/PendingAttachmentChip/PendingAttachmentChip.vue.d.ts +2 -2
  16. package/dist/components/Chat/RagContextPanel/RagContextPanel.vue.d.ts +4 -4
  17. package/dist/components/Chat/ThinkingBlock/ThinkingBlock.vue.d.ts +1 -1
  18. package/dist/components/Chat/WorkflowRunTimeline/WorkflowRunTimeline.vue.d.ts +1 -1
  19. package/dist/components/ConfirmDialog/ConfirmDialog.vue.d.ts +1 -1
  20. package/dist/components/DocumentPreview/DocumentPreviewDrawer.vue.d.ts +2 -2
  21. package/dist/components/DocumentPreview/DocumentPreviewPanel.vue.d.ts +2 -2
  22. package/dist/components/ExcelPreviewCard/ExcelPreviewCard.vue.d.ts +2 -2
  23. package/dist/components/ExecutionArtifactPanel/ExecutionArtifactPanel.vue.d.ts +1 -1
  24. package/dist/components/FormDialog/FormDialog.vue.d.ts +3 -3
  25. package/dist/components/ImagePreviewCard/ImagePreviewCard.vue.d.ts +1 -1
  26. package/dist/components/LogStream/LogStream.vue.d.ts +3 -3
  27. package/dist/components/MetricChart/MetricChart.vue.d.ts +1 -1
  28. package/dist/components/PropertyField/PropertyField.vue.d.ts +1 -1
  29. package/dist/components/PropertyPanel/editors/NumberArrayEditor.vue.d.ts +1 -1
  30. package/dist/components/SearchForm/SearchForm.vue.d.ts +3 -3
  31. package/dist/components/Skeleton/Skeleton.vue.d.ts +2 -2
  32. package/dist/components/StatusTag/StatusTag.vue.d.ts +1 -1
  33. package/dist/components/TimeRangePicker/TimeRangePicker.vue.d.ts +1 -1
  34. package/dist/components/UserAvatar/UserAvatar.vue.d.ts +2 -2
  35. package/dist/index.d.ts +3 -72
  36. package/package.json +8 -3
package/dist/apform-ui.js CHANGED
@@ -13316,198 +13316,17 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
13316
13316
  compact: fn
13317
13317
  }, _n = {
13318
13318
  $style: qn
13319
- }, r5 = /* @__PURE__ */ j(zn, [["__cssModules", _n]]), $n = { class: "apf-bpmn-node" }, IH = { class: "apf-bpmn-node__label" }, gH = /* @__PURE__ */ t({
13320
- __name: "PreviewStartEvent",
13321
- props: {
13322
- data: {}
13323
- },
13324
- setup(I) {
13325
- return (C, g) => (c(), s("div", $n, [
13326
- g[0] || (g[0] = b("div", { class: "apf-bpmn-start" }, [
13327
- b("div", { class: "apf-bpmn-start__inner" })
13328
- ], -1)),
13329
- b("div", IH, V(I.data.label), 1),
13330
- H(y(eg), {
13331
- type: "source",
13332
- position: y(Kg).Bottom
13333
- }, null, 8, ["position"])
13334
- ]));
13335
- }
13336
- }), CH = /* @__PURE__ */ j(gH, [["__scopeId", "data-v-06a5d706"]]), AH = { class: "apf-bpmn-node" }, ZH = { class: "apf-bpmn-node__label" }, lH = /* @__PURE__ */ t({
13337
- __name: "PreviewEndEvent",
13338
- props: {
13339
- data: {}
13340
- },
13341
- setup(I) {
13342
- return (C, g) => (c(), s("div", AH, [
13343
- H(y(eg), {
13344
- type: "target",
13345
- position: y(Kg).Top
13346
- }, null, 8, ["position"]),
13347
- g[0] || (g[0] = b("div", { class: "apf-bpmn-end" }, [
13348
- b("div", { class: "apf-bpmn-end__inner" })
13349
- ], -1)),
13350
- b("div", ZH, V(I.data.label), 1)
13351
- ]));
13352
- }
13353
- }), dH = /* @__PURE__ */ j(lH, [["__scopeId", "data-v-6c6caa4e"]]), cH = { class: "apf-bpmn-node" }, GH = { class: "apf-bpmn-task" }, bH = { class: "apf-bpmn-task__icon" }, mH = { class: "apf-bpmn-task__label" }, iH = /* @__PURE__ */ t({
13354
- __name: "PreviewTask",
13355
- props: {
13356
- data: {}
13357
- },
13358
- setup(I) {
13359
- const C = {
13360
- userTask: "👤",
13361
- serviceTask: "⚙",
13362
- scriptTask: "📜",
13363
- sendTask: "📤",
13364
- receiveTask: "📥"
13365
- };
13366
- return (g, Z) => (c(), s("div", cH, [
13367
- H(y(eg), {
13368
- type: "target",
13369
- position: y(Kg).Top
13370
- }, null, 8, ["position"]),
13371
- b("div", GH, [
13372
- b("span", bH, V(C[I.data.bpmnType] || "📋"), 1),
13373
- b("span", mH, V(I.data.label), 1)
13374
- ]),
13375
- H(y(eg), {
13376
- type: "source",
13377
- position: y(Kg).Bottom
13378
- }, null, 8, ["position"])
13379
- ]));
13380
- }
13381
- }), sH = /* @__PURE__ */ j(iH, [["__scopeId", "data-v-5b6a4a18"]]), WH = { class: "apf-bpmn-node" }, BH = { class: "apf-bpmn-gateway" }, YH = { class: "apf-bpmn-gateway__icon" }, wH = { class: "apf-bpmn-node__label" }, oH = /* @__PURE__ */ t({
13382
- __name: "PreviewGateway",
13383
- props: {
13384
- data: {}
13385
- },
13386
- setup(I) {
13387
- const C = {
13388
- exclusiveGateway: "✕",
13389
- parallelGateway: "+",
13390
- inclusiveGateway: "◎"
13391
- };
13392
- return (g, Z) => (c(), s("div", WH, [
13393
- H(y(eg), {
13394
- type: "target",
13395
- position: y(Kg).Top
13396
- }, null, 8, ["position"]),
13397
- b("div", BH, [
13398
- b("span", YH, V(C[I.data.bpmnType] || "◆"), 1)
13399
- ]),
13400
- b("div", wH, V(I.data.label), 1),
13401
- H(y(eg), {
13402
- type: "source",
13403
- position: y(Kg).Bottom
13404
- }, null, 8, ["position"])
13405
- ]));
13406
- }
13407
- }), VH = /* @__PURE__ */ j(oH, [["__scopeId", "data-v-3ff1b368"]]), aH = /* @__PURE__ */ t({
13408
- __name: "BpmnFlowPreviewCanvas",
13409
- props: {
13410
- nodes: {},
13411
- edges: {},
13412
- flowId: {}
13413
- },
13414
- emits: ["node-click", "fit-view"],
13415
- setup(I, { expose: C, emit: g }) {
13416
- const Z = I, A = g, l = Z.flowId ?? `apf-bpmn-preview-${Math.random().toString(36).slice(2, 8)}`, d = u(
13417
- () => Z.nodes.map((Y) => ({
13418
- id: Y.id,
13419
- type: Y.type,
13420
- position: Y.position,
13421
- data: Y.data,
13422
- draggable: !0
13423
- }))
13424
- ), m = u(
13425
- () => Z.edges.map((Y) => ({
13426
- id: Y.id,
13427
- source: Y.source,
13428
- target: Y.target,
13429
- label: Y.label,
13430
- type: "smoothstep",
13431
- animated: !0,
13432
- markerEnd: { type: ud.ArrowClosed },
13433
- style: { stroke: "var(--c-info, #4581e9)", strokeWidth: 1.5 }
13434
- }))
13435
- ), { onNodeClick: G, fitView: i } = Md({ id: l });
13436
- G(({ node: Y }) => {
13437
- A("node-click", Y.id, Y.data);
13438
- });
13439
- function B() {
13440
- i({ padding: 0.2 }), A("fit-view");
13441
- }
13442
- return bI(
13443
- () => [Z.nodes, Z.edges],
13444
- async () => {
13445
- await JI(), setTimeout(() => i({ padding: 0.2 }), 100);
13446
- },
13447
- { deep: !0 }
13448
- ), C({ fitView: B }), (Y, W) => (c(), F(y(ed), {
13449
- id: y(l),
13450
- nodes: d.value,
13451
- edges: m.value,
13452
- "nodes-draggable": !0,
13453
- "nodes-connectable": !1,
13454
- "edges-updatable": !1,
13455
- "elements-selectable": !0,
13456
- "default-viewport": { zoom: 0.8, x: 0, y: 0 },
13457
- "min-zoom": 0.2,
13458
- "max-zoom": 2,
13459
- "fit-view-on-init": "",
13460
- class: "apf-bpmn-canvas"
13461
- }, {
13462
- "node-start-event": J((N) => [
13463
- H(CH, Bg(Yg(N)), null, 16)
13464
- ]),
13465
- "node-end-event": J((N) => [
13466
- H(dH, Bg(Yg(N)), null, 16)
13467
- ]),
13468
- "node-task": J((N) => [
13469
- H(sH, Bg(Yg(N)), null, 16)
13470
- ]),
13471
- "node-gateway": J((N) => [
13472
- H(VH, Bg(Yg(N)), null, 16)
13473
- ]),
13474
- default: J(() => [
13475
- H(y(Kd), {
13476
- gap: 16,
13477
- size: 0.6,
13478
- color: "#e0e5ec"
13479
- }),
13480
- H(y(pd), { "show-interactive": !1 })
13481
- ]),
13482
- _: 1
13483
- }, 8, ["id", "nodes", "edges"]));
13484
- }
13485
- }), P5 = /* @__PURE__ */ j(aH, [["__scopeId", "data-v-41401ec3"]]), NH = {
13486
- startEvent: "start-event",
13487
- endEvent: "end-event",
13488
- userTask: "task",
13489
- serviceTask: "task",
13490
- scriptTask: "task",
13491
- sendTask: "task",
13492
- receiveTask: "task",
13493
- exclusiveGateway: "gateway",
13494
- parallelGateway: "gateway",
13495
- inclusiveGateway: "gateway"
13496
- };
13497
- function f5(I) {
13498
- return NH[I] ?? "task";
13499
- }
13500
- const XH = { class: "apf-model3d" }, hH = { class: "apf-model3d__header" }, RH = { class: "apf-model3d__badge" }, nH = { class: "apf-model3d__filename" }, HH = { class: "apf-model3d__body" }, yH = {
13319
+ }, r5 = /* @__PURE__ */ j(zn, [["__cssModules", _n]]), $n = { class: "apf-model3d" }, IH = { class: "apf-model3d__header" }, gH = { class: "apf-model3d__badge" }, CH = { class: "apf-model3d__filename" }, AH = { class: "apf-model3d__body" }, ZH = {
13501
13320
  key: 0,
13502
13321
  slot: "poster",
13503
13322
  class: "apf-model3d__hint"
13504
- }, uH = {
13323
+ }, lH = {
13505
13324
  key: 1,
13506
13325
  class: "apf-model3d__hint is-error"
13507
- }, MH = {
13326
+ }, dH = {
13508
13327
  key: 0,
13509
13328
  class: "apf-model3d__actions"
13510
- }, eH = ["href"], KH = /* @__PURE__ */ t({
13329
+ }, cH = ["href"], GH = /* @__PURE__ */ t({
13511
13330
  __name: "Model3dPreviewCard",
13512
13331
  props: {
13513
13332
  url: {},
@@ -13529,12 +13348,12 @@ const XH = { class: "apf-model3d" }, hH = { class: "apf-model3d__header" }, RH =
13529
13348
  }
13530
13349
  return (m, G) => {
13531
13350
  const i = O("model-viewer");
13532
- return c(), s("div", XH, [
13533
- b("div", hH, [
13534
- b("span", RH, V(A.value), 1),
13535
- b("span", nH, V(I.filename || "3D 模型"), 1)
13351
+ return c(), s("div", $n, [
13352
+ b("div", IH, [
13353
+ b("span", gH, V(A.value), 1),
13354
+ b("span", CH, V(I.filename || "3D 模型"), 1)
13536
13355
  ]),
13537
- b("div", HH, [
13356
+ b("div", AH, [
13538
13357
  H(i, {
13539
13358
  src: I.url,
13540
13359
  poster: I.poster,
@@ -13546,7 +13365,7 @@ const XH = { class: "apf-model3d" }, hH = { class: "apf-model3d__header" }, RH =
13546
13365
  onError: d
13547
13366
  }, {
13548
13367
  default: J(() => [
13549
- !g.value && !Z.value ? (c(), s("div", yH, [
13368
+ !g.value && !Z.value ? (c(), s("div", ZH, [
13550
13369
  H(y(v), {
13551
13370
  name: "loading",
13552
13371
  size: 24,
@@ -13554,7 +13373,7 @@ const XH = { class: "apf-model3d" }, hH = { class: "apf-model3d__header" }, RH =
13554
13373
  }),
13555
13374
  G[0] || (G[0] = b("span", null, "加载 3D 模型中...", -1))
13556
13375
  ])) : h("", !0),
13557
- Z.value ? (c(), s("div", uH, [
13376
+ Z.value ? (c(), s("div", lH, [
13558
13377
  H(y(v), {
13559
13378
  name: "warning-filled",
13560
13379
  size: 24
@@ -13565,7 +13384,7 @@ const XH = { class: "apf-model3d" }, hH = { class: "apf-model3d__header" }, RH =
13565
13384
  _: 1
13566
13385
  }, 8, ["src", "poster"])
13567
13386
  ]),
13568
- Z.value ? h("", !0) : (c(), s("div", MH, [
13387
+ Z.value ? h("", !0) : (c(), s("div", dH, [
13569
13388
  b("a", {
13570
13389
  class: "apf-model3d__download",
13571
13390
  href: I.url,
@@ -13576,33 +13395,33 @@ const XH = { class: "apf-model3d" }, hH = { class: "apf-model3d__header" }, RH =
13576
13395
  size: 14
13577
13396
  }),
13578
13397
  G[1] || (G[1] = E(" 下载 ", -1))
13579
- ], 8, eH)
13398
+ ], 8, cH)
13580
13399
  ]))
13581
13400
  ]);
13582
13401
  };
13583
13402
  }
13584
- }), q5 = /* @__PURE__ */ j(KH, [["__scopeId", "data-v-b562b8bd"]]), pH = { class: "apf-image-generate" }, SH = { class: "apf-image-generate__header" }, DH = { class: "apf-image-generate__title-row" }, FH = {
13403
+ }), P5 = /* @__PURE__ */ j(GH, [["__scopeId", "data-v-b562b8bd"]]), bH = { class: "apf-image-generate" }, mH = { class: "apf-image-generate__header" }, iH = { class: "apf-image-generate__title-row" }, sH = {
13585
13404
  key: 0,
13586
13405
  class: "apf-image-generate__model"
13587
- }, JH = {
13406
+ }, WH = {
13588
13407
  key: 0,
13589
13408
  class: "apf-image-generate__prompt"
13590
- }, zH = { class: "apf-image-generate__image-container" }, tH = {
13409
+ }, BH = { class: "apf-image-generate__image-container" }, YH = {
13591
13410
  key: 0,
13592
13411
  class: "apf-image-generate__overlay"
13593
- }, kH = {
13412
+ }, wH = {
13594
13413
  key: 1,
13595
13414
  class: "apf-image-generate__overlay apf-image-generate__overlay--error"
13596
- }, LH = ["src"], TH = { class: "apf-image-generate__zoom-hint" }, xH = {
13415
+ }, oH = ["src"], VH = { class: "apf-image-generate__zoom-hint" }, aH = {
13597
13416
  key: 3,
13598
13417
  class: "apf-image-generate__placeholder"
13599
- }, jH = {
13418
+ }, NH = {
13600
13419
  key: 1,
13601
13420
  class: "apf-image-generate__meta"
13602
- }, QH = { key: 0 }, UH = { key: 1 }, vH = { key: 2 }, OH = {
13421
+ }, XH = { key: 0 }, hH = { key: 1 }, RH = { key: 2 }, nH = {
13603
13422
  key: 2,
13604
13423
  class: "apf-image-generate__actions"
13605
- }, EH = /* @__PURE__ */ t({
13424
+ }, HH = /* @__PURE__ */ t({
13606
13425
  __name: "ImageGenerateCard",
13607
13426
  props: {
13608
13427
  imageUrl: {},
@@ -13636,9 +13455,9 @@ const XH = { class: "apf-model3d" }, hH = { class: "apf-model3d__header" }, RH =
13636
13455
  hd: "高清"
13637
13456
  };
13638
13457
  return (B, Y) => (c(), s(z, null, [
13639
- b("div", pH, [
13640
- b("div", SH, [
13641
- b("div", DH, [
13458
+ b("div", bH, [
13459
+ b("div", mH, [
13460
+ b("div", iH, [
13642
13461
  H(y(v), {
13643
13462
  name: "picture",
13644
13463
  size: 16,
@@ -13646,17 +13465,17 @@ const XH = { class: "apf-model3d" }, hH = { class: "apf-model3d__header" }, RH =
13646
13465
  }),
13647
13466
  Y[1] || (Y[1] = b("span", { class: "apf-image-generate__title" }, "AI 图片生成", -1))
13648
13467
  ]),
13649
- I.model ? (c(), s("div", FH, V(I.model), 1)) : h("", !0)
13468
+ I.model ? (c(), s("div", sH, V(I.model), 1)) : h("", !0)
13650
13469
  ]),
13651
- I.prompt ? (c(), s("div", JH, [
13470
+ I.prompt ? (c(), s("div", WH, [
13652
13471
  Y[2] || (Y[2] = b("span", { class: "apf-image-generate__prompt-label" }, "Prompt:", -1)),
13653
13472
  E(V(I.prompt), 1)
13654
13473
  ])) : h("", !0),
13655
- b("div", zH, [
13656
- I.loading ? (c(), s("div", tH, [...Y[3] || (Y[3] = [
13474
+ b("div", BH, [
13475
+ I.loading ? (c(), s("div", YH, [...Y[3] || (Y[3] = [
13657
13476
  b("div", { class: "apf-image-generate__spinner" }, null, -1),
13658
13477
  b("span", null, "正在生成图片...", -1)
13659
- ])])) : I.error ? (c(), s("div", kH, [
13478
+ ])])) : I.error ? (c(), s("div", wH, [
13660
13479
  H(y(v), {
13661
13480
  name: "warning",
13662
13481
  size: 24
@@ -13671,15 +13490,15 @@ const XH = { class: "apf-model3d" }, hH = { class: "apf-model3d__header" }, RH =
13671
13490
  src: I.imageUrl,
13672
13491
  class: "apf-image-generate__image",
13673
13492
  alt: "AI generated image"
13674
- }, null, 8, LH),
13675
- b("div", TH, [
13493
+ }, null, 8, oH),
13494
+ b("div", VH, [
13676
13495
  H(y(v), {
13677
13496
  name: "full-screen",
13678
13497
  size: 16
13679
13498
  }),
13680
13499
  Y[4] || (Y[4] = b("span", null, "点击放大", -1))
13681
13500
  ])
13682
- ])) : (c(), s("div", xH, [
13501
+ ])) : (c(), s("div", aH, [
13683
13502
  H(y(v), {
13684
13503
  name: "picture",
13685
13504
  size: 32
@@ -13687,22 +13506,22 @@ const XH = { class: "apf-model3d" }, hH = { class: "apf-model3d__header" }, RH =
13687
13506
  Y[5] || (Y[5] = b("span", null, "等待生成", -1))
13688
13507
  ]))
13689
13508
  ]),
13690
- I.size || I.imageStyle || I.quality ? (c(), s("div", jH, [
13691
- I.size ? (c(), s("span", QH, [
13509
+ I.size || I.imageStyle || I.quality ? (c(), s("div", NH, [
13510
+ I.size ? (c(), s("span", XH, [
13692
13511
  H(y(v), {
13693
13512
  name: "full-screen",
13694
13513
  size: 12
13695
13514
  }),
13696
13515
  E(" " + V(I.size), 1)
13697
13516
  ])) : h("", !0),
13698
- I.imageStyle ? (c(), s("span", UH, [
13517
+ I.imageStyle ? (c(), s("span", hH, [
13699
13518
  H(y(v), {
13700
13519
  name: "brush",
13701
13520
  size: 12
13702
13521
  }),
13703
13522
  E(" " + V(G[I.imageStyle] ?? I.imageStyle), 1)
13704
13523
  ])) : h("", !0),
13705
- I.quality ? (c(), s("span", vH, [
13524
+ I.quality ? (c(), s("span", RH, [
13706
13525
  H(y(v), {
13707
13526
  name: "picture",
13708
13527
  size: 12
@@ -13710,7 +13529,7 @@ const XH = { class: "apf-model3d" }, hH = { class: "apf-model3d__header" }, RH =
13710
13529
  E(" " + V(i[I.quality] ?? I.quality), 1)
13711
13530
  ])) : h("", !0)
13712
13531
  ])) : h("", !0),
13713
- !I.loading && I.imageUrl ? (c(), s("div", OH, [
13532
+ !I.loading && I.imageUrl ? (c(), s("div", nH, [
13714
13533
  b("button", {
13715
13534
  type: "button",
13716
13535
  class: "apf-image-generate__btn apf-image-generate__btn--primary",
@@ -13745,7 +13564,7 @@ const XH = { class: "apf-model3d" }, hH = { class: "apf-model3d__header" }, RH =
13745
13564
  }, null, 8, ["url-list"])) : h("", !0)
13746
13565
  ], 64));
13747
13566
  }
13748
- }), _5 = /* @__PURE__ */ j(EH, [["__scopeId", "data-v-7f771b7c"]]), rH = /* @__PURE__ */ t({
13567
+ }), f5 = /* @__PURE__ */ j(HH, [["__scopeId", "data-v-7f771b7c"]]), yH = /* @__PURE__ */ t({
13749
13568
  __name: "SchemaFormPreview",
13750
13569
  props: {
13751
13570
  fields: {},
@@ -14010,25 +13829,25 @@ const XH = { class: "apf-model3d" }, hH = { class: "apf-model3d__header" }, RH =
14010
13829
  ], 2);
14011
13830
  };
14012
13831
  }
14013
- }), PH = "_previewCard_18hnt_2", fH = "_compact_18hnt_16", qH = "_header_18hnt_21", _H = "_headerLeft_18hnt_30", $H = "_headerIcon_18hnt_36", Iy = "_title_18hnt_47", gy = "_headerRight_18hnt_53", Cy = "_badge_18hnt_59", Ay = "_viewHint_18hnt_67", Zy = "_previewBody_18hnt_79", ly = "_form_18hnt_83", dy = "_formItem_18hnt_87", cy = "_actions_18hnt_95", Gy = "_btnOutline_18hnt_105", by = "_btnPrimary_18hnt_127", my = {
14014
- previewCard: PH,
14015
- compact: fH,
14016
- header: qH,
14017
- headerLeft: _H,
14018
- headerIcon: $H,
14019
- title: Iy,
14020
- headerRight: gy,
14021
- badge: Cy,
14022
- viewHint: Ay,
14023
- previewBody: Zy,
14024
- form: ly,
14025
- formItem: dy,
14026
- actions: cy,
14027
- btnOutline: Gy,
14028
- btnPrimary: by
14029
- }, iy = {
14030
- $style: my
14031
- }, $5 = /* @__PURE__ */ j(rH, [["__cssModules", iy]]), sy = /* @__PURE__ */ t({
13832
+ }), uH = "_previewCard_18hnt_2", MH = "_compact_18hnt_16", eH = "_header_18hnt_21", KH = "_headerLeft_18hnt_30", pH = "_headerIcon_18hnt_36", SH = "_title_18hnt_47", DH = "_headerRight_18hnt_53", FH = "_badge_18hnt_59", JH = "_viewHint_18hnt_67", zH = "_previewBody_18hnt_79", tH = "_form_18hnt_83", kH = "_formItem_18hnt_87", LH = "_actions_18hnt_95", TH = "_btnOutline_18hnt_105", xH = "_btnPrimary_18hnt_127", jH = {
13833
+ previewCard: uH,
13834
+ compact: MH,
13835
+ header: eH,
13836
+ headerLeft: KH,
13837
+ headerIcon: pH,
13838
+ title: SH,
13839
+ headerRight: DH,
13840
+ badge: FH,
13841
+ viewHint: JH,
13842
+ previewBody: zH,
13843
+ form: tH,
13844
+ formItem: kH,
13845
+ actions: LH,
13846
+ btnOutline: TH,
13847
+ btnPrimary: xH
13848
+ }, QH = {
13849
+ $style: jH
13850
+ }, q5 = /* @__PURE__ */ j(yH, [["__cssModules", QH]]), UH = /* @__PURE__ */ t({
14032
13851
  __name: "WorkflowRunTimeline",
14033
13852
  props: {
14034
13853
  title: {},
@@ -14140,36 +13959,36 @@ const XH = { class: "apf-model3d" }, hH = { class: "apf-model3d__header" }, RH =
14140
13959
  ], 2))
14141
13960
  ], 2));
14142
13961
  }
14143
- }), Wy = "_block_2l73c_2", By = "_statusRunning_2l73c_10", Yy = "_statusError_2l73c_14", wy = "_statusWaiting_2l73c_18", oy = "_header_2l73c_22", Vy = "_headerLeft_2l73c_39", ay = "_chevron_2l73c_46", Ny = "_title_2l73c_51", Xy = "_progress_2l73c_60", hy = "_timeline_2l73c_66", Ry = "_item_2l73c_70", ny = "_itemRunning_2l73c_76", Hy = "_nodeName_2l73c_76", yy = "_itemStreaming_2l73c_81", uy = "_iconWrap_2l73c_81", My = "_rail_2l73c_85", ey = "_iconSuccess_2l73c_104", Ky = "_iconError_2l73c_109", py = "_iconRunning_2l73c_114", Sy = "_iconWaiting_2l73c_119", Dy = "_iconSkipped_2l73c_124", Fy = "_spin_2l73c_129", Jy = "_connector_2l73c_138", zy = "_body_2l73c_146", ty = "_nodeHint_2l73c_160", ky = "_empty_2l73c_166", Ly = {
14144
- block: Wy,
14145
- statusRunning: By,
14146
- statusError: Yy,
14147
- statusWaiting: wy,
14148
- header: oy,
14149
- headerLeft: Vy,
14150
- chevron: ay,
14151
- title: Ny,
14152
- progress: Xy,
14153
- timeline: hy,
14154
- item: Ry,
14155
- itemRunning: ny,
14156
- nodeName: Hy,
14157
- itemStreaming: yy,
14158
- iconWrap: uy,
14159
- rail: My,
14160
- iconSuccess: ey,
14161
- iconError: Ky,
14162
- iconRunning: py,
14163
- iconWaiting: Sy,
14164
- iconSkipped: Dy,
14165
- spin: Fy,
14166
- connector: Jy,
14167
- body: zy,
14168
- nodeHint: ty,
14169
- empty: ky
14170
- }, Ty = {
14171
- $style: Ly
14172
- }, I9 = /* @__PURE__ */ j(sy, [["__cssModules", Ty]]), xy = ["tabindex", "aria-label"], jy = /* @__PURE__ */ t({
13962
+ }), vH = "_block_2l73c_2", OH = "_statusRunning_2l73c_10", EH = "_statusError_2l73c_14", rH = "_statusWaiting_2l73c_18", PH = "_header_2l73c_22", fH = "_headerLeft_2l73c_39", qH = "_chevron_2l73c_46", _H = "_title_2l73c_51", $H = "_progress_2l73c_60", Iy = "_timeline_2l73c_66", gy = "_item_2l73c_70", Cy = "_itemRunning_2l73c_76", Ay = "_nodeName_2l73c_76", Zy = "_itemStreaming_2l73c_81", ly = "_iconWrap_2l73c_81", dy = "_rail_2l73c_85", cy = "_iconSuccess_2l73c_104", Gy = "_iconError_2l73c_109", by = "_iconRunning_2l73c_114", my = "_iconWaiting_2l73c_119", iy = "_iconSkipped_2l73c_124", sy = "_spin_2l73c_129", Wy = "_connector_2l73c_138", By = "_body_2l73c_146", Yy = "_nodeHint_2l73c_160", wy = "_empty_2l73c_166", oy = {
13963
+ block: vH,
13964
+ statusRunning: OH,
13965
+ statusError: EH,
13966
+ statusWaiting: rH,
13967
+ header: PH,
13968
+ headerLeft: fH,
13969
+ chevron: qH,
13970
+ title: _H,
13971
+ progress: $H,
13972
+ timeline: Iy,
13973
+ item: gy,
13974
+ itemRunning: Cy,
13975
+ nodeName: Ay,
13976
+ itemStreaming: Zy,
13977
+ iconWrap: ly,
13978
+ rail: dy,
13979
+ iconSuccess: cy,
13980
+ iconError: Gy,
13981
+ iconRunning: by,
13982
+ iconWaiting: my,
13983
+ iconSkipped: iy,
13984
+ spin: sy,
13985
+ connector: Wy,
13986
+ body: By,
13987
+ nodeHint: Yy,
13988
+ empty: wy
13989
+ }, Vy = {
13990
+ $style: oy
13991
+ }, _5 = /* @__PURE__ */ j(UH, [["__cssModules", Vy]]), ay = ["tabindex", "aria-label"], Ny = /* @__PURE__ */ t({
14173
13992
  __name: "SuggestionCard",
14174
13993
  props: {
14175
13994
  suggestion: {},
@@ -14295,27 +14114,27 @@ const XH = { class: "apf-model3d" }, hH = { class: "apf-model3d__header" }, RH =
14295
14114
  }),
14296
14115
  N[3] || (N[3] = E(" 已忽略 ", -1))
14297
14116
  ], 2)) : h("", !0)
14298
- ], 42, xy));
14299
- }
14300
- }), Qy = "_card_69ko9_2", Uy = "_accepted_69ko9_21", vy = "_dismissed_69ko9_31", Oy = "_header_69ko9_36", Ey = "_typeBadge_69ko9_43", ry = "_priorityBadge_69ko9_51", Py = "_body_69ko9_58", fy = "_title_69ko9_62", qy = "_description_69ko9_69", _y = "_target_69ko9_75", $y = "_actions_69ko9_84", Iu = "_acceptBtn_69ko9_91", gu = "_dismissBtn_69ko9_92", Cu = "_statusBadge_69ko9_132", Au = "_statusDismissed_69ko9_144", Zu = {
14301
- card: Qy,
14302
- accepted: Uy,
14303
- dismissed: vy,
14304
- header: Oy,
14305
- typeBadge: Ey,
14306
- priorityBadge: ry,
14307
- body: Py,
14308
- title: fy,
14309
- description: qy,
14310
- target: _y,
14311
- actions: $y,
14312
- acceptBtn: Iu,
14313
- dismissBtn: gu,
14314
- statusBadge: Cu,
14315
- statusDismissed: Au
14316
- }, lu = {
14317
- $style: Zu
14318
- }, g9 = /* @__PURE__ */ j(jy, [["__cssModules", lu]]), du = ["onClick"], cu = /* @__PURE__ */ t({
14117
+ ], 42, ay));
14118
+ }
14119
+ }), Xy = "_card_69ko9_2", hy = "_accepted_69ko9_21", Ry = "_dismissed_69ko9_31", ny = "_header_69ko9_36", Hy = "_typeBadge_69ko9_43", yy = "_priorityBadge_69ko9_51", uy = "_body_69ko9_58", My = "_title_69ko9_62", ey = "_description_69ko9_69", Ky = "_target_69ko9_75", py = "_actions_69ko9_84", Sy = "_acceptBtn_69ko9_91", Dy = "_dismissBtn_69ko9_92", Fy = "_statusBadge_69ko9_132", Jy = "_statusDismissed_69ko9_144", zy = {
14120
+ card: Xy,
14121
+ accepted: hy,
14122
+ dismissed: Ry,
14123
+ header: ny,
14124
+ typeBadge: Hy,
14125
+ priorityBadge: yy,
14126
+ body: uy,
14127
+ title: My,
14128
+ description: ey,
14129
+ target: Ky,
14130
+ actions: py,
14131
+ acceptBtn: Sy,
14132
+ dismissBtn: Dy,
14133
+ statusBadge: Fy,
14134
+ statusDismissed: Jy
14135
+ }, ty = {
14136
+ $style: zy
14137
+ }, $5 = /* @__PURE__ */ j(Ny, [["__cssModules", ty]]), ky = ["onClick"], Ly = /* @__PURE__ */ t({
14319
14138
  __name: "ConversationSearchBar",
14320
14139
  props: {
14321
14140
  modelValue: {},
@@ -14508,7 +14327,7 @@ const XH = { class: "apf-model3d" }, hH = { class: "apf-model3d__header" }, RH =
14508
14327
  key: 0,
14509
14328
  class: w(o.$style.resultTime)
14510
14329
  }, V(m(K.updatedAt)), 3)) : h("", !0)
14511
- ], 10, du))), 128))
14330
+ ], 10, ky))), 128))
14512
14331
  ], 64)) : (c(), s("div", {
14513
14332
  key: 2,
14514
14333
  class: w(o.$style.empty)
@@ -14517,25 +14336,25 @@ const XH = { class: "apf-model3d" }, hH = { class: "apf-model3d__header" }, RH =
14517
14336
  ], 2);
14518
14337
  };
14519
14338
  }
14520
- }), Gu = "_root_x8tmk_2", bu = "_searchRow_x8tmk_8", mu = "_filterPanel_x8tmk_16", iu = "_filterRow_x8tmk_22", su = "_filterLabel_x8tmk_28", Wu = "_filterSep_x8tmk_35", Bu = "_results_x8tmk_40", Yu = "_resultCount_x8tmk_46", wu = "_resultItem_x8tmk_53", ou = "_resultTitle_x8tmk_71", Vu = "_resultTime_x8tmk_82", au = "_empty_x8tmk_88", Nu = {
14521
- root: Gu,
14522
- searchRow: bu,
14523
- filterPanel: mu,
14524
- filterRow: iu,
14525
- filterLabel: su,
14526
- filterSep: Wu,
14527
- results: Bu,
14528
- resultCount: Yu,
14529
- resultItem: wu,
14530
- resultTitle: ou,
14531
- resultTime: Vu,
14532
- empty: au
14533
- }, Xu = {
14534
- $style: Nu
14535
- }, C9 = /* @__PURE__ */ j(cu, [["__cssModules", Xu]]), hu = { class: "apf-task-chain" }, Ru = { class: "apf-task-chain__label" }, nu = { class: "apf-task-chain__steps" }, Hu = ["data-step"], yu = { class: "apf-task-chain__icon" }, uu = { class: "apf-task-chain__agent" }, Mu = { class: "apf-task-chain__desc" }, eu = {
14339
+ }), Ty = "_root_x8tmk_2", xy = "_searchRow_x8tmk_8", jy = "_filterPanel_x8tmk_16", Qy = "_filterRow_x8tmk_22", Uy = "_filterLabel_x8tmk_28", vy = "_filterSep_x8tmk_35", Oy = "_results_x8tmk_40", Ey = "_resultCount_x8tmk_46", ry = "_resultItem_x8tmk_53", Py = "_resultTitle_x8tmk_71", fy = "_resultTime_x8tmk_82", qy = "_empty_x8tmk_88", _y = {
14340
+ root: Ty,
14341
+ searchRow: xy,
14342
+ filterPanel: jy,
14343
+ filterRow: Qy,
14344
+ filterLabel: Uy,
14345
+ filterSep: vy,
14346
+ results: Oy,
14347
+ resultCount: Ey,
14348
+ resultItem: ry,
14349
+ resultTitle: Py,
14350
+ resultTime: fy,
14351
+ empty: qy
14352
+ }, $y = {
14353
+ $style: _y
14354
+ }, I9 = /* @__PURE__ */ j(Ly, [["__cssModules", $y]]), Iu = { class: "apf-task-chain" }, gu = { class: "apf-task-chain__label" }, Cu = { class: "apf-task-chain__steps" }, Au = ["data-step"], Zu = { class: "apf-task-chain__icon" }, lu = { class: "apf-task-chain__agent" }, du = { class: "apf-task-chain__desc" }, cu = {
14536
14355
  key: 0,
14537
14356
  class: "apf-task-chain__arrow"
14538
- }, Ku = /* @__PURE__ */ t({
14357
+ }, Gu = /* @__PURE__ */ t({
14539
14358
  __name: "TaskChainBar",
14540
14359
  props: {
14541
14360
  steps: {},
@@ -14571,14 +14390,14 @@ const XH = { class: "apf-model3d" }, hH = { class: "apf-model3d__header" }, RH =
14571
14390
  m && m.scrollIntoView({ behavior: "smooth", block: "nearest", inline: "center" });
14572
14391
  });
14573
14392
  }
14574
- ), (l, d) => (c(), s("div", hu, [
14575
- b("div", Ru, V(I.label), 1),
14393
+ ), (l, d) => (c(), s("div", Iu, [
14394
+ b("div", gu, V(I.label), 1),
14576
14395
  b("div", {
14577
14396
  ref_key: "scrollbarRef",
14578
14397
  ref: g,
14579
14398
  class: "apf-task-chain__scroll"
14580
14399
  }, [
14581
- b("div", nu, [
14400
+ b("div", Cu, [
14582
14401
  (c(!0), s(z, null, f(I.steps, (m, G) => (c(), s(z, { key: G }, [
14583
14402
  b("div", {
14584
14403
  "data-step": G,
@@ -14587,39 +14406,39 @@ const XH = { class: "apf-model3d" }, hH = { class: "apf-model3d__header" }, RH =
14587
14406
  { "is-current": G === I.currentIndex }
14588
14407
  ]])
14589
14408
  }, [
14590
- b("span", yu, V(Z(m.status)), 1),
14591
- b("span", uu, V(A(m.agent)), 1),
14592
- b("span", Mu, V(m.description), 1)
14593
- ], 10, Hu),
14594
- G < I.steps.length - 1 ? (c(), s("div", eu, "→")) : h("", !0)
14409
+ b("span", Zu, V(Z(m.status)), 1),
14410
+ b("span", lu, V(A(m.agent)), 1),
14411
+ b("span", du, V(m.description), 1)
14412
+ ], 10, Au),
14413
+ G < I.steps.length - 1 ? (c(), s("div", cu, "→")) : h("", !0)
14595
14414
  ], 64))), 128))
14596
14415
  ])
14597
14416
  ], 512)
14598
14417
  ]));
14599
14418
  }
14600
- }), A9 = /* @__PURE__ */ j(Ku, [["__scopeId", "data-v-31bc7b98"]]), pu = { class: "apf-rag-panel" }, Su = { class: "apf-rag-panel__header" }, Du = ["value", "placeholder"], Fu = {
14419
+ }), g9 = /* @__PURE__ */ j(Gu, [["__scopeId", "data-v-31bc7b98"]]), bu = { class: "apf-rag-panel" }, mu = { class: "apf-rag-panel__header" }, iu = ["value", "placeholder"], su = {
14601
14420
  key: 0,
14602
14421
  class: "apf-rag-panel__spinner",
14603
14422
  "aria-label": "加载中"
14604
- }, Ju = {
14423
+ }, Wu = {
14605
14424
  key: 0,
14606
14425
  class: "apf-rag-panel__chips"
14607
- }, zu = { class: "apf-rag-panel__chip-name" }, tu = ["onClick"], ku = { class: "apf-rag-panel__list" }, Lu = ["onClick"], Tu = { class: "apf-rag-panel__info" }, xu = { class: "apf-rag-panel__name" }, ju = {
14426
+ }, Bu = { class: "apf-rag-panel__chip-name" }, Yu = ["onClick"], wu = { class: "apf-rag-panel__list" }, ou = ["onClick"], Vu = { class: "apf-rag-panel__info" }, au = { class: "apf-rag-panel__name" }, Nu = {
14608
14427
  key: 0,
14609
14428
  class: "apf-rag-panel__desc"
14610
- }, Qu = {
14429
+ }, Xu = {
14611
14430
  key: 1,
14612
14431
  class: "apf-rag-panel__tags"
14613
- }, Uu = {
14432
+ }, hu = {
14614
14433
  key: 0,
14615
14434
  class: "apf-rag-panel__tag"
14616
- }, vu = {
14435
+ }, Ru = {
14617
14436
  key: 1,
14618
14437
  class: "apf-rag-panel__empty"
14619
- }, Ou = {
14438
+ }, nu = {
14620
14439
  key: 2,
14621
14440
  class: "apf-rag-panel__empty"
14622
- }, Eu = { class: "apf-rag-panel__footer" }, ru = /* @__PURE__ */ t({
14441
+ }, Hu = { class: "apf-rag-panel__footer" }, yu = /* @__PURE__ */ t({
14623
14442
  __name: "RagContextPanel",
14624
14443
  props: {
14625
14444
  results: {},
@@ -14654,8 +14473,8 @@ const XH = { class: "apf-model3d" }, hH = { class: "apf-model3d__header" }, RH =
14654
14473
  return B >= 70 ? "high" : B >= 40 ? "medium" : "low";
14655
14474
  }
14656
14475
  const i = u(() => g.selected.length > 0 ? g.selectedFooterHint.replace("{n}", String(g.selected.length)) : g.footerHint);
14657
- return (B, Y) => (c(), s("div", pu, [
14658
- b("div", Su, [
14476
+ return (B, Y) => (c(), s("div", bu, [
14477
+ b("div", mu, [
14659
14478
  Y[2] || (Y[2] = b("svg", {
14660
14479
  class: "apf-rag-panel__icon",
14661
14480
  width: "14",
@@ -14683,24 +14502,24 @@ const XH = { class: "apf-model3d" }, hH = { class: "apf-model3d__header" }, RH =
14683
14502
  value: A.value,
14684
14503
  placeholder: I.placeholder,
14685
14504
  onInput: Y[0] || (Y[0] = (W) => l(W.target.value))
14686
- }, null, 40, Du),
14687
- I.loading ? (c(), s("span", Fu)) : h("", !0)
14505
+ }, null, 40, iu),
14506
+ I.loading ? (c(), s("span", su)) : h("", !0)
14688
14507
  ]),
14689
- I.selected.length > 0 ? (c(), s("div", Ju, [
14508
+ I.selected.length > 0 ? (c(), s("div", Wu, [
14690
14509
  (c(!0), s(z, null, f(I.selected, (W) => (c(), s("span", {
14691
14510
  key: W.id,
14692
14511
  class: "apf-rag-panel__chip"
14693
14512
  }, [
14694
- b("span", zu, V(W.name), 1),
14513
+ b("span", Bu, V(W.name), 1),
14695
14514
  b("button", {
14696
14515
  type: "button",
14697
14516
  class: "apf-rag-panel__chip-remove",
14698
14517
  title: "移除",
14699
14518
  onClick: (N) => Z("remove", W.id)
14700
- }, " × ", 8, tu)
14519
+ }, " × ", 8, Yu)
14701
14520
  ]))), 128))
14702
14521
  ])) : h("", !0),
14703
- b("div", ku, [
14522
+ b("div", wu, [
14704
14523
  I.results.length > 0 ? (c(!0), s(z, { key: 0 }, f(I.results, (W) => {
14705
14524
  var N;
14706
14525
  return c(), s("button", {
@@ -14712,27 +14531,27 @@ const XH = { class: "apf-model3d" }, hH = { class: "apf-model3d__header" }, RH =
14712
14531
  b("div", {
14713
14532
  class: w(["apf-rag-panel__score", `is-${G(W.score)}`])
14714
14533
  }, V(W.score), 3),
14715
- b("div", Tu, [
14716
- b("div", xu, V(W.name), 1),
14717
- W.description ? (c(), s("div", ju, V(W.description), 1)) : h("", !0),
14718
- (N = W.tags) != null && N.length ? (c(), s("div", Qu, [
14534
+ b("div", Vu, [
14535
+ b("div", au, V(W.name), 1),
14536
+ W.description ? (c(), s("div", Nu, V(W.description), 1)) : h("", !0),
14537
+ (N = W.tags) != null && N.length ? (c(), s("div", Xu, [
14719
14538
  (c(!0), s(z, null, f(W.tags.slice(0, 5), (o) => (c(), s("span", {
14720
14539
  key: o,
14721
14540
  class: "apf-rag-panel__tag"
14722
14541
  }, V(o), 1))), 128)),
14723
- W.tags.length > 5 ? (c(), s("span", Uu, " +" + V(W.tags.length - 5), 1)) : h("", !0)
14542
+ W.tags.length > 5 ? (c(), s("span", hu, " +" + V(W.tags.length - 5), 1)) : h("", !0)
14724
14543
  ])) : h("", !0)
14725
14544
  ])
14726
- ], 10, Lu);
14727
- }), 128)) : !I.loading && A.value.trim() ? (c(), s("div", vu, [
14545
+ ], 10, ou);
14546
+ }), 128)) : !I.loading && A.value.trim() ? (c(), s("div", Ru, [
14728
14547
  Y[3] || (Y[3] = b("div", { class: "apf-rag-panel__empty-icon" }, "⌕", -1)),
14729
14548
  b("div", null, V(I.emptyHint), 1)
14730
- ])) : I.loading ? h("", !0) : (c(), s("div", Ou, [
14549
+ ])) : I.loading ? h("", !0) : (c(), s("div", nu, [
14731
14550
  Y[4] || (Y[4] = b("div", { class: "apf-rag-panel__empty-icon" }, "✦", -1)),
14732
14551
  b("div", null, V(I.idleHint), 1)
14733
14552
  ]))
14734
14553
  ]),
14735
- b("div", Eu, [
14554
+ b("div", Hu, [
14736
14555
  b("span", null, V(i.value), 1),
14737
14556
  b("button", {
14738
14557
  type: "button",
@@ -14742,16 +14561,16 @@ const XH = { class: "apf-model3d" }, hH = { class: "apf-model3d__header" }, RH =
14742
14561
  ])
14743
14562
  ]));
14744
14563
  }
14745
- }), Z9 = /* @__PURE__ */ j(ru, [["__scopeId", "data-v-c6864f2d"]]), Pu = { class: "apf-assistant-picker" }, fu = {
14564
+ }), C9 = /* @__PURE__ */ j(yu, [["__scopeId", "data-v-c6864f2d"]]), uu = { class: "apf-assistant-picker" }, Mu = {
14746
14565
  key: 0,
14747
14566
  class: "apf-assistant-picker__state"
14748
- }, qu = {
14567
+ }, eu = {
14749
14568
  key: 1,
14750
14569
  class: "apf-assistant-picker__state apf-assistant-picker__state--error"
14751
- }, _u = {
14570
+ }, Ku = {
14752
14571
  key: 2,
14753
14572
  class: "apf-assistant-picker__state"
14754
- }, $u = ["onClick"], IM = { class: "apf-assistant-picker__main" }, gM = { class: "apf-assistant-picker__icon-wrap" }, CM = { class: "apf-assistant-picker__info" }, AM = { class: "apf-assistant-picker__caps" }, ZM = /* @__PURE__ */ t({
14573
+ }, pu = ["onClick"], Su = { class: "apf-assistant-picker__main" }, Du = { class: "apf-assistant-picker__icon-wrap" }, Fu = { class: "apf-assistant-picker__info" }, Ju = { class: "apf-assistant-picker__caps" }, zu = /* @__PURE__ */ t({
14755
14574
  __name: "AssistantPicker",
14756
14575
  props: {
14757
14576
  items: {},
@@ -14774,12 +14593,12 @@ const XH = { class: "apf-model3d" }, hH = { class: "apf-model3d__header" }, RH =
14774
14593
  Z("update:modelValue", G.id), Z("select", G);
14775
14594
  }
14776
14595
  const m = u(() => !g.loading && !g.error && !g.items.length);
14777
- return (G, i) => (c(), s("div", Pu, [
14778
- I.loading ? (c(), s("div", fu, [...i[0] || (i[0] = [
14596
+ return (G, i) => (c(), s("div", uu, [
14597
+ I.loading ? (c(), s("div", Mu, [...i[0] || (i[0] = [
14779
14598
  b("p", null, "正在加载智能体…", -1)
14780
- ])])) : I.error ? (c(), s("div", qu, [
14599
+ ])])) : I.error ? (c(), s("div", eu, [
14781
14600
  b("p", null, V(I.error), 1)
14782
- ])) : m.value ? (c(), s("div", _u, [...i[1] || (i[1] = [
14601
+ ])) : m.value ? (c(), s("div", Ku, [...i[1] || (i[1] = [
14783
14602
  b("p", null, "暂无可用智能体", -1)
14784
14603
  ])])) : h("", !0),
14785
14604
  (c(!0), s(z, null, f(I.items, (B) => (c(), s("button", {
@@ -14788,17 +14607,17 @@ const XH = { class: "apf-model3d" }, hH = { class: "apf-model3d__header" }, RH =
14788
14607
  class: w(["apf-assistant-picker__item", { "is-active": I.modelValue === B.id }]),
14789
14608
  onClick: (Y) => d(B)
14790
14609
  }, [
14791
- b("div", IM, [
14792
- b("span", gM, [
14610
+ b("div", Su, [
14611
+ b("span", Du, [
14793
14612
  H(y(v), {
14794
14613
  name: l(B),
14795
14614
  size: 22
14796
14615
  }, null, 8, ["name"])
14797
14616
  ]),
14798
- b("span", CM, [
14617
+ b("span", Fu, [
14799
14618
  b("b", null, V(B.name), 1),
14800
14619
  b("small", null, V(B.description || "适合处理一类明确任务"), 1),
14801
- b("span", AM, [
14620
+ b("span", Ju, [
14802
14621
  (c(!0), s(z, null, f(A(B), (Y) => (c(), s("span", {
14803
14622
  key: Y,
14804
14623
  class: w(["apf-assistant-picker__cap", { "is-confirm": Y === "需要确认" }])
@@ -14809,10 +14628,10 @@ const XH = { class: "apf-model3d" }, hH = { class: "apf-model3d__header" }, RH =
14809
14628
  b("span", {
14810
14629
  class: w(["apf-assistant-picker__choose", { "is-selected": I.modelValue === B.id }])
14811
14630
  }, V(I.modelValue === B.id ? "已选择" : "开始使用"), 3)
14812
- ], 10, $u))), 128))
14631
+ ], 10, pu))), 128))
14813
14632
  ]));
14814
14633
  }
14815
- }), l9 = /* @__PURE__ */ j(ZM, [["__scopeId", "data-v-f05e69c0"]]), lM = { class: "apf-model-picker" }, dM = /* @__PURE__ */ t({
14634
+ }), A9 = /* @__PURE__ */ j(zu, [["__scopeId", "data-v-f05e69c0"]]), tu = { class: "apf-model-picker" }, ku = /* @__PURE__ */ t({
14816
14635
  __name: "ModelPicker",
14817
14636
  props: {
14818
14637
  models: {},
@@ -14824,7 +14643,7 @@ const XH = { class: "apf-model3d" }, hH = { class: "apf-model3d__header" }, RH =
14824
14643
  const g = C;
14825
14644
  return (Z, A) => {
14826
14645
  const l = O("el-option"), d = O("el-select");
14827
- return c(), s("label", lM, [
14646
+ return c(), s("label", tu, [
14828
14647
  H(d, {
14829
14648
  "model-value": I.modelValue || void 0,
14830
14649
  disabled: I.loading || !I.models.length,
@@ -14854,11 +14673,247 @@ const XH = { class: "apf-model3d" }, hH = { class: "apf-model3d__header" }, RH =
14854
14673
  ]);
14855
14674
  };
14856
14675
  }
14857
- }), d9 = /* @__PURE__ */ j(dM, [["__scopeId", "data-v-483ae73d"]]), Ul = Symbol("fg-toast");
14676
+ }), Z9 = /* @__PURE__ */ j(ku, [["__scopeId", "data-v-483ae73d"]]);
14677
+ function l9(I) {
14678
+ const {
14679
+ containerRef: C,
14680
+ autoScroll: g = !0,
14681
+ behavior: Z = "smooth",
14682
+ offset: A = 50
14683
+ } = I, l = k(!0), d = k(g);
14684
+ function m() {
14685
+ const N = C.value;
14686
+ if (!N) return !0;
14687
+ const { scrollTop: o, scrollHeight: R, clientHeight: X } = N;
14688
+ return R - o - X < A;
14689
+ }
14690
+ async function G(N = !0) {
14691
+ if (!N && !d.value) return;
14692
+ await JI();
14693
+ const o = C.value;
14694
+ o && o.scrollTo({
14695
+ top: o.scrollHeight,
14696
+ behavior: Z
14697
+ });
14698
+ }
14699
+ function i(N) {
14700
+ const o = C.value;
14701
+ o && o.scrollTo({
14702
+ top: N,
14703
+ behavior: Z
14704
+ });
14705
+ }
14706
+ function B() {
14707
+ d.value = !0;
14708
+ }
14709
+ function Y() {
14710
+ d.value = !1;
14711
+ }
14712
+ function W() {
14713
+ l.value = m(), l.value && (d.value = !0);
14714
+ }
14715
+ return lg(() => {
14716
+ const N = C.value;
14717
+ N && (N.addEventListener("scroll", W), l.value = m());
14718
+ }), dg(() => {
14719
+ const N = C.value;
14720
+ N && N.removeEventListener("scroll", W);
14721
+ }), {
14722
+ scrollToBottom: G,
14723
+ scrollTo: i,
14724
+ isAtBottom: l,
14725
+ autoScrollEnabled: d,
14726
+ checkIfAtBottom: m,
14727
+ enableAutoScroll: B,
14728
+ disableAutoScroll: Y
14729
+ };
14730
+ }
14731
+ const Lu = { class: "apf-bpmn-node" }, Tu = { class: "apf-bpmn-node__label" }, xu = /* @__PURE__ */ t({
14732
+ __name: "PreviewStartEvent",
14733
+ props: {
14734
+ data: {}
14735
+ },
14736
+ setup(I) {
14737
+ return (C, g) => (c(), s("div", Lu, [
14738
+ g[0] || (g[0] = b("div", { class: "apf-bpmn-start" }, [
14739
+ b("div", { class: "apf-bpmn-start__inner" })
14740
+ ], -1)),
14741
+ b("div", Tu, V(I.data.label), 1),
14742
+ H(y(eg), {
14743
+ type: "source",
14744
+ position: y(Kg).Bottom
14745
+ }, null, 8, ["position"])
14746
+ ]));
14747
+ }
14748
+ }), ju = /* @__PURE__ */ j(xu, [["__scopeId", "data-v-06a5d706"]]), Qu = { class: "apf-bpmn-node" }, Uu = { class: "apf-bpmn-node__label" }, vu = /* @__PURE__ */ t({
14749
+ __name: "PreviewEndEvent",
14750
+ props: {
14751
+ data: {}
14752
+ },
14753
+ setup(I) {
14754
+ return (C, g) => (c(), s("div", Qu, [
14755
+ H(y(eg), {
14756
+ type: "target",
14757
+ position: y(Kg).Top
14758
+ }, null, 8, ["position"]),
14759
+ g[0] || (g[0] = b("div", { class: "apf-bpmn-end" }, [
14760
+ b("div", { class: "apf-bpmn-end__inner" })
14761
+ ], -1)),
14762
+ b("div", Uu, V(I.data.label), 1)
14763
+ ]));
14764
+ }
14765
+ }), Ou = /* @__PURE__ */ j(vu, [["__scopeId", "data-v-6c6caa4e"]]), Eu = { class: "apf-bpmn-node" }, ru = { class: "apf-bpmn-task" }, Pu = { class: "apf-bpmn-task__icon" }, fu = { class: "apf-bpmn-task__label" }, qu = /* @__PURE__ */ t({
14766
+ __name: "PreviewTask",
14767
+ props: {
14768
+ data: {}
14769
+ },
14770
+ setup(I) {
14771
+ const C = {
14772
+ userTask: "👤",
14773
+ serviceTask: "⚙",
14774
+ scriptTask: "📜",
14775
+ sendTask: "📤",
14776
+ receiveTask: "📥"
14777
+ };
14778
+ return (g, Z) => (c(), s("div", Eu, [
14779
+ H(y(eg), {
14780
+ type: "target",
14781
+ position: y(Kg).Top
14782
+ }, null, 8, ["position"]),
14783
+ b("div", ru, [
14784
+ b("span", Pu, V(C[I.data.bpmnType] || "📋"), 1),
14785
+ b("span", fu, V(I.data.label), 1)
14786
+ ]),
14787
+ H(y(eg), {
14788
+ type: "source",
14789
+ position: y(Kg).Bottom
14790
+ }, null, 8, ["position"])
14791
+ ]));
14792
+ }
14793
+ }), _u = /* @__PURE__ */ j(qu, [["__scopeId", "data-v-5b6a4a18"]]), $u = { class: "apf-bpmn-node" }, IM = { class: "apf-bpmn-gateway" }, gM = { class: "apf-bpmn-gateway__icon" }, CM = { class: "apf-bpmn-node__label" }, AM = /* @__PURE__ */ t({
14794
+ __name: "PreviewGateway",
14795
+ props: {
14796
+ data: {}
14797
+ },
14798
+ setup(I) {
14799
+ const C = {
14800
+ exclusiveGateway: "✕",
14801
+ parallelGateway: "+",
14802
+ inclusiveGateway: "◎"
14803
+ };
14804
+ return (g, Z) => (c(), s("div", $u, [
14805
+ H(y(eg), {
14806
+ type: "target",
14807
+ position: y(Kg).Top
14808
+ }, null, 8, ["position"]),
14809
+ b("div", IM, [
14810
+ b("span", gM, V(C[I.data.bpmnType] || "◆"), 1)
14811
+ ]),
14812
+ b("div", CM, V(I.data.label), 1),
14813
+ H(y(eg), {
14814
+ type: "source",
14815
+ position: y(Kg).Bottom
14816
+ }, null, 8, ["position"])
14817
+ ]));
14818
+ }
14819
+ }), ZM = /* @__PURE__ */ j(AM, [["__scopeId", "data-v-3ff1b368"]]), lM = /* @__PURE__ */ t({
14820
+ __name: "BpmnFlowPreviewCanvas",
14821
+ props: {
14822
+ nodes: {},
14823
+ edges: {},
14824
+ flowId: {}
14825
+ },
14826
+ emits: ["node-click", "fit-view"],
14827
+ setup(I, { expose: C, emit: g }) {
14828
+ const Z = I, A = g, l = Z.flowId ?? `apf-bpmn-preview-${Math.random().toString(36).slice(2, 8)}`, d = u(
14829
+ () => Z.nodes.map((Y) => ({
14830
+ id: Y.id,
14831
+ type: Y.type,
14832
+ position: Y.position,
14833
+ data: Y.data,
14834
+ draggable: !0
14835
+ }))
14836
+ ), m = u(
14837
+ () => Z.edges.map((Y) => ({
14838
+ id: Y.id,
14839
+ source: Y.source,
14840
+ target: Y.target,
14841
+ label: Y.label,
14842
+ type: "smoothstep",
14843
+ animated: !0,
14844
+ markerEnd: { type: ud.ArrowClosed },
14845
+ style: { stroke: "var(--c-info, #4581e9)", strokeWidth: 1.5 }
14846
+ }))
14847
+ ), { onNodeClick: G, fitView: i } = Md({ id: l });
14848
+ G(({ node: Y }) => {
14849
+ A("node-click", Y.id, Y.data);
14850
+ });
14851
+ function B() {
14852
+ i({ padding: 0.2 }), A("fit-view");
14853
+ }
14854
+ return bI(
14855
+ () => [Z.nodes, Z.edges],
14856
+ async () => {
14857
+ await JI(), setTimeout(() => i({ padding: 0.2 }), 100);
14858
+ },
14859
+ { deep: !0 }
14860
+ ), C({ fitView: B }), (Y, W) => (c(), F(y(ed), {
14861
+ id: y(l),
14862
+ nodes: d.value,
14863
+ edges: m.value,
14864
+ "nodes-draggable": !0,
14865
+ "nodes-connectable": !1,
14866
+ "edges-updatable": !1,
14867
+ "elements-selectable": !0,
14868
+ "default-viewport": { zoom: 0.8, x: 0, y: 0 },
14869
+ "min-zoom": 0.2,
14870
+ "max-zoom": 2,
14871
+ "fit-view-on-init": "",
14872
+ class: "apf-bpmn-canvas"
14873
+ }, {
14874
+ "node-start-event": J((N) => [
14875
+ H(ju, Bg(Yg(N)), null, 16)
14876
+ ]),
14877
+ "node-end-event": J((N) => [
14878
+ H(Ou, Bg(Yg(N)), null, 16)
14879
+ ]),
14880
+ "node-task": J((N) => [
14881
+ H(_u, Bg(Yg(N)), null, 16)
14882
+ ]),
14883
+ "node-gateway": J((N) => [
14884
+ H(ZM, Bg(Yg(N)), null, 16)
14885
+ ]),
14886
+ default: J(() => [
14887
+ H(y(Kd), {
14888
+ gap: 16,
14889
+ size: 0.6,
14890
+ color: "#e0e5ec"
14891
+ }),
14892
+ H(y(pd), { "show-interactive": !1 })
14893
+ ]),
14894
+ _: 1
14895
+ }, 8, ["id", "nodes", "edges"]));
14896
+ }
14897
+ }), d9 = /* @__PURE__ */ j(lM, [["__scopeId", "data-v-41401ec3"]]), dM = {
14898
+ startEvent: "start-event",
14899
+ endEvent: "end-event",
14900
+ userTask: "task",
14901
+ serviceTask: "task",
14902
+ scriptTask: "task",
14903
+ sendTask: "task",
14904
+ receiveTask: "task",
14905
+ exclusiveGateway: "gateway",
14906
+ parallelGateway: "gateway",
14907
+ inclusiveGateway: "gateway"
14908
+ };
14858
14909
  function c9(I) {
14910
+ return dM[I] ?? "task";
14911
+ }
14912
+ const Ul = Symbol("fg-toast");
14913
+ function G9(I) {
14859
14914
  return { [Ul]: I };
14860
14915
  }
14861
- function G9() {
14916
+ function b9() {
14862
14917
  const I = bl(Ul);
14863
14918
  return {
14864
14919
  show(C, g = "info", Z) {
@@ -14883,7 +14938,7 @@ function G9() {
14883
14938
  }
14884
14939
  };
14885
14940
  }
14886
- function b9() {
14941
+ function m9() {
14887
14942
  async function I(Z, A = {}) {
14888
14943
  const {
14889
14944
  title: l = "确认操作",
@@ -14924,7 +14979,7 @@ function b9() {
14924
14979
  confirmDanger: g
14925
14980
  };
14926
14981
  }
14927
- function m9() {
14982
+ function i9() {
14928
14983
  return {
14929
14984
  success(I, C = {}) {
14930
14985
  iC({ message: I, type: "success", ...C });
@@ -14940,7 +14995,7 @@ function m9() {
14940
14995
  }
14941
14996
  };
14942
14997
  }
14943
- function i9(I, C = 300) {
14998
+ function s9(I, C = 300) {
14944
14999
  const g = k(null);
14945
15000
  function Z(...A) {
14946
15001
  g.value && clearTimeout(g.value), g.value = setTimeout(() => {
@@ -14951,7 +15006,7 @@ function i9(I, C = 300) {
14951
15006
  g.value && clearTimeout(g.value);
14952
15007
  }), Z;
14953
15008
  }
14954
- function s9(I, C) {
15009
+ function W9(I, C) {
14955
15010
  var m;
14956
15011
  const g = k(1), Z = k((C == null ? void 0 : C.initialPageSize) ?? hl), A = u(() => {
14957
15012
  const G = I.value, i = (g.value - 1) * Z.value;
@@ -14975,7 +15030,7 @@ function s9(I, C) {
14975
15030
  resetPage: d
14976
15031
  };
14977
15032
  }
14978
- function W9(I = {}) {
15033
+ function B9(I = {}) {
14979
15034
  const { timeout: C = 15e3, silentError: g = !1 } = I, Z = k(!1), A = k(null), l = k(!1), d = u(() => A.value !== null);
14980
15035
  let m = null, G = 0;
14981
15036
  function i() {
@@ -15008,60 +15063,6 @@ function W9(I = {}) {
15008
15063
  reset: W
15009
15064
  };
15010
15065
  }
15011
- function B9(I) {
15012
- const {
15013
- containerRef: C,
15014
- autoScroll: g = !0,
15015
- behavior: Z = "smooth",
15016
- offset: A = 50
15017
- } = I, l = k(!0), d = k(g);
15018
- function m() {
15019
- const N = C.value;
15020
- if (!N) return !0;
15021
- const { scrollTop: o, scrollHeight: R, clientHeight: X } = N;
15022
- return R - o - X < A;
15023
- }
15024
- async function G(N = !0) {
15025
- if (!N && !d.value) return;
15026
- await JI();
15027
- const o = C.value;
15028
- o && o.scrollTo({
15029
- top: o.scrollHeight,
15030
- behavior: Z
15031
- });
15032
- }
15033
- function i(N) {
15034
- const o = C.value;
15035
- o && o.scrollTo({
15036
- top: N,
15037
- behavior: Z
15038
- });
15039
- }
15040
- function B() {
15041
- d.value = !0;
15042
- }
15043
- function Y() {
15044
- d.value = !1;
15045
- }
15046
- function W() {
15047
- l.value = m(), l.value && (d.value = !0);
15048
- }
15049
- return lg(() => {
15050
- const N = C.value;
15051
- N && (N.addEventListener("scroll", W), l.value = m());
15052
- }), dg(() => {
15053
- const N = C.value;
15054
- N && N.removeEventListener("scroll", W);
15055
- }), {
15056
- scrollToBottom: G,
15057
- scrollTo: i,
15058
- isAtBottom: l,
15059
- autoScrollEnabled: d,
15060
- checkIfAtBottom: m,
15061
- enableAutoScroll: B,
15062
- disableAutoScroll: Y
15063
- };
15064
- }
15065
15066
  const IA = /* @__PURE__ */ new Map();
15066
15067
  function Y9(I) {
15067
15068
  const {
@@ -15520,7 +15521,7 @@ function N9(I, C) {
15520
15521
  option: g.option
15521
15522
  };
15522
15523
  }
15523
- const X9 = "1.10.36", h9 = "2.14.2", R9 = "2026-08-27";
15524
+ const X9 = "1.10.38", h9 = "2.14.2", R9 = "2026-08-27";
15524
15525
  export {
15525
15526
  hM as APP_ICON_NAMES,
15526
15527
  OM as AVATAR_SIZE,
@@ -15531,15 +15532,15 @@ export {
15531
15532
  FM as AppUserPanel,
15532
15533
  n5 as ApprovalCard,
15533
15534
  RA as ArtifactGallery,
15534
- l9 as AssistantPicker,
15535
+ A9 as AssistantPicker,
15535
15536
  mo as AttachmentPreviewModal,
15536
15537
  UM as BORDER_RADIUS,
15537
- NH as BPMN_TO_PREVIEW_VF_TYPE,
15538
- P5 as BpmnFlowPreviewCanvas,
15539
- dH as BpmnPreviewEndEvent,
15540
- VH as BpmnPreviewGateway,
15541
- CH as BpmnPreviewStartEvent,
15542
- sH as BpmnPreviewTask,
15538
+ dM as BPMN_TO_PREVIEW_VF_TYPE,
15539
+ d9 as BpmnFlowPreviewCanvas,
15540
+ Ou as BpmnPreviewEndEvent,
15541
+ ZM as BpmnPreviewGateway,
15542
+ ju as BpmnPreviewStartEvent,
15543
+ _u as BpmnPreviewTask,
15543
15544
  d5 as BreadcrumbNav,
15544
15545
  qM as BusinessResultTables,
15545
15546
  kI as CHART_COLORS,
@@ -15554,7 +15555,7 @@ export {
15554
15555
  HM as ConfirmDialog,
15555
15556
  Ai as ContentPanel,
15556
15557
  e5 as ConversationHeader,
15557
- C9 as ConversationSearchBar,
15558
+ I9 as ConversationSearchBar,
15558
15559
  hl as DEFAULT_PAGE_SIZE,
15559
15560
  EM as DURATION,
15560
15561
  Q5 as DocumentDetailSummaryCard,
@@ -15583,7 +15584,7 @@ export {
15583
15584
  o5 as HitlArtifactPanel,
15584
15585
  NA as ICON_MAP,
15585
15586
  jM as ICON_SIZE,
15586
- _5 as ImageGenerateCard,
15587
+ f5 as ImageGenerateCard,
15587
15588
  qB as ImagePreviewCard,
15588
15589
  KW as JsonCard,
15589
15590
  gB as JsonDetailDialog,
@@ -15597,8 +15598,8 @@ export {
15597
15598
  X5 as MessageList,
15598
15599
  yw as MessageParts,
15599
15600
  PM as MetricChart,
15600
- q5 as Model3dPreviewCard,
15601
- d9 as ModelPicker,
15601
+ P5 as Model3dPreviewCard,
15602
+ Z9 as ModelPicker,
15602
15603
  w5 as NodeArtifactStrip,
15603
15604
  QM as PAGE,
15604
15605
  lm as PAGE_SIZE_OPTIONS,
@@ -15614,13 +15615,13 @@ export {
15614
15615
  BW as PropertyField,
15615
15616
  s5 as PropertyPanel,
15616
15617
  T5 as QuestionnaireCard,
15617
- Z9 as RagContextPanel,
15618
+ C9 as RagContextPanel,
15618
15619
  j5 as RequirementAnalysisCard,
15619
15620
  WV as RunStatusBar,
15620
15621
  X9 as SCHEMA_UI_VERSION,
15621
15622
  Zi as SHADOWS,
15622
15623
  LM as SPACING,
15623
- $5 as SchemaFormPreview,
15624
+ q5 as SchemaFormPreview,
15624
15625
  W5 as SchemaLitePreview,
15625
15626
  vW as ScriptTablePreview,
15626
15627
  b5 as SearchForm,
@@ -15639,10 +15640,10 @@ export {
15639
15640
  R5 as StreamStatusBanner,
15640
15641
  ul as StructuredJsonPreview,
15641
15642
  O5 as SubWorkflowStatusCard,
15642
- g9 as SuggestionCard,
15643
+ $5 as SuggestionCard,
15643
15644
  tM as TEXT_COLORS,
15644
15645
  G5 as TableRowActions,
15645
- A9 as TaskChainBar,
15646
+ g9 as TaskChainBar,
15646
15647
  cY as TextPreviewCard,
15647
15648
  S5 as ThinkingBlock,
15648
15649
  A5 as ThresholdSlider,
@@ -15655,7 +15656,7 @@ export {
15655
15656
  v5 as VariableDiffCard,
15656
15657
  IY as VideoPreviewCard,
15657
15658
  u5 as VirtualMessageScroller,
15658
- I9 as WorkflowRunTimeline,
15659
+ _5 as WorkflowRunTimeline,
15659
15660
  rM as Z_INDEX,
15660
15661
  ug as detectArtifactKind,
15661
15662
  Sg as detectStructuredJsonKind,
@@ -15677,20 +15678,20 @@ export {
15677
15678
  V9 as normalizeAttachments,
15678
15679
  o9 as normalizeNodeOutput,
15679
15680
  RC as parseStructuredJsonContent,
15680
- c9 as provideToast,
15681
+ G9 as provideToast,
15681
15682
  Ql as renderMarkdown,
15682
15683
  w9 as resolveApiErrorMessage,
15683
- f5 as resolveBpmnPreviewNodeType,
15684
+ c9 as resolveBpmnPreviewNodeType,
15684
15685
  mw as splitTextAndCodeBlocks,
15685
15686
  pW as structuredJsonLabel,
15686
15687
  Al as tryParseJsonText,
15687
- B9 as useChatScroll,
15688
- s9 as useClientPagination,
15688
+ l9 as useChatScroll,
15689
+ W9 as useClientPagination,
15689
15690
  gY as useClipboard,
15690
- b9 as useConfirm,
15691
- W9 as useDataLoading,
15692
- i9 as useDebounceFn,
15693
- m9 as useMessage,
15691
+ m9 as useConfirm,
15692
+ B9 as useDataLoading,
15693
+ s9 as useDebounceFn,
15694
+ i9 as useMessage,
15694
15695
  Y9 as useRealtime,
15695
- G9 as useToast
15696
+ b9 as useToast
15696
15697
  };