@apform-ui/core 1.10.36 → 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 +1011 -1002
- package/dist/apform-ui.umd.cjs +30 -30
- 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/src/tokens/tokens.css +24 -0
package/dist/apform-ui.js
CHANGED
|
@@ -1849,8 +1849,8 @@ const Uc = {
|
|
|
1849
1849
|
brush: Cm,
|
|
1850
1850
|
"scale-to-original": Am,
|
|
1851
1851
|
microphone: Zm
|
|
1852
|
-
},
|
|
1853
|
-
function
|
|
1852
|
+
}, hM = Object.keys(NA).sort();
|
|
1853
|
+
function RM(I) {
|
|
1854
1854
|
return I in NA;
|
|
1855
1855
|
}
|
|
1856
1856
|
const v = /* @__PURE__ */ t({
|
|
@@ -1917,7 +1917,7 @@ const v = /* @__PURE__ */ t({
|
|
|
1917
1917
|
pagination: Gm
|
|
1918
1918
|
}, mm = {
|
|
1919
1919
|
$style: bm
|
|
1920
|
-
},
|
|
1920
|
+
}, nM = /* @__PURE__ */ j(cm, [["__cssModules", mm]]), im = /* @__PURE__ */ t({
|
|
1921
1921
|
__name: "ConfirmDialog",
|
|
1922
1922
|
props: {
|
|
1923
1923
|
modelValue: { type: Boolean },
|
|
@@ -1979,7 +1979,7 @@ const v = /* @__PURE__ */ t({
|
|
|
1979
1979
|
message: Bm
|
|
1980
1980
|
}, wm = {
|
|
1981
1981
|
$style: Ym
|
|
1982
|
-
},
|
|
1982
|
+
}, HM = /* @__PURE__ */ j(im, [["__cssModules", wm]]), yM = /* @__PURE__ */ t({
|
|
1983
1983
|
__name: "FormDialog",
|
|
1984
1984
|
props: {
|
|
1985
1985
|
modelValue: { type: Boolean },
|
|
@@ -2073,7 +2073,7 @@ const v = /* @__PURE__ */ t({
|
|
|
2073
2073
|
count: hm
|
|
2074
2074
|
}, nm = {
|
|
2075
2075
|
$style: Rm
|
|
2076
|
-
},
|
|
2076
|
+
}, uM = /* @__PURE__ */ j(Vm, [["__cssModules", nm]]), Hm = ["onClick"], ym = /* @__PURE__ */ t({
|
|
2077
2077
|
__name: "Toast",
|
|
2078
2078
|
setup(I, { expose: C }) {
|
|
2079
2079
|
const g = k([]);
|
|
@@ -2137,7 +2137,7 @@ const v = /* @__PURE__ */ t({
|
|
|
2137
2137
|
msg: Jm
|
|
2138
2138
|
}, tm = {
|
|
2139
2139
|
$style: zm
|
|
2140
|
-
},
|
|
2140
|
+
}, MM = /* @__PURE__ */ j(ym, [["__cssModules", tm]]), km = /* @__PURE__ */ t({
|
|
2141
2141
|
__name: "EmptyState",
|
|
2142
2142
|
props: {
|
|
2143
2143
|
icon: {},
|
|
@@ -2201,7 +2201,7 @@ const v = /* @__PURE__ */ t({
|
|
|
2201
2201
|
actions: Um
|
|
2202
2202
|
}, Om = {
|
|
2203
2203
|
$style: vm
|
|
2204
|
-
}, qI = /* @__PURE__ */ j(km, [["__cssModules", Om]]),
|
|
2204
|
+
}, qI = /* @__PURE__ */ j(km, [["__cssModules", Om]]), eM = t({
|
|
2205
2205
|
name: "ErrorBoundary",
|
|
2206
2206
|
props: {
|
|
2207
2207
|
/** 自定义上下文信息,用于错误日志 */
|
|
@@ -2236,7 +2236,7 @@ const v = /* @__PURE__ */ t({
|
|
|
2236
2236
|
return m ? TI("div", { key: l.value, style: { display: "contents" } }, m) : null;
|
|
2237
2237
|
};
|
|
2238
2238
|
}
|
|
2239
|
-
}),
|
|
2239
|
+
}), KM = /* @__PURE__ */ t({
|
|
2240
2240
|
__name: "StatusTag",
|
|
2241
2241
|
props: {
|
|
2242
2242
|
status: {},
|
|
@@ -2357,7 +2357,7 @@ const v = /* @__PURE__ */ t({
|
|
|
2357
2357
|
lineTextShort: l0
|
|
2358
2358
|
}, c0 = {
|
|
2359
2359
|
$style: d0
|
|
2360
|
-
},
|
|
2360
|
+
}, pM = /* @__PURE__ */ j(Em, [["__cssModules", c0]]), G0 = /* @__PURE__ */ t({
|
|
2361
2361
|
__name: "CardGridSkeleton",
|
|
2362
2362
|
props: {
|
|
2363
2363
|
count: { default: 6 },
|
|
@@ -2405,7 +2405,7 @@ const v = /* @__PURE__ */ t({
|
|
|
2405
2405
|
textShort: o0
|
|
2406
2406
|
}, a0 = {
|
|
2407
2407
|
$style: V0
|
|
2408
|
-
},
|
|
2408
|
+
}, SM = /* @__PURE__ */ j(G0, [["__cssModules", a0]]), N0 = ["src", "alt"], X0 = { name: "UserAvatar" }, h0 = /* @__PURE__ */ t({
|
|
2409
2409
|
...X0,
|
|
2410
2410
|
props: {
|
|
2411
2411
|
name: { default: "" },
|
|
@@ -2446,7 +2446,7 @@ const v = /* @__PURE__ */ t({
|
|
|
2446
2446
|
initial: u0
|
|
2447
2447
|
}, e0 = {
|
|
2448
2448
|
$style: M0
|
|
2449
|
-
},
|
|
2449
|
+
}, DM = /* @__PURE__ */ j(h0, [["__cssModules", e0]]), K0 = ["aria-label"], p0 = {
|
|
2450
2450
|
class: "apf-user-panel__avatar",
|
|
2451
2451
|
"aria-hidden": "true"
|
|
2452
2452
|
}, S0 = { class: "apf-user-panel__name" }, D0 = { class: "apf-user-panel__body" }, F0 = { class: "apf-user-panel__header" }, J0 = {
|
|
@@ -2549,7 +2549,7 @@ const v = /* @__PURE__ */ t({
|
|
|
2549
2549
|
], 2);
|
|
2550
2550
|
};
|
|
2551
2551
|
}
|
|
2552
|
-
}),
|
|
2552
|
+
}), FM = /* @__PURE__ */ j(T0, [["__scopeId", "data-v-1bb71f74"]]), x0 = { class: "apf-slider-captcha__panel" }, j0 = {
|
|
2553
2553
|
key: 0,
|
|
2554
2554
|
class: "apf-slider-captcha__placeholder"
|
|
2555
2555
|
}, Q0 = {
|
|
@@ -2697,7 +2697,7 @@ const v = /* @__PURE__ */ t({
|
|
|
2697
2697
|
], 2)
|
|
2698
2698
|
], 2));
|
|
2699
2699
|
}
|
|
2700
|
-
}),
|
|
2700
|
+
}), JM = /* @__PURE__ */ j(r0, [["__scopeId", "data-v-c7d9d170"]]), P0 = { class: "apf-time-range-picker__panel" }, f0 = { class: "apf-time-range-picker__actions" }, q0 = /* @__PURE__ */ t({
|
|
2701
2701
|
__name: "TimeRangePicker",
|
|
2702
2702
|
props: {
|
|
2703
2703
|
modelValue: {},
|
|
@@ -2847,7 +2847,7 @@ const v = /* @__PURE__ */ t({
|
|
|
2847
2847
|
], 2);
|
|
2848
2848
|
};
|
|
2849
2849
|
}
|
|
2850
|
-
}),
|
|
2850
|
+
}), zM = /* @__PURE__ */ j(q0, [["__scopeId", "data-v-cb3adbf3"]]), _0 = {
|
|
2851
2851
|
key: 0,
|
|
2852
2852
|
class: "apf-content-panel__head"
|
|
2853
2853
|
}, $0 = {
|
|
@@ -2911,7 +2911,7 @@ const v = /* @__PURE__ */ t({
|
|
|
2911
2911
|
splitLine: "#EBEDF3",
|
|
2912
2912
|
tooltipBg: "#FFFFFF",
|
|
2913
2913
|
tooltipText: "#303133"
|
|
2914
|
-
},
|
|
2914
|
+
}, tM = {
|
|
2915
2915
|
title: "#303133",
|
|
2916
2916
|
primary: "#333333",
|
|
2917
2917
|
regular: "#606266",
|
|
@@ -2920,7 +2920,7 @@ const v = /* @__PURE__ */ t({
|
|
|
2920
2920
|
placeholder: "#969FA8",
|
|
2921
2921
|
disabled: "#C0C4CC",
|
|
2922
2922
|
inverse: "#FFFFFF"
|
|
2923
|
-
},
|
|
2923
|
+
}, kM = {
|
|
2924
2924
|
10: "10px",
|
|
2925
2925
|
11: "11px",
|
|
2926
2926
|
12: "12px",
|
|
@@ -2933,7 +2933,7 @@ const v = /* @__PURE__ */ t({
|
|
|
2933
2933
|
22: "22px",
|
|
2934
2934
|
24: "24px",
|
|
2935
2935
|
28: "28px"
|
|
2936
|
-
},
|
|
2936
|
+
}, LM = {
|
|
2937
2937
|
xs: "4px",
|
|
2938
2938
|
sm: "8px",
|
|
2939
2939
|
md: "16px",
|
|
@@ -2944,32 +2944,32 @@ const v = /* @__PURE__ */ t({
|
|
|
2944
2944
|
10: "10px",
|
|
2945
2945
|
12: "12px",
|
|
2946
2946
|
20: "20px"
|
|
2947
|
-
},
|
|
2947
|
+
}, TM = {
|
|
2948
2948
|
xs: "24px",
|
|
2949
2949
|
sm: "28px",
|
|
2950
2950
|
md: "32px",
|
|
2951
2951
|
lg: "40px",
|
|
2952
2952
|
xl: "44px"
|
|
2953
|
-
},
|
|
2953
|
+
}, xM = {
|
|
2954
2954
|
header: "56px",
|
|
2955
2955
|
conversationHeader: "68px",
|
|
2956
2956
|
dialogFooter: "60px",
|
|
2957
2957
|
toolbar: "48px",
|
|
2958
2958
|
tabs: "40px",
|
|
2959
2959
|
listRow: "48px"
|
|
2960
|
-
},
|
|
2960
|
+
}, jM = {
|
|
2961
2961
|
xs: "12px",
|
|
2962
2962
|
sm: "14px",
|
|
2963
2963
|
md: "16px",
|
|
2964
2964
|
lg: "20px",
|
|
2965
2965
|
xl: "24px"
|
|
2966
|
-
},
|
|
2966
|
+
}, QM = {
|
|
2967
2967
|
paddingX: "24px",
|
|
2968
2968
|
paddingY: "24px",
|
|
2969
2969
|
headerPaddingTop: "28px",
|
|
2970
2970
|
sidebarWidth: "240px",
|
|
2971
2971
|
sidebarWidthCollapsed: "64px"
|
|
2972
|
-
},
|
|
2972
|
+
}, UM = {
|
|
2973
2973
|
sm: "2px",
|
|
2974
2974
|
md: "4px",
|
|
2975
2975
|
6: "6px",
|
|
@@ -2977,11 +2977,11 @@ const v = /* @__PURE__ */ t({
|
|
|
2977
2977
|
lg: "10px",
|
|
2978
2978
|
xl: "12px",
|
|
2979
2979
|
full: "999px"
|
|
2980
|
-
},
|
|
2980
|
+
}, vM = {
|
|
2981
2981
|
fieldWidth: "220px",
|
|
2982
2982
|
labelWidth: "96px",
|
|
2983
2983
|
fieldGap: "6px"
|
|
2984
|
-
},
|
|
2984
|
+
}, OM = {
|
|
2985
2985
|
sm: "24px",
|
|
2986
2986
|
md: "32px",
|
|
2987
2987
|
lg: "40px",
|
|
@@ -2990,11 +2990,11 @@ const v = /* @__PURE__ */ t({
|
|
|
2990
2990
|
sm: "0 1px 2px rgba(0, 0, 0, 0.05)",
|
|
2991
2991
|
md: "0 4px 12px rgba(0, 0, 0, 0.08)",
|
|
2992
2992
|
lg: "0 8px 24px rgba(0, 0, 0, 0.12)"
|
|
2993
|
-
},
|
|
2993
|
+
}, EM = {
|
|
2994
2994
|
fast: "0.15s",
|
|
2995
2995
|
normal: "0.25s",
|
|
2996
2996
|
slow: "0.35s"
|
|
2997
|
-
},
|
|
2997
|
+
}, rM = {
|
|
2998
2998
|
dropdown: 1e3,
|
|
2999
2999
|
sticky: 1020,
|
|
3000
3000
|
fixed: 1030,
|
|
@@ -3292,7 +3292,7 @@ const bi = {
|
|
|
3292
3292
|
}, null, 4))
|
|
3293
3293
|
]));
|
|
3294
3294
|
}
|
|
3295
|
-
}),
|
|
3295
|
+
}), PM = /* @__PURE__ */ j(mi, [["__scopeId", "data-v-a72b4e2b"]]), ii = { class: "apf-chart-option-preview" }, si = {
|
|
3296
3296
|
key: 0,
|
|
3297
3297
|
class: "apf-chart-option-preview__meta"
|
|
3298
3298
|
}, Wi = /* @__PURE__ */ t({
|
|
@@ -3344,7 +3344,7 @@ const bi = {
|
|
|
3344
3344
|
}, null, 8, ["description"])) : h("", !0)
|
|
3345
3345
|
]));
|
|
3346
3346
|
}
|
|
3347
|
-
}),
|
|
3347
|
+
}), fM = /* @__PURE__ */ j(Wi, [["__scopeId", "data-v-ebef20fc"]]), Bi = { class: "apf-business-result-tables" }, Yi = { class: "apf-business-result-tables__title" }, wi = /* @__PURE__ */ t({
|
|
3348
3348
|
__name: "BusinessResultTables",
|
|
3349
3349
|
props: {
|
|
3350
3350
|
tables: {}
|
|
@@ -3395,7 +3395,7 @@ const bi = {
|
|
|
3395
3395
|
]);
|
|
3396
3396
|
};
|
|
3397
3397
|
}
|
|
3398
|
-
}),
|
|
3398
|
+
}), qM = /* @__PURE__ */ j(wi, [["__scopeId", "data-v-61b6a835"]]), oi = {
|
|
3399
3399
|
key: 0,
|
|
3400
3400
|
class: "apf-stat-card__bar"
|
|
3401
3401
|
}, Vi = {
|
|
@@ -3499,7 +3499,7 @@ const bi = {
|
|
|
3499
3499
|
_: 1
|
|
3500
3500
|
}, 40, ["class", "href", "role", "tabindex"]));
|
|
3501
3501
|
}
|
|
3502
|
-
}),
|
|
3502
|
+
}), _M = /* @__PURE__ */ j(yi, [["__scopeId", "data-v-3e48d232"]]), ui = /* @__PURE__ */ t({
|
|
3503
3503
|
__name: "SeverityBadge",
|
|
3504
3504
|
props: {
|
|
3505
3505
|
severity: {},
|
|
@@ -3528,7 +3528,7 @@ const bi = {
|
|
|
3528
3528
|
b("span", null, V(Z[I.severity]), 1)
|
|
3529
3529
|
], 2));
|
|
3530
3530
|
}
|
|
3531
|
-
}),
|
|
3531
|
+
}), $M = /* @__PURE__ */ j(ui, [["__scopeId", "data-v-e6c92ddb"]]), Mi = ["onClick"], ei = { class: "apf-service-grid__body" }, Ki = { class: "apf-service-grid__name" }, pi = {
|
|
3532
3532
|
key: 0,
|
|
3533
3533
|
class: "apf-service-grid__metrics"
|
|
3534
3534
|
}, Si = { key: 0 }, Di = { key: 1 }, Fi = { key: 2 }, Ji = /* @__PURE__ */ t({
|
|
@@ -3598,7 +3598,7 @@ const bi = {
|
|
|
3598
3598
|
description: "等待上报或检查筛选条件"
|
|
3599
3599
|
}));
|
|
3600
3600
|
}
|
|
3601
|
-
}),
|
|
3601
|
+
}), I5 = /* @__PURE__ */ j(Ji, [["__scopeId", "data-v-7e1890bc"]]), zi = { class: "apf-status-timeline" }, ti = { class: "apf-status-timeline__ticks" }, ki = /* @__PURE__ */ t({
|
|
3602
3602
|
__name: "StatusTimeline",
|
|
3603
3603
|
props: {
|
|
3604
3604
|
segments: {},
|
|
@@ -3673,7 +3673,7 @@ const bi = {
|
|
|
3673
3673
|
]);
|
|
3674
3674
|
};
|
|
3675
3675
|
}
|
|
3676
|
-
}),
|
|
3676
|
+
}), g5 = /* @__PURE__ */ j(ki, [["__scopeId", "data-v-97b528a0"]]), Li = {
|
|
3677
3677
|
key: 0,
|
|
3678
3678
|
class: "apf-log-stream__loading"
|
|
3679
3679
|
}, Ti = ["onClick"], xi = { class: "apf-log-stream__ts" }, ji = { class: "apf-log-stream__service" }, Qi = ["innerHTML"], Ui = {
|
|
@@ -3838,7 +3838,7 @@ const bi = {
|
|
|
3838
3838
|
])) : h("", !0)
|
|
3839
3839
|
], 4));
|
|
3840
3840
|
}
|
|
3841
|
-
}),
|
|
3841
|
+
}), C5 = /* @__PURE__ */ j(ri, [["__scopeId", "data-v-1766eb79"]]), Pi = { class: "apf-threshold-slider__meta" }, fi = { class: "apf-threshold-slider__unit" }, qi = { class: "apf-threshold-slider__hint" }, _i = { class: "apf-threshold-slider__row" }, $i = /* @__PURE__ */ t({
|
|
3842
3842
|
__name: "ThresholdSlider",
|
|
3843
3843
|
props: {
|
|
3844
3844
|
type: {},
|
|
@@ -3900,7 +3900,7 @@ const bi = {
|
|
|
3900
3900
|
], 2);
|
|
3901
3901
|
};
|
|
3902
3902
|
}
|
|
3903
|
-
}),
|
|
3903
|
+
}), A5 = /* @__PURE__ */ j($i, [["__scopeId", "data-v-7098971c"]]), Is = /* @__PURE__ */ t({
|
|
3904
3904
|
__name: "PageShell",
|
|
3905
3905
|
props: {
|
|
3906
3906
|
fill: { type: Boolean, default: !1 }
|
|
@@ -3917,7 +3917,7 @@ const bi = {
|
|
|
3917
3917
|
shellFill: Cs
|
|
3918
3918
|
}, Zs = {
|
|
3919
3919
|
$style: As
|
|
3920
|
-
},
|
|
3920
|
+
}, Z5 = /* @__PURE__ */ j(Is, [["__cssModules", Zs]]), ls = /* @__PURE__ */ t({
|
|
3921
3921
|
__name: "PageHeader",
|
|
3922
3922
|
props: {
|
|
3923
3923
|
title: {},
|
|
@@ -3961,7 +3961,7 @@ const bi = {
|
|
|
3961
3961
|
actions: is
|
|
3962
3962
|
}, Ws = {
|
|
3963
3963
|
$style: ss
|
|
3964
|
-
},
|
|
3964
|
+
}, l5 = /* @__PURE__ */ j(ls, [["__cssModules", Ws]]), Bs = ["onClick"], Ys = /* @__PURE__ */ t({
|
|
3965
3965
|
__name: "BreadcrumbNav",
|
|
3966
3966
|
props: {
|
|
3967
3967
|
items: {}
|
|
@@ -4001,7 +4001,7 @@ const bi = {
|
|
|
4001
4001
|
current: as
|
|
4002
4002
|
}, Xs = {
|
|
4003
4003
|
$style: Ns
|
|
4004
|
-
},
|
|
4004
|
+
}, d5 = /* @__PURE__ */ j(Ys, [["__cssModules", Xs]]), hs = { class: "apf-filter-bar" }, Rs = {
|
|
4005
4005
|
key: 0,
|
|
4006
4006
|
class: "apf-filter-bar__title"
|
|
4007
4007
|
}, ns = { class: "apf-filter-bar__fields" }, Hs = { class: "apf-filter-bar__actions" }, ys = /* @__PURE__ */ t({
|
|
@@ -4043,7 +4043,7 @@ const bi = {
|
|
|
4043
4043
|
]);
|
|
4044
4044
|
};
|
|
4045
4045
|
}
|
|
4046
|
-
}),
|
|
4046
|
+
}), c5 = /* @__PURE__ */ j(ys, [["__scopeId", "data-v-86218301"]]), us = /* @__PURE__ */ t({
|
|
4047
4047
|
__name: "CardTable",
|
|
4048
4048
|
props: {
|
|
4049
4049
|
loading: { type: Boolean, default: !1 },
|
|
@@ -4146,7 +4146,7 @@ const bi = {
|
|
|
4146
4146
|
]);
|
|
4147
4147
|
};
|
|
4148
4148
|
}
|
|
4149
|
-
}),
|
|
4149
|
+
}), G5 = /* @__PURE__ */ j(es, [["__scopeId", "data-v-06e2a9ce"]]), Ks = { class: "apf-search-form" }, ps = { class: "apf-search-form__row" }, Ss = { class: "apf-search-form__label" }, Ds = { class: "apf-search-form__actions" }, Fs = /* @__PURE__ */ t({
|
|
4150
4150
|
__name: "SearchForm",
|
|
4151
4151
|
props: {
|
|
4152
4152
|
fields: {},
|
|
@@ -4272,7 +4272,7 @@ const bi = {
|
|
|
4272
4272
|
]);
|
|
4273
4273
|
};
|
|
4274
4274
|
}
|
|
4275
|
-
}),
|
|
4275
|
+
}), b5 = /* @__PURE__ */ j(Fs, [["__scopeId", "data-v-8a00c2b6"]]), Js = /* @__PURE__ */ t({
|
|
4276
4276
|
inheritAttrs: !1,
|
|
4277
4277
|
__name: "TruncatedTooltipText",
|
|
4278
4278
|
props: {
|
|
@@ -4399,7 +4399,7 @@ ${C.hint.trim()}` : C.label;
|
|
|
4399
4399
|
}, 8, ["width"]));
|
|
4400
4400
|
};
|
|
4401
4401
|
}
|
|
4402
|
-
}),
|
|
4402
|
+
}), m5 = /* @__PURE__ */ j(Qs, [["__scopeId", "data-v-38245bc2"]]), Us = { class: "apf-section-toggle" }, vs = { class: "apf-section-toggle__label" }, Os = {
|
|
4403
4403
|
key: 0,
|
|
4404
4404
|
class: "apf-section-toggle__count"
|
|
4405
4405
|
}, Es = { class: "apf-section-toggle__body" }, rs = /* @__PURE__ */ t({
|
|
@@ -4467,7 +4467,7 @@ ${C.hint.trim()}` : C.label;
|
|
|
4467
4467
|
}, null, 4)), 64))
|
|
4468
4468
|
]));
|
|
4469
4469
|
}
|
|
4470
|
-
}),
|
|
4470
|
+
}), i5 = /* @__PURE__ */ j(qs, [["__scopeId", "data-v-df891291"]]), oI = "small", yl = "apfPropertyFetchRemote", _s = { class: "apf-options-list" }, $s = /* @__PURE__ */ t({
|
|
4471
4471
|
__name: "OptionsListEditor",
|
|
4472
4472
|
props: {
|
|
4473
4473
|
value: {}
|
|
@@ -5195,7 +5195,7 @@ const XW = {
|
|
|
5195
5195
|
], 2);
|
|
5196
5196
|
};
|
|
5197
5197
|
}
|
|
5198
|
-
}),
|
|
5198
|
+
}), s5 = /* @__PURE__ */ j(HW, [["__scopeId", "data-v-4f1d61ee"]]), yW = { class: "apf-json-card__body" }, uW = { class: "apf-json-card__title" }, MW = { class: "apf-json-card__summary" }, eW = /* @__PURE__ */ t({
|
|
5199
5199
|
__name: "JsonCard",
|
|
5200
5200
|
props: {
|
|
5201
5201
|
title: {},
|
|
@@ -5928,7 +5928,7 @@ const DW = { class: "apf-script-table-preview__header" }, FW = { class: "apf-scr
|
|
|
5928
5928
|
]);
|
|
5929
5929
|
};
|
|
5930
5930
|
}
|
|
5931
|
-
}),
|
|
5931
|
+
}), W5 = /* @__PURE__ */ j(AB, [["__scopeId", "data-v-1d125a82"]]);
|
|
5932
5932
|
function Dg(I) {
|
|
5933
5933
|
const C = (I.mimetype || "").toLowerCase(), g = (I.filename || "").toLowerCase();
|
|
5934
5934
|
return C.startsWith("image/") || /\.(png|jpe?g|gif|webp|bmp)$/.test(g);
|
|
@@ -5941,7 +5941,7 @@ function uZ(I) {
|
|
|
5941
5941
|
const C = (I.mimetype || "").toLowerCase(), g = (I.filename || "").toLowerCase();
|
|
5942
5942
|
return g.endsWith(".docx") || g.endsWith(".doc") || g.endsWith(".xlsx") || g.endsWith(".xls") || C.includes("word") || C.includes("sheet") || C.includes("excel");
|
|
5943
5943
|
}
|
|
5944
|
-
function
|
|
5944
|
+
function B5(I) {
|
|
5945
5945
|
return Dg(I) || Pg(I);
|
|
5946
5946
|
}
|
|
5947
5947
|
function XA(I) {
|
|
@@ -6375,7 +6375,7 @@ ${R.text}`).join(`
|
|
|
6375
6375
|
]);
|
|
6376
6376
|
};
|
|
6377
6377
|
}
|
|
6378
|
-
}), EB = /* @__PURE__ */ j(OB, [["__scopeId", "data-v-0d554351"]]),
|
|
6378
|
+
}), EB = /* @__PURE__ */ j(OB, [["__scopeId", "data-v-0d554351"]]), Y5 = /* @__PURE__ */ t({
|
|
6379
6379
|
__name: "DocumentPreviewDrawer",
|
|
6380
6380
|
props: {
|
|
6381
6381
|
modelValue: { type: Boolean },
|
|
@@ -6728,7 +6728,7 @@ const CY = {
|
|
|
6728
6728
|
onPreview: A[0] || (A[0] = (l) => g("preview", l))
|
|
6729
6729
|
}, null, 8, ["items", "max"]));
|
|
6730
6730
|
}
|
|
6731
|
-
}),
|
|
6731
|
+
}), w5 = /* @__PURE__ */ j(VY, [["__scopeId", "data-v-27af4171"]]), aY = {
|
|
6732
6732
|
key: 0,
|
|
6733
6733
|
class: "apf-hitl-artifact-panel"
|
|
6734
6734
|
}, NY = {
|
|
@@ -6754,7 +6754,7 @@ const CY = {
|
|
|
6754
6754
|
}, null, 8, ["items", "max"])
|
|
6755
6755
|
])) : h("", !0);
|
|
6756
6756
|
}
|
|
6757
|
-
}),
|
|
6757
|
+
}), o5 = /* @__PURE__ */ j(XY, [["__scopeId", "data-v-8c940624"]]), hY = { class: "apf-execution-artifact-panel" }, RY = { class: "apf-execution-artifact-panel__head" }, nY = { class: "apf-execution-artifact-panel__title-row" }, HY = { class: "apf-execution-artifact-panel__title" }, yY = {
|
|
6758
6758
|
key: 0,
|
|
6759
6759
|
class: "apf-execution-artifact-panel__count"
|
|
6760
6760
|
}, uY = {
|
|
@@ -6886,7 +6886,7 @@ const CY = {
|
|
|
6886
6886
|
}))
|
|
6887
6887
|
]));
|
|
6888
6888
|
}
|
|
6889
|
-
}),
|
|
6889
|
+
}), V5 = /* @__PURE__ */ j(pY, [["__scopeId", "data-v-75fc065f"]]);
|
|
6890
6890
|
function nA() {
|
|
6891
6891
|
return { async: !1, breaks: !1, extensions: null, gfm: !0, hooks: null, pedantic: !1, renderer: null, silent: !1, tokenizer: null, walkTokens: null };
|
|
6892
6892
|
}
|
|
@@ -9348,7 +9348,7 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
9348
9348
|
])) : h("", !0);
|
|
9349
9349
|
};
|
|
9350
9350
|
}
|
|
9351
|
-
}), Uw = /* @__PURE__ */ j(Qw, [["__scopeId", "data-v-
|
|
9351
|
+
}), Uw = /* @__PURE__ */ j(Qw, [["__scopeId", "data-v-f22e939c"]]), vw = ["aria-label"], Ow = { class: "apf-preview-head" }, Ew = { class: "apf-preview-title" }, rw = { class: "apf-preview-actions" }, Pw = ["href"], fw = ["src", "alt"], qw = {
|
|
9352
9352
|
key: 3,
|
|
9353
9353
|
class: "apf-gallery-counter"
|
|
9354
9354
|
}, _w = {
|
|
@@ -10005,7 +10005,7 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
10005
10005
|
b("span", to, V(I.text), 1)
|
|
10006
10006
|
]));
|
|
10007
10007
|
}
|
|
10008
|
-
}),
|
|
10008
|
+
}), a5 = /* @__PURE__ */ j(ko, [["__scopeId", "data-v-29445db0"]]), Lo = { class: "apf-starter-grid" }, To = ["onClick"], xo = { class: "apf-starter-grid__text" }, jo = /* @__PURE__ */ t({
|
|
10009
10009
|
__name: "StarterPromptGrid",
|
|
10010
10010
|
props: {
|
|
10011
10011
|
prompts: {}
|
|
@@ -10030,7 +10030,7 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
10030
10030
|
], 8, To))), 128))
|
|
10031
10031
|
]));
|
|
10032
10032
|
}
|
|
10033
|
-
}),
|
|
10033
|
+
}), N5 = /* @__PURE__ */ j(jo, [["__scopeId", "data-v-227b664d"]]), Qo = {
|
|
10034
10034
|
key: 0,
|
|
10035
10035
|
class: "apf-skeleton-line"
|
|
10036
10036
|
}, Uo = /* @__PURE__ */ t({
|
|
@@ -10094,7 +10094,7 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
10094
10094
|
], !0, 2)
|
|
10095
10095
|
], 512));
|
|
10096
10096
|
}
|
|
10097
|
-
}),
|
|
10097
|
+
}), X5 = /* @__PURE__ */ j(Uo, [["__scopeId", "data-v-5df6388a"]]), vo = {
|
|
10098
10098
|
key: 0,
|
|
10099
10099
|
class: "apf-pending-list"
|
|
10100
10100
|
}, Oo = ["src"], Eo = { class: "apf-pending-name" }, ro = {
|
|
@@ -10300,7 +10300,7 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
10300
10300
|
]))
|
|
10301
10301
|
], 34));
|
|
10302
10302
|
}
|
|
10303
|
-
}),
|
|
10303
|
+
}), h5 = /* @__PURE__ */ j(cV, [["__scopeId", "data-v-80a967c0"]]), GV = {
|
|
10304
10304
|
key: 0,
|
|
10305
10305
|
class: "apf-run-bar"
|
|
10306
10306
|
}, bV = { class: "apf-row" }, mV = {
|
|
@@ -10375,7 +10375,7 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
10375
10375
|
}, V(I.retryLabel), 1)) : h("", !0)
|
|
10376
10376
|
], 2)) : h("", !0);
|
|
10377
10377
|
}
|
|
10378
|
-
}),
|
|
10378
|
+
}), R5 = /* @__PURE__ */ j(YV, [["__scopeId", "data-v-c9033191"]]), wV = { class: "apf-header" }, oV = {
|
|
10379
10379
|
key: 0,
|
|
10380
10380
|
class: "apf-danger-tag"
|
|
10381
10381
|
}, VV = { class: "apf-prompt" }, aV = ["placeholder"], NV = ["value"], XV = ["placeholder"], hV = { class: "apf-actions" }, RV = ["disabled", "onClick"], nV = /* @__PURE__ */ t({
|
|
@@ -10443,7 +10443,7 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
10443
10443
|
])
|
|
10444
10444
|
], 2)) : h("", !0);
|
|
10445
10445
|
}
|
|
10446
|
-
}),
|
|
10446
|
+
}), n5 = /* @__PURE__ */ j(nV, [["__scopeId", "data-v-d568067a"]]), HV = {
|
|
10447
10447
|
class: "apf-session-sidebar",
|
|
10448
10448
|
"aria-label": "会话列表"
|
|
10449
10449
|
}, yV = { class: "apf-session-sidebar__head" }, uV = { class: "apf-session-sidebar__head-actions" }, MV = {
|
|
@@ -10539,7 +10539,7 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
10539
10539
|
]);
|
|
10540
10540
|
};
|
|
10541
10541
|
}
|
|
10542
|
-
}),
|
|
10542
|
+
}), H5 = /* @__PURE__ */ j(FV, [["__scopeId", "data-v-b00284f7"]]), y5 = /* @__PURE__ */ t({
|
|
10543
10543
|
__name: "SessionHistoryDrawer",
|
|
10544
10544
|
props: {
|
|
10545
10545
|
visible: { type: Boolean },
|
|
@@ -10606,7 +10606,7 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
10606
10606
|
_: 3
|
|
10607
10607
|
}, 8, ["items", "min-item-size", "key-field"]));
|
|
10608
10608
|
}
|
|
10609
|
-
}),
|
|
10609
|
+
}), u5 = /* @__PURE__ */ j(JV, [["__scopeId", "data-v-d9fdb738"]]), zV = {
|
|
10610
10610
|
key: 0,
|
|
10611
10611
|
class: "apf-processing-drawer__subtitle"
|
|
10612
10612
|
}, tV = { class: "apf-processing-drawer__body" }, kV = /* @__PURE__ */ t({
|
|
@@ -10646,7 +10646,7 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
10646
10646
|
}, 8, ["model-value", "title"]);
|
|
10647
10647
|
};
|
|
10648
10648
|
}
|
|
10649
|
-
}),
|
|
10649
|
+
}), M5 = /* @__PURE__ */ j(kV, [["__scopeId", "data-v-6036074a"]]), LV = { class: "apf-conversation-header" }, TV = { class: "apf-conversation-header__identity" }, xV = { class: "apf-conversation-header__copy" }, jV = { class: "apf-conversation-header__meta-row" }, QV = {
|
|
10650
10650
|
key: 0,
|
|
10651
10651
|
class: "apf-conversation-header__label"
|
|
10652
10652
|
}, UV = { class: "apf-conversation-header__actions" }, vV = {
|
|
@@ -10699,16 +10699,16 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
10699
10699
|
])
|
|
10700
10700
|
]));
|
|
10701
10701
|
}
|
|
10702
|
-
}),
|
|
10702
|
+
}), e5 = /* @__PURE__ */ j(OV, [["__scopeId", "data-v-127a684e"]]), EV = ["title"], rV = {
|
|
10703
10703
|
key: 0,
|
|
10704
10704
|
class: "apf-pending-chip__spinner"
|
|
10705
|
-
}, PV = ["
|
|
10706
|
-
key: 2,
|
|
10707
|
-
class: "apf-pending-chip__status"
|
|
10708
|
-
}, qV = {
|
|
10705
|
+
}, PV = ["src", "alt"], fV = ["disabled"], qV = {
|
|
10709
10706
|
key: 3,
|
|
10707
|
+
class: "apf-pending-chip__status"
|
|
10708
|
+
}, _V = {
|
|
10709
|
+
key: 4,
|
|
10710
10710
|
class: "apf-pending-chip__status is-error"
|
|
10711
|
-
},
|
|
10711
|
+
}, $V = /* @__PURE__ */ t({
|
|
10712
10712
|
__name: "PendingAttachmentChip",
|
|
10713
10713
|
props: {
|
|
10714
10714
|
attachment: {}
|
|
@@ -10722,57 +10722,65 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
10722
10722
|
function l() {
|
|
10723
10723
|
g.attachment.status === "done" && Z("preview", g.attachment);
|
|
10724
10724
|
}
|
|
10725
|
-
return (d, m) =>
|
|
10726
|
-
|
|
10727
|
-
|
|
10728
|
-
"
|
|
10729
|
-
|
|
10730
|
-
|
|
10731
|
-
|
|
10732
|
-
|
|
10733
|
-
key: 1,
|
|
10734
|
-
name: A(I.attachment.mimetype),
|
|
10735
|
-
size: 14,
|
|
10736
|
-
class: "apf-pending-chip__icon"
|
|
10737
|
-
}, null, 8, ["name"])),
|
|
10738
|
-
b("button", {
|
|
10739
|
-
type: "button",
|
|
10740
|
-
class: "apf-pending-chip__name",
|
|
10741
|
-
disabled: I.attachment.status !== "done",
|
|
10742
|
-
onClick: l
|
|
10743
|
-
}, V(I.attachment.filename), 9, PV),
|
|
10744
|
-
I.attachment.status === "uploading" ? (c(), s("span", fV, "上传中")) : I.attachment.status === "error" ? (c(), s("span", qV, V(I.attachment.error || "失败"), 1)) : h("", !0),
|
|
10745
|
-
b("button", {
|
|
10746
|
-
type: "button",
|
|
10747
|
-
class: "apf-pending-chip__remove",
|
|
10748
|
-
"aria-label": "移除",
|
|
10749
|
-
onClick: m[0] || (m[0] = (G) => Z("remove", I.attachment.id))
|
|
10725
|
+
return (d, m) => {
|
|
10726
|
+
var G;
|
|
10727
|
+
return c(), s("div", {
|
|
10728
|
+
class: w(["apf-pending-chip", {
|
|
10729
|
+
"is-error": I.attachment.status === "error",
|
|
10730
|
+
"is-clickable": I.attachment.status === "done"
|
|
10731
|
+
}]),
|
|
10732
|
+
title: I.attachment.status === "error" && I.attachment.error || I.attachment.filename
|
|
10750
10733
|
}, [
|
|
10751
|
-
|
|
10752
|
-
|
|
10753
|
-
|
|
10754
|
-
|
|
10755
|
-
|
|
10756
|
-
|
|
10734
|
+
I.attachment.status === "uploading" ? (c(), s("span", rV)) : I.attachment.previewUrl && ((G = I.attachment.mimetype) != null && G.startsWith("image/")) ? (c(), s("img", {
|
|
10735
|
+
key: 1,
|
|
10736
|
+
class: "apf-pending-chip__thumb",
|
|
10737
|
+
src: I.attachment.previewUrl,
|
|
10738
|
+
alt: I.attachment.filename
|
|
10739
|
+
}, null, 8, PV)) : (c(), F(y(v), {
|
|
10740
|
+
key: 2,
|
|
10741
|
+
name: A(I.attachment.mimetype),
|
|
10742
|
+
size: 14,
|
|
10743
|
+
class: "apf-pending-chip__icon"
|
|
10744
|
+
}, null, 8, ["name"])),
|
|
10745
|
+
b("button", {
|
|
10746
|
+
type: "button",
|
|
10747
|
+
class: "apf-pending-chip__name",
|
|
10748
|
+
disabled: I.attachment.status !== "done",
|
|
10749
|
+
onClick: l
|
|
10750
|
+
}, V(I.attachment.filename), 9, fV),
|
|
10751
|
+
I.attachment.status === "uploading" ? (c(), s("span", qV, "上传中")) : I.attachment.status === "error" ? (c(), s("span", _V, V(I.attachment.error || "失败"), 1)) : h("", !0),
|
|
10752
|
+
b("button", {
|
|
10753
|
+
type: "button",
|
|
10754
|
+
class: "apf-pending-chip__remove",
|
|
10755
|
+
"aria-label": "移除",
|
|
10756
|
+
onClick: m[0] || (m[0] = (i) => Z("remove", I.attachment.id))
|
|
10757
|
+
}, [
|
|
10758
|
+
H(y(v), {
|
|
10759
|
+
name: "close",
|
|
10760
|
+
size: 12
|
|
10761
|
+
})
|
|
10762
|
+
])
|
|
10763
|
+
], 10, EV);
|
|
10764
|
+
};
|
|
10757
10765
|
}
|
|
10758
|
-
}),
|
|
10766
|
+
}), K5 = /* @__PURE__ */ j($V, [["__scopeId", "data-v-75e794a8"]]), Ia = {
|
|
10759
10767
|
key: 0,
|
|
10760
10768
|
class: "apf-mention-panel",
|
|
10761
10769
|
role: "listbox"
|
|
10762
|
-
},
|
|
10770
|
+
}, ga = { class: "apf-mention-panel-search" }, Ca = ["placeholder"], Aa = { class: "apf-mention-tabs" }, Za = ["onClick"], la = { class: "apf-mention-results" }, da = {
|
|
10763
10771
|
key: 0,
|
|
10764
10772
|
class: "apf-mention-loading",
|
|
10765
10773
|
"aria-busy": "true"
|
|
10766
|
-
},
|
|
10774
|
+
}, ca = ["onClick", "onMouseenter"], Ga = ["data-type"], ba = { class: "apf-mention-result-info" }, ma = { class: "apf-mention-result-name" }, ia = {
|
|
10767
10775
|
key: 0,
|
|
10768
10776
|
class: "apf-mention-result-meta"
|
|
10769
|
-
},
|
|
10777
|
+
}, sa = {
|
|
10770
10778
|
key: 2,
|
|
10771
10779
|
class: "apf-mention-empty"
|
|
10772
|
-
},
|
|
10780
|
+
}, Wa = {
|
|
10773
10781
|
key: 1,
|
|
10774
10782
|
class: "apf-mention-chips"
|
|
10775
|
-
},
|
|
10783
|
+
}, Ba = { class: "apf-mention-chip-icon" }, Ya = ["onClick"], wa = ["placeholder", "disabled"], oa = /* @__PURE__ */ t({
|
|
10776
10784
|
__name: "MentionInput",
|
|
10777
10785
|
props: {
|
|
10778
10786
|
disabled: { type: Boolean },
|
|
@@ -10898,28 +10906,28 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
10898
10906
|
ref: G,
|
|
10899
10907
|
class: "apf-mention-input"
|
|
10900
10908
|
}, [
|
|
10901
|
-
i.value ? (c(), s("div",
|
|
10902
|
-
b("div",
|
|
10909
|
+
i.value ? (c(), s("div", Ia, [
|
|
10910
|
+
b("div", ga, [
|
|
10903
10911
|
HI(b("input", {
|
|
10904
10912
|
"onUpdate:modelValue": dI[0] || (dI[0] = (CI) => B.value = CI),
|
|
10905
10913
|
class: "apf-mention-panel-input",
|
|
10906
10914
|
type: "text",
|
|
10907
10915
|
placeholder: I.searchPlaceholder,
|
|
10908
10916
|
autocomplete: "off"
|
|
10909
|
-
}, null, 8,
|
|
10917
|
+
}, null, 8, Ca), [
|
|
10910
10918
|
[rI, B.value]
|
|
10911
10919
|
])
|
|
10912
10920
|
]),
|
|
10913
|
-
b("div",
|
|
10921
|
+
b("div", Aa, [
|
|
10914
10922
|
(c(!0), s(z, null, f(I.tabs, (CI) => (c(), s("button", {
|
|
10915
10923
|
key: CI.key,
|
|
10916
10924
|
type: "button",
|
|
10917
10925
|
class: w(["apf-mention-tab", { "is-active": Y.value === CI.key }]),
|
|
10918
10926
|
onClick: (_) => Y.value = CI.key
|
|
10919
|
-
}, V(CI.label), 11,
|
|
10927
|
+
}, V(CI.label), 11, Za))), 128))
|
|
10920
10928
|
]),
|
|
10921
|
-
b("div",
|
|
10922
|
-
N.value ? (c(), s("div",
|
|
10929
|
+
b("div", la, [
|
|
10930
|
+
N.value ? (c(), s("div", da, [...dI[2] || (dI[2] = [
|
|
10923
10931
|
b("span", { class: "apf-mention-loading-dot" }, null, -1),
|
|
10924
10932
|
b("span", { class: "apf-mention-loading-dot" }, null, -1),
|
|
10925
10933
|
b("span", { class: "apf-mention-loading-dot" }, null, -1)
|
|
@@ -10933,27 +10941,27 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
10933
10941
|
b("div", {
|
|
10934
10942
|
class: "apf-mention-badge",
|
|
10935
10943
|
"data-type": CI.type
|
|
10936
|
-
}, V(S(CI.type)), 9,
|
|
10937
|
-
b("div",
|
|
10938
|
-
b("div",
|
|
10939
|
-
CI.description ? (c(), s("div",
|
|
10944
|
+
}, V(S(CI.type)), 9, Ga),
|
|
10945
|
+
b("div", ba, [
|
|
10946
|
+
b("div", ma, V(CI.name), 1),
|
|
10947
|
+
CI.description ? (c(), s("div", ia, V(CI.description), 1)) : h("", !0)
|
|
10940
10948
|
])
|
|
10941
|
-
], 42,
|
|
10949
|
+
], 42, ca))), 128)) : B.value.trim() ? (c(), s("div", sa, V(I.emptyText), 1)) : h("", !0)
|
|
10942
10950
|
])
|
|
10943
10951
|
])) : h("", !0),
|
|
10944
|
-
m.value.length > 0 ? (c(), s("div",
|
|
10952
|
+
m.value.length > 0 ? (c(), s("div", Wa, [
|
|
10945
10953
|
(c(!0), s(z, null, f(m.value, (CI, _) => (c(), s("div", {
|
|
10946
10954
|
key: `${CI.type}-${CI.id}`,
|
|
10947
10955
|
class: "apf-mention-chip"
|
|
10948
10956
|
}, [
|
|
10949
|
-
b("span",
|
|
10957
|
+
b("span", Ba, V(S(CI.type)), 1),
|
|
10950
10958
|
b("span", null, V(CI.label), 1),
|
|
10951
10959
|
b("button", {
|
|
10952
10960
|
type: "button",
|
|
10953
10961
|
class: "apf-mention-chip-remove",
|
|
10954
10962
|
"aria-label": "移除引用",
|
|
10955
10963
|
onClick: (AI) => L(_)
|
|
10956
|
-
}, " × ", 8,
|
|
10964
|
+
}, " × ", 8, Ya)
|
|
10957
10965
|
]))), 128))
|
|
10958
10966
|
])) : h("", !0),
|
|
10959
10967
|
HI(b("textarea", {
|
|
@@ -10966,21 +10974,21 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
10966
10974
|
rows: "1",
|
|
10967
10975
|
onInput: e,
|
|
10968
10976
|
onKeydown: p
|
|
10969
|
-
}, null, 40,
|
|
10977
|
+
}, null, 40, wa), [
|
|
10970
10978
|
[rI, l.value]
|
|
10971
10979
|
])
|
|
10972
10980
|
], 512));
|
|
10973
10981
|
}
|
|
10974
|
-
}),
|
|
10982
|
+
}), p5 = /* @__PURE__ */ j(oa, [["__scopeId", "data-v-467928f5"]]), Va = { class: "apf-thinking-head-main" }, aa = { class: "apf-thinking-titles" }, Na = { class: "apf-thinking-title" }, Xa = {
|
|
10975
10983
|
key: 0,
|
|
10976
10984
|
class: "apf-thinking-badge"
|
|
10977
|
-
},
|
|
10985
|
+
}, ha = { class: "apf-thinking-sub" }, Ra = { class: "apf-thinking-head-aside" }, na = { class: "apf-thinking-status" }, Ha = {
|
|
10978
10986
|
class: "apf-thinking-chevron",
|
|
10979
10987
|
"aria-hidden": "true"
|
|
10980
|
-
},
|
|
10988
|
+
}, ya = {
|
|
10981
10989
|
key: 0,
|
|
10982
10990
|
class: "apf-thinking-body"
|
|
10983
|
-
},
|
|
10991
|
+
}, ua = ["innerHTML"], Ma = /* @__PURE__ */ t({
|
|
10984
10992
|
__name: "ThinkingBlock",
|
|
10985
10993
|
props: {
|
|
10986
10994
|
content: {},
|
|
@@ -11006,7 +11014,7 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
11006
11014
|
class: "apf-thinking-head",
|
|
11007
11015
|
onClick: l
|
|
11008
11016
|
}, [
|
|
11009
|
-
b("div",
|
|
11017
|
+
b("div", Va, [
|
|
11010
11018
|
m[0] || (m[0] = b("span", {
|
|
11011
11019
|
class: "apf-thinking-icon",
|
|
11012
11020
|
"aria-hidden": "true"
|
|
@@ -11033,31 +11041,31 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
11033
11041
|
})
|
|
11034
11042
|
])
|
|
11035
11043
|
], -1)),
|
|
11036
|
-
b("div",
|
|
11037
|
-
b("div",
|
|
11044
|
+
b("div", aa, [
|
|
11045
|
+
b("div", Na, [
|
|
11038
11046
|
E(V(I.title) + " ", 1),
|
|
11039
|
-
I.badge ? (c(), s("span",
|
|
11047
|
+
I.badge ? (c(), s("span", Xa, V(I.badge), 1)) : h("", !0)
|
|
11040
11048
|
]),
|
|
11041
|
-
b("div",
|
|
11049
|
+
b("div", ha, V(g.value ? Z.value : "已完成思考"), 1)
|
|
11042
11050
|
])
|
|
11043
11051
|
]),
|
|
11044
|
-
b("div",
|
|
11045
|
-
b("span",
|
|
11046
|
-
b("span",
|
|
11052
|
+
b("div", Ra, [
|
|
11053
|
+
b("span", na, V(I.statusLabel), 1),
|
|
11054
|
+
b("span", Ha, V(g.value ? "▾" : "▴"), 1)
|
|
11047
11055
|
])
|
|
11048
11056
|
]),
|
|
11049
|
-
g.value ? h("", !0) : (c(), s("div",
|
|
11057
|
+
g.value ? h("", !0) : (c(), s("div", ya, [
|
|
11050
11058
|
b("div", {
|
|
11051
11059
|
class: "apf-thinking-md",
|
|
11052
11060
|
innerHTML: A.value
|
|
11053
|
-
}, null, 8,
|
|
11061
|
+
}, null, 8, ua)
|
|
11054
11062
|
]))
|
|
11055
11063
|
], 2));
|
|
11056
11064
|
}
|
|
11057
|
-
}),
|
|
11065
|
+
}), S5 = /* @__PURE__ */ j(Ma, [["__scopeId", "data-v-ecf2c951"]]), ea = { class: "apf-editable-artifact" }, Ka = { class: "apf-editable-artifact__head" }, pa = { class: "apf-editable-artifact__head-left" }, Sa = { class: "apf-editable-artifact__tag" }, Da = {
|
|
11058
11066
|
key: 0,
|
|
11059
11067
|
class: "apf-editable-artifact__tag is-danger"
|
|
11060
|
-
},
|
|
11068
|
+
}, Fa = { class: "apf-editable-artifact__head-right" }, Ja = { class: "apf-editable-artifact__body" }, za = ["placeholder"], ta = ["srcdoc"], ka = { class: "apf-editable-artifact__footer" }, La = { class: "apf-editable-artifact__hint" }, Ta = /* @__PURE__ */ t({
|
|
11061
11069
|
__name: "EditableArtifactCard",
|
|
11062
11070
|
props: {
|
|
11063
11071
|
content: {},
|
|
@@ -11097,14 +11105,14 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
11097
11105
|
function W() {
|
|
11098
11106
|
A.value.trim() && Z("sendback", A.value, d.value);
|
|
11099
11107
|
}
|
|
11100
|
-
return (N, o) => (c(), s("div",
|
|
11101
|
-
b("div",
|
|
11102
|
-
b("div",
|
|
11108
|
+
return (N, o) => (c(), s("div", ea, [
|
|
11109
|
+
b("div", Ka, [
|
|
11110
|
+
b("div", pa, [
|
|
11103
11111
|
o[3] || (o[3] = b("span", { class: "apf-editable-artifact__title" }, "工件", -1)),
|
|
11104
|
-
b("span",
|
|
11105
|
-
G.value && i.value === !1 ? (c(), s("span",
|
|
11112
|
+
b("span", Sa, V(I.artifactType), 1),
|
|
11113
|
+
G.value && i.value === !1 ? (c(), s("span", Da, "JSON 无效")) : h("", !0)
|
|
11106
11114
|
]),
|
|
11107
|
-
b("div",
|
|
11115
|
+
b("div", Fa, [
|
|
11108
11116
|
m.value ? (c(), s("button", {
|
|
11109
11117
|
key: 0,
|
|
11110
11118
|
type: "button",
|
|
@@ -11131,14 +11139,14 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
11131
11139
|
}, " 复制 ")
|
|
11132
11140
|
])
|
|
11133
11141
|
]),
|
|
11134
|
-
b("div",
|
|
11142
|
+
b("div", Ja, [
|
|
11135
11143
|
l.value === "edit" ? HI((c(), s("textarea", {
|
|
11136
11144
|
key: 0,
|
|
11137
11145
|
"onUpdate:modelValue": o[2] || (o[2] = (R) => A.value = R),
|
|
11138
11146
|
class: "apf-editable-artifact__editor",
|
|
11139
11147
|
placeholder: `可编辑 ${I.artifactType} 内容`,
|
|
11140
11148
|
spellcheck: "false"
|
|
11141
|
-
}, null, 8,
|
|
11149
|
+
}, null, 8, za)), [
|
|
11142
11150
|
[rI, A.value]
|
|
11143
11151
|
]) : (c(), s("iframe", {
|
|
11144
11152
|
key: 1,
|
|
@@ -11146,10 +11154,10 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
11146
11154
|
srcdoc: A.value,
|
|
11147
11155
|
sandbox: "allow-scripts",
|
|
11148
11156
|
title: "artifact preview"
|
|
11149
|
-
}, null, 8,
|
|
11157
|
+
}, null, 8, ta))
|
|
11150
11158
|
]),
|
|
11151
|
-
b("div",
|
|
11152
|
-
b("span",
|
|
11159
|
+
b("div", ka, [
|
|
11160
|
+
b("span", La, V(I.hint), 1),
|
|
11153
11161
|
b("button", {
|
|
11154
11162
|
type: "button",
|
|
11155
11163
|
class: "apf-editable-artifact__send",
|
|
@@ -11158,7 +11166,7 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
11158
11166
|
])
|
|
11159
11167
|
]));
|
|
11160
11168
|
}
|
|
11161
|
-
}),
|
|
11169
|
+
}), D5 = /* @__PURE__ */ j(Ta, [["__scopeId", "data-v-60860f31"]]), xa = /* @__PURE__ */ t({
|
|
11162
11170
|
__name: "MessageActionBar",
|
|
11163
11171
|
props: {
|
|
11164
11172
|
content: {},
|
|
@@ -11313,35 +11321,35 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
11313
11321
|
])], 2)) : h("", !0)
|
|
11314
11322
|
], 2));
|
|
11315
11323
|
}
|
|
11316
|
-
}),
|
|
11324
|
+
}), F5 = /* @__PURE__ */ j(xa, [["__scopeId", "data-v-e20bc750"]]), ja = { class: "apf-step-card__head-left" }, Qa = {
|
|
11317
11325
|
class: "apf-step-card__icon",
|
|
11318
11326
|
"aria-hidden": "true"
|
|
11319
|
-
},
|
|
11327
|
+
}, Ua = {
|
|
11320
11328
|
key: 0,
|
|
11321
11329
|
viewBox: "0 0 16 16",
|
|
11322
11330
|
width: "14",
|
|
11323
11331
|
height: "14"
|
|
11324
|
-
},
|
|
11332
|
+
}, va = {
|
|
11325
11333
|
key: 1,
|
|
11326
11334
|
viewBox: "0 0 16 16",
|
|
11327
11335
|
width: "14",
|
|
11328
11336
|
height: "14"
|
|
11329
|
-
},
|
|
11337
|
+
}, Oa = { class: "apf-step-card__titles" }, Ea = { class: "apf-step-card__title" }, ra = {
|
|
11330
11338
|
key: 0,
|
|
11331
11339
|
class: "apf-step-card__badge"
|
|
11332
|
-
},
|
|
11340
|
+
}, Pa = {
|
|
11333
11341
|
key: 0,
|
|
11334
11342
|
class: "apf-step-card__subtitle"
|
|
11335
|
-
},
|
|
11343
|
+
}, fa = { class: "apf-step-card__head-right" }, qa = {
|
|
11336
11344
|
key: 0,
|
|
11337
11345
|
class: "apf-step-card__time"
|
|
11338
|
-
},
|
|
11346
|
+
}, _a = {
|
|
11339
11347
|
key: 1,
|
|
11340
11348
|
class: "apf-step-card__status"
|
|
11341
|
-
},
|
|
11349
|
+
}, $a = {
|
|
11342
11350
|
class: "apf-step-card__chevron",
|
|
11343
11351
|
"aria-hidden": "true"
|
|
11344
|
-
},
|
|
11352
|
+
}, IN = { class: "apf-step-card__body" }, gN = /* @__PURE__ */ t({
|
|
11345
11353
|
__name: "CollapsibleStepCard",
|
|
11346
11354
|
props: {
|
|
11347
11355
|
title: {},
|
|
@@ -11375,10 +11383,10 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
11375
11383
|
class: "apf-step-card__head",
|
|
11376
11384
|
onClick: d
|
|
11377
11385
|
}, [
|
|
11378
|
-
b("div",
|
|
11379
|
-
b("span",
|
|
11386
|
+
b("div", ja, [
|
|
11387
|
+
b("span", Qa, [
|
|
11380
11388
|
II(m.$slots, "icon", {}, () => [
|
|
11381
|
-
I.tone === "error" ? (c(), s("svg",
|
|
11389
|
+
I.tone === "error" ? (c(), s("svg", Ua, [...G[0] || (G[0] = [
|
|
11382
11390
|
b("circle", {
|
|
11383
11391
|
cx: "8",
|
|
11384
11392
|
cy: "8",
|
|
@@ -11394,7 +11402,7 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
11394
11402
|
"stroke-width": "1.4",
|
|
11395
11403
|
"stroke-linecap": "round"
|
|
11396
11404
|
}, null, -1)
|
|
11397
|
-
])])) : (c(), s("svg",
|
|
11405
|
+
])])) : (c(), s("svg", va, [...G[1] || (G[1] = [
|
|
11398
11406
|
b("rect", {
|
|
11399
11407
|
x: "3",
|
|
11400
11408
|
y: "3",
|
|
@@ -11415,34 +11423,34 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
11415
11423
|
])]))
|
|
11416
11424
|
], !0)
|
|
11417
11425
|
]),
|
|
11418
|
-
b("div",
|
|
11419
|
-
b("div",
|
|
11426
|
+
b("div", Oa, [
|
|
11427
|
+
b("div", Ea, [
|
|
11420
11428
|
E(V(I.title) + " ", 1),
|
|
11421
|
-
I.badge ? (c(), s("span",
|
|
11429
|
+
I.badge ? (c(), s("span", ra, V(I.badge), 1)) : h("", !0)
|
|
11422
11430
|
]),
|
|
11423
|
-
I.subtitle ? (c(), s("div",
|
|
11431
|
+
I.subtitle ? (c(), s("div", Pa, V(I.subtitle), 1)) : h("", !0)
|
|
11424
11432
|
])
|
|
11425
11433
|
]),
|
|
11426
|
-
b("div",
|
|
11427
|
-
I.timestamp ? (c(), s("span",
|
|
11428
|
-
I.statusLabel ? (c(), s("span",
|
|
11434
|
+
b("div", fa, [
|
|
11435
|
+
I.timestamp ? (c(), s("span", qa, V(I.timestamp), 1)) : h("", !0),
|
|
11436
|
+
I.statusLabel ? (c(), s("span", _a, [
|
|
11429
11437
|
G[2] || (G[2] = b("i", { class: "apf-step-card__dot" }, null, -1)),
|
|
11430
11438
|
E(" " + V(I.statusLabel), 1)
|
|
11431
11439
|
])) : h("", !0),
|
|
11432
|
-
b("span",
|
|
11440
|
+
b("span", $a, V(l() ? "▾" : "▴"), 1)
|
|
11433
11441
|
])
|
|
11434
11442
|
]),
|
|
11435
|
-
HI(b("div",
|
|
11443
|
+
HI(b("div", IN, [
|
|
11436
11444
|
II(m.$slots, "default", {}, void 0, !0)
|
|
11437
11445
|
], 512), [
|
|
11438
11446
|
[BA, !l()]
|
|
11439
11447
|
])
|
|
11440
11448
|
], 2));
|
|
11441
11449
|
}
|
|
11442
|
-
}),
|
|
11450
|
+
}), J5 = /* @__PURE__ */ j(gN, [["__scopeId", "data-v-9cc9ff88"]]), CN = { class: "apf-agent-transfer" }, AN = { class: "apf-agent-transfer__row" }, ZN = { class: "apf-agent-transfer__pill" }, lN = { class: "apf-agent-transfer__pill is-target" }, dN = {
|
|
11443
11451
|
key: 0,
|
|
11444
11452
|
class: "apf-agent-transfer__reason"
|
|
11445
|
-
},
|
|
11453
|
+
}, cN = /* @__PURE__ */ t({
|
|
11446
11454
|
__name: "AgentTransferCard",
|
|
11447
11455
|
props: {
|
|
11448
11456
|
fromLabel: {},
|
|
@@ -11450,22 +11458,22 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
11450
11458
|
reason: {}
|
|
11451
11459
|
},
|
|
11452
11460
|
setup(I) {
|
|
11453
|
-
return (C, g) => (c(), s("div",
|
|
11454
|
-
b("div",
|
|
11455
|
-
b("span",
|
|
11461
|
+
return (C, g) => (c(), s("div", CN, [
|
|
11462
|
+
b("div", AN, [
|
|
11463
|
+
b("span", ZN, V(I.fromLabel), 1),
|
|
11456
11464
|
g[0] || (g[0] = b("span", {
|
|
11457
11465
|
class: "apf-agent-transfer__arrow",
|
|
11458
11466
|
"aria-hidden": "true"
|
|
11459
11467
|
}, "→", -1)),
|
|
11460
|
-
b("span",
|
|
11468
|
+
b("span", lN, V(I.toLabel), 1)
|
|
11461
11469
|
]),
|
|
11462
|
-
I.reason ? (c(), s("p",
|
|
11470
|
+
I.reason ? (c(), s("p", dN, V(I.reason), 1)) : h("", !0)
|
|
11463
11471
|
]));
|
|
11464
11472
|
}
|
|
11465
|
-
}),
|
|
11473
|
+
}), z5 = /* @__PURE__ */ j(cN, [["__scopeId", "data-v-ec98ad49"]]), GN = { class: "apf-field-list-card__head" }, bN = { class: "apf-field-list-card__head-left" }, mN = { class: "apf-field-list-card__title" }, iN = { class: "apf-field-list-card__badge" }, sN = { class: "apf-field-list-card__body" }, WN = { class: "apf-field-list-card__info" }, BN = { class: "apf-field-list-card__name" }, YN = { class: "apf-field-list-card__type" }, wN = {
|
|
11466
11474
|
key: 0,
|
|
11467
11475
|
class: "apf-field-list-card__actions"
|
|
11468
|
-
},
|
|
11476
|
+
}, oN = /* @__PURE__ */ t({
|
|
11469
11477
|
__name: "FieldListCard",
|
|
11470
11478
|
props: {
|
|
11471
11479
|
title: {},
|
|
@@ -11481,8 +11489,8 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
11481
11489
|
return (l, d) => (c(), s("div", {
|
|
11482
11490
|
class: w(["apf-field-list-card", { "is-compact": I.compact }])
|
|
11483
11491
|
}, [
|
|
11484
|
-
b("div",
|
|
11485
|
-
b("div",
|
|
11492
|
+
b("div", GN, [
|
|
11493
|
+
b("div", bN, [
|
|
11486
11494
|
d[2] || (d[2] = b("span", {
|
|
11487
11495
|
class: "apf-field-list-card__icon",
|
|
11488
11496
|
"aria-hidden": "true"
|
|
@@ -11511,18 +11519,18 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
11511
11519
|
})
|
|
11512
11520
|
])
|
|
11513
11521
|
], -1)),
|
|
11514
|
-
b("span",
|
|
11522
|
+
b("span", mN, V(I.title), 1)
|
|
11515
11523
|
]),
|
|
11516
|
-
b("span",
|
|
11524
|
+
b("span", iN, V(A()), 1)
|
|
11517
11525
|
]),
|
|
11518
|
-
b("div",
|
|
11526
|
+
b("div", sN, [
|
|
11519
11527
|
(c(!0), s(z, null, f(I.fields, (m, G) => (c(), s("div", {
|
|
11520
11528
|
key: G,
|
|
11521
11529
|
class: "apf-field-list-card__row"
|
|
11522
11530
|
}, [
|
|
11523
|
-
b("div",
|
|
11524
|
-
b("div",
|
|
11525
|
-
b("div",
|
|
11531
|
+
b("div", WN, [
|
|
11532
|
+
b("div", BN, V(m.name), 1),
|
|
11533
|
+
b("div", YN, [
|
|
11526
11534
|
E(V(m.type), 1),
|
|
11527
11535
|
m.meta ? (c(), s(z, { key: 0 }, [
|
|
11528
11536
|
E(" · " + V(m.meta), 1)
|
|
@@ -11534,7 +11542,7 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
11534
11542
|
}, V(m.required ? "必填" : "可选"), 3)
|
|
11535
11543
|
]))), 128))
|
|
11536
11544
|
]),
|
|
11537
|
-
!I.compact && (I.primaryAction || I.secondaryAction) ? (c(), s("div",
|
|
11545
|
+
!I.compact && (I.primaryAction || I.secondaryAction) ? (c(), s("div", wN, [
|
|
11538
11546
|
I.secondaryAction ? (c(), s("button", {
|
|
11539
11547
|
key: 0,
|
|
11540
11548
|
type: "button",
|
|
@@ -11550,14 +11558,14 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
11550
11558
|
])) : h("", !0)
|
|
11551
11559
|
], 2));
|
|
11552
11560
|
}
|
|
11553
|
-
}),
|
|
11561
|
+
}), t5 = /* @__PURE__ */ j(oN, [["__scopeId", "data-v-ee1ab2b6"]]), VN = { class: "apf-flow-strip__head" }, aN = { class: "apf-flow-strip__head-left" }, NN = { class: "apf-flow-strip__title" }, XN = { class: "apf-flow-strip__badge" }, hN = { class: "apf-flow-strip__body" }, RN = {
|
|
11554
11562
|
key: 0,
|
|
11555
11563
|
class: "apf-flow-strip__arrow",
|
|
11556
11564
|
"aria-hidden": "true"
|
|
11557
|
-
},
|
|
11565
|
+
}, nN = ["data-type"], HN = {
|
|
11558
11566
|
key: 0,
|
|
11559
11567
|
class: "apf-flow-strip__actions"
|
|
11560
|
-
},
|
|
11568
|
+
}, yN = /* @__PURE__ */ t({
|
|
11561
11569
|
__name: "FlowNodeStripCard",
|
|
11562
11570
|
props: {
|
|
11563
11571
|
title: {},
|
|
@@ -11573,23 +11581,23 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
11573
11581
|
return (l, d) => (c(), s("div", {
|
|
11574
11582
|
class: w(["apf-flow-strip", { "is-compact": I.compact }])
|
|
11575
11583
|
}, [
|
|
11576
|
-
b("div",
|
|
11577
|
-
b("div",
|
|
11584
|
+
b("div", VN, [
|
|
11585
|
+
b("div", aN, [
|
|
11578
11586
|
d[2] || (d[2] = Xd('<span class="apf-flow-strip__icon" aria-hidden="true" data-v-1fea171e><svg viewBox="0 0 16 16" width="14" height="14" data-v-1fea171e><circle cx="4" cy="8" r="2" fill="none" stroke="currentColor" stroke-width="1.3" data-v-1fea171e></circle><circle cx="12" cy="8" r="2" fill="none" stroke="currentColor" stroke-width="1.3" data-v-1fea171e></circle><path d="M6 8h4" fill="none" stroke="currentColor" stroke-width="1.3" data-v-1fea171e></path></svg></span>', 1)),
|
|
11579
|
-
b("span",
|
|
11587
|
+
b("span", NN, V(I.title), 1)
|
|
11580
11588
|
]),
|
|
11581
|
-
b("span",
|
|
11589
|
+
b("span", XN, V(A()), 1)
|
|
11582
11590
|
]),
|
|
11583
|
-
b("div",
|
|
11591
|
+
b("div", hN, [
|
|
11584
11592
|
(c(!0), s(z, null, f(I.nodes, (m, G) => (c(), s(z, { key: G }, [
|
|
11585
|
-
G > 0 ? (c(), s("div",
|
|
11593
|
+
G > 0 ? (c(), s("div", RN)) : h("", !0),
|
|
11586
11594
|
b("div", {
|
|
11587
11595
|
class: "apf-flow-strip__node",
|
|
11588
11596
|
"data-type": m.type
|
|
11589
|
-
}, V(m.label), 9,
|
|
11597
|
+
}, V(m.label), 9, nN)
|
|
11590
11598
|
], 64))), 128))
|
|
11591
11599
|
]),
|
|
11592
|
-
!I.compact && (I.primaryAction || I.secondaryAction) ? (c(), s("div",
|
|
11600
|
+
!I.compact && (I.primaryAction || I.secondaryAction) ? (c(), s("div", HN, [
|
|
11593
11601
|
I.secondaryAction ? (c(), s("button", {
|
|
11594
11602
|
key: 0,
|
|
11595
11603
|
type: "button",
|
|
@@ -11605,16 +11613,16 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
11605
11613
|
])) : h("", !0)
|
|
11606
11614
|
], 2));
|
|
11607
11615
|
}
|
|
11608
|
-
}),
|
|
11616
|
+
}), k5 = /* @__PURE__ */ j(yN, [["__scopeId", "data-v-1fea171e"]]), uN = { class: "apf-token-usage" }, MN = { class: "apf-token-usage__head" }, eN = { class: "apf-token-usage__title" }, KN = { class: "apf-token-usage__body" }, pN = { class: "apf-token-usage__stats" }, SN = { class: "apf-token-usage__stat" }, DN = { class: "apf-token-usage__value" }, FN = { class: "apf-token-usage__stat" }, JN = { class: "apf-token-usage__value" }, zN = { class: "apf-token-usage__stat is-total" }, tN = { class: "apf-token-usage__value" }, kN = {
|
|
11609
11617
|
key: 0,
|
|
11610
11618
|
class: "apf-token-usage__footer"
|
|
11611
|
-
},
|
|
11619
|
+
}, LN = {
|
|
11612
11620
|
key: 0,
|
|
11613
11621
|
class: "apf-token-usage__model"
|
|
11614
|
-
},
|
|
11622
|
+
}, TN = {
|
|
11615
11623
|
key: 1,
|
|
11616
11624
|
class: "apf-token-usage__cost"
|
|
11617
|
-
},
|
|
11625
|
+
}, xN = /* @__PURE__ */ t({
|
|
11618
11626
|
__name: "TokenUsageCard",
|
|
11619
11627
|
props: {
|
|
11620
11628
|
inputTokens: {},
|
|
@@ -11634,48 +11642,48 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
11634
11642
|
const l = C.estimatedCost;
|
|
11635
11643
|
return l == null ? null : l < 0.01 ? "<$0.01" : `$${l.toFixed(4)}`;
|
|
11636
11644
|
});
|
|
11637
|
-
return (l, d) => (c(), s("div",
|
|
11638
|
-
b("div",
|
|
11639
|
-
b("span",
|
|
11645
|
+
return (l, d) => (c(), s("div", uN, [
|
|
11646
|
+
b("div", MN, [
|
|
11647
|
+
b("span", eN, V(I.title || "Token 消耗"), 1)
|
|
11640
11648
|
]),
|
|
11641
|
-
b("div",
|
|
11642
|
-
b("div",
|
|
11643
|
-
b("div",
|
|
11649
|
+
b("div", KN, [
|
|
11650
|
+
b("div", pN, [
|
|
11651
|
+
b("div", SN, [
|
|
11644
11652
|
d[0] || (d[0] = b("span", { class: "apf-token-usage__label" }, "输入", -1)),
|
|
11645
|
-
b("span",
|
|
11653
|
+
b("span", DN, V(I.inputTokens.toLocaleString()), 1)
|
|
11646
11654
|
]),
|
|
11647
|
-
b("div",
|
|
11655
|
+
b("div", FN, [
|
|
11648
11656
|
d[1] || (d[1] = b("span", { class: "apf-token-usage__label" }, "输出", -1)),
|
|
11649
|
-
b("span",
|
|
11657
|
+
b("span", JN, V(I.outputTokens.toLocaleString()), 1)
|
|
11650
11658
|
]),
|
|
11651
|
-
b("div",
|
|
11659
|
+
b("div", zN, [
|
|
11652
11660
|
d[2] || (d[2] = b("span", { class: "apf-token-usage__label" }, "总计", -1)),
|
|
11653
|
-
b("span",
|
|
11661
|
+
b("span", tN, V(Z.value), 1)
|
|
11654
11662
|
])
|
|
11655
11663
|
]),
|
|
11656
|
-
A.value || I.model ? (c(), s("div",
|
|
11657
|
-
I.model ? (c(), s("span",
|
|
11658
|
-
A.value ? (c(), s("span",
|
|
11664
|
+
A.value || I.model ? (c(), s("div", kN, [
|
|
11665
|
+
I.model ? (c(), s("span", LN, V(I.model), 1)) : h("", !0),
|
|
11666
|
+
A.value ? (c(), s("span", TN, V(A.value), 1)) : h("", !0)
|
|
11659
11667
|
])) : h("", !0)
|
|
11660
11668
|
])
|
|
11661
11669
|
]));
|
|
11662
11670
|
}
|
|
11663
|
-
}),
|
|
11671
|
+
}), L5 = /* @__PURE__ */ j(xN, [["__scopeId", "data-v-0aacc361"]]), jN = { class: "apf-questionnaire" }, QN = { class: "apf-questionnaire__head" }, UN = { class: "apf-questionnaire__title" }, vN = ["data-status"], ON = {
|
|
11664
11672
|
key: 0,
|
|
11665
11673
|
class: "apf-questionnaire__desc"
|
|
11666
|
-
},
|
|
11674
|
+
}, EN = {
|
|
11667
11675
|
key: 1,
|
|
11668
11676
|
class: "apf-questionnaire__list"
|
|
11669
|
-
},
|
|
11677
|
+
}, rN = { class: "apf-questionnaire__q" }, PN = {
|
|
11670
11678
|
key: 0,
|
|
11671
11679
|
class: "apf-questionnaire__req"
|
|
11672
|
-
},
|
|
11680
|
+
}, fN = {
|
|
11673
11681
|
key: 0,
|
|
11674
11682
|
class: "apf-questionnaire__options"
|
|
11675
|
-
},
|
|
11683
|
+
}, qN = ["name", "value", "checked", "disabled", "onChange"], _N = ["value", "disabled", "onInput"], $N = {
|
|
11676
11684
|
key: 2,
|
|
11677
11685
|
class: "apf-questionnaire__actions"
|
|
11678
|
-
},
|
|
11686
|
+
}, IX = ["disabled"], gX = /* @__PURE__ */ t({
|
|
11679
11687
|
__name: "QuestionnaireCard",
|
|
11680
11688
|
props: {
|
|
11681
11689
|
title: {},
|
|
@@ -11690,27 +11698,27 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
11690
11698
|
emits: ["answer", "approve", "reject"],
|
|
11691
11699
|
setup(I, { emit: C }) {
|
|
11692
11700
|
const g = I, Z = C, A = () => g.status === "approved" ? "已批准" : g.status === "rejected" ? "已拒绝" : "待审批", l = () => g.questions.filter((G) => G.required).every((G) => !!g.answers[G.id]), d = () => g.status === "waiting" && !g.disabled;
|
|
11693
|
-
return (m, G) => (c(), s("div",
|
|
11694
|
-
b("div",
|
|
11695
|
-
b("span",
|
|
11701
|
+
return (m, G) => (c(), s("div", jN, [
|
|
11702
|
+
b("div", QN, [
|
|
11703
|
+
b("span", UN, V(I.title), 1),
|
|
11696
11704
|
b("span", {
|
|
11697
11705
|
class: "apf-questionnaire__status",
|
|
11698
11706
|
"data-status": I.status
|
|
11699
|
-
}, V(A()), 9,
|
|
11707
|
+
}, V(A()), 9, vN)
|
|
11700
11708
|
]),
|
|
11701
|
-
I.description ? (c(), s("p",
|
|
11702
|
-
I.questions.length ? (c(), s("div",
|
|
11709
|
+
I.description ? (c(), s("p", ON, V(I.description), 1)) : h("", !0),
|
|
11710
|
+
I.questions.length ? (c(), s("div", EN, [
|
|
11703
11711
|
(c(!0), s(z, null, f(I.questions, (i) => {
|
|
11704
11712
|
var B;
|
|
11705
11713
|
return c(), s("div", {
|
|
11706
11714
|
key: i.id,
|
|
11707
11715
|
class: "apf-questionnaire__item"
|
|
11708
11716
|
}, [
|
|
11709
|
-
b("div",
|
|
11710
|
-
i.required ? (c(), s("span",
|
|
11717
|
+
b("div", rN, [
|
|
11718
|
+
i.required ? (c(), s("span", PN, "*")) : h("", !0),
|
|
11711
11719
|
E(" " + V(i.question), 1)
|
|
11712
11720
|
]),
|
|
11713
|
-
(B = i.options) != null && B.length ? (c(), s("div",
|
|
11721
|
+
(B = i.options) != null && B.length ? (c(), s("div", fN, [
|
|
11714
11722
|
(c(!0), s(z, null, f(i.options, (Y) => (c(), s("label", {
|
|
11715
11723
|
key: Y,
|
|
11716
11724
|
class: "apf-questionnaire__opt"
|
|
@@ -11722,7 +11730,7 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
11722
11730
|
checked: I.answers[i.id] === Y,
|
|
11723
11731
|
disabled: !d(),
|
|
11724
11732
|
onChange: (W) => Z("answer", i.id, Y)
|
|
11725
|
-
}, null, 40,
|
|
11733
|
+
}, null, 40, qN),
|
|
11726
11734
|
E(" " + V(Y), 1)
|
|
11727
11735
|
]))), 128))
|
|
11728
11736
|
])) : (c(), s("input", {
|
|
@@ -11733,11 +11741,11 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
11733
11741
|
placeholder: "请输入...",
|
|
11734
11742
|
disabled: !d(),
|
|
11735
11743
|
onInput: (Y) => Z("answer", i.id, Y.target.value)
|
|
11736
|
-
}, null, 40,
|
|
11744
|
+
}, null, 40, _N))
|
|
11737
11745
|
]);
|
|
11738
11746
|
}), 128))
|
|
11739
11747
|
])) : h("", !0),
|
|
11740
|
-
d() ? (c(), s("div",
|
|
11748
|
+
d() ? (c(), s("div", $N, [
|
|
11741
11749
|
b("button", {
|
|
11742
11750
|
type: "button",
|
|
11743
11751
|
class: "apf-questionnaire__btn is-ghost",
|
|
@@ -11748,11 +11756,11 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
11748
11756
|
class: "apf-questionnaire__btn is-primary",
|
|
11749
11757
|
disabled: !l(),
|
|
11750
11758
|
onClick: G[1] || (G[1] = (i) => Z("approve"))
|
|
11751
|
-
}, V(I.approveLabel), 9,
|
|
11759
|
+
}, V(I.approveLabel), 9, IX)
|
|
11752
11760
|
])) : h("", !0)
|
|
11753
11761
|
]));
|
|
11754
11762
|
}
|
|
11755
|
-
}),
|
|
11763
|
+
}), T5 = /* @__PURE__ */ j(gX, [["__scopeId", "data-v-0e4beff5"]]), CX = ["onClick"], AX = ["onClick"], ZX = { key: 0 }, lX = { key: 1 }, dX = /* @__PURE__ */ t({
|
|
11756
11764
|
__name: "ChecklistProposalCard",
|
|
11757
11765
|
props: {
|
|
11758
11766
|
proposal: {},
|
|
@@ -11938,8 +11946,8 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
11938
11946
|
name: "edit",
|
|
11939
11947
|
size: 12
|
|
11940
11948
|
})
|
|
11941
|
-
], 10,
|
|
11942
|
-
], 10,
|
|
11949
|
+
], 10, AX)) : h("", !0)
|
|
11950
|
+
], 10, CX),
|
|
11943
11951
|
B.value === K.id ? (c(), s("div", {
|
|
11944
11952
|
key: 0,
|
|
11945
11953
|
class: w(n.$style.editForm)
|
|
@@ -12052,14 +12060,14 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
12052
12060
|
b("div", {
|
|
12053
12061
|
class: w(n.$style.itemMeta)
|
|
12054
12062
|
}, [
|
|
12055
|
-
K.assignee ? (c(), s("span",
|
|
12063
|
+
K.assignee ? (c(), s("span", ZX, [
|
|
12056
12064
|
H(y(v), {
|
|
12057
12065
|
name: "user",
|
|
12058
12066
|
size: 12
|
|
12059
12067
|
}),
|
|
12060
12068
|
E(" " + V(K.assignee), 1)
|
|
12061
12069
|
])) : h("", !0),
|
|
12062
|
-
K.deadline ? (c(), s("span",
|
|
12070
|
+
K.deadline ? (c(), s("span", lX, [
|
|
12063
12071
|
H(y(v), {
|
|
12064
12072
|
name: "clock",
|
|
12065
12073
|
size: 12
|
|
@@ -12128,56 +12136,56 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
12128
12136
|
], 2);
|
|
12129
12137
|
};
|
|
12130
12138
|
}
|
|
12131
|
-
}),
|
|
12132
|
-
card:
|
|
12133
|
-
cardApproved:
|
|
12134
|
-
cardRejected:
|
|
12135
|
-
header:
|
|
12136
|
-
titleRow:
|
|
12137
|
-
title:
|
|
12138
|
-
docTitle:
|
|
12139
|
-
countBadge:
|
|
12140
|
-
statusBadge:
|
|
12141
|
-
statusApproved:
|
|
12142
|
-
statusRejected:
|
|
12143
|
-
summary:
|
|
12144
|
-
selectAllRow:
|
|
12145
|
-
checkbox:
|
|
12146
|
-
checkboxInner:
|
|
12147
|
-
checked:
|
|
12148
|
-
itemList:
|
|
12149
|
-
item:
|
|
12150
|
-
itemSelected:
|
|
12151
|
-
itemEditing:
|
|
12152
|
-
itemHeader:
|
|
12153
|
-
itemBadges:
|
|
12154
|
-
priorityBadge:
|
|
12155
|
-
typeBadge:
|
|
12156
|
-
itemTitle:
|
|
12157
|
-
editBtn:
|
|
12158
|
-
itemBody:
|
|
12159
|
-
itemDesc:
|
|
12160
|
-
itemMeta:
|
|
12161
|
-
editForm:
|
|
12162
|
-
editRow:
|
|
12163
|
-
editInput:
|
|
12164
|
-
editTextarea:
|
|
12165
|
-
editSelect:
|
|
12166
|
-
editRowInline:
|
|
12167
|
-
editActions:
|
|
12168
|
-
saveBtn:
|
|
12169
|
-
cancelBtn:
|
|
12170
|
-
chain:
|
|
12171
|
-
chainLabel:
|
|
12172
|
-
chainPerson:
|
|
12173
|
-
chainArrow:
|
|
12174
|
-
actions:
|
|
12175
|
-
approveBtn:
|
|
12176
|
-
rejectBtn:
|
|
12177
|
-
resetBtn:
|
|
12178
|
-
},
|
|
12179
|
-
$style:
|
|
12180
|
-
},
|
|
12139
|
+
}), cX = "_card_yghuq_2", GX = "_cardApproved_yghuq_9", bX = "_cardRejected_yghuq_14", mX = "_header_yghuq_20", iX = "_titleRow_yghuq_27", sX = "_title_yghuq_27", WX = "_docTitle_yghuq_39", BX = "_countBadge_yghuq_47", YX = "_statusBadge_yghuq_53", wX = "_statusApproved_yghuq_63", oX = "_statusRejected_yghuq_68", VX = "_summary_yghuq_74", aX = "_selectAllRow_yghuq_85", NX = "_checkbox_yghuq_89", XX = "_checkboxInner_yghuq_99", hX = "_checked_yghuq_110", RX = "_itemList_yghuq_117", nX = "_item_yghuq_117", HX = "_itemSelected_yghuq_136", yX = "_itemEditing_yghuq_141", uX = "_itemHeader_yghuq_145", MX = "_itemBadges_yghuq_151", eX = "_priorityBadge_yghuq_156", KX = "_typeBadge_yghuq_163", pX = "_itemTitle_yghuq_171", SX = "_editBtn_yghuq_178", DX = "_itemBody_yghuq_194", FX = "_itemDesc_yghuq_199", JX = "_itemMeta_yghuq_206", zX = "_editForm_yghuq_220", tX = "_editRow_yghuq_225", kX = "_editInput_yghuq_236", LX = "_editTextarea_yghuq_237", TX = "_editSelect_yghuq_238", xX = "_editRowInline_yghuq_260", jX = "_editActions_yghuq_270", QX = "_saveBtn_yghuq_276", UX = "_cancelBtn_yghuq_277", vX = "_chain_yghuq_309", OX = "_chainLabel_yghuq_321", EX = "_chainPerson_yghuq_325", rX = "_chainArrow_yghuq_331", PX = "_actions_yghuq_337", fX = "_approveBtn_yghuq_344", qX = "_rejectBtn_yghuq_345", _X = "_resetBtn_yghuq_346", $X = {
|
|
12140
|
+
card: cX,
|
|
12141
|
+
cardApproved: GX,
|
|
12142
|
+
cardRejected: bX,
|
|
12143
|
+
header: mX,
|
|
12144
|
+
titleRow: iX,
|
|
12145
|
+
title: sX,
|
|
12146
|
+
docTitle: WX,
|
|
12147
|
+
countBadge: BX,
|
|
12148
|
+
statusBadge: YX,
|
|
12149
|
+
statusApproved: wX,
|
|
12150
|
+
statusRejected: oX,
|
|
12151
|
+
summary: VX,
|
|
12152
|
+
selectAllRow: aX,
|
|
12153
|
+
checkbox: NX,
|
|
12154
|
+
checkboxInner: XX,
|
|
12155
|
+
checked: hX,
|
|
12156
|
+
itemList: RX,
|
|
12157
|
+
item: nX,
|
|
12158
|
+
itemSelected: HX,
|
|
12159
|
+
itemEditing: yX,
|
|
12160
|
+
itemHeader: uX,
|
|
12161
|
+
itemBadges: MX,
|
|
12162
|
+
priorityBadge: eX,
|
|
12163
|
+
typeBadge: KX,
|
|
12164
|
+
itemTitle: pX,
|
|
12165
|
+
editBtn: SX,
|
|
12166
|
+
itemBody: DX,
|
|
12167
|
+
itemDesc: FX,
|
|
12168
|
+
itemMeta: JX,
|
|
12169
|
+
editForm: zX,
|
|
12170
|
+
editRow: tX,
|
|
12171
|
+
editInput: kX,
|
|
12172
|
+
editTextarea: LX,
|
|
12173
|
+
editSelect: TX,
|
|
12174
|
+
editRowInline: xX,
|
|
12175
|
+
editActions: jX,
|
|
12176
|
+
saveBtn: QX,
|
|
12177
|
+
cancelBtn: UX,
|
|
12178
|
+
chain: vX,
|
|
12179
|
+
chainLabel: OX,
|
|
12180
|
+
chainPerson: EX,
|
|
12181
|
+
chainArrow: rX,
|
|
12182
|
+
actions: PX,
|
|
12183
|
+
approveBtn: fX,
|
|
12184
|
+
rejectBtn: qX,
|
|
12185
|
+
resetBtn: _X
|
|
12186
|
+
}, Ih = {
|
|
12187
|
+
$style: $X
|
|
12188
|
+
}, x5 = /* @__PURE__ */ j(dX, [["__cssModules", Ih]]), gh = ["onClick"], Ch = /* @__PURE__ */ t({
|
|
12181
12189
|
__name: "RequirementAnalysisCard",
|
|
12182
12190
|
props: {
|
|
12183
12191
|
analysis: {},
|
|
@@ -12428,7 +12436,7 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
12428
12436
|
b("span", {
|
|
12429
12437
|
class: w(W.$style.optionText)
|
|
12430
12438
|
}, V(S), 3)
|
|
12431
|
-
], 10,
|
|
12439
|
+
], 10, gh))), 128))
|
|
12432
12440
|
], 2)) : Y(X.id) ? (c(), s("div", {
|
|
12433
12441
|
key: 2,
|
|
12434
12442
|
class: w(W.$style.inputHint)
|
|
@@ -12449,62 +12457,62 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
12449
12457
|
], 2);
|
|
12450
12458
|
};
|
|
12451
12459
|
}
|
|
12452
|
-
}),
|
|
12453
|
-
card:
|
|
12454
|
-
summary:
|
|
12455
|
-
summaryHeader:
|
|
12456
|
-
summaryTitle:
|
|
12457
|
-
summaryGrid:
|
|
12458
|
-
summaryItem:
|
|
12459
|
-
summaryLabel:
|
|
12460
|
-
summaryValue:
|
|
12461
|
-
missingSection:
|
|
12462
|
-
missingTitle:
|
|
12463
|
-
missingList:
|
|
12464
|
-
assumptionsSection:
|
|
12465
|
-
assumptionsTitle:
|
|
12466
|
-
assumptionsList:
|
|
12467
|
-
chainSection:
|
|
12468
|
-
chainTitle:
|
|
12469
|
-
chainList:
|
|
12470
|
-
chainItem:
|
|
12471
|
-
chainStep:
|
|
12472
|
-
chainContent:
|
|
12473
|
-
chainAgent:
|
|
12474
|
-
chainDesc:
|
|
12475
|
-
questionsSection:
|
|
12476
|
-
questionsTitle:
|
|
12477
|
-
progressHint:
|
|
12478
|
-
questionItemActive:
|
|
12479
|
-
questionItemDone:
|
|
12480
|
-
answeredIcon:
|
|
12481
|
-
answeredValue:
|
|
12482
|
-
inputHint:
|
|
12483
|
-
optionDisabled:
|
|
12484
|
-
questionsList:
|
|
12485
|
-
questionItem:
|
|
12486
|
-
questionText:
|
|
12487
|
-
required:
|
|
12488
|
-
optionsList:
|
|
12489
|
-
optionItem:
|
|
12490
|
-
optionSelected:
|
|
12491
|
-
optionIndex:
|
|
12492
|
-
optionText:
|
|
12493
|
-
actions:
|
|
12494
|
-
skipLink:
|
|
12495
|
-
},
|
|
12496
|
-
$style:
|
|
12497
|
-
},
|
|
12498
|
-
card:
|
|
12499
|
-
header:
|
|
12500
|
-
title:
|
|
12501
|
-
filename:
|
|
12502
|
-
summary:
|
|
12503
|
-
points:
|
|
12504
|
-
section:
|
|
12505
|
-
sectionTitle:
|
|
12506
|
-
sectionContent:
|
|
12507
|
-
},
|
|
12460
|
+
}), Ah = "_card_8r8st_2", Zh = "_summary_8r8st_10", lh = "_summaryHeader_8r8st_15", dh = "_summaryTitle_8r8st_24", ch = "_summaryGrid_8r8st_28", Gh = "_summaryItem_8r8st_34", bh = "_summaryLabel_8r8st_40", mh = "_summaryValue_8r8st_46", ih = "_missingSection_8r8st_52", sh = "_missingTitle_8r8st_59", Wh = "_missingList_8r8st_69", Bh = "_assumptionsSection_8r8st_81", Yh = "_assumptionsTitle_8r8st_88", wh = "_assumptionsList_8r8st_98", oh = "_chainSection_8r8st_110", Vh = "_chainTitle_8r8st_115", ah = "_chainList_8r8st_125", Nh = "_chainItem_8r8st_131", Xh = "_chainStep_8r8st_137", hh = "_chainContent_8r8st_151", Rh = "_chainAgent_8r8st_155", nh = "_chainDesc_8r8st_161", Hh = "_questionsSection_8r8st_167", yh = "_questionsTitle_8r8st_171", uh = "_progressHint_8r8st_182", Mh = "_questionItemActive_8r8st_188", eh = "_questionItemDone_8r8st_195", Kh = "_answeredIcon_8r8st_199", ph = "_answeredValue_8r8st_204", Sh = "_inputHint_8r8st_210", Dh = "_optionDisabled_8r8st_216", Fh = "_questionsList_8r8st_221", Jh = "_questionItem_8r8st_188", zh = "_questionText_8r8st_233", th = "_required_8r8st_238", kh = "_optionsList_8r8st_243", Lh = "_optionItem_8r8st_249", Th = "_optionSelected_8r8st_265", xh = "_optionIndex_8r8st_270", jh = "_optionText_8r8st_289", Qh = "_actions_8r8st_295", Uh = "_skipLink_8r8st_303", vh = {
|
|
12461
|
+
card: Ah,
|
|
12462
|
+
summary: Zh,
|
|
12463
|
+
summaryHeader: lh,
|
|
12464
|
+
summaryTitle: dh,
|
|
12465
|
+
summaryGrid: ch,
|
|
12466
|
+
summaryItem: Gh,
|
|
12467
|
+
summaryLabel: bh,
|
|
12468
|
+
summaryValue: mh,
|
|
12469
|
+
missingSection: ih,
|
|
12470
|
+
missingTitle: sh,
|
|
12471
|
+
missingList: Wh,
|
|
12472
|
+
assumptionsSection: Bh,
|
|
12473
|
+
assumptionsTitle: Yh,
|
|
12474
|
+
assumptionsList: wh,
|
|
12475
|
+
chainSection: oh,
|
|
12476
|
+
chainTitle: Vh,
|
|
12477
|
+
chainList: ah,
|
|
12478
|
+
chainItem: Nh,
|
|
12479
|
+
chainStep: Xh,
|
|
12480
|
+
chainContent: hh,
|
|
12481
|
+
chainAgent: Rh,
|
|
12482
|
+
chainDesc: nh,
|
|
12483
|
+
questionsSection: Hh,
|
|
12484
|
+
questionsTitle: yh,
|
|
12485
|
+
progressHint: uh,
|
|
12486
|
+
questionItemActive: Mh,
|
|
12487
|
+
questionItemDone: eh,
|
|
12488
|
+
answeredIcon: Kh,
|
|
12489
|
+
answeredValue: ph,
|
|
12490
|
+
inputHint: Sh,
|
|
12491
|
+
optionDisabled: Dh,
|
|
12492
|
+
questionsList: Fh,
|
|
12493
|
+
questionItem: Jh,
|
|
12494
|
+
questionText: zh,
|
|
12495
|
+
required: th,
|
|
12496
|
+
optionsList: kh,
|
|
12497
|
+
optionItem: Lh,
|
|
12498
|
+
optionSelected: Th,
|
|
12499
|
+
optionIndex: xh,
|
|
12500
|
+
optionText: jh,
|
|
12501
|
+
actions: Qh,
|
|
12502
|
+
skipLink: Uh
|
|
12503
|
+
}, Oh = {
|
|
12504
|
+
$style: vh
|
|
12505
|
+
}, j5 = /* @__PURE__ */ j(Ch, [["__cssModules", Oh]]), Eh = "_card_6xf4y_1", rh = "_header_6xf4y_9", Ph = "_title_6xf4y_16", fh = "_filename_6xf4y_22", qh = "_summary_6xf4y_27", _h = "_points_6xf4y_34", $h = "_section_6xf4y_44", IR = "_sectionTitle_6xf4y_48", gR = "_sectionContent_6xf4y_55", fI = {
|
|
12506
|
+
card: Eh,
|
|
12507
|
+
header: rh,
|
|
12508
|
+
title: Ph,
|
|
12509
|
+
filename: fh,
|
|
12510
|
+
summary: qh,
|
|
12511
|
+
points: _h,
|
|
12512
|
+
section: $h,
|
|
12513
|
+
sectionTitle: IR,
|
|
12514
|
+
sectionContent: gR
|
|
12515
|
+
}, Q5 = /* @__PURE__ */ t({
|
|
12508
12516
|
__name: "DocumentDetailSummaryCard",
|
|
12509
12517
|
props: {
|
|
12510
12518
|
item: {}
|
|
@@ -12551,7 +12559,7 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
12551
12559
|
], 2))), 128))
|
|
12552
12560
|
], 2));
|
|
12553
12561
|
}
|
|
12554
|
-
}),
|
|
12562
|
+
}), CR = ["disabled", "onClick"], AR = /* @__PURE__ */ t({
|
|
12555
12563
|
__name: "ErrorRecoveryCard",
|
|
12556
12564
|
props: {
|
|
12557
12565
|
error: {},
|
|
@@ -12644,35 +12652,35 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
12644
12652
|
class: w(Z.$style.strategyDesc)
|
|
12645
12653
|
}, V(d.description), 3)
|
|
12646
12654
|
], 2)
|
|
12647
|
-
], 10,
|
|
12655
|
+
], 10, CR))), 128))
|
|
12648
12656
|
], 2)
|
|
12649
12657
|
], 2)
|
|
12650
12658
|
], 2)
|
|
12651
12659
|
], 2);
|
|
12652
12660
|
};
|
|
12653
12661
|
}
|
|
12654
|
-
}),
|
|
12655
|
-
card:
|
|
12656
|
-
header:
|
|
12657
|
-
headerIcon:
|
|
12658
|
-
title:
|
|
12659
|
-
body:
|
|
12660
|
-
errorInfo:
|
|
12661
|
-
nodeInfo:
|
|
12662
|
-
nodeLabel:
|
|
12663
|
-
nodeName:
|
|
12664
|
-
errorMessage:
|
|
12665
|
-
strategies:
|
|
12666
|
-
strategyLabel:
|
|
12667
|
-
strategyList:
|
|
12668
|
-
strategyBtn:
|
|
12669
|
-
strategyDisabled:
|
|
12670
|
-
strategyInfo:
|
|
12671
|
-
strategyName:
|
|
12672
|
-
strategyDesc:
|
|
12673
|
-
},
|
|
12674
|
-
$style:
|
|
12675
|
-
},
|
|
12662
|
+
}), ZR = "_card_170h5_2", lR = "_header_170h5_8", dR = "_headerIcon_170h5_17", cR = "_title_170h5_21", GR = "_body_170h5_27", bR = "_errorInfo_170h5_31", mR = "_nodeInfo_170h5_35", iR = "_nodeLabel_170h5_42", sR = "_nodeName_170h5_47", WR = "_errorMessage_170h5_53", BR = "_strategies_170h5_65", YR = "_strategyLabel_170h5_70", wR = "_strategyList_170h5_76", oR = "_strategyBtn_170h5_82", VR = "_strategyDisabled_170h5_104", aR = "_strategyInfo_170h5_108", NR = "_strategyName_170h5_114", XR = "_strategyDesc_170h5_120", hR = {
|
|
12663
|
+
card: ZR,
|
|
12664
|
+
header: lR,
|
|
12665
|
+
headerIcon: dR,
|
|
12666
|
+
title: cR,
|
|
12667
|
+
body: GR,
|
|
12668
|
+
errorInfo: bR,
|
|
12669
|
+
nodeInfo: mR,
|
|
12670
|
+
nodeLabel: iR,
|
|
12671
|
+
nodeName: sR,
|
|
12672
|
+
errorMessage: WR,
|
|
12673
|
+
strategies: BR,
|
|
12674
|
+
strategyLabel: YR,
|
|
12675
|
+
strategyList: wR,
|
|
12676
|
+
strategyBtn: oR,
|
|
12677
|
+
strategyDisabled: VR,
|
|
12678
|
+
strategyInfo: aR,
|
|
12679
|
+
strategyName: NR,
|
|
12680
|
+
strategyDesc: XR
|
|
12681
|
+
}, RR = {
|
|
12682
|
+
$style: hR
|
|
12683
|
+
}, U5 = /* @__PURE__ */ j(AR, [["__cssModules", RR]]), nR = /* @__PURE__ */ t({
|
|
12676
12684
|
__name: "VariableDiffCard",
|
|
12677
12685
|
props: {
|
|
12678
12686
|
nodeName: {},
|
|
@@ -12787,28 +12795,28 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
12787
12795
|
}, " 暂无变量变更 ", 2))
|
|
12788
12796
|
], 2));
|
|
12789
12797
|
}
|
|
12790
|
-
}),
|
|
12791
|
-
card:
|
|
12792
|
-
header:
|
|
12793
|
-
headerLeft:
|
|
12794
|
-
headerIcon:
|
|
12795
|
-
title:
|
|
12796
|
-
nodeInfo:
|
|
12797
|
-
body:
|
|
12798
|
-
change:
|
|
12799
|
-
changeHeader:
|
|
12800
|
-
changeType:
|
|
12801
|
-
varName:
|
|
12802
|
-
diff:
|
|
12803
|
-
diffOld:
|
|
12804
|
-
diffNew:
|
|
12805
|
-
singleValue:
|
|
12806
|
-
diffLabel:
|
|
12807
|
-
diffValue:
|
|
12808
|
-
empty:
|
|
12809
|
-
},
|
|
12810
|
-
$style:
|
|
12811
|
-
},
|
|
12798
|
+
}), HR = "_card_1byhf_2", yR = "_header_1byhf_8", uR = "_headerLeft_1byhf_17", MR = "_headerIcon_1byhf_23", eR = "_title_1byhf_27", KR = "_nodeInfo_1byhf_33", pR = "_body_1byhf_38", SR = "_change_1byhf_45", DR = "_changeHeader_1byhf_51", FR = "_changeType_1byhf_59", JR = "_varName_1byhf_67", zR = "_diff_1byhf_73", tR = "_diffOld_1byhf_78", kR = "_diffNew_1byhf_84", LR = "_singleValue_1byhf_89", TR = "_diffLabel_1byhf_93", xR = "_diffValue_1byhf_100", jR = "_empty_1byhf_108", QR = {
|
|
12799
|
+
card: HR,
|
|
12800
|
+
header: yR,
|
|
12801
|
+
headerLeft: uR,
|
|
12802
|
+
headerIcon: MR,
|
|
12803
|
+
title: eR,
|
|
12804
|
+
nodeInfo: KR,
|
|
12805
|
+
body: pR,
|
|
12806
|
+
change: SR,
|
|
12807
|
+
changeHeader: DR,
|
|
12808
|
+
changeType: FR,
|
|
12809
|
+
varName: JR,
|
|
12810
|
+
diff: zR,
|
|
12811
|
+
diffOld: tR,
|
|
12812
|
+
diffNew: kR,
|
|
12813
|
+
singleValue: LR,
|
|
12814
|
+
diffLabel: TR,
|
|
12815
|
+
diffValue: xR,
|
|
12816
|
+
empty: jR
|
|
12817
|
+
}, UR = {
|
|
12818
|
+
$style: QR
|
|
12819
|
+
}, v5 = /* @__PURE__ */ j(nR, [["__cssModules", UR]]), vR = /* @__PURE__ */ t({
|
|
12812
12820
|
__name: "SubWorkflowStatusCard",
|
|
12813
12821
|
props: {
|
|
12814
12822
|
workflowName: {},
|
|
@@ -12981,25 +12989,25 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
12981
12989
|
], 2);
|
|
12982
12990
|
};
|
|
12983
12991
|
}
|
|
12984
|
-
}),
|
|
12985
|
-
card:
|
|
12986
|
-
header:
|
|
12987
|
-
iconWrap:
|
|
12988
|
-
info:
|
|
12989
|
-
name:
|
|
12990
|
-
meta:
|
|
12991
|
-
duration:
|
|
12992
|
-
expandIcon:
|
|
12993
|
-
detail:
|
|
12994
|
-
progress:
|
|
12995
|
-
progressLabel:
|
|
12996
|
-
error:
|
|
12997
|
-
actions:
|
|
12998
|
-
iconSpin:
|
|
12992
|
+
}), OR = "_card_15eqh_2", ER = "_header_15eqh_8", rR = "_iconWrap_15eqh_21", PR = "_info_15eqh_33", fR = "_name_15eqh_41", qR = "_meta_15eqh_50", _R = "_duration_15eqh_56", $R = "_expandIcon_15eqh_62", In = "_detail_15eqh_67", gn = "_progress_15eqh_73", Cn = "_progressLabel_15eqh_77", An = "_error_15eqh_83", Zn = "_actions_15eqh_95", ln = "_iconSpin_15eqh_100", dn = {
|
|
12993
|
+
card: OR,
|
|
12994
|
+
header: ER,
|
|
12995
|
+
iconWrap: rR,
|
|
12996
|
+
info: PR,
|
|
12997
|
+
name: fR,
|
|
12998
|
+
meta: qR,
|
|
12999
|
+
duration: _R,
|
|
13000
|
+
expandIcon: $R,
|
|
13001
|
+
detail: In,
|
|
13002
|
+
progress: gn,
|
|
13003
|
+
progressLabel: Cn,
|
|
13004
|
+
error: An,
|
|
13005
|
+
actions: Zn,
|
|
13006
|
+
iconSpin: ln,
|
|
12999
13007
|
"sub-workflow-spin": "_sub-workflow-spin_15eqh_1"
|
|
13000
|
-
},
|
|
13001
|
-
$style:
|
|
13002
|
-
},
|
|
13008
|
+
}, cn = {
|
|
13009
|
+
$style: dn
|
|
13010
|
+
}, O5 = /* @__PURE__ */ j(vR, [["__cssModules", cn]]), Gn = { key: 0 }, bn = /* @__PURE__ */ t({
|
|
13003
13011
|
__name: "PptPreviewCard",
|
|
13004
13012
|
props: {
|
|
13005
13013
|
slides: {},
|
|
@@ -13138,7 +13146,7 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
13138
13146
|
key: 3,
|
|
13139
13147
|
class: w(i.$style.meta)
|
|
13140
13148
|
}, [
|
|
13141
|
-
I.metadata.style ? (c(), s("span",
|
|
13149
|
+
I.metadata.style ? (c(), s("span", Gn, [
|
|
13142
13150
|
H(y(v), {
|
|
13143
13151
|
name: "brush",
|
|
13144
13152
|
size: 12
|
|
@@ -13171,33 +13179,33 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
13171
13179
|
], 2);
|
|
13172
13180
|
};
|
|
13173
13181
|
}
|
|
13174
|
-
}),
|
|
13175
|
-
card:
|
|
13176
|
-
header:
|
|
13177
|
-
titleRow:
|
|
13178
|
-
title:
|
|
13179
|
-
metaBadges:
|
|
13180
|
-
badge:
|
|
13181
|
-
loadingState:
|
|
13182
|
-
errorState:
|
|
13183
|
-
spinner:
|
|
13184
|
-
spin:
|
|
13185
|
-
previewGrid:
|
|
13186
|
-
slideThumb:
|
|
13187
|
-
slideHeader:
|
|
13188
|
-
slideBody:
|
|
13189
|
-
slideContent:
|
|
13190
|
-
slidePoint:
|
|
13191
|
-
slideMore:
|
|
13192
|
-
slideEmpty:
|
|
13193
|
-
slideIndex:
|
|
13194
|
-
moreSlides:
|
|
13195
|
-
meta:
|
|
13196
|
-
actions:
|
|
13197
|
-
downloadBtn:
|
|
13198
|
-
},
|
|
13199
|
-
$style:
|
|
13200
|
-
},
|
|
13182
|
+
}), mn = "_card_z1wac_2", sn = "_header_z1wac_9", Wn = "_titleRow_z1wac_16", Bn = "_title_z1wac_16", Yn = "_metaBadges_z1wac_28", wn = "_badge_z1wac_33", on = "_loadingState_z1wac_41", Vn = "_errorState_z1wac_42", an = "_spinner_z1wac_56", Nn = "_spin_z1wac_56", Xn = "_previewGrid_z1wac_69", hn = "_slideThumb_z1wac_76", Rn = "_slideHeader_z1wac_85", nn = "_slideBody_z1wac_97", Hn = "_slideContent_z1wac_101", yn = "_slidePoint_z1wac_107", un = "_slideMore_z1wac_116", Mn = "_slideEmpty_z1wac_122", en = "_slideIndex_z1wac_127", Kn = "_moreSlides_z1wac_136", pn = "_meta_z1wac_28", Sn = "_actions_z1wac_161", Dn = "_downloadBtn_z1wac_166", Fn = {
|
|
13183
|
+
card: mn,
|
|
13184
|
+
header: sn,
|
|
13185
|
+
titleRow: Wn,
|
|
13186
|
+
title: Bn,
|
|
13187
|
+
metaBadges: Yn,
|
|
13188
|
+
badge: wn,
|
|
13189
|
+
loadingState: on,
|
|
13190
|
+
errorState: Vn,
|
|
13191
|
+
spinner: an,
|
|
13192
|
+
spin: Nn,
|
|
13193
|
+
previewGrid: Xn,
|
|
13194
|
+
slideThumb: hn,
|
|
13195
|
+
slideHeader: Rn,
|
|
13196
|
+
slideBody: nn,
|
|
13197
|
+
slideContent: Hn,
|
|
13198
|
+
slidePoint: yn,
|
|
13199
|
+
slideMore: un,
|
|
13200
|
+
slideEmpty: Mn,
|
|
13201
|
+
slideIndex: en,
|
|
13202
|
+
moreSlides: Kn,
|
|
13203
|
+
meta: pn,
|
|
13204
|
+
actions: Sn,
|
|
13205
|
+
downloadBtn: Dn
|
|
13206
|
+
}, Jn = {
|
|
13207
|
+
$style: Fn
|
|
13208
|
+
}, E5 = /* @__PURE__ */ j(bn, [["__cssModules", Jn]]), zn = /* @__PURE__ */ t({
|
|
13201
13209
|
__name: "FlowPreviewShell",
|
|
13202
13210
|
props: {
|
|
13203
13211
|
title: {},
|
|
@@ -13287,219 +13295,38 @@ const iw = { class: "apf-message-parts" }, sw = ["innerHTML"], Ww = { class: "ap
|
|
|
13287
13295
|
], 2)) : h("", !0)
|
|
13288
13296
|
], 2));
|
|
13289
13297
|
}
|
|
13290
|
-
}),
|
|
13291
|
-
card:
|
|
13292
|
-
head:
|
|
13293
|
-
headLeft:
|
|
13294
|
-
headRight:
|
|
13295
|
-
headIcon:
|
|
13296
|
-
title:
|
|
13297
|
-
badge:
|
|
13298
|
-
fitBtn:
|
|
13299
|
-
canvasWrapper:
|
|
13298
|
+
}), tn = "_card_h1z12_1", kn = "_head_h1z12_16", Ln = "_headLeft_h1z12_25", Tn = "_headRight_h1z12_31", xn = "_headIcon_h1z12_37", jn = "_title_h1z12_49", Qn = "_badge_h1z12_55", Un = "_fitBtn_h1z12_64", vn = "_canvasWrapper_h1z12_86", On = "_selected_h1z12_96", En = "_actions_h1z12_121", rn = "_btnPrimary_h1z12_130", Pn = "_btnGhost_h1z12_150", fn = "_compact_h1z12_173", qn = {
|
|
13299
|
+
card: tn,
|
|
13300
|
+
head: kn,
|
|
13301
|
+
headLeft: Ln,
|
|
13302
|
+
headRight: Tn,
|
|
13303
|
+
headIcon: xn,
|
|
13304
|
+
title: jn,
|
|
13305
|
+
badge: Qn,
|
|
13306
|
+
fitBtn: Un,
|
|
13307
|
+
canvasWrapper: vn,
|
|
13300
13308
|
"vue-flow__node": "_vue-flow__node_h1z12_92",
|
|
13301
|
-
selected:
|
|
13309
|
+
selected: On,
|
|
13302
13310
|
"vue-flow__edge-path": "_vue-flow__edge-path_h1z12_101",
|
|
13303
13311
|
"vue-flow__controls": "_vue-flow__controls_h1z12_105",
|
|
13304
13312
|
"vue-flow__controls-button": "_vue-flow__controls-button_h1z12_111",
|
|
13305
|
-
actions:
|
|
13306
|
-
btnPrimary:
|
|
13307
|
-
btnGhost:
|
|
13308
|
-
compact:
|
|
13309
|
-
},
|
|
13310
|
-
$style:
|
|
13311
|
-
},
|
|
13312
|
-
__name: "PreviewStartEvent",
|
|
13313
|
-
props: {
|
|
13314
|
-
data: {}
|
|
13315
|
-
},
|
|
13316
|
-
setup(I) {
|
|
13317
|
-
return (C, g) => (c(), s("div", _n, [
|
|
13318
|
-
g[0] || (g[0] = b("div", { class: "apf-bpmn-start" }, [
|
|
13319
|
-
b("div", { class: "apf-bpmn-start__inner" })
|
|
13320
|
-
], -1)),
|
|
13321
|
-
b("div", $n, V(I.data.label), 1),
|
|
13322
|
-
H(y(eg), {
|
|
13323
|
-
type: "source",
|
|
13324
|
-
position: y(Kg).Bottom
|
|
13325
|
-
}, null, 8, ["position"])
|
|
13326
|
-
]));
|
|
13327
|
-
}
|
|
13328
|
-
}), gH = /* @__PURE__ */ j(IH, [["__scopeId", "data-v-06a5d706"]]), CH = { class: "apf-bpmn-node" }, AH = { class: "apf-bpmn-node__label" }, ZH = /* @__PURE__ */ t({
|
|
13329
|
-
__name: "PreviewEndEvent",
|
|
13330
|
-
props: {
|
|
13331
|
-
data: {}
|
|
13332
|
-
},
|
|
13333
|
-
setup(I) {
|
|
13334
|
-
return (C, g) => (c(), s("div", CH, [
|
|
13335
|
-
H(y(eg), {
|
|
13336
|
-
type: "target",
|
|
13337
|
-
position: y(Kg).Top
|
|
13338
|
-
}, null, 8, ["position"]),
|
|
13339
|
-
g[0] || (g[0] = b("div", { class: "apf-bpmn-end" }, [
|
|
13340
|
-
b("div", { class: "apf-bpmn-end__inner" })
|
|
13341
|
-
], -1)),
|
|
13342
|
-
b("div", AH, V(I.data.label), 1)
|
|
13343
|
-
]));
|
|
13344
|
-
}
|
|
13345
|
-
}), lH = /* @__PURE__ */ j(ZH, [["__scopeId", "data-v-6c6caa4e"]]), dH = { class: "apf-bpmn-node" }, cH = { class: "apf-bpmn-task" }, GH = { class: "apf-bpmn-task__icon" }, bH = { class: "apf-bpmn-task__label" }, mH = /* @__PURE__ */ t({
|
|
13346
|
-
__name: "PreviewTask",
|
|
13347
|
-
props: {
|
|
13348
|
-
data: {}
|
|
13349
|
-
},
|
|
13350
|
-
setup(I) {
|
|
13351
|
-
const C = {
|
|
13352
|
-
userTask: "👤",
|
|
13353
|
-
serviceTask: "⚙",
|
|
13354
|
-
scriptTask: "📜",
|
|
13355
|
-
sendTask: "📤",
|
|
13356
|
-
receiveTask: "📥"
|
|
13357
|
-
};
|
|
13358
|
-
return (g, Z) => (c(), s("div", dH, [
|
|
13359
|
-
H(y(eg), {
|
|
13360
|
-
type: "target",
|
|
13361
|
-
position: y(Kg).Top
|
|
13362
|
-
}, null, 8, ["position"]),
|
|
13363
|
-
b("div", cH, [
|
|
13364
|
-
b("span", GH, V(C[I.data.bpmnType] || "📋"), 1),
|
|
13365
|
-
b("span", bH, V(I.data.label), 1)
|
|
13366
|
-
]),
|
|
13367
|
-
H(y(eg), {
|
|
13368
|
-
type: "source",
|
|
13369
|
-
position: y(Kg).Bottom
|
|
13370
|
-
}, null, 8, ["position"])
|
|
13371
|
-
]));
|
|
13372
|
-
}
|
|
13373
|
-
}), iH = /* @__PURE__ */ j(mH, [["__scopeId", "data-v-5b6a4a18"]]), sH = { class: "apf-bpmn-node" }, WH = { class: "apf-bpmn-gateway" }, BH = { class: "apf-bpmn-gateway__icon" }, YH = { class: "apf-bpmn-node__label" }, wH = /* @__PURE__ */ t({
|
|
13374
|
-
__name: "PreviewGateway",
|
|
13375
|
-
props: {
|
|
13376
|
-
data: {}
|
|
13377
|
-
},
|
|
13378
|
-
setup(I) {
|
|
13379
|
-
const C = {
|
|
13380
|
-
exclusiveGateway: "✕",
|
|
13381
|
-
parallelGateway: "+",
|
|
13382
|
-
inclusiveGateway: "◎"
|
|
13383
|
-
};
|
|
13384
|
-
return (g, Z) => (c(), s("div", sH, [
|
|
13385
|
-
H(y(eg), {
|
|
13386
|
-
type: "target",
|
|
13387
|
-
position: y(Kg).Top
|
|
13388
|
-
}, null, 8, ["position"]),
|
|
13389
|
-
b("div", WH, [
|
|
13390
|
-
b("span", BH, V(C[I.data.bpmnType] || "◆"), 1)
|
|
13391
|
-
]),
|
|
13392
|
-
b("div", YH, V(I.data.label), 1),
|
|
13393
|
-
H(y(eg), {
|
|
13394
|
-
type: "source",
|
|
13395
|
-
position: y(Kg).Bottom
|
|
13396
|
-
}, null, 8, ["position"])
|
|
13397
|
-
]));
|
|
13398
|
-
}
|
|
13399
|
-
}), oH = /* @__PURE__ */ j(wH, [["__scopeId", "data-v-3ff1b368"]]), VH = /* @__PURE__ */ t({
|
|
13400
|
-
__name: "BpmnFlowPreviewCanvas",
|
|
13401
|
-
props: {
|
|
13402
|
-
nodes: {},
|
|
13403
|
-
edges: {},
|
|
13404
|
-
flowId: {}
|
|
13405
|
-
},
|
|
13406
|
-
emits: ["node-click", "fit-view"],
|
|
13407
|
-
setup(I, { expose: C, emit: g }) {
|
|
13408
|
-
const Z = I, A = g, l = Z.flowId ?? `apf-bpmn-preview-${Math.random().toString(36).slice(2, 8)}`, d = u(
|
|
13409
|
-
() => Z.nodes.map((Y) => ({
|
|
13410
|
-
id: Y.id,
|
|
13411
|
-
type: Y.type,
|
|
13412
|
-
position: Y.position,
|
|
13413
|
-
data: Y.data,
|
|
13414
|
-
draggable: !0
|
|
13415
|
-
}))
|
|
13416
|
-
), m = u(
|
|
13417
|
-
() => Z.edges.map((Y) => ({
|
|
13418
|
-
id: Y.id,
|
|
13419
|
-
source: Y.source,
|
|
13420
|
-
target: Y.target,
|
|
13421
|
-
label: Y.label,
|
|
13422
|
-
type: "smoothstep",
|
|
13423
|
-
animated: !0,
|
|
13424
|
-
markerEnd: { type: ud.ArrowClosed },
|
|
13425
|
-
style: { stroke: "var(--c-info, #4581e9)", strokeWidth: 1.5 }
|
|
13426
|
-
}))
|
|
13427
|
-
), { onNodeClick: G, fitView: i } = Md({ id: l });
|
|
13428
|
-
G(({ node: Y }) => {
|
|
13429
|
-
A("node-click", Y.id, Y.data);
|
|
13430
|
-
});
|
|
13431
|
-
function B() {
|
|
13432
|
-
i({ padding: 0.2 }), A("fit-view");
|
|
13433
|
-
}
|
|
13434
|
-
return bI(
|
|
13435
|
-
() => [Z.nodes, Z.edges],
|
|
13436
|
-
async () => {
|
|
13437
|
-
await JI(), setTimeout(() => i({ padding: 0.2 }), 100);
|
|
13438
|
-
},
|
|
13439
|
-
{ deep: !0 }
|
|
13440
|
-
), C({ fitView: B }), (Y, W) => (c(), F(y(ed), {
|
|
13441
|
-
id: y(l),
|
|
13442
|
-
nodes: d.value,
|
|
13443
|
-
edges: m.value,
|
|
13444
|
-
"nodes-draggable": !0,
|
|
13445
|
-
"nodes-connectable": !1,
|
|
13446
|
-
"edges-updatable": !1,
|
|
13447
|
-
"elements-selectable": !0,
|
|
13448
|
-
"default-viewport": { zoom: 0.8, x: 0, y: 0 },
|
|
13449
|
-
"min-zoom": 0.2,
|
|
13450
|
-
"max-zoom": 2,
|
|
13451
|
-
"fit-view-on-init": "",
|
|
13452
|
-
class: "apf-bpmn-canvas"
|
|
13453
|
-
}, {
|
|
13454
|
-
"node-start-event": J((N) => [
|
|
13455
|
-
H(gH, Bg(Yg(N)), null, 16)
|
|
13456
|
-
]),
|
|
13457
|
-
"node-end-event": J((N) => [
|
|
13458
|
-
H(lH, Bg(Yg(N)), null, 16)
|
|
13459
|
-
]),
|
|
13460
|
-
"node-task": J((N) => [
|
|
13461
|
-
H(iH, Bg(Yg(N)), null, 16)
|
|
13462
|
-
]),
|
|
13463
|
-
"node-gateway": J((N) => [
|
|
13464
|
-
H(oH, Bg(Yg(N)), null, 16)
|
|
13465
|
-
]),
|
|
13466
|
-
default: J(() => [
|
|
13467
|
-
H(y(Kd), {
|
|
13468
|
-
gap: 16,
|
|
13469
|
-
size: 0.6,
|
|
13470
|
-
color: "#e0e5ec"
|
|
13471
|
-
}),
|
|
13472
|
-
H(y(pd), { "show-interactive": !1 })
|
|
13473
|
-
]),
|
|
13474
|
-
_: 1
|
|
13475
|
-
}, 8, ["id", "nodes", "edges"]));
|
|
13476
|
-
}
|
|
13477
|
-
}), r5 = /* @__PURE__ */ j(VH, [["__scopeId", "data-v-41401ec3"]]), aH = {
|
|
13478
|
-
startEvent: "start-event",
|
|
13479
|
-
endEvent: "end-event",
|
|
13480
|
-
userTask: "task",
|
|
13481
|
-
serviceTask: "task",
|
|
13482
|
-
scriptTask: "task",
|
|
13483
|
-
sendTask: "task",
|
|
13484
|
-
receiveTask: "task",
|
|
13485
|
-
exclusiveGateway: "gateway",
|
|
13486
|
-
parallelGateway: "gateway",
|
|
13487
|
-
inclusiveGateway: "gateway"
|
|
13488
|
-
};
|
|
13489
|
-
function P5(I) {
|
|
13490
|
-
return aH[I] ?? "task";
|
|
13491
|
-
}
|
|
13492
|
-
const NH = { class: "apf-model3d" }, XH = { class: "apf-model3d__header" }, hH = { class: "apf-model3d__badge" }, RH = { class: "apf-model3d__filename" }, nH = { class: "apf-model3d__body" }, HH = {
|
|
13313
|
+
actions: En,
|
|
13314
|
+
btnPrimary: rn,
|
|
13315
|
+
btnGhost: Pn,
|
|
13316
|
+
compact: fn
|
|
13317
|
+
}, _n = {
|
|
13318
|
+
$style: qn
|
|
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 = {
|
|
13493
13320
|
key: 0,
|
|
13494
13321
|
slot: "poster",
|
|
13495
13322
|
class: "apf-model3d__hint"
|
|
13496
|
-
},
|
|
13323
|
+
}, lH = {
|
|
13497
13324
|
key: 1,
|
|
13498
13325
|
class: "apf-model3d__hint is-error"
|
|
13499
|
-
},
|
|
13326
|
+
}, dH = {
|
|
13500
13327
|
key: 0,
|
|
13501
13328
|
class: "apf-model3d__actions"
|
|
13502
|
-
},
|
|
13329
|
+
}, cH = ["href"], GH = /* @__PURE__ */ t({
|
|
13503
13330
|
__name: "Model3dPreviewCard",
|
|
13504
13331
|
props: {
|
|
13505
13332
|
url: {},
|
|
@@ -13521,12 +13348,12 @@ const NH = { class: "apf-model3d" }, XH = { class: "apf-model3d__header" }, hH =
|
|
|
13521
13348
|
}
|
|
13522
13349
|
return (m, G) => {
|
|
13523
13350
|
const i = O("model-viewer");
|
|
13524
|
-
return c(), s("div",
|
|
13525
|
-
b("div",
|
|
13526
|
-
b("span",
|
|
13527
|
-
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)
|
|
13528
13355
|
]),
|
|
13529
|
-
b("div",
|
|
13356
|
+
b("div", AH, [
|
|
13530
13357
|
H(i, {
|
|
13531
13358
|
src: I.url,
|
|
13532
13359
|
poster: I.poster,
|
|
@@ -13538,7 +13365,7 @@ const NH = { class: "apf-model3d" }, XH = { class: "apf-model3d__header" }, hH =
|
|
|
13538
13365
|
onError: d
|
|
13539
13366
|
}, {
|
|
13540
13367
|
default: J(() => [
|
|
13541
|
-
!g.value && !Z.value ? (c(), s("div",
|
|
13368
|
+
!g.value && !Z.value ? (c(), s("div", ZH, [
|
|
13542
13369
|
H(y(v), {
|
|
13543
13370
|
name: "loading",
|
|
13544
13371
|
size: 24,
|
|
@@ -13546,7 +13373,7 @@ const NH = { class: "apf-model3d" }, XH = { class: "apf-model3d__header" }, hH =
|
|
|
13546
13373
|
}),
|
|
13547
13374
|
G[0] || (G[0] = b("span", null, "加载 3D 模型中...", -1))
|
|
13548
13375
|
])) : h("", !0),
|
|
13549
|
-
Z.value ? (c(), s("div",
|
|
13376
|
+
Z.value ? (c(), s("div", lH, [
|
|
13550
13377
|
H(y(v), {
|
|
13551
13378
|
name: "warning-filled",
|
|
13552
13379
|
size: 24
|
|
@@ -13557,7 +13384,7 @@ const NH = { class: "apf-model3d" }, XH = { class: "apf-model3d__header" }, hH =
|
|
|
13557
13384
|
_: 1
|
|
13558
13385
|
}, 8, ["src", "poster"])
|
|
13559
13386
|
]),
|
|
13560
|
-
Z.value ? h("", !0) : (c(), s("div",
|
|
13387
|
+
Z.value ? h("", !0) : (c(), s("div", dH, [
|
|
13561
13388
|
b("a", {
|
|
13562
13389
|
class: "apf-model3d__download",
|
|
13563
13390
|
href: I.url,
|
|
@@ -13568,33 +13395,33 @@ const NH = { class: "apf-model3d" }, XH = { class: "apf-model3d__header" }, hH =
|
|
|
13568
13395
|
size: 14
|
|
13569
13396
|
}),
|
|
13570
13397
|
G[1] || (G[1] = E(" 下载 ", -1))
|
|
13571
|
-
], 8,
|
|
13398
|
+
], 8, cH)
|
|
13572
13399
|
]))
|
|
13573
13400
|
]);
|
|
13574
13401
|
};
|
|
13575
13402
|
}
|
|
13576
|
-
}),
|
|
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 = {
|
|
13577
13404
|
key: 0,
|
|
13578
13405
|
class: "apf-image-generate__model"
|
|
13579
|
-
},
|
|
13406
|
+
}, WH = {
|
|
13580
13407
|
key: 0,
|
|
13581
13408
|
class: "apf-image-generate__prompt"
|
|
13582
|
-
},
|
|
13409
|
+
}, BH = { class: "apf-image-generate__image-container" }, YH = {
|
|
13583
13410
|
key: 0,
|
|
13584
13411
|
class: "apf-image-generate__overlay"
|
|
13585
|
-
},
|
|
13412
|
+
}, wH = {
|
|
13586
13413
|
key: 1,
|
|
13587
13414
|
class: "apf-image-generate__overlay apf-image-generate__overlay--error"
|
|
13588
|
-
},
|
|
13415
|
+
}, oH = ["src"], VH = { class: "apf-image-generate__zoom-hint" }, aH = {
|
|
13589
13416
|
key: 3,
|
|
13590
13417
|
class: "apf-image-generate__placeholder"
|
|
13591
|
-
},
|
|
13418
|
+
}, NH = {
|
|
13592
13419
|
key: 1,
|
|
13593
13420
|
class: "apf-image-generate__meta"
|
|
13594
|
-
},
|
|
13421
|
+
}, XH = { key: 0 }, hH = { key: 1 }, RH = { key: 2 }, nH = {
|
|
13595
13422
|
key: 2,
|
|
13596
13423
|
class: "apf-image-generate__actions"
|
|
13597
|
-
},
|
|
13424
|
+
}, HH = /* @__PURE__ */ t({
|
|
13598
13425
|
__name: "ImageGenerateCard",
|
|
13599
13426
|
props: {
|
|
13600
13427
|
imageUrl: {},
|
|
@@ -13628,9 +13455,9 @@ const NH = { class: "apf-model3d" }, XH = { class: "apf-model3d__header" }, hH =
|
|
|
13628
13455
|
hd: "高清"
|
|
13629
13456
|
};
|
|
13630
13457
|
return (B, Y) => (c(), s(z, null, [
|
|
13631
|
-
b("div",
|
|
13632
|
-
b("div",
|
|
13633
|
-
b("div",
|
|
13458
|
+
b("div", bH, [
|
|
13459
|
+
b("div", mH, [
|
|
13460
|
+
b("div", iH, [
|
|
13634
13461
|
H(y(v), {
|
|
13635
13462
|
name: "picture",
|
|
13636
13463
|
size: 16,
|
|
@@ -13638,17 +13465,17 @@ const NH = { class: "apf-model3d" }, XH = { class: "apf-model3d__header" }, hH =
|
|
|
13638
13465
|
}),
|
|
13639
13466
|
Y[1] || (Y[1] = b("span", { class: "apf-image-generate__title" }, "AI 图片生成", -1))
|
|
13640
13467
|
]),
|
|
13641
|
-
I.model ? (c(), s("div",
|
|
13468
|
+
I.model ? (c(), s("div", sH, V(I.model), 1)) : h("", !0)
|
|
13642
13469
|
]),
|
|
13643
|
-
I.prompt ? (c(), s("div",
|
|
13470
|
+
I.prompt ? (c(), s("div", WH, [
|
|
13644
13471
|
Y[2] || (Y[2] = b("span", { class: "apf-image-generate__prompt-label" }, "Prompt:", -1)),
|
|
13645
13472
|
E(V(I.prompt), 1)
|
|
13646
13473
|
])) : h("", !0),
|
|
13647
|
-
b("div",
|
|
13648
|
-
I.loading ? (c(), s("div",
|
|
13474
|
+
b("div", BH, [
|
|
13475
|
+
I.loading ? (c(), s("div", YH, [...Y[3] || (Y[3] = [
|
|
13649
13476
|
b("div", { class: "apf-image-generate__spinner" }, null, -1),
|
|
13650
13477
|
b("span", null, "正在生成图片...", -1)
|
|
13651
|
-
])])) : I.error ? (c(), s("div",
|
|
13478
|
+
])])) : I.error ? (c(), s("div", wH, [
|
|
13652
13479
|
H(y(v), {
|
|
13653
13480
|
name: "warning",
|
|
13654
13481
|
size: 24
|
|
@@ -13663,15 +13490,15 @@ const NH = { class: "apf-model3d" }, XH = { class: "apf-model3d__header" }, hH =
|
|
|
13663
13490
|
src: I.imageUrl,
|
|
13664
13491
|
class: "apf-image-generate__image",
|
|
13665
13492
|
alt: "AI generated image"
|
|
13666
|
-
}, null, 8,
|
|
13667
|
-
b("div",
|
|
13493
|
+
}, null, 8, oH),
|
|
13494
|
+
b("div", VH, [
|
|
13668
13495
|
H(y(v), {
|
|
13669
13496
|
name: "full-screen",
|
|
13670
13497
|
size: 16
|
|
13671
13498
|
}),
|
|
13672
13499
|
Y[4] || (Y[4] = b("span", null, "点击放大", -1))
|
|
13673
13500
|
])
|
|
13674
|
-
])) : (c(), s("div",
|
|
13501
|
+
])) : (c(), s("div", aH, [
|
|
13675
13502
|
H(y(v), {
|
|
13676
13503
|
name: "picture",
|
|
13677
13504
|
size: 32
|
|
@@ -13679,22 +13506,22 @@ const NH = { class: "apf-model3d" }, XH = { class: "apf-model3d__header" }, hH =
|
|
|
13679
13506
|
Y[5] || (Y[5] = b("span", null, "等待生成", -1))
|
|
13680
13507
|
]))
|
|
13681
13508
|
]),
|
|
13682
|
-
I.size || I.imageStyle || I.quality ? (c(), s("div",
|
|
13683
|
-
I.size ? (c(), s("span",
|
|
13509
|
+
I.size || I.imageStyle || I.quality ? (c(), s("div", NH, [
|
|
13510
|
+
I.size ? (c(), s("span", XH, [
|
|
13684
13511
|
H(y(v), {
|
|
13685
13512
|
name: "full-screen",
|
|
13686
13513
|
size: 12
|
|
13687
13514
|
}),
|
|
13688
13515
|
E(" " + V(I.size), 1)
|
|
13689
13516
|
])) : h("", !0),
|
|
13690
|
-
I.imageStyle ? (c(), s("span",
|
|
13517
|
+
I.imageStyle ? (c(), s("span", hH, [
|
|
13691
13518
|
H(y(v), {
|
|
13692
13519
|
name: "brush",
|
|
13693
13520
|
size: 12
|
|
13694
13521
|
}),
|
|
13695
13522
|
E(" " + V(G[I.imageStyle] ?? I.imageStyle), 1)
|
|
13696
13523
|
])) : h("", !0),
|
|
13697
|
-
I.quality ? (c(), s("span",
|
|
13524
|
+
I.quality ? (c(), s("span", RH, [
|
|
13698
13525
|
H(y(v), {
|
|
13699
13526
|
name: "picture",
|
|
13700
13527
|
size: 12
|
|
@@ -13702,7 +13529,7 @@ const NH = { class: "apf-model3d" }, XH = { class: "apf-model3d__header" }, hH =
|
|
|
13702
13529
|
E(" " + V(i[I.quality] ?? I.quality), 1)
|
|
13703
13530
|
])) : h("", !0)
|
|
13704
13531
|
])) : h("", !0),
|
|
13705
|
-
!I.loading && I.imageUrl ? (c(), s("div",
|
|
13532
|
+
!I.loading && I.imageUrl ? (c(), s("div", nH, [
|
|
13706
13533
|
b("button", {
|
|
13707
13534
|
type: "button",
|
|
13708
13535
|
class: "apf-image-generate__btn apf-image-generate__btn--primary",
|
|
@@ -13737,7 +13564,7 @@ const NH = { class: "apf-model3d" }, XH = { class: "apf-model3d__header" }, hH =
|
|
|
13737
13564
|
}, null, 8, ["url-list"])) : h("", !0)
|
|
13738
13565
|
], 64));
|
|
13739
13566
|
}
|
|
13740
|
-
}),
|
|
13567
|
+
}), f5 = /* @__PURE__ */ j(HH, [["__scopeId", "data-v-7f771b7c"]]), yH = /* @__PURE__ */ t({
|
|
13741
13568
|
__name: "SchemaFormPreview",
|
|
13742
13569
|
props: {
|
|
13743
13570
|
fields: {},
|
|
@@ -14002,25 +13829,25 @@ const NH = { class: "apf-model3d" }, XH = { class: "apf-model3d__header" }, hH =
|
|
|
14002
13829
|
], 2);
|
|
14003
13830
|
};
|
|
14004
13831
|
}
|
|
14005
|
-
}),
|
|
14006
|
-
previewCard:
|
|
14007
|
-
compact:
|
|
14008
|
-
header:
|
|
14009
|
-
headerLeft:
|
|
14010
|
-
headerIcon:
|
|
14011
|
-
title:
|
|
14012
|
-
headerRight:
|
|
14013
|
-
badge:
|
|
14014
|
-
viewHint:
|
|
14015
|
-
previewBody:
|
|
14016
|
-
form:
|
|
14017
|
-
formItem:
|
|
14018
|
-
actions:
|
|
14019
|
-
btnOutline:
|
|
14020
|
-
btnPrimary:
|
|
14021
|
-
},
|
|
14022
|
-
$style:
|
|
14023
|
-
},
|
|
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({
|
|
14024
13851
|
__name: "WorkflowRunTimeline",
|
|
14025
13852
|
props: {
|
|
14026
13853
|
title: {},
|
|
@@ -14132,36 +13959,36 @@ const NH = { class: "apf-model3d" }, XH = { class: "apf-model3d__header" }, hH =
|
|
|
14132
13959
|
], 2))
|
|
14133
13960
|
], 2));
|
|
14134
13961
|
}
|
|
14135
|
-
}),
|
|
14136
|
-
block:
|
|
14137
|
-
statusRunning:
|
|
14138
|
-
statusError:
|
|
14139
|
-
statusWaiting:
|
|
14140
|
-
header:
|
|
14141
|
-
headerLeft:
|
|
14142
|
-
chevron:
|
|
14143
|
-
title:
|
|
14144
|
-
progress:
|
|
14145
|
-
timeline:
|
|
14146
|
-
item:
|
|
14147
|
-
itemRunning:
|
|
14148
|
-
nodeName:
|
|
14149
|
-
itemStreaming:
|
|
14150
|
-
iconWrap:
|
|
14151
|
-
rail:
|
|
14152
|
-
iconSuccess:
|
|
14153
|
-
iconError:
|
|
14154
|
-
iconRunning:
|
|
14155
|
-
iconWaiting:
|
|
14156
|
-
iconSkipped:
|
|
14157
|
-
spin:
|
|
14158
|
-
connector:
|
|
14159
|
-
body:
|
|
14160
|
-
nodeHint:
|
|
14161
|
-
empty:
|
|
14162
|
-
},
|
|
14163
|
-
$style:
|
|
14164
|
-
},
|
|
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({
|
|
14165
13992
|
__name: "SuggestionCard",
|
|
14166
13993
|
props: {
|
|
14167
13994
|
suggestion: {},
|
|
@@ -14287,27 +14114,27 @@ const NH = { class: "apf-model3d" }, XH = { class: "apf-model3d__header" }, hH =
|
|
|
14287
14114
|
}),
|
|
14288
14115
|
N[3] || (N[3] = E(" 已忽略 ", -1))
|
|
14289
14116
|
], 2)) : h("", !0)
|
|
14290
|
-
], 42,
|
|
14291
|
-
}
|
|
14292
|
-
}),
|
|
14293
|
-
card:
|
|
14294
|
-
accepted:
|
|
14295
|
-
dismissed:
|
|
14296
|
-
header:
|
|
14297
|
-
typeBadge:
|
|
14298
|
-
priorityBadge:
|
|
14299
|
-
body:
|
|
14300
|
-
title:
|
|
14301
|
-
description:
|
|
14302
|
-
target:
|
|
14303
|
-
actions:
|
|
14304
|
-
acceptBtn:
|
|
14305
|
-
dismissBtn:
|
|
14306
|
-
statusBadge:
|
|
14307
|
-
statusDismissed:
|
|
14308
|
-
},
|
|
14309
|
-
$style:
|
|
14310
|
-
},
|
|
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({
|
|
14311
14138
|
__name: "ConversationSearchBar",
|
|
14312
14139
|
props: {
|
|
14313
14140
|
modelValue: {},
|
|
@@ -14500,7 +14327,7 @@ const NH = { class: "apf-model3d" }, XH = { class: "apf-model3d__header" }, hH =
|
|
|
14500
14327
|
key: 0,
|
|
14501
14328
|
class: w(o.$style.resultTime)
|
|
14502
14329
|
}, V(m(K.updatedAt)), 3)) : h("", !0)
|
|
14503
|
-
], 10,
|
|
14330
|
+
], 10, ky))), 128))
|
|
14504
14331
|
], 64)) : (c(), s("div", {
|
|
14505
14332
|
key: 2,
|
|
14506
14333
|
class: w(o.$style.empty)
|
|
@@ -14509,25 +14336,25 @@ const NH = { class: "apf-model3d" }, XH = { class: "apf-model3d__header" }, hH =
|
|
|
14509
14336
|
], 2);
|
|
14510
14337
|
};
|
|
14511
14338
|
}
|
|
14512
|
-
}),
|
|
14513
|
-
root:
|
|
14514
|
-
searchRow:
|
|
14515
|
-
filterPanel:
|
|
14516
|
-
filterRow:
|
|
14517
|
-
filterLabel:
|
|
14518
|
-
filterSep:
|
|
14519
|
-
results:
|
|
14520
|
-
resultCount:
|
|
14521
|
-
resultItem:
|
|
14522
|
-
resultTitle:
|
|
14523
|
-
resultTime:
|
|
14524
|
-
empty:
|
|
14525
|
-
},
|
|
14526
|
-
$style:
|
|
14527
|
-
},
|
|
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 = {
|
|
14528
14355
|
key: 0,
|
|
14529
14356
|
class: "apf-task-chain__arrow"
|
|
14530
|
-
},
|
|
14357
|
+
}, Gu = /* @__PURE__ */ t({
|
|
14531
14358
|
__name: "TaskChainBar",
|
|
14532
14359
|
props: {
|
|
14533
14360
|
steps: {},
|
|
@@ -14563,14 +14390,14 @@ const NH = { class: "apf-model3d" }, XH = { class: "apf-model3d__header" }, hH =
|
|
|
14563
14390
|
m && m.scrollIntoView({ behavior: "smooth", block: "nearest", inline: "center" });
|
|
14564
14391
|
});
|
|
14565
14392
|
}
|
|
14566
|
-
), (l, d) => (c(), s("div",
|
|
14567
|
-
b("div",
|
|
14393
|
+
), (l, d) => (c(), s("div", Iu, [
|
|
14394
|
+
b("div", gu, V(I.label), 1),
|
|
14568
14395
|
b("div", {
|
|
14569
14396
|
ref_key: "scrollbarRef",
|
|
14570
14397
|
ref: g,
|
|
14571
14398
|
class: "apf-task-chain__scroll"
|
|
14572
14399
|
}, [
|
|
14573
|
-
b("div",
|
|
14400
|
+
b("div", Cu, [
|
|
14574
14401
|
(c(!0), s(z, null, f(I.steps, (m, G) => (c(), s(z, { key: G }, [
|
|
14575
14402
|
b("div", {
|
|
14576
14403
|
"data-step": G,
|
|
@@ -14579,39 +14406,39 @@ const NH = { class: "apf-model3d" }, XH = { class: "apf-model3d__header" }, hH =
|
|
|
14579
14406
|
{ "is-current": G === I.currentIndex }
|
|
14580
14407
|
]])
|
|
14581
14408
|
}, [
|
|
14582
|
-
b("span",
|
|
14583
|
-
b("span",
|
|
14584
|
-
b("span",
|
|
14585
|
-
], 10,
|
|
14586
|
-
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)
|
|
14587
14414
|
], 64))), 128))
|
|
14588
14415
|
])
|
|
14589
14416
|
], 512)
|
|
14590
14417
|
]));
|
|
14591
14418
|
}
|
|
14592
|
-
}),
|
|
14419
|
+
}), g9 = /* @__PURE__ */ j(Gu, [["__scopeId", "data-v-31bc7b98"]]), bu = { class: "apf-rag-panel" }, mu = { class: "apf-rag-panel__header" }, iu = ["value", "placeholder"], su = {
|
|
14593
14420
|
key: 0,
|
|
14594
14421
|
class: "apf-rag-panel__spinner",
|
|
14595
14422
|
"aria-label": "加载中"
|
|
14596
|
-
},
|
|
14423
|
+
}, Wu = {
|
|
14597
14424
|
key: 0,
|
|
14598
14425
|
class: "apf-rag-panel__chips"
|
|
14599
|
-
},
|
|
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 = {
|
|
14600
14427
|
key: 0,
|
|
14601
14428
|
class: "apf-rag-panel__desc"
|
|
14602
|
-
},
|
|
14429
|
+
}, Xu = {
|
|
14603
14430
|
key: 1,
|
|
14604
14431
|
class: "apf-rag-panel__tags"
|
|
14605
|
-
},
|
|
14432
|
+
}, hu = {
|
|
14606
14433
|
key: 0,
|
|
14607
14434
|
class: "apf-rag-panel__tag"
|
|
14608
|
-
},
|
|
14435
|
+
}, Ru = {
|
|
14609
14436
|
key: 1,
|
|
14610
14437
|
class: "apf-rag-panel__empty"
|
|
14611
|
-
},
|
|
14438
|
+
}, nu = {
|
|
14612
14439
|
key: 2,
|
|
14613
14440
|
class: "apf-rag-panel__empty"
|
|
14614
|
-
},
|
|
14441
|
+
}, Hu = { class: "apf-rag-panel__footer" }, yu = /* @__PURE__ */ t({
|
|
14615
14442
|
__name: "RagContextPanel",
|
|
14616
14443
|
props: {
|
|
14617
14444
|
results: {},
|
|
@@ -14646,8 +14473,8 @@ const NH = { class: "apf-model3d" }, XH = { class: "apf-model3d__header" }, hH =
|
|
|
14646
14473
|
return B >= 70 ? "high" : B >= 40 ? "medium" : "low";
|
|
14647
14474
|
}
|
|
14648
14475
|
const i = u(() => g.selected.length > 0 ? g.selectedFooterHint.replace("{n}", String(g.selected.length)) : g.footerHint);
|
|
14649
|
-
return (B, Y) => (c(), s("div",
|
|
14650
|
-
b("div",
|
|
14476
|
+
return (B, Y) => (c(), s("div", bu, [
|
|
14477
|
+
b("div", mu, [
|
|
14651
14478
|
Y[2] || (Y[2] = b("svg", {
|
|
14652
14479
|
class: "apf-rag-panel__icon",
|
|
14653
14480
|
width: "14",
|
|
@@ -14675,24 +14502,24 @@ const NH = { class: "apf-model3d" }, XH = { class: "apf-model3d__header" }, hH =
|
|
|
14675
14502
|
value: A.value,
|
|
14676
14503
|
placeholder: I.placeholder,
|
|
14677
14504
|
onInput: Y[0] || (Y[0] = (W) => l(W.target.value))
|
|
14678
|
-
}, null, 40,
|
|
14679
|
-
I.loading ? (c(), s("span",
|
|
14505
|
+
}, null, 40, iu),
|
|
14506
|
+
I.loading ? (c(), s("span", su)) : h("", !0)
|
|
14680
14507
|
]),
|
|
14681
|
-
I.selected.length > 0 ? (c(), s("div",
|
|
14508
|
+
I.selected.length > 0 ? (c(), s("div", Wu, [
|
|
14682
14509
|
(c(!0), s(z, null, f(I.selected, (W) => (c(), s("span", {
|
|
14683
14510
|
key: W.id,
|
|
14684
14511
|
class: "apf-rag-panel__chip"
|
|
14685
14512
|
}, [
|
|
14686
|
-
b("span",
|
|
14513
|
+
b("span", Bu, V(W.name), 1),
|
|
14687
14514
|
b("button", {
|
|
14688
14515
|
type: "button",
|
|
14689
14516
|
class: "apf-rag-panel__chip-remove",
|
|
14690
14517
|
title: "移除",
|
|
14691
14518
|
onClick: (N) => Z("remove", W.id)
|
|
14692
|
-
}, " × ", 8,
|
|
14519
|
+
}, " × ", 8, Yu)
|
|
14693
14520
|
]))), 128))
|
|
14694
14521
|
])) : h("", !0),
|
|
14695
|
-
b("div",
|
|
14522
|
+
b("div", wu, [
|
|
14696
14523
|
I.results.length > 0 ? (c(!0), s(z, { key: 0 }, f(I.results, (W) => {
|
|
14697
14524
|
var N;
|
|
14698
14525
|
return c(), s("button", {
|
|
@@ -14704,27 +14531,27 @@ const NH = { class: "apf-model3d" }, XH = { class: "apf-model3d__header" }, hH =
|
|
|
14704
14531
|
b("div", {
|
|
14705
14532
|
class: w(["apf-rag-panel__score", `is-${G(W.score)}`])
|
|
14706
14533
|
}, V(W.score), 3),
|
|
14707
|
-
b("div",
|
|
14708
|
-
b("div",
|
|
14709
|
-
W.description ? (c(), s("div",
|
|
14710
|
-
(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, [
|
|
14711
14538
|
(c(!0), s(z, null, f(W.tags.slice(0, 5), (o) => (c(), s("span", {
|
|
14712
14539
|
key: o,
|
|
14713
14540
|
class: "apf-rag-panel__tag"
|
|
14714
14541
|
}, V(o), 1))), 128)),
|
|
14715
|
-
W.tags.length > 5 ? (c(), s("span",
|
|
14542
|
+
W.tags.length > 5 ? (c(), s("span", hu, " +" + V(W.tags.length - 5), 1)) : h("", !0)
|
|
14716
14543
|
])) : h("", !0)
|
|
14717
14544
|
])
|
|
14718
|
-
], 10,
|
|
14719
|
-
}), 128)) : !I.loading && A.value.trim() ? (c(), s("div",
|
|
14545
|
+
], 10, ou);
|
|
14546
|
+
}), 128)) : !I.loading && A.value.trim() ? (c(), s("div", Ru, [
|
|
14720
14547
|
Y[3] || (Y[3] = b("div", { class: "apf-rag-panel__empty-icon" }, "⌕", -1)),
|
|
14721
14548
|
b("div", null, V(I.emptyHint), 1)
|
|
14722
|
-
])) : I.loading ? h("", !0) : (c(), s("div",
|
|
14549
|
+
])) : I.loading ? h("", !0) : (c(), s("div", nu, [
|
|
14723
14550
|
Y[4] || (Y[4] = b("div", { class: "apf-rag-panel__empty-icon" }, "✦", -1)),
|
|
14724
14551
|
b("div", null, V(I.idleHint), 1)
|
|
14725
14552
|
]))
|
|
14726
14553
|
]),
|
|
14727
|
-
b("div",
|
|
14554
|
+
b("div", Hu, [
|
|
14728
14555
|
b("span", null, V(i.value), 1),
|
|
14729
14556
|
b("button", {
|
|
14730
14557
|
type: "button",
|
|
@@ -14734,16 +14561,16 @@ const NH = { class: "apf-model3d" }, XH = { class: "apf-model3d__header" }, hH =
|
|
|
14734
14561
|
])
|
|
14735
14562
|
]));
|
|
14736
14563
|
}
|
|
14737
|
-
}),
|
|
14564
|
+
}), C9 = /* @__PURE__ */ j(yu, [["__scopeId", "data-v-c6864f2d"]]), uu = { class: "apf-assistant-picker" }, Mu = {
|
|
14738
14565
|
key: 0,
|
|
14739
14566
|
class: "apf-assistant-picker__state"
|
|
14740
|
-
},
|
|
14567
|
+
}, eu = {
|
|
14741
14568
|
key: 1,
|
|
14742
14569
|
class: "apf-assistant-picker__state apf-assistant-picker__state--error"
|
|
14743
|
-
},
|
|
14570
|
+
}, Ku = {
|
|
14744
14571
|
key: 2,
|
|
14745
14572
|
class: "apf-assistant-picker__state"
|
|
14746
|
-
},
|
|
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({
|
|
14747
14574
|
__name: "AssistantPicker",
|
|
14748
14575
|
props: {
|
|
14749
14576
|
items: {},
|
|
@@ -14766,12 +14593,12 @@ const NH = { class: "apf-model3d" }, XH = { class: "apf-model3d__header" }, hH =
|
|
|
14766
14593
|
Z("update:modelValue", G.id), Z("select", G);
|
|
14767
14594
|
}
|
|
14768
14595
|
const m = u(() => !g.loading && !g.error && !g.items.length);
|
|
14769
|
-
return (G, i) => (c(), s("div",
|
|
14770
|
-
I.loading ? (c(), s("div",
|
|
14596
|
+
return (G, i) => (c(), s("div", uu, [
|
|
14597
|
+
I.loading ? (c(), s("div", Mu, [...i[0] || (i[0] = [
|
|
14771
14598
|
b("p", null, "正在加载智能体…", -1)
|
|
14772
|
-
])])) : I.error ? (c(), s("div",
|
|
14599
|
+
])])) : I.error ? (c(), s("div", eu, [
|
|
14773
14600
|
b("p", null, V(I.error), 1)
|
|
14774
|
-
])) : m.value ? (c(), s("div",
|
|
14601
|
+
])) : m.value ? (c(), s("div", Ku, [...i[1] || (i[1] = [
|
|
14775
14602
|
b("p", null, "暂无可用智能体", -1)
|
|
14776
14603
|
])])) : h("", !0),
|
|
14777
14604
|
(c(!0), s(z, null, f(I.items, (B) => (c(), s("button", {
|
|
@@ -14780,17 +14607,17 @@ const NH = { class: "apf-model3d" }, XH = { class: "apf-model3d__header" }, hH =
|
|
|
14780
14607
|
class: w(["apf-assistant-picker__item", { "is-active": I.modelValue === B.id }]),
|
|
14781
14608
|
onClick: (Y) => d(B)
|
|
14782
14609
|
}, [
|
|
14783
|
-
b("div",
|
|
14784
|
-
b("span",
|
|
14610
|
+
b("div", Su, [
|
|
14611
|
+
b("span", Du, [
|
|
14785
14612
|
H(y(v), {
|
|
14786
14613
|
name: l(B),
|
|
14787
14614
|
size: 22
|
|
14788
14615
|
}, null, 8, ["name"])
|
|
14789
14616
|
]),
|
|
14790
|
-
b("span",
|
|
14617
|
+
b("span", Fu, [
|
|
14791
14618
|
b("b", null, V(B.name), 1),
|
|
14792
14619
|
b("small", null, V(B.description || "适合处理一类明确任务"), 1),
|
|
14793
|
-
b("span",
|
|
14620
|
+
b("span", Ju, [
|
|
14794
14621
|
(c(!0), s(z, null, f(A(B), (Y) => (c(), s("span", {
|
|
14795
14622
|
key: Y,
|
|
14796
14623
|
class: w(["apf-assistant-picker__cap", { "is-confirm": Y === "需要确认" }])
|
|
@@ -14801,10 +14628,10 @@ const NH = { class: "apf-model3d" }, XH = { class: "apf-model3d__header" }, hH =
|
|
|
14801
14628
|
b("span", {
|
|
14802
14629
|
class: w(["apf-assistant-picker__choose", { "is-selected": I.modelValue === B.id }])
|
|
14803
14630
|
}, V(I.modelValue === B.id ? "已选择" : "开始使用"), 3)
|
|
14804
|
-
], 10,
|
|
14631
|
+
], 10, pu))), 128))
|
|
14805
14632
|
]));
|
|
14806
14633
|
}
|
|
14807
|
-
}),
|
|
14634
|
+
}), A9 = /* @__PURE__ */ j(zu, [["__scopeId", "data-v-f05e69c0"]]), tu = { class: "apf-model-picker" }, ku = /* @__PURE__ */ t({
|
|
14808
14635
|
__name: "ModelPicker",
|
|
14809
14636
|
props: {
|
|
14810
14637
|
models: {},
|
|
@@ -14816,7 +14643,7 @@ const NH = { class: "apf-model3d" }, XH = { class: "apf-model3d__header" }, hH =
|
|
|
14816
14643
|
const g = C;
|
|
14817
14644
|
return (Z, A) => {
|
|
14818
14645
|
const l = O("el-option"), d = O("el-select");
|
|
14819
|
-
return c(), s("label",
|
|
14646
|
+
return c(), s("label", tu, [
|
|
14820
14647
|
H(d, {
|
|
14821
14648
|
"model-value": I.modelValue || void 0,
|
|
14822
14649
|
disabled: I.loading || !I.models.length,
|
|
@@ -14846,11 +14673,247 @@ const NH = { class: "apf-model3d" }, XH = { class: "apf-model3d__header" }, hH =
|
|
|
14846
14673
|
]);
|
|
14847
14674
|
};
|
|
14848
14675
|
}
|
|
14849
|
-
}),
|
|
14850
|
-
function
|
|
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
|
+
};
|
|
14909
|
+
function c9(I) {
|
|
14910
|
+
return dM[I] ?? "task";
|
|
14911
|
+
}
|
|
14912
|
+
const Ul = Symbol("fg-toast");
|
|
14913
|
+
function G9(I) {
|
|
14851
14914
|
return { [Ul]: I };
|
|
14852
14915
|
}
|
|
14853
|
-
function
|
|
14916
|
+
function b9() {
|
|
14854
14917
|
const I = bl(Ul);
|
|
14855
14918
|
return {
|
|
14856
14919
|
show(C, g = "info", Z) {
|
|
@@ -14875,7 +14938,7 @@ function c9() {
|
|
|
14875
14938
|
}
|
|
14876
14939
|
};
|
|
14877
14940
|
}
|
|
14878
|
-
function
|
|
14941
|
+
function m9() {
|
|
14879
14942
|
async function I(Z, A = {}) {
|
|
14880
14943
|
const {
|
|
14881
14944
|
title: l = "确认操作",
|
|
@@ -14916,7 +14979,7 @@ function G9() {
|
|
|
14916
14979
|
confirmDanger: g
|
|
14917
14980
|
};
|
|
14918
14981
|
}
|
|
14919
|
-
function
|
|
14982
|
+
function i9() {
|
|
14920
14983
|
return {
|
|
14921
14984
|
success(I, C = {}) {
|
|
14922
14985
|
iC({ message: I, type: "success", ...C });
|
|
@@ -14932,7 +14995,7 @@ function b9() {
|
|
|
14932
14995
|
}
|
|
14933
14996
|
};
|
|
14934
14997
|
}
|
|
14935
|
-
function
|
|
14998
|
+
function s9(I, C = 300) {
|
|
14936
14999
|
const g = k(null);
|
|
14937
15000
|
function Z(...A) {
|
|
14938
15001
|
g.value && clearTimeout(g.value), g.value = setTimeout(() => {
|
|
@@ -14943,7 +15006,7 @@ function m9(I, C = 300) {
|
|
|
14943
15006
|
g.value && clearTimeout(g.value);
|
|
14944
15007
|
}), Z;
|
|
14945
15008
|
}
|
|
14946
|
-
function
|
|
15009
|
+
function W9(I, C) {
|
|
14947
15010
|
var m;
|
|
14948
15011
|
const g = k(1), Z = k((C == null ? void 0 : C.initialPageSize) ?? hl), A = u(() => {
|
|
14949
15012
|
const G = I.value, i = (g.value - 1) * Z.value;
|
|
@@ -14967,7 +15030,7 @@ function i9(I, C) {
|
|
|
14967
15030
|
resetPage: d
|
|
14968
15031
|
};
|
|
14969
15032
|
}
|
|
14970
|
-
function
|
|
15033
|
+
function B9(I = {}) {
|
|
14971
15034
|
const { timeout: C = 15e3, silentError: g = !1 } = I, Z = k(!1), A = k(null), l = k(!1), d = u(() => A.value !== null);
|
|
14972
15035
|
let m = null, G = 0;
|
|
14973
15036
|
function i() {
|
|
@@ -15000,62 +15063,8 @@ function s9(I = {}) {
|
|
|
15000
15063
|
reset: W
|
|
15001
15064
|
};
|
|
15002
15065
|
}
|
|
15003
|
-
function W9(I) {
|
|
15004
|
-
const {
|
|
15005
|
-
containerRef: C,
|
|
15006
|
-
autoScroll: g = !0,
|
|
15007
|
-
behavior: Z = "smooth",
|
|
15008
|
-
offset: A = 50
|
|
15009
|
-
} = I, l = k(!0), d = k(g);
|
|
15010
|
-
function m() {
|
|
15011
|
-
const N = C.value;
|
|
15012
|
-
if (!N) return !0;
|
|
15013
|
-
const { scrollTop: o, scrollHeight: R, clientHeight: X } = N;
|
|
15014
|
-
return R - o - X < A;
|
|
15015
|
-
}
|
|
15016
|
-
async function G(N = !0) {
|
|
15017
|
-
if (!N && !d.value) return;
|
|
15018
|
-
await JI();
|
|
15019
|
-
const o = C.value;
|
|
15020
|
-
o && o.scrollTo({
|
|
15021
|
-
top: o.scrollHeight,
|
|
15022
|
-
behavior: Z
|
|
15023
|
-
});
|
|
15024
|
-
}
|
|
15025
|
-
function i(N) {
|
|
15026
|
-
const o = C.value;
|
|
15027
|
-
o && o.scrollTo({
|
|
15028
|
-
top: N,
|
|
15029
|
-
behavior: Z
|
|
15030
|
-
});
|
|
15031
|
-
}
|
|
15032
|
-
function B() {
|
|
15033
|
-
d.value = !0;
|
|
15034
|
-
}
|
|
15035
|
-
function Y() {
|
|
15036
|
-
d.value = !1;
|
|
15037
|
-
}
|
|
15038
|
-
function W() {
|
|
15039
|
-
l.value = m(), l.value && (d.value = !0);
|
|
15040
|
-
}
|
|
15041
|
-
return lg(() => {
|
|
15042
|
-
const N = C.value;
|
|
15043
|
-
N && (N.addEventListener("scroll", W), l.value = m());
|
|
15044
|
-
}), dg(() => {
|
|
15045
|
-
const N = C.value;
|
|
15046
|
-
N && N.removeEventListener("scroll", W);
|
|
15047
|
-
}), {
|
|
15048
|
-
scrollToBottom: G,
|
|
15049
|
-
scrollTo: i,
|
|
15050
|
-
isAtBottom: l,
|
|
15051
|
-
autoScrollEnabled: d,
|
|
15052
|
-
checkIfAtBottom: m,
|
|
15053
|
-
enableAutoScroll: B,
|
|
15054
|
-
disableAutoScroll: Y
|
|
15055
|
-
};
|
|
15056
|
-
}
|
|
15057
15066
|
const IA = /* @__PURE__ */ new Map();
|
|
15058
|
-
function
|
|
15067
|
+
function Y9(I) {
|
|
15059
15068
|
const {
|
|
15060
15069
|
url: C,
|
|
15061
15070
|
token: g,
|
|
@@ -15204,7 +15213,7 @@ function B9(I) {
|
|
|
15204
15213
|
x();
|
|
15205
15214
|
}), { status: G, connect: X, disconnect: x, on: q };
|
|
15206
15215
|
}
|
|
15207
|
-
function
|
|
15216
|
+
function w9(I) {
|
|
15208
15217
|
if (!I) return "操作失败";
|
|
15209
15218
|
if (typeof I == "string") return I;
|
|
15210
15219
|
if (I instanceof Error) return I.message || "操作失败";
|
|
@@ -15221,9 +15230,9 @@ function Y9(I) {
|
|
|
15221
15230
|
}
|
|
15222
15231
|
return "操作失败";
|
|
15223
15232
|
}
|
|
15224
|
-
const
|
|
15233
|
+
const cM = /\/(?:schema-platform\/)?api\/ai\/documents\/([^/?#]+)\/file/i, gl = /\.(mp4|webm|mov|m4v)(?:\?|#|$|\s)/i, GM = /\.(png|jpe?g|gif|webp|bmp|svg)(?:\?|#|$|\s)/i, gA = /\.pdf(?:\?|#|$|\s)/i, CA = /\.(docx?|xlsx?|csv|txt|md)(?:\?|#|$|\s)/i, Cl = /(?:https?:\/\/[^\s"'<>\]]+|\/(?:schema-platform\/)?api\/ai\/documents\/[^/\s"'<>\]]+\/file)/gi;
|
|
15225
15234
|
function Eg(I) {
|
|
15226
|
-
const C = I.trim().match(
|
|
15235
|
+
const C = I.trim().match(cM);
|
|
15227
15236
|
if (C != null && C[1]) return C[1];
|
|
15228
15237
|
if (/^[0-9a-f]{24}$/i.test(I.trim())) return I.trim();
|
|
15229
15238
|
}
|
|
@@ -15238,14 +15247,14 @@ function ug(I) {
|
|
|
15238
15247
|
return gA.test(m) || Z.includes("pdf") ? "pdf" : CA.test(m) || /word|sheet|excel|csv|text/.test(Z) ? "office" : "file";
|
|
15239
15248
|
}
|
|
15240
15249
|
const l = [C, g].filter(Boolean).join(" ").toLowerCase(), d = Z.toLowerCase();
|
|
15241
|
-
return d.startsWith("video/") || gl.test(l) ? "video" : d.startsWith("image/") ||
|
|
15250
|
+
return d.startsWith("video/") || gl.test(l) ? "video" : d.startsWith("image/") || GM.test(l) ? "image" : d.includes("pdf") || gA.test(l) ? "pdf" : CA.test(l) || d.includes("word") || d.includes("sheet") || d.includes("excel") || d.includes("csv") || d.startsWith("text/") ? "office" : Eg(C) && !gA.test(C) && !CA.test(C) && !gl.test(C) ? "image" : "file";
|
|
15242
15251
|
}
|
|
15243
|
-
function
|
|
15252
|
+
function bM(I) {
|
|
15244
15253
|
var C;
|
|
15245
15254
|
return I.documentId ? `doc:${I.documentId}` : I.url ? `url:${I.url}` : `${I.kind}:${((C = I.text) == null ? void 0 : C.slice(0, 40)) ?? I.id}`;
|
|
15246
15255
|
}
|
|
15247
15256
|
function OI(I, C, g) {
|
|
15248
|
-
const Z =
|
|
15257
|
+
const Z = bM(g);
|
|
15249
15258
|
!Z || C.has(Z) || (C.add(Z), I.push(g));
|
|
15250
15259
|
}
|
|
15251
15260
|
function Al(I) {
|
|
@@ -15259,7 +15268,7 @@ function Al(I) {
|
|
|
15259
15268
|
prose: C.prose || void 0
|
|
15260
15269
|
};
|
|
15261
15270
|
}
|
|
15262
|
-
function
|
|
15271
|
+
function o9(I, C = "art") {
|
|
15263
15272
|
if (I == null) return [];
|
|
15264
15273
|
const g = [], Z = /* @__PURE__ */ new Set();
|
|
15265
15274
|
let A = 0;
|
|
@@ -15366,7 +15375,7 @@ function w9(I, C = "art") {
|
|
|
15366
15375
|
}
|
|
15367
15376
|
return g;
|
|
15368
15377
|
}
|
|
15369
|
-
function
|
|
15378
|
+
function V9(I) {
|
|
15370
15379
|
return I.map((C, g) => {
|
|
15371
15380
|
const Z = ug({
|
|
15372
15381
|
url: C.url,
|
|
@@ -15395,7 +15404,7 @@ function Ug(I, C = []) {
|
|
|
15395
15404
|
function YC(I) {
|
|
15396
15405
|
return !Array.isArray(I) || I.length === 0 || !I.every((C) => C && typeof C == "object" && !Array.isArray(C)) ? null : I;
|
|
15397
15406
|
}
|
|
15398
|
-
function
|
|
15407
|
+
function mM(I) {
|
|
15399
15408
|
if (!I || typeof I != "object") return null;
|
|
15400
15409
|
const C = I, g = C.columns, Z = C.rows;
|
|
15401
15410
|
if (!Array.isArray(g) || !Array.isArray(Z)) return null;
|
|
@@ -15413,7 +15422,7 @@ function vl(I) {
|
|
|
15413
15422
|
const C = I.chartType;
|
|
15414
15423
|
return typeof C != "string" || !C.trim() ? !1 : I.option != null && typeof I.option == "object";
|
|
15415
15424
|
}
|
|
15416
|
-
function
|
|
15425
|
+
function a9(I, C) {
|
|
15417
15426
|
if (!C || typeof C != "object") return [];
|
|
15418
15427
|
const g = C, Z = [], A = I ?? "";
|
|
15419
15428
|
if (A === "compliance-check" || !A && Array.isArray(g.violations)) {
|
|
@@ -15458,7 +15467,7 @@ function V9(I, C) {
|
|
|
15458
15467
|
}
|
|
15459
15468
|
if (A === "chart-generate" || !A && vl(g)) {
|
|
15460
15469
|
if (String(g.chartType) === "table") {
|
|
15461
|
-
const d =
|
|
15470
|
+
const d = mM(g.option);
|
|
15462
15471
|
d && Z.push(d);
|
|
15463
15472
|
}
|
|
15464
15473
|
const l = YC(g.data);
|
|
@@ -15502,7 +15511,7 @@ function V9(I, C) {
|
|
|
15502
15511
|
}
|
|
15503
15512
|
return Z;
|
|
15504
15513
|
}
|
|
15505
|
-
function
|
|
15514
|
+
function N9(I, C) {
|
|
15506
15515
|
if (!C || typeof C != "object") return null;
|
|
15507
15516
|
const g = C;
|
|
15508
15517
|
if (I && I !== "chart-generate" || !I && !vl(g)) return null;
|
|
@@ -15512,148 +15521,148 @@ function a9(I, C) {
|
|
|
15512
15521
|
option: g.option
|
|
15513
15522
|
};
|
|
15514
15523
|
}
|
|
15515
|
-
const
|
|
15524
|
+
const X9 = "1.10.38", h9 = "2.14.2", R9 = "2026-08-27";
|
|
15516
15525
|
export {
|
|
15517
|
-
|
|
15518
|
-
|
|
15519
|
-
|
|
15526
|
+
hM as APP_ICON_NAMES,
|
|
15527
|
+
OM as AVATAR_SIZE,
|
|
15528
|
+
z5 as AgentTransferCard,
|
|
15520
15529
|
wA as AppDialog,
|
|
15521
15530
|
v as AppIcon,
|
|
15522
|
-
|
|
15523
|
-
|
|
15524
|
-
|
|
15531
|
+
nM as AppPagination,
|
|
15532
|
+
FM as AppUserPanel,
|
|
15533
|
+
n5 as ApprovalCard,
|
|
15525
15534
|
RA as ArtifactGallery,
|
|
15526
|
-
|
|
15535
|
+
A9 as AssistantPicker,
|
|
15527
15536
|
mo as AttachmentPreviewModal,
|
|
15528
|
-
|
|
15529
|
-
|
|
15530
|
-
|
|
15531
|
-
|
|
15532
|
-
|
|
15533
|
-
|
|
15534
|
-
|
|
15535
|
-
|
|
15536
|
-
|
|
15537
|
+
UM as BORDER_RADIUS,
|
|
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,
|
|
15544
|
+
d5 as BreadcrumbNav,
|
|
15545
|
+
qM as BusinessResultTables,
|
|
15537
15546
|
kI as CHART_COLORS,
|
|
15538
15547
|
PI as COLORS,
|
|
15539
|
-
|
|
15540
|
-
|
|
15548
|
+
TM as CONTROL_HEIGHT,
|
|
15549
|
+
SM as CardGridSkeleton,
|
|
15541
15550
|
nl as CardTable,
|
|
15542
|
-
|
|
15543
|
-
|
|
15544
|
-
|
|
15545
|
-
|
|
15546
|
-
|
|
15551
|
+
fM as ChartOptionPreview,
|
|
15552
|
+
x5 as ChecklistProposalCard,
|
|
15553
|
+
J5 as CollapsibleStepCard,
|
|
15554
|
+
h5 as Composer,
|
|
15555
|
+
HM as ConfirmDialog,
|
|
15547
15556
|
Ai as ContentPanel,
|
|
15548
|
-
|
|
15549
|
-
|
|
15557
|
+
e5 as ConversationHeader,
|
|
15558
|
+
I9 as ConversationSearchBar,
|
|
15550
15559
|
hl as DEFAULT_PAGE_SIZE,
|
|
15551
|
-
|
|
15552
|
-
|
|
15553
|
-
|
|
15560
|
+
EM as DURATION,
|
|
15561
|
+
Q5 as DocumentDetailSummaryCard,
|
|
15562
|
+
Y5 as DocumentPreviewDrawer,
|
|
15554
15563
|
EB as DocumentPreviewPanel,
|
|
15555
15564
|
Uw as DocumentSummaryList,
|
|
15556
|
-
|
|
15557
|
-
|
|
15558
|
-
|
|
15565
|
+
h9 as EP_FORK_BASE,
|
|
15566
|
+
R9 as EP_FORK_DATE,
|
|
15567
|
+
D5 as EditableArtifactCard,
|
|
15559
15568
|
qI as EmptyState,
|
|
15560
|
-
|
|
15561
|
-
|
|
15569
|
+
eM as ErrorBoundary,
|
|
15570
|
+
U5 as ErrorRecoveryCard,
|
|
15562
15571
|
FB as ExcelPreviewCard,
|
|
15563
|
-
|
|
15564
|
-
|
|
15565
|
-
|
|
15566
|
-
|
|
15572
|
+
V5 as ExecutionArtifactPanel,
|
|
15573
|
+
kM as FONT_SIZE,
|
|
15574
|
+
vM as FORM,
|
|
15575
|
+
t5 as FieldListCard,
|
|
15567
15576
|
Ls as FieldRow,
|
|
15568
15577
|
iY as FileChip,
|
|
15569
|
-
|
|
15570
|
-
|
|
15571
|
-
|
|
15572
|
-
|
|
15573
|
-
|
|
15574
|
-
|
|
15575
|
-
|
|
15578
|
+
c5 as FilterBar,
|
|
15579
|
+
uM as FilterTabs,
|
|
15580
|
+
k5 as FlowNodeStripCard,
|
|
15581
|
+
r5 as FlowPreviewShell,
|
|
15582
|
+
yM as FormDialog,
|
|
15583
|
+
m5 as HintText,
|
|
15584
|
+
o5 as HitlArtifactPanel,
|
|
15576
15585
|
NA as ICON_MAP,
|
|
15577
|
-
|
|
15578
|
-
|
|
15586
|
+
jM as ICON_SIZE,
|
|
15587
|
+
f5 as ImageGenerateCard,
|
|
15579
15588
|
qB as ImagePreviewCard,
|
|
15580
15589
|
KW as JsonCard,
|
|
15581
15590
|
gB as JsonDetailDialog,
|
|
15582
|
-
|
|
15583
|
-
|
|
15584
|
-
|
|
15585
|
-
|
|
15586
|
-
|
|
15591
|
+
xM as LAYOUT_HEIGHT,
|
|
15592
|
+
i5 as LoadingDots,
|
|
15593
|
+
C5 as LogStream,
|
|
15594
|
+
p5 as MentionInput,
|
|
15595
|
+
F5 as MessageActionBar,
|
|
15587
15596
|
Jw as MessageAttachmentList,
|
|
15588
15597
|
Jo as MessageBubble,
|
|
15589
|
-
|
|
15598
|
+
X5 as MessageList,
|
|
15590
15599
|
yw as MessageParts,
|
|
15591
|
-
|
|
15592
|
-
|
|
15593
|
-
|
|
15594
|
-
|
|
15595
|
-
|
|
15600
|
+
PM as MetricChart,
|
|
15601
|
+
P5 as Model3dPreviewCard,
|
|
15602
|
+
Z9 as ModelPicker,
|
|
15603
|
+
w5 as NodeArtifactStrip,
|
|
15604
|
+
QM as PAGE,
|
|
15596
15605
|
lm as PAGE_SIZE_OPTIONS,
|
|
15597
15606
|
dm as PAGINATION_LAYOUT,
|
|
15598
15607
|
oI as PROPERTY_CONTROL_SIZE,
|
|
15599
15608
|
yl as PROPERTY_FETCH_REMOTE_KEY,
|
|
15600
|
-
|
|
15601
|
-
|
|
15609
|
+
l5 as PageHeader,
|
|
15610
|
+
Z5 as PageShell,
|
|
15602
15611
|
Ml as PdfPreviewCard,
|
|
15603
|
-
|
|
15604
|
-
|
|
15605
|
-
|
|
15612
|
+
K5 as PendingAttachmentChip,
|
|
15613
|
+
E5 as PptPreviewCard,
|
|
15614
|
+
M5 as ProcessingDrawer,
|
|
15606
15615
|
BW as PropertyField,
|
|
15607
|
-
|
|
15608
|
-
|
|
15609
|
-
|
|
15610
|
-
|
|
15616
|
+
s5 as PropertyPanel,
|
|
15617
|
+
T5 as QuestionnaireCard,
|
|
15618
|
+
C9 as RagContextPanel,
|
|
15619
|
+
j5 as RequirementAnalysisCard,
|
|
15611
15620
|
WV as RunStatusBar,
|
|
15612
|
-
|
|
15621
|
+
X9 as SCHEMA_UI_VERSION,
|
|
15613
15622
|
Zi as SHADOWS,
|
|
15614
|
-
|
|
15615
|
-
|
|
15616
|
-
|
|
15623
|
+
LM as SPACING,
|
|
15624
|
+
q5 as SchemaFormPreview,
|
|
15625
|
+
W5 as SchemaLitePreview,
|
|
15617
15626
|
vW as ScriptTablePreview,
|
|
15618
|
-
|
|
15627
|
+
b5 as SearchForm,
|
|
15619
15628
|
Ps as SectionToggle,
|
|
15620
|
-
|
|
15621
|
-
|
|
15622
|
-
|
|
15623
|
-
|
|
15624
|
-
|
|
15625
|
-
|
|
15626
|
-
|
|
15627
|
-
|
|
15628
|
-
|
|
15629
|
-
|
|
15629
|
+
I5 as ServiceGrid,
|
|
15630
|
+
y5 as SessionHistoryDrawer,
|
|
15631
|
+
H5 as SessionSidebar,
|
|
15632
|
+
$M as SeverityBadge,
|
|
15633
|
+
pM as Skeleton,
|
|
15634
|
+
JM as SliderCaptcha,
|
|
15635
|
+
N5 as StarterPromptGrid,
|
|
15636
|
+
_M as StatCard,
|
|
15637
|
+
KM as StatusTag,
|
|
15638
|
+
g5 as StatusTimeline,
|
|
15630
15639
|
_W as StoryboardTablePreview,
|
|
15631
|
-
|
|
15640
|
+
R5 as StreamStatusBanner,
|
|
15632
15641
|
ul as StructuredJsonPreview,
|
|
15633
|
-
|
|
15634
|
-
|
|
15635
|
-
|
|
15636
|
-
|
|
15637
|
-
|
|
15642
|
+
O5 as SubWorkflowStatusCard,
|
|
15643
|
+
$5 as SuggestionCard,
|
|
15644
|
+
tM as TEXT_COLORS,
|
|
15645
|
+
G5 as TableRowActions,
|
|
15646
|
+
g9 as TaskChainBar,
|
|
15638
15647
|
cY as TextPreviewCard,
|
|
15639
|
-
|
|
15640
|
-
|
|
15641
|
-
|
|
15642
|
-
|
|
15643
|
-
|
|
15644
|
-
|
|
15648
|
+
S5 as ThinkingBlock,
|
|
15649
|
+
A5 as ThresholdSlider,
|
|
15650
|
+
zM as TimeRangePicker,
|
|
15651
|
+
a5 as TipBanner,
|
|
15652
|
+
MM as Toast,
|
|
15653
|
+
L5 as TokenUsageCard,
|
|
15645
15654
|
Hl as TruncatedTooltipText,
|
|
15646
|
-
|
|
15647
|
-
|
|
15655
|
+
DM as UserAvatar,
|
|
15656
|
+
v5 as VariableDiffCard,
|
|
15648
15657
|
IY as VideoPreviewCard,
|
|
15649
|
-
|
|
15650
|
-
|
|
15651
|
-
|
|
15658
|
+
u5 as VirtualMessageScroller,
|
|
15659
|
+
_5 as WorkflowRunTimeline,
|
|
15660
|
+
rM as Z_INDEX,
|
|
15652
15661
|
ug as detectArtifactKind,
|
|
15653
15662
|
Sg as detectStructuredJsonKind,
|
|
15654
15663
|
VW as evalVisibleOn,
|
|
15655
|
-
|
|
15656
|
-
|
|
15664
|
+
a9 as extractBusinessResultTables,
|
|
15665
|
+
N9 as extractChartOption,
|
|
15657
15666
|
Eg as extractDocumentId,
|
|
15658
15667
|
wg as extractEmbeddedJson,
|
|
15659
15668
|
XA as fileKind,
|
|
@@ -15664,25 +15673,25 @@ export {
|
|
|
15664
15673
|
Dg as isImage,
|
|
15665
15674
|
uZ as isOffice,
|
|
15666
15675
|
Pg as isPdf,
|
|
15667
|
-
|
|
15668
|
-
|
|
15669
|
-
|
|
15670
|
-
|
|
15676
|
+
B5 as isPreviewable,
|
|
15677
|
+
RM as isRegisteredAppIcon,
|
|
15678
|
+
V9 as normalizeAttachments,
|
|
15679
|
+
o9 as normalizeNodeOutput,
|
|
15671
15680
|
RC as parseStructuredJsonContent,
|
|
15672
|
-
|
|
15681
|
+
G9 as provideToast,
|
|
15673
15682
|
Ql as renderMarkdown,
|
|
15674
|
-
|
|
15675
|
-
|
|
15683
|
+
w9 as resolveApiErrorMessage,
|
|
15684
|
+
c9 as resolveBpmnPreviewNodeType,
|
|
15676
15685
|
mw as splitTextAndCodeBlocks,
|
|
15677
15686
|
pW as structuredJsonLabel,
|
|
15678
15687
|
Al as tryParseJsonText,
|
|
15679
|
-
|
|
15680
|
-
|
|
15688
|
+
l9 as useChatScroll,
|
|
15689
|
+
W9 as useClientPagination,
|
|
15681
15690
|
gY as useClipboard,
|
|
15682
|
-
|
|
15683
|
-
|
|
15684
|
-
|
|
15685
|
-
|
|
15686
|
-
|
|
15687
|
-
|
|
15691
|
+
m9 as useConfirm,
|
|
15692
|
+
B9 as useDataLoading,
|
|
15693
|
+
s9 as useDebounceFn,
|
|
15694
|
+
i9 as useMessage,
|
|
15695
|
+
Y9 as useRealtime,
|
|
15696
|
+
b9 as useToast
|
|
15688
15697
|
};
|