@vancone/console-component 0.1.1-beta.49 → 0.1.1-beta.50
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/package.json
CHANGED
|
@@ -26,7 +26,7 @@ var xe = (e, t, o) => new Promise((n, s) => {
|
|
|
26
26
|
}, a = (i) => i.done ? n(i.value) : Promise.resolve(i.value).then(r, l);
|
|
27
27
|
a((o = o.apply(e, t)).next());
|
|
28
28
|
});
|
|
29
|
-
import { openBlock as p, createElementBlock as V, createElementVNode as w, defineComponent as Ce, reactive as me, resolveComponent as k, createVNode as g, withCtx as m, unref as C, Fragment as
|
|
29
|
+
import { openBlock as p, createElementBlock as V, createElementVNode as w, defineComponent as Ce, reactive as me, resolveComponent as k, createVNode as g, withCtx as m, unref as C, Fragment as ce, renderList as ge, toDisplayString as R, normalizeStyle as je, ref as T, onMounted as Gt, createBlock as E, createTextVNode as Q, createCommentVNode as F, nextTick as Ye, resolveDynamicComponent as it, effectScope as jt, markRaw as Te, toRaw as Je, hasInjectionContext as $o, inject as Oo, getCurrentInstance as Eo, watch as Oe, isRef as Ke, isReactive as yt, toRef as ft, computed as Ie, getCurrentScope as Po, onScopeDispose as Io, toRefs as Pt, createStaticVNode as Vo, normalizeClass as zt, resolveDirective as qt, withDirectives as Bt } from "vue";
|
|
30
30
|
import { useRoute as Xe, useRouter as pt } from "vue-router";
|
|
31
31
|
import No from "axios";
|
|
32
32
|
import { ElMessage as mt, ElMessageBox as It } from "element-plus";
|
|
@@ -168,10 +168,10 @@ const sn = { render: nn }, rn = { class: "app-catalog-wrapper" }, an = { class:
|
|
|
168
168
|
}, {
|
|
169
169
|
default: m(() => [
|
|
170
170
|
w("div", an, [
|
|
171
|
-
(p(!0), V(
|
|
171
|
+
(p(!0), V(ce, null, ge(t, (h) => (p(), V("div", ln, [
|
|
172
172
|
w("h1", null, R(h.name), 1),
|
|
173
173
|
w("div", cn, [
|
|
174
|
-
(p(!0), V(
|
|
174
|
+
(p(!0), V(ce, null, ge(h.apps, (b) => {
|
|
175
175
|
var x, N;
|
|
176
176
|
return p(), V("a", {
|
|
177
177
|
style: je([{ "text-decoration": "none" }, { pointerEvents: ((x = b.homepageUrl) == null ? void 0 : x.length) > 0 ? "auto" : "none" }]),
|
|
@@ -433,7 +433,7 @@ const Pn = { class: "header" }, In = { class: "title" }, Vn = { class: "right" }
|
|
|
433
433
|
}
|
|
434
434
|
return (P, K) => {
|
|
435
435
|
const _ = k("el-icon"), I = k("el-dropdown-item"), u = k("el-dropdown-menu"), O = k("el-dropdown"), L = k("el-popover"), d = k("el-tooltip"), c = k("el-avatar"), S = k("el-menu-item"), $ = k("el-menu"), D = k("el-drawer");
|
|
436
|
-
return p(), V(
|
|
436
|
+
return p(), V(ce, null, [
|
|
437
437
|
w("div", Pn, [
|
|
438
438
|
w("div", In, [
|
|
439
439
|
w("div", {
|
|
@@ -453,7 +453,7 @@ const Pn = { class: "header" }, In = { class: "title" }, Vn = { class: "right" }
|
|
|
453
453
|
dropdown: m(() => [
|
|
454
454
|
g(u, { style: { width: "300px" } }, {
|
|
455
455
|
default: m(() => [
|
|
456
|
-
(p(!0), V(
|
|
456
|
+
(p(!0), V(ce, null, ge(i.value, (j) => (p(), E(I, {
|
|
457
457
|
command: j.id
|
|
458
458
|
}, {
|
|
459
459
|
default: m(() => [
|
|
@@ -615,7 +615,7 @@ const Pn = { class: "header" }, In = { class: "title" }, Vn = { class: "right" }
|
|
|
615
615
|
"popper-style": "height: 80px; left: -165px"
|
|
616
616
|
}, {
|
|
617
617
|
default: m(() => [
|
|
618
|
-
(p(!0), V(
|
|
618
|
+
(p(!0), V(ce, null, ge(N, (j) => (p(), V("div", {
|
|
619
619
|
class: "select-list",
|
|
620
620
|
onClick: (A) => G(j.id)
|
|
621
621
|
}, [
|
|
@@ -691,7 +691,7 @@ const Pn = { class: "header" }, In = { class: "title" }, Vn = { class: "right" }
|
|
|
691
691
|
];
|
|
692
692
|
}),
|
|
693
693
|
default: m(() => [
|
|
694
|
-
(p(!0), V(
|
|
694
|
+
(p(!0), V(ce, null, ge(o.menu.children, (a) => (p(), E(s, {
|
|
695
695
|
key: a.path,
|
|
696
696
|
route: a,
|
|
697
697
|
menu: a
|
|
@@ -930,7 +930,7 @@ function os(e, t, o, n) {
|
|
|
930
930
|
}, 4e4);
|
|
931
931
|
}
|
|
932
932
|
}
|
|
933
|
-
function
|
|
933
|
+
function ie(e, t) {
|
|
934
934
|
const o = "🍍 " + e;
|
|
935
935
|
typeof __VUE_DEVTOOLS_TOAST__ == "function" ? __VUE_DEVTOOLS_TOAST__(o, t) : t === "error" ? console.error(o) : t === "warn" ? console.warn(o) : console.log(o);
|
|
936
936
|
}
|
|
@@ -939,20 +939,20 @@ function St(e) {
|
|
|
939
939
|
}
|
|
940
940
|
function ro() {
|
|
941
941
|
if (!("clipboard" in navigator))
|
|
942
|
-
return
|
|
942
|
+
return ie("Your browser doesn't support the Clipboard API", "error"), !0;
|
|
943
943
|
}
|
|
944
944
|
function ao(e) {
|
|
945
|
-
return e instanceof Error && e.message.toLowerCase().includes("document is not focused") ? (
|
|
945
|
+
return e instanceof Error && e.message.toLowerCase().includes("document is not focused") ? (ie('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.', "warn"), !0) : !1;
|
|
946
946
|
}
|
|
947
947
|
function ns(e) {
|
|
948
948
|
return xe(this, null, function* () {
|
|
949
949
|
if (!ro())
|
|
950
950
|
try {
|
|
951
|
-
yield navigator.clipboard.writeText(JSON.stringify(e.state.value)),
|
|
951
|
+
yield navigator.clipboard.writeText(JSON.stringify(e.state.value)), ie("Global state copied to clipboard.");
|
|
952
952
|
} catch (t) {
|
|
953
953
|
if (ao(t))
|
|
954
954
|
return;
|
|
955
|
-
|
|
955
|
+
ie("Failed to serialize the state. Check the console for more details.", "error"), console.error(t);
|
|
956
956
|
}
|
|
957
957
|
});
|
|
958
958
|
}
|
|
@@ -960,11 +960,11 @@ function ss(e) {
|
|
|
960
960
|
return xe(this, null, function* () {
|
|
961
961
|
if (!ro())
|
|
962
962
|
try {
|
|
963
|
-
lo(e, JSON.parse(yield navigator.clipboard.readText())),
|
|
963
|
+
lo(e, JSON.parse(yield navigator.clipboard.readText())), ie("Global state pasted from clipboard.");
|
|
964
964
|
} catch (t) {
|
|
965
965
|
if (ao(t))
|
|
966
966
|
return;
|
|
967
|
-
|
|
967
|
+
ie("Failed to deserialize the state from clipboard. Check the console for more details.", "error"), console.error(t);
|
|
968
968
|
}
|
|
969
969
|
});
|
|
970
970
|
}
|
|
@@ -975,7 +975,7 @@ function rs(e) {
|
|
|
975
975
|
type: "text/plain;charset=utf-8"
|
|
976
976
|
}), "pinia-state.json");
|
|
977
977
|
} catch (t) {
|
|
978
|
-
|
|
978
|
+
ie("Failed to export the state as JSON. Check the console for more details.", "error"), console.error(t);
|
|
979
979
|
}
|
|
980
980
|
});
|
|
981
981
|
}
|
|
@@ -1002,9 +1002,9 @@ function ls(e) {
|
|
|
1002
1002
|
if (!o)
|
|
1003
1003
|
return;
|
|
1004
1004
|
const { text: n, file: s } = o;
|
|
1005
|
-
lo(e, JSON.parse(n)),
|
|
1005
|
+
lo(e, JSON.parse(n)), ie(`Global state imported from "${s.name}".`);
|
|
1006
1006
|
} catch (t) {
|
|
1007
|
-
|
|
1007
|
+
ie("Failed to import the state from JSON. Check the console for more details.", "error"), console.error(t);
|
|
1008
1008
|
}
|
|
1009
1009
|
});
|
|
1010
1010
|
}
|
|
@@ -1104,7 +1104,7 @@ function fs(e, t) {
|
|
|
1104
1104
|
componentStateTypes: lt,
|
|
1105
1105
|
app: e
|
|
1106
1106
|
}, (o) => {
|
|
1107
|
-
typeof o.now != "function" &&
|
|
1107
|
+
typeof o.now != "function" && ie("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."), o.addTimelineLayer({
|
|
1108
1108
|
id: Ue,
|
|
1109
1109
|
label: "Pinia 🍍",
|
|
1110
1110
|
color: 15064968
|
|
@@ -1149,7 +1149,7 @@ function fs(e, t) {
|
|
|
1149
1149
|
tooltip: 'Reset the state (with "$reset")',
|
|
1150
1150
|
action: (n) => {
|
|
1151
1151
|
const s = t._s.get(n);
|
|
1152
|
-
s ? typeof s.$reset != "function" ?
|
|
1152
|
+
s ? typeof s.$reset != "function" ? ie(`Cannot reset "${n}" store because it doesn't have a "$reset" method implemented.`, "warn") : (s.$reset(), ie(`Store "${n}" reset.`)) : ie(`Cannot reset "${n}" store because it wasn't found.`, "warn");
|
|
1153
1153
|
}
|
|
1154
1154
|
}
|
|
1155
1155
|
]
|
|
@@ -1208,7 +1208,7 @@ function fs(e, t) {
|
|
|
1208
1208
|
if (n.app === e && n.inspectorId === pe) {
|
|
1209
1209
|
const r = n.nodeId === at ? t : t._s.get(n.nodeId);
|
|
1210
1210
|
if (!r)
|
|
1211
|
-
return
|
|
1211
|
+
return ie(`store "${n.nodeId}" not found`, "error");
|
|
1212
1212
|
const { path: l } = n;
|
|
1213
1213
|
St(r) ? l.unshift("state") : (l.length !== 1 || !r._customProperties.has(l[0]) || l[0] in r.$state) && l.unshift("$state"), Le = !1, n.set(r, l, n.state.value), Le = !0;
|
|
1214
1214
|
}
|
|
@@ -1216,10 +1216,10 @@ function fs(e, t) {
|
|
|
1216
1216
|
if (n.type.startsWith("🍍")) {
|
|
1217
1217
|
const s = n.type.replace(/^🍍\s*/, ""), r = t._s.get(s);
|
|
1218
1218
|
if (!r)
|
|
1219
|
-
return
|
|
1219
|
+
return ie(`store "${s}" not found`, "error");
|
|
1220
1220
|
const { path: l } = n;
|
|
1221
1221
|
if (l[0] !== "state")
|
|
1222
|
-
return
|
|
1222
|
+
return ie(`Invalid path for store "${s}":
|
|
1223
1223
|
${l}
|
|
1224
1224
|
Only state can be modified.`);
|
|
1225
1225
|
l[0] = "$state", Le = !1, n.set(r, l, n.state.value), Le = !0;
|
|
@@ -1353,8 +1353,8 @@ function ms(e, t) {
|
|
|
1353
1353
|
});
|
|
1354
1354
|
const { $dispose: r } = t;
|
|
1355
1355
|
t.$dispose = () => {
|
|
1356
|
-
r(), o.notifyComponentUpdate(), o.sendInspectorTree(pe), o.sendInspectorState(pe), o.getSettings().logStoreChanges &&
|
|
1357
|
-
}, o.notifyComponentUpdate(), o.sendInspectorTree(pe), o.sendInspectorState(pe), o.getSettings().logStoreChanges &&
|
|
1356
|
+
r(), o.notifyComponentUpdate(), o.sendInspectorTree(pe), o.sendInspectorState(pe), o.getSettings().logStoreChanges && ie(`Disposed "${t.$id}" store 🗑`);
|
|
1357
|
+
}, o.notifyComponentUpdate(), o.sendInspectorTree(pe), o.sendInspectorState(pe), o.getSettings().logStoreChanges && ie(`"${t.$id}" store installed 🆕`);
|
|
1358
1358
|
});
|
|
1359
1359
|
}
|
|
1360
1360
|
let co = 0, Pe;
|
|
@@ -1938,7 +1938,7 @@ const go = /* @__PURE__ */ ys("console", {
|
|
|
1938
1938
|
router: ""
|
|
1939
1939
|
}, {
|
|
1940
1940
|
default: m(() => [
|
|
1941
|
-
(p(!0), V(
|
|
1941
|
+
(p(!0), V(ce, null, ge(C(Nt), (a) => (p(), E(qn, {
|
|
1942
1942
|
key: a.path,
|
|
1943
1943
|
menu: a
|
|
1944
1944
|
}, null, 8, ["menu"]))), 128))
|
|
@@ -1959,7 +1959,7 @@ const go = /* @__PURE__ */ ys("console", {
|
|
|
1959
1959
|
const t = go(kt), o = Xe(), n = T(t.menu.collapsed), s = T(), r = e;
|
|
1960
1960
|
return (l, a) => {
|
|
1961
1961
|
const i = k("router-view"), h = k("el-scrollbar");
|
|
1962
|
-
return p(), V(
|
|
1962
|
+
return p(), V(ce, null, [
|
|
1963
1963
|
C(o).query.embedded !== "true" ? (p(), E(Qt, {
|
|
1964
1964
|
key: 0,
|
|
1965
1965
|
title: r.title,
|
|
@@ -2069,7 +2069,7 @@ const Bs = /* @__PURE__ */ ye(zs, [["render", qs]]), Hs = { class: "card-wrapper
|
|
|
2069
2069
|
deep: !0
|
|
2070
2070
|
}
|
|
2071
2071
|
), (a, i) => (p(), V("div", Hs, [
|
|
2072
|
-
(p(!0), V(
|
|
2072
|
+
(p(!0), V(ce, null, ge(s.cards, (h) => (p(), V("div", {
|
|
2073
2073
|
class: zt(["card", { "card-selected": r.value === h.key }]),
|
|
2074
2074
|
onClick: (b) => l(h)
|
|
2075
2075
|
}, [
|
|
@@ -2150,7 +2150,7 @@ const Bs = /* @__PURE__ */ ye(zs, [["render", qs]]), Hs = { class: "card-wrapper
|
|
|
2150
2150
|
let J = (c = u.formItem) == null ? void 0 : c.validationRule;
|
|
2151
2151
|
J !== void 0 && (I[u.prop] = J), ze(i), Object.assign(i, I);
|
|
2152
2152
|
}
|
|
2153
|
-
const f = u.formItem, U = f == null ? void 0 : f.type, q = (S = f == null ? void 0 : f.select) == null ? void 0 : S.useDatableDict, H = ($ = f == null ? void 0 : f.select) == null ? void 0 : $.dictId, te = (D = f == null ? void 0 : f.select) == null ? void 0 : D.api, re = (j = f == null ? void 0 : f.select) == null ? void 0 : j.valueMappingField,
|
|
2153
|
+
const f = u.formItem, U = f == null ? void 0 : f.type, q = (S = f == null ? void 0 : f.select) == null ? void 0 : S.useDatableDict, H = ($ = f == null ? void 0 : f.select) == null ? void 0 : $.dictId, te = (D = f == null ? void 0 : f.select) == null ? void 0 : D.api, re = (j = f == null ? void 0 : f.select) == null ? void 0 : j.valueMappingField, ue = (A = f == null ? void 0 : f.select) == null ? void 0 : A.labelMappingField;
|
|
2154
2154
|
if (U === "select") {
|
|
2155
2155
|
if (q) {
|
|
2156
2156
|
let W = `${Ie(() => window.location.href.indexOf("localhost") > 0 ? "http://localhost.vancone.com:8080" : "https://datable.vancone.com/agent/public/0001").value}/api/datable/agent/metadata/dict?dictId=${H}`;
|
|
@@ -2174,7 +2174,7 @@ const Bs = /* @__PURE__ */ ye(zs, [["render", qs]]), Hs = { class: "card-wrapper
|
|
|
2174
2174
|
let fe = [];
|
|
2175
2175
|
Array.isArray(se.data) ? fe = se.data : se.data.list && Array.isArray(se.data.list) && (fe = se.data.list), u.formItem.select.options = fe.map((de) => ({
|
|
2176
2176
|
value: re ? de[re] : de.value,
|
|
2177
|
-
label:
|
|
2177
|
+
label: ue ? de[ue] : de.label
|
|
2178
2178
|
}));
|
|
2179
2179
|
}
|
|
2180
2180
|
});
|
|
@@ -2290,14 +2290,14 @@ const Bs = /* @__PURE__ */ ye(zs, [["render", qs]]), Hs = { class: "card-wrapper
|
|
|
2290
2290
|
inline: !s.disableInline
|
|
2291
2291
|
}, {
|
|
2292
2292
|
default: m(() => [
|
|
2293
|
-
(p(!0), V(
|
|
2293
|
+
(p(!0), V(ce, null, ge(b.value, (v) => (p(), E(D, {
|
|
2294
2294
|
class: "form-item",
|
|
2295
2295
|
style: je({ width: s.disableInline ? "100%" : "calc(50% - 32px)" }),
|
|
2296
2296
|
prop: v.prop,
|
|
2297
2297
|
label: G(v)
|
|
2298
2298
|
}, {
|
|
2299
2299
|
default: m(() => {
|
|
2300
|
-
var z, Y, y, f, U, q, H, te, re,
|
|
2300
|
+
var z, Y, y, f, U, q, H, te, re, ue, J, W, ne, se, ae, fe, de, Ve, et, tt;
|
|
2301
2301
|
return [
|
|
2302
2302
|
oe("input", v) ? (p(), E(u, {
|
|
2303
2303
|
key: 0,
|
|
@@ -2345,7 +2345,7 @@ const Bs = /* @__PURE__ */ ye(zs, [["render", qs]]), Hs = { class: "card-wrapper
|
|
|
2345
2345
|
"collapse-tags": (U = (f = v.formItem) == null ? void 0 : f.select) == null ? void 0 : U.multiple,
|
|
2346
2346
|
filterable: (H = (q = v.formItem) == null ? void 0 : q.select) == null ? void 0 : H.allowCreate,
|
|
2347
2347
|
"allow-create": (re = (te = v.formItem) == null ? void 0 : te.select) == null ? void 0 : re.allowCreate,
|
|
2348
|
-
"default-first-option": (J = (
|
|
2348
|
+
"default-first-option": (J = (ue = v.formItem) == null ? void 0 : ue.select) == null ? void 0 : J.allowCreate,
|
|
2349
2349
|
modelValue: r[v.prop],
|
|
2350
2350
|
"onUpdate:modelValue": (le) => r[v.prop] = le,
|
|
2351
2351
|
disabled: B(v),
|
|
@@ -2354,7 +2354,7 @@ const Bs = /* @__PURE__ */ ye(zs, [["render", qs]]), Hs = { class: "card-wrapper
|
|
|
2354
2354
|
default: m(() => {
|
|
2355
2355
|
var le, qe;
|
|
2356
2356
|
return [
|
|
2357
|
-
(p(!0), V(
|
|
2357
|
+
(p(!0), V(ce, null, ge((qe = (le = v.formItem) == null ? void 0 : le.select) == null ? void 0 : qe.options, (Be) => (p(), E(c, {
|
|
2358
2358
|
value: Be.value,
|
|
2359
2359
|
label: Be.label
|
|
2360
2360
|
}, null, 8, ["value", "label"]))), 256))
|
|
@@ -2432,7 +2432,7 @@ const Bs = /* @__PURE__ */ ye(zs, [["render", qs]]), Hs = { class: "card-wrapper
|
|
|
2432
2432
|
style: je({ width: s.showProcess ? "calc(100% - 350px)" : "auto" })
|
|
2433
2433
|
}, [
|
|
2434
2434
|
w("div", or, [
|
|
2435
|
-
(p(!0), V(
|
|
2435
|
+
(p(!0), V(ce, null, ge((B = s.model.formConfig) == null ? void 0 : B.dialogButtons, (oe) => (p(), E(G, {
|
|
2436
2436
|
onClick: (P) => oe.function(a.value.formData)
|
|
2437
2437
|
}, {
|
|
2438
2438
|
default: m(() => [
|
|
@@ -2530,9 +2530,9 @@ const rr = { render: sr }, ar = { class: "toolbar" }, lr = { class: "tool-button
|
|
|
2530
2530
|
}
|
|
2531
2531
|
));
|
|
2532
2532
|
function _(y, f) {
|
|
2533
|
-
var te, re,
|
|
2533
|
+
var te, re, ue, J;
|
|
2534
2534
|
let U = f.row[y.prop];
|
|
2535
|
-
const q = (re = (te = y.tableColumn) == null ? void 0 : te.functions) == null ? void 0 : re.transformValue, H = (
|
|
2535
|
+
const q = (re = (te = y.tableColumn) == null ? void 0 : te.functions) == null ? void 0 : re.transformValue, H = (ue = y.tableColumn) == null ? void 0 : ue.transformValueMappings;
|
|
2536
2536
|
if (q)
|
|
2537
2537
|
U = q(U);
|
|
2538
2538
|
else if (H && H.length > 0) {
|
|
@@ -2668,13 +2668,12 @@ const rr = { render: sr }, ar = { class: "toolbar" }, lr = { class: "tool-button
|
|
|
2668
2668
|
}
|
|
2669
2669
|
let y = "";
|
|
2670
2670
|
K.value.forEach((re) => {
|
|
2671
|
-
|
|
2672
|
-
y += `<th>${o((ie = re.label) != null ? ie : "")}</th>`;
|
|
2671
|
+
y += `<th>${v(re)}</th>`;
|
|
2673
2672
|
});
|
|
2674
2673
|
let f = "";
|
|
2675
2674
|
M.value.forEach((re) => {
|
|
2676
|
-
f += "<tr>", K.value.forEach((
|
|
2677
|
-
f += `<td>${re[
|
|
2675
|
+
f += "<tr>", K.value.forEach((ue) => {
|
|
2676
|
+
f += `<td>${re[ue.prop]}</td>`;
|
|
2678
2677
|
}), f += "</tr>";
|
|
2679
2678
|
});
|
|
2680
2679
|
let U = `<table><tr>${y}</tr>${f}</table>`;
|
|
@@ -2743,7 +2742,7 @@ const rr = { render: sr }, ar = { class: "toolbar" }, lr = { class: "tool-button
|
|
|
2743
2742
|
updateConfigAndRefresh: u
|
|
2744
2743
|
}), (y, f) => {
|
|
2745
2744
|
var le, qe, Be;
|
|
2746
|
-
const U = k("el-checkbox"), q = k("el-badge"), H = k("el-button"), te = k("el-dropdown-item"), re = k("el-dropdown-menu"),
|
|
2745
|
+
const U = k("el-checkbox"), q = k("el-badge"), H = k("el-button"), te = k("el-dropdown-item"), re = k("el-dropdown-menu"), ue = k("el-dropdown"), J = k("el-icon"), W = k("el-tooltip"), ne = k("el-input"), se = k("el-table-column"), ae = k("router-link"), fe = k("el-tag"), de = k("el-popconfirm"), Ve = k("el-table"), et = k("el-pagination"), tt = qt("loading");
|
|
2747
2746
|
return p(), V("div", {
|
|
2748
2747
|
class: zt({ "table-view-wrapper": (le = r.display) == null ? void 0 : le.pane })
|
|
2749
2748
|
}, [
|
|
@@ -2798,7 +2797,7 @@ const rr = { render: sr }, ar = { class: "toolbar" }, lr = { class: "tool-button
|
|
|
2798
2797
|
style: { width: "28px" },
|
|
2799
2798
|
onClick: O
|
|
2800
2799
|
}, null, 8, ["icon"]),
|
|
2801
|
-
(qe = r.display) != null && qe.fileTaskButton ? (p(), E(
|
|
2800
|
+
(qe = r.display) != null && qe.fileTaskButton ? (p(), E(ue, {
|
|
2802
2801
|
key: 3,
|
|
2803
2802
|
placement: "bottom-start",
|
|
2804
2803
|
trigger: "click"
|
|
@@ -2858,7 +2857,7 @@ const rr = { render: sr }, ar = { class: "toolbar" }, lr = { class: "tool-button
|
|
|
2858
2857
|
]),
|
|
2859
2858
|
_: 1
|
|
2860
2859
|
})) : F("", !0),
|
|
2861
|
-
g(
|
|
2860
|
+
g(ue, {
|
|
2862
2861
|
placement: "bottom-start",
|
|
2863
2862
|
trigger: "click"
|
|
2864
2863
|
}, {
|
|
@@ -2954,7 +2953,7 @@ const rr = { render: sr }, ar = { class: "toolbar" }, lr = { class: "tool-button
|
|
|
2954
2953
|
type: "selection",
|
|
2955
2954
|
width: "50"
|
|
2956
2955
|
})),
|
|
2957
|
-
(p(!0), V(
|
|
2956
|
+
(p(!0), V(ce, null, ge(K.value, (Z) => {
|
|
2958
2957
|
var Ee;
|
|
2959
2958
|
return p(), E(se, {
|
|
2960
2959
|
prop: Z.prop,
|
|
@@ -3041,7 +3040,7 @@ const rr = { render: sr }, ar = { class: "toolbar" }, lr = { class: "tool-button
|
|
|
3041
3040
|
width: "120"
|
|
3042
3041
|
}, {
|
|
3043
3042
|
default: m((Z) => [
|
|
3044
|
-
(p(!0), V(
|
|
3043
|
+
(p(!0), V(ce, null, ge(r.operations, (Ee) => (p(), E(H, {
|
|
3045
3044
|
class: "operation-button",
|
|
3046
3045
|
link: "",
|
|
3047
3046
|
type: "primary",
|
|
@@ -3089,7 +3088,7 @@ const rr = { render: sr }, ar = { class: "toolbar" }, lr = { class: "tool-button
|
|
|
3089
3088
|
], 2);
|
|
3090
3089
|
};
|
|
3091
3090
|
}
|
|
3092
|
-
}), dt = /* @__PURE__ */ ye(ur, [["__scopeId", "data-v-
|
|
3091
|
+
}), dt = /* @__PURE__ */ ye(ur, [["__scopeId", "data-v-b44508a2"]]), dr = { class: "nav-bar" }, pr = { style: { "font-size": "16px" } }, fr = {
|
|
3093
3092
|
key: 0,
|
|
3094
3093
|
class: "info-card-wrapper"
|
|
3095
3094
|
}, mr = { class: "icon-wrapper" }, hr = { class: "info-wrapper" }, gr = { class: "title-wrapper" }, _r = { class: "tabs-wrapper" }, vr = { class: "dialog-footer" }, br = /* @__PURE__ */ Ce({
|
|
@@ -3229,9 +3228,9 @@ const rr = { render: sr }, ar = { class: "toolbar" }, lr = { class: "tool-button
|
|
|
3229
3228
|
i.value.refresh();
|
|
3230
3229
|
}
|
|
3231
3230
|
return (d, c) => {
|
|
3232
|
-
var U, q, H, te, re,
|
|
3231
|
+
var U, q, H, te, re, ue;
|
|
3233
3232
|
const S = k("el-page-header"), $ = k("el-button"), D = k("el-icon"), j = k("el-dropdown-item"), A = k("el-dropdown-menu"), v = k("el-dropdown"), z = k("el-tag"), Y = k("el-tab-pane"), y = k("el-tabs"), f = k("el-dialog");
|
|
3234
|
-
return p(), V(
|
|
3233
|
+
return p(), V(ce, null, [
|
|
3235
3234
|
w("div", dr, [
|
|
3236
3235
|
g(S, {
|
|
3237
3236
|
onClick: c[0] || (c[0] = (J) => C(n).back())
|
|
@@ -3263,7 +3262,7 @@ const rr = { render: sr }, ar = { class: "toolbar" }, lr = { class: "tool-button
|
|
|
3263
3262
|
default: m(() => {
|
|
3264
3263
|
var J, W;
|
|
3265
3264
|
return [
|
|
3266
|
-
(p(!0), V(
|
|
3265
|
+
(p(!0), V(ce, null, ge((W = (J = B.pageConfig) == null ? void 0 : J.detailPage) == null ? void 0 : W.operationButtons, (ne) => (p(), E(j, {
|
|
3267
3266
|
onClick: (se) => ne.function(i.value.formData)
|
|
3268
3267
|
}, {
|
|
3269
3268
|
default: m(() => [
|
|
@@ -3315,7 +3314,7 @@ const rr = { render: sr }, ar = { class: "toolbar" }, lr = { class: "tool-button
|
|
|
3315
3314
|
w("div", hr, [
|
|
3316
3315
|
w("div", gr, [
|
|
3317
3316
|
w("h1", null, R(M.value), 1),
|
|
3318
|
-
((
|
|
3317
|
+
((ue = G.value) == null ? void 0 : ue.length) > 0 ? (p(), E(z, {
|
|
3319
3318
|
key: 0,
|
|
3320
3319
|
size: "small"
|
|
3321
3320
|
}, {
|
|
@@ -3353,7 +3352,7 @@ const rr = { render: sr }, ar = { class: "toolbar" }, lr = { class: "tool-button
|
|
|
3353
3352
|
]),
|
|
3354
3353
|
_: 1
|
|
3355
3354
|
}, 8, ["label"]),
|
|
3356
|
-
(p(!0), V(
|
|
3355
|
+
(p(!0), V(ce, null, ge((W = (J = B.pageConfig) == null ? void 0 : J.detailPage) == null ? void 0 : W.tabs, (ne) => {
|
|
3357
3356
|
var se;
|
|
3358
3357
|
return p(), E(Y, {
|
|
3359
3358
|
label: C(t)((se = ne.name) != null ? se : "")
|
|
@@ -3461,7 +3460,7 @@ const rr = { render: sr }, ar = { class: "toolbar" }, lr = { class: "tool-button
|
|
|
3461
3460
|
}), (b, x) => {
|
|
3462
3461
|
var M;
|
|
3463
3462
|
const N = k("el-scrollbar");
|
|
3464
|
-
return p(), V(
|
|
3463
|
+
return p(), V(ce, null, [
|
|
3465
3464
|
w("h1", wr, R(C(t)((M = l.name) != null ? M : "")), 1),
|
|
3466
3465
|
g(N, null, {
|
|
3467
3466
|
default: m(() => {
|