@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.
- package/dist/apform-ui.css +1 -1
- package/dist/apform-ui.js +443 -442
- package/dist/apform-ui.umd.cjs +2 -2
- package/dist/chat.css +1 -0
- package/dist/chat.d.ts +78 -0
- package/dist/chat.js +9801 -0
- package/dist/chat.umd.cjs +68 -0
- package/dist/components/AppDialog/AppDialog.vue.d.ts +6 -6
- package/dist/components/CardGridSkeleton/CardGridSkeleton.vue.d.ts +1 -1
- package/dist/components/Chat/AssistantPicker/AssistantPicker.vue.d.ts +2 -2
- package/dist/components/Chat/ConversationSearchBar/ConversationSearchBar.vue.d.ts +5 -5
- package/dist/components/Chat/EditableArtifactCard/EditableArtifactCard.vue.d.ts +1 -1
- package/dist/components/Chat/MessageBubble/MessageBubble.vue.d.ts +4 -4
- package/dist/components/Chat/MessageList/MessageList.vue.d.ts +4 -4
- package/dist/components/Chat/PendingAttachmentChip/PendingAttachmentChip.vue.d.ts +2 -2
- package/dist/components/Chat/RagContextPanel/RagContextPanel.vue.d.ts +4 -4
- package/dist/components/Chat/ThinkingBlock/ThinkingBlock.vue.d.ts +1 -1
- package/dist/components/Chat/WorkflowRunTimeline/WorkflowRunTimeline.vue.d.ts +1 -1
- package/dist/components/ConfirmDialog/ConfirmDialog.vue.d.ts +1 -1
- package/dist/components/DocumentPreview/DocumentPreviewDrawer.vue.d.ts +2 -2
- package/dist/components/DocumentPreview/DocumentPreviewPanel.vue.d.ts +2 -2
- package/dist/components/ExcelPreviewCard/ExcelPreviewCard.vue.d.ts +2 -2
- package/dist/components/ExecutionArtifactPanel/ExecutionArtifactPanel.vue.d.ts +1 -1
- package/dist/components/FormDialog/FormDialog.vue.d.ts +3 -3
- package/dist/components/ImagePreviewCard/ImagePreviewCard.vue.d.ts +1 -1
- package/dist/components/LogStream/LogStream.vue.d.ts +3 -3
- package/dist/components/MetricChart/MetricChart.vue.d.ts +1 -1
- package/dist/components/PropertyField/PropertyField.vue.d.ts +1 -1
- package/dist/components/PropertyPanel/editors/NumberArrayEditor.vue.d.ts +1 -1
- package/dist/components/SearchForm/SearchForm.vue.d.ts +3 -3
- package/dist/components/Skeleton/Skeleton.vue.d.ts +2 -2
- package/dist/components/StatusTag/StatusTag.vue.d.ts +1 -1
- package/dist/components/TimeRangePicker/TimeRangePicker.vue.d.ts +1 -1
- package/dist/components/UserAvatar/UserAvatar.vue.d.ts +2 -2
- package/dist/index.d.ts +3 -72
- 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-
|
|
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
|
-
},
|
|
13323
|
+
}, lH = {
|
|
13505
13324
|
key: 1,
|
|
13506
13325
|
class: "apf-model3d__hint is-error"
|
|
13507
|
-
},
|
|
13326
|
+
}, dH = {
|
|
13508
13327
|
key: 0,
|
|
13509
13328
|
class: "apf-model3d__actions"
|
|
13510
|
-
},
|
|
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",
|
|
13533
|
-
b("div",
|
|
13534
|
-
b("span",
|
|
13535
|
-
b("span",
|
|
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",
|
|
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",
|
|
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",
|
|
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",
|
|
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,
|
|
13398
|
+
], 8, cH)
|
|
13580
13399
|
]))
|
|
13581
13400
|
]);
|
|
13582
13401
|
};
|
|
13583
13402
|
}
|
|
13584
|
-
}),
|
|
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
|
-
},
|
|
13406
|
+
}, WH = {
|
|
13588
13407
|
key: 0,
|
|
13589
13408
|
class: "apf-image-generate__prompt"
|
|
13590
|
-
},
|
|
13409
|
+
}, BH = { class: "apf-image-generate__image-container" }, YH = {
|
|
13591
13410
|
key: 0,
|
|
13592
13411
|
class: "apf-image-generate__overlay"
|
|
13593
|
-
},
|
|
13412
|
+
}, wH = {
|
|
13594
13413
|
key: 1,
|
|
13595
13414
|
class: "apf-image-generate__overlay apf-image-generate__overlay--error"
|
|
13596
|
-
},
|
|
13415
|
+
}, oH = ["src"], VH = { class: "apf-image-generate__zoom-hint" }, aH = {
|
|
13597
13416
|
key: 3,
|
|
13598
13417
|
class: "apf-image-generate__placeholder"
|
|
13599
|
-
},
|
|
13418
|
+
}, NH = {
|
|
13600
13419
|
key: 1,
|
|
13601
13420
|
class: "apf-image-generate__meta"
|
|
13602
|
-
},
|
|
13421
|
+
}, XH = { key: 0 }, hH = { key: 1 }, RH = { key: 2 }, nH = {
|
|
13603
13422
|
key: 2,
|
|
13604
13423
|
class: "apf-image-generate__actions"
|
|
13605
|
-
},
|
|
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",
|
|
13640
|
-
b("div",
|
|
13641
|
-
b("div",
|
|
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",
|
|
13468
|
+
I.model ? (c(), s("div", sH, V(I.model), 1)) : h("", !0)
|
|
13650
13469
|
]),
|
|
13651
|
-
I.prompt ? (c(), s("div",
|
|
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",
|
|
13656
|
-
I.loading ? (c(), s("div",
|
|
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",
|
|
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,
|
|
13675
|
-
b("div",
|
|
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",
|
|
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",
|
|
13691
|
-
I.size ? (c(), s("span",
|
|
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",
|
|
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",
|
|
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",
|
|
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
|
-
}),
|
|
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
|
-
}),
|
|
14014
|
-
previewCard:
|
|
14015
|
-
compact:
|
|
14016
|
-
header:
|
|
14017
|
-
headerLeft:
|
|
14018
|
-
headerIcon:
|
|
14019
|
-
title:
|
|
14020
|
-
headerRight:
|
|
14021
|
-
badge:
|
|
14022
|
-
viewHint:
|
|
14023
|
-
previewBody:
|
|
14024
|
-
form:
|
|
14025
|
-
formItem:
|
|
14026
|
-
actions:
|
|
14027
|
-
btnOutline:
|
|
14028
|
-
btnPrimary:
|
|
14029
|
-
},
|
|
14030
|
-
$style:
|
|
14031
|
-
},
|
|
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
|
-
}),
|
|
14144
|
-
block:
|
|
14145
|
-
statusRunning:
|
|
14146
|
-
statusError:
|
|
14147
|
-
statusWaiting:
|
|
14148
|
-
header:
|
|
14149
|
-
headerLeft:
|
|
14150
|
-
chevron:
|
|
14151
|
-
title:
|
|
14152
|
-
progress:
|
|
14153
|
-
timeline:
|
|
14154
|
-
item:
|
|
14155
|
-
itemRunning:
|
|
14156
|
-
nodeName:
|
|
14157
|
-
itemStreaming:
|
|
14158
|
-
iconWrap:
|
|
14159
|
-
rail:
|
|
14160
|
-
iconSuccess:
|
|
14161
|
-
iconError:
|
|
14162
|
-
iconRunning:
|
|
14163
|
-
iconWaiting:
|
|
14164
|
-
iconSkipped:
|
|
14165
|
-
spin:
|
|
14166
|
-
connector:
|
|
14167
|
-
body:
|
|
14168
|
-
nodeHint:
|
|
14169
|
-
empty:
|
|
14170
|
-
},
|
|
14171
|
-
$style:
|
|
14172
|
-
},
|
|
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,
|
|
14299
|
-
}
|
|
14300
|
-
}),
|
|
14301
|
-
card:
|
|
14302
|
-
accepted:
|
|
14303
|
-
dismissed:
|
|
14304
|
-
header:
|
|
14305
|
-
typeBadge:
|
|
14306
|
-
priorityBadge:
|
|
14307
|
-
body:
|
|
14308
|
-
title:
|
|
14309
|
-
description:
|
|
14310
|
-
target:
|
|
14311
|
-
actions:
|
|
14312
|
-
acceptBtn:
|
|
14313
|
-
dismissBtn:
|
|
14314
|
-
statusBadge:
|
|
14315
|
-
statusDismissed:
|
|
14316
|
-
},
|
|
14317
|
-
$style:
|
|
14318
|
-
},
|
|
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,
|
|
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
|
-
}),
|
|
14521
|
-
root:
|
|
14522
|
-
searchRow:
|
|
14523
|
-
filterPanel:
|
|
14524
|
-
filterRow:
|
|
14525
|
-
filterLabel:
|
|
14526
|
-
filterSep:
|
|
14527
|
-
results:
|
|
14528
|
-
resultCount:
|
|
14529
|
-
resultItem:
|
|
14530
|
-
resultTitle:
|
|
14531
|
-
resultTime:
|
|
14532
|
-
empty:
|
|
14533
|
-
},
|
|
14534
|
-
$style:
|
|
14535
|
-
},
|
|
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
|
-
},
|
|
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",
|
|
14575
|
-
b("div",
|
|
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",
|
|
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",
|
|
14591
|
-
b("span",
|
|
14592
|
-
b("span",
|
|
14593
|
-
], 10,
|
|
14594
|
-
G < I.steps.length - 1 ? (c(), s("div",
|
|
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
|
-
}),
|
|
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
|
-
},
|
|
14423
|
+
}, Wu = {
|
|
14605
14424
|
key: 0,
|
|
14606
14425
|
class: "apf-rag-panel__chips"
|
|
14607
|
-
},
|
|
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
|
-
},
|
|
14429
|
+
}, Xu = {
|
|
14611
14430
|
key: 1,
|
|
14612
14431
|
class: "apf-rag-panel__tags"
|
|
14613
|
-
},
|
|
14432
|
+
}, hu = {
|
|
14614
14433
|
key: 0,
|
|
14615
14434
|
class: "apf-rag-panel__tag"
|
|
14616
|
-
},
|
|
14435
|
+
}, Ru = {
|
|
14617
14436
|
key: 1,
|
|
14618
14437
|
class: "apf-rag-panel__empty"
|
|
14619
|
-
},
|
|
14438
|
+
}, nu = {
|
|
14620
14439
|
key: 2,
|
|
14621
14440
|
class: "apf-rag-panel__empty"
|
|
14622
|
-
},
|
|
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",
|
|
14658
|
-
b("div",
|
|
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,
|
|
14687
|
-
I.loading ? (c(), s("span",
|
|
14505
|
+
}, null, 40, iu),
|
|
14506
|
+
I.loading ? (c(), s("span", su)) : h("", !0)
|
|
14688
14507
|
]),
|
|
14689
|
-
I.selected.length > 0 ? (c(), s("div",
|
|
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",
|
|
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,
|
|
14519
|
+
}, " × ", 8, Yu)
|
|
14701
14520
|
]))), 128))
|
|
14702
14521
|
])) : h("", !0),
|
|
14703
|
-
b("div",
|
|
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",
|
|
14716
|
-
b("div",
|
|
14717
|
-
W.description ? (c(), s("div",
|
|
14718
|
-
(N = W.tags) != null && N.length ? (c(), s("div",
|
|
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",
|
|
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,
|
|
14727
|
-
}), 128)) : !I.loading && A.value.trim() ? (c(), s("div",
|
|
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",
|
|
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",
|
|
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
|
-
}),
|
|
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
|
-
},
|
|
14567
|
+
}, eu = {
|
|
14749
14568
|
key: 1,
|
|
14750
14569
|
class: "apf-assistant-picker__state apf-assistant-picker__state--error"
|
|
14751
|
-
},
|
|
14570
|
+
}, Ku = {
|
|
14752
14571
|
key: 2,
|
|
14753
14572
|
class: "apf-assistant-picker__state"
|
|
14754
|
-
},
|
|
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",
|
|
14778
|
-
I.loading ? (c(), s("div",
|
|
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",
|
|
14599
|
+
])])) : I.error ? (c(), s("div", eu, [
|
|
14781
14600
|
b("p", null, V(I.error), 1)
|
|
14782
|
-
])) : m.value ? (c(), s("div",
|
|
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",
|
|
14792
|
-
b("span",
|
|
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",
|
|
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",
|
|
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,
|
|
14631
|
+
], 10, pu))), 128))
|
|
14813
14632
|
]));
|
|
14814
14633
|
}
|
|
14815
|
-
}),
|
|
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",
|
|
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
|
-
}),
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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.
|
|
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
|
-
|
|
15535
|
+
A9 as AssistantPicker,
|
|
15535
15536
|
mo as AttachmentPreviewModal,
|
|
15536
15537
|
UM as BORDER_RADIUS,
|
|
15537
|
-
|
|
15538
|
-
|
|
15539
|
-
|
|
15540
|
-
|
|
15541
|
-
|
|
15542
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
15601
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
15643
|
+
$5 as SuggestionCard,
|
|
15643
15644
|
tM as TEXT_COLORS,
|
|
15644
15645
|
G5 as TableRowActions,
|
|
15645
|
-
|
|
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
|
-
|
|
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
|
-
|
|
15681
|
+
G9 as provideToast,
|
|
15681
15682
|
Ql as renderMarkdown,
|
|
15682
15683
|
w9 as resolveApiErrorMessage,
|
|
15683
|
-
|
|
15684
|
+
c9 as resolveBpmnPreviewNodeType,
|
|
15684
15685
|
mw as splitTextAndCodeBlocks,
|
|
15685
15686
|
pW as structuredJsonLabel,
|
|
15686
15687
|
Al as tryParseJsonText,
|
|
15687
|
-
|
|
15688
|
-
|
|
15688
|
+
l9 as useChatScroll,
|
|
15689
|
+
W9 as useClientPagination,
|
|
15689
15690
|
gY as useClipboard,
|
|
15690
|
-
|
|
15691
|
-
|
|
15692
|
-
|
|
15693
|
-
|
|
15691
|
+
m9 as useConfirm,
|
|
15692
|
+
B9 as useDataLoading,
|
|
15693
|
+
s9 as useDebounceFn,
|
|
15694
|
+
i9 as useMessage,
|
|
15694
15695
|
Y9 as useRealtime,
|
|
15695
|
-
|
|
15696
|
+
b9 as useToast
|
|
15696
15697
|
};
|