yc-vep-ui 0.3.16 → 0.3.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{entry-Ml2h_886.js → entry-yw7rjYcO.js} +67 -59
- package/dist/entry.d.ts +17 -23
- package/dist/hooks/index.js +1 -1
- package/dist/vep-ui.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Fragment as e, computed as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createPropsRestProxy as o, createSlots as s, createTextVNode as c, createVNode as l, defineComponent as u, getCurrentInstance as d, h as f, isRef as p, isVNode as m, mergeModels as h, mergeProps as g, nextTick as _, normalizeClass as v, normalizeStyle as y, onMounted as b, onUnmounted as x, openBlock as S, reactive as C, readonly as w, ref as T, renderList as E, renderSlot as D, resolveComponent as O, resolveDirective as ee, resolveDynamicComponent as k, setBlockTracking as A, shallowRef as
|
|
1
|
+
import { Fragment as e, computed as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createPropsRestProxy as o, createSlots as s, createTextVNode as c, createVNode as l, defineComponent as u, getCurrentInstance as d, h as f, isRef as p, isVNode as m, mergeModels as h, mergeProps as g, nextTick as _, normalizeClass as v, normalizeStyle as y, onMounted as b, onUnmounted as x, openBlock as S, reactive as C, readonly as w, ref as T, renderList as E, renderSlot as D, resolveComponent as O, resolveDirective as ee, resolveDynamicComponent as k, setBlockTracking as A, shallowRef as j, toDisplayString as M, toRaw as te, toValue as N, unref as P, useAttrs as ne, useCssVars as re, useModel as ie, watch as F, watchEffect as ae, withCtx as I, withDirectives as oe, withKeys as se, withModifiers as ce } from "vue";
|
|
2
2
|
import { AiEditor as le } from "aieditor";
|
|
3
3
|
//#region \0rolldown/runtime.js
|
|
4
4
|
var ue = Object.defineProperty, L = (e, t) => {
|
|
@@ -36,7 +36,7 @@ var ue = Object.defineProperty, L = (e, t) => {
|
|
|
36
36
|
fn: I(() => [a("div", { style: y(i.value) }, [e.icon ? (S(), n(l, { key: 0 }, {
|
|
37
37
|
default: I(() => [(S(), n(k(e.icon), { color: "#2563eb" }))]),
|
|
38
38
|
_: 1
|
|
39
|
-
})) : r("", !0), o[0] || (A(-1, !0), (o[0] = a("h4", null, [c(
|
|
39
|
+
})) : r("", !0), o[0] || (A(-1, !0), (o[0] = a("h4", null, [c(M(e.title), 1)])).cacheIndex = 0, A(1), o[0])], 4)]),
|
|
40
40
|
key: "0"
|
|
41
41
|
} : void 0]), 1040, ["class"]);
|
|
42
42
|
};
|
|
@@ -385,7 +385,7 @@ var je = {
|
|
|
385
385
|
key: 1,
|
|
386
386
|
"line-clamp": t.column?.lineClamp || 2
|
|
387
387
|
}, {
|
|
388
|
-
default: I(() => [c(
|
|
388
|
+
default: I(() => [c(M(e[t.column.prop]), 1)]),
|
|
389
389
|
_: 2
|
|
390
390
|
}, 1032, ["line-clamp"]))]),
|
|
391
391
|
_: 1
|
|
@@ -808,9 +808,9 @@ function Et(e) {
|
|
|
808
808
|
function Dt(e, t) {
|
|
809
809
|
let n = Object.fromEntries(Object.entries(je).map(([n, r]) => [n, (i = {}) => ({
|
|
810
810
|
props: {
|
|
811
|
-
...i,
|
|
812
811
|
data: t,
|
|
813
|
-
prop: e.prop
|
|
812
|
+
prop: e.prop,
|
|
813
|
+
...i
|
|
814
814
|
},
|
|
815
815
|
type: n,
|
|
816
816
|
component: r
|
|
@@ -957,7 +957,7 @@ var Ot = { style: {
|
|
|
957
957
|
icon: p.expand ? P($e) : P(Ye),
|
|
958
958
|
onClick: o[0] ||= (e) => p.expand = !p.expand
|
|
959
959
|
}, {
|
|
960
|
-
default: I(() => [c(
|
|
960
|
+
default: I(() => [c(M(p.expand ? "收起" : "展开"), 1)]),
|
|
961
961
|
_: 1
|
|
962
962
|
}, 8, ["icon"])) : r("", !0),
|
|
963
963
|
l(b, {
|
|
@@ -1023,7 +1023,7 @@ var Ot = { style: {
|
|
|
1023
1023
|
],
|
|
1024
1024
|
setup(a, { expose: o, emit: s }) {
|
|
1025
1025
|
re((e) => ({ v57cec5bb: P(ee) / 2 }));
|
|
1026
|
-
let u = s, d = a, { fields: f, labelWidth: p = "100px", valueWidth: h = "auto", omitFields: _ = [], rules: b = C({}), labelPosition: x = "top", valueModel: w = "default", column: ee = 24 } = d, A = T(0),
|
|
1026
|
+
let u = s, d = a, { fields: f, labelWidth: p = "100px", valueWidth: h = "auto", omitFields: _ = [], rules: b = C({}), labelPosition: x = "top", valueModel: w = "default", column: ee = 24 } = d, A = T(0), j = T(), N = t(() => d.modelValue !== void 0), ne = C({}), ie = t(() => N.value ? d.modelValue : d.model || ne), F = t({
|
|
1027
1027
|
get: () => ie.value,
|
|
1028
1028
|
set: (e) => {
|
|
1029
1029
|
N.value && u("update:modelValue", e);
|
|
@@ -1040,26 +1040,26 @@ var Ot = { style: {
|
|
|
1040
1040
|
}), e;
|
|
1041
1041
|
});
|
|
1042
1042
|
async function se() {
|
|
1043
|
-
await
|
|
1043
|
+
await j.value?.validate().catch(() => !1) && u("submit", te(ie.value));
|
|
1044
1044
|
}
|
|
1045
1045
|
function ce() {
|
|
1046
1046
|
let e = {};
|
|
1047
1047
|
Object.keys(ie.value).forEach((t) => {
|
|
1048
1048
|
_.includes(t) || (e[t] = void 0);
|
|
1049
|
-
}), Object.assign(ie.value, e), A.value += 1, u("reset",
|
|
1049
|
+
}), Object.assign(ie.value, e), A.value += 1, u("reset", te(ie.value));
|
|
1050
1050
|
}
|
|
1051
1051
|
function le() {
|
|
1052
|
-
return
|
|
1052
|
+
return te(ie.value);
|
|
1053
1053
|
}
|
|
1054
1054
|
function ue(e) {
|
|
1055
1055
|
Object.assign(ie.value, e);
|
|
1056
1056
|
}
|
|
1057
1057
|
function L() {
|
|
1058
|
-
|
|
1058
|
+
j.value?.clearValidate();
|
|
1059
1059
|
}
|
|
1060
1060
|
async function de() {
|
|
1061
1061
|
return new Promise((e) => {
|
|
1062
|
-
|
|
1062
|
+
j.value?.validate((t, n) => e(n));
|
|
1063
1063
|
});
|
|
1064
1064
|
}
|
|
1065
1065
|
return o({
|
|
@@ -1072,7 +1072,7 @@ var Ot = { style: {
|
|
|
1072
1072
|
let o = O("el-input"), s = O("el-form-item"), u = O("el-form"), d = O("el-button");
|
|
1073
1073
|
return S(), i(e, null, [l(u, g({
|
|
1074
1074
|
ref_key: "uiFormRef",
|
|
1075
|
-
ref:
|
|
1075
|
+
ref: j,
|
|
1076
1076
|
model: F.value
|
|
1077
1077
|
}, t.$attrs, {
|
|
1078
1078
|
rules: oe.value,
|
|
@@ -1111,7 +1111,7 @@ var Ot = { style: {
|
|
|
1111
1111
|
"modelValue",
|
|
1112
1112
|
"onUpdate:modelValue",
|
|
1113
1113
|
"class"
|
|
1114
|
-
])) : (S(), i("span", Mt,
|
|
1114
|
+
])) : (S(), i("span", Mt, M(P(V)(r, F.value) || "-"), 1)), (S(!0), i(e, null, E(r.slots, (e) => D(t.$slots, "default", { form: F.value }, () => [m(P(V)(e, F.value)) ? (S(), n(k(P(V)(e, F.value)), {
|
|
1115
1115
|
key: 0,
|
|
1116
1116
|
style: { display: "inline-block" }
|
|
1117
1117
|
})) : P(V)(e, F.value).component ? (S(), n(k(P(V)(e, F.value).component), g({
|
|
@@ -1136,7 +1136,7 @@ var Ot = { style: {
|
|
|
1136
1136
|
"placeholder",
|
|
1137
1137
|
"style",
|
|
1138
1138
|
"class"
|
|
1139
|
-
])) : (S(), i("span", Nt,
|
|
1139
|
+
])) : (S(), i("span", Nt, M(P(V)(e, F.value) || "-"), 1))], !0)), 256))], 64)) : (S(), n(o, {
|
|
1140
1140
|
key: 1,
|
|
1141
1141
|
modelValue: F.value[r.prop],
|
|
1142
1142
|
"onUpdate:modelValue": (e) => F.value[r.prop] = e,
|
|
@@ -1338,7 +1338,7 @@ var Ot = { style: {
|
|
|
1338
1338
|
"highlight-current": !0,
|
|
1339
1339
|
"filter-method": b
|
|
1340
1340
|
}), {
|
|
1341
|
-
default: I((s) => [s?.data ? (S(), i("div", Wt, [a("div", Gt, [s.data?.children?.length ? (S(), i("span", Kt, "📁")) : r("", !0), c(" " +
|
|
1341
|
+
default: I((s) => [s?.data ? (S(), i("div", Wt, [a("div", Gt, [s.data?.children?.length ? (S(), i("span", Kt, "📁")) : r("", !0), c(" " + M(s.data?.[e.props?.label || "label"]) + " " + M(y.value && s.data?.children?.length ? `(${s.data.children.length})` : ""), 1)]), p.hideNodeHandle ? r("", !0) : (S(), n(h, {
|
|
1342
1342
|
key: 0,
|
|
1343
1343
|
trigger: "click"
|
|
1344
1344
|
}, {
|
|
@@ -1428,7 +1428,7 @@ var Ot = { style: {
|
|
|
1428
1428
|
active: e === u.value
|
|
1429
1429
|
}),
|
|
1430
1430
|
onClick: (t) => f(e)
|
|
1431
|
-
}, [a("span", null,
|
|
1431
|
+
}, [a("span", null, M(e[o.props?.label || "label"]), 1), D(t.$slots, "itemHandle", { data: e }, void 0, !0)], 10, en))), 128))], 16)), [[P(o.vInfiniteScroll), o.vInfiniteScroll]]),
|
|
1432
1432
|
o.loading.value ? (S(), i("p", tn, "loading...")) : r("", !0)
|
|
1433
1433
|
]);
|
|
1434
1434
|
};
|
|
@@ -1458,7 +1458,7 @@ var Ot = { style: {
|
|
|
1458
1458
|
return (o, s) => {
|
|
1459
1459
|
let c = O("el-descriptions-item"), u = O("el-descriptions");
|
|
1460
1460
|
return S(), i(e, null, [
|
|
1461
|
-
t.title ? (S(), i("h4", on,
|
|
1461
|
+
t.title ? (S(), i("h4", on, M(t.title), 1)) : r("", !0),
|
|
1462
1462
|
D(o.$slots, "title", {}, void 0, !0),
|
|
1463
1463
|
l(u, g({ column: t.column }, a, { class: "ui-descriptions" }), {
|
|
1464
1464
|
default: I(() => [(S(!0), i(e, null, E(t.fields, (e) => (S(), n(c, {
|
|
@@ -1474,7 +1474,7 @@ var Ot = { style: {
|
|
|
1474
1474
|
clearable: !0,
|
|
1475
1475
|
key: e.prop,
|
|
1476
1476
|
style: { display: "inline-block" }
|
|
1477
|
-
}), null, 16, ["modelValue", "onUpdate:modelValue"])) : (S(), i("span", sn,
|
|
1477
|
+
}), null, 16, ["modelValue", "onUpdate:modelValue"])) : (S(), i("span", sn, M(t.data[e.prop] || "-"), 1))]),
|
|
1478
1478
|
_: 2
|
|
1479
1479
|
}, 1032, ["label", "span"]))), 128))]),
|
|
1480
1480
|
_: 1
|
|
@@ -1705,14 +1705,14 @@ var vn = /* @__PURE__ */ u({
|
|
|
1705
1705
|
n ? e.data.children = _n([...r, ...e.data.children || []], "code") : e.children = _n([...r, ...e.children || []], "code"), y.loading = !1;
|
|
1706
1706
|
}), t?.(e?.children || []));
|
|
1707
1707
|
}
|
|
1708
|
-
function
|
|
1708
|
+
function j(e, { data: t }) {
|
|
1709
1709
|
let n = y.searchData?.length > 0;
|
|
1710
1710
|
return t?.account ? e("div", { style: { display: "flex" } }, [e("el-icon", { style: {
|
|
1711
1711
|
width: "14px",
|
|
1712
1712
|
height: "14px"
|
|
1713
1713
|
} }, e(Ue)), n ? t.fullName : t.name]) : n ? t.fullName : t.name;
|
|
1714
1714
|
}
|
|
1715
|
-
function
|
|
1715
|
+
function te(e) {
|
|
1716
1716
|
if (x.value = x.value.filter((t) => t !== e), m.value) {
|
|
1717
1717
|
let t = e.match(/\((.*?)\)/)?.[1];
|
|
1718
1718
|
_(() => {
|
|
@@ -1803,7 +1803,7 @@ var vn = /* @__PURE__ */ u({
|
|
|
1803
1803
|
data: w.value,
|
|
1804
1804
|
props: { label: "fullName" },
|
|
1805
1805
|
"highlight-current": !0,
|
|
1806
|
-
"render-content":
|
|
1806
|
+
"render-content": j,
|
|
1807
1807
|
load: A,
|
|
1808
1808
|
onCheck: re,
|
|
1809
1809
|
"show-checkbox": "",
|
|
@@ -1813,12 +1813,12 @@ var vn = /* @__PURE__ */ u({
|
|
|
1813
1813
|
ref_key: "staffDialogRef",
|
|
1814
1814
|
ref: m,
|
|
1815
1815
|
"node-key": "code"
|
|
1816
|
-
}, null, 8, ["loading", "data"])]), a("div", xn, [a("div", Sn, [n[4] ||= a("h3", null, "已选择", -1), x.value.length ? (S(), i("span", Cn, "已选择" +
|
|
1816
|
+
}, null, 8, ["loading", "data"])]), a("div", xn, [a("div", Sn, [n[4] ||= a("h3", null, "已选择", -1), x.value.length ? (S(), i("span", Cn, "已选择" + M(x.value.length) + "个用户", 1)) : r("", !0)]), a("div", wn, [(S(!0), i(e, null, E(x.value, (e) => (S(), i("li", {
|
|
1817
1817
|
key: e,
|
|
1818
1818
|
class: "staff-item"
|
|
1819
|
-
}, [a("span", null,
|
|
1819
|
+
}, [a("span", null, M(e), 1), l(d, {
|
|
1820
1820
|
color: "red",
|
|
1821
|
-
onClick: ce((t) =>
|
|
1821
|
+
onClick: ce((t) => te(e), ["stop"])
|
|
1822
1822
|
}, {
|
|
1823
1823
|
default: I(() => [l(P(Ve))]),
|
|
1824
1824
|
_: 1
|
|
@@ -1902,7 +1902,7 @@ var vn = /* @__PURE__ */ u({
|
|
|
1902
1902
|
size: P(o),
|
|
1903
1903
|
disabled: P(d)
|
|
1904
1904
|
}, {
|
|
1905
|
-
default: I(() => [c(
|
|
1905
|
+
default: I(() => [c(M(P(i)), 1)]),
|
|
1906
1906
|
_: 1
|
|
1907
1907
|
}, 8, [
|
|
1908
1908
|
"icon",
|
|
@@ -2093,34 +2093,42 @@ function Vn(e, t = {}) {
|
|
|
2093
2093
|
})
|
|
2094
2094
|
}, d = T(!1), f = T(null), m = T(null), h = C({}), g = !1;
|
|
2095
2095
|
async function v() {
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2096
|
+
return new Promise((t, n) => {
|
|
2097
|
+
y && clearTimeout(y), y = setTimeout(async () => {
|
|
2098
|
+
if (y = null, g) {
|
|
2099
|
+
n(/* @__PURE__ */ Error("请求正在进行中,请勿重复触发"));
|
|
2100
|
+
return;
|
|
2101
|
+
}
|
|
2102
|
+
g = !0, d.value = !0, m.value = null;
|
|
2103
|
+
try {
|
|
2104
|
+
let o = hn + e;
|
|
2105
|
+
if (i?.(u) === !1) {
|
|
2106
|
+
n(/* @__PURE__ */ Error("请求被 onBefore 钩子取消"));
|
|
2107
|
+
return;
|
|
2108
|
+
}
|
|
2109
|
+
if (r === "GET") {
|
|
2110
|
+
let e = new URLSearchParams(te(h)).toString();
|
|
2111
|
+
e && (o = `${o}?${e}`);
|
|
2112
|
+
} else u.body = JSON.stringify(te(h));
|
|
2113
|
+
let s = await (await fetch(o, u)).json();
|
|
2114
|
+
s.code ? ["return.optSuccess", "ok"].includes(s.code) || z.Message.error(s.message || "未知错误!") : s.data?.success || z.Message.error(s.message || "未知错误!"), f.value = s, a?.(s), t(s);
|
|
2115
|
+
} catch (e) {
|
|
2116
|
+
let t = e instanceof Error ? e : Error(String(e));
|
|
2117
|
+
m.value = t, console.error("请求发生错误:", t), o?.(t), n(t);
|
|
2118
|
+
} finally {
|
|
2119
|
+
d.value = !1, g = !1, s?.();
|
|
2120
|
+
}
|
|
2121
|
+
}, 300);
|
|
2122
|
+
});
|
|
2114
2123
|
}
|
|
2115
|
-
let y = null
|
|
2124
|
+
let y = null;
|
|
2116
2125
|
ae(() => {
|
|
2117
2126
|
let e = N(c.defaultParams);
|
|
2118
|
-
Object.keys(h).forEach((e) => delete h[e]), Object.assign(h, e || {})
|
|
2119
|
-
let e = p(t.ready) ? t.ready.value : t.ready ?? !0, r = JSON.stringify(M(h));
|
|
2120
|
-
n && e && !g && (r !== b || e !== x) && (b = r, x = e, _(() => v()));
|
|
2121
|
-
}, 10);
|
|
2127
|
+
Object.keys(h).forEach((e) => delete h[e]), Object.assign(h, e || {});
|
|
2122
2128
|
});
|
|
2123
|
-
|
|
2129
|
+
let b = p(t.ready) ? t.ready.value : t.ready ?? !0;
|
|
2130
|
+
n && b && !g && _(() => v());
|
|
2131
|
+
function x(e) {
|
|
2124
2132
|
for (let e in h) h[e] = void 0;
|
|
2125
2133
|
Object.assign(h, e);
|
|
2126
2134
|
}
|
|
@@ -2130,7 +2138,7 @@ function Vn(e, t = {}) {
|
|
|
2130
2138
|
data: f,
|
|
2131
2139
|
error: m,
|
|
2132
2140
|
params: h,
|
|
2133
|
-
setParams:
|
|
2141
|
+
setParams: x
|
|
2134
2142
|
};
|
|
2135
2143
|
}
|
|
2136
2144
|
//#endregion
|
|
@@ -2146,7 +2154,7 @@ function Hn(e, t) {
|
|
|
2146
2154
|
table: "table",
|
|
2147
2155
|
total: "total"
|
|
2148
2156
|
}
|
|
2149
|
-
}), r =
|
|
2157
|
+
}), r = j([]), i = C({
|
|
2150
2158
|
total: 0,
|
|
2151
2159
|
page: 1,
|
|
2152
2160
|
pageSize: 10
|
|
@@ -2319,7 +2327,7 @@ function Zn(e) {
|
|
|
2319
2327
|
return Bn.post("/dictionary/mergeDictionaryValue", e);
|
|
2320
2328
|
}
|
|
2321
2329
|
function Qn(e) {
|
|
2322
|
-
let { page: t = 1, pageSize: n = 10 } = e || {}, r =
|
|
2330
|
+
let { page: t = 1, pageSize: n = 10 } = e || {}, r = j([]), i = j([]), { loading: a, execute: o } = Vn("/dictionary/pageQueryDictionaryValue", {
|
|
2323
2331
|
method: "POST",
|
|
2324
2332
|
defaultParams: {
|
|
2325
2333
|
dictionaryCode: e.code,
|
|
@@ -4395,7 +4403,7 @@ function Ti(e) {
|
|
|
4395
4403
|
nextAssignee: c.nextAssigneeVisible ? l.nextAssignee : void 0,
|
|
4396
4404
|
nextActivity: c.nextActivityVisible ? l.nextActivity : void 0
|
|
4397
4405
|
});
|
|
4398
|
-
s.code === "ok" && s.data ? (z.Message.success("提交成功,
|
|
4406
|
+
s.code === "ok" && s.data ? (z.Message.success("提交成功, 即将刷新页面..."), console.log("res ->>", s)) : z.Message.error(s?.message || "提交失败");
|
|
4399
4407
|
}
|
|
4400
4408
|
async function p(e) {
|
|
4401
4409
|
c.code = e, c.nextActivityVisible = e === "back", c.nextAssigneeVisible = ["forward", "reassign"].includes(e), c.confirmVisible = ![
|
|
@@ -4536,7 +4544,7 @@ var Di = { key: 0 }, Oi = /* @__PURE__ */ u({
|
|
|
4536
4544
|
}),
|
|
4537
4545
|
l(r, { prop: "assigneeName" }, {
|
|
4538
4546
|
header: I(() => [...t[0] ||= [c("处理人 ", -1), a("span", { style: { color: "red" } }, "*", -1)]]),
|
|
4539
|
-
default: I(({ row: e, $index: t }) => [t === 0 ? (S(), i("span", Di,
|
|
4547
|
+
default: I(({ row: e, $index: t }) => [t === 0 ? (S(), i("span", Di, M(e.assigneeName), 1)) : (S(), n(o, {
|
|
4540
4548
|
key: 1,
|
|
4541
4549
|
ref: (e) => f.value[t] = e,
|
|
4542
4550
|
modelValue: e.assigneeName,
|
|
@@ -4658,7 +4666,7 @@ var Di = { key: 0 }, Oi = /* @__PURE__ */ u({
|
|
|
4658
4666
|
SoftwareReleaseProcess: "软件释放流程"
|
|
4659
4667
|
}, { btnActiveMaps: d, toFlowchart: f } = Ei({ processCode: s }), { processInfoRef: p, readScopeRef: m, remindRef: h, disabled: g, formData: _, states: v, confirmFields: y, baseFields: b, buttonClick: x, onConfirmSubmit: C } = Ti(o);
|
|
4660
4668
|
return (t, o) => {
|
|
4661
|
-
let w = O("el-button"), T = O("yc-form"), k = O("yc-card"), A = O("el-card"),
|
|
4669
|
+
let w = O("el-button"), T = O("yc-form"), k = O("yc-card"), A = O("el-card"), j = O("el-dialog"), te = ee("sticky");
|
|
4662
4670
|
return S(), i(e, null, [l(A, { style: { margin: "0px 120px" } }, {
|
|
4663
4671
|
default: I(() => [
|
|
4664
4672
|
oe((S(), i("div", ji, [P(v).buttonList.length ? (S(), i("div", Mi, [(S(!0), i(e, null, E(P(v).buttonList, (e) => (S(), n(w, {
|
|
@@ -4666,7 +4674,7 @@ var Di = { key: 0 }, Oi = /* @__PURE__ */ u({
|
|
|
4666
4674
|
type: P(d)?.get(e.code)?.[1] || "default",
|
|
4667
4675
|
onClick: (t) => P(x)(e.code)
|
|
4668
4676
|
}, {
|
|
4669
|
-
default: I(() => [c(
|
|
4677
|
+
default: I(() => [c(M(e.name), 1)]),
|
|
4670
4678
|
_: 2
|
|
4671
4679
|
}, 1032, ["type", "onClick"]))), 128)), l(w, {
|
|
4672
4680
|
icon: P(ht),
|
|
@@ -4674,7 +4682,7 @@ var Di = { key: 0 }, Oi = /* @__PURE__ */ u({
|
|
|
4674
4682
|
}, {
|
|
4675
4683
|
default: I(() => [...o[1] ||= [c("流程图", -1)]]),
|
|
4676
4684
|
_: 1
|
|
4677
|
-
}, 8, ["icon", "onClick"])])) : r("", !0), a("h3", null,
|
|
4685
|
+
}, 8, ["icon", "onClick"])])) : r("", !0), a("h3", null, M(u[P(s)]), 1)])), [[te]]),
|
|
4678
4686
|
l(k, {
|
|
4679
4687
|
icon: P(dt),
|
|
4680
4688
|
title: "基本信息",
|
|
@@ -4711,7 +4719,7 @@ var Di = { key: 0 }, Oi = /* @__PURE__ */ u({
|
|
|
4711
4719
|
}, null, 8, ["form-data", "disabled"])
|
|
4712
4720
|
]),
|
|
4713
4721
|
_: 3
|
|
4714
|
-
}), l(
|
|
4722
|
+
}), l(j, {
|
|
4715
4723
|
modelValue: P(v).confirmVisible,
|
|
4716
4724
|
"onUpdate:modelValue": o[0] ||= (e) => P(v).confirmVisible = e,
|
|
4717
4725
|
"destroy-on-close": "",
|
package/dist/entry.d.ts
CHANGED
|
@@ -1,25 +1,19 @@
|
|
|
1
|
-
import { App } from 'vue'
|
|
2
|
-
export type * from './components/type'
|
|
3
|
-
export type
|
|
4
|
-
export type
|
|
5
|
-
export type
|
|
6
|
-
export type
|
|
7
|
-
export type
|
|
8
|
-
export type
|
|
9
|
-
export type
|
|
10
|
-
export type
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export declare function setHostVue(vue: any): void;
|
|
15
|
-
export declare function getHostVue(): any;
|
|
1
|
+
import type { App } from 'vue'
|
|
2
|
+
export type * from './components/type'
|
|
3
|
+
export type { IColumn, ITableProps, ITableInstance, IRender, IRenderProps, IExtra, IColumnRenderProps } from './components/Table/type'
|
|
4
|
+
export type { IField, IFilterProps, IFieldSlot, IFilterRenderProps } from './components/Filter/type'
|
|
5
|
+
export type { IFormProps, IFormInstance } from './components/Form/type'
|
|
6
|
+
export type { IDescriptionsProps, IDescriptionsField } from './components/Descriptions/type'
|
|
7
|
+
export type { ITreeProps } from './components/Tree/type'
|
|
8
|
+
export type { IInfiniteScrollProps } from './components/InfiniteScroll/type'
|
|
9
|
+
export type { IEditorProps } from './components/Editor/type'
|
|
10
|
+
export type { ICardProps } from './components/Card/type'
|
|
11
|
+
export * from './components'
|
|
12
|
+
export declare function setHostVue(vue: any): void
|
|
13
|
+
export declare function getHostVue(): any
|
|
16
14
|
export interface YcVepUiOptions {
|
|
17
|
-
|
|
18
|
-
install: (app: App, ...args: any[]) => void;
|
|
19
|
-
};
|
|
15
|
+
elementPlus?: { install: (app: App, ...args: any[]) => void }
|
|
20
16
|
}
|
|
21
|
-
declare const ycPlugin: {
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
export default ycPlugin;
|
|
25
|
-
export { ycPlugin };
|
|
17
|
+
declare const ycPlugin: { install(app: App, options?: YcVepUiOptions): void }
|
|
18
|
+
export default ycPlugin
|
|
19
|
+
export { ycPlugin }
|
package/dist/hooks/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as e, d as t, l as n, o as r, s as i, u as a } from "../entry-
|
|
1
|
+
import { c as e, d as t, l as n, o as r, s as i, u as a } from "../entry-yw7rjYcO.js";
|
|
2
2
|
export { i as useDictionary, t as useFetch, e as useRoute, n as useRouter, a as useTable, r as useUser };
|
package/dist/vep-ui.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { S as e, _ as t, a as n, b as r, f as i, g as a, h as o, i as s, m as c, n as l, p as u, r as d, t as f, v as p, x as m, y as h } from "./entry-
|
|
1
|
+
import { S as e, _ as t, a as n, b as r, f as i, g as a, h as o, i as s, m as c, n as l, p as u, r as d, t as f, v as p, x as m, y as h } from "./entry-yw7rjYcO.js";
|
|
2
2
|
export { e as UiCard, o as UiDescriptions, c as UiDialog, p as UiEditor, r as UiFilter, h as UiForm, a as UiInfiniteScroll, u as UiStaffSelect, m as UiTable, t as UiTree, i as UiUpload, s as YcApproval, d as default, d as ycPlugin, f as getHostVue, n as hooks, l as setHostVue };
|