@skyfox2000/webui 1.3.4 → 1.3.5
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/lib/assets/modules/{file-upload-BBlFaIXB.js → file-upload-C0twqMV5.js} +1 -1
- package/lib/assets/modules/{index-BG1SqSVl.js → index-C4CryM-R.js} +1 -1
- package/lib/assets/modules/{index-4kDAt8nS.js → index-CKJIxasX.js} +2 -2
- package/lib/assets/modules/{index-m5rogIyM.js → index-D1XAa1Uo.js} +2 -2
- package/lib/assets/modules/{menuTabs-tPIz4a89.js → menuTabs-BrYQa4UO.js} +2 -2
- package/lib/assets/modules/{toolIcon-DwWoD9TN.js → toolIcon-B-g9pyE4.js} +1 -1
- package/lib/assets/modules/{uploadList-D_Z-Y2tw.js → uploadList-0f2FA_5s.js} +489 -454
- package/lib/assets/modules/{uploadList-Da7mQUNK.js → uploadList-DCWRIxPJ.js} +4 -4
- package/lib/components/content/table/index.vue.d.ts +95 -4
- package/lib/es/AceEditor/index.js +3 -3
- package/lib/es/BasicLayout/index.js +3 -3
- package/lib/es/Error403/index.js +1 -1
- package/lib/es/Error404/index.js +1 -1
- package/lib/es/ExcelForm/index.js +28 -21
- package/lib/es/UploadForm/index.js +4 -4
- package/lib/typings/option.d.ts +2 -2
- package/lib/utils/options.d.ts +2 -2
- package/lib/webui.css +1 -1
- package/lib/webui.es.js +371 -374
- package/package.json +1 -1
- package/src/components/common/loading/index.vue +1 -1
- package/src/components/content/dialog/excelForm.vue +9 -8
- package/src/components/content/table/index.vue +9 -6
- package/src/components/form/autoComplete/index.vue +9 -3
- package/src/components/form/cascader/index.vue +8 -6
- package/src/typings/option.d.ts +2 -2
- package/src/utils/options.ts +80 -22
- package/src/utils/table.ts +15 -2
package/lib/webui.es.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { u as
|
|
2
|
-
import { a9 as
|
|
3
|
-
import { A as
|
|
1
|
+
import { u as Je, i as Z, a as me, c as Xe, P as j, o as Ee, b as Ze, d as ea, e as Pe, r as ce, f as aa, g as ta, h as Fe, j as la, k as ke, l as sa, _ as ra, m as oa, O as Ne, q as Me, n as na, p as ia, s as L, t as ca, v as ua, w as da, x as pa, y as fa, z as va, A as Q, B as ma, C as ha, D as ga, E as Re } from "./assets/modules/uploadList-0f2FA_5s.js";
|
|
2
|
+
import { a9 as Cl, N as Tl, Q as $l, U as Il, a8 as Dl, a6 as El, a7 as Pl, aa as Fl, X as Nl, S as Ml, a4 as Rl, a1 as Ol, L as Al, a3 as Bl, T as Ll, G as Ul, Z as zl, a2 as Yl, a5 as Vl, M as Wl, R as Kl, ab as jl, F as Hl, a0 as Ql, ac as ql, W as Gl, Y as Jl, V as Xl, ad as Zl, H as es, I as as, ae as ts, K as ls, af as ss, J as rs, $ as os } from "./assets/modules/uploadList-0f2FA_5s.js";
|
|
3
|
+
import { A as is, U as cs, a as us, g as ds, c as ps, d as fs, p as vs, u as ms, b as hs } from "./assets/modules/file-upload-C0twqMV5.js";
|
|
4
4
|
import { EnvConfig as we } from "@skyfox2000/microbase";
|
|
5
|
-
import { FrontCache as re, httpPost as Oe, ResStatus as Ae, SERVER_HOST as
|
|
5
|
+
import { FrontCache as re, httpPost as Oe, ResStatus as Ae, SERVER_HOST as ba, fieldMapping as oe } from "@skyfox2000/fapi";
|
|
6
6
|
import he from "vue-m-message";
|
|
7
|
-
import { defineComponent as S, createBlock as b, openBlock as m, withModifiers as
|
|
7
|
+
import { defineComponent as S, createBlock as b, openBlock as m, withModifiers as ae, unref as l, useAttrs as X, withCtx as h, createElementVNode as $, createVNode as k, mergeProps as F, renderSlot as I, normalizeStyle as ue, toDisplayString as P, createCommentVNode as y, ref as x, provide as ge, watch as T, onMounted as V, createTextVNode as M, inject as ne, resolveDirective as le, withDirectives as H, computed as J, createElementBlock as w, normalizeClass as N, createSlots as Be, useSlots as xa, Fragment as O, renderList as U, resolveDynamicComponent as _a, onActivated as ya, shallowRef as ka, onUnmounted as wa, withKeys as Se } from "vue";
|
|
8
8
|
import "async-validator";
|
|
9
9
|
import fe from "dayjs";
|
|
10
|
-
import { Popover as
|
|
11
|
-
import { VueDraggableNext as
|
|
12
|
-
import { d as We } from "./assets/modules/uploadList-
|
|
13
|
-
import { C as
|
|
14
|
-
import { c as Ke } from "./assets/modules/index-
|
|
15
|
-
import { _ as
|
|
16
|
-
import { _ as B } from "./assets/modules/index-
|
|
17
|
-
import { _ as z } from "./assets/modules/toolIcon-
|
|
18
|
-
import { a as
|
|
19
|
-
import { _ as
|
|
20
|
-
import { _ as
|
|
10
|
+
import { Popover as Sa, theme as Le, Drawer as Ca, Space as te, Form as Ue, message as Ta, FormItem as ze, ConfigProvider as Ce, Popconfirm as $a, Button as Ye, DropdownButton as Ia, Menu as be, MenuItem as xe, Dropdown as ve, Checkbox as Da, Table as Ve, Tree as Ea, Cascader as Pa, DatePicker as Fa, Input as ee, InputPassword as Na, InputNumber as Ma, RangePicker as Ra, Textarea as Oa, Transfer as Aa, TreeSelect as Ba, LayoutContent as La } from "ant-design-vue";
|
|
11
|
+
import { VueDraggableNext as Ua } from "vue-draggable-next";
|
|
12
|
+
import { d as We } from "./assets/modules/uploadList-DCWRIxPJ.js";
|
|
13
|
+
import { C as bs, U as xs, a as _s, p as ys } from "./assets/modules/uploadList-DCWRIxPJ.js";
|
|
14
|
+
import { c as Ke } from "./assets/modules/index-CKJIxasX.js";
|
|
15
|
+
import { _ as ws, b as Ss, a as Cs, d as Ts, e as $s, g as Is, f as Ds, n as Es, p as Ps, t as Fs, v as Ns } from "./assets/modules/index-CKJIxasX.js";
|
|
16
|
+
import { _ as B } from "./assets/modules/index-C4CryM-R.js";
|
|
17
|
+
import { _ as z } from "./assets/modules/toolIcon-B-g9pyE4.js";
|
|
18
|
+
import { a as Rs } from "./assets/modules/toolIcon-B-g9pyE4.js";
|
|
19
|
+
import { _ as As, b as Bs, c as Ls, d as Us, e as zs, I as Ys, f as Vs, g as Ws, a as Ks } from "./assets/modules/menuTabs-BrYQa4UO.js";
|
|
20
|
+
import { _ as Hs } from "./assets/modules/index-D1XAa1Uo.js";
|
|
21
21
|
import { _ as q } from "./assets/modules/_plugin-vue_export-helper-CHgC5LLL.js";
|
|
22
22
|
const Te = (s, t, e, a = "remove") => {
|
|
23
23
|
if (!e)
|
|
@@ -33,18 +33,18 @@ const Te = (s, t, e, a = "remove") => {
|
|
|
33
33
|
}
|
|
34
34
|
}, $e = (s) => {
|
|
35
35
|
var c, p;
|
|
36
|
-
const t =
|
|
37
|
-
if (
|
|
36
|
+
const t = Je(), { url: e, role: a, permit: n } = s;
|
|
37
|
+
if (Z(a) && Z(n))
|
|
38
38
|
return !0;
|
|
39
39
|
const i = e ?? ((p = (c = window.location.hash) == null ? void 0 : c.split("#")) == null ? void 0 : p[1]) ?? window.location.pathname;
|
|
40
40
|
if (we.VITE_PERMISSION_MODE === "role")
|
|
41
|
-
return
|
|
41
|
+
return Z(a) ? !0 : t.hasRole(a);
|
|
42
42
|
if (we.VITE_PERMISSION_MODE === "permit") {
|
|
43
43
|
let d = !1, o = !1;
|
|
44
|
-
return
|
|
44
|
+
return Z(a) || (d = t.hasRole(a)), t.isAdmin() ? d : (Z(n) || (o = t.hasPermit(i, n)), d || o);
|
|
45
45
|
}
|
|
46
46
|
return !1;
|
|
47
|
-
},
|
|
47
|
+
}, za = {
|
|
48
48
|
mounted(s, t, e) {
|
|
49
49
|
const a = t.value || {}, n = t.arg || "remove", i = a.behavior || n, c = $e(a);
|
|
50
50
|
Te(s, e, c, i);
|
|
@@ -53,7 +53,7 @@ const Te = (s, t, e, a = "remove") => {
|
|
|
53
53
|
const a = t.value || {}, n = t.arg || "remove", i = a.behavior || n, c = $e(a);
|
|
54
54
|
Te(s, e, c, i);
|
|
55
55
|
}
|
|
56
|
-
},
|
|
56
|
+
}, Ya = {
|
|
57
57
|
mounted: (s, t) => {
|
|
58
58
|
s.addEventListener("keydown", (e) => {
|
|
59
59
|
e.key === "Enter" && t.value();
|
|
@@ -64,9 +64,9 @@ const Te = (s, t, e, a = "remove") => {
|
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
66
|
}, de = {
|
|
67
|
-
auth:
|
|
68
|
-
submit:
|
|
69
|
-
},
|
|
67
|
+
auth: za,
|
|
68
|
+
submit: Ya
|
|
69
|
+
}, Qt = (s, t) => ((t || Object.keys(de)).forEach((a) => {
|
|
70
70
|
a in de && s.directive(a, de[a]);
|
|
71
71
|
}), s), W = (s, t) => {
|
|
72
72
|
const e = s.find((a) => a.key === t);
|
|
@@ -95,11 +95,11 @@ const Te = (s, t, e, a = "remove") => {
|
|
|
95
95
|
}, 1)) : he.warning("未配置点击处理事件!");
|
|
96
96
|
}), t === 0 || c < t ? a.push(p) : n.push(p);
|
|
97
97
|
}), { buttons: a, menus: n };
|
|
98
|
-
}, K = (s, t) => s.disabled && typeof s.disabled == "function" ? s.disabled(t) : s.disabled,
|
|
98
|
+
}, K = (s, t) => s.disabled && typeof s.disabled == "function" ? s.disabled(t) : s.disabled, G = (s, t) => s.visible && typeof s.visible == "function" ? s.visible(t) : s.visible ?? !0, Va = (s, t) => {
|
|
99
99
|
t.reload.value = !0;
|
|
100
|
-
},
|
|
100
|
+
}, Wa = (s, t) => {
|
|
101
101
|
t.searchBar.value = !t.searchBar.value;
|
|
102
|
-
},
|
|
102
|
+
}, Ka = (s, t) => {
|
|
103
103
|
switch (t.tableSize.value) {
|
|
104
104
|
case "large":
|
|
105
105
|
t.tableSize.value = "middle";
|
|
@@ -111,29 +111,29 @@ const Te = (s, t, e, a = "remove") => {
|
|
|
111
111
|
t.tableSize.value = "large";
|
|
112
112
|
break;
|
|
113
113
|
}
|
|
114
|
-
},
|
|
114
|
+
}, ja = (s, t) => {
|
|
115
115
|
t.selectable.value = !t.selectable.value, t.selectable.value || (t.selectKeys.value = [], t.selectRows.value = []);
|
|
116
|
-
},
|
|
116
|
+
}, Ha = (s, t) => {
|
|
117
117
|
t.rowExpand.value = !t.rowExpand.value;
|
|
118
118
|
}, Ie = (s, t) => {
|
|
119
119
|
t.selectable.value = !t.selectable.value;
|
|
120
120
|
}, Y = (s, t, e, a, n) => {
|
|
121
|
-
(!s.confirm || n) && s.click && (t ? s.click(t, e, a) : s.click(null, e, a)),
|
|
122
|
-
},
|
|
121
|
+
(!s.confirm || n) && s.click && (t ? s.click(t, e, a) : s.click(null, e, a)), qa(s);
|
|
122
|
+
}, Qa = (s, t) => {
|
|
123
123
|
t.selectable.value = !t.selectable.value;
|
|
124
124
|
}, je = () => {
|
|
125
125
|
const s = me();
|
|
126
126
|
s.setFullscreen(!s.fullscreen);
|
|
127
|
-
},
|
|
127
|
+
}, qa = (s, t) => {
|
|
128
128
|
(s.icons || s.labels) && (s.iconStatus = s.iconStatus || 0, s.iconStatus += 1, s.labels && s.labels.length && (s.label = s.labels[s.iconStatus % s.labels.length]), s.icons && s.icons.length && (s.icon = s.icons[s.iconStatus % s.icons.length]));
|
|
129
|
-
},
|
|
129
|
+
}, Ga = (s, t) => {
|
|
130
130
|
t ? delete s.visible : s.visible = !1;
|
|
131
131
|
}, De = [
|
|
132
132
|
{
|
|
133
133
|
key: "Reload",
|
|
134
134
|
label: "刷新表格",
|
|
135
135
|
icon: "icon-reload",
|
|
136
|
-
click:
|
|
136
|
+
click: Va
|
|
137
137
|
},
|
|
138
138
|
{
|
|
139
139
|
key: "Query",
|
|
@@ -141,20 +141,20 @@ const Te = (s, t, e, a = "remove") => {
|
|
|
141
141
|
labels: ["展开搜索栏", "折叠搜索栏"],
|
|
142
142
|
icon: "icon-search",
|
|
143
143
|
iconStatus: 0,
|
|
144
|
-
click:
|
|
144
|
+
click: Wa
|
|
145
145
|
},
|
|
146
146
|
{
|
|
147
147
|
key: "RowHeight",
|
|
148
148
|
label: "行高调整",
|
|
149
149
|
icon: "icon-row-height",
|
|
150
|
-
click:
|
|
150
|
+
click: Ka
|
|
151
151
|
},
|
|
152
152
|
{
|
|
153
153
|
key: "tool.multiple.checkbox",
|
|
154
154
|
label: "显示多选框",
|
|
155
155
|
labels: ["显示多选框", "隐藏多选框"],
|
|
156
156
|
icon: "icon-checkbox",
|
|
157
|
-
click:
|
|
157
|
+
click: ja
|
|
158
158
|
},
|
|
159
159
|
{
|
|
160
160
|
key: "tool.expand.rows",
|
|
@@ -163,7 +163,7 @@ const Te = (s, t, e, a = "remove") => {
|
|
|
163
163
|
icon: "icon-row-collapse",
|
|
164
164
|
iconStatus: 0,
|
|
165
165
|
icons: ["icon-row-collapse", "icon-row-expand"],
|
|
166
|
-
click:
|
|
166
|
+
click: Ha
|
|
167
167
|
},
|
|
168
168
|
{
|
|
169
169
|
key: "tool.export.excel",
|
|
@@ -190,7 +190,7 @@ const Te = (s, t, e, a = "remove") => {
|
|
|
190
190
|
{
|
|
191
191
|
key: "tool.export.pdf.selected",
|
|
192
192
|
label: "选中的记录",
|
|
193
|
-
click:
|
|
193
|
+
click: Qa
|
|
194
194
|
}
|
|
195
195
|
]
|
|
196
196
|
},
|
|
@@ -212,7 +212,7 @@ const Te = (s, t, e, a = "remove") => {
|
|
|
212
212
|
icons: ["icon-fullscreen", "icon-exitscreen"],
|
|
213
213
|
click: je
|
|
214
214
|
}
|
|
215
|
-
],
|
|
215
|
+
], Ja = (s) => {
|
|
216
216
|
if (!s.tools || s.tools.length > 0) {
|
|
217
217
|
const t = [];
|
|
218
218
|
return s.tools ? t.push(...s.tools) : t.push(...De), { tools: _e(De, 0, t).buttons };
|
|
@@ -221,7 +221,7 @@ const Te = (s, t, e, a = "remove") => {
|
|
|
221
221
|
tools: []
|
|
222
222
|
};
|
|
223
223
|
};
|
|
224
|
-
var
|
|
224
|
+
var Xa = /* @__PURE__ */ ((s) => (s.SYS_CONFIG = "SYS_CONFIG_", s.APP_MENU = "APP_MENU_", s.DICT_TYPE = "DICT_TYPE_", s.HOST_INFO = "HOST_INFO_", s.APP_PERMITS = "APP_PERMITS_", s.USER_SETTINGS = "USER_SETTINGS_", s.DICT_DATA = "DICT_DATA_", s.COMMON_OPTIONS = "COMMON_OPTIONS_", s))(Xa || {});
|
|
225
225
|
class He {
|
|
226
226
|
/**
|
|
227
227
|
* 设置缓存数据(带服务器时间)
|
|
@@ -277,7 +277,7 @@ class He {
|
|
|
277
277
|
return t && typeof t == "object" && "data" in t && "lastTime" in t && typeof t.lastTime == "number";
|
|
278
278
|
}
|
|
279
279
|
}
|
|
280
|
-
async function
|
|
280
|
+
async function qt() {
|
|
281
281
|
try {
|
|
282
282
|
const s = await Oe(
|
|
283
283
|
{
|
|
@@ -310,7 +310,7 @@ async function Kt() {
|
|
|
310
310
|
console.error("检查缓存更新失败", s);
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
|
-
const
|
|
313
|
+
const Gt = async (s, t) => {
|
|
314
314
|
const e = await Ke(s, t);
|
|
315
315
|
if (e.success)
|
|
316
316
|
return {
|
|
@@ -320,7 +320,7 @@ const jt = async (s, t) => {
|
|
|
320
320
|
// 不再返回blob对象,使用URL即可
|
|
321
321
|
};
|
|
322
322
|
throw new Error(e.error || "CSV转Excel失败");
|
|
323
|
-
},
|
|
323
|
+
}, Jt = async (s, t) => {
|
|
324
324
|
try {
|
|
325
325
|
const a = new TextDecoder("utf-8").decode(s), n = await Ke(a, t);
|
|
326
326
|
return {
|
|
@@ -337,7 +337,7 @@ const jt = async (s, t) => {
|
|
|
337
337
|
error: e instanceof Error ? e.message : "未知错误"
|
|
338
338
|
};
|
|
339
339
|
}
|
|
340
|
-
},
|
|
340
|
+
}, Xt = async (s, t, e) => {
|
|
341
341
|
try {
|
|
342
342
|
const n = (await import("@json2csv/plainjs")).Parser, i = Qe(s), c = t.filter((v) => v.visible !== !1 && v.export !== !1), p = c.map((v) => ({
|
|
343
343
|
label: v.title,
|
|
@@ -356,7 +356,7 @@ const jt = async (s, t) => {
|
|
|
356
356
|
}, Qe = (s) => {
|
|
357
357
|
const t = /\{([^}]+)\}/g;
|
|
358
358
|
return s.replace(t, (e, a) => fe().format(a));
|
|
359
|
-
},
|
|
359
|
+
}, Zt = async (s, t, e, a) => {
|
|
360
360
|
try {
|
|
361
361
|
const i = (await import("@json2csv/plainjs")).Parser, c = Qe(s), p = t.filter((r) => r.visible !== !1), d = p.map((r) => ({
|
|
362
362
|
label: r.title,
|
|
@@ -365,30 +365,30 @@ const jt = async (s, t) => {
|
|
|
365
365
|
let o = e.page, f = e.gridQuery;
|
|
366
366
|
return a.api || (a.api = o.api), a.authorize === void 0 && (a.authorize = o.authorize), e.isGridLoading.value = !0, Oe(a, f).then((r) => {
|
|
367
367
|
if (e.isGridLoading.value = !1, (r == null ? void 0 : r.status) === Ae.SUCCESS && r.data) {
|
|
368
|
-
const u = r.data.map((
|
|
369
|
-
const _ = { ...
|
|
370
|
-
return p.forEach((
|
|
371
|
-
const
|
|
372
|
-
|
|
368
|
+
const u = r.data.map((A) => {
|
|
369
|
+
const _ = { ...A };
|
|
370
|
+
return p.forEach((E) => {
|
|
371
|
+
const R = E.dataIndex || E.key;
|
|
372
|
+
R && E.customRender && (_[R] = E.customRender(A[R], A));
|
|
373
373
|
}), _;
|
|
374
|
-
}), C = new i({ fields: d }).parse(u),
|
|
375
|
-
We(
|
|
374
|
+
}), C = new i({ fields: d }).parse(u), D = new Blob([`\uFEFF${C}`], { type: "text/csv" });
|
|
375
|
+
We(D, c);
|
|
376
376
|
}
|
|
377
377
|
});
|
|
378
378
|
} catch (n) {
|
|
379
379
|
console.error("导出失败:", n), he.error("文件导出失败,请稍后重试");
|
|
380
380
|
}
|
|
381
|
-
},
|
|
381
|
+
}, el = /* @__PURE__ */ S({
|
|
382
382
|
__name: "fullscreen",
|
|
383
383
|
setup(s) {
|
|
384
384
|
const t = me();
|
|
385
385
|
return (e, a) => (m(), b(z, {
|
|
386
|
-
onClick:
|
|
386
|
+
onClick: ae(l(je), ["stop"]),
|
|
387
387
|
icon: l(t).fullscreen ? "icon-exitscreen" : "icon-fullscreen",
|
|
388
388
|
class: "w-[17px] h-[17px]"
|
|
389
389
|
}, null, 8, ["onClick", "icon"]));
|
|
390
390
|
}
|
|
391
|
-
}),
|
|
391
|
+
}), Za = { class: "ml-2" }, et = /* @__PURE__ */ S({
|
|
392
392
|
inheritAttrs: !1,
|
|
393
393
|
__name: "helper",
|
|
394
394
|
props: {
|
|
@@ -396,10 +396,10 @@ const jt = async (s, t) => {
|
|
|
396
396
|
maxWidth: {}
|
|
397
397
|
},
|
|
398
398
|
setup(s) {
|
|
399
|
-
const t =
|
|
400
|
-
return (e, a) => (m(), b(l(
|
|
399
|
+
const t = X();
|
|
400
|
+
return (e, a) => (m(), b(l(Sa), { placement: "topRight" }, {
|
|
401
401
|
content: h(() => [
|
|
402
|
-
|
|
402
|
+
I(e.$slots, "default", {}, () => [
|
|
403
403
|
$("div", {
|
|
404
404
|
class: "text-[14px]",
|
|
405
405
|
style: ue({ maxWidth: e.maxWidth })
|
|
@@ -407,7 +407,7 @@ const jt = async (s, t) => {
|
|
|
407
407
|
])
|
|
408
408
|
]),
|
|
409
409
|
default: h(() => [
|
|
410
|
-
$("span",
|
|
410
|
+
$("span", Za, [
|
|
411
411
|
k(z, F({
|
|
412
412
|
icon: "icon-question-circle",
|
|
413
413
|
class: "text-[#888] w-4 h-4"
|
|
@@ -417,7 +417,7 @@ const jt = async (s, t) => {
|
|
|
417
417
|
_: 3
|
|
418
418
|
}));
|
|
419
419
|
}
|
|
420
|
-
}),
|
|
420
|
+
}), al = /* @__PURE__ */ S({
|
|
421
421
|
__name: "layoutIcon",
|
|
422
422
|
props: {
|
|
423
423
|
icon: {
|
|
@@ -428,8 +428,8 @@ const jt = async (s, t) => {
|
|
|
428
428
|
}
|
|
429
429
|
},
|
|
430
430
|
setup(s) {
|
|
431
|
-
const t = s, a =
|
|
432
|
-
iconUrl: `${
|
|
431
|
+
const t = s, a = Xe({
|
|
432
|
+
iconUrl: `${ba.MICROLAYOUT_ICONS}`,
|
|
433
433
|
monoColor: !0,
|
|
434
434
|
icon: t.icon,
|
|
435
435
|
icons: t.icons
|
|
@@ -441,7 +441,7 @@ const jt = async (s, t) => {
|
|
|
441
441
|
class: ["align-middle"]
|
|
442
442
|
}, n.$attrs), null, 16, ["icon", "icons"])) : y("", !0);
|
|
443
443
|
}
|
|
444
|
-
}),
|
|
444
|
+
}), at = { class: "hover:bg-gray-200 w-[24px] h-[24px] rounded-md" }, tl = /* @__PURE__ */ S({
|
|
445
445
|
__name: "index",
|
|
446
446
|
props: {
|
|
447
447
|
saveText: {},
|
|
@@ -464,11 +464,11 @@ const jt = async (s, t) => {
|
|
|
464
464
|
const c = () => {
|
|
465
465
|
n.drawerSave ? n.drawerSave() : i && Ee(i);
|
|
466
466
|
}, p = () => {
|
|
467
|
-
n.drawerSaveAs ? n.drawerSaveAs() : i &&
|
|
467
|
+
n.drawerSaveAs ? n.drawerSaveAs() : i && Ze(i);
|
|
468
468
|
}, d = () => {
|
|
469
|
-
|
|
469
|
+
ea(i);
|
|
470
470
|
};
|
|
471
|
-
return (o, f) => (m(), b(l(
|
|
471
|
+
return (o, f) => (m(), b(l(Ca), {
|
|
472
472
|
open: a.value,
|
|
473
473
|
"onUpdate:open": f[0] || (f[0] = (r) => a.value = r),
|
|
474
474
|
"get-container": !1,
|
|
@@ -492,7 +492,7 @@ const jt = async (s, t) => {
|
|
|
492
492
|
onClose: d
|
|
493
493
|
}, {
|
|
494
494
|
extra: h(() => [
|
|
495
|
-
$("div",
|
|
495
|
+
$("div", at, [
|
|
496
496
|
k(l(z), {
|
|
497
497
|
class: "top-[-2px] left-[2px] w-6 h-6",
|
|
498
498
|
icon: "icon-new",
|
|
@@ -506,10 +506,10 @@ const jt = async (s, t) => {
|
|
|
506
506
|
])
|
|
507
507
|
]),
|
|
508
508
|
default: h(() => [
|
|
509
|
-
|
|
509
|
+
I(o.$slots, "default")
|
|
510
510
|
]),
|
|
511
511
|
footer: h(() => [
|
|
512
|
-
k(l(
|
|
512
|
+
k(l(te), null, {
|
|
513
513
|
default: h(() => [
|
|
514
514
|
o.cancelText !== "" ? (m(), b(l(B), {
|
|
515
515
|
key: 0,
|
|
@@ -549,7 +549,7 @@ const jt = async (s, t) => {
|
|
|
549
549
|
_: 3
|
|
550
550
|
}, 8, ["open", "header-style"]));
|
|
551
551
|
}
|
|
552
|
-
}),
|
|
552
|
+
}), ll = /* @__PURE__ */ S({
|
|
553
553
|
__name: "index",
|
|
554
554
|
props: {
|
|
555
555
|
labelWidth: {},
|
|
@@ -559,7 +559,7 @@ const jt = async (s, t) => {
|
|
|
559
559
|
setup(s) {
|
|
560
560
|
const t = s, e = t.editorCtrl ?? ne(j.EditorControl, void 0);
|
|
561
561
|
return ge(j.LabelWidth, t.labelWidth), (a, n) => {
|
|
562
|
-
const i =
|
|
562
|
+
const i = le("submit");
|
|
563
563
|
return H((m(), b(l(Ue), {
|
|
564
564
|
"label-col": { flex: t.labelWidth ?? "85px" },
|
|
565
565
|
"wrapper-col": {
|
|
@@ -571,7 +571,7 @@ const jt = async (s, t) => {
|
|
|
571
571
|
}
|
|
572
572
|
}, {
|
|
573
573
|
default: h(() => [
|
|
574
|
-
|
|
574
|
+
I(a.$slots, "default")
|
|
575
575
|
]),
|
|
576
576
|
_: 3
|
|
577
577
|
}, 8, ["label-col", "wrapper-col"])), [
|
|
@@ -584,9 +584,9 @@ const jt = async (s, t) => {
|
|
|
584
584
|
]);
|
|
585
585
|
};
|
|
586
586
|
}
|
|
587
|
-
}),
|
|
587
|
+
}), tt = {
|
|
588
588
|
class: /* @__PURE__ */ N(["relative mb-1"])
|
|
589
|
-
},
|
|
589
|
+
}, lt = { class: "flex-grow" }, st = { class: "w-8 mt-[-2px]" }, sl = /* @__PURE__ */ S({
|
|
590
590
|
inheritAttrs: !1,
|
|
591
591
|
__name: "formItem",
|
|
592
592
|
props: {
|
|
@@ -597,7 +597,7 @@ const jt = async (s, t) => {
|
|
|
597
597
|
nextLine: { type: Boolean }
|
|
598
598
|
},
|
|
599
599
|
setup(s) {
|
|
600
|
-
const t = s, e =
|
|
600
|
+
const t = s, e = X(), a = ne(j.EditorControl, void 0), n = ne(j.LabelWidth, "85px") ?? "85px", i = Pe(t, a), c = x(!1);
|
|
601
601
|
setTimeout(() => {
|
|
602
602
|
c.value = !0;
|
|
603
603
|
}, 30);
|
|
@@ -606,14 +606,14 @@ const jt = async (s, t) => {
|
|
|
606
606
|
return;
|
|
607
607
|
const [r, ...v] = o;
|
|
608
608
|
return o.length === 1 ? f[r] : p(v, f[r].fields);
|
|
609
|
-
}, d =
|
|
609
|
+
}, d = J(() => {
|
|
610
610
|
var f;
|
|
611
611
|
if (!t.rule)
|
|
612
612
|
return !1;
|
|
613
613
|
const o = p(t.rule.split("."), (f = a == null ? void 0 : a.formRules) == null ? void 0 : f.value);
|
|
614
|
-
return o ? o.required ?? !0 : (
|
|
614
|
+
return o ? o.required ?? !0 : (Ta.error(`"${t.label}" 的验证规则 \`${t.rule}\` 不存在`), i.value.errClass = "text-[#ff4d4f]", i.value.msg = `规则 \`${t.rule}\` 不存在,请检查代码!`, !0);
|
|
615
615
|
});
|
|
616
|
-
return (o, f) => (m(), w("div",
|
|
616
|
+
return (o, f) => (m(), w("div", tt, [
|
|
617
617
|
c.value ? (m(), b(l(ze), F({
|
|
618
618
|
key: 0,
|
|
619
619
|
required: d.value,
|
|
@@ -631,12 +631,12 @@ const jt = async (s, t) => {
|
|
|
631
631
|
key: 0,
|
|
632
632
|
class: N(["flex items-center", o.width ? o.width : "w-full"])
|
|
633
633
|
}, [
|
|
634
|
-
$("div",
|
|
635
|
-
|
|
634
|
+
$("div", lt, [
|
|
635
|
+
I(o.$slots, "default")
|
|
636
636
|
]),
|
|
637
|
-
$("div",
|
|
638
|
-
|
|
639
|
-
o.helper ? (m(), b(l(
|
|
637
|
+
$("div", st, [
|
|
638
|
+
I(o.$slots, "helper", {}, () => [
|
|
639
|
+
o.helper ? (m(), b(l(et), {
|
|
640
640
|
key: 0,
|
|
641
641
|
text: o.helper
|
|
642
642
|
}, null, 8, ["text"])) : y("", !0)
|
|
@@ -650,7 +650,7 @@ const jt = async (s, t) => {
|
|
|
650
650
|
key: 1,
|
|
651
651
|
class: N(["w-[95%] flex items-center relative", [o.nextLine ? o.rule ? "mb-7" : "mb-3" : ""]])
|
|
652
652
|
}, [
|
|
653
|
-
|
|
653
|
+
I(o.$slots, "default")
|
|
654
654
|
], 2)) : y("", !0),
|
|
655
655
|
l(i).errClass ? (m(), w("span", {
|
|
656
656
|
key: 2,
|
|
@@ -659,7 +659,7 @@ const jt = async (s, t) => {
|
|
|
659
659
|
}, P(l(i).msg), 5)) : y("", !0)
|
|
660
660
|
]));
|
|
661
661
|
}
|
|
662
|
-
}),
|
|
662
|
+
}), rt = { class: "w-1/3 relative mb-1" }, ot = { class: "flex items-center w-[90%]" }, nt = { class: "flex-grow pl-1" }, it = {
|
|
663
663
|
key: 0,
|
|
664
664
|
class: "absolute bottom-[3px] left-[85px] text-[12px] text-[#ff4d4fcc] block"
|
|
665
665
|
}, pe = /* @__PURE__ */ S({
|
|
@@ -671,8 +671,8 @@ const jt = async (s, t) => {
|
|
|
671
671
|
rule: {}
|
|
672
672
|
},
|
|
673
673
|
setup(s) {
|
|
674
|
-
const t = s, e =
|
|
675
|
-
return (i, c) => (m(), w("div",
|
|
674
|
+
const t = s, e = X(), a = ne(j.EditorControl, void 0), n = Pe(t, a);
|
|
675
|
+
return (i, c) => (m(), w("div", rt, [
|
|
676
676
|
k(l(ze), F({
|
|
677
677
|
required: i.rule !== void 0,
|
|
678
678
|
class: "w-[90%] relative"
|
|
@@ -681,9 +681,9 @@ const jt = async (s, t) => {
|
|
|
681
681
|
labelCol: { span: 6 }
|
|
682
682
|
}), Be({
|
|
683
683
|
default: h(() => [
|
|
684
|
-
$("div",
|
|
685
|
-
$("div",
|
|
686
|
-
|
|
684
|
+
$("div", ot, [
|
|
685
|
+
$("div", nt, [
|
|
686
|
+
I(i.$slots, "default")
|
|
687
687
|
])
|
|
688
688
|
])
|
|
689
689
|
]),
|
|
@@ -699,10 +699,10 @@ const jt = async (s, t) => {
|
|
|
699
699
|
key: "0"
|
|
700
700
|
} : void 0
|
|
701
701
|
]), 1040, ["required", "class"]),
|
|
702
|
-
l(n).msg ? (m(), w("span",
|
|
702
|
+
l(n).msg ? (m(), w("span", it, P(l(n).msg), 1)) : y("", !0)
|
|
703
703
|
]));
|
|
704
704
|
}
|
|
705
|
-
}),
|
|
705
|
+
}), rl = /* @__PURE__ */ S({
|
|
706
706
|
__name: "index",
|
|
707
707
|
props: {
|
|
708
708
|
search: {},
|
|
@@ -716,7 +716,7 @@ const jt = async (s, t) => {
|
|
|
716
716
|
for (let C = 0; C < u.length; C++)
|
|
717
717
|
typeof u[C].type == "object" && g++;
|
|
718
718
|
return g;
|
|
719
|
-
}, d =
|
|
719
|
+
}, d = xa(), o = () => {
|
|
720
720
|
i.value = 0, c.value = 0, d.default && (i.value = p(d.default({}))), e.gridCtrl.searchBar && d.control && (c.value = p(d.control({}))), n.value = 2 - (i.value + c.value) % 3;
|
|
721
721
|
};
|
|
722
722
|
T(
|
|
@@ -758,7 +758,7 @@ const jt = async (s, t) => {
|
|
|
758
758
|
a("update:search", u);
|
|
759
759
|
};
|
|
760
760
|
return (u, g) => {
|
|
761
|
-
const C =
|
|
761
|
+
const C = le("submit");
|
|
762
762
|
return i.value + c.value > 0 ? H((m(), b(l(Ue), {
|
|
763
763
|
key: 0,
|
|
764
764
|
"label-col": { flex: "60px" },
|
|
@@ -769,8 +769,8 @@ const jt = async (s, t) => {
|
|
|
769
769
|
class: "flex mb-[10px]"
|
|
770
770
|
}, {
|
|
771
771
|
default: h(() => [
|
|
772
|
-
|
|
773
|
-
u.gridCtrl.searchBar ?
|
|
772
|
+
I(u.$slots, "default"),
|
|
773
|
+
u.gridCtrl.searchBar ? I(u.$slots, "control", { key: 0 }) : y("", !0),
|
|
774
774
|
n.value >= 1 ? (m(), b(pe, {
|
|
775
775
|
key: 1,
|
|
776
776
|
class: "w-1/3"
|
|
@@ -785,7 +785,7 @@ const jt = async (s, t) => {
|
|
|
785
785
|
"wrapper-col": { flex: "auto" }
|
|
786
786
|
}, {
|
|
787
787
|
default: h(() => [
|
|
788
|
-
k(l(
|
|
788
|
+
k(l(te), null, {
|
|
789
789
|
default: h(() => [
|
|
790
790
|
k(l(B), {
|
|
791
791
|
type: "primary",
|
|
@@ -821,14 +821,14 @@ const jt = async (s, t) => {
|
|
|
821
821
|
]) : y("", !0);
|
|
822
822
|
};
|
|
823
823
|
}
|
|
824
|
-
}),
|
|
824
|
+
}), ct = /* @__PURE__ */ S({
|
|
825
825
|
__name: "tableOperate",
|
|
826
826
|
props: {
|
|
827
827
|
record: {},
|
|
828
828
|
gridCtrl: {}
|
|
829
829
|
},
|
|
830
830
|
setup(s) {
|
|
831
|
-
const t = s, e = t.gridCtrl, a =
|
|
831
|
+
const t = s, e = t.gridCtrl, a = J(() => ce.currentRoute.value.path), n = [
|
|
832
832
|
{
|
|
833
833
|
key: "Edit",
|
|
834
834
|
label: "编辑",
|
|
@@ -836,7 +836,7 @@ const jt = async (s, t) => {
|
|
|
836
836
|
visible: !0,
|
|
837
837
|
role: ["Super", "Admin"],
|
|
838
838
|
permit: ":edit",
|
|
839
|
-
click: () =>
|
|
839
|
+
click: () => aa(e, t.record)
|
|
840
840
|
},
|
|
841
841
|
{
|
|
842
842
|
key: "Delete",
|
|
@@ -848,7 +848,7 @@ const jt = async (s, t) => {
|
|
|
848
848
|
permit: ":delete",
|
|
849
849
|
confirm: !0,
|
|
850
850
|
confirmText: "是否删除此记录?",
|
|
851
|
-
click: () =>
|
|
851
|
+
click: () => ta(e, t.record)
|
|
852
852
|
}
|
|
853
853
|
], { buttons: i, menus: c } = _e(n, 0, e.operates), p = (d) => {
|
|
854
854
|
if (typeof d.disabled == "boolean")
|
|
@@ -865,19 +865,19 @@ const jt = async (s, t) => {
|
|
|
865
865
|
return !1;
|
|
866
866
|
};
|
|
867
867
|
return (d, o) => {
|
|
868
|
-
const f =
|
|
868
|
+
const f = le("auth");
|
|
869
869
|
return m(), b(l(Ce), { theme: {
|
|
870
870
|
token: {
|
|
871
871
|
fontSize: 13
|
|
872
872
|
}
|
|
873
873
|
} }, {
|
|
874
874
|
default: h(() => [
|
|
875
|
-
k(l(
|
|
875
|
+
k(l(te), null, {
|
|
876
876
|
default: h(() => [
|
|
877
|
-
(m(!0), w(
|
|
877
|
+
(m(!0), w(O, null, U(l(i), (r) => (m(), w(O, {
|
|
878
878
|
key: r.key
|
|
879
879
|
}, [
|
|
880
|
-
l(
|
|
880
|
+
l(G)(r, t.record) ? (m(), b(l($a), {
|
|
881
881
|
key: 0,
|
|
882
882
|
disabled: p(r) || !r.confirm,
|
|
883
883
|
cancelText: "否",
|
|
@@ -888,7 +888,7 @@ const jt = async (s, t) => {
|
|
|
888
888
|
onConfirm: (v) => l(Y)(r, l(e).page, l(e), t.record, !0)
|
|
889
889
|
}, {
|
|
890
890
|
default: h(() => [
|
|
891
|
-
l(
|
|
891
|
+
l(G)(r, t.record) ? H((m(), b(l(Ye), {
|
|
892
892
|
key: r.key,
|
|
893
893
|
type: r.type ?? "text",
|
|
894
894
|
danger: r.danger,
|
|
@@ -915,17 +915,17 @@ const jt = async (s, t) => {
|
|
|
915
915
|
autoInsertSpaceInButton: !1
|
|
916
916
|
}, {
|
|
917
917
|
default: h(() => [
|
|
918
|
-
l(c).length > 0 ? (m(), b(l(
|
|
918
|
+
l(c).length > 0 ? (m(), b(l(Ia), {
|
|
919
919
|
key: 0,
|
|
920
920
|
size: "small"
|
|
921
921
|
}, {
|
|
922
922
|
overlay: h(() => [
|
|
923
923
|
k(l(be), null, {
|
|
924
924
|
default: h(() => [
|
|
925
|
-
(m(!0), w(
|
|
925
|
+
(m(!0), w(O, null, U(l(c), (r) => (m(), w(O, {
|
|
926
926
|
key: r.key
|
|
927
927
|
}, [
|
|
928
|
-
l(
|
|
928
|
+
l(G)(r, t.record) ? H((m(), b(l(xe), {
|
|
929
929
|
key: 0,
|
|
930
930
|
disabled: p(r),
|
|
931
931
|
onClick: (v) => l(Y)(r, l(e).page, l(e), t.record)
|
|
@@ -959,13 +959,13 @@ const jt = async (s, t) => {
|
|
|
959
959
|
});
|
|
960
960
|
};
|
|
961
961
|
}
|
|
962
|
-
}),
|
|
962
|
+
}), ut = { class: "inline-flex [&>div]:ml-[-1px] first:[&>div]:ml-0" }, dt = /* @__PURE__ */ S({
|
|
963
963
|
__name: "icontool",
|
|
964
964
|
props: {
|
|
965
965
|
gridCtrl: {}
|
|
966
966
|
},
|
|
967
967
|
setup(s) {
|
|
968
|
-
const t = s, e = t.gridCtrl, { tools: a } =
|
|
968
|
+
const t = s, e = t.gridCtrl, { tools: a } = Ja(t.gridCtrl), n = me();
|
|
969
969
|
T(
|
|
970
970
|
() => e.selectable.value,
|
|
971
971
|
(p) => {
|
|
@@ -983,11 +983,11 @@ const jt = async (s, t) => {
|
|
|
983
983
|
const c = () => {
|
|
984
984
|
e.columns.value.splice(0, e.columns.value.length, ...i.value), n.setTableColumns(ce.currentRoute.value.path, e.columns.value);
|
|
985
985
|
};
|
|
986
|
-
return (p, d) => (m(), w("div",
|
|
987
|
-
(m(!0), w(
|
|
986
|
+
return (p, d) => (m(), w("div", ut, [
|
|
987
|
+
(m(!0), w(O, null, U(l(a), (o, f) => (m(), w(O, {
|
|
988
988
|
key: o.key
|
|
989
989
|
}, [
|
|
990
|
-
l(
|
|
990
|
+
l(G)(o) && o.dropdown ? (m(), b(l(ve), {
|
|
991
991
|
key: 0,
|
|
992
992
|
placement: "bottomRight",
|
|
993
993
|
class: "p-0 rounded-none"
|
|
@@ -996,7 +996,7 @@ const jt = async (s, t) => {
|
|
|
996
996
|
$("div", {
|
|
997
997
|
class: N(["min-w-[100px] bg-white rounded shadow-md p-4", o.dropdownClass])
|
|
998
998
|
}, [
|
|
999
|
-
o.dropdown === "headset" ? (m(), b(l(
|
|
999
|
+
o.dropdown === "headset" ? (m(), b(l(Ua), {
|
|
1000
1000
|
key: 0,
|
|
1001
1001
|
modelValue: i.value,
|
|
1002
1002
|
"onUpdate:modelValue": d[1] || (d[1] = (r) => i.value = r),
|
|
@@ -1005,18 +1005,18 @@ const jt = async (s, t) => {
|
|
|
1005
1005
|
handle: ".drag-handle"
|
|
1006
1006
|
}, {
|
|
1007
1007
|
default: h(() => [
|
|
1008
|
-
(m(!0), w(
|
|
1008
|
+
(m(!0), w(O, null, U(i.value, (r) => (m(), w("div", {
|
|
1009
1009
|
key: r.name,
|
|
1010
|
-
onClick: d[0] || (d[0] =
|
|
1010
|
+
onClick: d[0] || (d[0] = ae(() => {
|
|
1011
1011
|
}, ["stop"])),
|
|
1012
1012
|
class: "flex items-center mb-2 last:mb-0 select-none"
|
|
1013
1013
|
}, [
|
|
1014
1014
|
d[2] || (d[2] = $("span", { class: "drag-handle mr-2 text-gray-400 hover:text-gray-600 cursor-move" }, "⋮⋮", -1)),
|
|
1015
|
-
k(l(
|
|
1015
|
+
k(l(Da), {
|
|
1016
1016
|
checked: r.visible !== !1,
|
|
1017
|
-
onChange:
|
|
1017
|
+
onChange: ae(
|
|
1018
1018
|
(v) => {
|
|
1019
|
-
l(
|
|
1019
|
+
l(Ga)(r, v.target.checked);
|
|
1020
1020
|
},
|
|
1021
1021
|
["stop", "prevent"]
|
|
1022
1022
|
),
|
|
@@ -1055,7 +1055,7 @@ const jt = async (s, t) => {
|
|
|
1055
1055
|
}, 1032, ["class", "disabled", "tiptext", "onClick"])
|
|
1056
1056
|
]),
|
|
1057
1057
|
_: 2
|
|
1058
|
-
}, 1024)) : !o.children && l(
|
|
1058
|
+
}, 1024)) : !o.children && l(G)(o) ? (m(), b(l(B), {
|
|
1059
1059
|
key: 1,
|
|
1060
1060
|
class: N([
|
|
1061
1061
|
"px-[8px] py-[2px] relative border-[#ccc] bg-[#fcfcfc] rounded-none text-[#666] hover:z-10",
|
|
@@ -1074,7 +1074,7 @@ const jt = async (s, t) => {
|
|
|
1074
1074
|
}, null, 8, ["icon"])
|
|
1075
1075
|
]),
|
|
1076
1076
|
_: 2
|
|
1077
|
-
}, 1032, ["class", "disabled", "tiptext", "onClick"])) : l(
|
|
1077
|
+
}, 1032, ["class", "disabled", "tiptext", "onClick"])) : l(G)(o) ? (m(), b(l(ve), {
|
|
1078
1078
|
key: 2,
|
|
1079
1079
|
placement: "bottomRight",
|
|
1080
1080
|
class: "p-0 rounded-none"
|
|
@@ -1082,7 +1082,7 @@ const jt = async (s, t) => {
|
|
|
1082
1082
|
overlay: h(() => [
|
|
1083
1083
|
k(l(be), null, {
|
|
1084
1084
|
default: h(() => [
|
|
1085
|
-
(m(!0), w(
|
|
1085
|
+
(m(!0), w(O, null, U(o.children, (r) => (m(), b(l(xe), {
|
|
1086
1086
|
key: r.key,
|
|
1087
1087
|
disabled: l(K)(r)
|
|
1088
1088
|
}, {
|
|
@@ -1121,14 +1121,14 @@ const jt = async (s, t) => {
|
|
|
1121
1121
|
], 64))), 128))
|
|
1122
1122
|
]));
|
|
1123
1123
|
}
|
|
1124
|
-
}),
|
|
1124
|
+
}), pt = { class: "flex justify-between mb-[10px]" }, ft = { key: 1 }, vt = 3, mt = /* @__PURE__ */ S({
|
|
1125
1125
|
__name: "index",
|
|
1126
1126
|
props: {
|
|
1127
1127
|
gridCtrl: {},
|
|
1128
1128
|
editorCtrl: {}
|
|
1129
1129
|
},
|
|
1130
1130
|
setup(s) {
|
|
1131
|
-
const t = s, e = t.gridCtrl, a = e.page, n = t.editorCtrl, i =
|
|
1131
|
+
const t = s, e = t.gridCtrl, a = e.page, n = t.editorCtrl, i = J(() => ce.currentRoute.value.path), c = [
|
|
1132
1132
|
{
|
|
1133
1133
|
key: "New",
|
|
1134
1134
|
label: "新增",
|
|
@@ -1138,7 +1138,7 @@ const jt = async (s, t) => {
|
|
|
1138
1138
|
role: ["Super", "Admin"],
|
|
1139
1139
|
permit: ":new",
|
|
1140
1140
|
// 默认仅受权限码控制
|
|
1141
|
-
click: () =>
|
|
1141
|
+
click: () => la(n)
|
|
1142
1142
|
}
|
|
1143
1143
|
], p = x([]), d = x([]);
|
|
1144
1144
|
return T(
|
|
@@ -1150,7 +1150,7 @@ const jt = async (s, t) => {
|
|
|
1150
1150
|
var r;
|
|
1151
1151
|
const { buttons: o, menus: f } = _e(
|
|
1152
1152
|
c,
|
|
1153
|
-
e.flat !== void 0 ? e.flat :
|
|
1153
|
+
e.flat !== void 0 ? e.flat : vt,
|
|
1154
1154
|
(r = e.buttons) == null ? void 0 : r.value
|
|
1155
1155
|
);
|
|
1156
1156
|
p.value.splice(0, p.value.length, ...o), d.value.splice(0, d.value.length, ...f);
|
|
@@ -1160,11 +1160,11 @@ const jt = async (s, t) => {
|
|
|
1160
1160
|
immediate: !0
|
|
1161
1161
|
}
|
|
1162
1162
|
), (o, f) => {
|
|
1163
|
-
const r =
|
|
1164
|
-
return m(), w("div",
|
|
1165
|
-
k(l(
|
|
1163
|
+
const r = le("auth");
|
|
1164
|
+
return m(), w("div", pt, [
|
|
1165
|
+
k(l(te), null, {
|
|
1166
1166
|
default: h(() => [
|
|
1167
|
-
(m(!0), w(
|
|
1167
|
+
(m(!0), w(O, null, U(p.value, (v) => H((m(), b(l(B), {
|
|
1168
1168
|
key: v.key,
|
|
1169
1169
|
type: v.type,
|
|
1170
1170
|
danger: v.danger,
|
|
@@ -1183,7 +1183,7 @@ const jt = async (s, t) => {
|
|
|
1183
1183
|
overlay: h(() => [
|
|
1184
1184
|
k(l(be), null, {
|
|
1185
1185
|
default: h(() => [
|
|
1186
|
-
(m(!0), w(
|
|
1186
|
+
(m(!0), w(O, null, U(d.value, (v) => H((m(), b(l(xe), {
|
|
1187
1187
|
key: v.key,
|
|
1188
1188
|
disabled: l(K)(v),
|
|
1189
1189
|
onClick: (u) => l(Y)(v, l(a), l(e))
|
|
@@ -1210,20 +1210,20 @@ const jt = async (s, t) => {
|
|
|
1210
1210
|
]),
|
|
1211
1211
|
_: 1
|
|
1212
1212
|
})) : y("", !0),
|
|
1213
|
-
p.value.length === 0 && d.value.length === 0 ? (m(), w("span",
|
|
1213
|
+
p.value.length === 0 && d.value.length === 0 ? (m(), w("span", ft)) : y("", !0)
|
|
1214
1214
|
]),
|
|
1215
1215
|
_: 1
|
|
1216
1216
|
}),
|
|
1217
|
-
k(l(
|
|
1217
|
+
k(l(te), { class: "mr-1" }, {
|
|
1218
1218
|
default: h(() => [
|
|
1219
|
-
(m(), b(
|
|
1219
|
+
(m(), b(_a(dt), { "grid-ctrl": l(e) }, null, 8, ["grid-ctrl"]))
|
|
1220
1220
|
]),
|
|
1221
1221
|
_: 1
|
|
1222
1222
|
})
|
|
1223
1223
|
]);
|
|
1224
1224
|
};
|
|
1225
1225
|
}
|
|
1226
|
-
}),
|
|
1226
|
+
}), ol = /* @__PURE__ */ S({
|
|
1227
1227
|
inheritAttrs: !1,
|
|
1228
1228
|
__name: "index",
|
|
1229
1229
|
props: {
|
|
@@ -1231,12 +1231,12 @@ const jt = async (s, t) => {
|
|
|
1231
1231
|
primaryKey: {},
|
|
1232
1232
|
tableData: {},
|
|
1233
1233
|
rowSelection: {},
|
|
1234
|
-
pagination: { type: [Boolean, Object] },
|
|
1234
|
+
pagination: { type: [Boolean, Object], default: void 0 },
|
|
1235
1235
|
scroll: {},
|
|
1236
|
-
statusDisabled: {
|
|
1236
|
+
statusDisabled: {}
|
|
1237
1237
|
},
|
|
1238
1238
|
setup(s) {
|
|
1239
|
-
const t = s, e =
|
|
1239
|
+
const t = s, e = X(), a = t.gridCtrl, n = J(() => ce.currentRoute.value.path);
|
|
1240
1240
|
a && (a.pageNo.value = 1, a.total.value = 0, a.pageSize.value = a.pageSize.value);
|
|
1241
1241
|
const i = x(a.pageSize.value), c = x(a.pageNo.value), p = x([]), d = x({
|
|
1242
1242
|
total: 0,
|
|
@@ -1246,7 +1246,7 @@ const jt = async (s, t) => {
|
|
|
1246
1246
|
onChange: (u, g) => {
|
|
1247
1247
|
d.value !== !1 && (d.value.current = u, d.value.pageSize = g), i.value = g, c.value = u, a && (a.pageNo.value = u, a.pageSize.value = g, a.remotePage && ke(a));
|
|
1248
1248
|
},
|
|
1249
|
-
...t.pagination
|
|
1249
|
+
...t.pagination === !1 ? {} : t.pagination
|
|
1250
1250
|
});
|
|
1251
1251
|
t.pagination === !1 && (d.value = !1), T(
|
|
1252
1252
|
() => a.tableData.value,
|
|
@@ -1285,17 +1285,17 @@ const jt = async (s, t) => {
|
|
|
1285
1285
|
{ deep: !0, immediate: !0 }
|
|
1286
1286
|
);
|
|
1287
1287
|
const v = x(!1);
|
|
1288
|
-
return
|
|
1288
|
+
return ya(() => {
|
|
1289
1289
|
v.value && a && (a.reload.value = !0);
|
|
1290
1290
|
}), V(async () => {
|
|
1291
|
-
ge(j.GridControl, a), a.tableData.value ? (p.value = a.tableData.value, a.total.value = p.value.length, d.value !== !1 && (d.value.total = a.total.value ?? 0)) : a.autoload !== !1 && (a.remotePage ? p.value = (await ke(a)).rows : p.value = await
|
|
1291
|
+
ge(j.GridControl, a), a.tableData.value ? (p.value = a.tableData.value, a.total.value = p.value.length, d.value !== !1 && (d.value.total = a.total.value ?? 0)) : a.autoload !== !1 && (a.remotePage ? p.value = (await ke(a)).rows : p.value = await sa(a)), setTimeout(() => {
|
|
1292
1292
|
v.value = !0;
|
|
1293
1293
|
}, 50);
|
|
1294
1294
|
}), (u, g) => {
|
|
1295
|
-
var
|
|
1296
|
-
const C =
|
|
1297
|
-
return m(), w(
|
|
1298
|
-
(
|
|
1295
|
+
var D, A;
|
|
1296
|
+
const C = le("auth");
|
|
1297
|
+
return m(), w(O, null, [
|
|
1298
|
+
(D = l(a).buttons) != null && D.value.length || (A = l(a).tools) != null && A.length ? (m(), b(mt, {
|
|
1299
1299
|
key: 0,
|
|
1300
1300
|
"grid-ctrl": l(a),
|
|
1301
1301
|
"editor-ctrl": l(a).editor
|
|
@@ -1314,19 +1314,19 @@ const jt = async (s, t) => {
|
|
|
1314
1314
|
bordered: ""
|
|
1315
1315
|
}, l(e)), {
|
|
1316
1316
|
bodyCell: h((_) => {
|
|
1317
|
-
var
|
|
1317
|
+
var E, R;
|
|
1318
1318
|
return [
|
|
1319
|
-
|
|
1319
|
+
I(u.$slots, "bodyCell", {
|
|
1320
1320
|
column: _ == null ? void 0 : _.column,
|
|
1321
1321
|
record: _ == null ? void 0 : _.record
|
|
1322
1322
|
}),
|
|
1323
|
-
l(a) && ((
|
|
1323
|
+
l(a) && ((E = _ == null ? void 0 : _.column) == null ? void 0 : E.dataIndex) === "enabled" ? H((m(), b(ra, {
|
|
1324
1324
|
key: 0,
|
|
1325
1325
|
checked: _.record.Enabled,
|
|
1326
|
-
"onUpdate:checked": (
|
|
1326
|
+
"onUpdate:checked": (se) => _.record.Enabled = se,
|
|
1327
1327
|
disabled: u.statusDisabled ? u.statusDisabled(_.record) : !1,
|
|
1328
1328
|
data: l(Ne).EnableDisable,
|
|
1329
|
-
onClick: (
|
|
1329
|
+
onClick: (se) => l(oa)(l(a), _.record),
|
|
1330
1330
|
class: N([
|
|
1331
1331
|
"w-[58px]",
|
|
1332
1332
|
u.statusDisabled && u.statusDisabled(_.record) ? "cursor-not-allowed disabled" : ""
|
|
@@ -1335,11 +1335,11 @@ const jt = async (s, t) => {
|
|
|
1335
1335
|
}, null, 8, ["checked", "onUpdate:checked", "disabled", "data", "onClick", "class", "loading"])), [
|
|
1336
1336
|
[C, { url: n.value, role: ["Super", "Admin"], permit: ":enabled" }, "disable"]
|
|
1337
1337
|
]) : y("", !0),
|
|
1338
|
-
l(a) && ((
|
|
1338
|
+
l(a) && ((R = _ == null ? void 0 : _.column) == null ? void 0 : R.dataIndex) === "operation" ? I(u.$slots, "operate", {
|
|
1339
1339
|
key: 1,
|
|
1340
1340
|
record: _ == null ? void 0 : _.record
|
|
1341
1341
|
}, () => [
|
|
1342
|
-
k(
|
|
1342
|
+
k(ct, {
|
|
1343
1343
|
record: _ == null ? void 0 : _.record,
|
|
1344
1344
|
"grid-ctrl": l(a)
|
|
1345
1345
|
}, null, 8, ["record", "grid-ctrl"])
|
|
@@ -1351,7 +1351,7 @@ const jt = async (s, t) => {
|
|
|
1351
1351
|
], 64);
|
|
1352
1352
|
};
|
|
1353
1353
|
}
|
|
1354
|
-
}),
|
|
1354
|
+
}), ht = { class: "flex items-center gap-1" }, gt = { class: "text-nowrap" }, nl = /* @__PURE__ */ S({
|
|
1355
1355
|
__name: "index",
|
|
1356
1356
|
props: {
|
|
1357
1357
|
treeCtrl: {},
|
|
@@ -1360,7 +1360,7 @@ const jt = async (s, t) => {
|
|
|
1360
1360
|
},
|
|
1361
1361
|
emits: ["select", "update:selectedKeys"],
|
|
1362
1362
|
setup(s, { emit: t }) {
|
|
1363
|
-
const e = s, a =
|
|
1363
|
+
const e = s, a = X(), n = e.treeCtrl, i = x([]);
|
|
1364
1364
|
T(
|
|
1365
1365
|
() => n.data.value,
|
|
1366
1366
|
(f) => {
|
|
@@ -1393,7 +1393,7 @@ const jt = async (s, t) => {
|
|
|
1393
1393
|
value: "Id",
|
|
1394
1394
|
icon: "Icon"
|
|
1395
1395
|
}), n.data.value ? i.value = oe(n.fieldMap, n.data.value) : n.autoload && Me(n);
|
|
1396
|
-
}), (f, r) => (m(), b(l(
|
|
1396
|
+
}), (f, r) => (m(), b(l(Ea), F({
|
|
1397
1397
|
class: "w-full",
|
|
1398
1398
|
"show-line": !0,
|
|
1399
1399
|
"tree-data": i.value,
|
|
@@ -1404,37 +1404,37 @@ const jt = async (s, t) => {
|
|
|
1404
1404
|
onSelect: o
|
|
1405
1405
|
}, l(a)), {
|
|
1406
1406
|
title: h(({ key: v, label: u, icon: g }) => [
|
|
1407
|
-
|
|
1407
|
+
I(f.$slots, "title", {
|
|
1408
1408
|
label: u,
|
|
1409
1409
|
key: v,
|
|
1410
1410
|
icon: g
|
|
1411
1411
|
}, () => [
|
|
1412
|
-
$("div",
|
|
1412
|
+
$("div", ht, [
|
|
1413
1413
|
k(l(z), { icon: g }, null, 8, ["icon"]),
|
|
1414
|
-
$("span",
|
|
1414
|
+
$("span", gt, P(u), 1)
|
|
1415
1415
|
])
|
|
1416
1416
|
])
|
|
1417
1417
|
]),
|
|
1418
1418
|
_: 3
|
|
1419
1419
|
}, 16, ["tree-data", "expanded-keys", "selected-keys", "loading"]));
|
|
1420
1420
|
}
|
|
1421
|
-
}),
|
|
1421
|
+
}), il = /* @__PURE__ */ q(na, [["__scopeId", "data-v-668fc090"]]), bt = { class: "relative w-[248px] max-w-[248px]" }, xt = {
|
|
1422
1422
|
key: 0,
|
|
1423
1423
|
class: "absolute z-10 mt-[5px] mr-[10px] text-[#999] flex items-center"
|
|
1424
|
-
},
|
|
1424
|
+
}, _t = /* @__PURE__ */ S({
|
|
1425
1425
|
inheritAttrs: !1,
|
|
1426
1426
|
__name: "index",
|
|
1427
|
-
props:
|
|
1427
|
+
props: ia,
|
|
1428
1428
|
emits: ["change", "update:labels", "update:value"],
|
|
1429
1429
|
setup(s, { emit: t }) {
|
|
1430
|
-
var C,
|
|
1431
|
-
const e = s, a =
|
|
1432
|
-
c.inputFactory =
|
|
1430
|
+
var C, D, A;
|
|
1431
|
+
const e = s, a = X(), n = L(), i = ca(e.url, e), c = e.optionCtrl ?? i.optionCtrl;
|
|
1432
|
+
c.inputFactory = ka(n);
|
|
1433
1433
|
const p = x({
|
|
1434
1434
|
...c == null ? void 0 : c.url,
|
|
1435
1435
|
url: ((C = c == null ? void 0 : c.url) == null ? void 0 : C.url) || "",
|
|
1436
|
-
fieldMap: (c == null ? void 0 : c.fieldMap) || ((
|
|
1437
|
-
params: (c == null ? void 0 : c.params) || ((
|
|
1436
|
+
fieldMap: (c == null ? void 0 : c.fieldMap) || ((D = c == null ? void 0 : c.url) == null ? void 0 : D.fieldMap),
|
|
1437
|
+
params: (c == null ? void 0 : c.params) || ((A = c == null ? void 0 : c.url) == null ? void 0 : A.params),
|
|
1438
1438
|
loadingText: !1
|
|
1439
1439
|
}), { editorCtrl: d, errInfo: o, labelText: f } = n, r = x(a.placeholder);
|
|
1440
1440
|
T(
|
|
@@ -1454,16 +1454,13 @@ const jt = async (s, t) => {
|
|
|
1454
1454
|
},
|
|
1455
1455
|
{ immediate: !0, deep: !0 }
|
|
1456
1456
|
);
|
|
1457
|
-
const g = (_,
|
|
1458
|
-
if (!
|
|
1457
|
+
const g = (_, E) => {
|
|
1458
|
+
if (!E || E.length === 0) {
|
|
1459
1459
|
v("update:labels", []), v("update:value", []);
|
|
1460
1460
|
return;
|
|
1461
1461
|
}
|
|
1462
|
-
const
|
|
1463
|
-
v("update:labels",
|
|
1464
|
-
"update:value",
|
|
1465
|
-
I.map((G) => G.value)
|
|
1466
|
-
), o != null && o.value.errClass && d && Q(d);
|
|
1462
|
+
const R = E.map((Ge) => Ge.value), se = fa(c, e, R), qe = va(se);
|
|
1463
|
+
v("update:labels", qe), v("update:value", R), o != null && o.value.errClass && d && Q(d);
|
|
1467
1464
|
};
|
|
1468
1465
|
return V(() => {
|
|
1469
1466
|
p.value && !p.value.fieldMap && (p.value.fieldMap = {
|
|
@@ -1471,19 +1468,19 @@ const jt = async (s, t) => {
|
|
|
1471
1468
|
label: "Name",
|
|
1472
1469
|
value: "Id",
|
|
1473
1470
|
key: "Id"
|
|
1474
|
-
}), c &&
|
|
1475
|
-
}),
|
|
1476
|
-
c &&
|
|
1477
|
-
}), (_,
|
|
1478
|
-
var
|
|
1479
|
-
return m(), w("div",
|
|
1480
|
-
u.value.length ? y("", !0) : (m(), w("div",
|
|
1481
|
-
k(l(
|
|
1482
|
-
|
|
1471
|
+
}), c && ua(c.autoload, c, e);
|
|
1472
|
+
}), wa(() => {
|
|
1473
|
+
c && da(c, e);
|
|
1474
|
+
}), (_, E) => {
|
|
1475
|
+
var R;
|
|
1476
|
+
return m(), w("div", bt, [
|
|
1477
|
+
u.value.length ? y("", !0) : (m(), w("div", xt, [
|
|
1478
|
+
k(l(pa), { class: "text-[#555] mx-[5px] !ml-[10px] !w-4 !h-4" }),
|
|
1479
|
+
E[0] || (E[0] = $("span", null, "数据加载中...", -1))
|
|
1483
1480
|
])),
|
|
1484
|
-
k(l(
|
|
1481
|
+
k(l(Pa), F({
|
|
1485
1482
|
options: u.value,
|
|
1486
|
-
class: [(
|
|
1483
|
+
class: [(R = l(o)) == null ? void 0 : R.errClass],
|
|
1487
1484
|
"allow-clear": !0,
|
|
1488
1485
|
placeholder: u.value.length > 0 ? "请选择" + l(f) : "",
|
|
1489
1486
|
onChange: g
|
|
@@ -1491,7 +1488,7 @@ const jt = async (s, t) => {
|
|
|
1491
1488
|
]);
|
|
1492
1489
|
};
|
|
1493
1490
|
}
|
|
1494
|
-
}),
|
|
1491
|
+
}), cl = /* @__PURE__ */ q(_t, [["__scopeId", "data-v-7f0def6e"]]), ul = /* @__PURE__ */ q(ma, [["__scopeId", "data-v-64193a41"]]);
|
|
1495
1492
|
function ie() {
|
|
1496
1493
|
return ie = Object.assign ? Object.assign.bind() : function(s) {
|
|
1497
1494
|
for (var t = 1; t < arguments.length; t++) {
|
|
@@ -1501,7 +1498,7 @@ function ie() {
|
|
|
1501
1498
|
return s;
|
|
1502
1499
|
}, ie.apply(null, arguments);
|
|
1503
1500
|
}
|
|
1504
|
-
const
|
|
1501
|
+
const yt = {
|
|
1505
1502
|
locale: "zh_CN",
|
|
1506
1503
|
today: "今天",
|
|
1507
1504
|
now: "此刻",
|
|
@@ -1528,7 +1525,7 @@ const gt = {
|
|
|
1528
1525
|
nextDecade: "下一年代",
|
|
1529
1526
|
previousCentury: "上一世纪",
|
|
1530
1527
|
nextCentury: "下一世纪"
|
|
1531
|
-
},
|
|
1528
|
+
}, kt = {
|
|
1532
1529
|
placeholder: "请选择时间",
|
|
1533
1530
|
rangePlaceholder: ["开始时间", "结束时间"]
|
|
1534
1531
|
}, ye = {
|
|
@@ -1543,11 +1540,11 @@ const gt = {
|
|
|
1543
1540
|
rangeMonthPlaceholder: ["开始月份", "结束月份"],
|
|
1544
1541
|
rangeQuarterPlaceholder: ["开始季度", "结束季度"],
|
|
1545
1542
|
rangeWeekPlaceholder: ["开始周", "结束周"]
|
|
1546
|
-
},
|
|
1547
|
-
timePickerLocale: ie({},
|
|
1543
|
+
}, yt),
|
|
1544
|
+
timePickerLocale: ie({}, kt)
|
|
1548
1545
|
};
|
|
1549
1546
|
ye.lang.ok = "确定";
|
|
1550
|
-
const
|
|
1547
|
+
const dl = /* @__PURE__ */ S({
|
|
1551
1548
|
__name: "index",
|
|
1552
1549
|
props: {
|
|
1553
1550
|
valueFormat: {}
|
|
@@ -1558,7 +1555,7 @@ const nl = /* @__PURE__ */ S({
|
|
|
1558
1555
|
}, c = x(t.valueFormat ?? "YYYY-MM-DD");
|
|
1559
1556
|
return (p, d) => {
|
|
1560
1557
|
var o;
|
|
1561
|
-
return m(), b(l(
|
|
1558
|
+
return m(), b(l(Fa), {
|
|
1562
1559
|
class: N(["w-full", [((o = l(n)) == null ? void 0 : o.errClass) === "error" ? "error !border-red-300 shadow-[0_0_3px_0px_#ff4d4f]" : ""]]),
|
|
1563
1560
|
placeholder: "请选择" + l(a),
|
|
1564
1561
|
locale: l(ye),
|
|
@@ -1567,7 +1564,7 @@ const nl = /* @__PURE__ */ S({
|
|
|
1567
1564
|
}, null, 8, ["class", "placeholder", "locale", "valueFormat"]);
|
|
1568
1565
|
};
|
|
1569
1566
|
}
|
|
1570
|
-
}),
|
|
1567
|
+
}), wt = /* @__PURE__ */ S({
|
|
1571
1568
|
__name: "index",
|
|
1572
1569
|
props: {
|
|
1573
1570
|
value: {}
|
|
@@ -1599,7 +1596,7 @@ const nl = /* @__PURE__ */ S({
|
|
|
1599
1596
|
};
|
|
1600
1597
|
return (f, r) => {
|
|
1601
1598
|
var v, u;
|
|
1602
|
-
return m(), b(l(
|
|
1599
|
+
return m(), b(l(ee), F({
|
|
1603
1600
|
class: [
|
|
1604
1601
|
(v = l(n)) == null ? void 0 : v.errClass,
|
|
1605
1602
|
((u = l(n)) == null ? void 0 : u.errClass) === "error" && !f.$slots.addonBefore && !f.$slots.addonAfter ? "!border-red-300 shadow-[0_0_3px_0px_#ff4d4f]" : ""
|
|
@@ -1615,21 +1612,21 @@ const nl = /* @__PURE__ */ S({
|
|
|
1615
1612
|
f.$slots.addonBefore ? {
|
|
1616
1613
|
name: "addonBefore",
|
|
1617
1614
|
fn: h(() => [
|
|
1618
|
-
|
|
1615
|
+
I(f.$slots, "addonBefore")
|
|
1619
1616
|
]),
|
|
1620
1617
|
key: "0"
|
|
1621
1618
|
} : void 0,
|
|
1622
1619
|
f.$slots.addonAfter ? {
|
|
1623
1620
|
name: "addonAfter",
|
|
1624
1621
|
fn: h(() => [
|
|
1625
|
-
|
|
1622
|
+
I(f.$slots, "addonAfter")
|
|
1626
1623
|
]),
|
|
1627
1624
|
key: "1"
|
|
1628
1625
|
} : void 0
|
|
1629
1626
|
]), 1040, ["class", "value", "placeholder"]);
|
|
1630
1627
|
};
|
|
1631
1628
|
}
|
|
1632
|
-
}),
|
|
1629
|
+
}), St = /* @__PURE__ */ S({
|
|
1633
1630
|
__name: "inputIcon",
|
|
1634
1631
|
props: {
|
|
1635
1632
|
value: {}
|
|
@@ -1648,7 +1645,7 @@ const nl = /* @__PURE__ */ S({
|
|
|
1648
1645
|
(i) => {
|
|
1649
1646
|
a("update:value", i);
|
|
1650
1647
|
}
|
|
1651
|
-
), (i, c) => (m(), b(
|
|
1648
|
+
), (i, c) => (m(), b(wt, F({
|
|
1652
1649
|
value: n.value,
|
|
1653
1650
|
"onUpdate:value": c[0] || (c[0] = (p) => n.value = p)
|
|
1654
1651
|
}, i.$attrs), {
|
|
@@ -1661,7 +1658,7 @@ const nl = /* @__PURE__ */ S({
|
|
|
1661
1658
|
_: 1
|
|
1662
1659
|
}, 16, ["value"]));
|
|
1663
1660
|
}
|
|
1664
|
-
}),
|
|
1661
|
+
}), pl = /* @__PURE__ */ q(St, [["__scopeId", "data-v-358b82ef"]]), fl = /* @__PURE__ */ S({
|
|
1665
1662
|
__name: "inputPassword",
|
|
1666
1663
|
setup(s) {
|
|
1667
1664
|
const { editorCtrl: t, labelText: e, errInfo: a } = L(), n = () => {
|
|
@@ -1669,7 +1666,7 @@ const nl = /* @__PURE__ */ S({
|
|
|
1669
1666
|
};
|
|
1670
1667
|
return (i, c) => {
|
|
1671
1668
|
var p;
|
|
1672
|
-
return m(), b(l(
|
|
1669
|
+
return m(), b(l(Na), F({
|
|
1673
1670
|
class: ((p = l(a)) == null ? void 0 : p.errClass) === "error" ? ["error", "!border-red-300", "shadow-[0_0_3px_0px_#ff4d4f]"] : "",
|
|
1674
1671
|
"allow-clear": !0,
|
|
1675
1672
|
autocomplete: "new-password",
|
|
@@ -1678,7 +1675,7 @@ const nl = /* @__PURE__ */ S({
|
|
|
1678
1675
|
}, i.$attrs), null, 16, ["class", "placeholder"]);
|
|
1679
1676
|
};
|
|
1680
1677
|
}
|
|
1681
|
-
}),
|
|
1678
|
+
}), vl = /* @__PURE__ */ S({
|
|
1682
1679
|
__name: "inputNumber",
|
|
1683
1680
|
setup(s) {
|
|
1684
1681
|
const { editorCtrl: t, labelText: e, errInfo: a } = L(), n = () => {
|
|
@@ -1686,7 +1683,7 @@ const nl = /* @__PURE__ */ S({
|
|
|
1686
1683
|
};
|
|
1687
1684
|
return (i, c) => {
|
|
1688
1685
|
var p;
|
|
1689
|
-
return m(), b(l(
|
|
1686
|
+
return m(), b(l(Ma), F({
|
|
1690
1687
|
class: [[((p = l(a)) == null ? void 0 : p.errClass) === "error" ? "error !border-red-300 shadow-[0_0_3px_0px_#ff4d4f]" : ""], "w-[50%]"],
|
|
1691
1688
|
onBlur: n,
|
|
1692
1689
|
"allow-clear": !1,
|
|
@@ -1694,7 +1691,7 @@ const nl = /* @__PURE__ */ S({
|
|
|
1694
1691
|
}, i.$attrs), null, 16, ["class", "placeholder"]);
|
|
1695
1692
|
};
|
|
1696
1693
|
}
|
|
1697
|
-
}),
|
|
1694
|
+
}), Ct = { class: "flex flex-col gap-2" }, Tt = { key: 1 }, ml = /* @__PURE__ */ S({
|
|
1698
1695
|
__name: "index",
|
|
1699
1696
|
props: {
|
|
1700
1697
|
value: {},
|
|
@@ -1742,15 +1739,15 @@ const nl = /* @__PURE__ */ S({
|
|
|
1742
1739
|
}, f = () => {
|
|
1743
1740
|
d();
|
|
1744
1741
|
};
|
|
1745
|
-
return (r, v) => (m(), w("div",
|
|
1746
|
-
(m(!0), w(
|
|
1742
|
+
return (r, v) => (m(), w("div", Ct, [
|
|
1743
|
+
(m(!0), w(O, null, U(i.value, (u) => (m(), w("div", {
|
|
1747
1744
|
key: u.id,
|
|
1748
1745
|
class: "flex items-center gap-2"
|
|
1749
1746
|
}, [
|
|
1750
1747
|
$("div", {
|
|
1751
1748
|
class: N([r.fieldWidth ? `w-[${r.fieldWidth}%]` : "w-[33%]"])
|
|
1752
1749
|
}, [
|
|
1753
|
-
!r.selectList || r.selectList.length === 0 ? (m(), b(l(
|
|
1750
|
+
!r.selectList || r.selectList.length === 0 ? (m(), b(l(ee), {
|
|
1754
1751
|
key: 0,
|
|
1755
1752
|
value: u.field,
|
|
1756
1753
|
"onUpdate:value": (g) => u.field = g,
|
|
@@ -1759,15 +1756,15 @@ const nl = /* @__PURE__ */ S({
|
|
|
1759
1756
|
placeholder: u.text || r.labelHolder || "配置名",
|
|
1760
1757
|
onInput: f,
|
|
1761
1758
|
disabled: !n.value
|
|
1762
|
-
}, null, 8, ["value", "onUpdate:value", "title", "placeholder", "disabled"])) : (m(), w("div",
|
|
1763
|
-
k(l(
|
|
1759
|
+
}, null, 8, ["value", "onUpdate:value", "title", "placeholder", "disabled"])) : (m(), w("div", Tt, [
|
|
1760
|
+
k(l(ee), {
|
|
1764
1761
|
value: u.text,
|
|
1765
1762
|
"onUpdate:value": (g) => u.text = g,
|
|
1766
1763
|
title: u.text,
|
|
1767
1764
|
disabled: !0,
|
|
1768
1765
|
class: "w-[100%]"
|
|
1769
1766
|
}, null, 8, ["value", "onUpdate:value", "title"]),
|
|
1770
|
-
k(l(
|
|
1767
|
+
k(l(ee), {
|
|
1771
1768
|
type: "hidden",
|
|
1772
1769
|
value: u.field,
|
|
1773
1770
|
"onUpdate:value": (g) => u.field = g
|
|
@@ -1778,7 +1775,7 @@ const nl = /* @__PURE__ */ S({
|
|
|
1778
1775
|
$("div", {
|
|
1779
1776
|
class: N([r.fieldWidth ? `w-[${97 - r.fieldWidth}%]` : "w-[64%]"])
|
|
1780
1777
|
}, [
|
|
1781
|
-
k(l(
|
|
1778
|
+
k(l(ee), {
|
|
1782
1779
|
value: u.value,
|
|
1783
1780
|
"onUpdate:value": (g) => u.value = g,
|
|
1784
1781
|
placeholder: r.valueHolder || "请输入" + u.text || "请输入配置值",
|
|
@@ -1801,7 +1798,7 @@ const nl = /* @__PURE__ */ S({
|
|
|
1801
1798
|
})) : y("", !0)
|
|
1802
1799
|
]));
|
|
1803
1800
|
}
|
|
1804
|
-
}),
|
|
1801
|
+
}), $t = /* @__PURE__ */ q(ha, [["__scopeId", "data-v-cf2cfa24"]]), hl = /* @__PURE__ */ S({
|
|
1805
1802
|
__name: "radioStatus",
|
|
1806
1803
|
props: {
|
|
1807
1804
|
/**
|
|
@@ -1833,9 +1830,9 @@ const nl = /* @__PURE__ */ S({
|
|
|
1833
1830
|
return t.all === !0 && e.value.unshift({
|
|
1834
1831
|
label: "全部",
|
|
1835
1832
|
value: t.allValue || [0, 1]
|
|
1836
|
-
}), (a, n) => (m(), b(
|
|
1833
|
+
}), (a, n) => (m(), b($t, { data: e.value }, null, 8, ["data"]));
|
|
1837
1834
|
}
|
|
1838
|
-
}),
|
|
1835
|
+
}), gl = /* @__PURE__ */ S({
|
|
1839
1836
|
__name: "index",
|
|
1840
1837
|
props: {
|
|
1841
1838
|
startDate: {},
|
|
@@ -1844,7 +1841,7 @@ const nl = /* @__PURE__ */ S({
|
|
|
1844
1841
|
},
|
|
1845
1842
|
emits: ["update:startDate", "update:endDate"],
|
|
1846
1843
|
setup(s, { emit: t }) {
|
|
1847
|
-
const e = s, a = t, n = L(), { errInfo: i } = n, c =
|
|
1844
|
+
const e = s, a = t, n = L(), { errInfo: i } = n, c = J(() => e.valueFormat), p = J(() => {
|
|
1848
1845
|
const o = e.startDate, f = e.endDate;
|
|
1849
1846
|
if (!(!o || !f))
|
|
1850
1847
|
try {
|
|
@@ -1862,7 +1859,7 @@ const nl = /* @__PURE__ */ S({
|
|
|
1862
1859
|
};
|
|
1863
1860
|
return (o, f) => {
|
|
1864
1861
|
var r;
|
|
1865
|
-
return m(), b(l(
|
|
1862
|
+
return m(), b(l(Ra), {
|
|
1866
1863
|
class: N([((r = l(i)) == null ? void 0 : r.errClass) === "error" ? ["error", "!border-red-300", "shadow-[0_0_3px_0px_#ff4d4f]"] : "", "w-full"]),
|
|
1867
1864
|
locale: l(ye),
|
|
1868
1865
|
"value-format": c.value,
|
|
@@ -1871,7 +1868,7 @@ const nl = /* @__PURE__ */ S({
|
|
|
1871
1868
|
}, null, 8, ["class", "locale", "value-format", "value"]);
|
|
1872
1869
|
};
|
|
1873
1870
|
}
|
|
1874
|
-
}),
|
|
1871
|
+
}), bl = /* @__PURE__ */ q(ga, [["__scopeId", "data-v-8e93cef3"]]), xl = /* @__PURE__ */ S({
|
|
1875
1872
|
__name: "index",
|
|
1876
1873
|
setup(s) {
|
|
1877
1874
|
const { editorCtrl: t, labelText: e, errInfo: a } = L(), n = () => {
|
|
@@ -1879,19 +1876,19 @@ const nl = /* @__PURE__ */ S({
|
|
|
1879
1876
|
};
|
|
1880
1877
|
return (i, c) => {
|
|
1881
1878
|
var p;
|
|
1882
|
-
return m(), b(l(
|
|
1879
|
+
return m(), b(l(Oa), F({
|
|
1883
1880
|
class: ((p = l(a)) == null ? void 0 : p.errClass) === "error" ? ["error", "!border-red-300", "shadow-[0_0_3px_0px_#ff4d4f]"] : "",
|
|
1884
1881
|
"allow-clear": !0,
|
|
1885
1882
|
placeholder: "请输入" + l(e),
|
|
1886
1883
|
onBlur: n,
|
|
1887
|
-
onKeyup: c[0] || (c[0] = Se(
|
|
1884
|
+
onKeyup: c[0] || (c[0] = Se(ae(() => {
|
|
1888
1885
|
}, ["stop"]), ["enter", "native"])),
|
|
1889
|
-
onKeydown: c[1] || (c[1] = Se(
|
|
1886
|
+
onKeydown: c[1] || (c[1] = Se(ae(() => {
|
|
1890
1887
|
}, ["stop"]), ["enter", "native"]))
|
|
1891
1888
|
}, i.$attrs), null, 16, ["class", "placeholder"]);
|
|
1892
1889
|
};
|
|
1893
1890
|
}
|
|
1894
|
-
}),
|
|
1891
|
+
}), It = /* @__PURE__ */ S({
|
|
1895
1892
|
__name: "index",
|
|
1896
1893
|
props: {
|
|
1897
1894
|
autoload: { type: Boolean },
|
|
@@ -1928,27 +1925,27 @@ const nl = /* @__PURE__ */ S({
|
|
|
1928
1925
|
}
|
|
1929
1926
|
}), (r, v) => {
|
|
1930
1927
|
var u;
|
|
1931
|
-
return m(), b(l(
|
|
1928
|
+
return m(), b(l(Aa), F({
|
|
1932
1929
|
class: ((u = l(c)) == null ? void 0 : u.errClass) === "error" ? ["error", "!border-red-300", "shadow-[0_0_3px_0px_#ff4d4f]"] : "",
|
|
1933
1930
|
placeholder: "请输入" + l(i),
|
|
1934
1931
|
targetKeys: o.value,
|
|
1935
1932
|
onChange: f
|
|
1936
1933
|
}, r.$attrs), {
|
|
1937
|
-
children: h(({ direction: g, disabled: C, filteredItems:
|
|
1938
|
-
|
|
1934
|
+
children: h(({ direction: g, disabled: C, filteredItems: D, onItemSelectAll: A, onItemSelect: _, selectedKeys: E }) => [
|
|
1935
|
+
I(r.$slots, "children", {
|
|
1939
1936
|
direction: g,
|
|
1940
1937
|
disabled: C,
|
|
1941
|
-
filteredItems:
|
|
1942
|
-
onItemSelectAll:
|
|
1938
|
+
filteredItems: D,
|
|
1939
|
+
onItemSelectAll: A,
|
|
1943
1940
|
onItemSelect: _,
|
|
1944
|
-
selectedKeys:
|
|
1941
|
+
selectedKeys: E
|
|
1945
1942
|
})
|
|
1946
1943
|
]),
|
|
1947
1944
|
_: 3
|
|
1948
1945
|
}, 16, ["class", "placeholder", "targetKeys"]);
|
|
1949
1946
|
};
|
|
1950
1947
|
}
|
|
1951
|
-
}),
|
|
1948
|
+
}), _l = /* @__PURE__ */ S({
|
|
1952
1949
|
__name: "transferTable",
|
|
1953
1950
|
props: {
|
|
1954
1951
|
/**
|
|
@@ -1993,7 +1990,7 @@ const nl = /* @__PURE__ */ S({
|
|
|
1993
1990
|
disabled: o || u.disabled
|
|
1994
1991
|
}),
|
|
1995
1992
|
onSelectAll(u, g) {
|
|
1996
|
-
const C = g.filter((
|
|
1993
|
+
const C = g.filter((D) => !D.disabled).map(({ [c.value]: D }) => D);
|
|
1997
1994
|
r(C, u);
|
|
1998
1995
|
},
|
|
1999
1996
|
onSelect({ [c.value]: u }, g) {
|
|
@@ -2011,7 +2008,7 @@ const nl = /* @__PURE__ */ S({
|
|
|
2011
2008
|
});
|
|
2012
2009
|
d.value = (o == null ? void 0 : o.data) ?? [];
|
|
2013
2010
|
}
|
|
2014
|
-
}), (o, f) => (m(), b(
|
|
2011
|
+
}), (o, f) => (m(), b(It, F({
|
|
2015
2012
|
"data-source": d.value,
|
|
2016
2013
|
"row-key": (r) => r[c.value],
|
|
2017
2014
|
value: i.value,
|
|
@@ -2045,8 +2042,8 @@ const nl = /* @__PURE__ */ S({
|
|
|
2045
2042
|
scroll: { x: 300 },
|
|
2046
2043
|
"custom-row": (C) => ({
|
|
2047
2044
|
onClick: () => {
|
|
2048
|
-
const
|
|
2049
|
-
u(
|
|
2045
|
+
const D = C[c.value];
|
|
2046
|
+
u(D, !g.includes(D));
|
|
2050
2047
|
}
|
|
2051
2048
|
})
|
|
2052
2049
|
}, null, 8, ["columns", "row-key", "row-selection", "data-source", "custom-row"])
|
|
@@ -2054,7 +2051,7 @@ const nl = /* @__PURE__ */ S({
|
|
|
2054
2051
|
_: 1
|
|
2055
2052
|
}, 16, ["data-source", "row-key", "value", "filter-option"]));
|
|
2056
2053
|
}
|
|
2057
|
-
}),
|
|
2054
|
+
}), Dt = /* @__PURE__ */ S({
|
|
2058
2055
|
__name: "index",
|
|
2059
2056
|
props: {
|
|
2060
2057
|
multiple: {
|
|
@@ -2099,7 +2096,7 @@ const nl = /* @__PURE__ */ S({
|
|
|
2099
2096
|
}), a.data.value ? d.value = a.fieldMap ? oe(a.fieldMap, a.data.value) : a.data.value : e.treeCtrl.autoload && Me(e.treeCtrl);
|
|
2100
2097
|
}), (r, v) => {
|
|
2101
2098
|
var u;
|
|
2102
|
-
return m(), b(l(
|
|
2099
|
+
return m(), b(l(Ba), F({
|
|
2103
2100
|
class: [[(u = l(i)) == null ? void 0 : u.errClass], "w-full"],
|
|
2104
2101
|
"tree-line": "",
|
|
2105
2102
|
multiple: s.multiple,
|
|
@@ -2113,30 +2110,30 @@ const nl = /* @__PURE__ */ S({
|
|
|
2113
2110
|
}, r.$attrs), null, 16, ["class", "multiple", "value", "tree-data", "placeholder"]);
|
|
2114
2111
|
};
|
|
2115
2112
|
}
|
|
2116
|
-
}),
|
|
2113
|
+
}), yl = /* @__PURE__ */ q(Dt, [["__scopeId", "data-v-f000d1d0"]]), Et = { class: "relative h-[calc(100vh-80px)] overflow-y-auto" }, Pt = { class: "flex w-full h-full min-h-full" }, Ft = {
|
|
2117
2114
|
key: 0,
|
|
2118
2115
|
class: "w-1/4 pr-4 min-h-full min-w-[170px] max-w-[200px]"
|
|
2119
|
-
},
|
|
2116
|
+
}, Nt = { class: "flex-1 h-full overflow-y-auto" }, kl = /* @__PURE__ */ S({
|
|
2120
2117
|
__name: "index",
|
|
2121
2118
|
props: {
|
|
2122
2119
|
left: { type: Boolean }
|
|
2123
2120
|
},
|
|
2124
2121
|
setup(s) {
|
|
2125
2122
|
const { useToken: t } = Le, { token: e } = t();
|
|
2126
|
-
return (a, n) => (m(), w("div",
|
|
2127
|
-
k(l(
|
|
2123
|
+
return (a, n) => (m(), w("div", Et, [
|
|
2124
|
+
k(l(La), {
|
|
2128
2125
|
class: "m-[10px] p-[10px] h-[calc(100vh-100px)] !min-h-[calc(100vh-100px)]",
|
|
2129
2126
|
style: ue({
|
|
2130
2127
|
backgroundColor: l(e).colorBgContainer
|
|
2131
2128
|
})
|
|
2132
2129
|
}, {
|
|
2133
2130
|
default: h(() => [
|
|
2134
|
-
$("div",
|
|
2135
|
-
a.left ? (m(), w("div",
|
|
2136
|
-
|
|
2131
|
+
$("div", Pt, [
|
|
2132
|
+
a.left ? (m(), w("div", Ft, [
|
|
2133
|
+
I(a.$slots, "left")
|
|
2137
2134
|
])) : y("", !0),
|
|
2138
|
-
$("div",
|
|
2139
|
-
|
|
2135
|
+
$("div", Nt, [
|
|
2136
|
+
I(a.$slots, "default")
|
|
2140
2137
|
])
|
|
2141
2138
|
])
|
|
2142
2139
|
]),
|
|
@@ -2146,158 +2143,158 @@ const nl = /* @__PURE__ */ S({
|
|
|
2146
2143
|
}
|
|
2147
2144
|
});
|
|
2148
2145
|
export {
|
|
2149
|
-
|
|
2146
|
+
As as AppIcon,
|
|
2150
2147
|
ce as AppRouter,
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2148
|
+
is as AsyncUploader,
|
|
2149
|
+
il as AutoComplete,
|
|
2150
|
+
Bs as Breadcrumb,
|
|
2154
2151
|
B as Button,
|
|
2155
2152
|
He as Cache,
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2153
|
+
Xa as CacheKeys,
|
|
2154
|
+
bs as CanPreviewFileExt,
|
|
2155
|
+
cl as Cascader,
|
|
2156
|
+
ul as Checkbox,
|
|
2157
|
+
kl as Content,
|
|
2158
|
+
dl as DatePicker,
|
|
2159
|
+
Ls as Datetime,
|
|
2160
|
+
Hs as Dialog,
|
|
2161
|
+
tl as Drawer,
|
|
2162
|
+
Cl as EventPrefix,
|
|
2163
|
+
ll as Form,
|
|
2164
|
+
sl as FormItem,
|
|
2165
|
+
el as Fullscreen,
|
|
2166
|
+
Us as Header,
|
|
2167
|
+
zs as HeaderExits,
|
|
2168
|
+
et as Helper,
|
|
2169
|
+
Tl as ICONS_LIB,
|
|
2170
|
+
Ys as Icon,
|
|
2171
|
+
dt as Icontool,
|
|
2172
|
+
wt as Input,
|
|
2173
|
+
pl as InputIcon,
|
|
2174
|
+
vl as InputNumber,
|
|
2175
|
+
fl as InputPassword,
|
|
2176
|
+
al as LayoutIcon,
|
|
2177
|
+
ws as Loading,
|
|
2178
|
+
Vs as Menu,
|
|
2179
|
+
Ws as MenuTabs,
|
|
2183
2180
|
Ne as OPTIONS,
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2181
|
+
ia as OptionCommProps,
|
|
2182
|
+
Ks as ProjectIcon,
|
|
2183
|
+
ml as PropEditor,
|
|
2187
2184
|
j as ProviderKeys,
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2185
|
+
$t as Radio,
|
|
2186
|
+
hl as RadioStatus,
|
|
2187
|
+
gl as RangePicker,
|
|
2188
|
+
rl as Search,
|
|
2192
2189
|
pe as SearchItem,
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2190
|
+
bl as Select,
|
|
2191
|
+
ra as Switch,
|
|
2192
|
+
ol as Table,
|
|
2193
|
+
ct as TableOperate,
|
|
2194
|
+
xl as Textarea,
|
|
2198
2195
|
z as ToolIcon,
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2196
|
+
mt as Toolbar,
|
|
2197
|
+
Rs as Tooltip,
|
|
2198
|
+
It as Transfer,
|
|
2199
|
+
_l as TransferTable,
|
|
2200
|
+
nl as Tree,
|
|
2201
|
+
yl as TreeSelect,
|
|
2202
|
+
xs as UploadList,
|
|
2203
|
+
cs as UploadStatus,
|
|
2204
|
+
Ss as appendExcelData,
|
|
2205
|
+
Cs as checkExcelDuplicates,
|
|
2206
|
+
$l as checkIconsExpired,
|
|
2207
|
+
pa as circleLoading,
|
|
2208
|
+
Xe as createFromIconfont,
|
|
2209
|
+
Ts as createMarkedExcelView,
|
|
2210
|
+
Il as crumbs,
|
|
2211
|
+
Gt as csvToExcelBlob,
|
|
2215
2212
|
Ke as csvToExcelView,
|
|
2216
|
-
|
|
2213
|
+
$s as csvToNormalized,
|
|
2217
2214
|
De as defaultTools,
|
|
2218
|
-
|
|
2219
|
-
|
|
2215
|
+
Dl as doDelete,
|
|
2216
|
+
El as doExecute,
|
|
2220
2217
|
Re as doQuery,
|
|
2221
|
-
|
|
2222
|
-
|
|
2218
|
+
Pl as doSave,
|
|
2219
|
+
_s as donwloadFromMinio,
|
|
2223
2220
|
We as downloadBlob,
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2221
|
+
Fl as eventBus,
|
|
2222
|
+
Is as excelToExcelView,
|
|
2223
|
+
Ds as excelToNormalized,
|
|
2224
|
+
Zt as exportResults,
|
|
2225
|
+
Xt as exportSelectedRows,
|
|
2229
2226
|
Fe as filterColumns,
|
|
2230
2227
|
Q as formValidate,
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2228
|
+
us as getAppInfo,
|
|
2229
|
+
Nl as getFormDetail,
|
|
2230
|
+
ds as getHostInfo,
|
|
2231
|
+
Ml as getIconTransform,
|
|
2232
|
+
Rl as getRecordDetail,
|
|
2233
|
+
Ol as getRuleTexts,
|
|
2234
|
+
va as getSelectedLabels,
|
|
2235
|
+
Al as getSelectedValues,
|
|
2236
|
+
ps as getToken,
|
|
2240
2237
|
W as getToolByKey,
|
|
2241
2238
|
_e as getToolGroup,
|
|
2242
2239
|
K as getToolStatus,
|
|
2243
|
-
|
|
2244
|
-
|
|
2240
|
+
G as getToolVisible,
|
|
2241
|
+
fs as getUserInfo,
|
|
2245
2242
|
ke as gridQueryFind,
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2243
|
+
sa as gridQueryList,
|
|
2244
|
+
Bl as gridRowUpdate,
|
|
2245
|
+
oa as gridStatusUpdate,
|
|
2246
|
+
qt as initCacheCheck,
|
|
2247
|
+
Qt as initDirective,
|
|
2248
|
+
Ll as initMenu,
|
|
2249
|
+
Ul as initPageFactory,
|
|
2250
|
+
zl as initValidate,
|
|
2251
|
+
Z as isEmpty,
|
|
2252
|
+
ua as loadOption,
|
|
2253
|
+
Yl as mergeColumns,
|
|
2254
|
+
Es as normalizedToExcelView,
|
|
2255
|
+
Ga as onColumnVisibleChanged,
|
|
2256
|
+
ea as onFormClose,
|
|
2260
2257
|
Ee as onFormSave,
|
|
2261
|
-
|
|
2258
|
+
Ze as onFormSaveAs,
|
|
2262
2259
|
je as onFullscreenClick,
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2260
|
+
ta as onGridRowDelete,
|
|
2261
|
+
aa as onGridRowEdit,
|
|
2262
|
+
Vl as onGridRowExpand,
|
|
2263
|
+
fa as onOptionChanged,
|
|
2264
|
+
Va as onReloadClick,
|
|
2268
2265
|
Y as onToolClicked,
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2266
|
+
la as openNewForm,
|
|
2267
|
+
Wl as outFormDataFields,
|
|
2268
|
+
Kl as parseIcons,
|
|
2269
|
+
vs as path,
|
|
2270
|
+
jl as pendingNavigation,
|
|
2271
|
+
Hl as pinia,
|
|
2272
|
+
ys as previewFromMinio,
|
|
2273
|
+
Jt as processCsvFile,
|
|
2274
|
+
Ps as processExcelFile,
|
|
2278
2275
|
Me as queryTree,
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2276
|
+
Ql as resetRules,
|
|
2277
|
+
ql as routes,
|
|
2278
|
+
Gl as saveForm,
|
|
2279
|
+
Jl as setFormData,
|
|
2280
|
+
Xl as showBreadcrumb,
|
|
2281
|
+
Fs as toExcel,
|
|
2282
|
+
da as unloadOption,
|
|
2283
|
+
Zl as useAppInfo,
|
|
2284
|
+
es as useEditorFactory,
|
|
2288
2285
|
Pe as useFormItemFactory,
|
|
2289
|
-
|
|
2290
|
-
|
|
2286
|
+
as as useGridFactory,
|
|
2287
|
+
ts as useHostInfo,
|
|
2291
2288
|
L as useInputFactory,
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2289
|
+
ca as useOptionFactory,
|
|
2290
|
+
ls as usePageFactory,
|
|
2291
|
+
ss as usePageInfo,
|
|
2295
2292
|
me as useSettingInfo,
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2293
|
+
Ja as useToolFactory,
|
|
2294
|
+
rs as useTreeFactory,
|
|
2295
|
+
Je as useUserInfo,
|
|
2296
|
+
ms as userLogin,
|
|
2297
|
+
hs as userLogout,
|
|
2298
|
+
os as validateData,
|
|
2299
|
+
Ns as validateExcel
|
|
2303
2300
|
};
|