@fses/workbench-app 0.2.18 → 0.2.21
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 +14 -14
- package/dist/WorkbenchCardCenterDrawer-BxRFAZDG.js +421 -0
- package/dist/WorkbenchDiagnosticsFooter-BXQJLBMu.js +22 -0
- package/dist/WorkbenchDiagnosticsPage-OdYSvQ2O.js +72 -0
- package/dist/Workspace-C4Co3cIc.js +22678 -0
- package/dist/adapters/defaultAgentTransportAdapter.d.ts +6 -0
- package/dist/adapters/defaultBrowserAdapters.d.ts +22 -0
- package/dist/adapters/defaultPlatformRequestAdapter.d.ts +6 -0
- package/dist/adapters/defaultRealtimeAdapter.d.ts +6 -0
- package/dist/adapters/endpointResolver.d.ts +16 -0
- package/dist/adapters/index.d.ts +7 -1
- package/dist/adapters/servicePorts.d.ts +20 -0
- package/dist/adapters/types.d.ts +27 -1
- package/dist/canvas/api/index.js +1 -1
- package/dist/canvas/bridge/workbenchCanvasBus.d.ts +13 -1
- package/dist/canvas/persistence/canvasSnapshotStorage.d.ts +3 -2
- package/dist/{canvasFacade-B8jYm_aO.js → canvasFacade-ZFqB_i7z.js} +1 -1
- package/dist/{cardFactory-DmEBcCf4.js → cardFactory-D5dyYSC3.js} +197 -161
- package/dist/components/WorkbenchAppHost.vue.d.ts +5 -5
- package/dist/components/WorkbenchApplication.vue.d.ts +2 -2
- package/dist/components/WorkbenchCardCenterDrawer.vue.d.ts +2 -0
- package/dist/components/WorkbenchDiagnosticsFooter.vue.d.ts +2 -0
- package/dist/components/WorkbenchDiagnosticsPage.vue.d.ts +2 -0
- package/dist/components/WorkbenchDrawerOutlet.vue.d.ts +6 -0
- package/dist/components/WorkbenchFeatureOutlet.vue.d.ts +2 -0
- package/dist/components/WorkbenchSlotOutlet.vue.d.ts +5 -0
- package/dist/config/workbenchAppConfig.d.ts +4 -0
- package/dist/customCardCatalog-D8woQgB9.js +512 -0
- package/dist/extensions/index.d.ts +3 -54
- package/dist/extensions/index.js +7 -5
- package/dist/extensions/manifest.d.ts +27 -0
- package/dist/extensions/normalizeWorkbenchExtensions.d.ts +19 -0
- package/dist/extensions/types.d.ts +62 -0
- package/dist/fses-workbench-app.js +109 -89
- package/dist/i18n/index.d.ts +17 -0
- package/dist/i18n/index.js +14 -0
- package/dist/index-C1Y_OWV9.js +1772 -0
- package/dist/index-DkGYPLLJ.js +34 -0
- package/dist/index.d.ts +12 -1
- package/dist/internal/personal-workbench/components/workbench/WorkbenchCanvas.vue.d.ts +4 -4
- package/dist/internal/personal-workbench/components/workbench/WorkbenchCanvasSettingsMenu.vue.d.ts +4 -4
- package/dist/internal/personal-workbench/components/workbench/WorkbenchFdeImageComposeDrawer.vue.d.ts +19 -0
- package/dist/internal/personal-workbench/components/workbench/WorkbenchFdeToolbar.vue.d.ts +36 -0
- package/dist/internal/personal-workbench/components/workbench/WorkbenchStudio.vue.d.ts +2 -2
- package/dist/internal/personal-workbench/components/workbench/controllers/canvasConfigController.d.ts +23 -0
- package/dist/internal/personal-workbench/components/workbench/controllers/canvasLayoutController.d.ts +12 -0
- package/dist/internal/personal-workbench/components/workbench/controllers/canvasRefreshController.d.ts +11 -0
- package/dist/internal/personal-workbench/components/workbench/controllers/canvasSelectionController.d.ts +11 -0
- package/dist/internal/personal-workbench/components/workbench/showcase/WorkbenchShowcase.vue.d.ts +4 -4
- package/dist/internal/personal-workbench/controllers/workbenchBuiltinPluginBridge.d.ts +32 -0
- package/dist/internal/personal-workbench/controllers/workbenchChartConfigModel.d.ts +68 -0
- package/dist/internal/personal-workbench/controllers/workbenchChartDataSourceController.d.ts +100 -0
- package/dist/internal/personal-workbench/controllers/workbenchChartDrilldownController.d.ts +96 -0
- package/dist/internal/personal-workbench/controllers/workbenchChartDrilldownTable.d.ts +34 -0
- package/dist/internal/personal-workbench/controllers/workbenchFdeVersionController.d.ts +107 -0
- package/dist/internal/personal-workbench/controllers/workbenchRecommendationConfigModel.d.ts +82 -0
- package/dist/internal/personal-workbench/lib/deepAgentApi.d.ts +13 -9
- package/dist/internal/personal-workbench/lib/deepAgentQueueState.d.ts +3 -1
- package/dist/internal/personal-workbench/lib/fdeWorkbenchConfigClient.d.ts +6 -5
- package/dist/internal/personal-workbench/lib/runtimeIdentity.d.ts +5 -0
- package/dist/internal/personal-workbench/lib/runtimePrimitiveRegistry.d.ts +1 -1
- package/dist/internal/personal-workbench/lib/vueRuntimeAdapters.d.ts +4 -4
- package/dist/internal/personal-workbench/lib/workbenchApi.d.ts +61 -47
- package/dist/internal/personal-workbench/lib/workbenchMetricDetailApi.d.ts +2 -1
- package/dist/internal/personal-workbench/lib/workbenchRemoteClient.d.ts +3 -1
- package/dist/internal/personal-workbench/lib/workbenchRequestTransport.d.ts +24 -0
- package/dist/internal/personal-workbench/lib/workbenchStorage.d.ts +8 -7
- package/dist/internal/personal-workbench/pages/Workspace.vue.d.ts +2 -2
- package/dist/internal/personal-workbench/stores/domains/actionsRuntime.d.ts +35 -0
- package/dist/internal/personal-workbench/stores/domains/canvasRuntime.d.ts +44 -0
- package/dist/internal/personal-workbench/stores/domains/conversationRuntime.d.ts +29 -0
- package/dist/internal/personal-workbench/stores/domains/dataBindingRuntime.d.ts +27 -0
- package/dist/internal/personal-workbench/stores/domains/fdeRuntime.d.ts +38 -0
- package/dist/internal/personal-workbench/stores/domains/memoryRuntime.d.ts +53 -0
- package/dist/internal/personal-workbench/stores/workbenchRuntime.d.ts +28 -1
- package/dist/kernel/command/createCommandRegistry.d.ts +19 -0
- package/dist/kernel/createWorkbenchHostContext.d.ts +43 -0
- package/dist/kernel/createWorkbenchKernel.d.ts +7 -0
- package/dist/kernel/diagnostics/createWorkbenchDiagnostics.d.ts +35 -0
- package/dist/kernel/event/createEventBus.d.ts +16 -0
- package/dist/kernel/plugin/createPluginManager.d.ts +7 -0
- package/dist/kernel/plugin/registrationScope.d.ts +15 -0
- package/dist/kernel/plugin/types.d.ts +30 -0
- package/dist/kernel/registry/createRegistry.d.ts +42 -0
- package/dist/kernel/registry/resolveSlotContributions.d.ts +14 -0
- package/dist/kernel/types.d.ts +52 -0
- package/dist/kernel/workbenchHostContext.d.ts +14 -0
- package/dist/normalizeWorkbenchExtensions-Ccv3n3fC.js +425 -0
- package/dist/plugin/index.d.ts +7 -0
- package/dist/plugin/index.js +8 -0
- package/dist/plugin/types.d.ts +106 -0
- package/dist/plugins/defaultWorkbenchPlugins.d.ts +11 -0
- package/dist/plugins/workbenchCardCenterPlugin.d.ts +13 -0
- package/dist/plugins/workbenchDiagnosticsPlugin.d.ts +15 -0
- package/dist/plugins/workbenchDrawerCommands.d.ts +16 -0
- package/dist/plugins/workbenchSettingsPlugin.d.ts +19 -0
- package/dist/plugins/workbenchThemePlugin.d.ts +15 -0
- package/dist/routing/createWorkbenchFeatureRoute.d.ts +11 -0
- package/dist/routing/resolveWorkbenchFeatureRoute.d.ts +23 -0
- package/dist/runtime/index.d.ts +6 -1
- package/dist/runtime/index.js +6 -3
- package/dist/runtime/scope/createWorkbenchRuntimeScope.d.ts +10 -0
- package/dist/runtime/store/workbenchRuntimeContext.d.ts +12 -0
- package/dist/runtime/store/workbenchRuntimeFacade.d.ts +3 -0
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/useWorkbenchRuntime-CJLqEtgU.js +24062 -0
- package/dist/version.d.ts +1 -1
- package/node_modules/@fses/ai-chat/dist/fses-ai-chat.js +28256 -7528
- 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 +3 -3
- package/node_modules/@fses/workbench-card/dist/fses-workbench-card-renderers.js +5 -5
- package/node_modules/@fses/workbench-card/dist/fses-workbench-card.js +5 -5
- package/node_modules/@fses/workbench-card/dist/fses-workbench-card.umd.cjs +1 -1
- package/node_modules/@fses/workbench-card/dist/types/block.d.ts +4 -1
- package/node_modules/@fses/workbench-card/package.json +1 -1
- package/node_modules/@fses/workbench-card/src/registry/cardRegistry.ts +4 -4
- package/node_modules/@fses/workbench-card/src/registry/echartsTemplateRegistry.generated.js +1 -1
- package/node_modules/@fses/workbench-card/src/registry/echartsTemplateRegistry.generated.ts +1 -1
- package/node_modules/@fses/workbench-card/src/types/block.ts +4 -12
- package/package.json +11 -3
- package/dist/Workspace-JvnSC-w9.js +0 -23186
- package/dist/index-D-WW3bXH.js +0 -829
- package/dist/useWorkbenchRuntime-D_AtkXIX.js +0 -23865
- package/dist/workbenchCustomComponentRegistry-CWUPjCnJ.js +0 -267
package/WORKBENCH-CLOSURE.json
CHANGED
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
{
|
|
22
22
|
"name": "@fses/ai-chat",
|
|
23
23
|
"relativePath": "node_modules/@fses/ai-chat",
|
|
24
|
-
"treeIntegrity": "sha512-
|
|
25
|
-
"version": "1.0.
|
|
24
|
+
"treeIntegrity": "sha512-Vd3ttSzGWEn7Vg3MGzarSDYg/sTuNBNzSOs55znFewdapka7uY5szCqC9vhPNv+0Kv5nbev558m2z+nFFdKOQQ==",
|
|
25
|
+
"version": "1.0.17"
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
"name": "@fses/workbench-card",
|
|
29
29
|
"relativePath": "node_modules/@fses/workbench-card",
|
|
30
|
-
"treeIntegrity": "sha512-
|
|
31
|
-
"version": "0.3.
|
|
30
|
+
"treeIntegrity": "sha512-bZUg0NhyFRbWzA2ivfyQIX0uF1mAVzQCd21YT0zu+DVho88DM5eFLUFgGEDu2N/mwqiWn51kfuD6ohyW/e3XKQ==",
|
|
31
|
+
"version": "0.3.17"
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
"name": "dompurify",
|
|
@@ -46,27 +46,27 @@
|
|
|
46
46
|
"bundledRoots": [
|
|
47
47
|
{
|
|
48
48
|
"name": "@byteluck/agentic-protocol",
|
|
49
|
-
"sourceTarballIntegrity": "sha512-
|
|
49
|
+
"sourceTarballIntegrity": "sha512-tyLDk9AaljzzNUfgCGKxu0ZciqYe/7UA7RMT/wO2hYXCHh0FC6UPUDu4s1DLfnjP4Wvpkmg5x5Z7sAluc+hqqA==",
|
|
50
50
|
"treeIntegrity": "sha512-692uUflQNp0dsdnAtDCMGgLQ/rjal1RMuQfI5FuEcOTN0xZcpEjaZoXB3GYPy75x4ORXBAzmul/Y32RW/4+WQw==",
|
|
51
51
|
"version": "2.2.1"
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
54
|
"name": "@byteluck/workbench-skill-contracts",
|
|
55
|
-
"sourceTarballIntegrity": "sha512-
|
|
55
|
+
"sourceTarballIntegrity": "sha512-2DkR12rA5DobNj5OvUKL7+UtBQRnQf2qSSF+g8AuXiavJmK2Ag9USImXr0Eaio3hf0VwA97q5LfFrvE7wChlVQ==",
|
|
56
56
|
"treeIntegrity": "sha512-Y1C4+PGNI+oJouDtQ02Zgn39iqd7U0IKbslFYBgEJ8CAIGZEeorohzU5tAnqRtXX/JFhXq1UaWPchbZEovnd7w==",
|
|
57
57
|
"version": "0.1.0"
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
60
|
"name": "@fses/ai-chat",
|
|
61
|
-
"sourceTarballIntegrity": "sha512-
|
|
62
|
-
"treeIntegrity": "sha512-
|
|
63
|
-
"version": "1.0.
|
|
61
|
+
"sourceTarballIntegrity": "sha512-3UKltBgHY2aqZByh+wIlN3CV7PFrbdsFnS2eMyXtebs14OM5BgyVvxOdbXnp3p1o26KrzQmTZmsvSFCP0G5Wag==",
|
|
62
|
+
"treeIntegrity": "sha512-Vd3ttSzGWEn7Vg3MGzarSDYg/sTuNBNzSOs55znFewdapka7uY5szCqC9vhPNv+0Kv5nbev558m2z+nFFdKOQQ==",
|
|
63
|
+
"version": "1.0.17"
|
|
64
64
|
},
|
|
65
65
|
{
|
|
66
66
|
"name": "@fses/workbench-card",
|
|
67
|
-
"sourceTarballIntegrity": "sha512-
|
|
68
|
-
"treeIntegrity": "sha512-
|
|
69
|
-
"version": "0.3.
|
|
67
|
+
"sourceTarballIntegrity": "sha512-VOrYv/ipE6sAWIHh4UXf0S77jxV3/TZxPFQ8kCr3GcG/Wmg1F0vjEMKvnCchrSpkkXL7LPPA1692e1DCy44wuQ==",
|
|
68
|
+
"treeIntegrity": "sha512-bZUg0NhyFRbWzA2ivfyQIX0uF1mAVzQCd21YT0zu+DVho88DM5eFLUFgGEDu2N/mwqiWn51kfuD6ohyW/e3XKQ==",
|
|
69
|
+
"version": "0.3.17"
|
|
70
70
|
}
|
|
71
71
|
],
|
|
72
72
|
"omittedOptionalDependencies": [
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"schemaVersion": 1,
|
|
81
81
|
"workbenchApp": {
|
|
82
82
|
"name": "@fses/workbench-app",
|
|
83
|
-
"sourceGitCommit": "
|
|
84
|
-
"version": "0.2.
|
|
83
|
+
"sourceGitCommit": "8c714b4c93097289628d5a795f67c9c433b2296a",
|
|
84
|
+
"version": "0.2.21"
|
|
85
85
|
}
|
|
86
86
|
}
|
|
@@ -0,0 +1,421 @@
|
|
|
1
|
+
import { defineComponent as ne, ref as _, computed as w, onBeforeUnmount as fe, openBlock as l, createElementBlock as r, createElementVNode as s, toDisplayString as i, unref as o, normalizeClass as x, Fragment as y, renderList as k, createVNode as A, createBlock as M, withCtx as ee, createCommentVNode as P, withModifiers as te } from "vue";
|
|
2
|
+
import { d as n, D as _e } from "./cardFactory-D5dyYSC3.js";
|
|
3
|
+
import { ChevronRight as se, Plus as ae } from "lucide-vue-next";
|
|
4
|
+
import { b as xe, w as Ce, c as C, S as ie, _ as ve, r as ge, a as $, d as we, e as ye } from "./customCardCatalog-D8woQgB9.js";
|
|
5
|
+
import "@fses/workbench-card";
|
|
6
|
+
import { CARD_CATEGORIES as oe, CARD_REGISTRY as le } from "@fses/workbench-card/registry";
|
|
7
|
+
import "@fses/workbench-card/renderers";
|
|
8
|
+
import { _ as re, u as ke, a as Ae, b as Se, c as Ie } from "./index-C1Y_OWV9.js";
|
|
9
|
+
const Ee = { class: "workbench-fde-card-catalog flex h-full min-h-[420px] flex-col gap-3" }, We = { class: "flex items-center justify-between gap-3" }, Fe = { class: "min-w-0" }, De = {
|
|
10
|
+
class: "truncate text-xs font-semibold text-slate-950",
|
|
11
|
+
"data-i18n": "FWA.80dc1787571398044"
|
|
12
|
+
}, Re = {
|
|
13
|
+
class: "mt-0.5 text-[11px] leading-4 text-slate-500",
|
|
14
|
+
"data-i18n": "FWA.fd981787570868556"
|
|
15
|
+
}, Te = { class: "flex min-h-0 flex-1 flex-col overflow-hidden rounded-lg border border-slate-100 bg-white" }, Oe = ["aria-label"], Ne = ["aria-selected"], Pe = ["aria-selected"], $e = { class: "min-h-0 flex-1 overflow-hidden p-3" }, Me = {
|
|
16
|
+
key: 0,
|
|
17
|
+
class: "grid h-full min-h-0 grid-cols-[136px_minmax(0,1fr)] gap-3 overflow-hidden"
|
|
18
|
+
}, Ge = { class: "min-h-0 overflow-y-auto border-r border-slate-100 pt-px pr-2" }, Be = ["data-category-id", "aria-disabled", "onMouseenter", "onClick"], Le = { class: "min-w-0 flex-1 truncate" }, je = { class: "text-[10px] text-slate-400" }, ze = { class: "flex min-h-0 flex-col overflow-hidden pr-1" }, Ve = { class: "mb-2 flex items-center justify-between gap-2" }, Ue = { class: "min-w-0" }, He = { class: "truncate text-xs font-semibold text-slate-950" }, Ke = {
|
|
19
|
+
class: "text-[10px] text-slate-400",
|
|
20
|
+
"data-i18n": "FWA.5ca21787570606021"
|
|
21
|
+
}, Ye = { class: "min-h-0 flex-1 overflow-y-auto pt-px pr-1" }, qe = { class: "grid grid-cols-1 gap-1.5" }, Ze = ["data-capability-id"], Je = ["disabled", "onClick"], Qe = { class: "flex min-w-0 items-center gap-2" }, Xe = { class: "min-w-0 flex-1 truncate text-xs font-semibold" }, et = { class: "shrink-0 rounded border border-slate-200 bg-slate-50 px-1.5 py-0.5 text-[10px] leading-3 text-slate-500" }, tt = { class: "mt-0.5 block truncate text-[10px] text-slate-400" }, st = {
|
|
22
|
+
key: 0,
|
|
23
|
+
class: "system-card-tags"
|
|
24
|
+
}, at = { class: "mt-0.5 block truncate text-[10px] leading-4 text-slate-500" }, it = {
|
|
25
|
+
key: 1,
|
|
26
|
+
class: "mt-0.5 block truncate text-[10px] leading-4 text-amber-600"
|
|
27
|
+
}, ot = { class: "flex w-8 shrink-0 flex-col border-l border-slate-100" }, lt = ["title", "aria-label", "data-capability-id", "onClick"], nt = {
|
|
28
|
+
key: 1,
|
|
29
|
+
class: "grid h-full min-h-0 grid-cols-[136px_minmax(0,1fr)] gap-3 overflow-hidden"
|
|
30
|
+
}, rt = { class: "min-h-0 overflow-y-auto border-r border-slate-100 pt-px pr-2" }, dt = ["onMouseenter", "onClick"], ct = { class: "min-w-0 flex-1 truncate" }, ut = { class: "text-[10px] text-slate-400" }, mt = { class: "flex min-h-0 flex-col overflow-hidden pr-1" }, pt = { class: "mb-2 flex items-center justify-between gap-2" }, bt = { class: "min-w-0" }, ht = { class: "truncate text-xs font-semibold text-slate-950" }, ft = { class: "text-[10px] text-slate-400" }, _t = { class: "min-h-0 flex-1 overflow-y-auto pt-px pr-1" }, xt = { class: "grid grid-cols-1 gap-1.5" }, Ct = ["disabled", "onClick"], vt = { class: "flex min-w-0 items-center gap-2" }, gt = { class: "min-w-0 flex-1 truncate text-xs font-semibold" }, wt = { class: "shrink-0 rounded border border-slate-200 bg-slate-50 px-1.5 py-0.5 text-[10px] leading-3 text-slate-500" }, yt = { class: "mt-0.5 block truncate text-[10px] text-slate-400" }, kt = { class: "flex w-8 shrink-0 flex-col border-l border-slate-100" }, At = ["title", "aria-label", "data-capability-id", "disabled", "onClick"], St = {
|
|
31
|
+
key: 0,
|
|
32
|
+
class: "rounded-md border border-dashed border-slate-200 bg-slate-50 px-3 py-4 text-center text-[11px] text-slate-500",
|
|
33
|
+
"data-i18n": "FWA.9a0e1787570943009"
|
|
34
|
+
}, It = "card.custom.nestedContainer", Et = /* @__PURE__ */ ne({
|
|
35
|
+
__name: "WorkbenchFdeCardCatalog",
|
|
36
|
+
emits: ["insertSystemCard", "insertCustomCard", "configDialogOpenChange"],
|
|
37
|
+
setup(de, { emit: v }) {
|
|
38
|
+
const u = v, S = [
|
|
39
|
+
"card.metric_cards",
|
|
40
|
+
...oe.filter((e) => e.id.startsWith("card.echarts.")).map((e) => e.id),
|
|
41
|
+
"card.table_cards"
|
|
42
|
+
], p = _("system"), I = _(S[0]), c = _("default"), h = _(!1), b = _(null), D = _(null), E = w(
|
|
43
|
+
() => oe.filter((e) => S.includes(e.id)).map((e) => ({
|
|
44
|
+
...e,
|
|
45
|
+
entries: le.filter(
|
|
46
|
+
(a) => a.category === e.id && a.status === "implemented" && !a.aliasOf
|
|
47
|
+
)
|
|
48
|
+
})).filter((e) => e.entries.length > 0)
|
|
49
|
+
), R = w(
|
|
50
|
+
() => E.value.find(
|
|
51
|
+
(e) => e.id === I.value
|
|
52
|
+
) || E.value[0] || null
|
|
53
|
+
), ce = w(
|
|
54
|
+
() => E.value.reduce(
|
|
55
|
+
(e, a) => e + a.entries.filter((d) => d.status === "implemented").length,
|
|
56
|
+
0
|
|
57
|
+
)
|
|
58
|
+
), T = w(() => xe(
|
|
59
|
+
Ce(),
|
|
60
|
+
le.filter(
|
|
61
|
+
(e) => e.category === "card.custom_canvas_cards" && e.capabilityId !== It
|
|
62
|
+
)
|
|
63
|
+
)), g = w(
|
|
64
|
+
() => T.value.find(
|
|
65
|
+
(e) => e.id === c.value
|
|
66
|
+
) || T.value[0] || null
|
|
67
|
+
);
|
|
68
|
+
function G(e) {
|
|
69
|
+
const a = _e[e];
|
|
70
|
+
return `${a.w}×${a.h}`;
|
|
71
|
+
}
|
|
72
|
+
function O(e) {
|
|
73
|
+
return ge(e);
|
|
74
|
+
}
|
|
75
|
+
function W(e) {
|
|
76
|
+
return ye(e);
|
|
77
|
+
}
|
|
78
|
+
function B(e) {
|
|
79
|
+
return W(e).label;
|
|
80
|
+
}
|
|
81
|
+
function ue(e) {
|
|
82
|
+
return "echarts" in e && !!e.echarts;
|
|
83
|
+
}
|
|
84
|
+
function L(e) {
|
|
85
|
+
e.status === "implemented" && (b.value = e, D.value = W(e), h.value = !0, u("configDialogOpenChange", !0));
|
|
86
|
+
}
|
|
87
|
+
function j() {
|
|
88
|
+
h.value = !1, u("configDialogOpenChange", !1), b.value = null, D.value = null;
|
|
89
|
+
}
|
|
90
|
+
fe(() => u("configDialogOpenChange", !1));
|
|
91
|
+
function me(e) {
|
|
92
|
+
const a = b.value;
|
|
93
|
+
if (!a) return;
|
|
94
|
+
const d = N(a, e);
|
|
95
|
+
u("insertSystemCard", {
|
|
96
|
+
prompt: $(d.selectedSystemCard),
|
|
97
|
+
selectedSystemCard: d.selectedSystemCard
|
|
98
|
+
}), j();
|
|
99
|
+
}
|
|
100
|
+
function z(e) {
|
|
101
|
+
I.value = e;
|
|
102
|
+
}
|
|
103
|
+
function V(e) {
|
|
104
|
+
c.value = e;
|
|
105
|
+
}
|
|
106
|
+
function U(e) {
|
|
107
|
+
p.value = e;
|
|
108
|
+
}
|
|
109
|
+
function N(e, a) {
|
|
110
|
+
return we({
|
|
111
|
+
title: e.title,
|
|
112
|
+
capabilityId: e.capabilityId,
|
|
113
|
+
defaultSize: e.defaultSize,
|
|
114
|
+
description: e.description,
|
|
115
|
+
category: e.category,
|
|
116
|
+
subType: e.subType,
|
|
117
|
+
rendererKey: e.rendererKey,
|
|
118
|
+
dataShape: e.dataShape,
|
|
119
|
+
...a ? { config: a } : {}
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
function pe(e) {
|
|
123
|
+
return "insertionMode" in e && e.insertionMode === "host";
|
|
124
|
+
}
|
|
125
|
+
function H(e) {
|
|
126
|
+
if (e.status !== "implemented") return;
|
|
127
|
+
const a = W(e);
|
|
128
|
+
if (a.primaryAction === "configureAndInsert" || a.primaryAction === "viewRequirement") {
|
|
129
|
+
L(e);
|
|
130
|
+
return;
|
|
131
|
+
}
|
|
132
|
+
const d = N(e);
|
|
133
|
+
u("insertSystemCard", { prompt: $(d.selectedSystemCard), selectedSystemCard: d.selectedSystemCard });
|
|
134
|
+
}
|
|
135
|
+
function be(e) {
|
|
136
|
+
K(e);
|
|
137
|
+
}
|
|
138
|
+
function K(e) {
|
|
139
|
+
if (e.status !== "implemented") return;
|
|
140
|
+
if (pe(e)) {
|
|
141
|
+
u("insertCustomCard", e);
|
|
142
|
+
return;
|
|
143
|
+
}
|
|
144
|
+
const a = W(e);
|
|
145
|
+
if (a.primaryAction === "configureAndInsert" || a.primaryAction === "viewRequirement") {
|
|
146
|
+
L(e);
|
|
147
|
+
return;
|
|
148
|
+
}
|
|
149
|
+
const d = N(e);
|
|
150
|
+
u("insertSystemCard", { prompt: $(d.selectedSystemCard), selectedSystemCard: d.selectedSystemCard });
|
|
151
|
+
}
|
|
152
|
+
function he(e) {
|
|
153
|
+
return B(e);
|
|
154
|
+
}
|
|
155
|
+
return (e, a) => {
|
|
156
|
+
var d, Y, q, Z, J, Q, X;
|
|
157
|
+
return l(), r("section", Ee, [
|
|
158
|
+
s("div", We, [
|
|
159
|
+
s("div", Fe, [
|
|
160
|
+
s("div", De, i(o(n)("FWA.80dc1787571398044")), 1),
|
|
161
|
+
s("div", Re, i(o(n)("FWA.fd981787570868556")), 1)
|
|
162
|
+
])
|
|
163
|
+
]),
|
|
164
|
+
s("div", Te, [
|
|
165
|
+
s("div", {
|
|
166
|
+
class: "grid grid-cols-2 gap-1 border-b border-slate-100 bg-slate-50 p-1",
|
|
167
|
+
role: "tablist",
|
|
168
|
+
"data-i18n-aria-label": "FWA.2a5c1787571398123",
|
|
169
|
+
"aria-label": o(n)("FWA.2a5c1787571398123")
|
|
170
|
+
}, [
|
|
171
|
+
s("button", {
|
|
172
|
+
type: "button",
|
|
173
|
+
role: "tab",
|
|
174
|
+
"aria-selected": p.value === "system",
|
|
175
|
+
class: x(
|
|
176
|
+
o(C)(
|
|
177
|
+
"flex h-8 w-full items-center justify-center rounded-md border px-2 text-xs font-semibold transition",
|
|
178
|
+
p.value === "system" ? "border-blue-200 bg-white text-blue-700 shadow-sm" : "border-transparent bg-transparent text-slate-600 hover:bg-white hover:text-slate-900"
|
|
179
|
+
)
|
|
180
|
+
),
|
|
181
|
+
onClick: a[0] || (a[0] = (t) => U("system")),
|
|
182
|
+
"data-i18n": "FWA.0cc61787571398631"
|
|
183
|
+
}, i(o(n)("FWA.0cc61787571398631")), 11, Ne),
|
|
184
|
+
s("button", {
|
|
185
|
+
type: "button",
|
|
186
|
+
role: "tab",
|
|
187
|
+
"aria-selected": p.value === "custom",
|
|
188
|
+
class: x(
|
|
189
|
+
o(C)(
|
|
190
|
+
"flex h-8 w-full items-center justify-center rounded-md border px-2 text-xs font-semibold transition",
|
|
191
|
+
p.value === "custom" ? "border-blue-200 bg-white text-blue-700 shadow-sm" : "border-transparent bg-transparent text-slate-600 hover:bg-white hover:text-slate-900"
|
|
192
|
+
)
|
|
193
|
+
),
|
|
194
|
+
onClick: a[1] || (a[1] = (t) => U("custom")),
|
|
195
|
+
"data-i18n": "FWA.bd241787571253963"
|
|
196
|
+
}, i(o(n)("FWA.bd241787571253963")), 11, Pe)
|
|
197
|
+
], 8, Oe),
|
|
198
|
+
s("div", $e, [
|
|
199
|
+
p.value === "system" ? (l(), r("div", Me, [
|
|
200
|
+
s("div", Ge, [
|
|
201
|
+
(l(!0), r(y, null, k(E.value, (t) => {
|
|
202
|
+
var m;
|
|
203
|
+
return l(), r("button", {
|
|
204
|
+
key: t.id,
|
|
205
|
+
type: "button",
|
|
206
|
+
"data-testid": "system-card-category-button",
|
|
207
|
+
"data-category-id": t.id,
|
|
208
|
+
"aria-disabled": t.status === "placeholder",
|
|
209
|
+
class: x(
|
|
210
|
+
o(C)(
|
|
211
|
+
"workbench-menu-card mb-1 flex min-h-8 w-full items-center gap-2 rounded-md border px-2 py-1.5 text-left text-xs whitespace-nowrap transition",
|
|
212
|
+
((m = R.value) == null ? void 0 : m.id) === t.id ? "border-blue-200 bg-blue-50 text-blue-700" : "border-transparent bg-white text-slate-700 hover:bg-slate-100",
|
|
213
|
+
t.status === "placeholder" ? "opacity-50 grayscale" : ""
|
|
214
|
+
)
|
|
215
|
+
),
|
|
216
|
+
onMouseenter: (f) => z(t.id),
|
|
217
|
+
onClick: (f) => z(t.id)
|
|
218
|
+
}, [
|
|
219
|
+
s("span", Le, i(t.name), 1),
|
|
220
|
+
s("span", je, i(t.entries.length), 1),
|
|
221
|
+
A(o(se), { class: "h-3 w-3 shrink-0 text-slate-400" })
|
|
222
|
+
], 42, Be);
|
|
223
|
+
}), 128))
|
|
224
|
+
]),
|
|
225
|
+
s("div", ze, [
|
|
226
|
+
s("div", Ve, [
|
|
227
|
+
s("div", Ue, [
|
|
228
|
+
s("div", He, i(((d = R.value) == null ? void 0 : d.name) || o(n)("FWA.0cc61787571398631")), 1),
|
|
229
|
+
s("div", Ke, i(o(n)("FWA.5ca21787570606021", { p0: ce.value })), 1)
|
|
230
|
+
])
|
|
231
|
+
]),
|
|
232
|
+
s("div", Ye, [
|
|
233
|
+
s("div", qe, [
|
|
234
|
+
(l(!0), r(y, null, k(((Y = R.value) == null ? void 0 : Y.entries) || [], (t) => (l(), M(ie, {
|
|
235
|
+
key: t.capabilityId,
|
|
236
|
+
"capability-id": t.capabilityId,
|
|
237
|
+
title: t.title
|
|
238
|
+
}, {
|
|
239
|
+
default: ee(() => {
|
|
240
|
+
var m, f;
|
|
241
|
+
return [
|
|
242
|
+
s("div", {
|
|
243
|
+
"data-testid": "system-card-catalog-entry",
|
|
244
|
+
"data-capability-id": t.capabilityId,
|
|
245
|
+
class: x(
|
|
246
|
+
o(C)(
|
|
247
|
+
"workbench-menu-card flex min-h-10 items-stretch overflow-hidden rounded-md border transition",
|
|
248
|
+
t.status === "implemented" ? "border-slate-200 bg-white text-slate-700 hover:border-blue-200 hover:bg-blue-50 hover:text-blue-700" : "cursor-not-allowed border-slate-100 bg-slate-50 text-slate-400 opacity-70"
|
|
249
|
+
)
|
|
250
|
+
)
|
|
251
|
+
}, [
|
|
252
|
+
s("button", {
|
|
253
|
+
type: "button",
|
|
254
|
+
disabled: t.status !== "implemented",
|
|
255
|
+
class: "min-w-0 flex-1 px-2 py-1.5 text-left disabled:cursor-not-allowed",
|
|
256
|
+
onClick: (F) => H(t)
|
|
257
|
+
}, [
|
|
258
|
+
s("span", Qe, [
|
|
259
|
+
s("span", Xe, i(t.title), 1),
|
|
260
|
+
s("span", et, i(B(t)), 1)
|
|
261
|
+
]),
|
|
262
|
+
s("span", tt, i(G(t.defaultSize)) + " · " + i(t.capabilityId), 1),
|
|
263
|
+
ue(t) ? (l(), r("span", st, [
|
|
264
|
+
s("span", null, i((m = t.echarts) == null ? void 0 : m.protocolType), 1),
|
|
265
|
+
(l(!0), r(y, null, k((f = t.echarts) == null ? void 0 : f.tags.slice(0, 3), (F) => (l(), r("span", { key: F }, i(F), 1))), 128))
|
|
266
|
+
])) : P("", !0),
|
|
267
|
+
s("span", at, i(O(t).recommendedPrompt), 1),
|
|
268
|
+
O(t).limitationReason ? (l(), r("span", it, i(O(t).limitationReason), 1)) : P("", !0)
|
|
269
|
+
], 8, Je),
|
|
270
|
+
s("div", ot, [
|
|
271
|
+
s("button", {
|
|
272
|
+
type: "button",
|
|
273
|
+
"data-i18n-title": "FWA.a1ad1787571252516",
|
|
274
|
+
title: o(n)("FWA.a1ad1787571252516"),
|
|
275
|
+
"data-i18n-aria-label": "FWA.a1ad1787571252516",
|
|
276
|
+
"aria-label": o(n)("FWA.a1ad1787571252516"),
|
|
277
|
+
"data-testid": "system-card-insert-button",
|
|
278
|
+
"data-capability-id": t.capabilityId,
|
|
279
|
+
class: "flex min-h-8 flex-1 items-center justify-center text-slate-500 transition hover:bg-white hover:text-blue-700",
|
|
280
|
+
onClick: te((F) => H(t), ["stop"])
|
|
281
|
+
}, [
|
|
282
|
+
A(o(ae), { class: "h-3.5 w-3.5" })
|
|
283
|
+
], 8, lt)
|
|
284
|
+
])
|
|
285
|
+
], 10, Ze)
|
|
286
|
+
];
|
|
287
|
+
}),
|
|
288
|
+
_: 2
|
|
289
|
+
}, 1032, ["capability-id", "title"]))), 128))
|
|
290
|
+
])
|
|
291
|
+
])
|
|
292
|
+
])
|
|
293
|
+
])) : (l(), r("div", nt, [
|
|
294
|
+
s("div", rt, [
|
|
295
|
+
(l(!0), r(y, null, k(T.value, (t) => {
|
|
296
|
+
var m;
|
|
297
|
+
return l(), r("button", {
|
|
298
|
+
key: t.id,
|
|
299
|
+
type: "button",
|
|
300
|
+
class: x(
|
|
301
|
+
o(C)(
|
|
302
|
+
"workbench-menu-card mb-1 flex min-h-8 w-full items-center gap-2 rounded-md border px-2 py-1.5 text-left text-xs whitespace-nowrap transition",
|
|
303
|
+
((m = g.value) == null ? void 0 : m.id) === t.id ? "border-blue-200 bg-blue-50 text-blue-700" : "border-transparent bg-white text-slate-700 hover:bg-slate-100"
|
|
304
|
+
)
|
|
305
|
+
),
|
|
306
|
+
onMouseenter: (f) => V(t.id),
|
|
307
|
+
onClick: (f) => V(t.id)
|
|
308
|
+
}, [
|
|
309
|
+
s("span", ct, i(t.name), 1),
|
|
310
|
+
s("span", ut, i(t.entries.length), 1),
|
|
311
|
+
A(o(se), { class: "h-3 w-3 shrink-0 text-slate-400" })
|
|
312
|
+
], 42, dt);
|
|
313
|
+
}), 128))
|
|
314
|
+
]),
|
|
315
|
+
s("div", mt, [
|
|
316
|
+
s("div", pt, [
|
|
317
|
+
s("div", bt, [
|
|
318
|
+
s("div", ht, i(((q = g.value) == null ? void 0 : q.name) || o(n)("FWA.bd241787571253963")), 1),
|
|
319
|
+
s("div", ft, i(((Z = g.value) == null ? void 0 : Z.description) || o(n)("FWA.ab571787571076210")), 1)
|
|
320
|
+
])
|
|
321
|
+
]),
|
|
322
|
+
s("div", _t, [
|
|
323
|
+
s("div", xt, [
|
|
324
|
+
(l(!0), r(y, null, k(((J = g.value) == null ? void 0 : J.entries) || [], (t) => (l(), M(ie, {
|
|
325
|
+
key: t.capabilityId,
|
|
326
|
+
"capability-id": t.capabilityId,
|
|
327
|
+
title: t.title,
|
|
328
|
+
"preview-url": t.previewUrl
|
|
329
|
+
}, {
|
|
330
|
+
default: ee(() => [
|
|
331
|
+
s("div", {
|
|
332
|
+
class: x(
|
|
333
|
+
o(C)(
|
|
334
|
+
"workbench-menu-card flex min-h-10 items-stretch overflow-hidden rounded-md border transition",
|
|
335
|
+
t.status === "implemented" ? "border-slate-200 bg-white text-slate-700 hover:border-blue-200 hover:bg-blue-50 hover:text-blue-700" : "cursor-not-allowed border-slate-100 bg-slate-50 text-slate-400 opacity-70"
|
|
336
|
+
)
|
|
337
|
+
)
|
|
338
|
+
}, [
|
|
339
|
+
s("button", {
|
|
340
|
+
type: "button",
|
|
341
|
+
disabled: t.status !== "implemented",
|
|
342
|
+
class: "min-w-0 flex-1 px-2 py-1.5 text-left disabled:cursor-not-allowed",
|
|
343
|
+
onClick: (m) => be(t)
|
|
344
|
+
}, [
|
|
345
|
+
s("span", vt, [
|
|
346
|
+
s("span", gt, i(t.title), 1),
|
|
347
|
+
s("span", wt, i(he(t)), 1)
|
|
348
|
+
]),
|
|
349
|
+
s("span", yt, i(G(t.defaultSize)) + " · " + i(t.capabilityId), 1)
|
|
350
|
+
], 8, Ct),
|
|
351
|
+
s("div", kt, [
|
|
352
|
+
s("button", {
|
|
353
|
+
type: "button",
|
|
354
|
+
"data-i18n-title": "FWA.a1ad1787571252516",
|
|
355
|
+
title: o(n)("FWA.a1ad1787571252516"),
|
|
356
|
+
"data-i18n-aria-label": "FWA.a1ad1787571252516",
|
|
357
|
+
"aria-label": o(n)("FWA.a1ad1787571252516"),
|
|
358
|
+
"data-testid": "custom-card-insert-button",
|
|
359
|
+
"data-capability-id": t.capabilityId,
|
|
360
|
+
class: "flex min-h-8 flex-1 items-center justify-center text-slate-500 transition hover:bg-white hover:text-blue-700 disabled:cursor-not-allowed disabled:text-slate-300",
|
|
361
|
+
disabled: t.status !== "implemented",
|
|
362
|
+
onClick: te((m) => K(t), ["stop"])
|
|
363
|
+
}, [
|
|
364
|
+
A(o(ae), { class: "h-3.5 w-3.5" })
|
|
365
|
+
], 8, At)
|
|
366
|
+
])
|
|
367
|
+
], 2)
|
|
368
|
+
]),
|
|
369
|
+
_: 2
|
|
370
|
+
}, 1032, ["capability-id", "title", "preview-url"]))), 128))
|
|
371
|
+
])
|
|
372
|
+
]),
|
|
373
|
+
(Q = g.value) != null && Q.entries.length ? P("", !0) : (l(), r("div", St, i(o(n)("FWA.9a0e1787570943009")), 1))
|
|
374
|
+
])
|
|
375
|
+
]))
|
|
376
|
+
])
|
|
377
|
+
]),
|
|
378
|
+
A(ve, {
|
|
379
|
+
open: h.value,
|
|
380
|
+
title: ((X = b.value) == null ? void 0 : X.title) || o(n)("FWA.82961787571397594"),
|
|
381
|
+
profile: D.value,
|
|
382
|
+
onClose: j,
|
|
383
|
+
onSubmit: me
|
|
384
|
+
}, null, 8, ["open", "title", "profile"])
|
|
385
|
+
]);
|
|
386
|
+
};
|
|
387
|
+
}
|
|
388
|
+
}), Wt = /* @__PURE__ */ re(Et, [["__scopeId", "data-v-33d2ad7a"]]), Ft = /* @__PURE__ */ ne({
|
|
389
|
+
__name: "WorkbenchCardCenterDrawer",
|
|
390
|
+
setup(de) {
|
|
391
|
+
const v = ke();
|
|
392
|
+
async function u(c, h) {
|
|
393
|
+
try {
|
|
394
|
+
await v.kernel.events.emit(c, h);
|
|
395
|
+
} catch (b) {
|
|
396
|
+
v.services.loggerAdapter.error("Workbench Card Center event failed", {
|
|
397
|
+
eventName: c,
|
|
398
|
+
instanceId: v.instanceId,
|
|
399
|
+
message: b instanceof Error ? b.message : String(b)
|
|
400
|
+
});
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
function S(c) {
|
|
404
|
+
u(Ae, c);
|
|
405
|
+
}
|
|
406
|
+
function p(c) {
|
|
407
|
+
u(Se, c);
|
|
408
|
+
}
|
|
409
|
+
function I(c) {
|
|
410
|
+
u(Ie, { open: c });
|
|
411
|
+
}
|
|
412
|
+
return (c, h) => (l(), M(Wt, {
|
|
413
|
+
onInsertSystemCard: S,
|
|
414
|
+
onInsertCustomCard: p,
|
|
415
|
+
onConfigDialogOpenChange: I
|
|
416
|
+
}));
|
|
417
|
+
}
|
|
418
|
+
}), Gt = /* @__PURE__ */ re(Ft, [["__scopeId", "data-v-036258f4"]]);
|
|
419
|
+
export {
|
|
420
|
+
Gt as default
|
|
421
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { defineComponent as t, openBlock as n, createElementBlock as s } from "vue";
|
|
2
|
+
import { u as c, _ as r } from "./index-C1Y_OWV9.js";
|
|
3
|
+
import { W as a, a as _ } from "./index-DkGYPLLJ.js";
|
|
4
|
+
const i = /* @__PURE__ */ t({
|
|
5
|
+
__name: "WorkbenchDiagnosticsFooter",
|
|
6
|
+
setup(p) {
|
|
7
|
+
const o = c();
|
|
8
|
+
async function e() {
|
|
9
|
+
await o.kernel.commands.execute(a, {
|
|
10
|
+
drawerId: _
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
return (m, u) => (n(), s("button", {
|
|
14
|
+
type: "button",
|
|
15
|
+
class: "workbench-diagnostics-footer",
|
|
16
|
+
onClick: e
|
|
17
|
+
}, " 运行态诊断 "));
|
|
18
|
+
}
|
|
19
|
+
}), k = /* @__PURE__ */ r(i, [["__scopeId", "data-v-e4b60e94"]]);
|
|
20
|
+
export {
|
|
21
|
+
k as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { defineComponent as g, ref as p, computed as _, openBlock as o, createElementBlock as i, createElementVNode as n, toDisplayString as s, unref as f, Fragment as r, renderList as d, createCommentVNode as k } from "vue";
|
|
2
|
+
import { u as m, W as v, _ as b } from "./index-C1Y_OWV9.js";
|
|
3
|
+
const h = { class: "workbench-diagnostics-page" }, w = { class: "workbench-diagnostics-page__header" }, y = ["disabled"], C = { class: "workbench-diagnostics-page__summary" }, x = { class: "workbench-diagnostics-page__section" }, D = {
|
|
4
|
+
key: 0,
|
|
5
|
+
class: "workbench-diagnostics-page__section"
|
|
6
|
+
}, W = /* @__PURE__ */ g({
|
|
7
|
+
__name: "WorkbenchDiagnosticsPage",
|
|
8
|
+
setup(E) {
|
|
9
|
+
const a = m(), u = p(!1), t = _(() => a.kernel.diagnostics.snapshot());
|
|
10
|
+
async function c() {
|
|
11
|
+
if (!u.value) {
|
|
12
|
+
u.value = !0;
|
|
13
|
+
try {
|
|
14
|
+
await a.kernel.commands.execute(v);
|
|
15
|
+
} finally {
|
|
16
|
+
u.value = !1;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
return (N, e) => (o(), i("main", h, [
|
|
21
|
+
n("header", w, [
|
|
22
|
+
e[0] || (e[0] = n("div", null, [
|
|
23
|
+
n("p", { class: "workbench-diagnostics-page__eyebrow" }, "Workbench App"),
|
|
24
|
+
n("h1", null, "运行态诊断")
|
|
25
|
+
], -1)),
|
|
26
|
+
n("button", {
|
|
27
|
+
type: "button",
|
|
28
|
+
disabled: u.value,
|
|
29
|
+
onClick: c
|
|
30
|
+
}, s(u.value ? "刷新中" : "刷新"), 9, y)
|
|
31
|
+
]),
|
|
32
|
+
n("dl", C, [
|
|
33
|
+
n("div", null, [
|
|
34
|
+
e[1] || (e[1] = n("dt", null, "实例", -1)),
|
|
35
|
+
n("dd", null, s(f(a).instanceId), 1)
|
|
36
|
+
]),
|
|
37
|
+
n("div", null, [
|
|
38
|
+
e[2] || (e[2] = n("dt", null, "插件", -1)),
|
|
39
|
+
n("dd", null, s(t.value.plugins.length), 1)
|
|
40
|
+
]),
|
|
41
|
+
n("div", null, [
|
|
42
|
+
e[3] || (e[3] = n("dt", null, "贡献", -1)),
|
|
43
|
+
n("dd", null, s(t.value.contributions.length), 1)
|
|
44
|
+
]),
|
|
45
|
+
n("div", null, [
|
|
46
|
+
e[4] || (e[4] = n("dt", null, "告警", -1)),
|
|
47
|
+
n("dd", null, s(t.value.warnings.length), 1)
|
|
48
|
+
])
|
|
49
|
+
]),
|
|
50
|
+
n("section", x, [
|
|
51
|
+
e[5] || (e[5] = n("h2", null, "插件状态", -1)),
|
|
52
|
+
n("ul", null, [
|
|
53
|
+
(o(!0), i(r, null, d(t.value.plugins, (l) => (o(), i("li", {
|
|
54
|
+
key: l.id
|
|
55
|
+
}, [
|
|
56
|
+
n("span", null, s(l.id), 1),
|
|
57
|
+
n("strong", null, s(l.status), 1)
|
|
58
|
+
]))), 128))
|
|
59
|
+
])
|
|
60
|
+
]),
|
|
61
|
+
t.value.warnings.length ? (o(), i("section", D, [
|
|
62
|
+
e[6] || (e[6] = n("h2", null, "告警", -1)),
|
|
63
|
+
n("ul", null, [
|
|
64
|
+
(o(!0), i(r, null, d(t.value.warnings, (l) => (o(), i("li", { key: l }, s(l), 1))), 128))
|
|
65
|
+
])
|
|
66
|
+
])) : k("", !0)
|
|
67
|
+
]));
|
|
68
|
+
}
|
|
69
|
+
}), A = /* @__PURE__ */ b(W, [["__scopeId", "data-v-ff7ef77c"]]);
|
|
70
|
+
export {
|
|
71
|
+
A as default
|
|
72
|
+
};
|