@fses/workbench-app 0.2.15 → 0.2.16
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/WORKBENCH-CLOSURE.json +12 -12
- package/dist/{Workspace-_r17G1XR.js → Workspace-CfKvji6S.js} +319 -318
- package/dist/fses-workbench-app.js +1 -1
- package/dist/{index-C0L5xASu.js → index-CMM-5ObU.js} +2 -2
- package/dist/style.css +1 -1
- package/dist/version.d.ts +1 -1
- package/node_modules/@fses/ai-chat/dist/fses-ai-chat.js +4004 -3979
- package/node_modules/@fses/ai-chat/dist/fses-ai-chat.umd.cjs +17 -17
- package/node_modules/@fses/ai-chat/dist/style.css +1 -1
- package/node_modules/@fses/ai-chat/package.json +5 -5
- package/node_modules/@fses/workbench-card/package.json +1 -1
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Qt, openBlock as x, createElementBlock as I, createElementVNode as f, toDisplayString as te, createVNode as He, unref as W, ref as O, computed as A, watch as St, withModifiers as Je, createTextVNode as sr, withDirectives as ir, vModelText as Ra, Fragment as yt, renderList as It, normalizeClass as it, reactive as In, resolveComponent as xb, withKeys as Fg, createCommentVNode as
|
|
1
|
+
import { defineComponent as Qt, openBlock as x, createElementBlock as I, createElementVNode as f, toDisplayString as te, createVNode as He, unref as W, ref as O, computed as A, watch as St, withModifiers as Je, createTextVNode as sr, withDirectives as ir, vModelText as Ra, Fragment as yt, renderList as It, normalizeClass as it, reactive as In, resolveComponent as xb, withKeys as Fg, createCommentVNode as ie, vModelSelect as Lg, createBlock as st, resolveDynamicComponent as xi, Teleport as Ba, normalizeStyle as qt, renderSlot as _i, shallowRef as Ng, nextTick as Zt, onMounted as ra, onBeforeUnmount as Mr, markRaw as Pg, withCtx as Nn, vShow as Um, inject as Gf, toValue as ol, useAttrs as Ii, h as zf, mergeProps as Mi, createStaticVNode as _b, provide as Cb, onUnmounted as kb, createSlots as $g, vModelDynamic as Sb, Transition as Vm, useSlots as Ib, vModelCheckbox as Og } from "vue";
|
|
2
2
|
import { useRouter as Wg, useRoute as Mb } from "vue-router";
|
|
3
3
|
import { Table as qf, Pagination as jf, DatePicker as Rb, Input as Bb, Select as fo, Button as Km, Modal as Ym, message as an, Spin as Xm } from "ant-design-vue";
|
|
4
4
|
import { UserCheck as Ab, LockKeyhole as Tb, Building2 as Db, X as ho, Search as ga, BarChart3 as jd, Link2 as Hg, AlertCircle as wf, RefreshCw as mo, Heart as Qm, Download as Jm, ExternalLink as Eb, PanelRightOpen as Fb, SlidersHorizontal as Lb, MoreVertical as Nb, Settings as Uf, Trash2 as Gg, GripVertical as zg, ChevronLeft as Pb, ChevronRight as ml, GitBranch as qg, Check as mi, Brush as $b, Grid2X2 as Ud, Blocks as Zm, Pencil as Ob, Sparkles as Js, Palette as Wb, Layers as Hb, Box as Gb, Plus as xf, Copy as zb, Save as qb, PencilLine as Vd, LayoutDashboard as jb, Database as Ub, Minimize2 as Vb, Maximize2 as Kb, LoaderCircle as Yb, Bot as Xb, History as Qb, ArrowRightToLine as Jb } from "lucide-vue-next";
|
|
@@ -6,7 +6,7 @@ import { FsesAiChat as Zb, canShowRecommendationFieldConfig as ey } from "@fses/
|
|
|
6
6
|
import "@fses/ai-chat/chart-card/from-markdown";
|
|
7
7
|
import { resolveCardRecommendationFieldLabel as Ao } from "@fses/ai-chat/utils/card-recommendation-field-label";
|
|
8
8
|
import "@fses/ai-chat/utils/card-recommendation-source";
|
|
9
|
-
import { _ as un, r as jg, D as il, n as Fo, W as ty, f as ny, s as ry, w as ay, a as eh, b as oy, p as iy, c as sy, d as ly, e as th, g as cy, h as uy, i as dy, j as fy } from "./index-
|
|
9
|
+
import { _ as un, r as jg, D as il, n as Fo, W as ty, f as ny, s as ry, w as ay, a as eh, b as oy, p as iy, c as sy, d as ly, e as th, g as cy, h as uy, i as dy, j as fy } from "./index-CMM-5ObU.js";
|
|
10
10
|
import { workbenchCardShellStyle as my } from "@fses/workbench-card";
|
|
11
11
|
import { CARD_CATEGORIES as Qc, CARD_REGISTRY as _f } from "@fses/workbench-card/registry";
|
|
12
12
|
import { WorkbenchBlockRenderer as pu, EChartsProtocolRenderer as hy, EChartsProtocolAdapter as gy, applyWorkbenchResizableColumns as py, workbenchResizableTableScrollX as vy, setWorkbenchResizableColumnWidth as by } from "@fses/workbench-card/renderers";
|
|
@@ -1412,7 +1412,7 @@ const rx = {
|
|
|
1412
1412
|
type: "button",
|
|
1413
1413
|
class: "h-8 shrink-0 rounded-md bg-blue-600 px-2.5 text-xs font-medium text-white",
|
|
1414
1414
|
onClick: (C) => fe(P, "openRoute")
|
|
1415
|
-
}, te(P.ui.submitLabel || "查询"), 9, mx)) :
|
|
1415
|
+
}, te(P.ui.submitLabel || "查询"), 9, mx)) : ie("", !0)
|
|
1416
1416
|
]),
|
|
1417
1417
|
Q(P) && y(P).businessResult ? (x(), I("div", hx, [
|
|
1418
1418
|
f("div", gx, [
|
|
@@ -1475,7 +1475,7 @@ const rx = {
|
|
|
1475
1475
|
}), 128)),
|
|
1476
1476
|
Rt(P).length === 0 ? (x(), I("tr", Ix, [
|
|
1477
1477
|
f("td", Mx, te(Mt(P)), 1)
|
|
1478
|
-
])) :
|
|
1478
|
+
])) : ie("", !0)
|
|
1479
1479
|
])
|
|
1480
1480
|
])
|
|
1481
1481
|
]),
|
|
@@ -1501,7 +1501,7 @@ const rx = {
|
|
|
1501
1501
|
}, "下一页", 8, Tx)
|
|
1502
1502
|
])
|
|
1503
1503
|
])
|
|
1504
|
-
])) :
|
|
1504
|
+
])) : ie("", !0),
|
|
1505
1505
|
X(P) ? (x(), I("div", Dx, [
|
|
1506
1506
|
(x(!0), I(yt, null, It(Pe(P), (C) => (x(), I("button", {
|
|
1507
1507
|
key: C.id,
|
|
@@ -1512,8 +1512,8 @@ const rx = {
|
|
|
1512
1512
|
f("span", Fx, te(C.title), 1),
|
|
1513
1513
|
f("span", Lx, te(S(C)), 1)
|
|
1514
1514
|
], 8, Ex))), 128)),
|
|
1515
|
-
Pe(P).length === 0 ? (x(), I("div", Nx, te(Mt(P)), 1)) :
|
|
1516
|
-
])) :
|
|
1515
|
+
Pe(P).length === 0 ? (x(), I("div", Nx, te(Mt(P)), 1)) : ie("", !0)
|
|
1516
|
+
])) : ie("", !0),
|
|
1517
1517
|
f("div", Px, [
|
|
1518
1518
|
(x(!0), I(yt, null, It(ut(P).filter((C) => !(he(P) && C.type === "openRoute")), (C) => (x(), I("button", {
|
|
1519
1519
|
key: `${C.trigger}-${C.type}`,
|
|
@@ -1524,23 +1524,23 @@ const rx = {
|
|
|
1524
1524
|
C.type === "refreshData" ? (x(), st(W(mo), {
|
|
1525
1525
|
key: 0,
|
|
1526
1526
|
class: "mr-1 h-3 w-3"
|
|
1527
|
-
})) :
|
|
1527
|
+
})) : ie("", !0),
|
|
1528
1528
|
C.type === "toggleFavorite" ? (x(), st(W(Qm), {
|
|
1529
1529
|
key: 1,
|
|
1530
1530
|
class: it(["mr-1 h-3 w-3", y(P).favorited ? "fill-rose-500 text-rose-500" : ""])
|
|
1531
|
-
}, null, 8, ["class"])) :
|
|
1531
|
+
}, null, 8, ["class"])) : ie("", !0),
|
|
1532
1532
|
C.type === "exportData" ? (x(), st(W(Jm), {
|
|
1533
1533
|
key: 2,
|
|
1534
1534
|
class: "mr-1 h-3 w-3"
|
|
1535
|
-
})) :
|
|
1535
|
+
})) : ie("", !0),
|
|
1536
1536
|
C.type === "openDrawer" ? (x(), st(W(Eb), {
|
|
1537
1537
|
key: 3,
|
|
1538
1538
|
class: "mr-1 h-3 w-3"
|
|
1539
|
-
})) :
|
|
1539
|
+
})) : ie("", !0),
|
|
1540
1540
|
sr(" " + te(ke(C.type)), 1)
|
|
1541
1541
|
], 8, $x))), 128))
|
|
1542
1542
|
]),
|
|
1543
|
-
y(P).message ? (x(), I("div", Ox, te(y(P).message), 1)) :
|
|
1543
|
+
y(P).message ? (x(), I("div", Ox, te(y(P).message), 1)) : ie("", !0)
|
|
1544
1544
|
])) : (x(), I("div", Wx, [
|
|
1545
1545
|
f("button", {
|
|
1546
1546
|
type: "button",
|
|
@@ -1568,7 +1568,7 @@ const rx = {
|
|
|
1568
1568
|
blocks: e.blocks,
|
|
1569
1569
|
onFocusBlock: ye[0] || (ye[0] = (C) => a("focusBlock", C))
|
|
1570
1570
|
}, null, 8, ["block", "slot", "blocks"]))
|
|
1571
|
-
])) :
|
|
1571
|
+
])) : ie("", !0)
|
|
1572
1572
|
])),
|
|
1573
1573
|
(x(), st(Ba, { to: "body" }, [
|
|
1574
1574
|
y(P).detailRow ? (x(), I("div", {
|
|
@@ -1598,7 +1598,7 @@ const rx = {
|
|
|
1598
1598
|
}), 128))
|
|
1599
1599
|
])
|
|
1600
1600
|
])
|
|
1601
|
-
], 8, Ux)) :
|
|
1601
|
+
], 8, Ux)) : ie("", !0)
|
|
1602
1602
|
]))
|
|
1603
1603
|
], 64);
|
|
1604
1604
|
}), 128);
|
|
@@ -2401,7 +2401,7 @@ const I_ = ["data-selected", "data-card-id", "data-card-title", "data-compose-so
|
|
|
2401
2401
|
U === "bottom-right" ? "-bottom-1 -right-1" : ""
|
|
2402
2402
|
]),
|
|
2403
2403
|
"aria-hidden": "true"
|
|
2404
|
-
}, null, 2)), 64)) :
|
|
2404
|
+
}, null, 2)), 64)) : ie("", !0),
|
|
2405
2405
|
f("div", {
|
|
2406
2406
|
class: it(["workbench-card-action-menu absolute right-2 top-2 z-40 opacity-0 transition group-hover:opacity-100 group-focus-within:opacity-100", E.value ? "!opacity-100" : ""]),
|
|
2407
2407
|
"data-card-action-menu": "true",
|
|
@@ -2432,7 +2432,7 @@ const I_ = ["data-selected", "data-card-id", "data-card-title", "data-compose-so
|
|
|
2432
2432
|
}, [
|
|
2433
2433
|
He(W(Uf), { class: "h-3.5 w-3.5" }),
|
|
2434
2434
|
we[15] || (we[15] = f("span", null, "配置", -1))
|
|
2435
|
-
])) :
|
|
2435
|
+
])) : ie("", !0),
|
|
2436
2436
|
n.canViewMetricDetail && !V.value ? (x(), I("button", {
|
|
2437
2437
|
key: 1,
|
|
2438
2438
|
type: "button",
|
|
@@ -2442,7 +2442,7 @@ const I_ = ["data-selected", "data-card-id", "data-card-title", "data-compose-so
|
|
|
2442
2442
|
}, [
|
|
2443
2443
|
He(W(ga), { class: "h-3.5 w-3.5" }),
|
|
2444
2444
|
we[16] || (we[16] = f("span", null, "查看明细", -1))
|
|
2445
|
-
])) :
|
|
2445
|
+
])) : ie("", !0),
|
|
2446
2446
|
F.value ? (x(), I("button", {
|
|
2447
2447
|
key: 2,
|
|
2448
2448
|
type: "button",
|
|
@@ -2452,10 +2452,10 @@ const I_ = ["data-selected", "data-card-id", "data-card-title", "data-compose-so
|
|
|
2452
2452
|
}, [
|
|
2453
2453
|
He(W(Gg), { class: "h-3.5 w-3.5" }),
|
|
2454
2454
|
we[17] || (we[17] = f("span", null, "删除", -1))
|
|
2455
|
-
])) :
|
|
2456
|
-
])) :
|
|
2455
|
+
])) : ie("", !0)
|
|
2456
|
+
])) : ie("", !0)
|
|
2457
2457
|
], 34)
|
|
2458
|
-
], 64)) :
|
|
2458
|
+
], 64)) : ie("", !0),
|
|
2459
2459
|
e.isConfigMode ? (x(), I("span", {
|
|
2460
2460
|
key: 1,
|
|
2461
2461
|
class: it([
|
|
@@ -2468,7 +2468,7 @@ const I_ = ["data-selected", "data-card-id", "data-card-title", "data-compose-so
|
|
|
2468
2468
|
}, ["stop"]))
|
|
2469
2469
|
}, [
|
|
2470
2470
|
He(W(zg), { class: "h-3.5 w-3.5" })
|
|
2471
|
-
], 2)) :
|
|
2471
|
+
], 2)) : ie("", !0),
|
|
2472
2472
|
je.value ? (x(), I("button", {
|
|
2473
2473
|
key: 2,
|
|
2474
2474
|
type: "button",
|
|
@@ -2483,7 +2483,7 @@ const I_ = ["data-selected", "data-card-id", "data-card-title", "data-compose-so
|
|
|
2483
2483
|
onPointerdown: we[5] || (we[5] = Je(() => {
|
|
2484
2484
|
}, ["stop"])),
|
|
2485
2485
|
onClick: we[6] || (we[6] = Je((U) => a("dataBindingBadgeClick", e.block, U), ["stop", "prevent"]))
|
|
2486
|
-
}, " 补口径 ", 44, B_)) :
|
|
2486
|
+
}, " 补口径 ", 44, B_)) : ie("", !0),
|
|
2487
2487
|
mt.value ? (x(), I("button", {
|
|
2488
2488
|
key: 3,
|
|
2489
2489
|
type: "button",
|
|
@@ -2506,9 +2506,9 @@ const I_ = ["data-selected", "data-card-id", "data-card-title", "data-compose-so
|
|
|
2506
2506
|
nt.value === "running" ? (x(), st(W(mo), {
|
|
2507
2507
|
key: 0,
|
|
2508
2508
|
class: "h-3 w-3 animate-spin"
|
|
2509
|
-
})) :
|
|
2509
|
+
})) : ie("", !0),
|
|
2510
2510
|
f("span", T_, te(P.value), 1)
|
|
2511
|
-
], 46, A_)) :
|
|
2511
|
+
], 46, A_)) : ie("", !0),
|
|
2512
2512
|
V.value ? (x(), I("div", {
|
|
2513
2513
|
key: 4,
|
|
2514
2514
|
class: "workbench-gridstack-card-header flex min-h-[32px] shrink-0 items-center justify-between gap-2 border-b border-slate-100 px-3 py-2",
|
|
@@ -2536,9 +2536,9 @@ const I_ = ["data-selected", "data-card-id", "data-card-title", "data-compose-so
|
|
|
2536
2536
|
fe.value.retryable || nt.value === "running" ? (x(), st(W(mo), {
|
|
2537
2537
|
key: 0,
|
|
2538
2538
|
class: it(["h-3 w-3", nt.value === "running" ? "animate-spin" : ""])
|
|
2539
|
-
}, null, 8, ["class"])) :
|
|
2539
|
+
}, null, 8, ["class"])) : ie("", !0),
|
|
2540
2540
|
f("span", null, te(fe.value.label), 1)
|
|
2541
|
-
], 42, L_)) :
|
|
2541
|
+
], 42, L_)) : ie("", !0),
|
|
2542
2542
|
n.canViewMetricDetail ? (x(), I("button", {
|
|
2543
2543
|
key: 1,
|
|
2544
2544
|
type: "button",
|
|
@@ -2554,15 +2554,15 @@ const I_ = ["data-selected", "data-card-id", "data-card-title", "data-compose-so
|
|
|
2554
2554
|
}, [
|
|
2555
2555
|
He(W(ga), { class: "h-3 w-3" }),
|
|
2556
2556
|
we[18] || (we[18] = f("span", null, "查看明细", -1))
|
|
2557
|
-
], 32)) :
|
|
2557
|
+
], 32)) : ie("", !0)
|
|
2558
2558
|
]),
|
|
2559
2559
|
ge.value ? (x(), I("p", {
|
|
2560
2560
|
key: 0,
|
|
2561
2561
|
class: "workbench-card-subtitle mt-0.5 truncate text-xs leading-5 text-slate-500",
|
|
2562
2562
|
title: ge.value
|
|
2563
|
-
}, te(ge.value), 9, N_)) :
|
|
2563
|
+
}, te(ge.value), 9, N_)) : ie("", !0)
|
|
2564
2564
|
])
|
|
2565
|
-
], 4)) :
|
|
2565
|
+
], 4)) : ie("", !0),
|
|
2566
2566
|
_i(ee.$slots, "default", {}, void 0, !0)
|
|
2567
2567
|
], 46, I_));
|
|
2568
2568
|
}
|
|
@@ -3082,7 +3082,7 @@ const I_ = ["data-selected", "data-card-id", "data-card-title", "data-compose-so
|
|
|
3082
3082
|
"--gs-item-margin-left": `${W(ii) / 2}px`
|
|
3083
3083
|
})
|
|
3084
3084
|
}, [
|
|
3085
|
-
ye.value ? (x(), I("div", W_, " 拖拽卡片到这里 ")) :
|
|
3085
|
+
ye.value ? (x(), I("div", W_, " 拖拽卡片到这里 ")) : ie("", !0),
|
|
3086
3086
|
(x(!0), I(yt, null, It(Ge.value, (de) => (x(), I("div", {
|
|
3087
3087
|
key: String(de.i),
|
|
3088
3088
|
class: "grid-stack-item",
|
|
@@ -3124,9 +3124,9 @@ const I_ = ["data-selected", "data-card-id", "data-card-title", "data-compose-so
|
|
|
3124
3124
|
"host-bridge": e.rendererHostBridge,
|
|
3125
3125
|
onFocusBlock: (Ve) => ne(String(de.i)),
|
|
3126
3126
|
onDataBindingBadgeClick: (Ve) => G(wn(de))
|
|
3127
|
-
}, null, 8, ["block", "role-id", "user-id", "host-bridge", "onFocusBlock", "onDataBindingBadgeClick"])) :
|
|
3127
|
+
}, null, 8, ["block", "role-id", "user-id", "host-bridge", "onFocusBlock", "onDataBindingBadgeClick"])) : ie("", !0)
|
|
3128
3128
|
])
|
|
3129
|
-
], 10, z_)) :
|
|
3129
|
+
], 10, z_)) : ie("", !0)
|
|
3130
3130
|
])
|
|
3131
3131
|
], 12, H_))), 128))
|
|
3132
3132
|
], 38)
|
|
@@ -4563,11 +4563,11 @@ const nC = ["data-debug-layout-summary"], rC = ["data-card-id", "gs-id", "gs-x",
|
|
|
4563
4563
|
onFocusBlock: p[2] || (p[2] = (H) => i("focusBlock", H)),
|
|
4564
4564
|
onFocusNestedBlock: p[3] || (p[3] = (H) => i("focusNestedBlock", H.parentId, H.childId)),
|
|
4565
4565
|
onChartClick: p[4] || (p[4] = (H) => i("chartClick", H))
|
|
4566
|
-
}, null, 8, ["block", "role-id", "user-id", "density", "host-bridge"])) :
|
|
4566
|
+
}, null, 8, ["block", "role-id", "user-id", "density", "host-bridge"])) : ie("", !0)
|
|
4567
4567
|
], 2)
|
|
4568
4568
|
]),
|
|
4569
4569
|
_: 2
|
|
4570
|
-
}, 1032, ["block", "is-config-mode", "selected", "can-edit-data", "can-remove", "can-configure", "can-view-metric-detail", "card-class", "card-style", "title"])) :
|
|
4570
|
+
}, 1032, ["block", "is-config-mode", "selected", "can-edit-data", "can-remove", "can-configure", "can-view-metric-detail", "card-class", "card-style", "title"])) : ie("", !0)
|
|
4571
4571
|
])
|
|
4572
4572
|
], 12, rC))), 128))
|
|
4573
4573
|
], 12, nC)
|
|
@@ -4623,16 +4623,16 @@ const iC = { class: "mt-4 flex flex-shrink-0 flex-wrap justify-end gap-3 lg:mt-0
|
|
|
4623
4623
|
}
|
|
4624
4624
|
}, {
|
|
4625
4625
|
default: Nn(() => [
|
|
4626
|
-
c.badge !== void 0 ? (x(), I("span", sC, te(c.badge), 1)) :
|
|
4626
|
+
c.badge !== void 0 ? (x(), I("span", sC, te(c.badge), 1)) : ie("", !0),
|
|
4627
4627
|
f("span", lC, [
|
|
4628
4628
|
c.icon ? (x(), st(xi(c.icon), {
|
|
4629
4629
|
key: 0,
|
|
4630
4630
|
class: "h-4 w-4 text-blue-50"
|
|
4631
|
-
})) :
|
|
4631
|
+
})) : ie("", !0),
|
|
4632
4632
|
f("span", null, te(c.value), 1)
|
|
4633
4633
|
]),
|
|
4634
4634
|
f("span", cC, te(c.label), 1),
|
|
4635
|
-
c.hint ? (x(), I("span", uC, te(c.hint), 1)) :
|
|
4635
|
+
c.hint ? (x(), I("span", uC, te(c.hint), 1)) : ie("", !0)
|
|
4636
4636
|
]),
|
|
4637
4637
|
_: 2
|
|
4638
4638
|
}, 1032, ["class", "onClick"]))), 128))
|
|
@@ -6688,7 +6688,7 @@ const Xk = ["title"], Qk = ["disabled"], Jk = { class: "fde-metric-chart-toolbar
|
|
|
6688
6688
|
key: 0,
|
|
6689
6689
|
class: "fde-metric-chart-toolbar__current",
|
|
6690
6690
|
title: `当前维度:${e.view.current_dimension_name}`
|
|
6691
|
-
}, " 当前维度:" + te(e.view.current_dimension_name), 9, Xk)) :
|
|
6691
|
+
}, " 当前维度:" + te(e.view.current_dimension_name), 9, Xk)) : ie("", !0),
|
|
6692
6692
|
ir(f("button", {
|
|
6693
6693
|
type: "button",
|
|
6694
6694
|
class: "fde-metric-chart-toolbar__scroll-button",
|
|
@@ -6754,7 +6754,7 @@ const Xk = ["title"], Qk = ["disabled"], Jk = { class: "fde-metric-chart-toolbar
|
|
|
6754
6754
|
], 8, aS), [
|
|
6755
6755
|
[Um, y.value]
|
|
6756
6756
|
])
|
|
6757
|
-
], 2)) :
|
|
6757
|
+
], 2)) : ie("", !0);
|
|
6758
6758
|
}
|
|
6759
6759
|
}), fu = /* @__PURE__ */ un(oS, [["__scopeId", "data-v-35d82ecb"]]), Iu = Symbol("fdeSkillDashboardContext");
|
|
6760
6760
|
function ki(e) {
|
|
@@ -7310,7 +7310,7 @@ const NS = {
|
|
|
7310
7310
|
}), (Te, Le) => (x(), I("article", {
|
|
7311
7311
|
class: it(["fde-skill-chart-card", { "fde-skill-chart-card--embed": a.value }])
|
|
7312
7312
|
}, [
|
|
7313
|
-
a.value ?
|
|
7313
|
+
a.value ? ie("", !0) : (x(), I("header", NS, [
|
|
7314
7314
|
f("div", PS, [
|
|
7315
7315
|
f("div", $S, [
|
|
7316
7316
|
f("h3", OS, te(n.card.card.title), 1),
|
|
@@ -7318,9 +7318,9 @@ const NS = {
|
|
|
7318
7318
|
key: 0,
|
|
7319
7319
|
class: "fde-skill-chart-card__metric-current",
|
|
7320
7320
|
title: `当前维度:${h.value.current_dimension_name}`
|
|
7321
|
-
}, " 当前维度:" + te(h.value.current_dimension_name), 9, WS)) :
|
|
7321
|
+
}, " 当前维度:" + te(h.value.current_dimension_name), 9, WS)) : ie("", !0)
|
|
7322
7322
|
]),
|
|
7323
|
-
n.card.card.description ? (x(), I("p", HS, te(n.card.card.description), 1)) :
|
|
7323
|
+
n.card.card.description ? (x(), I("p", HS, te(n.card.card.description), 1)) : ie("", !0)
|
|
7324
7324
|
]),
|
|
7325
7325
|
He(fu, {
|
|
7326
7326
|
class: "fde-skill-chart-card__metric-toolbar",
|
|
@@ -7331,7 +7331,7 @@ const NS = {
|
|
|
7331
7331
|
onJumpPath: he,
|
|
7332
7332
|
onClearDrilldown: ge
|
|
7333
7333
|
}, null, 8, ["view", "loading"]),
|
|
7334
|
-
n.loading ? (x(), I("span", GS, "刷新中")) : n.error ? (x(), I("span", zS, "刷新失败")) :
|
|
7334
|
+
n.loading ? (x(), I("span", GS, "刷新中")) : n.error ? (x(), I("span", zS, "刷新失败")) : ie("", !0)
|
|
7335
7335
|
])),
|
|
7336
7336
|
f("div", {
|
|
7337
7337
|
ref_key: "chartBodyEl",
|
|
@@ -7348,7 +7348,7 @@ const NS = {
|
|
|
7348
7348
|
onSwitchDimension: X,
|
|
7349
7349
|
onJumpPath: he,
|
|
7350
7350
|
onClearDrilldown: ge
|
|
7351
|
-
}, null, 8, ["view", "loading", "show-current"])) :
|
|
7351
|
+
}, null, 8, ["view", "loading", "show-current"])) : ie("", !0),
|
|
7352
7352
|
c.value ? (x(), st(Cv, {
|
|
7353
7353
|
key: 1,
|
|
7354
7354
|
class: "fde-skill-chart-card__chart",
|
|
@@ -7357,7 +7357,7 @@ const NS = {
|
|
|
7357
7357
|
"layout-fit": a.value ? "embed" : "card",
|
|
7358
7358
|
onChartClick: Y
|
|
7359
7359
|
}, null, 8, ["chart", "title", "layout-fit"])) : (x(), I("div", qS, "图表协议不支持,请重新生成")),
|
|
7360
|
-
c.value && u.value && n.loading ? (x(), I("div", jS, "正在加载数据")) : c.value && u.value ? (x(), I("div", US, "暂无数据")) :
|
|
7360
|
+
c.value && u.value && n.loading ? (x(), I("div", jS, "正在加载数据")) : c.value && u.value ? (x(), I("div", US, "暂无数据")) : ie("", !0),
|
|
7361
7361
|
S.value ? (x(), I("div", {
|
|
7362
7362
|
key: 5,
|
|
7363
7363
|
ref_key: "drilldownActionEl",
|
|
@@ -7388,8 +7388,8 @@ const NS = {
|
|
|
7388
7388
|
}, [
|
|
7389
7389
|
He(W(ga), { class: "fde-skill-chart-card__action-icon" }),
|
|
7390
7390
|
Le[2] || (Le[2] = f("span", null, "穿透查看明细", -1))
|
|
7391
|
-
])) :
|
|
7392
|
-
], 36)) :
|
|
7391
|
+
])) : ie("", !0)
|
|
7392
|
+
], 36)) : ie("", !0)
|
|
7393
7393
|
], 512)
|
|
7394
7394
|
], 2));
|
|
7395
7395
|
}
|
|
@@ -7494,7 +7494,7 @@ const NS = {
|
|
|
7494
7494
|
}, null, 8, ["current", "disabled", "page-size", "show-total", "total"])
|
|
7495
7495
|
])
|
|
7496
7496
|
])
|
|
7497
|
-
], 16)) :
|
|
7497
|
+
], 16)) : ie("", !0)
|
|
7498
7498
|
]));
|
|
7499
7499
|
}
|
|
7500
7500
|
}), km = /* @__PURE__ */ un(eI, [["__scopeId", "data-v-bd92f5c7"]]);
|
|
@@ -7932,7 +7932,7 @@ const lI = {
|
|
|
7932
7932
|
})
|
|
7933
7933
|
])
|
|
7934
7934
|
])
|
|
7935
|
-
])) :
|
|
7935
|
+
])) : ie("", !0);
|
|
7936
7936
|
}
|
|
7937
7937
|
}), Sm = /* @__PURE__ */ un(hI, [["__scopeId", "data-v-877e18b6"]]), gI = {
|
|
7938
7938
|
class: "fde-skill-header-card",
|
|
@@ -7956,7 +7956,7 @@ const lI = {
|
|
|
7956
7956
|
f("div", pI, [
|
|
7957
7957
|
f("div", vI, [
|
|
7958
7958
|
f("h1", bI, te(e.card.card.title), 1),
|
|
7959
|
-
e.card.card.description ? (x(), I("p", yI, te(e.card.card.description), 1)) :
|
|
7959
|
+
e.card.card.description ? (x(), I("p", yI, te(e.card.card.description), 1)) : ie("", !0)
|
|
7960
7960
|
]),
|
|
7961
7961
|
(a = e.card.header.meta) != null && a.length ? (x(), I("aside", wI, [
|
|
7962
7962
|
f("dl", xI, [
|
|
@@ -7968,7 +7968,7 @@ const lI = {
|
|
|
7968
7968
|
f("dd", CI, te(i.value), 1)
|
|
7969
7969
|
]))), 128))
|
|
7970
7970
|
])
|
|
7971
|
-
])) :
|
|
7971
|
+
])) : ie("", !0)
|
|
7972
7972
|
])
|
|
7973
7973
|
]);
|
|
7974
7974
|
};
|
|
@@ -8128,7 +8128,7 @@ const DI = { class: "fde-skill-list-marquee__head-table" }, EI = ["title"], FI =
|
|
|
8128
8128
|
colspan: Math.max(S.value.length, 1),
|
|
8129
8129
|
class: "fde-skill-list-marquee__empty"
|
|
8130
8130
|
}, "暂无数据", 8, NI)
|
|
8131
|
-
])) :
|
|
8131
|
+
])) : ie("", !0),
|
|
8132
8132
|
(x(!0), I(yt, null, It(ke.value, (ot, ut) => (x(), I("tr", {
|
|
8133
8133
|
key: X(ut)
|
|
8134
8134
|
}, [
|
|
@@ -8215,13 +8215,13 @@ const DI = { class: "fde-skill-list-marquee__head-table" }, EI = ["title"], FI =
|
|
|
8215
8215
|
return (Q, X) => (x(), I("article", {
|
|
8216
8216
|
class: it(["fde-skill-list-card", { "fde-skill-list-card--embed": a.value }])
|
|
8217
8217
|
}, [
|
|
8218
|
-
a.value ?
|
|
8218
|
+
a.value ? ie("", !0) : (x(), I("header", OI, [
|
|
8219
8219
|
f("div", WI, [
|
|
8220
8220
|
f("h3", HI, te(n.card.card.title), 1),
|
|
8221
|
-
n.card.card.description ? (x(), I("p", GI, te(n.card.card.description), 1)) :
|
|
8221
|
+
n.card.card.description ? (x(), I("p", GI, te(n.card.card.description), 1)) : ie("", !0)
|
|
8222
8222
|
]),
|
|
8223
8223
|
f("div", zI, [
|
|
8224
|
-
n.loading ? (x(), I("span", qI, "刷新中")) : n.error ? (x(), I("span", jI, "刷新失败")) : D.value ? (x(), I("span", UI, te(D.value), 1)) :
|
|
8224
|
+
n.loading ? (x(), I("span", qI, "刷新中")) : n.error ? (x(), I("span", jI, "刷新失败")) : D.value ? (x(), I("span", UI, te(D.value), 1)) : ie("", !0)
|
|
8225
8225
|
])
|
|
8226
8226
|
])),
|
|
8227
8227
|
f("div", VI, [
|
|
@@ -8242,7 +8242,7 @@ const DI = { class: "fde-skill-list-marquee__head-table" }, EI = ["title"], FI =
|
|
|
8242
8242
|
scroll: F.value
|
|
8243
8243
|
}, null, 8, ["columns", "data-source", "loading", "locale", "scroll"]))
|
|
8244
8244
|
]),
|
|
8245
|
-
i.value ?
|
|
8245
|
+
i.value ? ie("", !0) : (x(), I("footer", YI, [
|
|
8246
8246
|
He(W(jf), {
|
|
8247
8247
|
current: n.card.list.page_index,
|
|
8248
8248
|
disabled: n.loading,
|
|
@@ -8327,10 +8327,10 @@ const n1 = {
|
|
|
8327
8327
|
class: it(["fde-skill-number-card", { "fde-skill-number-card--embed": i.value }]),
|
|
8328
8328
|
style: qt({ "--fde-skill-number-color": u.value })
|
|
8329
8329
|
}, [
|
|
8330
|
-
i.value ?
|
|
8330
|
+
i.value ? ie("", !0) : (x(), I("header", n1, [
|
|
8331
8331
|
f("div", r1, [
|
|
8332
8332
|
f("h3", a1, te(n.card.card.title), 1),
|
|
8333
|
-
n.card.card.description ? (x(), I("p", o1, te(n.card.card.description), 1)) :
|
|
8333
|
+
n.card.card.description ? (x(), I("p", o1, te(n.card.card.description), 1)) : ie("", !0)
|
|
8334
8334
|
]),
|
|
8335
8335
|
f("div", i1, [
|
|
8336
8336
|
y.value ? (x(), I("button", {
|
|
@@ -8342,8 +8342,8 @@ const n1 = {
|
|
|
8342
8342
|
}, [
|
|
8343
8343
|
He(W(ga), { class: "fde-skill-number-card__detail-icon" }),
|
|
8344
8344
|
S[0] || (S[0] = f("span", null, "查看明细", -1))
|
|
8345
|
-
])) :
|
|
8346
|
-
n.loading ? (x(), I("span", s1, "刷新中")) : n.error ? (x(), I("span", l1, "刷新失败")) :
|
|
8345
|
+
])) : ie("", !0),
|
|
8346
|
+
n.loading ? (x(), I("span", s1, "刷新中")) : n.error ? (x(), I("span", l1, "刷新失败")) : ie("", !0)
|
|
8347
8347
|
])
|
|
8348
8348
|
])),
|
|
8349
8349
|
f("div", c1, [
|
|
@@ -8356,10 +8356,10 @@ const n1 = {
|
|
|
8356
8356
|
}, [
|
|
8357
8357
|
He(W(ga), { class: "fde-skill-number-card__detail-icon" }),
|
|
8358
8358
|
S[1] || (S[1] = f("span", null, "查看明细", -1))
|
|
8359
|
-
])) :
|
|
8360
|
-
c.value.prefix ? (x(), I("span", u1, te(c.value.prefix), 1)) :
|
|
8359
|
+
])) : ie("", !0),
|
|
8360
|
+
c.value.prefix ? (x(), I("span", u1, te(c.value.prefix), 1)) : ie("", !0),
|
|
8361
8361
|
f("strong", d1, te(c.value.value), 1),
|
|
8362
|
-
c.value.suffix ? (x(), I("span", f1, te(c.value.suffix), 1)) :
|
|
8362
|
+
c.value.suffix ? (x(), I("span", f1, te(c.value.suffix), 1)) : ie("", !0)
|
|
8363
8363
|
])
|
|
8364
8364
|
], 6));
|
|
8365
8365
|
}
|
|
@@ -8571,7 +8571,7 @@ const n1 = {
|
|
|
8571
8571
|
loading: F.value,
|
|
8572
8572
|
onSubmit: Me,
|
|
8573
8573
|
onReset: Ge
|
|
8574
|
-
}, null, 8, ["cards", "loading"])) :
|
|
8574
|
+
}, null, 8, ["cards", "loading"])) : ie("", !0),
|
|
8575
8575
|
(x(!0), I(yt, null, It(c.value, (C) => {
|
|
8576
8576
|
var R, De, Ee, ct, xe, ht;
|
|
8577
8577
|
return x(), I(yt, {
|
|
@@ -8600,7 +8600,7 @@ const n1 = {
|
|
|
8600
8600
|
loading: (xe = u[C.card.id]) == null ? void 0 : xe.loading,
|
|
8601
8601
|
error: (ht = u[C.card.id]) == null ? void 0 : ht.error,
|
|
8602
8602
|
onPageChange: (Ct) => V(C, Ct)
|
|
8603
|
-
}, null, 8, ["card", "loading", "error", "onPageChange"])) :
|
|
8603
|
+
}, null, 8, ["card", "loading", "error", "onPageChange"])) : ie("", !0)
|
|
8604
8604
|
], 64);
|
|
8605
8605
|
}), 128))
|
|
8606
8606
|
], 16),
|
|
@@ -8617,7 +8617,7 @@ const n1 = {
|
|
|
8617
8617
|
onClose: Ae,
|
|
8618
8618
|
onPageChange: mt
|
|
8619
8619
|
}, null, 8, ["visible", "loading", "error", "context", "columns", "rows", "total", "page-index", "page-size"])
|
|
8620
|
-
], 64)) :
|
|
8620
|
+
], 64)) : ie("", !0);
|
|
8621
8621
|
}
|
|
8622
8622
|
}), g1 = /* @__PURE__ */ un(h1, [["__scopeId", "data-v-db9fa9c7"]]);
|
|
8623
8623
|
function Mu() {
|
|
@@ -8718,12 +8718,12 @@ const k1 = ["aria-label"], S1 = { class: "fde-dashboard-kpi-item__label" }, I1 =
|
|
|
8718
8718
|
}, [
|
|
8719
8719
|
f("header", S1, te(e.item.label), 1),
|
|
8720
8720
|
n.value === "digit-box" ? (x(), I("div", I1, [
|
|
8721
|
-
e.item.prefix ? (x(), I("span", M1, te(e.item.prefix), 1)) :
|
|
8721
|
+
e.item.prefix ? (x(), I("span", M1, te(e.item.prefix), 1)) : ie("", !0),
|
|
8722
8722
|
(x(!0), I(yt, null, It(i.value, (E, F) => (x(), I("span", {
|
|
8723
8723
|
key: `${e.item.label}-${F}-${E}`,
|
|
8724
8724
|
class: "fde-dashboard-kpi-item__digit"
|
|
8725
8725
|
}, te(E), 1))), 128)),
|
|
8726
|
-
e.item.suffix ? (x(), I("span", R1, te(e.item.suffix), 1)) :
|
|
8726
|
+
e.item.suffix ? (x(), I("span", R1, te(e.item.suffix), 1)) : ie("", !0)
|
|
8727
8727
|
])) : n.value === "segment-progress" ? (x(), I("div", B1, [
|
|
8728
8728
|
f("div", A1, te(a.value), 1),
|
|
8729
8729
|
f("div", T1, [
|
|
@@ -8733,9 +8733,9 @@ const k1 = ["aria-label"], S1 = { class: "fde-dashboard-kpi-item__label" }, I1 =
|
|
|
8733
8733
|
}, null, 2)), 64))
|
|
8734
8734
|
])
|
|
8735
8735
|
])) : (x(), I("div", D1, [
|
|
8736
|
-
e.item.prefix ? (x(), I("span", E1, te(e.item.prefix), 1)) :
|
|
8736
|
+
e.item.prefix ? (x(), I("span", E1, te(e.item.prefix), 1)) : ie("", !0),
|
|
8737
8737
|
f("strong", F1, te(a.value), 1),
|
|
8738
|
-
e.item.suffix ? (x(), I("span", L1, te(e.item.suffix), 1)) :
|
|
8738
|
+
e.item.suffix ? (x(), I("span", L1, te(e.item.suffix), 1)) : ie("", !0)
|
|
8739
8739
|
]))
|
|
8740
8740
|
], 10, k1));
|
|
8741
8741
|
}
|
|
@@ -8776,7 +8776,7 @@ const k1 = ["aria-label"], S1 = { class: "fde-dashboard-kpi-item__label" }, I1 =
|
|
|
8776
8776
|
]),
|
|
8777
8777
|
c[1] || (c[1] = f("div", { class: "fde-dashboard-cockpit-header__frame-line fde-dashboard-cockpit-header__frame-line--right" }, null, -1))
|
|
8778
8778
|
]),
|
|
8779
|
-
(h = e.widget.card) != null && h.description ? (x(), I("p", H1, te(e.widget.card.description), 1)) :
|
|
8779
|
+
(h = e.widget.card) != null && h.description ? (x(), I("p", H1, te(e.widget.card.description), 1)) : ie("", !0),
|
|
8780
8780
|
n.value.length ? (x(), I("div", G1, [
|
|
8781
8781
|
(x(!0), I(yt, null, It(n.value, (y) => (x(), st(Ef, {
|
|
8782
8782
|
key: `${y.label}:${y.value}`,
|
|
@@ -8791,7 +8791,7 @@ const k1 = ["aria-label"], S1 = { class: "fde-dashboard-kpi-item__label" }, I1 =
|
|
|
8791
8791
|
f("span", q1, te(y.label), 1),
|
|
8792
8792
|
f("strong", j1, te(y.value), 1)
|
|
8793
8793
|
]))), 128))
|
|
8794
|
-
])) :
|
|
8794
|
+
])) : ie("", !0)
|
|
8795
8795
|
]);
|
|
8796
8796
|
};
|
|
8797
8797
|
}
|
|
@@ -8817,7 +8817,7 @@ const k1 = ["aria-label"], S1 = { class: "fde-dashboard-kpi-item__label" }, I1 =
|
|
|
8817
8817
|
f("div", Y1, [
|
|
8818
8818
|
f("div", X1, [
|
|
8819
8819
|
f("h1", Q1, te((a = e.widget.card) == null ? void 0 : a.title), 1),
|
|
8820
|
-
(i = e.widget.card) != null && i.description ? (x(), I("p", J1, te(e.widget.card.description), 1)) :
|
|
8820
|
+
(i = e.widget.card) != null && i.description ? (x(), I("p", J1, te(e.widget.card.description), 1)) : ie("", !0)
|
|
8821
8821
|
]),
|
|
8822
8822
|
(u = (c = e.widget.header) == null ? void 0 : c.meta) != null && u.length ? (x(), I("aside", Z1, [
|
|
8823
8823
|
f("dl", eM, [
|
|
@@ -8829,7 +8829,7 @@ const k1 = ["aria-label"], S1 = { class: "fde-dashboard-kpi-item__label" }, I1 =
|
|
|
8829
8829
|
f("dd", nM, te(h.value), 1)
|
|
8830
8830
|
]))), 128))
|
|
8831
8831
|
])
|
|
8832
|
-
])) :
|
|
8832
|
+
])) : ie("", !0)
|
|
8833
8833
|
])
|
|
8834
8834
|
]);
|
|
8835
8835
|
};
|
|
@@ -9043,7 +9043,7 @@ const sM = ["data-widget-id", "data-widget-kind"], lM = {
|
|
|
9043
9043
|
}, [
|
|
9044
9044
|
X.value ? (x(), I("span", lM, [...fe[2] || (fe[2] = [
|
|
9045
9045
|
_b('<i class="fde-dashboard-widget__tech-corner fde-dashboard-widget__tech-corner--tl" data-v-dcca963b></i><i class="fde-dashboard-widget__tech-corner fde-dashboard-widget__tech-corner--tr" data-v-dcca963b></i><i class="fde-dashboard-widget__tech-corner fde-dashboard-widget__tech-corner--bl" data-v-dcca963b></i><i class="fde-dashboard-widget__tech-corner fde-dashboard-widget__tech-corner--br" data-v-dcca963b></i><i class="fde-dashboard-widget__tech-edge fde-dashboard-widget__tech-edge--top" data-v-dcca963b></i><i class="fde-dashboard-widget__tech-edge fde-dashboard-widget__tech-edge--right" data-v-dcca963b></i><i class="fde-dashboard-widget__tech-edge fde-dashboard-widget__tech-edge--bottom" data-v-dcca963b></i><i class="fde-dashboard-widget__tech-edge fde-dashboard-widget__tech-edge--left" data-v-dcca963b></i>', 8)
|
|
9046
|
-
])])) :
|
|
9046
|
+
])])) : ie("", !0),
|
|
9047
9047
|
e.widget.kind === "header-band" ? (x(), st(oM, {
|
|
9048
9048
|
key: 1,
|
|
9049
9049
|
widget: e.widget
|
|
@@ -9060,9 +9060,9 @@ const sM = ["data-widget-id", "data-widget-kind"], lM = {
|
|
|
9060
9060
|
key: 0,
|
|
9061
9061
|
class: "fde-dashboard-widget__metric-current",
|
|
9062
9062
|
title: `当前维度:${Y.value.current_dimension_name}`
|
|
9063
|
-
}, " 当前维度:" + te(Y.value.current_dimension_name), 9, mM)) :
|
|
9063
|
+
}, " 当前维度:" + te(Y.value.current_dimension_name), 9, mM)) : ie("", !0)
|
|
9064
9064
|
]),
|
|
9065
|
-
e.widget.card.description ? (x(), I("p", hM, te(e.widget.card.description), 1)) :
|
|
9065
|
+
e.widget.card.description ? (x(), I("p", hM, te(e.widget.card.description), 1)) : ie("", !0)
|
|
9066
9066
|
]),
|
|
9067
9067
|
He(fu, {
|
|
9068
9068
|
class: "fde-dashboard-widget__metric-toolbar",
|
|
@@ -9083,15 +9083,15 @@ const sM = ["data-widget-id", "data-widget-kind"], lM = {
|
|
|
9083
9083
|
}, [
|
|
9084
9084
|
He(W(ga), { class: "fde-dashboard-widget__detail-icon" }),
|
|
9085
9085
|
fe[3] || (fe[3] = f("span", null, "查看明细", -1))
|
|
9086
|
-
])) :
|
|
9087
|
-
(mt = y.value) != null && mt.loading ? (x(), I("span", gM, "刷新中")) : (je = y.value) != null && je.error ? (x(), I("span", pM, " 刷新失败 ")) :
|
|
9088
|
-
])) :
|
|
9086
|
+
])) : ie("", !0),
|
|
9087
|
+
(mt = y.value) != null && mt.loading ? (x(), I("span", gM, "刷新中")) : (je = y.value) != null && je.error ? (x(), I("span", pM, " 刷新失败 ")) : ie("", !0)
|
|
9088
|
+
])) : ie("", !0),
|
|
9089
9089
|
f("div", {
|
|
9090
9090
|
ref_key: "chartBodyEl",
|
|
9091
9091
|
ref: he,
|
|
9092
9092
|
class: "fde-dashboard-widget__body"
|
|
9093
9093
|
}, [
|
|
9094
|
-
h.value ?
|
|
9094
|
+
h.value ? ie("", !0) : (x(), st(fu, {
|
|
9095
9095
|
key: 0,
|
|
9096
9096
|
class: "fde-dashboard-widget__metric-toolbar fde-dashboard-widget__metric-toolbar--body",
|
|
9097
9097
|
view: Y.value,
|
|
@@ -9110,7 +9110,7 @@ const sM = ["data-widget-id", "data-widget-kind"], lM = {
|
|
|
9110
9110
|
}, [
|
|
9111
9111
|
He(W(ga), { class: "fde-dashboard-widget__detail-icon" }),
|
|
9112
9112
|
fe[4] || (fe[4] = f("span", null, "查看明细", -1))
|
|
9113
|
-
])) :
|
|
9113
|
+
])) : ie("", !0),
|
|
9114
9114
|
E.value ? (x(), st(Cv, {
|
|
9115
9115
|
key: 2,
|
|
9116
9116
|
class: "fde-dashboard-widget__chart",
|
|
@@ -9124,9 +9124,9 @@ const sM = ["data-widget-id", "data-widget-kind"], lM = {
|
|
|
9124
9124
|
class: "fde-dashboard-widget__kpi",
|
|
9125
9125
|
item: Te.value
|
|
9126
9126
|
}, null, 8, ["item"])) : e.widget.kind === "number" && Q.value ? (x(), I("div", vM, [
|
|
9127
|
-
Q.value.prefix ? (x(), I("span", bM, te(Q.value.prefix), 1)) :
|
|
9127
|
+
Q.value.prefix ? (x(), I("span", bM, te(Q.value.prefix), 1)) : ie("", !0),
|
|
9128
9128
|
f("strong", yM, te(Q.value.value), 1),
|
|
9129
|
-
Q.value.suffix ? (x(), I("span", wM, te(Q.value.suffix), 1)) :
|
|
9129
|
+
Q.value.suffix ? (x(), I("span", wM, te(Q.value.suffix), 1)) : ie("", !0)
|
|
9130
9130
|
])) : c.value && e.widget.list ? (x(), st(Bv, {
|
|
9131
9131
|
key: 5,
|
|
9132
9132
|
list: e.widget.list
|
|
@@ -9149,7 +9149,7 @@ const sM = ["data-widget-id", "data-widget-kind"], lM = {
|
|
|
9149
9149
|
]))), 128))
|
|
9150
9150
|
])
|
|
9151
9151
|
])
|
|
9152
|
-
])) : e.widget.kind === "text" && e.widget.text ? (x(), I("p", CM, te(e.widget.text.content), 1)) :
|
|
9152
|
+
])) : e.widget.kind === "text" && e.widget.text ? (x(), I("p", CM, te(e.widget.text.content), 1)) : ie("", !0),
|
|
9153
9153
|
Ie.value ? (x(), I("div", {
|
|
9154
9154
|
key: 8,
|
|
9155
9155
|
ref_key: "drilldownActionEl",
|
|
@@ -9180,8 +9180,8 @@ const sM = ["data-widget-id", "data-widget-kind"], lM = {
|
|
|
9180
9180
|
}, [
|
|
9181
9181
|
He(W(ga), { class: "fde-dashboard-widget__action-icon" }),
|
|
9182
9182
|
fe[5] || (fe[5] = f("span", null, "穿透查看明细", -1))
|
|
9183
|
-
])) :
|
|
9184
|
-
], 36)) :
|
|
9183
|
+
])) : ie("", !0)
|
|
9184
|
+
], 36)) : ie("", !0)
|
|
9185
9185
|
], 512)
|
|
9186
9186
|
], 64))
|
|
9187
9187
|
], 14, sM);
|
|
@@ -9550,7 +9550,7 @@ const FM = {
|
|
|
9550
9550
|
onSubmit: Ge,
|
|
9551
9551
|
onReset: mt
|
|
9552
9552
|
}, null, 8, ["cards", "loading"])
|
|
9553
|
-
])) :
|
|
9553
|
+
])) : ie("", !0),
|
|
9554
9554
|
He(BM, {
|
|
9555
9555
|
widgets: i.value,
|
|
9556
9556
|
layout: a.value.layout,
|
|
@@ -9806,7 +9806,7 @@ const JM = ["data-dash-theme", "data-dash-viewport"], ZM = {
|
|
|
9806
9806
|
L[1] || (L[1] = f("p", { class: "fde-dashboard-shell__eyebrow" }, "可视化大屏报告", -1)),
|
|
9807
9807
|
f("h1", eR, te(W(a).meta.title), 1)
|
|
9808
9808
|
])),
|
|
9809
|
-
|
|
9809
|
+
ie("", !0)
|
|
9810
9810
|
], 2),
|
|
9811
9811
|
f("div", tR, [
|
|
9812
9812
|
_i(D.$slots, "default", {}, void 0, !0)
|
|
@@ -10304,7 +10304,7 @@ const wR = ["title"], xR = /* @__PURE__ */ Qt({
|
|
|
10304
10304
|
loading: E.value,
|
|
10305
10305
|
onSubmit: Ge,
|
|
10306
10306
|
onReset: mt
|
|
10307
|
-
}, null, 8, ["cards", "loading"])) :
|
|
10307
|
+
}, null, 8, ["cards", "loading"])) : ie("", !0)
|
|
10308
10308
|
]),
|
|
10309
10309
|
_: 2
|
|
10310
10310
|
}, [
|
|
@@ -10346,8 +10346,8 @@ const wR = ["title"], xR = /* @__PURE__ */ Qt({
|
|
|
10346
10346
|
loading: (Oe = c[Ct(ve).card.id]) == null ? void 0 : Oe.loading,
|
|
10347
10347
|
error: ($e = c[Ct(ve).card.id]) == null ? void 0 : $e.error,
|
|
10348
10348
|
onPageChange: (Se) => R(Ct(ve), Se)
|
|
10349
|
-
}, null, 8, ["card", "loading", "error", "onPageChange"])) :
|
|
10350
|
-
], 10, wR)) :
|
|
10349
|
+
}, null, 8, ["card", "loading", "error", "onPageChange"])) : ie("", !0)
|
|
10350
|
+
], 10, wR)) : ie("", !0)
|
|
10351
10351
|
];
|
|
10352
10352
|
})
|
|
10353
10353
|
}))
|
|
@@ -10365,7 +10365,7 @@ const wR = ["title"], xR = /* @__PURE__ */ Qt({
|
|
|
10365
10365
|
onClose: De,
|
|
10366
10366
|
onPageChange: G
|
|
10367
10367
|
}, null, 8, ["visible", "loading", "error", "context", "columns", "rows", "total", "page-index", "page-size"])
|
|
10368
|
-
], 512)) :
|
|
10368
|
+
], 512)) : ie("", !0);
|
|
10369
10369
|
}
|
|
10370
10370
|
}), _R = /* @__PURE__ */ un(xR, [["__scopeId", "data-v-b7c23276"]]), CR = 160, kR = /* @__PURE__ */ Qt({
|
|
10371
10371
|
inheritAttrs: !1,
|
|
@@ -10438,7 +10438,7 @@ const wR = ["title"], xR = /* @__PURE__ */ Qt({
|
|
|
10438
10438
|
}), [
|
|
10439
10439
|
_i(L.$slots, "default")
|
|
10440
10440
|
], 16)
|
|
10441
|
-
], 8, ["to"])) :
|
|
10441
|
+
], 8, ["to"])) : ie("", !0);
|
|
10442
10442
|
};
|
|
10443
10443
|
}
|
|
10444
10444
|
}), SR = ["data-capability-id"], IR = ["data-capability-id"], MR = ["src", "alt"], RR = ["data-preview-capability-id", "data-renderer-key", "data-data-shape"], BR = { class: "mt-2 flex min-w-0 items-center gap-2 px-0.5 text-[11px] leading-4" }, AR = { class: "min-w-0 flex-1 truncate font-semibold text-slate-800" }, TR = { class: "shrink-0 text-slate-400" }, DR = /* @__PURE__ */ Qt({
|
|
@@ -10536,13 +10536,13 @@ const wR = ["title"], xR = /* @__PURE__ */ Qt({
|
|
|
10536
10536
|
density: "standard",
|
|
10537
10537
|
"role-id": "Admin",
|
|
10538
10538
|
"user-id": "sysadmin"
|
|
10539
|
-
}, null, 8, ["block"])) :
|
|
10539
|
+
}, null, 8, ["block"])) : ie("", !0)
|
|
10540
10540
|
], 10, RR)),
|
|
10541
10541
|
f("div", BR, [
|
|
10542
10542
|
f("span", AR, te(e.title), 1),
|
|
10543
10543
|
f("span", TR, te(e.capabilityId), 1)
|
|
10544
10544
|
])
|
|
10545
|
-
], 12, IR)) :
|
|
10545
|
+
], 12, IR)) : ie("", !0)
|
|
10546
10546
|
]))
|
|
10547
10547
|
], 64);
|
|
10548
10548
|
};
|
|
@@ -10835,14 +10835,14 @@ const WR = ["aria-label"], HR = { class: "w-full max-w-[520px] rounded-lg border
|
|
|
10835
10835
|
h.value ? (x(), I("div", VR, [
|
|
10836
10836
|
He(W(wf), { class: "mt-0.5 h-4 w-4 shrink-0" }),
|
|
10837
10837
|
f("span", null, te(e.profile.requirementText), 1)
|
|
10838
|
-
])) :
|
|
10838
|
+
])) : ie("", !0),
|
|
10839
10839
|
(x(!0), I(yt, null, It(e.profile.fields, (L) => (x(), I("label", {
|
|
10840
10840
|
key: L.key,
|
|
10841
10841
|
class: "block"
|
|
10842
10842
|
}, [
|
|
10843
10843
|
f("span", KR, [
|
|
10844
10844
|
sr(te(L.label), 1),
|
|
10845
|
-
L.required ? (x(), I("span", YR, " *")) :
|
|
10845
|
+
L.required ? (x(), I("span", YR, " *")) : ie("", !0)
|
|
10846
10846
|
]),
|
|
10847
10847
|
L.type === "select" ? ir((x(), I("select", {
|
|
10848
10848
|
key: 0,
|
|
@@ -10869,7 +10869,7 @@ const WR = ["aria-label"], HR = { class: "w-full max-w-[520px] rounded-lg border
|
|
|
10869
10869
|
}, null, 10, JR)), [
|
|
10870
10870
|
[Sb, i[L.key]]
|
|
10871
10871
|
]),
|
|
10872
|
-
c[L.key] ? (x(), I("span", ZR, te(c[L.key]), 1)) :
|
|
10872
|
+
c[L.key] ? (x(), I("span", ZR, te(c[L.key]), 1)) : ie("", !0)
|
|
10873
10873
|
]))), 128))
|
|
10874
10874
|
]),
|
|
10875
10875
|
f("footer", eB, [
|
|
@@ -10878,7 +10878,7 @@ const WR = ["aria-label"], HR = { class: "w-full max-w-[520px] rounded-lg border
|
|
|
10878
10878
|
class: "h-8 rounded border border-slate-200 px-3 text-xs font-semibold text-slate-600 transition hover:border-slate-300 hover:text-slate-900",
|
|
10879
10879
|
onClick: D[1] || (D[1] = (L) => a("close"))
|
|
10880
10880
|
}, " 取消 "),
|
|
10881
|
-
h.value ?
|
|
10881
|
+
h.value ? ie("", !0) : (x(), I("button", {
|
|
10882
10882
|
key: 0,
|
|
10883
10883
|
type: "button",
|
|
10884
10884
|
class: "inline-flex h-8 items-center gap-1.5 rounded bg-blue-600 px-3 text-xs font-semibold text-white transition hover:bg-blue-700",
|
|
@@ -10889,7 +10889,7 @@ const WR = ["aria-label"], HR = { class: "w-full max-w-[520px] rounded-lg border
|
|
|
10889
10889
|
]))
|
|
10890
10890
|
])
|
|
10891
10891
|
])
|
|
10892
|
-
], 16, WR)) :
|
|
10892
|
+
], 16, WR)) : ie("", !0)
|
|
10893
10893
|
]));
|
|
10894
10894
|
}
|
|
10895
10895
|
});
|
|
@@ -11270,7 +11270,7 @@ const tB = (e, t = []) => [
|
|
|
11270
11270
|
e.workbenchStyle === xe.id ? (x(), st(W(mi), {
|
|
11271
11271
|
key: 0,
|
|
11272
11272
|
class: "h-3.5 w-3.5 text-blue-600"
|
|
11273
|
-
})) :
|
|
11273
|
+
})) : ie("", !0)
|
|
11274
11274
|
]),
|
|
11275
11275
|
f("div", pB, te(xe.description), 1)
|
|
11276
11276
|
])
|
|
@@ -11310,7 +11310,7 @@ const tB = (e, t = []) => [
|
|
|
11310
11310
|
L.value[xe.key] === ht.value ? (x(), st(W(mi), {
|
|
11311
11311
|
key: 0,
|
|
11312
11312
|
class: "h-3 w-3"
|
|
11313
|
-
})) :
|
|
11313
|
+
})) : ie("", !0),
|
|
11314
11314
|
sr(" " + te(ht.label), 1)
|
|
11315
11315
|
], 10, _B))), 128)),
|
|
11316
11316
|
xe.key === "texture" ? (x(), I("label", {
|
|
@@ -11320,7 +11320,7 @@ const tB = (e, t = []) => [
|
|
|
11320
11320
|
L.value.texture === "color" ? (x(), st(W(mi), {
|
|
11321
11321
|
key: 0,
|
|
11322
11322
|
class: "h-3 w-3"
|
|
11323
|
-
})) :
|
|
11323
|
+
})) : ie("", !0),
|
|
11324
11324
|
f("span", {
|
|
11325
11325
|
class: "h-3.5 w-3.5 rounded-full border border-white shadow-sm ring-1 ring-slate-200",
|
|
11326
11326
|
style: qt({ backgroundColor: L.value.textureColor })
|
|
@@ -11332,7 +11332,7 @@ const tB = (e, t = []) => [
|
|
|
11332
11332
|
value: L.value.textureColor,
|
|
11333
11333
|
onInput: R[0] || (R[0] = (ht) => ot(nt(ht)))
|
|
11334
11334
|
}, null, 40, CB)
|
|
11335
|
-
], 2)) :
|
|
11335
|
+
], 2)) : ie("", !0)
|
|
11336
11336
|
])
|
|
11337
11337
|
]))), 128))
|
|
11338
11338
|
])) : u.value === "element" ? (x(), I("div", kB, [
|
|
@@ -11407,7 +11407,7 @@ const tB = (e, t = []) => [
|
|
|
11407
11407
|
Y.value === xe.preset ? (x(), st(W(mi), {
|
|
11408
11408
|
key: 0,
|
|
11409
11409
|
class: "h-3 w-3"
|
|
11410
|
-
})) :
|
|
11410
|
+
})) : ie("", !0),
|
|
11411
11411
|
sr(" " + te(xe.label) + "(" + te(xe.px) + "PX) ", 1)
|
|
11412
11412
|
], 10, PB))), 128))
|
|
11413
11413
|
])
|
|
@@ -11480,7 +11480,7 @@ const tB = (e, t = []) => [
|
|
|
11480
11480
|
}, [
|
|
11481
11481
|
He(W(xf), { class: "h-3.5 w-3.5" })
|
|
11482
11482
|
], 8, e2),
|
|
11483
|
-
ye(xe) ?
|
|
11483
|
+
ye(xe) ? ie("", !0) : (x(), I("button", {
|
|
11484
11484
|
key: 0,
|
|
11485
11485
|
type: "button",
|
|
11486
11486
|
disabled: xe.status !== "implemented",
|
|
@@ -11538,7 +11538,7 @@ const tB = (e, t = []) => [
|
|
|
11538
11538
|
}, " 保存 ", 8, i2)
|
|
11539
11539
|
])
|
|
11540
11540
|
])
|
|
11541
|
-
], 32)) :
|
|
11541
|
+
], 32)) : ie("", !0)
|
|
11542
11542
|
])),
|
|
11543
11543
|
He(qv, {
|
|
11544
11544
|
open: F.value,
|
|
@@ -15658,7 +15658,7 @@ const Z2 = { class: "relative hidden shrink-0 overflow-visible transition-[heigh
|
|
|
15658
15658
|
const r = he.value, o = X.value;
|
|
15659
15659
|
!Vt.value || !r || !o || (Q.value = Math.max(0, r.scrollTop - o.offsetTop));
|
|
15660
15660
|
}
|
|
15661
|
-
function
|
|
15661
|
+
function oe(r) {
|
|
15662
15662
|
if (Vt.value) {
|
|
15663
15663
|
T();
|
|
15664
15664
|
return;
|
|
@@ -15754,9 +15754,9 @@ const Z2 = { class: "relative hidden shrink-0 overflow-visible transition-[heigh
|
|
|
15754
15754
|
type: "button",
|
|
15755
15755
|
class: "pointer-events-auto shrink-0 rounded border border-blue-100 bg-white px-2 py-1 text-[11px] leading-4 text-blue-600 hover:bg-blue-50",
|
|
15756
15756
|
onClick: o[0] || (o[0] = (s) => S("canvasNoticeAction", h.value.actionId))
|
|
15757
|
-
}, te(h.value.actionLabel), 1)) :
|
|
15757
|
+
}, te(h.value.actionLabel), 1)) : ie("", !0)
|
|
15758
15758
|
])
|
|
15759
|
-
], 2)) :
|
|
15759
|
+
], 2)) : ie("", !0)
|
|
15760
15760
|
]),
|
|
15761
15761
|
_: 1
|
|
15762
15762
|
}),
|
|
@@ -15831,9 +15831,9 @@ const Z2 = { class: "relative hidden shrink-0 overflow-visible transition-[heigh
|
|
|
15831
15831
|
type: "button",
|
|
15832
15832
|
class: "pointer-events-auto shrink-0 rounded border border-blue-100 bg-white px-2 py-1 text-[11px] leading-4 text-blue-600 hover:bg-blue-50",
|
|
15833
15833
|
onClick: o[11] || (o[11] = (s) => S("canvasNoticeAction", h.value.actionId))
|
|
15834
|
-
}, te(h.value.actionLabel), 1)) :
|
|
15834
|
+
}, te(h.value.actionLabel), 1)) : ie("", !0)
|
|
15835
15835
|
])
|
|
15836
|
-
], 2)) :
|
|
15836
|
+
], 2)) : ie("", !0)
|
|
15837
15837
|
]),
|
|
15838
15838
|
_: 1
|
|
15839
15839
|
}),
|
|
@@ -15932,7 +15932,7 @@ const Z2 = { class: "relative hidden shrink-0 overflow-visible transition-[heigh
|
|
|
15932
15932
|
], 8, BA)
|
|
15933
15933
|
])
|
|
15934
15934
|
])
|
|
15935
|
-
], 8, bA)) :
|
|
15935
|
+
], 8, bA)) : ie("", !0),
|
|
15936
15936
|
f("div", AA, [
|
|
15937
15937
|
(x(!0), I(yt, null, It(Lt.value, (s) => (x(), I("div", {
|
|
15938
15938
|
key: s.id,
|
|
@@ -15965,7 +15965,7 @@ const Z2 = { class: "relative hidden shrink-0 overflow-visible transition-[heigh
|
|
|
15965
15965
|
], 10, TA))), 128))
|
|
15966
15966
|
])
|
|
15967
15967
|
])
|
|
15968
|
-
])) :
|
|
15968
|
+
])) : ie("", !0),
|
|
15969
15969
|
Wt.value && Ht.value ? (x(), I("div", {
|
|
15970
15970
|
key: 1,
|
|
15971
15971
|
class: "workbench-inline-business-gap-editor absolute z-40 w-[320px] rounded-lg border border-blue-100 bg-white p-3 shadow-[0_12px_32px_rgba(31,79,212,0.16)]",
|
|
@@ -16023,8 +16023,8 @@ const Z2 = { class: "relative hidden shrink-0 overflow-visible transition-[heigh
|
|
|
16023
16023
|
o[71] || (o[71] = f("span", null, "补口径并问数", -1))
|
|
16024
16024
|
], 8, UA)
|
|
16025
16025
|
])
|
|
16026
|
-
], 44, $A)) :
|
|
16027
|
-
|
|
16026
|
+
], 44, $A)) : ie("", !0),
|
|
16027
|
+
ie("", !0),
|
|
16028
16028
|
f("div", {
|
|
16029
16029
|
ref_key: "skillContentScrollRef",
|
|
16030
16030
|
ref: he,
|
|
@@ -16058,7 +16058,7 @@ const Z2 = { class: "relative hidden shrink-0 overflow-visible transition-[heigh
|
|
|
16058
16058
|
u.imageWorkbench ? En.value || wt.value ? "overflow-x-auto overflow-y-visible" : "overflow-x-hidden overflow-y-visible" : (Ee.value, En.value ? "overflow-x-auto overflow-y-visible" : "overflow-x-hidden overflow-y-visible"),
|
|
16059
16059
|
R.value && !Ee.value ? "mt-2" : "mt-0"
|
|
16060
16060
|
]),
|
|
16061
|
-
onScrollPassive:
|
|
16061
|
+
onScrollPassive: oe
|
|
16062
16062
|
}, [
|
|
16063
16063
|
U.value.length > 0 ? (x(), st(Nh, {
|
|
16064
16064
|
key: 0,
|
|
@@ -16090,8 +16090,8 @@ const Z2 = { class: "relative hidden shrink-0 overflow-visible transition-[heigh
|
|
|
16090
16090
|
onNestedDataBindingBadgeClick: rc,
|
|
16091
16091
|
onChartClick: o[24] || (o[24] = (s) => S("chartClick", s)),
|
|
16092
16092
|
onMetricDetail: o[25] || (o[25] = (s) => S("metricDetail", s))
|
|
16093
|
-
}, null, 8, ["blocks", "layout-config", "layout-tree", "is-config-mode", "canvas-width", "canvas-min-height", "selected-block-id", "selected-nested-block", "role-id", "user-id", "renderer-host-bridge", "can-view-metric-detail"])) :
|
|
16094
|
-
], 34)) :
|
|
16093
|
+
}, null, 8, ["blocks", "layout-config", "layout-tree", "is-config-mode", "canvas-width", "canvas-min-height", "selected-block-id", "selected-nested-block", "role-id", "user-id", "renderer-host-bridge", "can-view-metric-detail"])) : ie("", !0)
|
|
16094
|
+
], 34)) : ie("", !0)
|
|
16095
16095
|
]),
|
|
16096
16096
|
_: 1
|
|
16097
16097
|
}, 8, ["workbench-style", "show-workbench-theme-picker"])) : (x(), I(yt, { key: 1 }, [
|
|
@@ -16099,7 +16099,7 @@ const Z2 = { class: "relative hidden shrink-0 overflow-visible transition-[heigh
|
|
|
16099
16099
|
He(_R)
|
|
16100
16100
|
])) : Ct.value ? (x(), I("div", YA, [
|
|
16101
16101
|
He(g1)
|
|
16102
|
-
])) :
|
|
16102
|
+
])) : ie("", !0),
|
|
16103
16103
|
F.value && !e.loading && U.value.length > 0 ? (x(), I("div", {
|
|
16104
16104
|
key: 2,
|
|
16105
16105
|
ref_key: "viewportRef",
|
|
@@ -16112,7 +16112,7 @@ const Z2 = { class: "relative hidden shrink-0 overflow-visible transition-[heigh
|
|
|
16112
16112
|
u.imageWorkbench ? En.value || wt.value ? "overflow-x-auto overflow-y-auto" : "overflow-x-hidden overflow-y-auto" : (Ee.value, En.value ? "overflow-x-auto overflow-y-auto" : "overflow-x-hidden overflow-y-auto"),
|
|
16113
16113
|
R.value && !Ee.value ? "mt-2" : "mt-0"
|
|
16114
16114
|
]),
|
|
16115
|
-
onScrollPassive:
|
|
16115
|
+
onScrollPassive: oe
|
|
16116
16116
|
}, [
|
|
16117
16117
|
He(Nh, {
|
|
16118
16118
|
ref_key: "gridstackCanvasRef",
|
|
@@ -16156,7 +16156,7 @@ const Z2 = { class: "relative hidden shrink-0 overflow-visible transition-[heigh
|
|
|
16156
16156
|
u.imageWorkbench ? En.value || wt.value ? "overflow-x-auto overflow-y-auto" : "overflow-x-hidden overflow-y-auto" : (Ee.value, En.value ? "overflow-x-auto overflow-y-auto" : "overflow-x-hidden overflow-y-auto"),
|
|
16157
16157
|
R.value && !Ee.value ? "mt-2" : "mt-0"
|
|
16158
16158
|
]),
|
|
16159
|
-
onScrollPassive:
|
|
16159
|
+
onScrollPassive: oe
|
|
16160
16160
|
}, [
|
|
16161
16161
|
f("div", {
|
|
16162
16162
|
class: it(Ee.value ? ["box-border min-h-full", wt.value ? "py-[4px]" : "py-[10px]"] : "")
|
|
@@ -16208,7 +16208,7 @@ const Z2 = { class: "relative hidden shrink-0 overflow-visible transition-[heigh
|
|
|
16208
16208
|
key: 0,
|
|
16209
16209
|
class: "workbench-canvas-drop-preview pointer-events-none",
|
|
16210
16210
|
style: qt(Nt(fe.value))
|
|
16211
|
-
}, null, 4)) :
|
|
16211
|
+
}, null, 4)) : ie("", !0),
|
|
16212
16212
|
(x(!0), I(yt, null, It(cr.value, (s) => {
|
|
16213
16213
|
var m, v, b, w, B, $, N;
|
|
16214
16214
|
return x(), I("div", {
|
|
@@ -16263,7 +16263,7 @@ const Z2 = { class: "relative hidden shrink-0 overflow-visible transition-[heigh
|
|
|
16263
16263
|
onClick: Je((M) => wc(s), ["stop"])
|
|
16264
16264
|
}, [
|
|
16265
16265
|
He(W(Ub), { class: "h-3 w-3" })
|
|
16266
|
-
], 42, nT)) :
|
|
16266
|
+
], 42, nT)) : ie("", !0),
|
|
16267
16267
|
R.value && Dr(s) ? (x(), I("button", {
|
|
16268
16268
|
key: 1,
|
|
16269
16269
|
type: "button",
|
|
@@ -16278,7 +16278,7 @@ const Z2 = { class: "relative hidden shrink-0 overflow-visible transition-[heigh
|
|
|
16278
16278
|
onClick: Je((M) => jo(s), ["stop"])
|
|
16279
16279
|
}, [
|
|
16280
16280
|
He(W(Gg), { class: "h-3 w-3" })
|
|
16281
|
-
], 42, rT)) :
|
|
16281
|
+
], 42, rT)) : ie("", !0),
|
|
16282
16282
|
yd(s) ? (x(), I("button", {
|
|
16283
16283
|
key: 2,
|
|
16284
16284
|
type: "button",
|
|
@@ -16296,7 +16296,7 @@ const Z2 = { class: "relative hidden shrink-0 overflow-visible transition-[heigh
|
|
|
16296
16296
|
onClick: Je((M) => ti(s, M), ["stop", "prevent"])
|
|
16297
16297
|
}, [
|
|
16298
16298
|
He(W(Vd), { class: "h-2.5 w-2.5" })
|
|
16299
|
-
], 42, aT)) :
|
|
16299
|
+
], 42, aT)) : ie("", !0),
|
|
16300
16300
|
Jl(s) ? (x(), I("button", {
|
|
16301
16301
|
key: 3,
|
|
16302
16302
|
type: "button",
|
|
@@ -16319,9 +16319,9 @@ const Z2 = { class: "relative hidden shrink-0 overflow-visible transition-[heigh
|
|
|
16319
16319
|
W(Sa)(s) === "running" ? (x(), st(W(mo), {
|
|
16320
16320
|
key: 0,
|
|
16321
16321
|
class: "h-3 w-3 animate-spin"
|
|
16322
|
-
})) :
|
|
16322
|
+
})) : ie("", !0),
|
|
16323
16323
|
f("span", iT, te(Es(s)), 1)
|
|
16324
|
-
], 42, oT)) :
|
|
16324
|
+
], 42, oT)) : ie("", !0),
|
|
16325
16325
|
R.value ? (x(), I("span", {
|
|
16326
16326
|
key: 4,
|
|
16327
16327
|
role: "button",
|
|
@@ -16334,7 +16334,7 @@ const Z2 = { class: "relative hidden shrink-0 overflow-visible transition-[heigh
|
|
|
16334
16334
|
onPointerdown: Je((M) => dc(M, s, "resize"), ["stop"])
|
|
16335
16335
|
}, [...o[75] || (o[75] = [
|
|
16336
16336
|
f("span", { class: "pointer-events-none absolute bottom-[3px] right-[3px] h-2.5 w-2.5 rounded-br-[6px] border-b-2 border-r-2 border-slate-400" }, null, -1)
|
|
16337
|
-
])], 40, sT)) :
|
|
16337
|
+
])], 40, sT)) : ie("", !0),
|
|
16338
16338
|
((w = s.meta) == null ? void 0 : w.organizationKind) === "welcome_banner" ? (x(), I("div", lT, [
|
|
16339
16339
|
He(To, {
|
|
16340
16340
|
block: s,
|
|
@@ -16344,7 +16344,7 @@ const Z2 = { class: "relative hidden shrink-0 overflow-visible transition-[heigh
|
|
|
16344
16344
|
blocks: z.value,
|
|
16345
16345
|
onFocusBlock: o[39] || (o[39] = (M) => S("focusBlock", M))
|
|
16346
16346
|
}, null, 8, ["block", "workspace-id", "user-id", "blocks"])
|
|
16347
|
-
])) :
|
|
16347
|
+
])) : ie("", !0),
|
|
16348
16348
|
!(((B = s.meta) == null ? void 0 : B.organizationKind) === "welcome_banner" || W(Ic)(s) || W(fi)(s)) && !W(oh)(s) ? (x(), I(yt, { key: 6 }, [
|
|
16349
16349
|
f("div", {
|
|
16350
16350
|
class: it([
|
|
@@ -16388,15 +16388,15 @@ const Z2 = { class: "relative hidden shrink-0 overflow-visible transition-[heigh
|
|
|
16388
16388
|
W(Qe)(s) ? "h-2.5 w-2.5" : "h-3 w-3",
|
|
16389
16389
|
W(Sa)(s) === "running" ? "animate-spin" : ""
|
|
16390
16390
|
])
|
|
16391
|
-
}, null, 8, ["class"])) :
|
|
16391
|
+
}, null, 8, ["class"])) : ie("", !0),
|
|
16392
16392
|
f("span", null, te(oo(s)), 1)
|
|
16393
|
-
], 42, fT)) :
|
|
16393
|
+
], 42, fT)) : ie("", !0)
|
|
16394
16394
|
]),
|
|
16395
16395
|
kd(s) ? (x(), I("p", {
|
|
16396
16396
|
key: 0,
|
|
16397
16397
|
class: "workbench-card-subtitle mt-0.5 truncate text-xs leading-5 text-slate-500",
|
|
16398
16398
|
title: W(Uc)(s.subtitle)
|
|
16399
|
-
}, te(W(Uc)(s.subtitle)), 9, mT)) :
|
|
16399
|
+
}, te(W(Uc)(s.subtitle)), 9, mT)) : ie("", !0)
|
|
16400
16400
|
])
|
|
16401
16401
|
]),
|
|
16402
16402
|
f("div", hT, [
|
|
@@ -16421,7 +16421,7 @@ const Z2 = { class: "relative hidden shrink-0 overflow-visible transition-[heigh
|
|
|
16421
16421
|
onClick: Je((M) => ju(s), ["stop", "prevent"])
|
|
16422
16422
|
}, [
|
|
16423
16423
|
He(W(ga), { class: "h-3.5 w-3.5" })
|
|
16424
|
-
], 40, gT)) :
|
|
16424
|
+
], 40, gT)) : ie("", !0)
|
|
16425
16425
|
])
|
|
16426
16426
|
], 2),
|
|
16427
16427
|
f("div", {
|
|
@@ -16452,7 +16452,7 @@ const Z2 = { class: "relative hidden shrink-0 overflow-visible transition-[heigh
|
|
|
16452
16452
|
onFocusBlock: o[48] || (o[48] = (M) => S("focusBlock", M))
|
|
16453
16453
|
}, null, 8, ["block", "workspace-id", "user-id", "blocks"])
|
|
16454
16454
|
], 2)
|
|
16455
|
-
], 64)) :
|
|
16455
|
+
], 64)) : ie("", !0),
|
|
16456
16456
|
f("div", {
|
|
16457
16457
|
class: it(["workbench-card-content box-border min-h-0 w-full flex-1 overflow-hidden", (($ = s.meta) == null ? void 0 : $.organizationKind) === "welcome_banner" || W(Ic)(s) || W(fi)(s) ? "h-full p-0" : W(Qe)(s) ? "p-1" : "p-[5px]"])
|
|
16458
16458
|
}, [
|
|
@@ -16474,7 +16474,7 @@ const Z2 = { class: "relative hidden shrink-0 overflow-visible transition-[heigh
|
|
|
16474
16474
|
onChartClick: o[58] || (o[58] = (M) => S("chartClick", M))
|
|
16475
16475
|
}, null, 8, ["block", "role-id", "user-id", "density", "host-bridge"])
|
|
16476
16476
|
], 2),
|
|
16477
|
-
((N = s.meta) == null ? void 0 : N.organizationKind) === "welcome_banner" || W(Ic)(s) || W(fi)(s) ?
|
|
16477
|
+
((N = s.meta) == null ? void 0 : N.organizationKind) === "welcome_banner" || W(Ic)(s) || W(fi)(s) ? ie("", !0) : (x(), I(yt, { key: 7 }, [
|
|
16478
16478
|
He(To, {
|
|
16479
16479
|
block: s,
|
|
16480
16480
|
"workspace-id": e.workspaceId,
|
|
@@ -16499,7 +16499,7 @@ const Z2 = { class: "relative hidden shrink-0 overflow-visible transition-[heigh
|
|
|
16499
16499
|
], 4)
|
|
16500
16500
|
], 14, ZA))
|
|
16501
16501
|
], 2)
|
|
16502
|
-
], 34)) :
|
|
16502
|
+
], 34)) : ie("", !0)
|
|
16503
16503
|
], 64))
|
|
16504
16504
|
], 34),
|
|
16505
16505
|
!e.loading && !ae.value && (po.value || Lt.value.length > 0 && !R.value) ? (x(), I("div", pT, [
|
|
@@ -16533,7 +16533,7 @@ const Z2 = { class: "relative hidden shrink-0 overflow-visible transition-[heigh
|
|
|
16533
16533
|
o[76] || (o[76] = f("span", { class: "min-w-0 truncate" }, "打开补口径", -1)),
|
|
16534
16534
|
o[77] || (o[77] = f("span", { class: "sr-only" }, "补口径可以直接写自然语言问题;真实问数成功后才回填", -1)),
|
|
16535
16535
|
f("span", _T, te(Lt.value.length), 1)
|
|
16536
|
-
], 8, xT)) :
|
|
16536
|
+
], 8, xT)) : ie("", !0),
|
|
16537
16537
|
Ft.value.length > 0 && !R.value ? (x(), I("button", {
|
|
16538
16538
|
key: 1,
|
|
16539
16539
|
type: "button",
|
|
@@ -16545,10 +16545,10 @@ const Z2 = { class: "relative hidden shrink-0 overflow-visible transition-[heigh
|
|
|
16545
16545
|
He(W(Js), { class: "h-3.5 w-3.5" }),
|
|
16546
16546
|
o[78] || (o[78] = f("span", null, "替换全部待补卡", -1)),
|
|
16547
16547
|
f("span", kT, te(Ft.value.length), 1)
|
|
16548
|
-
], 8, CT)) :
|
|
16548
|
+
], 8, CT)) : ie("", !0)
|
|
16549
16549
|
])
|
|
16550
16550
|
])
|
|
16551
|
-
])) :
|
|
16551
|
+
])) : ie("", !0),
|
|
16552
16552
|
(x(), st(Ba, { to: "body" }, [
|
|
16553
16553
|
mt.value ? (x(), I("div", {
|
|
16554
16554
|
key: 0,
|
|
@@ -16573,7 +16573,7 @@ const Z2 = { class: "relative hidden shrink-0 overflow-visible transition-[heigh
|
|
|
16573
16573
|
])
|
|
16574
16574
|
]),
|
|
16575
16575
|
f("div", AT, te(mt.value.nativeEcharts ? "自定义图表左侧可直接编辑 card.data JSON,也可粘贴官网示例中间段 JS;脚本只要最终生成 option 即可。应用后先更新当前配置草稿,确认无误后点击画布工具条“保存”落盘。" : "当前编辑的是这张卡实例最终渲染用的 card.data。应用后先更新当前配置草稿,确认无误后点击画布工具条“保存”落盘。"), 1),
|
|
16576
|
-
ye.value ? (x(), I("div", TT, te(ye.value), 1)) :
|
|
16576
|
+
ye.value ? (x(), I("div", TT, te(ye.value), 1)) : ie("", !0),
|
|
16577
16577
|
f("div", DT, [
|
|
16578
16578
|
f("section", ET, [
|
|
16579
16579
|
f("div", FT, [
|
|
@@ -16589,7 +16589,7 @@ const Z2 = { class: "relative hidden shrink-0 overflow-visible transition-[heigh
|
|
|
16589
16589
|
class: "h-8 shrink-0 rounded-md border border-slate-200 bg-white px-3 font-mono text-xs text-slate-700 outline-none transition focus:border-blue-400 focus:ring-2 focus:ring-blue-100"
|
|
16590
16590
|
}, null, 512)), [
|
|
16591
16591
|
[Ra, V.value]
|
|
16592
|
-
]) :
|
|
16592
|
+
]) : ie("", !0),
|
|
16593
16593
|
ir(f("textarea", {
|
|
16594
16594
|
"onUpdate:modelValue": o[63] || (o[63] = (s) => je.value = s),
|
|
16595
16595
|
spellcheck: "false",
|
|
@@ -16600,7 +16600,7 @@ const Z2 = { class: "relative hidden shrink-0 overflow-visible transition-[heigh
|
|
|
16600
16600
|
])
|
|
16601
16601
|
])
|
|
16602
16602
|
])
|
|
16603
|
-
], 32)) :
|
|
16603
|
+
], 32)) : ie("", !0)
|
|
16604
16604
|
]))
|
|
16605
16605
|
], 2));
|
|
16606
16606
|
}
|
|
@@ -17974,15 +17974,15 @@ ${a.turns.map(vt).join(`
|
|
|
17974
17974
|
a.pendingSystemCardTitle ? (x(), I("div", ND, [
|
|
17975
17975
|
z[23] || (z[23] = f("span", { class: "shrink-0 rounded bg-white px-1.5 py-0.5 font-medium text-[#1f4fd4]" }, "卡片问数", -1)),
|
|
17976
17976
|
f("span", PD, "用「" + te(a.pendingSystemCardTitle) + "」展示真实数据", 1),
|
|
17977
|
-
a.pendingSystemCardRequirement ? (x(), I("span", $D, te(a.pendingSystemCardRequirement), 1)) :
|
|
17978
|
-
])) :
|
|
17977
|
+
a.pendingSystemCardRequirement ? (x(), I("span", $D, te(a.pendingSystemCardRequirement), 1)) : ie("", !0)
|
|
17978
|
+
])) : ie("", !0),
|
|
17979
17979
|
a.conversationRestoring && a.conversationRestoringText ? (x(), I("div", OD, [
|
|
17980
17980
|
z[24] || (z[24] = f("span", {
|
|
17981
17981
|
class: "h-3 w-3 shrink-0 animate-spin rounded-full border-2 border-slate-300 border-t-[#4c78fc]",
|
|
17982
17982
|
"aria-hidden": "true"
|
|
17983
17983
|
}, null, -1)),
|
|
17984
17984
|
f("span", WD, te(a.conversationRestoringText), 1)
|
|
17985
|
-
])) :
|
|
17985
|
+
])) : ie("", !0),
|
|
17986
17986
|
a.selectedPatchTarget ? (x(), I("div", HD, [
|
|
17987
17987
|
z[25] || (z[25] = f("span", { class: "shrink-0 font-medium text-slate-500" }, "当前修改", -1)),
|
|
17988
17988
|
f("span", {
|
|
@@ -17995,7 +17995,7 @@ ${a.turns.map(vt).join(`
|
|
|
17995
17995
|
disabled: a.planning || a.saving,
|
|
17996
17996
|
onClick: z[0] || (z[0] = (Se) => i("clearSelectedPatchTarget"))
|
|
17997
17997
|
}, " 清除 ", 8, zD)
|
|
17998
|
-
])) :
|
|
17998
|
+
])) : ie("", !0),
|
|
17999
17999
|
f("div", qD, [
|
|
18000
18000
|
He(W(Zb), {
|
|
18001
18001
|
ref_key: "aiChatRef",
|
|
@@ -18069,7 +18069,7 @@ ${a.turns.map(vt).join(`
|
|
|
18069
18069
|
]), 1032, ["system-echarts-template-cdn-base-url", "assistant-persona", "active-conversation-id", "business-group-error", "business-group-loading", "business-groups", "chat-mode", "workspace-id", "user-id", "assistant-persona-key", "canvas-config-active", "task-state-actions-disabled", "route-images-as-attachments", "selected-business-group", "show-persona-settings", "welcome-text", "auto-insert-compose-plan"])
|
|
18070
18070
|
])
|
|
18071
18071
|
], 8, LD),
|
|
18072
|
-
a.canSendPrompt ?
|
|
18072
|
+
a.canSendPrompt ? ie("", !0) : (x(), I("div", {
|
|
18073
18073
|
key: 0,
|
|
18074
18074
|
class: "workbench-chat-blocking-overlay absolute inset-0 z-30 cursor-not-allowed bg-white/25",
|
|
18075
18075
|
"aria-hidden": "true",
|
|
@@ -18108,7 +18108,7 @@ ${a.turns.map(vt).join(`
|
|
|
18108
18108
|
}, " 插入左侧 ", 8, QD)
|
|
18109
18109
|
])
|
|
18110
18110
|
])
|
|
18111
|
-
])) :
|
|
18111
|
+
])) : ie("", !0)
|
|
18112
18112
|
]);
|
|
18113
18113
|
};
|
|
18114
18114
|
}
|
|
@@ -18356,9 +18356,9 @@ ${a.turns.map(vt).join(`
|
|
|
18356
18356
|
ge(P) ? (x(), I("span", kE, [
|
|
18357
18357
|
f("span", null, te((_e = P.echarts) == null ? void 0 : _e.protocolType), 1),
|
|
18358
18358
|
(x(!0), I(yt, null, It((j = P.echarts) == null ? void 0 : j.tags.slice(0, 3), (Ae) => (x(), I("span", { key: Ae }, te(Ae), 1))), 128))
|
|
18359
|
-
])) :
|
|
18359
|
+
])) : ie("", !0),
|
|
18360
18360
|
f("span", SE, te(Q(P).recommendedPrompt), 1),
|
|
18361
|
-
Q(P).limitationReason ? (x(), I("span", IE, te(Q(P).limitationReason), 1)) :
|
|
18361
|
+
Q(P).limitationReason ? (x(), I("span", IE, te(Q(P).limitationReason), 1)) : ie("", !0)
|
|
18362
18362
|
], 8, yE),
|
|
18363
18363
|
f("div", ME, [
|
|
18364
18364
|
f("button", {
|
|
@@ -18459,7 +18459,7 @@ ${a.turns.map(vt).join(`
|
|
|
18459
18459
|
}, 1032, ["capability-id", "title", "preview-url"]))), 128))
|
|
18460
18460
|
])
|
|
18461
18461
|
]),
|
|
18462
|
-
(ye = Y.value) != null && ye.entries.length ?
|
|
18462
|
+
(ye = Y.value) != null && ye.entries.length ? ie("", !0) : (x(), I("div", KE, " 当前分组暂无可用卡片 "))
|
|
18463
18463
|
])
|
|
18464
18464
|
]))
|
|
18465
18465
|
])
|
|
@@ -18577,7 +18577,7 @@ ${a.turns.map(vt).join(`
|
|
|
18577
18577
|
disabled: e.disabled,
|
|
18578
18578
|
"get-popup-container": Q,
|
|
18579
18579
|
onChange: (Ie) => F(ge, String(Ie || ""))
|
|
18580
|
-
}, null, 8, ["options", "value", "disabled", "onChange"])) : y(ge).length === 0 ? (x(), I("span", aF, " 暂无兼容字段 ")) :
|
|
18580
|
+
}, null, 8, ["options", "value", "disabled", "onChange"])) : y(ge).length === 0 ? (x(), I("span", aF, " 暂无兼容字段 ")) : ie("", !0)
|
|
18581
18581
|
]))), 128)),
|
|
18582
18582
|
(x(!0), I(yt, null, It(c.value, (ge) => (x(), I("div", {
|
|
18583
18583
|
key: ge.filterId,
|
|
@@ -18923,18 +18923,18 @@ ${a.turns.map(vt).join(`
|
|
|
18923
18923
|
[Og, c.columns]
|
|
18924
18924
|
]),
|
|
18925
18925
|
f("span", xF, te(ne.label), 1),
|
|
18926
|
-
ne.value !== ne.label ? (x(), I("span", _F, te(ne.value), 1)) :
|
|
18926
|
+
ne.value !== ne.label ? (x(), I("span", _F, te(ne.value), 1)) : ie("", !0)
|
|
18927
18927
|
]))), 128))
|
|
18928
18928
|
])
|
|
18929
|
-
])) :
|
|
18929
|
+
])) : ie("", !0),
|
|
18930
18930
|
D.value ? (x(), st(ib, {
|
|
18931
18931
|
key: 1,
|
|
18932
18932
|
modelValue: c.metricFilterBindings,
|
|
18933
18933
|
"onUpdate:modelValue": Ae[1] || (Ae[1] = (ne) => c.metricFilterBindings = ne),
|
|
18934
18934
|
catalog: h.value,
|
|
18935
18935
|
candidates: E.value
|
|
18936
|
-
}, null, 8, ["modelValue", "catalog", "candidates"])) :
|
|
18937
|
-
u.value ? (x(), I("p", CF, te(u.value), 1)) :
|
|
18936
|
+
}, null, 8, ["modelValue", "catalog", "candidates"])) : ie("", !0),
|
|
18937
|
+
u.value ? (x(), I("p", CF, te(u.value), 1)) : ie("", !0)
|
|
18938
18938
|
]),
|
|
18939
18939
|
f("footer", kF, [
|
|
18940
18940
|
f("button", {
|
|
@@ -18960,7 +18960,7 @@ ${a.turns.map(vt).join(`
|
|
|
18960
18960
|
], 8, IF)
|
|
18961
18961
|
])
|
|
18962
18962
|
])
|
|
18963
|
-
], 16, lF)) :
|
|
18963
|
+
], 16, lF)) : ie("", !0)
|
|
18964
18964
|
]));
|
|
18965
18965
|
}
|
|
18966
18966
|
});
|
|
@@ -19735,8 +19735,8 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
19735
19735
|
const d = L.conversationId.trim();
|
|
19736
19736
|
if (!d)
|
|
19737
19737
|
return { conversationId: "", shouldClearUrl: !1 };
|
|
19738
|
-
const _ = oi(), T = ((r = _ == null ? void 0 : _.selectedConversationId) == null ? void 0 : r.trim()) || "",
|
|
19739
|
-
return !!(d && T && d === T && !l) &&
|
|
19738
|
+
const _ = oi(), T = ((r = _ == null ? void 0 : _.selectedConversationId) == null ? void 0 : r.trim()) || "", oe = ((o = _ == null ? void 0 : _.selectedConversationScopeKey) == null ? void 0 : o.trim()) || "", be = cw(q());
|
|
19739
|
+
return !!(d && T && d === T && !l) && oe !== be ? { conversationId: "", shouldClearUrl: !0 } : { conversationId: d, shouldClearUrl: !1 };
|
|
19740
19740
|
}
|
|
19741
19741
|
function Me(l) {
|
|
19742
19742
|
return !!(l.workspaceId && l.workspaceId === a.workspaceId && (!l.userId || l.userId === a.userId) && (!l.roleId || l.roleId === a.roleId) && (!l.tenantId || l.tenantId === a.tenantId) && (!l.appId || l.appId === a.appId) && (!l.resourceId || l.resourceId === a.entryResourceId) && (!l.fdeResourceId || l.fdeResourceId === a.fdeResourceId));
|
|
@@ -19753,11 +19753,11 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
19753
19753
|
d.shouldClearUrl && await Ge("");
|
|
19754
19754
|
return;
|
|
19755
19755
|
}
|
|
19756
|
-
const
|
|
19756
|
+
const oe = a.currentConversationId;
|
|
19757
19757
|
he.value = !0, ge.value = _;
|
|
19758
19758
|
try {
|
|
19759
19759
|
const be = await a.restoreConversation(_, T, {
|
|
19760
|
-
expectedCurrentConversationId:
|
|
19760
|
+
expectedCurrentConversationId: oe
|
|
19761
19761
|
});
|
|
19762
19762
|
if (be === "restored" || be === "empty") {
|
|
19763
19763
|
Jd(q(), _), d.conversationId || await Ge(_);
|
|
@@ -19894,12 +19894,12 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
19894
19894
|
var d, _;
|
|
19895
19895
|
const l = (d = Re.value) == null ? void 0 : d.id;
|
|
19896
19896
|
return (((_ = a.snapshot) == null ? void 0 : _.blocks) || []).filter((T) => T.id !== l && Wl(T)).map((T) => {
|
|
19897
|
-
var
|
|
19897
|
+
var oe, be;
|
|
19898
19898
|
return {
|
|
19899
19899
|
id: T.id,
|
|
19900
19900
|
title: Dr(T),
|
|
19901
19901
|
bindingId: zr(T),
|
|
19902
|
-
rendererKey: (
|
|
19902
|
+
rendererKey: (oe = T.renderer) == null ? void 0 : oe.rendererKey,
|
|
19903
19903
|
dataShape: typeof ((be = T.meta) == null ? void 0 : be.dataShape) == "string" ? T.meta.dataShape : void 0
|
|
19904
19904
|
};
|
|
19905
19905
|
}).filter((T) => T.bindingId);
|
|
@@ -20064,7 +20064,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
20064
20064
|
return;
|
|
20065
20065
|
}
|
|
20066
20066
|
if (T.type === "bt-workbench:fde-init" && T.resourceId) {
|
|
20067
|
-
const
|
|
20067
|
+
const oe = a.applyFdeHostInit({
|
|
20068
20068
|
type: "bt-workbench:fde-init",
|
|
20069
20069
|
protocolVersion: 1,
|
|
20070
20070
|
resourceId: T.resourceId,
|
|
@@ -20074,14 +20074,14 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
20074
20074
|
baseSnapshot: T.baseSnapshot,
|
|
20075
20075
|
user: T.user
|
|
20076
20076
|
});
|
|
20077
|
-
vs("bt-workbench:fde-init-applied", T, !0, "", (
|
|
20077
|
+
vs("bt-workbench:fde-init-applied", T, !0, "", (oe == null ? void 0 : oe.blocks.length) || 0);
|
|
20078
20078
|
return;
|
|
20079
20079
|
}
|
|
20080
20080
|
if (T.type === "bt-workbench:fde-request-save") {
|
|
20081
20081
|
a.emitFdeDraftSave(T.requestId, T.versionId);
|
|
20082
20082
|
return;
|
|
20083
20083
|
}
|
|
20084
|
-
T.type === "bt-workbench:fde-request-publish" && a.publishFdeDraftToRuntime().then((
|
|
20084
|
+
T.type === "bt-workbench:fde-request-publish" && a.publishFdeDraftToRuntime().then((oe) => {
|
|
20085
20085
|
var be;
|
|
20086
20086
|
(be = window.parent) == null || be.postMessage({
|
|
20087
20087
|
type: "bt-workbench:fde-publish-result",
|
|
@@ -20090,9 +20090,9 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
20090
20090
|
versionId: T.versionId,
|
|
20091
20091
|
requestId: T.requestId,
|
|
20092
20092
|
ok: !0,
|
|
20093
|
-
result:
|
|
20093
|
+
result: oe
|
|
20094
20094
|
}, "*");
|
|
20095
|
-
}).catch((
|
|
20095
|
+
}).catch((oe) => {
|
|
20096
20096
|
var be;
|
|
20097
20097
|
(be = window.parent) == null || be.postMessage({
|
|
20098
20098
|
type: "bt-workbench:fde-publish-result",
|
|
@@ -20101,11 +20101,11 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
20101
20101
|
versionId: T.versionId,
|
|
20102
20102
|
requestId: T.requestId,
|
|
20103
20103
|
ok: !1,
|
|
20104
|
-
message:
|
|
20104
|
+
message: oe instanceof Error ? oe.message : "发布失败"
|
|
20105
20105
|
}, "*");
|
|
20106
20106
|
});
|
|
20107
20107
|
}
|
|
20108
|
-
function vs(l, d, _, T = "",
|
|
20108
|
+
function vs(l, d, _, T = "", oe = ((be) => (be = a.snapshot) == null ? void 0 : be.blocks.length)() || 0) {
|
|
20109
20109
|
var Be, r;
|
|
20110
20110
|
(Be = d.type) != null && Be.startsWith("bt-workbench:fde-") && ((r = window.parent) == null || r.postMessage({
|
|
20111
20111
|
type: l,
|
|
@@ -20121,7 +20121,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
20121
20121
|
workspaceId: a.workspaceId,
|
|
20122
20122
|
userId: a.userId,
|
|
20123
20123
|
roleId: a.roleId,
|
|
20124
|
-
blockCount:
|
|
20124
|
+
blockCount: oe
|
|
20125
20125
|
}, "*"));
|
|
20126
20126
|
}
|
|
20127
20127
|
async function da() {
|
|
@@ -20140,7 +20140,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
20140
20140
|
contextResourceId: Tn.value.resourceId,
|
|
20141
20141
|
runtimeResourceId: a.fdeResourceId
|
|
20142
20142
|
}), hr.value = (_ == null ? void 0 : _.current_version_no) || "", Wr.value = !!(_ != null && _.dirty);
|
|
20143
|
-
const
|
|
20143
|
+
const oe = a.applyFdeHostInit({
|
|
20144
20144
|
type: "bt-workbench:fde-init",
|
|
20145
20145
|
protocolVersion: 1,
|
|
20146
20146
|
resourceId: Tn.value.resourceId,
|
|
@@ -20151,7 +20151,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
20151
20151
|
roleId: "fde"
|
|
20152
20152
|
}
|
|
20153
20153
|
});
|
|
20154
|
-
console.log("[FDE] applyFdeHostInit 完成, snapshot blocks:", ((d =
|
|
20154
|
+
console.log("[FDE] applyFdeHostInit 完成, snapshot blocks:", ((d = oe == null ? void 0 : oe.blocks) == null ? void 0 : d.length) ?? 0), await bs();
|
|
20155
20155
|
} catch (_) {
|
|
20156
20156
|
console.error("[FDE] 加载个人工作台配置失败", _), an.error("个人工作台配置加载失败");
|
|
20157
20157
|
} finally {
|
|
@@ -20192,20 +20192,20 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
20192
20192
|
if (!(!a.fdeMode || !Tn.value))
|
|
20193
20193
|
try {
|
|
20194
20194
|
gr.value = !0;
|
|
20195
|
-
const _ = await uL(Tn.value, l), T = Tg(_ == null ? void 0 : _.config_json),
|
|
20195
|
+
const _ = await uL(Tn.value, l), T = Tg(_ == null ? void 0 : _.config_json), oe = (_ == null ? void 0 : _.version_no) || l;
|
|
20196
20196
|
console.log("[FDE] restore 返回数据:", {
|
|
20197
|
-
versionNo:
|
|
20197
|
+
versionNo: oe,
|
|
20198
20198
|
hasConfigJson: !!(_ != null && _.config_json),
|
|
20199
20199
|
hasAssetPackage: !!T,
|
|
20200
20200
|
cardCount: ((d = T == null ? void 0 : T.cards) == null ? void 0 : d.length) ?? 0
|
|
20201
|
-
}), hr.value =
|
|
20201
|
+
}), hr.value = oe, Wr.value = !!(_ != null && _.dirty), a.applyFdeHostInit({
|
|
20202
20202
|
type: "bt-workbench:fde-init",
|
|
20203
20203
|
protocolVersion: 1,
|
|
20204
20204
|
resourceId: Tn.value.resourceId,
|
|
20205
|
-
versionId: String(
|
|
20205
|
+
versionId: String(oe),
|
|
20206
20206
|
draftPackage: T,
|
|
20207
20207
|
user: { userId: "fdeadmin", roleId: "fde" }
|
|
20208
|
-
}), await bs(), la.value = !1, an.success(`个人工作台已恢复到 V${
|
|
20208
|
+
}), await bs(), la.value = !1, an.success(`个人工作台已恢复到 V${oe}`);
|
|
20209
20209
|
} catch (_) {
|
|
20210
20210
|
console.error("[FDE] 恢复个人工作台版本失败", _), an.error("个人工作台版本恢复失败");
|
|
20211
20211
|
} finally {
|
|
@@ -20258,8 +20258,8 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
20258
20258
|
var T;
|
|
20259
20259
|
if (!l) return;
|
|
20260
20260
|
if (ps(l), gf(l)) {
|
|
20261
|
-
const
|
|
20262
|
-
p !==
|
|
20261
|
+
const oe = `${l.workspaceId || a.workspaceId}:${l.version ?? "unversioned"}:${l.blocks.map((be) => be.id).join("|")}`;
|
|
20262
|
+
p !== oe && (p = oe, zt.value = null, tn.value = null, await Zt(), gs());
|
|
20263
20263
|
return;
|
|
20264
20264
|
}
|
|
20265
20265
|
const d = oi();
|
|
@@ -20306,7 +20306,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
20306
20306
|
Wn.value && (dr.value = !0, An.value = !0);
|
|
20307
20307
|
}
|
|
20308
20308
|
async function So(l) {
|
|
20309
|
-
var d, _, T,
|
|
20309
|
+
var d, _, T, oe;
|
|
20310
20310
|
try {
|
|
20311
20311
|
const be = fy(On.value) || {}, Be = {
|
|
20312
20312
|
...be,
|
|
@@ -20319,7 +20319,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
20319
20319
|
);
|
|
20320
20320
|
return r ? (a.error = "", Wn.value = !1, An.value = !1, dr.value = !1, Un.value = null, Bc(a.workspaceId, { layoutConfig: r.layoutConfig || l.layoutConfig }), Co.value = null, (_ = gt.value) != null && _.id && (xn.value = gt.value.id), (T = l.done) == null || T.call(l, !0), r) : ((d = l.done) == null || d.call(l, !1), r);
|
|
20321
20321
|
} catch (be) {
|
|
20322
|
-
throw (
|
|
20322
|
+
throw (oe = l.done) == null || oe.call(l, !1), be;
|
|
20323
20323
|
}
|
|
20324
20324
|
}
|
|
20325
20325
|
async function _s(l) {
|
|
@@ -20379,9 +20379,9 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
20379
20379
|
}));
|
|
20380
20380
|
}
|
|
20381
20381
|
function qu(l) {
|
|
20382
|
-
var
|
|
20382
|
+
var oe, be;
|
|
20383
20383
|
if (l.button !== 0 || (l.preventDefault(), ct.value)) return;
|
|
20384
|
-
(
|
|
20384
|
+
(oe = window.getSelection()) == null || oe.removeAllRanges();
|
|
20385
20385
|
const d = l.currentTarget instanceof HTMLElement ? l.currentTarget : null, _ = d == null ? void 0 : d.parentElement, T = _ == null ? void 0 : _.getBoundingClientRect();
|
|
20386
20386
|
Z = T ? { right: T.right, width: T.width } : null, me = l.pointerId, ce = d, (be = d == null ? void 0 : d.setPointerCapture) == null || be.call(d, l.pointerId), Zn.value = !0, Fl(l.clientX);
|
|
20387
20387
|
}
|
|
@@ -20407,8 +20407,8 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
20407
20407
|
function qo(l, d) {
|
|
20408
20408
|
const _ = l.trim().toLowerCase();
|
|
20409
20409
|
if (!_) return !0;
|
|
20410
|
-
const T = typeof (d == null ? void 0 : d.label) == "string" ? d.label : String((d == null ? void 0 : d.label) ?? ""),
|
|
20411
|
-
return `${T} ${
|
|
20410
|
+
const T = typeof (d == null ? void 0 : d.label) == "string" ? d.label : String((d == null ? void 0 : d.label) ?? ""), oe = typeof (d == null ? void 0 : d.value) == "string" ? d.value : String((d == null ? void 0 : d.value) ?? "");
|
|
20411
|
+
return `${T} ${oe}`.toLowerCase().includes(_);
|
|
20412
20412
|
}
|
|
20413
20413
|
function jo(l) {
|
|
20414
20414
|
return typeof l == "string" ? l.trim() : "";
|
|
@@ -20445,7 +20445,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
20445
20445
|
try {
|
|
20446
20446
|
const T = await Qy(l);
|
|
20447
20447
|
if (z.value.trim() !== d) return;
|
|
20448
|
-
pt.value = T, T.some((
|
|
20448
|
+
pt.value = T, T.some((oe) => oe.value === Ot.value) || (Ot.value = ((_ = T[0]) == null ? void 0 : _.value) || "");
|
|
20449
20449
|
} catch (T) {
|
|
20450
20450
|
if (z.value.trim() !== d) return;
|
|
20451
20451
|
rn.value = T instanceof Error && T.message ? T.message : "指标加载失败";
|
|
@@ -20465,7 +20465,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
20465
20465
|
try {
|
|
20466
20466
|
const T = await Jy(l);
|
|
20467
20467
|
if (z.value.trim() !== d) return;
|
|
20468
|
-
Ut.value = T, T.some((
|
|
20468
|
+
Ut.value = T, T.some((oe) => oe.value === wn.value) || (wn.value = ((_ = T[0]) == null ? void 0 : _.value) || "");
|
|
20469
20469
|
} catch (T) {
|
|
20470
20470
|
if (z.value.trim() !== d) return;
|
|
20471
20471
|
Kt.value = T instanceof Error && T.message ? T.message : "模型服务加载失败";
|
|
@@ -20485,7 +20485,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
20485
20485
|
try {
|
|
20486
20486
|
const T = await Zy(l);
|
|
20487
20487
|
if (z.value.trim() !== d) return;
|
|
20488
|
-
dt.value = T, T.some((
|
|
20488
|
+
dt.value = T, T.some((oe) => oe.value === Ht.value) || (Ht.value = ((_ = T[0]) == null ? void 0 : _.value) || "");
|
|
20489
20489
|
} catch (T) {
|
|
20490
20490
|
if (z.value.trim() !== d) return;
|
|
20491
20491
|
on.value = T instanceof Error && T.message ? T.message : "列表加载失败";
|
|
@@ -20527,19 +20527,19 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
20527
20527
|
return Number.isFinite(_) && _ > 0 ? _ : d;
|
|
20528
20528
|
}
|
|
20529
20529
|
function Pl(l, d) {
|
|
20530
|
-
const T = (d == null ? void 0 : d.nodes.find((Be) => !Be.parentId && String(Be.i) === l.id)) || l.layout,
|
|
20530
|
+
const T = (d == null ? void 0 : d.nodes.find((Be) => !Be.parentId && String(Be.i) === l.id)) || l.layout, oe = ro(d == null ? void 0 : d.cols, 24), be = ro(d == null ? void 0 : d.rowHeight, 24);
|
|
20531
20531
|
return {
|
|
20532
|
-
width: Math.max(1, Math.round(ro(T == null ? void 0 : T.w, 1) * (1120 /
|
|
20532
|
+
width: Math.max(1, Math.round(ro(T == null ? void 0 : T.w, 1) * (1120 / oe))),
|
|
20533
20533
|
height: Math.max(1, Math.round(ro(T == null ? void 0 : T.h, 1) * be))
|
|
20534
20534
|
};
|
|
20535
20535
|
}
|
|
20536
20536
|
function $l(l, d) {
|
|
20537
|
-
var _, T,
|
|
20537
|
+
var _, T, oe;
|
|
20538
20538
|
if (!d) {
|
|
20539
20539
|
const be = (_ = Bn.value) == null ? void 0 : _.requestCardRenderedSize(l.id);
|
|
20540
20540
|
if (be) return be;
|
|
20541
20541
|
}
|
|
20542
|
-
return Pl(l, d || ((
|
|
20542
|
+
return Pl(l, d || ((oe = (T = a.snapshot) == null ? void 0 : T.visualConfig) == null ? void 0 : oe.layoutTree));
|
|
20543
20543
|
}
|
|
20544
20544
|
function ks(l) {
|
|
20545
20545
|
const d = $l(l);
|
|
@@ -20562,8 +20562,8 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
20562
20562
|
if (!l) return "";
|
|
20563
20563
|
const d = np(l);
|
|
20564
20564
|
if (d != null && d.bindingId) return d.bindingId;
|
|
20565
|
-
const _ = Nt(l), T = Nt(_.dataBinding),
|
|
20566
|
-
return vn(_, "dataBindingId") || vn(T, "bindingId") || vn(T, "id") ||
|
|
20565
|
+
const _ = Nt(l), T = Nt(_.dataBinding), oe = vn(T, "refreshApi") || vn(_, "refreshApi"), be = Nt(l.data), Be = Nt(l.meta), r = Nt(be.dataBinding), o = Nt(Be.dataBinding), s = Nt(Be.dataBindingCandidate);
|
|
20566
|
+
return vn(_, "dataBindingId") || vn(T, "bindingId") || vn(T, "id") || oe && Vy(oe) || "" || vn(be, "dataBindingId") || vn(Be, "dataBindingId") || vn(r, "bindingId") || vn(r, "id") || vn(r, "metricId") || vn(r, "metricCode") || vn(o, "bindingId") || vn(o, "id") || vn(o, "metricId") || vn(o, "metricCode") || vn(s, "bindingId") || vn(s, "id") || vn(s, "metricId") || vn(s, "metricCode");
|
|
20567
20567
|
}
|
|
20568
20568
|
function Wl(l) {
|
|
20569
20569
|
return l.subType === "chart" && !!zr(l);
|
|
@@ -20774,19 +20774,19 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
20774
20774
|
cr.value = 0, lr.value = d, Rn.value = Rs(l.columns, d), Br.value = l.pageIndex || 1, Yr.value = l.pageSize || 10, aa.value = l.total ?? lr.value.length;
|
|
20775
20775
|
}
|
|
20776
20776
|
function Rs(l, d) {
|
|
20777
|
-
const _ = Array.isArray(l) ? l.flatMap((
|
|
20778
|
-
const be = typeof
|
|
20777
|
+
const _ = Array.isArray(l) ? l.flatMap((oe) => {
|
|
20778
|
+
const be = typeof oe.name == "string" ? oe.name.trim() : "";
|
|
20779
20779
|
return be ? [{
|
|
20780
|
-
...
|
|
20780
|
+
...oe,
|
|
20781
20781
|
name: be,
|
|
20782
|
-
type: typeof
|
|
20782
|
+
type: typeof oe.type == "string" && oe.type.trim() ? oe.type.trim() : "string"
|
|
20783
20783
|
}] : [];
|
|
20784
20784
|
}) : [];
|
|
20785
20785
|
if (_.length > 0) return _;
|
|
20786
|
-
const T = d.find((
|
|
20787
|
-
return T ? Object.keys(T).map((
|
|
20788
|
-
name:
|
|
20789
|
-
type: typeof T[
|
|
20786
|
+
const T = d.find((oe) => oe && typeof oe == "object" && !Array.isArray(oe));
|
|
20787
|
+
return T ? Object.keys(T).map((oe) => ({
|
|
20788
|
+
name: oe,
|
|
20789
|
+
type: typeof T[oe] == "number" ? "number" : "string"
|
|
20790
20790
|
})) : [];
|
|
20791
20791
|
}
|
|
20792
20792
|
function pr() {
|
|
@@ -20812,7 +20812,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
20812
20812
|
].reduce((r, o) => Math.max(
|
|
20813
20813
|
r,
|
|
20814
20814
|
Wi(o)
|
|
20815
|
-
), 0),
|
|
20815
|
+
), 0), oe = lr.value.map((r) => r[l.name]), Be = oe.length > 0 && oe.every((r) => r == null || typeof r == "number" || /^-?\d+(\.\d+)?$/.test(Bs(r).trim())) ? 160 : rP;
|
|
20816
20816
|
return Math.min(
|
|
20817
20817
|
Be,
|
|
20818
20818
|
Math.max(bf, Math.ceil(T + 44))
|
|
@@ -20976,7 +20976,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
20976
20976
|
kt.value = "数据保存失败,请重试", an.error(kt.value);
|
|
20977
20977
|
return;
|
|
20978
20978
|
}
|
|
20979
|
-
await new Promise((
|
|
20979
|
+
await new Promise((oe, be) => {
|
|
20980
20980
|
let Be = !1;
|
|
20981
20981
|
const r = window.setTimeout(() => {
|
|
20982
20982
|
Be || (Be = !0, be(new Error("数据保存超时,请重试")));
|
|
@@ -20984,7 +20984,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
20984
20984
|
d.requestSaveConfigMode((o) => {
|
|
20985
20985
|
if (!Be) {
|
|
20986
20986
|
if (Be = !0, window.clearTimeout(r), o) {
|
|
20987
|
-
|
|
20987
|
+
oe();
|
|
20988
20988
|
return;
|
|
20989
20989
|
}
|
|
20990
20990
|
be(new Error("数据保存失败,请重试"));
|
|
@@ -21030,10 +21030,10 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
21030
21030
|
if (!l) return;
|
|
21031
21031
|
const d = document.body.style.userSelect, _ = document.body.style.cursor, T = document.documentElement.style.cursor;
|
|
21032
21032
|
document.body.style.userSelect = "none", document.body.style.cursor = "col-resize", document.documentElement.style.cursor = "col-resize", window.addEventListener("pointermove", Ds), window.addEventListener("pointerup", oo, { once: !0 }), window.addEventListener("pointercancel", oo, { once: !0 });
|
|
21033
|
-
const
|
|
21033
|
+
const oe = () => {
|
|
21034
21034
|
window.removeEventListener("pointermove", Ds), window.removeEventListener("pointerup", oo), window.removeEventListener("pointercancel", oo), document.body.style.userSelect = d, document.body.style.cursor = _, document.documentElement.style.cursor = T;
|
|
21035
21035
|
}, be = St(Zn, (Be) => {
|
|
21036
|
-
Be || (
|
|
21036
|
+
Be || (oe(), be());
|
|
21037
21037
|
});
|
|
21038
21038
|
}), ra(() => {
|
|
21039
21039
|
Fe = a.registerCanvasBusListeners() || null, Ne = QF({
|
|
@@ -21084,8 +21084,8 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
21084
21084
|
}
|
|
21085
21085
|
async function gd(l) {
|
|
21086
21086
|
if (!(l != null && l.length)) return;
|
|
21087
|
-
const _ = (await Promise.all(l.map(
|
|
21088
|
-
|
|
21087
|
+
const _ = (await Promise.all(l.map(async (T) => {
|
|
21088
|
+
const oe = await vf({
|
|
21089
21089
|
payload: {
|
|
21090
21090
|
downloadUrl: T.downloadUrl || (Zo(T.url) ? T.url : void 0),
|
|
21091
21091
|
file: T.rawFile,
|
|
@@ -21095,8 +21095,9 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
21095
21095
|
type: T.type
|
|
21096
21096
|
},
|
|
21097
21097
|
headers: ns({ userId: a.userId })
|
|
21098
|
-
})
|
|
21099
|
-
|
|
21098
|
+
});
|
|
21099
|
+
return oe != null && oe.id && (T.fileId = oe.id), oe != null && oe.url && (T.downloadUrl = oe.url, T.url = oe.url), oe;
|
|
21100
|
+
}))).filter((T) => !!T);
|
|
21100
21101
|
return _.length > 0 ? _ : void 0;
|
|
21101
21102
|
}
|
|
21102
21103
|
async function Fs(l) {
|
|
@@ -21120,7 +21121,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
21120
21121
|
return;
|
|
21121
21122
|
}
|
|
21122
21123
|
if (KF(_)) {
|
|
21123
|
-
const
|
|
21124
|
+
const oe = await gd(d == null ? void 0 : d.attachments), be = d && "selectedSystemCard" in d ? d.selectedSystemCard ?? null : j.value, Be = De.value;
|
|
21124
21125
|
j.value = null, De.value = null, ae.value = "", await a.runPrompt(_, {
|
|
21125
21126
|
selectedBlockId: (d == null ? void 0 : d.selectedBlockId) ?? zt.value,
|
|
21126
21127
|
selectedNestedBlock: tn.value,
|
|
@@ -21136,7 +21137,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
21136
21137
|
},
|
|
21137
21138
|
chatMessages: d == null ? void 0 : d.messages,
|
|
21138
21139
|
actionPayload: d == null ? void 0 : d.actionPayload,
|
|
21139
|
-
attachments:
|
|
21140
|
+
attachments: oe
|
|
21140
21141
|
});
|
|
21141
21142
|
}
|
|
21142
21143
|
}
|
|
@@ -21279,8 +21280,8 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
21279
21280
|
}
|
|
21280
21281
|
async function qi(l) {
|
|
21281
21282
|
var Be, r;
|
|
21282
|
-
const d = "undo-custom-card:", _ = "undo-registered-card:", T = l.startsWith(d),
|
|
21283
|
-
if (!T && !
|
|
21283
|
+
const d = "undo-custom-card:", _ = "undo-registered-card:", T = l.startsWith(d), oe = l.startsWith(_);
|
|
21284
|
+
if (!T && !oe) return;
|
|
21284
21285
|
const be = l.slice((T ? d : _).length);
|
|
21285
21286
|
if (T)
|
|
21286
21287
|
await a.removeBlock(be);
|
|
@@ -21291,7 +21292,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
21291
21292
|
(r = a.snapshot) != null && r.blocks.some((o) => o.id === be) || (zt.value === be && (zt.value = null, tn.value = null), _t !== null && (window.clearTimeout(_t), _t = null), ur.value = null);
|
|
21292
21293
|
}
|
|
21293
21294
|
async function ei(l) {
|
|
21294
|
-
var T,
|
|
21295
|
+
var T, oe, be;
|
|
21295
21296
|
const d = RF(l, Kv);
|
|
21296
21297
|
if (!d.ok) {
|
|
21297
21298
|
en("插卡未完成", d.reason);
|
|
@@ -21299,7 +21300,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
21299
21300
|
}
|
|
21300
21301
|
const _ = await a.insertCard(d.params);
|
|
21301
21302
|
if (!_.success || !((T = _.data) != null && T.card)) {
|
|
21302
|
-
en("插卡未完成", ((
|
|
21303
|
+
en("插卡未完成", ((oe = _.error) == null ? void 0 : oe.message) || "用户 npm 卡片插入失败。");
|
|
21303
21304
|
return;
|
|
21304
21305
|
}
|
|
21305
21306
|
zt.value = _.data.card.id, tn.value = null, Tr(), Pa(l.title, _.data.card, {
|
|
@@ -21311,14 +21312,14 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
21311
21312
|
function ti(l) {
|
|
21312
21313
|
var _, T;
|
|
21313
21314
|
const d = (_ = l.dataBinding) == null ? void 0 : _.bindingId;
|
|
21314
|
-
return (T = a.snapshot) == null ? void 0 : T.blocks.find((
|
|
21315
|
+
return (T = a.snapshot) == null ? void 0 : T.blocks.find((oe) => {
|
|
21315
21316
|
var r;
|
|
21316
|
-
const be = Dt(
|
|
21317
|
-
return ((r =
|
|
21317
|
+
const be = Dt(oe.data), Be = Dt(be.dataBinding);
|
|
21318
|
+
return ((r = oe.meta) == null ? void 0 : r.aiChatCardId) === l.id || !!(d && (be.dataBindingId === d || Be.bindingId === d || Be.id === d));
|
|
21318
21319
|
});
|
|
21319
21320
|
}
|
|
21320
21321
|
function rc(l) {
|
|
21321
|
-
const d = Dt(l.data), _ = Dt(d.protocolConfig), T = Dt(d.protocolData),
|
|
21322
|
+
const d = Dt(l.data), _ = Dt(d.protocolConfig), T = Dt(d.protocolData), oe = Array.isArray(_.series) ? _.series : [], be = Array.isArray(T.series) ? T.series : [], Be = Dt(oe[0]), r = Dt(be[0]);
|
|
21322
21323
|
return Jr(Be.type) || Jr(r.typeHint);
|
|
21323
21324
|
}
|
|
21324
21325
|
function kd(l, d) {
|
|
@@ -21337,7 +21338,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
21337
21338
|
});
|
|
21338
21339
|
}
|
|
21339
21340
|
async function Fr(l) {
|
|
21340
|
-
var d, _, T,
|
|
21341
|
+
var d, _, T, oe;
|
|
21341
21342
|
try {
|
|
21342
21343
|
const be = new Set(((d = a.snapshot) == null ? void 0 : d.blocks.map((s) => s.id)) || []), Be = await a.insertSystemRegisteredCard(
|
|
21343
21344
|
l.selectedSystemCard,
|
|
@@ -21365,7 +21366,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
21365
21366
|
actionLabel: "撤销",
|
|
21366
21367
|
actionId: `undo-registered-card:${o.id}`,
|
|
21367
21368
|
durationMs: 6e3
|
|
21368
|
-
}), await Zt(), (
|
|
21369
|
+
}), await Zt(), (oe = Hn.value[o.id]) == null || oe.scrollIntoView({ behavior: "smooth", block: "center" }), so();
|
|
21369
21370
|
return;
|
|
21370
21371
|
}
|
|
21371
21372
|
en("插卡未定位", "系统卡片已处理,但未能在画布中定位新增卡片,请刷新后确认。");
|
|
@@ -21397,13 +21398,13 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
21397
21398
|
!ht.value || !ct.value || (ct.value = !1, Pi());
|
|
21398
21399
|
}
|
|
21399
21400
|
async function ji(l) {
|
|
21400
|
-
var d, _, T,
|
|
21401
|
+
var d, _, T, oe, be, Be;
|
|
21401
21402
|
if (Id(), await Zt(), l === "history") {
|
|
21402
21403
|
(_ = (d = Vn.value) == null ? void 0 : d.openWorkbenchHistory) == null || _.call(d);
|
|
21403
21404
|
return;
|
|
21404
21405
|
}
|
|
21405
21406
|
if (l === "settings") {
|
|
21406
|
-
(
|
|
21407
|
+
(oe = (T = Vn.value) == null ? void 0 : T.openWorkbenchSettings) == null || oe.call(T);
|
|
21407
21408
|
return;
|
|
21408
21409
|
}
|
|
21409
21410
|
(Be = (be = Vn.value) == null ? void 0 : be.openWorkbenchChat) == null || Be.call(be), await so();
|
|
@@ -21412,13 +21413,13 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
21412
21413
|
var d, _, T;
|
|
21413
21414
|
try {
|
|
21414
21415
|
xn.value = null;
|
|
21415
|
-
const
|
|
21416
|
-
if (
|
|
21417
|
-
if (zt.value =
|
|
21416
|
+
const oe = ti(l);
|
|
21417
|
+
if (oe) {
|
|
21418
|
+
if (zt.value = oe.id, tn.value = null, kd(oe, l)) {
|
|
21418
21419
|
await gc(l);
|
|
21419
21420
|
return;
|
|
21420
21421
|
}
|
|
21421
|
-
en("图表已在画布中", `“${l.title}”只能插入一次,已定位到现有图表。`), await Zt(), (d = Hn.value[
|
|
21422
|
+
en("图表已在画布中", `“${l.title}”只能插入一次,已定位到现有图表。`), await Zt(), (d = Hn.value[oe.id]) == null || d.scrollIntoView({ behavior: "smooth", block: "center" });
|
|
21422
21423
|
return;
|
|
21423
21424
|
}
|
|
21424
21425
|
const be = new Set(((_ = a.snapshot) == null ? void 0 : _.blocks.map((o) => o.id)) || []), Be = await a.insertAiChartCard(l), r = (Be == null ? void 0 : Be.blocks.find((o) => !be.has(o.id))) || [...(Be == null ? void 0 : Be.blocks) || []].reverse().find((o) => {
|
|
@@ -21431,9 +21432,9 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
21431
21432
|
}
|
|
21432
21433
|
}
|
|
21433
21434
|
async function Vi(l) {
|
|
21434
|
-
var
|
|
21435
|
+
var oe, be;
|
|
21435
21436
|
xn.value = null;
|
|
21436
|
-
const d = new Set(((
|
|
21437
|
+
const d = new Set(((oe = a.snapshot) == null ? void 0 : oe.blocks.map((Be) => Be.id)) || []), _ = await a.insertAiMetricCard(l), T = (_ == null ? void 0 : _.blocks.find((Be) => !d.has(Be.id))) || [...(_ == null ? void 0 : _.blocks) || []].reverse().find((Be) => {
|
|
21437
21438
|
var r;
|
|
21438
21439
|
return ((r = Be.meta) == null ? void 0 : r.aiChatMetricCardId) === l.id;
|
|
21439
21440
|
});
|
|
@@ -21493,10 +21494,10 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
21493
21494
|
};
|
|
21494
21495
|
}
|
|
21495
21496
|
function cc(l) {
|
|
21496
|
-
const d = Nt(l.data), _ = Nt(l.meta), T = lo(l),
|
|
21497
|
+
const d = Nt(l.data), _ = Nt(l.meta), T = lo(l), oe = Nt(d.cardConfig), be = Nt(_.cardConfig), Be = Nt(d.selectedConfig), r = Nt(Be.values), o = Nt(_.selectedConfig), s = Nt(o.values);
|
|
21497
21498
|
return lc(
|
|
21498
21499
|
Dt(be.fieldMapping),
|
|
21499
|
-
Dt(
|
|
21500
|
+
Dt(oe.fieldMapping),
|
|
21500
21501
|
Dt(o.fieldMapping),
|
|
21501
21502
|
Dt(s.fieldMapping),
|
|
21502
21503
|
Dt(Be.fieldMapping),
|
|
@@ -21506,7 +21507,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
21506
21507
|
);
|
|
21507
21508
|
}
|
|
21508
21509
|
function uc(l) {
|
|
21509
|
-
const d = Nt(l.data), _ = Nt(l.meta), T = lo(l),
|
|
21510
|
+
const d = Nt(l.data), _ = Nt(l.meta), T = lo(l), oe = Nt(d.cardConfig), be = Nt(_.cardConfig), Be = Nt(d.selectedConfig), r = Nt(Be.values), o = Nt(_.selectedConfig), s = Nt(o.values);
|
|
21510
21511
|
return {
|
|
21511
21512
|
...Dt(d.fieldLabels),
|
|
21512
21513
|
...Dt(T.fieldLabels),
|
|
@@ -21514,7 +21515,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
21514
21515
|
...Dt(r.fieldLabels),
|
|
21515
21516
|
...Dt(o.fieldLabels),
|
|
21516
21517
|
...Dt(s.fieldLabels),
|
|
21517
|
-
...Dt(
|
|
21518
|
+
...Dt(oe.fieldLabels),
|
|
21518
21519
|
...Dt(be.fieldLabels)
|
|
21519
21520
|
};
|
|
21520
21521
|
}
|
|
@@ -21533,27 +21534,27 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
21533
21534
|
typeof T == "string" && T.trim() && d.push(T.trim());
|
|
21534
21535
|
}), ["yFields", "columns"].forEach((_) => {
|
|
21535
21536
|
const T = l[_];
|
|
21536
|
-
Array.isArray(T) && T.forEach((
|
|
21537
|
-
typeof
|
|
21537
|
+
Array.isArray(T) && T.forEach((oe) => {
|
|
21538
|
+
typeof oe == "string" && oe.trim() && d.push(oe.trim());
|
|
21538
21539
|
});
|
|
21539
21540
|
}), [...new Set(d)];
|
|
21540
21541
|
}
|
|
21541
21542
|
function Hs(l) {
|
|
21542
|
-
const d = Nt(l.data), _ = lo(l), T = Nt(_.queryResult),
|
|
21543
|
+
const d = Nt(l.data), _ = lo(l), T = Nt(_.queryResult), oe = Nt(_.dataPayload), Be = [
|
|
21543
21544
|
d.rows,
|
|
21544
21545
|
d.records,
|
|
21545
21546
|
Nt(d.queryResult).rows,
|
|
21546
21547
|
T.rows,
|
|
21547
|
-
|
|
21548
|
+
oe.rows
|
|
21548
21549
|
].find((r) => Array.isArray(r) && r.some(Dt));
|
|
21549
21550
|
return Array.isArray(Be) ? Be.filter((r) => Object.keys(Dt(r)).length > 0) : [];
|
|
21550
21551
|
}
|
|
21551
21552
|
function fc(l) {
|
|
21552
|
-
const d = Nt(l.data), _ = lo(l), T = Nt(_.queryResult),
|
|
21553
|
+
const d = Nt(l.data), _ = lo(l), T = Nt(_.queryResult), oe = Nt(_.dataPayload), be = cc(l), Be = uc(l), o = Hs(l)[0] ?? {}, s = [
|
|
21553
21554
|
...ni(d.columns),
|
|
21554
21555
|
...ni(Nt(d.queryResult).columns),
|
|
21555
21556
|
...ni(T.columns),
|
|
21556
|
-
...ni(
|
|
21557
|
+
...ni(oe.columns),
|
|
21557
21558
|
...Object.keys(o),
|
|
21558
21559
|
...dc(be),
|
|
21559
21560
|
...Object.keys(Be)
|
|
@@ -21569,19 +21570,19 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
21569
21570
|
}
|
|
21570
21571
|
function Bo(l) {
|
|
21571
21572
|
if (!l) return null;
|
|
21572
|
-
const d = zn(l) || "card.chart.custom", _ = Nt(l.data), T = Nt(l.meta),
|
|
21573
|
+
const d = zn(l) || "card.chart.custom", _ = Nt(l.data), T = Nt(l.meta), oe = cc(l), be = uc(l), Be = fc(l), r = Hs(l), o = {
|
|
21573
21574
|
...Dt(T.cardConfig),
|
|
21574
21575
|
capabilityId: d,
|
|
21575
21576
|
configSource: "patch_rebind",
|
|
21576
|
-
fieldMapping:
|
|
21577
|
+
fieldMapping: oe,
|
|
21577
21578
|
fieldLabels: be
|
|
21578
21579
|
}, s = {
|
|
21579
21580
|
...Dt(T.selectedConfig),
|
|
21580
|
-
fieldMapping:
|
|
21581
|
+
fieldMapping: oe,
|
|
21581
21582
|
fieldLabels: be,
|
|
21582
21583
|
values: {
|
|
21583
21584
|
...Dt(Dt(T.selectedConfig).values),
|
|
21584
|
-
fieldMapping:
|
|
21585
|
+
fieldMapping: oe,
|
|
21585
21586
|
fieldLabels: be
|
|
21586
21587
|
}
|
|
21587
21588
|
};
|
|
@@ -21601,7 +21602,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
21601
21602
|
selectedConfig: s,
|
|
21602
21603
|
dataBinding: {
|
|
21603
21604
|
...lo(l),
|
|
21604
|
-
fieldMapping:
|
|
21605
|
+
fieldMapping: oe,
|
|
21605
21606
|
fieldLabels: be
|
|
21606
21607
|
},
|
|
21607
21608
|
queryResult: {
|
|
@@ -21610,7 +21611,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
21610
21611
|
rows: r,
|
|
21611
21612
|
dataBinding: {
|
|
21612
21613
|
...lo(l),
|
|
21613
|
-
fieldMapping:
|
|
21614
|
+
fieldMapping: oe,
|
|
21614
21615
|
fieldLabels: be
|
|
21615
21616
|
}
|
|
21616
21617
|
}
|
|
@@ -21629,8 +21630,8 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
21629
21630
|
en("无法调整字段", "当前没有选中的卡片,请先选中一张已绑定问数的卡片。");
|
|
21630
21631
|
return;
|
|
21631
21632
|
}
|
|
21632
|
-
const _ = Dt(l.selectedConfig), T = Dt(_.values),
|
|
21633
|
-
...
|
|
21633
|
+
const _ = Dt(l.selectedConfig), T = Dt(_.values), oe = Dt(l.cardConfig), be = Ws(l), Be = sc(l), r = {
|
|
21634
|
+
...oe,
|
|
21634
21635
|
configSource: "patch_rebind",
|
|
21635
21636
|
fieldMapping: be,
|
|
21636
21637
|
fieldLabels: Be
|
|
@@ -21674,21 +21675,21 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
21674
21675
|
async function Ad(l) {
|
|
21675
21676
|
var r;
|
|
21676
21677
|
if (G.value) return;
|
|
21677
|
-
const d = Dt(l.selectedConfig), _ = Dt(d.values), T = Dt(l.cardConfig),
|
|
21678
|
+
const d = Dt(l.selectedConfig), _ = Dt(d.values), T = Dt(l.cardConfig), oe = Ws(l), be = sc(l), Be = {
|
|
21678
21679
|
...l,
|
|
21679
21680
|
selectedConfig: {
|
|
21680
21681
|
...d,
|
|
21681
|
-
fieldMapping:
|
|
21682
|
+
fieldMapping: oe,
|
|
21682
21683
|
fieldLabels: be,
|
|
21683
21684
|
values: {
|
|
21684
21685
|
..._,
|
|
21685
|
-
fieldMapping:
|
|
21686
|
+
fieldMapping: oe,
|
|
21686
21687
|
fieldLabels: be
|
|
21687
21688
|
}
|
|
21688
21689
|
},
|
|
21689
21690
|
cardConfig: {
|
|
21690
21691
|
...T,
|
|
21691
|
-
fieldMapping:
|
|
21692
|
+
fieldMapping: oe,
|
|
21692
21693
|
fieldLabels: be
|
|
21693
21694
|
},
|
|
21694
21695
|
previewStatus: "ready",
|
|
@@ -21718,23 +21719,23 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
21718
21719
|
}
|
|
21719
21720
|
if (!T)
|
|
21720
21721
|
return d == null || d.done(!1), en("插卡未完成", "当前卡片还不能直接插入,请调整字段或重新问数后再试。"), !1;
|
|
21721
|
-
const
|
|
21722
|
+
const oe = (T == null ? void 0 : T.blocks.find((r) => !_.has(r.id))) || [...(T == null ? void 0 : T.blocks) || []].reverse().find((r) => {
|
|
21722
21723
|
var o;
|
|
21723
21724
|
return ((o = r.meta) == null ? void 0 : o.capabilityId) === l.capabilityId;
|
|
21724
21725
|
});
|
|
21725
|
-
return
|
|
21726
|
+
return oe ? (zt.value = oe.id, tn.value = null, Tr(), d && Te.set(oe.id, d), Pa(l.title || oe.title, oe, {
|
|
21726
21727
|
actionLabel: "撤销",
|
|
21727
|
-
actionId: `undo-registered-card:${
|
|
21728
|
+
actionId: `undo-registered-card:${oe.id}`,
|
|
21728
21729
|
durationMs: 6e3
|
|
21729
|
-
}), await Zt(), (Be = Hn.value[
|
|
21730
|
+
}), await Zt(), (Be = Hn.value[oe.id]) == null || Be.scrollIntoView({ behavior: "smooth", block: "center" }), so(), d == null || d.done(!0), !0) : (d == null || d.done(!1), en("插卡未完成", "未能在画布中定位新增卡片,请刷新工作台后确认保存结果。"), !1);
|
|
21730
21731
|
}
|
|
21731
21732
|
async function gc(l) {
|
|
21732
21733
|
var d;
|
|
21733
21734
|
try {
|
|
21734
21735
|
xn.value = null;
|
|
21735
|
-
const _ = await a.updateAiChartCard(l), T = [...(_ == null ? void 0 : _.blocks) || []].reverse().find((
|
|
21736
|
+
const _ = await a.updateAiChartCard(l), T = [...(_ == null ? void 0 : _.blocks) || []].reverse().find((oe) => {
|
|
21736
21737
|
var be;
|
|
21737
|
-
return ((be =
|
|
21738
|
+
return ((be = oe.meta) == null ? void 0 : be.aiChatCardId) === l.id;
|
|
21738
21739
|
});
|
|
21739
21740
|
T && (zt.value = T.id, tn.value = null, Tr(), Pa(l.title, T), await Zt(), (d = Hn.value[T.id]) == null || d.scrollIntoView({ behavior: "smooth", block: "center" }));
|
|
21740
21741
|
} finally {
|
|
@@ -21743,16 +21744,16 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
21743
21744
|
}
|
|
21744
21745
|
async function pc(l) {
|
|
21745
21746
|
var r, o, s, m, v;
|
|
21746
|
-
const d = "block" in l ? l.block : l, _ = "block" in l ? l.overrideCapabilityId : void 0, T = ((r = a.snapshot) == null ? void 0 : r.blocks.find((b) => b.id === d.id)) || d,
|
|
21747
|
+
const d = "block" in l ? l.block : l, _ = "block" in l ? l.overrideCapabilityId : void 0, T = ((r = a.snapshot) == null ? void 0 : r.blocks.find((b) => b.id === d.id)) || d, oe = ew(T, {
|
|
21747
21748
|
baseSnapshotVersion: (o = a.snapshot) == null ? void 0 : o.version,
|
|
21748
21749
|
overrideCapabilityId: _
|
|
21749
21750
|
});
|
|
21750
|
-
if (!
|
|
21751
|
+
if (!oe) {
|
|
21751
21752
|
en("暂不能自动替换", "当前占位区域缺少可映射的建议卡片类型,请从卡片库手动插入。");
|
|
21752
21753
|
return;
|
|
21753
21754
|
}
|
|
21754
21755
|
xn.value = null;
|
|
21755
|
-
const be = await a.updateCard(
|
|
21756
|
+
const be = await a.updateCard(oe);
|
|
21756
21757
|
if (!be.success) {
|
|
21757
21758
|
en(
|
|
21758
21759
|
"替换失败",
|
|
@@ -21795,7 +21796,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
21795
21796
|
xn.value = null;
|
|
21796
21797
|
let _ = 0;
|
|
21797
21798
|
const T = [];
|
|
21798
|
-
let
|
|
21799
|
+
let oe = null;
|
|
21799
21800
|
for (const m of d) {
|
|
21800
21801
|
const v = hh(((be = a.snapshot) == null ? void 0 : be.blocks) || []).find(($) => $.id === m.id) || m, [b] = nw([v], {
|
|
21801
21802
|
baseSnapshotVersion: (Be = a.snapshot) == null ? void 0 : Be.version
|
|
@@ -21810,9 +21811,9 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
21810
21811
|
continue;
|
|
21811
21812
|
}
|
|
21812
21813
|
const B = (o = a.snapshot) == null ? void 0 : o.blocks.find(($) => $.id === v.id);
|
|
21813
|
-
B && (_ += 1,
|
|
21814
|
+
B && (_ += 1, oe = B, await vc(B));
|
|
21814
21815
|
}
|
|
21815
|
-
if (
|
|
21816
|
+
if (oe && (zt.value = oe.id, tn.value = null, Tr(), await Zt(), (s = Hn.value[oe.id]) == null || s.scrollIntoView({ behavior: "smooth", block: "center" })), _ > 0 && Pa(`已替换 ${_} 张占位卡`, oe || l[0]), T.length > 0) {
|
|
21816
21817
|
const m = rw(T);
|
|
21817
21818
|
en("部分占位卡替换失败", m || `${T.length} 张占位卡保存失败,可单独重试。`);
|
|
21818
21819
|
}
|
|
@@ -21822,8 +21823,8 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
21822
21823
|
const d = ((_ = a.snapshot) == null ? void 0 : _.blocks.find((T) => T.id === l.id)) || l;
|
|
21823
21824
|
if (Ql(d)) {
|
|
21824
21825
|
try {
|
|
21825
|
-
const T = Ne != null && Ne.hasCurrentValues() ? Ne.currentValues() : void 0,
|
|
21826
|
-
await a.retryDataBindingRefresh(d.id, T ? { filterValues: T, metricFilterBindings:
|
|
21826
|
+
const T = Ne != null && Ne.hasCurrentValues() ? Ne.currentValues() : void 0, oe = Ne == null ? void 0 : Ne.metricFilterBindingsForCard(d.id);
|
|
21827
|
+
await a.retryDataBindingRefresh(d.id, T ? { filterValues: T, metricFilterBindings: oe } : void 0);
|
|
21827
21828
|
} catch (T) {
|
|
21828
21829
|
en(
|
|
21829
21830
|
"问数重试失败",
|
|
@@ -21849,14 +21850,14 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
21849
21850
|
Mo({ parentId: l.parentBlock.id, childId: l.childBlock.id });
|
|
21850
21851
|
const d = zr(l.childBlock);
|
|
21851
21852
|
try {
|
|
21852
|
-
const _ = Ne != null && Ne.hasCurrentValues() ? Ne.currentValues() : void 0, T = Ne == null ? void 0 : Ne.metricFilterBindingsForCard(l.childBlock.id),
|
|
21853
|
+
const _ = Ne != null && Ne.hasCurrentValues() ? Ne.currentValues() : void 0, T = Ne == null ? void 0 : Ne.metricFilterBindingsForCard(l.childBlock.id), oe = await a.retryDataBindingRefresh(l.childBlock.id, {
|
|
21853
21854
|
...d ? { bindingId: d } : {},
|
|
21854
21855
|
..._ ? { filterValues: _ } : {},
|
|
21855
21856
|
...T ? { metricFilterBindings: T } : {}
|
|
21856
21857
|
});
|
|
21857
|
-
|
|
21858
|
+
oe.success || en(
|
|
21858
21859
|
"子卡问数重试失败",
|
|
21859
|
-
|
|
21860
|
+
oe.errorMessage || oe.errorCode || "子卡问数刷新失败,请补充更明确的业务口径后重试。"
|
|
21860
21861
|
);
|
|
21861
21862
|
} catch (_) {
|
|
21862
21863
|
en(
|
|
@@ -21898,7 +21899,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
21898
21899
|
}
|
|
21899
21900
|
}
|
|
21900
21901
|
async function bc(l) {
|
|
21901
|
-
const d = l.items.filter((
|
|
21902
|
+
const d = l.items.filter((oe) => oe.bindingId);
|
|
21902
21903
|
if (d.length === 0) {
|
|
21903
21904
|
en("暂无可批量问数项", "当前待补清单没有可提交的 binding。");
|
|
21904
21905
|
return;
|
|
@@ -21906,24 +21907,24 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
21906
21907
|
let _ = 0;
|
|
21907
21908
|
const T = [];
|
|
21908
21909
|
io("正在批量补口径问数", `将按 ${d.length} 个卡片标题生成问法,并逐项触发真实问数。`);
|
|
21909
|
-
for (const
|
|
21910
|
-
if (
|
|
21910
|
+
for (const oe of l.items)
|
|
21911
|
+
if (oe.bindingId)
|
|
21911
21912
|
try {
|
|
21912
|
-
const be = await a.rebindCardDataBinding(
|
|
21913
|
-
bindingId:
|
|
21914
|
-
businessWording:
|
|
21915
|
-
fieldMapping:
|
|
21916
|
-
fieldLabels:
|
|
21917
|
-
cardConfig:
|
|
21918
|
-
selectedConfig:
|
|
21913
|
+
const be = await a.rebindCardDataBinding(oe.cardId, {
|
|
21914
|
+
bindingId: oe.bindingId,
|
|
21915
|
+
businessWording: oe.businessWording,
|
|
21916
|
+
fieldMapping: oe.fieldMapping,
|
|
21917
|
+
fieldLabels: oe.fieldLabels,
|
|
21918
|
+
cardConfig: oe.cardConfig,
|
|
21919
|
+
selectedConfig: oe.selectedConfig
|
|
21919
21920
|
});
|
|
21920
21921
|
if (be.success) {
|
|
21921
21922
|
_ += 1;
|
|
21922
21923
|
continue;
|
|
21923
21924
|
}
|
|
21924
|
-
T.push(`${
|
|
21925
|
+
T.push(`${oe.title}: ${be.errorMessage || be.errorCode || "仍需补充更明确口径"}`);
|
|
21925
21926
|
} catch (be) {
|
|
21926
|
-
T.push(`${
|
|
21927
|
+
T.push(`${oe.title}: ${be instanceof Error ? be.message : "问数刷新失败"}`);
|
|
21927
21928
|
}
|
|
21928
21929
|
if (T.length === 0) {
|
|
21929
21930
|
io("批量问数已完成", `${_}/${d.length} 张卡片已真实问数并回填 setData。`);
|
|
@@ -21970,8 +21971,8 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
21970
21971
|
return new Promise((d, _) => {
|
|
21971
21972
|
const T = new FileReader();
|
|
21972
21973
|
T.onload = () => {
|
|
21973
|
-
const
|
|
21974
|
-
d(
|
|
21974
|
+
const oe = typeof T.result == "string" ? T.result : "";
|
|
21975
|
+
d(oe.includes(",") ? oe.split(",")[1] || "" : oe);
|
|
21975
21976
|
}, T.onerror = () => _(T.error || new Error("FDE_IMAGE_COMPOSE_FILE_READ_FAILED")), T.readAsDataURL(l);
|
|
21976
21977
|
});
|
|
21977
21978
|
}
|
|
@@ -21993,9 +21994,9 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
21993
21994
|
}
|
|
21994
21995
|
Fi.value = _.name;
|
|
21995
21996
|
try {
|
|
21996
|
-
const
|
|
21997
|
+
const oe = await ri(_);
|
|
21997
21998
|
await yc({
|
|
21998
|
-
base64:
|
|
21999
|
+
base64: oe,
|
|
21999
22000
|
mimeType: _.type,
|
|
22000
22001
|
file: _,
|
|
22001
22002
|
text: `上传图片:${_.name}`
|
|
@@ -22029,7 +22030,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
22029
22030
|
(d = Bn.value) == null || d.requestSaveConfigMode(l);
|
|
22030
22031
|
}
|
|
22031
22032
|
return (l, d) => {
|
|
22032
|
-
var _, T,
|
|
22033
|
+
var _, T, oe;
|
|
22033
22034
|
return x(), I("div", {
|
|
22034
22035
|
class: it(["workbench-root flex min-h-0 flex-col bg-[#f6f8fc] text-slate-900", Cn.value ? W(Aw)(t.embedInPortal) : W(Bw)(t.embedInPortal)]),
|
|
22035
22036
|
"data-image-workbench": Cn.value ? "true" : void 0,
|
|
@@ -22059,7 +22060,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
22059
22060
|
f("div", RL, [
|
|
22060
22061
|
f("div", BL, [
|
|
22061
22062
|
sr(te(((_ = Tn.value) == null ? void 0 : _.resourceName) || W(a).fdeName || "个人工作台模板") + " ", 1),
|
|
22062
|
-
Rl.value ? (x(), I("span", AL, "未保存")) :
|
|
22063
|
+
Rl.value ? (x(), I("span", AL, "未保存")) : ie("", !0)
|
|
22063
22064
|
])
|
|
22064
22065
|
]),
|
|
22065
22066
|
f("div", TL, [
|
|
@@ -22104,7 +22105,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
22104
22105
|
}, [
|
|
22105
22106
|
f("div", FL, [
|
|
22106
22107
|
f("strong", null, te(be.versionName), 1),
|
|
22107
|
-
be.description ? (x(), I("span", LL, te(be.description), 1)) :
|
|
22108
|
+
be.description ? (x(), I("span", LL, te(be.description), 1)) : ie("", !0)
|
|
22108
22109
|
]),
|
|
22109
22110
|
be.current ? (x(), I("span", NL, "当前")) : (x(), I("button", {
|
|
22110
22111
|
key: 1,
|
|
@@ -22114,8 +22115,8 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
22114
22115
|
onClick: (Be) => Nu(be.versionNo)
|
|
22115
22116
|
}, " 恢复 ", 8, PL))
|
|
22116
22117
|
]))), 128)),
|
|
22117
|
-
mr.value.length === 0 ? (x(), I("div", $L, "暂无版本记录")) :
|
|
22118
|
-
])) :
|
|
22118
|
+
mr.value.length === 0 ? (x(), I("div", $L, "暂无版本记录")) : ie("", !0)
|
|
22119
|
+
])) : ie("", !0)
|
|
22119
22120
|
], 544),
|
|
22120
22121
|
f("button", {
|
|
22121
22122
|
type: "button",
|
|
@@ -22130,7 +22131,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
22130
22131
|
onClick: Fu
|
|
22131
22132
|
}, " 保存 ", 8, WL)
|
|
22132
22133
|
])
|
|
22133
|
-
])) :
|
|
22134
|
+
])) : ie("", !0),
|
|
22134
22135
|
He(W(cy), {
|
|
22135
22136
|
adapters: W(BF),
|
|
22136
22137
|
config: W(AF),
|
|
@@ -22319,7 +22320,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
22319
22320
|
])
|
|
22320
22321
|
]),
|
|
22321
22322
|
_: 1
|
|
22322
|
-
}, 8, ["input", "planning", "saving", "turns", "active-turn-id", "active-conversation-id", "conversations", "workbenches", "workbench-prologue", "active-workbench-id", "user-id", "layout-config", "assistant-persona", "workbench-style", "workbench-style-codes", "card-style-config", "card-preset-size-config", "canvas-gap-preset", "canvas-config-active", "is-fde-mode", "has-card-generation-intent", "preview-ready-for-edit", "pending-compose-plan", "pending-compose-status", "pending-system-card-title", "pending-system-card-requirement", "selected-patch-target", "auto-insert-compose-plan", "can-send-prompt", "route-images-as-attachments", "conversation-restoring", "conversation-restoring-text", "onToggleTurnCollapse", "onConfirmLayoutDraft", "onConfirmCardMutation", "onCancelCardMutation", "onConfirmSubmitDraft", "onMemoryCaptureDismiss", "onMemoryCaptureSave", "onRollbackPreview", "onClearConversation", "onDeleteConversation"])) :
|
|
22323
|
+
}, 8, ["input", "planning", "saving", "turns", "active-turn-id", "active-conversation-id", "conversations", "workbenches", "workbench-prologue", "active-workbench-id", "user-id", "layout-config", "assistant-persona", "workbench-style", "workbench-style-codes", "card-style-config", "card-preset-size-config", "canvas-gap-preset", "canvas-config-active", "is-fde-mode", "has-card-generation-intent", "preview-ready-for-edit", "pending-compose-plan", "pending-compose-status", "pending-system-card-title", "pending-system-card-requirement", "selected-patch-target", "auto-insert-compose-plan", "can-send-prompt", "route-images-as-attachments", "conversation-restoring", "conversation-restoring-text", "onToggleTurnCollapse", "onConfirmLayoutDraft", "onConfirmCardMutation", "onCancelCardMutation", "onConfirmSubmitDraft", "onMemoryCaptureDismiss", "onMemoryCaptureSave", "onRollbackPreview", "onClearConversation", "onDeleteConversation"])) : ie("", !0)
|
|
22323
22324
|
];
|
|
22324
22325
|
}),
|
|
22325
22326
|
"collapsed-right": Nn(() => [
|
|
@@ -22334,7 +22335,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
22334
22335
|
onClick: d[6] || (d[6] = (be) => ji("chat"))
|
|
22335
22336
|
}, [
|
|
22336
22337
|
He(W(Xb), { class: "h-4 w-4" }),
|
|
22337
|
-
nn.value ? (x(), I("span", zL)) :
|
|
22338
|
+
nn.value ? (x(), I("span", zL)) : ie("", !0)
|
|
22338
22339
|
], 10, GL),
|
|
22339
22340
|
f("div", qL, [
|
|
22340
22341
|
f("button", {
|
|
@@ -22480,7 +22481,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
22480
22481
|
role: "tab",
|
|
22481
22482
|
"aria-selected": de.value === "data",
|
|
22482
22483
|
onClick: d[10] || (d[10] = (Be) => qr("data"))
|
|
22483
|
-
}, " 编辑数据 ", 10, nN)) :
|
|
22484
|
+
}, " 编辑数据 ", 10, nN)) : ie("", !0),
|
|
22484
22485
|
bo.value ? (x(), I("button", {
|
|
22485
22486
|
key: 1,
|
|
22486
22487
|
type: "button",
|
|
@@ -22488,7 +22489,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
22488
22489
|
role: "tab",
|
|
22489
22490
|
"aria-selected": de.value === "linkage",
|
|
22490
22491
|
onClick: d[11] || (d[11] = (Be) => qr("linkage"))
|
|
22491
|
-
}, " 联动 ", 10, rN)) :
|
|
22492
|
+
}, " 联动 ", 10, rN)) : ie("", !0)
|
|
22492
22493
|
]),
|
|
22493
22494
|
f("div", aN, [
|
|
22494
22495
|
de.value === "config" ? (x(), I("section", oN, [
|
|
@@ -22573,7 +22574,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
22573
22574
|
"not-found-content": $e.value ? "应用加载中" : "暂无应用"
|
|
22574
22575
|
}, null, 8, ["value", "options", "disabled", "not-found-content"])
|
|
22575
22576
|
]),
|
|
22576
|
-
lt.value ? (x(), I("p", bN, " 应用列表加载失败,已保留当前应用配置。 ")) :
|
|
22577
|
+
lt.value ? (x(), I("p", bN, " 应用列表加载失败,已保留当前应用配置。 ")) : ie("", !0),
|
|
22577
22578
|
f("label", yN, [
|
|
22578
22579
|
d[43] || (d[43] = f("span", null, "数据范围", -1)),
|
|
22579
22580
|
He(W(fo), {
|
|
@@ -22598,7 +22599,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
22598
22599
|
disabled: Wt.value || dn.value,
|
|
22599
22600
|
onClick: Gs
|
|
22600
22601
|
}, " 调整字段 ", 8, xN)
|
|
22601
|
-
])) :
|
|
22602
|
+
])) : ie("", !0),
|
|
22602
22603
|
Lt.value === "metric" ? (x(), I(yt, { key: 2 }, [
|
|
22603
22604
|
f("label", _N, [
|
|
22604
22605
|
d[45] || (d[45] = f("span", null, "选择指标", -1)),
|
|
@@ -22615,7 +22616,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
22615
22616
|
"not-found-content": Ft.value ? "指标加载中" : z.value ? "暂无指标" : "请先选择应用"
|
|
22616
22617
|
}, null, 8, ["value", "options", "disabled", "not-found-content"])
|
|
22617
22618
|
]),
|
|
22618
|
-
rn.value ? (x(), I("p", CN, " 指标加载失败,已保留当前配置。 ")) :
|
|
22619
|
+
rn.value ? (x(), I("p", CN, " 指标加载失败,已保留当前配置。 ")) : ie("", !0)
|
|
22619
22620
|
], 64)) : Lt.value === "model_service" ? (x(), I(yt, { key: 3 }, [
|
|
22620
22621
|
f("label", kN, [
|
|
22621
22622
|
d[46] || (d[46] = f("span", null, "模型服务", -1)),
|
|
@@ -22632,7 +22633,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
22632
22633
|
"not-found-content": jt.value ? "模型服务加载中" : z.value ? "暂无模型查多服务" : "请先选择应用"
|
|
22633
22634
|
}, null, 8, ["value", "options", "disabled", "not-found-content"])
|
|
22634
22635
|
]),
|
|
22635
|
-
Kt.value ? (x(), I("p", SN, " 模型服务加载失败,已保留当前配置。 ")) :
|
|
22636
|
+
Kt.value ? (x(), I("p", SN, " 模型服务加载失败,已保留当前配置。 ")) : ie("", !0)
|
|
22636
22637
|
], 64)) : (x(), I(yt, { key: 4 }, [
|
|
22637
22638
|
f("label", IN, [
|
|
22638
22639
|
d[47] || (d[47] = f("span", null, "列表", -1)),
|
|
@@ -22649,7 +22650,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
22649
22650
|
"not-found-content": sn.value ? "列表加载中" : z.value ? "暂无列表" : "请先选择应用"
|
|
22650
22651
|
}, null, 8, ["value", "options", "disabled", "not-found-content"])
|
|
22651
22652
|
]),
|
|
22652
|
-
on.value ? (x(), I("p", MN, " 列表加载失败,已保留当前配置。 ")) :
|
|
22653
|
+
on.value ? (x(), I("p", MN, " 列表加载失败,已保留当前配置。 ")) : ie("", !0)
|
|
22653
22654
|
], 64)),
|
|
22654
22655
|
ia.value.length > 0 ? (x(), I("div", RN, [
|
|
22655
22656
|
He(ib, {
|
|
@@ -22665,7 +22666,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
22665
22666
|
disabled: Wt.value || dn.value,
|
|
22666
22667
|
onClick: Xo
|
|
22667
22668
|
}, " 保存筛选绑定 ", 8, BN)
|
|
22668
|
-
])) :
|
|
22669
|
+
])) : ie("", !0),
|
|
22669
22670
|
d[51] || (d[51] = f("label", { class: "workbench-chart-config-drawer__field" }, [
|
|
22670
22671
|
f("span", null, "统计方式"),
|
|
22671
22672
|
f("select", { disabled: "" }, [
|
|
@@ -22693,7 +22694,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
22693
22694
|
}),
|
|
22694
22695
|
f("span", null, "同环比")
|
|
22695
22696
|
], -1)),
|
|
22696
|
-
wt.value ? (x(), I("p", AN, te(wt.value), 1)) :
|
|
22697
|
+
wt.value ? (x(), I("p", AN, te(wt.value), 1)) : ie("", !0)
|
|
22697
22698
|
])) : de.value === "data" ? (x(), I("section", TN, [
|
|
22698
22699
|
d[56] || (d[56] = f("h3", null, "编辑数据", -1)),
|
|
22699
22700
|
f("p", DN, te(Yu()), 1),
|
|
@@ -22717,7 +22718,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
22717
22718
|
}, null, 8, NN), [
|
|
22718
22719
|
[Ra, et.value]
|
|
22719
22720
|
])
|
|
22720
|
-
])) :
|
|
22721
|
+
])) : ie("", !0),
|
|
22721
22722
|
f("label", PN, [
|
|
22722
22723
|
f("span", null, te(Xu()), 1),
|
|
22723
22724
|
ir(f("textarea", {
|
|
@@ -22729,7 +22730,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
22729
22730
|
[Ra, Ve.value]
|
|
22730
22731
|
])
|
|
22731
22732
|
]),
|
|
22732
|
-
kt.value ? (x(), I("p", ON, te(kt.value), 1)) :
|
|
22733
|
+
kt.value ? (x(), I("p", ON, te(kt.value), 1)) : ie("", !0)
|
|
22733
22734
|
])) : de.value === "linkage" ? (x(), I("section", WN, [
|
|
22734
22735
|
d[58] || (d[58] = f("h3", null, "图表联动", -1)),
|
|
22735
22736
|
f("div", { class: "workbench-chart-config-drawer__linkage-card" }, [
|
|
@@ -22743,7 +22744,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
22743
22744
|
onClick: nd
|
|
22744
22745
|
}, " 编辑 ")
|
|
22745
22746
|
])
|
|
22746
|
-
])) :
|
|
22747
|
+
])) : ie("", !0)
|
|
22747
22748
|
]),
|
|
22748
22749
|
f("footer", HN, [
|
|
22749
22750
|
f("button", {
|
|
@@ -22759,7 +22760,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
22759
22760
|
onClick: Xl
|
|
22760
22761
|
}, te(Wt.value ? "保存中" : dn.value ? "加载中" : "保存"), 9, zN)
|
|
22761
22762
|
])
|
|
22762
|
-
])) :
|
|
22763
|
+
])) : ie("", !0)
|
|
22763
22764
|
];
|
|
22764
22765
|
}),
|
|
22765
22766
|
_: 3
|
|
@@ -22784,7 +22785,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
22784
22785
|
candidates: wo.value,
|
|
22785
22786
|
onClose: rd,
|
|
22786
22787
|
onConfirm: ad
|
|
22787
|
-
}, null, 8, ["current-title", "candidates"])) :
|
|
22788
|
+
}, null, 8, ["current-title", "candidates"])) : ie("", !0)
|
|
22788
22789
|
])),
|
|
22789
22790
|
(x(), st(Ba, { to: "body" }, [
|
|
22790
22791
|
Jt.value ? (x(), I("div", {
|
|
@@ -22818,7 +22819,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
22818
22819
|
He(W(Hg), { class: "h-4 w-4" }),
|
|
22819
22820
|
d[60] || (d[60] = f("span", null, "图表联动", -1))
|
|
22820
22821
|
])
|
|
22821
|
-
], 36)) :
|
|
22822
|
+
], 36)) : ie("", !0)
|
|
22822
22823
|
])),
|
|
22823
22824
|
(x(), st(Ba, { to: "body" }, [
|
|
22824
22825
|
Sn.value ? (x(), I("div", {
|
|
@@ -22830,7 +22831,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
22830
22831
|
f("header", jN, [
|
|
22831
22832
|
f("div", UN, [
|
|
22832
22833
|
f("h2", null, te(((T = En.value) == null ? void 0 : T.metricName) || "查看明细"), 1),
|
|
22833
|
-
(
|
|
22834
|
+
(oe = En.value) != null && oe.label ? (x(), I("p", VN, " 当前筛选:" + te(En.value.label), 1)) : ie("", !0)
|
|
22834
22835
|
]),
|
|
22835
22836
|
f("button", {
|
|
22836
22837
|
type: "button",
|
|
@@ -22847,7 +22848,7 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
22847
22848
|
Or.value ? (x(), I("div", XN, [
|
|
22848
22849
|
He(W(Xm)),
|
|
22849
22850
|
d[61] || (d[61] = f("span", null, "正在加载明细数据", -1))
|
|
22850
|
-
])) :
|
|
22851
|
+
])) : ie("", !0),
|
|
22851
22852
|
!Or.value && va.value.length > 0 ? (x(), st(W(qf), {
|
|
22852
22853
|
key: 1,
|
|
22853
22854
|
ref_key: "chartDrilldownTableRef",
|
|
@@ -22865,8 +22866,8 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
22865
22866
|
pagination: !1,
|
|
22866
22867
|
scroll: Wo.value,
|
|
22867
22868
|
onResizeColumn: ud
|
|
22868
|
-
}, null, 8, ["class", "columns", "data-source", "loading", "locale", "scroll"])) :
|
|
22869
|
-
!Or.value && va.value.length === 0 ? (x(), I("div", QN, " 暂无可展示明细 ")) :
|
|
22869
|
+
}, null, 8, ["class", "columns", "data-source", "loading", "locale", "scroll"])) : ie("", !0),
|
|
22870
|
+
!Or.value && va.value.length === 0 ? (x(), I("div", QN, " 暂无可展示明细 ")) : ie("", !0)
|
|
22870
22871
|
]),
|
|
22871
22872
|
f("footer", JN, [
|
|
22872
22873
|
He(W(jf), {
|
|
@@ -22883,13 +22884,13 @@ const SL = ["data-image-workbench", "data-workbench-style", "data-card-radius",
|
|
|
22883
22884
|
}, null, 8, ["current", "disabled", "page-size", "show-total", "total"])
|
|
22884
22885
|
])
|
|
22885
22886
|
])
|
|
22886
|
-
], 32)) :
|
|
22887
|
+
], 32)) : ie("", !0)
|
|
22887
22888
|
]))
|
|
22888
22889
|
], 64))
|
|
22889
22890
|
], 14, SL);
|
|
22890
22891
|
};
|
|
22891
22892
|
}
|
|
22892
|
-
}), MP = /* @__PURE__ */ un(aP, [["__scopeId", "data-v-
|
|
22893
|
+
}), MP = /* @__PURE__ */ un(aP, [["__scopeId", "data-v-cd56c69a"]]);
|
|
22893
22894
|
export {
|
|
22894
22895
|
MP as default
|
|
22895
22896
|
};
|