@skyfox2000/webui 1.3.8 → 1.3.9
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-D7ysapQL.js → file-upload-Bkrnsn-c.js} +1 -1
- package/lib/assets/modules/{index-tow3C94d.js → index-BOBTPmiP.js} +2 -2
- package/lib/assets/modules/{index-BiXvleeT.js → index-D9o5XTiu.js} +2 -2
- package/lib/assets/modules/{index-_foSmXoy.js → index-DpVh0k1G.js} +1 -1
- package/lib/assets/modules/{menuTabs-CmB2d0Wh.js → menuTabs-D0MJJye5.js} +2 -2
- package/lib/assets/modules/{toolIcon-IR6jQE0h.js → toolIcon-jkoAB1WI.js} +1 -1
- package/lib/assets/modules/{uploadList-BNx4hnQX.js → uploadList-Bwj7G7OA.js} +4 -4
- package/lib/assets/modules/{uploadList-DoiSzbHZ.js → uploadList-D80ld89N.js} +29 -29
- 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 +5 -5
- package/lib/es/UploadForm/index.js +4 -4
- package/lib/webui.css +1 -1
- package/lib/webui.es.js +307 -298
- package/package.json +1 -1
- package/src/components/common/icon/helper.vue +3 -7
- package/src/components/content/form/formItem.vue +9 -19
- package/src/components/form/select/index.vue +1 -2
- package/src/components/form/treeSelect/index.vue +16 -5
package/lib/webui.es.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { u as Je, i as Z, a as
|
|
2
|
-
import { a9 as Sl, N as Cl, Q as Tl, U as $l, a8 as Il, a6 as Dl, a7 as El, aa as Pl, X as Fl, S as Nl, a4 as Ml, a1 as Rl, L as Bl, a3 as
|
|
3
|
-
import { A as ns, U as is, a as cs, g as us, c as ds, d as ps, p as fs, u as vs, b as ms } from "./assets/modules/file-upload-
|
|
1
|
+
import { u as Je, i as Z, a as ve, c as Xe, P as H, 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-D80ld89N.js";
|
|
2
|
+
import { a9 as Sl, N as Cl, Q as Tl, U as $l, a8 as Il, a6 as Dl, a7 as El, aa as Pl, X as Fl, S as Nl, a4 as Ml, a1 as Rl, L as Bl, a3 as Al, T as Ol, G as Ll, Z as zl, a2 as Ul, a5 as Vl, M as Yl, R as Kl, ab as Wl, F as Hl, a0 as jl, ac as Ql, W as ql, Y as Gl, V as Jl, ad as Xl, H as Zl, I as es, ae as as, K as ts, af as ls, J as ss, $ as rs } from "./assets/modules/uploadList-D80ld89N.js";
|
|
3
|
+
import { A as ns, U as is, a as cs, g as us, c as ds, d as ps, p as fs, u as vs, b as ms } from "./assets/modules/file-upload-Bkrnsn-c.js";
|
|
4
4
|
import { EnvConfig as we } from "@skyfox2000/microbase";
|
|
5
|
-
import { FrontCache as re, httpPost as Be, ResStatus as
|
|
6
|
-
import
|
|
7
|
-
import { defineComponent as C, createBlock as b, openBlock as m, withModifiers as ae, unref as l, useAttrs as X, withCtx as g, createElementVNode as $, createVNode as w, mergeProps as
|
|
5
|
+
import { FrontCache as re, httpPost as Be, ResStatus as Ae, SERVER_HOST as ba, fieldMapping as oe } from "@skyfox2000/fapi";
|
|
6
|
+
import me from "vue-m-message";
|
|
7
|
+
import { defineComponent as C, createBlock as b, openBlock as m, withModifiers as ae, unref as l, useAttrs as X, withCtx as g, createElementVNode as $, createVNode as w, mergeProps as N, renderSlot as D, normalizeClass as P, toDisplayString as F, createCommentVNode as k, ref as x, provide as he, watch as T, onMounted as Y, createTextVNode as M, inject as ne, resolveDirective as le, withDirectives as j, computed as J, createElementBlock as S, normalizeStyle as ge, createSlots as Oe, useSlots as xa, Fragment as B, renderList as z, resolveDynamicComponent as _a, onActivated as ya, shallowRef as ka, onUnmounted as wa, withKeys as Se } from "vue";
|
|
8
8
|
import "async-validator";
|
|
9
|
-
import
|
|
10
|
-
import { Popover as Sa, theme as Le, Drawer as Ca, Space as te, Form as ze, message as Ta, FormItem as Ue, ConfigProvider as Ce, Popconfirm as $a, Button as Ve, DropdownButton as Ia, Menu as be, MenuItem as xe, Dropdown as
|
|
9
|
+
import pe from "dayjs";
|
|
10
|
+
import { Popover as Sa, theme as Le, Drawer as Ca, Space as te, Form as ze, message as Ta, FormItem as Ue, ConfigProvider as Ce, Popconfirm as $a, Button as Ve, DropdownButton as Ia, Menu as be, MenuItem as xe, Dropdown as fe, Checkbox as Da, Table as Ye, Tree as Ea, Cascader as Pa, DatePicker as Fa, Input as ee, InputPassword as Na, InputNumber as Ma, RangePicker as Ra, Textarea as Ba, Transfer as Aa, TreeSelect as Oa, LayoutContent as La } from "ant-design-vue";
|
|
11
11
|
import { VueDraggableNext as za } from "vue-draggable-next";
|
|
12
|
-
import { d as
|
|
13
|
-
import { C as gs, U as bs, a as xs, p as _s } from "./assets/modules/uploadList-
|
|
14
|
-
import { c as
|
|
15
|
-
import { _ as ks, h 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-
|
|
16
|
-
import { _ as
|
|
17
|
-
import { _ as U } from "./assets/modules/toolIcon-
|
|
18
|
-
import { a as Rs } from "./assets/modules/toolIcon-
|
|
19
|
-
import { _ as
|
|
20
|
-
import { _ as
|
|
12
|
+
import { d as Ke } from "./assets/modules/uploadList-Bwj7G7OA.js";
|
|
13
|
+
import { C as gs, U as bs, a as xs, p as _s } from "./assets/modules/uploadList-Bwj7G7OA.js";
|
|
14
|
+
import { c as We } from "./assets/modules/index-D9o5XTiu.js";
|
|
15
|
+
import { _ as ks, h 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-D9o5XTiu.js";
|
|
16
|
+
import { _ as O } from "./assets/modules/index-DpVh0k1G.js";
|
|
17
|
+
import { _ as U } from "./assets/modules/toolIcon-jkoAB1WI.js";
|
|
18
|
+
import { a as Rs } from "./assets/modules/toolIcon-jkoAB1WI.js";
|
|
19
|
+
import { _ as As, b as Os, c as Ls, d as zs, e as Us, I as Vs, f as Ys, g as Ks, a as Ws } from "./assets/modules/menuTabs-D0MJJye5.js";
|
|
20
|
+
import { _ as js } from "./assets/modules/index-BOBTPmiP.js";
|
|
21
21
|
import { _ as q } from "./assets/modules/_plugin-vue_export-helper-CHgC5LLL.js";
|
|
22
22
|
const Te = (s, a, e, t = "remove") => {
|
|
23
23
|
if (!e)
|
|
@@ -32,11 +32,11 @@ const Te = (s, a, e, t = "remove") => {
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
}, $e = (s) => {
|
|
35
|
-
var c,
|
|
35
|
+
var c, f;
|
|
36
36
|
const a = Je(), { url: e, role: t, permit: n } = s;
|
|
37
37
|
if (Z(t) && Z(n))
|
|
38
38
|
return !0;
|
|
39
|
-
const i = e ?? ((
|
|
39
|
+
const i = e ?? ((f = (c = window.location.hash) == null ? void 0 : c.split("#")) == null ? void 0 : f[1]) ?? window.location.pathname;
|
|
40
40
|
if (we.VITE_PERMISSION_MODE === "role")
|
|
41
41
|
return Z(t) ? !0 : a.hasRole(t);
|
|
42
42
|
if (we.VITE_PERMISSION_MODE === "permit") {
|
|
@@ -63,43 +63,43 @@ const Te = (s, a, e, t = "remove") => {
|
|
|
63
63
|
s.removeEventListener("keydown", () => {
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
|
-
},
|
|
66
|
+
}, ue = {
|
|
67
67
|
auth: Ua,
|
|
68
68
|
submit: Va
|
|
69
|
-
},
|
|
70
|
-
t in
|
|
71
|
-
}), s),
|
|
69
|
+
}, jt = (s, a) => ((a || Object.keys(ue)).forEach((t) => {
|
|
70
|
+
t in ue && s.directive(t, ue[t]);
|
|
71
|
+
}), s), K = (s, a) => {
|
|
72
72
|
const e = s.find((t) => t.key === a);
|
|
73
73
|
if (e)
|
|
74
74
|
return e;
|
|
75
75
|
for (const t of s)
|
|
76
76
|
if (t.children) {
|
|
77
|
-
const n =
|
|
77
|
+
const n = K(t.children, a);
|
|
78
78
|
if (n)
|
|
79
79
|
return n;
|
|
80
80
|
}
|
|
81
81
|
}, _e = (s, a, e) => {
|
|
82
82
|
const t = [], n = [];
|
|
83
83
|
return e || (e = [...s]), e.length && e.forEach((i, c) => {
|
|
84
|
-
let
|
|
84
|
+
let f;
|
|
85
85
|
if (typeof i == "string") {
|
|
86
|
-
const d =
|
|
87
|
-
|
|
86
|
+
const d = K(s, i);
|
|
87
|
+
f = d ? { ...d } : { key: i, label: i };
|
|
88
88
|
} else {
|
|
89
|
-
const d =
|
|
90
|
-
|
|
89
|
+
const d = K(s, i.key);
|
|
90
|
+
f = d ? { ...d, ...i } : { ...i };
|
|
91
91
|
}
|
|
92
|
-
|
|
93
|
-
o && (o.rowData.value =
|
|
94
|
-
|
|
95
|
-
}, 1)) :
|
|
96
|
-
}), a === 0 || c < a ? t.push(
|
|
92
|
+
f.click || (f.click = (d, o, p) => {
|
|
93
|
+
o && (o.rowData.value = p), f.formVisible ? (f.formVisible.value = !1, setTimeout(() => {
|
|
94
|
+
f.formVisible.value = !0;
|
|
95
|
+
}, 1)) : me.warning("未配置点击处理事件!");
|
|
96
|
+
}), a === 0 || c < a ? t.push(f) : n.push(f);
|
|
97
97
|
}), { buttons: t, menus: n };
|
|
98
|
-
},
|
|
98
|
+
}, W = (s, a) => s.disabled && typeof s.disabled == "function" ? s.disabled(a) : s.disabled, G = (s, a) => s.visible && typeof s.visible == "function" ? s.visible(a) : s.visible ?? !0, Ya = (s, a) => {
|
|
99
99
|
a.reload.value = !0;
|
|
100
|
-
}, Wa = (s, a) => {
|
|
101
|
-
a.searchBar.value = !a.searchBar.value;
|
|
102
100
|
}, Ka = (s, a) => {
|
|
101
|
+
a.searchBar.value = !a.searchBar.value;
|
|
102
|
+
}, Wa = (s, a) => {
|
|
103
103
|
switch (a.tableSize.value) {
|
|
104
104
|
case "large":
|
|
105
105
|
a.tableSize.value = "middle";
|
|
@@ -111,9 +111,9 @@ const Te = (s, a, e, t = "remove") => {
|
|
|
111
111
|
a.tableSize.value = "large";
|
|
112
112
|
break;
|
|
113
113
|
}
|
|
114
|
-
}, ja = (s, a) => {
|
|
115
|
-
a.selectable.value = !a.selectable.value, a.selectable.value || (a.selectKeys.value = [], a.selectRows.value = []);
|
|
116
114
|
}, Ha = (s, a) => {
|
|
115
|
+
a.selectable.value = !a.selectable.value, a.selectable.value || (a.selectKeys.value = [], a.selectRows.value = []);
|
|
116
|
+
}, ja = (s, a) => {
|
|
117
117
|
a.rowExpand.value = !a.rowExpand.value;
|
|
118
118
|
}, Ie = (s, a) => {
|
|
119
119
|
a.selectable.value = !a.selectable.value;
|
|
@@ -121,8 +121,8 @@ const Te = (s, a, e, t = "remove") => {
|
|
|
121
121
|
(!s.confirm || n) && s.click && (a ? s.click(a, e, t) : s.click(null, e, t)), qa(s);
|
|
122
122
|
}, Qa = (s, a) => {
|
|
123
123
|
a.selectable.value = !a.selectable.value;
|
|
124
|
-
},
|
|
125
|
-
const s =
|
|
124
|
+
}, He = () => {
|
|
125
|
+
const s = ve();
|
|
126
126
|
s.setFullscreen(!s.fullscreen);
|
|
127
127
|
}, qa = (s, a) => {
|
|
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]));
|
|
@@ -141,20 +141,20 @@ const Te = (s, a, e, t = "remove") => {
|
|
|
141
141
|
labels: ["展开搜索栏", "折叠搜索栏"],
|
|
142
142
|
icon: "icon-search",
|
|
143
143
|
iconStatus: 0,
|
|
144
|
-
click:
|
|
144
|
+
click: Ka
|
|
145
145
|
},
|
|
146
146
|
{
|
|
147
147
|
key: "RowHeight",
|
|
148
148
|
label: "行高调整",
|
|
149
149
|
icon: "icon-row-height",
|
|
150
|
-
click:
|
|
150
|
+
click: Wa
|
|
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: Ha
|
|
158
158
|
},
|
|
159
159
|
{
|
|
160
160
|
key: "tool.expand.rows",
|
|
@@ -163,7 +163,7 @@ const Te = (s, a, e, t = "remove") => {
|
|
|
163
163
|
icon: "icon-row-collapse",
|
|
164
164
|
iconStatus: 0,
|
|
165
165
|
icons: ["icon-row-collapse", "icon-row-expand"],
|
|
166
|
-
click:
|
|
166
|
+
click: ja
|
|
167
167
|
},
|
|
168
168
|
{
|
|
169
169
|
key: "tool.export.excel",
|
|
@@ -210,7 +210,7 @@ const Te = (s, a, e, t = "remove") => {
|
|
|
210
210
|
icon: "icon-fullscreen",
|
|
211
211
|
iconStatus: 0,
|
|
212
212
|
icons: ["icon-fullscreen", "icon-exitscreen"],
|
|
213
|
-
click:
|
|
213
|
+
click: He
|
|
214
214
|
}
|
|
215
215
|
], Ja = (s) => {
|
|
216
216
|
if (!s.tools || s.tools.length > 0) {
|
|
@@ -222,7 +222,7 @@ const Te = (s, a, e, t = "remove") => {
|
|
|
222
222
|
};
|
|
223
223
|
};
|
|
224
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
|
-
class
|
|
225
|
+
class je {
|
|
226
226
|
/**
|
|
227
227
|
* 设置缓存数据(带服务器时间)
|
|
228
228
|
*/
|
|
@@ -244,7 +244,7 @@ class He {
|
|
|
244
244
|
*/
|
|
245
245
|
static getData(a) {
|
|
246
246
|
const e = re.get({ key: a, storage: "local" });
|
|
247
|
-
return e &&
|
|
247
|
+
return e && je.isTimedData(e) ? e.data : e ?? null;
|
|
248
248
|
}
|
|
249
249
|
/**
|
|
250
250
|
* 清除缓存
|
|
@@ -287,14 +287,14 @@ async function Qt() {
|
|
|
287
287
|
},
|
|
288
288
|
{}
|
|
289
289
|
);
|
|
290
|
-
if ((s == null ? void 0 : s.status) ===
|
|
290
|
+
if ((s == null ? void 0 : s.status) === Ae.SUCCESS) {
|
|
291
291
|
const a = s.data;
|
|
292
292
|
Object.keys(a).forEach((e) => {
|
|
293
293
|
const t = a[e];
|
|
294
294
|
["local", "session"].forEach((i) => {
|
|
295
295
|
const c = i === "local" ? localStorage : sessionStorage;
|
|
296
|
-
for (let
|
|
297
|
-
const d = c.key(
|
|
296
|
+
for (let f = 0; f < c.length; f++) {
|
|
297
|
+
const d = c.key(f);
|
|
298
298
|
if (d && d.endsWith(e))
|
|
299
299
|
try {
|
|
300
300
|
const o = JSON.parse(c.getItem(d));
|
|
@@ -311,7 +311,7 @@ async function Qt() {
|
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
313
|
const qt = async (s, a) => {
|
|
314
|
-
const e = await
|
|
314
|
+
const e = await We(s, a);
|
|
315
315
|
if (e.success)
|
|
316
316
|
return {
|
|
317
317
|
blobUrl: e.blobUrl,
|
|
@@ -322,7 +322,7 @@ const qt = async (s, a) => {
|
|
|
322
322
|
throw new Error(e.error || "CSV转Excel失败");
|
|
323
323
|
}, Gt = async (s, a) => {
|
|
324
324
|
try {
|
|
325
|
-
const t = new TextDecoder("utf-8").decode(s), n = await
|
|
325
|
+
const t = new TextDecoder("utf-8").decode(s), n = await We(t, a);
|
|
326
326
|
return {
|
|
327
327
|
success: n.success,
|
|
328
328
|
blobUrl: n.blobUrl,
|
|
@@ -339,7 +339,7 @@ const qt = async (s, a) => {
|
|
|
339
339
|
}
|
|
340
340
|
}, Jt = async (s, a, e) => {
|
|
341
341
|
try {
|
|
342
|
-
const n = (await import("@json2csv/plainjs")).Parser, i = Qe(s), c = a.filter((v) => v.visible !== !1 && v.export !== !1),
|
|
342
|
+
const n = (await import("@json2csv/plainjs")).Parser, i = Qe(s), c = a.filter((v) => v.visible !== !1 && v.export !== !1), f = c.map((v) => ({
|
|
343
343
|
label: v.title,
|
|
344
344
|
value: v.dataIndex || v.key || ""
|
|
345
345
|
})), d = e.map((v) => {
|
|
@@ -348,42 +348,42 @@ const qt = async (s, a) => {
|
|
|
348
348
|
const y = h.dataIndex || h.key;
|
|
349
349
|
y && h.customRender && (u[y] = h.customRender(v[y], v));
|
|
350
350
|
}), u;
|
|
351
|
-
}),
|
|
352
|
-
|
|
351
|
+
}), p = new n({ fields: f }).parse(d), r = new Blob([`\uFEFF${p}`], { type: "text/csv" });
|
|
352
|
+
Ke(r, i);
|
|
353
353
|
} catch (t) {
|
|
354
|
-
console.error("导出失败:", t),
|
|
354
|
+
console.error("导出失败:", t), me.error("文件导出失败,请稍后重试");
|
|
355
355
|
}
|
|
356
356
|
}, Qe = (s) => {
|
|
357
357
|
const a = /\{([^}]+)\}/g;
|
|
358
|
-
return s.replace(a, (e, t) =>
|
|
358
|
+
return s.replace(a, (e, t) => pe().format(t));
|
|
359
359
|
}, Xt = async (s, a, e, t) => {
|
|
360
360
|
try {
|
|
361
|
-
const i = (await import("@json2csv/plainjs")).Parser, c = Qe(s),
|
|
361
|
+
const i = (await import("@json2csv/plainjs")).Parser, c = Qe(s), f = a.filter((r) => r.visible !== !1), d = f.map((r) => ({
|
|
362
362
|
label: r.title,
|
|
363
363
|
value: r.dataIndex || r.key || ""
|
|
364
364
|
}));
|
|
365
|
-
let o = e.page,
|
|
366
|
-
return t.api || (t.api = o.api), t.authorize === void 0 && (t.authorize = o.authorize), e.isGridLoading.value = !0, Be(t,
|
|
367
|
-
if (e.isGridLoading.value = !1, (r == null ? void 0 : r.status) ===
|
|
368
|
-
const u = r.data.map((
|
|
369
|
-
const _ = { ...
|
|
370
|
-
return
|
|
365
|
+
let o = e.page, p = e.gridQuery;
|
|
366
|
+
return t.api || (t.api = o.api), t.authorize === void 0 && (t.authorize = o.authorize), e.isGridLoading.value = !0, Be(t, p).then((r) => {
|
|
367
|
+
if (e.isGridLoading.value = !1, (r == null ? void 0 : r.status) === Ae.SUCCESS && r.data) {
|
|
368
|
+
const u = r.data.map((A) => {
|
|
369
|
+
const _ = { ...A };
|
|
370
|
+
return f.forEach((E) => {
|
|
371
371
|
const R = E.dataIndex || E.key;
|
|
372
|
-
R && E.customRender && (_[R] = E.customRender(
|
|
372
|
+
R && E.customRender && (_[R] = E.customRender(A[R], A));
|
|
373
373
|
}), _;
|
|
374
374
|
}), y = new i({ fields: d }).parse(u), I = new Blob([`\uFEFF${y}`], { type: "text/csv" });
|
|
375
|
-
|
|
375
|
+
Ke(I, c);
|
|
376
376
|
}
|
|
377
377
|
});
|
|
378
378
|
} catch (n) {
|
|
379
|
-
console.error("导出失败:", n),
|
|
379
|
+
console.error("导出失败:", n), me.error("文件导出失败,请稍后重试");
|
|
380
380
|
}
|
|
381
381
|
}, Zt = /* @__PURE__ */ C({
|
|
382
382
|
__name: "fullscreen",
|
|
383
383
|
setup(s) {
|
|
384
|
-
const a =
|
|
384
|
+
const a = ve();
|
|
385
385
|
return (e, t) => (m(), b(U, {
|
|
386
|
-
onClick: ae(l(
|
|
386
|
+
onClick: ae(l(He), ["stop"]),
|
|
387
387
|
icon: l(a).fullscreen ? "icon-exitscreen" : "icon-fullscreen",
|
|
388
388
|
class: "w-[17px] h-[17px]"
|
|
389
389
|
}, null, 8, ["onClick", "icon"]));
|
|
@@ -402,14 +402,13 @@ const qt = async (s, a) => {
|
|
|
402
402
|
content: g(() => [
|
|
403
403
|
D(e.$slots, "default", {}, () => [
|
|
404
404
|
$("div", {
|
|
405
|
-
class: "text-[14px]",
|
|
406
|
-
|
|
407
|
-
}, P(e.text), 5)
|
|
405
|
+
class: P(["text-[14px]", [e.maxWidth]])
|
|
406
|
+
}, F(e.text), 3)
|
|
408
407
|
])
|
|
409
408
|
]),
|
|
410
409
|
default: g(() => [
|
|
411
410
|
$("span", Za, [
|
|
412
|
-
w(U,
|
|
411
|
+
w(U, N({
|
|
413
412
|
icon: "icon-question-circle",
|
|
414
413
|
class: ["text-[#888]", [e.size ? "w-" + e.size + " h-" + e.size : "w-5 h-5"]]
|
|
415
414
|
}, l(a)), null, 16, ["class"])
|
|
@@ -435,7 +434,7 @@ const qt = async (s, a) => {
|
|
|
435
434
|
icon: a.icon,
|
|
436
435
|
icons: a.icons
|
|
437
436
|
});
|
|
438
|
-
return (n, i) => s.icon || s.icons ? (m(), b(l(t),
|
|
437
|
+
return (n, i) => s.icon || s.icons ? (m(), b(l(t), N({
|
|
439
438
|
key: 0,
|
|
440
439
|
icon: s.icon,
|
|
441
440
|
icons: s.icons,
|
|
@@ -454,7 +453,7 @@ const qt = async (s, a) => {
|
|
|
454
453
|
},
|
|
455
454
|
setup(s) {
|
|
456
455
|
const { useToken: a } = Le, { token: e } = a(), t = x(!1), n = s, i = n.editorCtrl;
|
|
457
|
-
|
|
456
|
+
he(H.EditorControl, i), T(
|
|
458
457
|
() => i.visible.value,
|
|
459
458
|
(o) => {
|
|
460
459
|
t.value = o ?? !1;
|
|
@@ -464,14 +463,14 @@ const qt = async (s, a) => {
|
|
|
464
463
|
});
|
|
465
464
|
const c = () => {
|
|
466
465
|
n.drawerSave ? n.drawerSave() : i && Ee(i);
|
|
467
|
-
},
|
|
466
|
+
}, f = () => {
|
|
468
467
|
n.drawerSaveAs ? n.drawerSaveAs() : i && Ze(i);
|
|
469
468
|
}, d = () => {
|
|
470
469
|
ea(i);
|
|
471
470
|
};
|
|
472
|
-
return (o,
|
|
471
|
+
return (o, p) => (m(), b(l(Ca), {
|
|
473
472
|
open: t.value,
|
|
474
|
-
"onUpdate:open":
|
|
473
|
+
"onUpdate:open": p[0] || (p[0] = (r) => t.value = r),
|
|
475
474
|
"get-container": !1,
|
|
476
475
|
closable: !1,
|
|
477
476
|
"header-style": {
|
|
@@ -512,34 +511,34 @@ const qt = async (s, a) => {
|
|
|
512
511
|
footer: g(() => [
|
|
513
512
|
w(l(te), null, {
|
|
514
513
|
default: g(() => [
|
|
515
|
-
o.cancelText !== "" ? (m(), b(l(
|
|
514
|
+
o.cancelText !== "" ? (m(), b(l(O), {
|
|
516
515
|
key: 0,
|
|
517
516
|
onClick: d
|
|
518
517
|
}, {
|
|
519
518
|
default: g(() => [
|
|
520
|
-
M(
|
|
519
|
+
M(F(o.cancelText ?? "取消"), 1)
|
|
521
520
|
]),
|
|
522
521
|
_: 1
|
|
523
522
|
})) : k("", !0),
|
|
524
|
-
o.saveAsText !== "" && l(i).saveAsBtnVisible !== !1 ? (m(), b(l(
|
|
523
|
+
o.saveAsText !== "" && l(i).saveAsBtnVisible !== !1 ? (m(), b(l(O), {
|
|
525
524
|
key: 1,
|
|
526
|
-
onClick:
|
|
525
|
+
onClick: f,
|
|
527
526
|
type: "primary",
|
|
528
527
|
loading: l(i).isFormSaving.value
|
|
529
528
|
}, {
|
|
530
529
|
default: g(() => [
|
|
531
|
-
M(
|
|
530
|
+
M(F(o.saveAsText ?? "另存为"), 1)
|
|
532
531
|
]),
|
|
533
532
|
_: 1
|
|
534
533
|
}, 8, ["loading"])) : k("", !0),
|
|
535
|
-
o.saveText !== "" && l(i).saveBtnVisible !== !1 ? (m(), b(l(
|
|
534
|
+
o.saveText !== "" && l(i).saveBtnVisible !== !1 ? (m(), b(l(O), {
|
|
536
535
|
key: 2,
|
|
537
536
|
onClick: c,
|
|
538
537
|
type: "primary",
|
|
539
538
|
loading: l(i).isFormSaving.value
|
|
540
539
|
}, {
|
|
541
540
|
default: g(() => [
|
|
542
|
-
M(
|
|
541
|
+
M(F(o.saveText ?? "保存"), 1)
|
|
543
542
|
]),
|
|
544
543
|
_: 1
|
|
545
544
|
}, 8, ["loading"])) : k("", !0)
|
|
@@ -558,10 +557,10 @@ const qt = async (s, a) => {
|
|
|
558
557
|
editorCtrl: {}
|
|
559
558
|
},
|
|
560
559
|
setup(s) {
|
|
561
|
-
const a = s, e = a.editorCtrl ?? ne(
|
|
562
|
-
return
|
|
560
|
+
const a = s, e = a.editorCtrl ?? ne(H.EditorControl, void 0);
|
|
561
|
+
return he(H.LabelWidth, a.labelWidth), (t, n) => {
|
|
563
562
|
const i = le("submit");
|
|
564
|
-
return
|
|
563
|
+
return j((m(), b(l(ze), {
|
|
565
564
|
"label-col": { flex: a.labelWidth ?? "85px" },
|
|
566
565
|
"wrapper-col": {
|
|
567
566
|
flex: a.wrapperWidth ?? "1 0 280px"
|
|
@@ -585,7 +584,10 @@ const qt = async (s, a) => {
|
|
|
585
584
|
]);
|
|
586
585
|
};
|
|
587
586
|
}
|
|
588
|
-
}), tt = {
|
|
587
|
+
}), tt = {
|
|
588
|
+
key: 0,
|
|
589
|
+
class: "flex-grow"
|
|
590
|
+
}, lt = { class: "w-8 mt-[-2px]" }, ll = /* @__PURE__ */ C({
|
|
589
591
|
inheritAttrs: !1,
|
|
590
592
|
__name: "formItem",
|
|
591
593
|
props: {
|
|
@@ -597,43 +599,45 @@ const qt = async (s, a) => {
|
|
|
597
599
|
bottomMargin: {}
|
|
598
600
|
},
|
|
599
601
|
setup(s) {
|
|
600
|
-
const a = s, e = X(), t = ne(
|
|
602
|
+
const a = s, e = X(), t = ne(H.EditorControl, void 0), n = ne(H.LabelWidth, "85px") ?? "85px", i = Pe(a, t), c = x(!1);
|
|
601
603
|
setTimeout(() => {
|
|
602
604
|
c.value = !0;
|
|
603
605
|
}, 30);
|
|
604
|
-
const
|
|
605
|
-
if (!
|
|
606
|
+
const f = (o, p) => {
|
|
607
|
+
if (!p)
|
|
606
608
|
return;
|
|
607
609
|
const [r, ...v] = o;
|
|
608
|
-
|
|
610
|
+
if (o.length === 1)
|
|
611
|
+
return p[r];
|
|
612
|
+
if (p[r])
|
|
613
|
+
return f(v, p[r].fields);
|
|
609
614
|
}, d = J(() => {
|
|
610
|
-
var
|
|
615
|
+
var p;
|
|
611
616
|
if (!a.rule)
|
|
612
617
|
return !1;
|
|
613
|
-
const o =
|
|
618
|
+
const o = f(a.rule.split("."), (p = t == null ? void 0 : t.formRules) == null ? void 0 : p.value);
|
|
614
619
|
return o ? o.required ?? !0 : (Ta.error(`"${a.label}" 的验证规则 \`${a.rule}\` 不存在`), i.value.errClass = "text-[#ff4d4f]", i.value.msg = `规则 \`${a.rule}\` 不存在,请检查代码!`, !0);
|
|
615
620
|
});
|
|
616
|
-
return (o,
|
|
617
|
-
class:
|
|
621
|
+
return (o, p) => (m(), S("div", {
|
|
622
|
+
class: P(["relative", o.bottomMargin ? o.bottomMargin : "mb-1"])
|
|
618
623
|
}, [
|
|
619
|
-
c.value ? (m(), b(l(Ue),
|
|
624
|
+
c.value ? (m(), b(l(Ue), N({
|
|
620
625
|
key: 0,
|
|
621
626
|
required: d.value,
|
|
622
627
|
class: ["relative", [o.nextLine ? "mb-0" : o.rule ? "" : "mb-3"]]
|
|
623
628
|
}, l(e)), {
|
|
624
629
|
label: g(() => [
|
|
625
630
|
$("span", {
|
|
626
|
-
class:
|
|
627
|
-
},
|
|
631
|
+
class: P([l(i).errClass ? "text-[#ff4d4f]" : "", "w-full"])
|
|
632
|
+
}, F(o.label), 3)
|
|
628
633
|
]),
|
|
629
634
|
default: g(() => [
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
class: N(["flex items-center", o.width ? o.width : "w-full"])
|
|
635
|
+
$("div", {
|
|
636
|
+
class: P(["flex items-center", o.width ? o.width : "w-full"])
|
|
633
637
|
}, [
|
|
634
|
-
|
|
638
|
+
o.nextLine ? k("", !0) : (m(), S("div", tt, [
|
|
635
639
|
D(o.$slots, "default")
|
|
636
|
-
]),
|
|
640
|
+
])),
|
|
637
641
|
$("div", lt, [
|
|
638
642
|
D(o.$slots, "helper", {}, () => [
|
|
639
643
|
o.helper ? (m(), b(l(et), {
|
|
@@ -642,27 +646,27 @@ const qt = async (s, a) => {
|
|
|
642
646
|
}, null, 8, ["text"])) : k("", !0)
|
|
643
647
|
])
|
|
644
648
|
])
|
|
645
|
-
], 2)
|
|
649
|
+
], 2)
|
|
646
650
|
]),
|
|
647
651
|
_: 3
|
|
648
652
|
}, 16, ["required", "class"])) : k("", !0),
|
|
649
653
|
o.nextLine ? (m(), S("div", {
|
|
650
654
|
key: 1,
|
|
651
|
-
class:
|
|
655
|
+
class: P(["w-[95%] flex items-center relative", [o.nextLine ? o.rule ? "mb-7" : "mb-3" : ""]])
|
|
652
656
|
}, [
|
|
653
657
|
D(o.$slots, "default")
|
|
654
658
|
], 2)) : k("", !0),
|
|
655
659
|
l(i).errClass ? (m(), S("span", {
|
|
656
660
|
key: 2,
|
|
657
|
-
style:
|
|
661
|
+
style: ge({ left: o.nextLine ? "2px" : l(n) }),
|
|
658
662
|
class: "absolute bottom-[3px] text-[12px] text-[#ff4d4fcc]"
|
|
659
|
-
},
|
|
663
|
+
}, F(l(i).msg), 5)) : k("", !0)
|
|
660
664
|
], 2));
|
|
661
665
|
}
|
|
662
666
|
}), st = { class: "w-1/3 relative mb-1" }, rt = { class: "flex items-center w-[90%]" }, ot = { class: "flex-grow pl-1" }, nt = {
|
|
663
667
|
key: 0,
|
|
664
668
|
class: "absolute bottom-[3px] left-[85px] text-[12px] text-[#ff4d4fcc] block"
|
|
665
|
-
},
|
|
669
|
+
}, de = /* @__PURE__ */ C({
|
|
666
670
|
inheritAttrs: !1,
|
|
667
671
|
__name: "searchItem",
|
|
668
672
|
props: {
|
|
@@ -671,15 +675,15 @@ const qt = async (s, a) => {
|
|
|
671
675
|
rule: {}
|
|
672
676
|
},
|
|
673
677
|
setup(s) {
|
|
674
|
-
const a = s, e = X(), t = ne(
|
|
678
|
+
const a = s, e = X(), t = ne(H.EditorControl, void 0), n = Pe(a, t);
|
|
675
679
|
return (i, c) => (m(), S("div", st, [
|
|
676
|
-
w(l(Ue),
|
|
680
|
+
w(l(Ue), N({
|
|
677
681
|
required: i.rule !== void 0,
|
|
678
682
|
class: "w-[90%] relative"
|
|
679
683
|
}, l(e), {
|
|
680
684
|
class: [i.rule ? "" : "mb-3", i.width],
|
|
681
685
|
labelCol: { span: 6 }
|
|
682
|
-
}),
|
|
686
|
+
}), Oe({
|
|
683
687
|
default: g(() => [
|
|
684
688
|
$("div", rt, [
|
|
685
689
|
$("div", ot, [
|
|
@@ -693,13 +697,13 @@ const qt = async (s, a) => {
|
|
|
693
697
|
name: "label",
|
|
694
698
|
fn: g(() => [
|
|
695
699
|
$("span", {
|
|
696
|
-
class:
|
|
697
|
-
},
|
|
700
|
+
class: P([l(n).errClass ? "text-[#ff4d4f]" : "", "w-full"])
|
|
701
|
+
}, F(i.label), 3)
|
|
698
702
|
]),
|
|
699
703
|
key: "0"
|
|
700
704
|
} : void 0
|
|
701
705
|
]), 1040, ["required", "class"]),
|
|
702
|
-
l(n).msg ? (m(), S("span", nt,
|
|
706
|
+
l(n).msg ? (m(), S("span", nt, F(l(n).msg), 1)) : k("", !0)
|
|
703
707
|
]));
|
|
704
708
|
}
|
|
705
709
|
}), sl = /* @__PURE__ */ C({
|
|
@@ -711,13 +715,13 @@ const qt = async (s, a) => {
|
|
|
711
715
|
},
|
|
712
716
|
emits: ["update:search"],
|
|
713
717
|
setup(s, { emit: a }) {
|
|
714
|
-
const e = s, t = a, n = x(0), i = x(0), c = x(0),
|
|
718
|
+
const e = s, t = a, n = x(0), i = x(0), c = x(0), f = (u) => {
|
|
715
719
|
let h = 0;
|
|
716
720
|
for (let y = 0; y < u.length; y++)
|
|
717
721
|
typeof u[y].type == "object" && h++;
|
|
718
722
|
return h;
|
|
719
723
|
}, d = xa(), o = () => {
|
|
720
|
-
i.value = 0, c.value = 0, d.default && (i.value =
|
|
724
|
+
i.value = 0, c.value = 0, d.default && (i.value = f(d.default({}))), e.gridCtrl.searchBar && d.control && (c.value = f(d.control({}))), n.value = 2 - (i.value + c.value) % 3;
|
|
721
725
|
};
|
|
722
726
|
T(
|
|
723
727
|
() => e.gridCtrl.searchBar,
|
|
@@ -725,7 +729,7 @@ const qt = async (s, a) => {
|
|
|
725
729
|
o();
|
|
726
730
|
}
|
|
727
731
|
);
|
|
728
|
-
const
|
|
732
|
+
const p = JSON.parse(JSON.stringify(e.search));
|
|
729
733
|
Y(() => {
|
|
730
734
|
var h;
|
|
731
735
|
o();
|
|
@@ -752,14 +756,14 @@ const qt = async (s, a) => {
|
|
|
752
756
|
}
|
|
753
757
|
}, e.gridCtrl.pageNo.value = 1, e.gridCtrl.reload.value = !0;
|
|
754
758
|
}, v = () => {
|
|
755
|
-
const u = JSON.parse(JSON.stringify(
|
|
759
|
+
const u = JSON.parse(JSON.stringify(p));
|
|
756
760
|
for (const h in e.search)
|
|
757
761
|
u[h] === void 0 && (u[h] = void 0);
|
|
758
762
|
t("update:search", u);
|
|
759
763
|
};
|
|
760
764
|
return (u, h) => {
|
|
761
765
|
const y = le("submit");
|
|
762
|
-
return i.value + c.value > 0 ?
|
|
766
|
+
return i.value + c.value > 0 ? j((m(), b(l(ze), {
|
|
763
767
|
key: 0,
|
|
764
768
|
"label-col": { flex: "60px" },
|
|
765
769
|
style: {
|
|
@@ -771,15 +775,15 @@ const qt = async (s, a) => {
|
|
|
771
775
|
default: g(() => [
|
|
772
776
|
D(u.$slots, "default"),
|
|
773
777
|
u.gridCtrl.searchBar ? D(u.$slots, "control", { key: 0 }) : k("", !0),
|
|
774
|
-
n.value >= 1 ? (m(), b(
|
|
778
|
+
n.value >= 1 ? (m(), b(de, {
|
|
775
779
|
key: 1,
|
|
776
780
|
class: "w-1/3"
|
|
777
781
|
})) : k("", !0),
|
|
778
|
-
n.value >= 2 ? (m(), b(
|
|
782
|
+
n.value >= 2 ? (m(), b(de, {
|
|
779
783
|
key: 2,
|
|
780
784
|
class: "w-1/3"
|
|
781
785
|
})) : k("", !0),
|
|
782
|
-
i.value || u.gridCtrl.searchBar ? (m(), b(
|
|
786
|
+
i.value || u.gridCtrl.searchBar ? (m(), b(de, {
|
|
783
787
|
key: 3,
|
|
784
788
|
class: "w-1/3 flex justify-end text-right pr-5",
|
|
785
789
|
"wrapper-col": { flex: "auto" }
|
|
@@ -787,7 +791,7 @@ const qt = async (s, a) => {
|
|
|
787
791
|
default: g(() => [
|
|
788
792
|
w(l(te), null, {
|
|
789
793
|
default: g(() => [
|
|
790
|
-
w(l(
|
|
794
|
+
w(l(O), {
|
|
791
795
|
type: "primary",
|
|
792
796
|
onClick: r,
|
|
793
797
|
icon: "icon-search"
|
|
@@ -798,7 +802,7 @@ const qt = async (s, a) => {
|
|
|
798
802
|
_: 1,
|
|
799
803
|
__: [0]
|
|
800
804
|
}),
|
|
801
|
-
w(l(
|
|
805
|
+
w(l(O), {
|
|
802
806
|
onClick: v,
|
|
803
807
|
icon: "icon-reset"
|
|
804
808
|
}, {
|
|
@@ -850,11 +854,11 @@ const qt = async (s, a) => {
|
|
|
850
854
|
confirmText: "是否删除此记录?",
|
|
851
855
|
click: () => ta(e, a.record)
|
|
852
856
|
}
|
|
853
|
-
], { buttons: i, menus: c } = _e(n, 0, e.operates),
|
|
857
|
+
], { buttons: i, menus: c } = _e(n, 0, e.operates), f = (d) => {
|
|
854
858
|
if (typeof d.disabled == "boolean")
|
|
855
859
|
return d.disabled;
|
|
856
860
|
if (typeof d.disabled == "function")
|
|
857
|
-
return
|
|
861
|
+
return W(d, a.record) ?? !1;
|
|
858
862
|
if (a.record.hasOwnProperty("Enabled"))
|
|
859
863
|
switch (d.key) {
|
|
860
864
|
case "Edit":
|
|
@@ -865,7 +869,7 @@ const qt = async (s, a) => {
|
|
|
865
869
|
return !1;
|
|
866
870
|
};
|
|
867
871
|
return (d, o) => {
|
|
868
|
-
const
|
|
872
|
+
const p = le("auth");
|
|
869
873
|
return m(), b(l(Ce), { theme: {
|
|
870
874
|
token: {
|
|
871
875
|
fontSize: 13
|
|
@@ -879,7 +883,7 @@ const qt = async (s, a) => {
|
|
|
879
883
|
}, [
|
|
880
884
|
l(G)(r, a.record) ? (m(), b(l($a), {
|
|
881
885
|
key: 0,
|
|
882
|
-
disabled:
|
|
886
|
+
disabled: f(r) || !r.confirm,
|
|
883
887
|
cancelText: "否",
|
|
884
888
|
okText: "是",
|
|
885
889
|
title: r.confirmText,
|
|
@@ -888,23 +892,23 @@ const qt = async (s, a) => {
|
|
|
888
892
|
onConfirm: (v) => l(V)(r, l(e).page, l(e), a.record, !0)
|
|
889
893
|
}, {
|
|
890
894
|
default: g(() => [
|
|
891
|
-
l(G)(r, a.record) ?
|
|
895
|
+
l(G)(r, a.record) ? j((m(), b(l(Ve), {
|
|
892
896
|
key: r.key,
|
|
893
897
|
type: r.type ?? "text",
|
|
894
898
|
danger: r.danger,
|
|
895
|
-
disabled:
|
|
899
|
+
disabled: f(r),
|
|
896
900
|
onClick: (v) => l(V)(r, l(e).page, l(e), a.record),
|
|
897
901
|
size: "small",
|
|
898
|
-
style:
|
|
902
|
+
style: ge({
|
|
899
903
|
padding: r.type ?? "0px 4px"
|
|
900
904
|
})
|
|
901
905
|
}, {
|
|
902
906
|
default: g(() => [
|
|
903
|
-
M(
|
|
907
|
+
M(F(r.label), 1)
|
|
904
908
|
]),
|
|
905
909
|
_: 2
|
|
906
910
|
}, 1032, ["type", "danger", "disabled", "onClick", "style"])), [
|
|
907
|
-
[
|
|
911
|
+
[p, { url: t.value, role: r.role, permit: r.permit }]
|
|
908
912
|
]) : k("", !0)
|
|
909
913
|
]),
|
|
910
914
|
_: 2
|
|
@@ -925,17 +929,17 @@ const qt = async (s, a) => {
|
|
|
925
929
|
(m(!0), S(B, null, z(l(c), (r) => (m(), S(B, {
|
|
926
930
|
key: r.key
|
|
927
931
|
}, [
|
|
928
|
-
l(G)(r, a.record) ?
|
|
932
|
+
l(G)(r, a.record) ? j((m(), b(l(xe), {
|
|
929
933
|
key: 0,
|
|
930
|
-
disabled:
|
|
934
|
+
disabled: f(r),
|
|
931
935
|
onClick: (v) => l(V)(r, l(e).page, l(e), a.record)
|
|
932
936
|
}, {
|
|
933
937
|
default: g(() => [
|
|
934
|
-
M(
|
|
938
|
+
M(F(r.label), 1)
|
|
935
939
|
]),
|
|
936
940
|
_: 2
|
|
937
941
|
}, 1032, ["disabled", "onClick"])), [
|
|
938
|
-
[
|
|
942
|
+
[p, { url: t.value, role: r.role, permit: r.permit }]
|
|
939
943
|
]) : k("", !0)
|
|
940
944
|
], 64))), 128))
|
|
941
945
|
]),
|
|
@@ -965,36 +969,36 @@ const qt = async (s, a) => {
|
|
|
965
969
|
gridCtrl: {}
|
|
966
970
|
},
|
|
967
971
|
setup(s) {
|
|
968
|
-
const a = s, e = a.gridCtrl, { tools: t } = Ja(a.gridCtrl), n =
|
|
972
|
+
const a = s, e = a.gridCtrl, { tools: t } = Ja(a.gridCtrl), n = ve();
|
|
969
973
|
T(
|
|
970
974
|
() => e.selectable.value,
|
|
971
|
-
(
|
|
972
|
-
|
|
975
|
+
(f) => {
|
|
976
|
+
K(t, "tool.export.excel.selected") && (K(t, "tool.export.excel.selected").disabled = !f), K(t, "tool.export.pdf.selected") && (K(t, "tool.export.pdf.selected").disabled = !f);
|
|
973
977
|
}
|
|
974
978
|
);
|
|
975
979
|
const i = x([]);
|
|
976
980
|
T(
|
|
977
981
|
() => e.columns.value,
|
|
978
|
-
(
|
|
979
|
-
i.value = Fe(
|
|
982
|
+
(f) => {
|
|
983
|
+
i.value = Fe(f, !0);
|
|
980
984
|
},
|
|
981
985
|
{ deep: !0, immediate: !0 }
|
|
982
986
|
);
|
|
983
987
|
const c = () => {
|
|
984
988
|
e.columns.value.splice(0, e.columns.value.length, ...i.value), n.setTableColumns(ce.currentRoute.value.path, e.columns.value);
|
|
985
989
|
};
|
|
986
|
-
return (
|
|
987
|
-
(m(!0), S(B, null, z(l(t), (o,
|
|
990
|
+
return (f, d) => (m(), S("div", ct, [
|
|
991
|
+
(m(!0), S(B, null, z(l(t), (o, p) => (m(), S(B, {
|
|
988
992
|
key: o.key
|
|
989
993
|
}, [
|
|
990
|
-
l(G)(o) && o.dropdown ? (m(), b(l(
|
|
994
|
+
l(G)(o) && o.dropdown ? (m(), b(l(fe), {
|
|
991
995
|
key: 0,
|
|
992
996
|
placement: "bottomRight",
|
|
993
997
|
class: "p-0 rounded-none"
|
|
994
998
|
}, {
|
|
995
999
|
overlay: g(() => [
|
|
996
1000
|
$("div", {
|
|
997
|
-
class:
|
|
1001
|
+
class: P(["min-w-[100px] bg-white rounded shadow-md p-4", o.dropdownClass])
|
|
998
1002
|
}, [
|
|
999
1003
|
o.dropdown === "headset" ? (m(), b(l(za), {
|
|
1000
1004
|
key: 0,
|
|
@@ -1023,7 +1027,7 @@ const qt = async (s, a) => {
|
|
|
1023
1027
|
class: "text-gray-700 hover:text-gray-900 select-none"
|
|
1024
1028
|
}, {
|
|
1025
1029
|
default: g(() => [
|
|
1026
|
-
M(
|
|
1030
|
+
M(F(r.title), 1)
|
|
1027
1031
|
]),
|
|
1028
1032
|
_: 2
|
|
1029
1033
|
}, 1032, ["checked", "onChange"])
|
|
@@ -1034,13 +1038,13 @@ const qt = async (s, a) => {
|
|
|
1034
1038
|
], 2)
|
|
1035
1039
|
]),
|
|
1036
1040
|
default: g(() => [
|
|
1037
|
-
w(l(
|
|
1038
|
-
class:
|
|
1041
|
+
w(l(O), {
|
|
1042
|
+
class: P([
|
|
1039
1043
|
"px-[8px] py-[2px] relative border-[#ccc] bg-[#fcfcfc] rounded-none text-[#666] hover:z-10",
|
|
1040
|
-
|
|
1041
|
-
|
|
1044
|
+
p === 0 ? "rounded-l-[5px]" : "",
|
|
1045
|
+
p === l(t).length - 1 ? "rounded-r-[5px]" : ""
|
|
1042
1046
|
]),
|
|
1043
|
-
disabled: l(
|
|
1047
|
+
disabled: l(W)(o),
|
|
1044
1048
|
tiptext: o.label,
|
|
1045
1049
|
onClick: (r) => l(V)(o, l(e).page, l(e))
|
|
1046
1050
|
}, {
|
|
@@ -1055,14 +1059,14 @@ const qt = async (s, a) => {
|
|
|
1055
1059
|
}, 1032, ["class", "disabled", "tiptext", "onClick"])
|
|
1056
1060
|
]),
|
|
1057
1061
|
_: 2
|
|
1058
|
-
}, 1024)) : !o.children && l(G)(o) ? (m(), b(l(
|
|
1062
|
+
}, 1024)) : !o.children && l(G)(o) ? (m(), b(l(O), {
|
|
1059
1063
|
key: 1,
|
|
1060
|
-
class:
|
|
1064
|
+
class: P([
|
|
1061
1065
|
"px-[8px] py-[2px] relative border-[#ccc] bg-[#fcfcfc] rounded-none text-[#666] hover:z-10",
|
|
1062
|
-
|
|
1063
|
-
|
|
1066
|
+
p === 0 ? "rounded-l-[5px]" : "",
|
|
1067
|
+
p === l(t).length - 1 ? "rounded-r-[5px]" : ""
|
|
1064
1068
|
]),
|
|
1065
|
-
disabled: l(
|
|
1069
|
+
disabled: l(W)(o),
|
|
1066
1070
|
tiptext: o.label,
|
|
1067
1071
|
onClick: (r) => l(V)(o, l(e).page, l(e))
|
|
1068
1072
|
}, {
|
|
@@ -1074,7 +1078,7 @@ const qt = async (s, a) => {
|
|
|
1074
1078
|
}, null, 8, ["icon"])
|
|
1075
1079
|
]),
|
|
1076
1080
|
_: 2
|
|
1077
|
-
}, 1032, ["class", "disabled", "tiptext", "onClick"])) : l(G)(o) ? (m(), b(l(
|
|
1081
|
+
}, 1032, ["class", "disabled", "tiptext", "onClick"])) : l(G)(o) ? (m(), b(l(fe), {
|
|
1078
1082
|
key: 2,
|
|
1079
1083
|
placement: "bottomRight",
|
|
1080
1084
|
class: "p-0 rounded-none"
|
|
@@ -1084,10 +1088,10 @@ const qt = async (s, a) => {
|
|
|
1084
1088
|
default: g(() => [
|
|
1085
1089
|
(m(!0), S(B, null, z(o.children, (r) => (m(), b(l(xe), {
|
|
1086
1090
|
key: r.key,
|
|
1087
|
-
disabled: l(
|
|
1091
|
+
disabled: l(W)(r)
|
|
1088
1092
|
}, {
|
|
1089
1093
|
default: g(() => [
|
|
1090
|
-
M(
|
|
1094
|
+
M(F(r.label), 1)
|
|
1091
1095
|
]),
|
|
1092
1096
|
_: 2
|
|
1093
1097
|
}, 1032, ["disabled"]))), 128))
|
|
@@ -1096,12 +1100,12 @@ const qt = async (s, a) => {
|
|
|
1096
1100
|
}, 1024)
|
|
1097
1101
|
]),
|
|
1098
1102
|
default: g(() => [
|
|
1099
|
-
w(l(
|
|
1100
|
-
class:
|
|
1103
|
+
w(l(O), {
|
|
1104
|
+
class: P([
|
|
1101
1105
|
"!w-[46px] px-[5px] py-[2px] relative border-[#ccc] bg-[#fcfcfc] rounded-none text-[#666] hover:z-10",
|
|
1102
|
-
|
|
1106
|
+
p === 0 ? "rounded-l-[5px]" : ""
|
|
1103
1107
|
]),
|
|
1104
|
-
disabled: l(
|
|
1108
|
+
disabled: l(W)(o),
|
|
1105
1109
|
tiptext: o.label,
|
|
1106
1110
|
icon: o.icon,
|
|
1107
1111
|
iconProps: { class: "w-[19px] h-[19px]" },
|
|
@@ -1140,7 +1144,7 @@ const qt = async (s, a) => {
|
|
|
1140
1144
|
// 默认仅受权限码控制
|
|
1141
1145
|
click: () => la(n)
|
|
1142
1146
|
}
|
|
1143
|
-
],
|
|
1147
|
+
], f = x([]), d = x([]);
|
|
1144
1148
|
return T(
|
|
1145
1149
|
() => {
|
|
1146
1150
|
var o;
|
|
@@ -1148,48 +1152,48 @@ const qt = async (s, a) => {
|
|
|
1148
1152
|
},
|
|
1149
1153
|
() => {
|
|
1150
1154
|
var r;
|
|
1151
|
-
const { buttons: o, menus:
|
|
1155
|
+
const { buttons: o, menus: p } = _e(
|
|
1152
1156
|
c,
|
|
1153
1157
|
e.flat !== void 0 ? e.flat : ft,
|
|
1154
1158
|
(r = e.buttons) == null ? void 0 : r.value
|
|
1155
1159
|
);
|
|
1156
|
-
|
|
1160
|
+
f.value.splice(0, f.value.length, ...o), d.value.splice(0, d.value.length, ...p);
|
|
1157
1161
|
},
|
|
1158
1162
|
{
|
|
1159
1163
|
deep: !0,
|
|
1160
1164
|
immediate: !0
|
|
1161
1165
|
}
|
|
1162
|
-
), (o,
|
|
1166
|
+
), (o, p) => {
|
|
1163
1167
|
const r = le("auth");
|
|
1164
1168
|
return m(), S("div", dt, [
|
|
1165
1169
|
w(l(te), null, {
|
|
1166
1170
|
default: g(() => [
|
|
1167
|
-
(m(!0), S(B, null, z(
|
|
1171
|
+
(m(!0), S(B, null, z(f.value, (v) => j((m(), b(l(O), {
|
|
1168
1172
|
key: v.key,
|
|
1169
1173
|
type: v.type,
|
|
1170
1174
|
danger: v.danger,
|
|
1171
|
-
disabled: l(
|
|
1175
|
+
disabled: l(W)(v),
|
|
1172
1176
|
icon: v.icon,
|
|
1173
1177
|
onClick: (u) => l(V)(v, l(t), l(e))
|
|
1174
1178
|
}, {
|
|
1175
1179
|
default: g(() => [
|
|
1176
|
-
M(
|
|
1180
|
+
M(F(v.label), 1)
|
|
1177
1181
|
]),
|
|
1178
1182
|
_: 2
|
|
1179
1183
|
}, 1032, ["type", "danger", "disabled", "icon", "onClick"])), [
|
|
1180
1184
|
[r, { url: i.value, role: v.role, permit: v.permit }]
|
|
1181
1185
|
])), 128)),
|
|
1182
|
-
d.value.length > 0 ? (m(), b(l(
|
|
1186
|
+
d.value.length > 0 ? (m(), b(l(fe), { key: 0 }, {
|
|
1183
1187
|
overlay: g(() => [
|
|
1184
1188
|
w(l(be), null, {
|
|
1185
1189
|
default: g(() => [
|
|
1186
|
-
(m(!0), S(B, null, z(d.value, (v) =>
|
|
1190
|
+
(m(!0), S(B, null, z(d.value, (v) => j((m(), b(l(xe), {
|
|
1187
1191
|
key: v.key,
|
|
1188
|
-
disabled: l(
|
|
1192
|
+
disabled: l(W)(v),
|
|
1189
1193
|
onClick: (u) => l(V)(v, l(t), l(e))
|
|
1190
1194
|
}, {
|
|
1191
1195
|
default: g(() => [
|
|
1192
|
-
M(
|
|
1196
|
+
M(F(v.label), 1)
|
|
1193
1197
|
]),
|
|
1194
1198
|
_: 2
|
|
1195
1199
|
}, 1032, ["disabled", "onClick"])), [
|
|
@@ -1200,8 +1204,8 @@ const qt = async (s, a) => {
|
|
|
1200
1204
|
})
|
|
1201
1205
|
]),
|
|
1202
1206
|
default: g(() => [
|
|
1203
|
-
w(l(
|
|
1204
|
-
default: g(() =>
|
|
1207
|
+
w(l(O), null, {
|
|
1208
|
+
default: g(() => p[0] || (p[0] = [
|
|
1205
1209
|
M(" 更多操作 ")
|
|
1206
1210
|
])),
|
|
1207
1211
|
_: 1,
|
|
@@ -1210,7 +1214,7 @@ const qt = async (s, a) => {
|
|
|
1210
1214
|
]),
|
|
1211
1215
|
_: 1
|
|
1212
1216
|
})) : k("", !0),
|
|
1213
|
-
|
|
1217
|
+
f.value.length === 0 && d.value.length === 0 ? (m(), S("span", pt)) : k("", !0)
|
|
1214
1218
|
]),
|
|
1215
1219
|
_: 1
|
|
1216
1220
|
}),
|
|
@@ -1238,7 +1242,7 @@ const qt = async (s, a) => {
|
|
|
1238
1242
|
setup(s) {
|
|
1239
1243
|
const a = s, e = X(), t = a.gridCtrl, n = J(() => ce.currentRoute.value.path);
|
|
1240
1244
|
t && (t.pageNo.value = 1, t.total.value = 0, t.pageSize.value = t.pageSize.value);
|
|
1241
|
-
const i = x(t.pageSize.value), c = x(t.pageNo.value),
|
|
1245
|
+
const i = x(t.pageSize.value), c = x(t.pageNo.value), f = x([]), d = x({
|
|
1242
1246
|
total: 0,
|
|
1243
1247
|
current: 1,
|
|
1244
1248
|
pageSize: i.value,
|
|
@@ -1251,17 +1255,17 @@ const qt = async (s, a) => {
|
|
|
1251
1255
|
a.pagination === !1 && (d.value = !1), T(
|
|
1252
1256
|
() => t.tableData.value,
|
|
1253
1257
|
(u) => {
|
|
1254
|
-
u && (
|
|
1258
|
+
u && (f.value = u, d.value !== !1 && (d.value.total = t.total.value ?? 0, d.value.current = t.pageNo.value ?? 1, d.value.pageSize = t.pageSize.value ?? 10));
|
|
1255
1259
|
},
|
|
1256
1260
|
{ immediate: !0 }
|
|
1257
1261
|
), T(
|
|
1258
1262
|
() => a.tableData,
|
|
1259
1263
|
(u) => {
|
|
1260
|
-
u && (
|
|
1264
|
+
u && (f.value = u, d.value !== !1 && (d.value.total = u.length, d.value.current = t.pageNo.value ?? 1, d.value.pageSize = t.pageSize.value ?? 10));
|
|
1261
1265
|
},
|
|
1262
1266
|
{ immediate: !0 }
|
|
1263
1267
|
);
|
|
1264
|
-
const o = x(t.columns.value),
|
|
1268
|
+
const o = x(t.columns.value), p = {
|
|
1265
1269
|
onChange: (u, h) => {
|
|
1266
1270
|
t && (t.selectKeys.value = u, t.selectRows.value = h);
|
|
1267
1271
|
},
|
|
@@ -1270,11 +1274,11 @@ const qt = async (s, a) => {
|
|
|
1270
1274
|
disabled: u.Enabled === 0
|
|
1271
1275
|
}),
|
|
1272
1276
|
...a.rowSelection
|
|
1273
|
-
}, r = x(
|
|
1277
|
+
}, r = x(p);
|
|
1274
1278
|
T(
|
|
1275
1279
|
() => t.selectable.value,
|
|
1276
1280
|
(u) => {
|
|
1277
|
-
t && (r.value = u ?
|
|
1281
|
+
t && (r.value = u ? p : void 0);
|
|
1278
1282
|
},
|
|
1279
1283
|
{ immediate: !0 }
|
|
1280
1284
|
), T(
|
|
@@ -1288,23 +1292,23 @@ const qt = async (s, a) => {
|
|
|
1288
1292
|
return ya(() => {
|
|
1289
1293
|
v.value && t && (t.reload.value = !0);
|
|
1290
1294
|
}), Y(async () => {
|
|
1291
|
-
|
|
1295
|
+
he(H.GridControl, t), t.tableData.value ? (f.value = t.tableData.value, t.total.value = f.value.length, d.value !== !1 && (d.value.total = t.total.value ?? 0)) : t.autoload !== !1 && (t.remotePage ? f.value = (await ke(t)).rows : f.value = await sa(t)), setTimeout(() => {
|
|
1292
1296
|
v.value = !0;
|
|
1293
1297
|
}, 50);
|
|
1294
1298
|
}), (u, h) => {
|
|
1295
|
-
var I,
|
|
1299
|
+
var I, A;
|
|
1296
1300
|
const y = le("auth");
|
|
1297
1301
|
return m(), S(B, null, [
|
|
1298
|
-
(I = l(t).buttons) != null && I.value.length || (
|
|
1302
|
+
(I = l(t).buttons) != null && I.value.length || (A = l(t).tools) != null && A.length ? (m(), b(vt, {
|
|
1299
1303
|
key: 0,
|
|
1300
1304
|
"grid-ctrl": l(t),
|
|
1301
1305
|
"editor-ctrl": l(t).editor
|
|
1302
1306
|
}, null, 8, ["grid-ctrl", "editor-ctrl"])) : k("", !0),
|
|
1303
|
-
v.value ? (m(), b(l(Ye),
|
|
1307
|
+
v.value ? (m(), b(l(Ye), N({
|
|
1304
1308
|
key: 1,
|
|
1305
1309
|
class: "w-full",
|
|
1306
1310
|
"row-key": a.primaryKey ?? l(t).primaryKey ?? "Id",
|
|
1307
|
-
"data-source":
|
|
1311
|
+
"data-source": f.value,
|
|
1308
1312
|
loading: l(t).isGridLoading.value,
|
|
1309
1313
|
columns: o.value,
|
|
1310
1314
|
pagination: d.value,
|
|
@@ -1320,14 +1324,14 @@ const qt = async (s, a) => {
|
|
|
1320
1324
|
column: _ == null ? void 0 : _.column,
|
|
1321
1325
|
record: _ == null ? void 0 : _.record
|
|
1322
1326
|
}),
|
|
1323
|
-
l(t) && ((E = _ == null ? void 0 : _.column) == null ? void 0 : E.dataIndex) === "enabled" ?
|
|
1327
|
+
l(t) && ((E = _ == null ? void 0 : _.column) == null ? void 0 : E.dataIndex) === "enabled" ? j((m(), b(ra, {
|
|
1324
1328
|
key: 0,
|
|
1325
1329
|
checked: _.record.Enabled,
|
|
1326
1330
|
"onUpdate:checked": (se) => _.record.Enabled = se,
|
|
1327
1331
|
disabled: u.statusDisabled ? u.statusDisabled(_.record) : !1,
|
|
1328
1332
|
data: l(Ne).EnableDisable,
|
|
1329
1333
|
onClick: (se) => l(oa)(l(t), _.record),
|
|
1330
|
-
class:
|
|
1334
|
+
class: P([
|
|
1331
1335
|
"w-[58px]",
|
|
1332
1336
|
u.statusDisabled && u.statusDisabled(_.record) ? "cursor-not-allowed disabled" : ""
|
|
1333
1337
|
]),
|
|
@@ -1363,28 +1367,28 @@ const qt = async (s, a) => {
|
|
|
1363
1367
|
const e = s, t = X(), n = e.treeCtrl, i = x([]);
|
|
1364
1368
|
T(
|
|
1365
1369
|
() => n.data.value,
|
|
1366
|
-
(
|
|
1367
|
-
|
|
1370
|
+
(p) => {
|
|
1371
|
+
p && (i.value = n.fieldMap ? oe(n.fieldMap, p) : p, o(e.selectedKeys ?? []));
|
|
1368
1372
|
}
|
|
1369
1373
|
);
|
|
1370
|
-
const c = a,
|
|
1374
|
+
const c = a, f = x([]);
|
|
1371
1375
|
T(
|
|
1372
1376
|
() => e.selectedKeys,
|
|
1373
|
-
(
|
|
1374
|
-
|
|
1377
|
+
(p) => {
|
|
1378
|
+
p && (f.value = p);
|
|
1375
1379
|
},
|
|
1376
1380
|
{ immediate: !0 }
|
|
1377
1381
|
);
|
|
1378
1382
|
const d = x(["-"]);
|
|
1379
1383
|
T(
|
|
1380
1384
|
() => e.expandedKeys,
|
|
1381
|
-
(
|
|
1382
|
-
|
|
1385
|
+
(p) => {
|
|
1386
|
+
p && (d.value = p);
|
|
1383
1387
|
},
|
|
1384
1388
|
{ immediate: !0 }
|
|
1385
1389
|
);
|
|
1386
|
-
const o = (
|
|
1387
|
-
|
|
1390
|
+
const o = (p, r) => {
|
|
1391
|
+
p.length === 0 && p.push(...f.value), p.length > 0 && (n.node.value = r == null ? void 0 : r.node.dataRef), f.value = p, c("update:selectedKeys", p), c("select", p, r);
|
|
1388
1392
|
};
|
|
1389
1393
|
return Y(() => {
|
|
1390
1394
|
n.fieldMap || (n.fieldMap = {
|
|
@@ -1393,25 +1397,25 @@ const qt = async (s, a) => {
|
|
|
1393
1397
|
value: "Id",
|
|
1394
1398
|
icon: "Icon"
|
|
1395
1399
|
}), n.data.value ? i.value = oe(n.fieldMap, n.data.value) : n.autoload && Me(n);
|
|
1396
|
-
}), (
|
|
1400
|
+
}), (p, r) => (m(), b(l(Ea), N({
|
|
1397
1401
|
class: "w-full",
|
|
1398
1402
|
"show-line": !0,
|
|
1399
1403
|
"tree-data": i.value,
|
|
1400
1404
|
"expanded-keys": d.value,
|
|
1401
1405
|
"onUpdate:expandedKeys": r[0] || (r[0] = (v) => d.value = v),
|
|
1402
|
-
"selected-keys":
|
|
1406
|
+
"selected-keys": f.value,
|
|
1403
1407
|
loading: l(n).isTreeLoading,
|
|
1404
1408
|
onSelect: o
|
|
1405
1409
|
}, l(t)), {
|
|
1406
1410
|
title: g(({ key: v, label: u, icon: h }) => [
|
|
1407
|
-
D(
|
|
1411
|
+
D(p.$slots, "title", {
|
|
1408
1412
|
label: u,
|
|
1409
1413
|
key: v,
|
|
1410
1414
|
icon: h
|
|
1411
1415
|
}, () => [
|
|
1412
1416
|
$("div", mt, [
|
|
1413
1417
|
w(l(U), { icon: h }, null, 8, ["icon"]),
|
|
1414
|
-
$("span", ht,
|
|
1418
|
+
$("span", ht, F(u), 1)
|
|
1415
1419
|
])
|
|
1416
1420
|
])
|
|
1417
1421
|
]),
|
|
@@ -1427,20 +1431,20 @@ const qt = async (s, a) => {
|
|
|
1427
1431
|
props: ia,
|
|
1428
1432
|
emits: ["change", "update:labels", "update:value"],
|
|
1429
1433
|
setup(s, { emit: a }) {
|
|
1430
|
-
var y, I,
|
|
1434
|
+
var y, I, A;
|
|
1431
1435
|
const e = s, t = X(), n = L(), i = ca(e.url, e), c = e.optionCtrl ?? i.optionCtrl;
|
|
1432
1436
|
c.inputFactory = ka(n);
|
|
1433
|
-
const
|
|
1437
|
+
const f = x({
|
|
1434
1438
|
...c == null ? void 0 : c.url,
|
|
1435
1439
|
url: ((y = c == null ? void 0 : c.url) == null ? void 0 : y.url) || "",
|
|
1436
1440
|
fieldMap: (c == null ? void 0 : c.fieldMap) || ((I = c == null ? void 0 : c.url) == null ? void 0 : I.fieldMap),
|
|
1437
|
-
params: (c == null ? void 0 : c.params) || ((
|
|
1441
|
+
params: (c == null ? void 0 : c.params) || ((A = c == null ? void 0 : c.url) == null ? void 0 : A.params),
|
|
1438
1442
|
loadingText: !1
|
|
1439
|
-
}), { editorCtrl: d, errInfo: o, labelText:
|
|
1443
|
+
}), { editorCtrl: d, errInfo: o, labelText: p } = n, r = x(t.placeholder);
|
|
1440
1444
|
T(
|
|
1441
|
-
() =>
|
|
1445
|
+
() => f.value.loading,
|
|
1442
1446
|
(_) => {
|
|
1443
|
-
_ ? r.value = "" : r.value || (r.value = "请选择" +
|
|
1447
|
+
_ ? r.value = "" : r.value || (r.value = "请选择" + p.value);
|
|
1444
1448
|
},
|
|
1445
1449
|
{ immediate: !0 }
|
|
1446
1450
|
);
|
|
@@ -1463,7 +1467,7 @@ const qt = async (s, a) => {
|
|
|
1463
1467
|
v("update:labels", qe), v("update:value", R), o != null && o.value.errClass && d && Q(d);
|
|
1464
1468
|
};
|
|
1465
1469
|
return Y(() => {
|
|
1466
|
-
|
|
1470
|
+
f.value && !f.value.fieldMap && (f.value.fieldMap = {
|
|
1467
1471
|
title: "Name",
|
|
1468
1472
|
label: "Name",
|
|
1469
1473
|
value: "Id",
|
|
@@ -1478,11 +1482,11 @@ const qt = async (s, a) => {
|
|
|
1478
1482
|
w(l(pa), { class: "text-[#555] mx-[5px] !ml-[10px] !w-4 !h-4" }),
|
|
1479
1483
|
E[0] || (E[0] = $("span", null, "数据加载中...", -1))
|
|
1480
1484
|
])),
|
|
1481
|
-
w(l(Pa),
|
|
1485
|
+
w(l(Pa), N({
|
|
1482
1486
|
options: u.value,
|
|
1483
1487
|
class: [(R = l(o)) == null ? void 0 : R.errClass],
|
|
1484
1488
|
"allow-clear": !0,
|
|
1485
|
-
placeholder: u.value.length > 0 ? "请选择" + l(
|
|
1489
|
+
placeholder: u.value.length > 0 ? "请选择" + l(p) : "",
|
|
1486
1490
|
onChange: h
|
|
1487
1491
|
}, l(t)), null, 16, ["options", "class", "placeholder"])
|
|
1488
1492
|
]);
|
|
@@ -1553,10 +1557,10 @@ const ul = /* @__PURE__ */ C({
|
|
|
1553
1557
|
const a = s, { editorCtrl: e, labelText: t, errInfo: n } = L(), i = () => {
|
|
1554
1558
|
n != null && n.value.errClass && e && Q(e);
|
|
1555
1559
|
}, c = x(a.valueFormat ?? "YYYY-MM-DD");
|
|
1556
|
-
return (
|
|
1560
|
+
return (f, d) => {
|
|
1557
1561
|
var o;
|
|
1558
1562
|
return m(), b(l(Fa), {
|
|
1559
|
-
class:
|
|
1563
|
+
class: P(["w-full", [((o = l(n)) == null ? void 0 : o.errClass) === "error" ? "error !border-red-300 shadow-[0_0_3px_0px_#ff4d4f]" : ""]]),
|
|
1560
1564
|
placeholder: "请选择" + l(t),
|
|
1561
1565
|
locale: l(ye),
|
|
1562
1566
|
valueFormat: c.value,
|
|
@@ -1574,7 +1578,7 @@ const ul = /* @__PURE__ */ C({
|
|
|
1574
1578
|
setup(s, { emit: a }) {
|
|
1575
1579
|
const { editorCtrl: e, labelText: t, errInfo: n } = L(), i = () => {
|
|
1576
1580
|
n != null && n.value.errClass && e && Q(e);
|
|
1577
|
-
}, c = s,
|
|
1581
|
+
}, c = s, f = c.value === void 0 ? !0 : c.undefValue, d = a, o = x(c.value);
|
|
1578
1582
|
T(
|
|
1579
1583
|
() => c.value,
|
|
1580
1584
|
(r) => {
|
|
@@ -1592,12 +1596,12 @@ const ul = /* @__PURE__ */ C({
|
|
|
1592
1596
|
d("update:value", r);
|
|
1593
1597
|
}
|
|
1594
1598
|
);
|
|
1595
|
-
const
|
|
1596
|
-
o.value === "" && (o.value =
|
|
1599
|
+
const p = () => {
|
|
1600
|
+
o.value === "" && (o.value = f ? void 0 : null);
|
|
1597
1601
|
};
|
|
1598
1602
|
return (r, v) => {
|
|
1599
1603
|
var u, h;
|
|
1600
|
-
return m(), b(l(ee),
|
|
1604
|
+
return m(), b(l(ee), N({
|
|
1601
1605
|
class: [
|
|
1602
1606
|
(u = l(n)) == null ? void 0 : u.errClass,
|
|
1603
1607
|
((h = l(n)) == null ? void 0 : h.errClass) === "error" && !r.$slots.addonBefore && !r.$slots.addonAfter ? "!border-red-300 shadow-[0_0_3px_0px_#ff4d4f]" : ""
|
|
@@ -1608,8 +1612,8 @@ const ul = /* @__PURE__ */ C({
|
|
|
1608
1612
|
"allow-clear": !0,
|
|
1609
1613
|
placeholder: "请输入" + l(t),
|
|
1610
1614
|
onBlur: i,
|
|
1611
|
-
onChange:
|
|
1612
|
-
}, r.$attrs),
|
|
1615
|
+
onChange: p
|
|
1616
|
+
}, r.$attrs), Oe({ _: 2 }, [
|
|
1613
1617
|
r.$slots.addonBefore ? {
|
|
1614
1618
|
name: "addonBefore",
|
|
1615
1619
|
fn: g(() => [
|
|
@@ -1646,9 +1650,9 @@ const ul = /* @__PURE__ */ C({
|
|
|
1646
1650
|
(i) => {
|
|
1647
1651
|
t("update:value", i);
|
|
1648
1652
|
}
|
|
1649
|
-
), (i, c) => (m(), b(kt,
|
|
1653
|
+
), (i, c) => (m(), b(kt, N({
|
|
1650
1654
|
value: n.value,
|
|
1651
|
-
"onUpdate:value": c[0] || (c[0] = (
|
|
1655
|
+
"onUpdate:value": c[0] || (c[0] = (f) => n.value = f)
|
|
1652
1656
|
}, i.$attrs), {
|
|
1653
1657
|
addonBefore: g(() => [
|
|
1654
1658
|
w(l(U), {
|
|
@@ -1666,9 +1670,9 @@ const ul = /* @__PURE__ */ C({
|
|
|
1666
1670
|
t != null && t.value.errClass && a && Q(a);
|
|
1667
1671
|
};
|
|
1668
1672
|
return (i, c) => {
|
|
1669
|
-
var
|
|
1670
|
-
return m(), b(l(Na),
|
|
1671
|
-
class: ((
|
|
1673
|
+
var f;
|
|
1674
|
+
return m(), b(l(Na), N({
|
|
1675
|
+
class: ((f = l(t)) == null ? void 0 : f.errClass) === "error" ? ["error", "!border-red-300", "shadow-[0_0_3px_0px_#ff4d4f]"] : "",
|
|
1672
1676
|
"allow-clear": !0,
|
|
1673
1677
|
autocomplete: "new-password",
|
|
1674
1678
|
placeholder: "请输入" + l(e),
|
|
@@ -1683,9 +1687,9 @@ const ul = /* @__PURE__ */ C({
|
|
|
1683
1687
|
t != null && t.value.errClass && a && Q(a);
|
|
1684
1688
|
};
|
|
1685
1689
|
return (i, c) => {
|
|
1686
|
-
var
|
|
1687
|
-
return m(), b(l(Ma),
|
|
1688
|
-
class: [[((
|
|
1690
|
+
var f;
|
|
1691
|
+
return m(), b(l(Ma), N({
|
|
1692
|
+
class: [[((f = l(t)) == null ? void 0 : f.errClass) === "error" ? "error !border-red-300 shadow-[0_0_3px_0px_#ff4d4f]" : ""], "w-[50%]"],
|
|
1689
1693
|
onBlur: n,
|
|
1690
1694
|
"allow-clear": !1,
|
|
1691
1695
|
placeholder: "请输入" + l(e)
|
|
@@ -1705,7 +1709,7 @@ const ul = /* @__PURE__ */ C({
|
|
|
1705
1709
|
setup(s, { emit: a }) {
|
|
1706
1710
|
const e = s, t = a, n = x(!(e.selectList && e.selectList.length > 0)), i = x([]);
|
|
1707
1711
|
let c = !1;
|
|
1708
|
-
const
|
|
1712
|
+
const f = () => {
|
|
1709
1713
|
e.selectList && e.selectList.length > 0 ? i.value = e.selectList.map((r) => ({
|
|
1710
1714
|
id: Date.now() + Math.random(),
|
|
1711
1715
|
text: r.text,
|
|
@@ -1721,7 +1725,7 @@ const ul = /* @__PURE__ */ C({
|
|
|
1721
1725
|
T(
|
|
1722
1726
|
() => e.value,
|
|
1723
1727
|
() => {
|
|
1724
|
-
c ||
|
|
1728
|
+
c || f(), c = !1;
|
|
1725
1729
|
},
|
|
1726
1730
|
{ immediate: !0 }
|
|
1727
1731
|
);
|
|
@@ -1737,7 +1741,7 @@ const ul = /* @__PURE__ */ C({
|
|
|
1737
1741
|
field: "",
|
|
1738
1742
|
value: ""
|
|
1739
1743
|
});
|
|
1740
|
-
},
|
|
1744
|
+
}, p = () => {
|
|
1741
1745
|
d();
|
|
1742
1746
|
};
|
|
1743
1747
|
return (r, v) => (m(), S("div", St, [
|
|
@@ -1746,7 +1750,7 @@ const ul = /* @__PURE__ */ C({
|
|
|
1746
1750
|
class: "flex items-center gap-2"
|
|
1747
1751
|
}, [
|
|
1748
1752
|
$("div", {
|
|
1749
|
-
class:
|
|
1753
|
+
class: P([r.fieldWidth ? `w-[${r.fieldWidth}%]` : "w-[33%]"])
|
|
1750
1754
|
}, [
|
|
1751
1755
|
!r.selectList || r.selectList.length === 0 ? (m(), b(l(ee), {
|
|
1752
1756
|
key: 0,
|
|
@@ -1755,7 +1759,7 @@ const ul = /* @__PURE__ */ C({
|
|
|
1755
1759
|
title: u.text || u.field,
|
|
1756
1760
|
class: "w-full",
|
|
1757
1761
|
placeholder: u.text || r.labelHolder || "配置名",
|
|
1758
|
-
onInput:
|
|
1762
|
+
onInput: p,
|
|
1759
1763
|
disabled: !n.value
|
|
1760
1764
|
}, null, 8, ["value", "onUpdate:value", "title", "placeholder", "disabled"])) : (m(), S("div", Ct, [
|
|
1761
1765
|
w(l(ee), {
|
|
@@ -1774,13 +1778,13 @@ const ul = /* @__PURE__ */ C({
|
|
|
1774
1778
|
], 2),
|
|
1775
1779
|
v[0] || (v[0] = $("div", { class: "w-[3%]" }, "=", -1)),
|
|
1776
1780
|
$("div", {
|
|
1777
|
-
class:
|
|
1781
|
+
class: P([r.fieldWidth ? `w-[${97 - r.fieldWidth}%]` : "w-[64%]"])
|
|
1778
1782
|
}, [
|
|
1779
1783
|
w(l(ee), {
|
|
1780
1784
|
value: u.value,
|
|
1781
1785
|
"onUpdate:value": (h) => u.value = h,
|
|
1782
1786
|
placeholder: r.valueHolder || "请输入" + u.text || "请输入配置值",
|
|
1783
|
-
onInput:
|
|
1787
|
+
onInput: p,
|
|
1784
1788
|
title: u.value
|
|
1785
1789
|
}, null, 8, ["value", "onUpdate:value", "placeholder", "title"])
|
|
1786
1790
|
], 2)
|
|
@@ -1842,43 +1846,43 @@ const ul = /* @__PURE__ */ C({
|
|
|
1842
1846
|
},
|
|
1843
1847
|
emits: ["update:startDate", "update:endDate"],
|
|
1844
1848
|
setup(s, { emit: a }) {
|
|
1845
|
-
const e = s, t = a, n = L(), { errInfo: i } = n, c = J(() => e.valueFormat),
|
|
1846
|
-
const o = e.startDate,
|
|
1847
|
-
if (!(!o || !
|
|
1849
|
+
const e = s, t = a, n = L(), { errInfo: i } = n, c = J(() => e.valueFormat), f = J(() => {
|
|
1850
|
+
const o = e.startDate, p = e.endDate;
|
|
1851
|
+
if (!(!o || !p))
|
|
1848
1852
|
try {
|
|
1849
|
-
const r =
|
|
1853
|
+
const r = pe(o), v = pe(p);
|
|
1850
1854
|
return !r.isValid() || !v.isValid() ? void 0 : [r, v];
|
|
1851
1855
|
} catch {
|
|
1852
1856
|
return;
|
|
1853
1857
|
}
|
|
1854
|
-
}), d = (o,
|
|
1855
|
-
if (!o || !
|
|
1858
|
+
}), d = (o, p) => {
|
|
1859
|
+
if (!o || !p || p.length !== 2) {
|
|
1856
1860
|
t("update:startDate", null), t("update:endDate", null);
|
|
1857
1861
|
return;
|
|
1858
1862
|
}
|
|
1859
|
-
t("update:startDate",
|
|
1863
|
+
t("update:startDate", p[0] || null), t("update:endDate", p[1] || null);
|
|
1860
1864
|
};
|
|
1861
|
-
return (o,
|
|
1865
|
+
return (o, p) => {
|
|
1862
1866
|
var r;
|
|
1863
1867
|
return m(), b(l(Ra), {
|
|
1864
|
-
class:
|
|
1868
|
+
class: P([((r = l(i)) == null ? void 0 : r.errClass) === "error" ? ["error", "!border-red-300", "shadow-[0_0_3px_0px_#ff4d4f]"] : "", "w-full"]),
|
|
1865
1869
|
locale: l(ye),
|
|
1866
1870
|
"value-format": c.value,
|
|
1867
|
-
value:
|
|
1871
|
+
value: f.value,
|
|
1868
1872
|
onChange: d
|
|
1869
1873
|
}, null, 8, ["class", "locale", "value-format", "value"]);
|
|
1870
1874
|
};
|
|
1871
1875
|
}
|
|
1872
|
-
}), gl = /* @__PURE__ */ q(ga, [["__scopeId", "data-v-
|
|
1876
|
+
}), gl = /* @__PURE__ */ q(ga, [["__scopeId", "data-v-f1bce723"]]), bl = /* @__PURE__ */ C({
|
|
1873
1877
|
__name: "index",
|
|
1874
1878
|
setup(s) {
|
|
1875
1879
|
const { editorCtrl: a, labelText: e, errInfo: t } = L(), n = () => {
|
|
1876
1880
|
t != null && t.value.errClass && a && Q(a);
|
|
1877
1881
|
};
|
|
1878
1882
|
return (i, c) => {
|
|
1879
|
-
var
|
|
1880
|
-
return m(), b(l(Ba),
|
|
1881
|
-
class: ((
|
|
1883
|
+
var f;
|
|
1884
|
+
return m(), b(l(Ba), N({
|
|
1885
|
+
class: ((f = l(t)) == null ? void 0 : f.errClass) === "error" ? ["error", "!border-red-300", "shadow-[0_0_3px_0px_#ff4d4f]"] : "",
|
|
1882
1886
|
"allow-clear": !0,
|
|
1883
1887
|
placeholder: "请输入" + l(e),
|
|
1884
1888
|
onBlur: n,
|
|
@@ -1899,7 +1903,7 @@ const ul = /* @__PURE__ */ C({
|
|
|
1899
1903
|
},
|
|
1900
1904
|
emits: ["change", "update:value"],
|
|
1901
1905
|
setup(s, { emit: a }) {
|
|
1902
|
-
const e = s, t = x({ ...e.url }), { editorCtrl: n, labelText: i, errInfo: c } = L(),
|
|
1906
|
+
const e = s, t = x({ ...e.url }), { editorCtrl: n, labelText: i, errInfo: c } = L(), f = a, d = x([]), o = x([]);
|
|
1903
1907
|
e.value && e.value.every((r) => {
|
|
1904
1908
|
o.value.push(r.toString());
|
|
1905
1909
|
}), T(
|
|
@@ -1908,8 +1912,8 @@ const ul = /* @__PURE__ */ C({
|
|
|
1908
1912
|
r && (o.value = r);
|
|
1909
1913
|
}
|
|
1910
1914
|
);
|
|
1911
|
-
const
|
|
1912
|
-
|
|
1915
|
+
const p = (r) => {
|
|
1916
|
+
f("update:value", r), f("change", r), o.value = r, c != null && c.value.errClass && n && Q(n);
|
|
1913
1917
|
};
|
|
1914
1918
|
return Y(async () => {
|
|
1915
1919
|
if (t.value) {
|
|
@@ -1926,18 +1930,18 @@ const ul = /* @__PURE__ */ C({
|
|
|
1926
1930
|
}
|
|
1927
1931
|
}), (r, v) => {
|
|
1928
1932
|
var u;
|
|
1929
|
-
return m(), b(l(
|
|
1933
|
+
return m(), b(l(Aa), N({
|
|
1930
1934
|
class: ((u = l(c)) == null ? void 0 : u.errClass) === "error" ? ["error", "!border-red-300", "shadow-[0_0_3px_0px_#ff4d4f]"] : "",
|
|
1931
1935
|
placeholder: "请输入" + l(i),
|
|
1932
1936
|
targetKeys: o.value,
|
|
1933
|
-
onChange:
|
|
1937
|
+
onChange: p
|
|
1934
1938
|
}, r.$attrs), {
|
|
1935
|
-
children: g(({ direction: h, disabled: y, filteredItems: I, onItemSelectAll:
|
|
1939
|
+
children: g(({ direction: h, disabled: y, filteredItems: I, onItemSelectAll: A, onItemSelect: _, selectedKeys: E }) => [
|
|
1936
1940
|
D(r.$slots, "children", {
|
|
1937
1941
|
direction: h,
|
|
1938
1942
|
disabled: y,
|
|
1939
1943
|
filteredItems: I,
|
|
1940
|
-
onItemSelectAll:
|
|
1944
|
+
onItemSelectAll: A,
|
|
1941
1945
|
onItemSelect: _,
|
|
1942
1946
|
selectedKeys: E
|
|
1943
1947
|
})
|
|
@@ -1985,7 +1989,7 @@ const ul = /* @__PURE__ */ C({
|
|
|
1985
1989
|
o && (i.value = o);
|
|
1986
1990
|
}
|
|
1987
1991
|
), e.gridCtrl.autoload = !1, e.gridCtrl.remotePage = !1, e.gridCtrl.selectable = x(!0), e.gridCtrl.buttons = x([]), e.gridCtrl.tools = [];
|
|
1988
|
-
const
|
|
1992
|
+
const f = ({ disabled: o, selectedKeys: p, onItemSelectAll: r, onItemSelect: v }) => ({
|
|
1989
1993
|
getCheckboxProps: (u) => ({
|
|
1990
1994
|
// 控制是否禁止
|
|
1991
1995
|
disabled: o || u.disabled
|
|
@@ -1997,7 +2001,7 @@ const ul = /* @__PURE__ */ C({
|
|
|
1997
2001
|
onSelect({ [c.value]: u }, h) {
|
|
1998
2002
|
v(u, h);
|
|
1999
2003
|
},
|
|
2000
|
-
selectedRowKeys:
|
|
2004
|
+
selectedRowKeys: p
|
|
2001
2005
|
}), d = x([]);
|
|
2002
2006
|
return Y(async () => {
|
|
2003
2007
|
if (n.value) {
|
|
@@ -2009,11 +2013,11 @@ const ul = /* @__PURE__ */ C({
|
|
|
2009
2013
|
});
|
|
2010
2014
|
d.value = (o == null ? void 0 : o.data) ?? [];
|
|
2011
2015
|
}
|
|
2012
|
-
}), (o,
|
|
2016
|
+
}), (o, p) => (m(), b($t, N({
|
|
2013
2017
|
"data-source": d.value,
|
|
2014
2018
|
"row-key": (r) => r[c.value],
|
|
2015
2019
|
value: i.value,
|
|
2016
|
-
"onUpdate:value":
|
|
2020
|
+
"onUpdate:value": p[0] || (p[0] = (r) => i.value = r),
|
|
2017
2021
|
"list-style": {
|
|
2018
2022
|
width: "300px",
|
|
2019
2023
|
height: "500px"
|
|
@@ -2031,7 +2035,7 @@ const ul = /* @__PURE__ */ C({
|
|
|
2031
2035
|
w(l(Ye), {
|
|
2032
2036
|
columns: s.gridCtrl.columns.value,
|
|
2033
2037
|
"row-key": c.value,
|
|
2034
|
-
"row-selection":
|
|
2038
|
+
"row-selection": f({
|
|
2035
2039
|
disabled: !1,
|
|
2036
2040
|
selectedKeys: h,
|
|
2037
2041
|
onItemSelectAll: v,
|
|
@@ -2079,15 +2083,20 @@ const ul = /* @__PURE__ */ C({
|
|
|
2079
2083
|
},
|
|
2080
2084
|
emits: ["change", "update:value"],
|
|
2081
2085
|
setup(s, { emit: a }) {
|
|
2082
|
-
const e = s, t = e.value === void 0 ? !0 : e.undefValue, n = e.treeCtrl, i = L(), { errInfo: c, labelText:
|
|
2086
|
+
const e = s, t = e.value === void 0 ? !0 : e.undefValue, n = e.treeCtrl, i = L(), { errInfo: c, labelText: f } = i, d = a;
|
|
2083
2087
|
i.inputEmit = d;
|
|
2084
|
-
const o = x([]),
|
|
2088
|
+
const o = x([]), p = x();
|
|
2085
2089
|
T(
|
|
2086
2090
|
() => e.value,
|
|
2087
2091
|
(u) => {
|
|
2088
|
-
|
|
2092
|
+
p.value = u;
|
|
2089
2093
|
},
|
|
2090
2094
|
{ immediate: !0 }
|
|
2095
|
+
), T(
|
|
2096
|
+
() => p.value,
|
|
2097
|
+
(u) => {
|
|
2098
|
+
d("update:value", u);
|
|
2099
|
+
}
|
|
2091
2100
|
), T(
|
|
2092
2101
|
() => n.data.value,
|
|
2093
2102
|
(u) => {
|
|
@@ -2096,7 +2105,7 @@ const ul = /* @__PURE__ */ C({
|
|
|
2096
2105
|
{ immediate: !0 }
|
|
2097
2106
|
);
|
|
2098
2107
|
const r = (u) => {
|
|
2099
|
-
e.multiple ?
|
|
2108
|
+
e.multiple ? p.value = u ?? [] : u == null ? p.value = t ? void 0 : null : p.value = u, d("change", p.value);
|
|
2100
2109
|
};
|
|
2101
2110
|
Y(() => {
|
|
2102
2111
|
n.fieldMap || (n.fieldMap = {
|
|
@@ -2106,25 +2115,25 @@ const ul = /* @__PURE__ */ C({
|
|
|
2106
2115
|
}), n.data.value ? o.value = n.fieldMap ? oe(n.fieldMap, n.data.value) : n.data.value : e.treeCtrl.autoload && Me(e.treeCtrl);
|
|
2107
2116
|
});
|
|
2108
2117
|
const v = () => {
|
|
2109
|
-
|
|
2118
|
+
p.value = t ? void 0 : null;
|
|
2110
2119
|
};
|
|
2111
2120
|
return (u, h) => {
|
|
2112
2121
|
var y;
|
|
2113
|
-
return m(), b(l(
|
|
2122
|
+
return m(), b(l(Oa), N({
|
|
2114
2123
|
class: [[(y = l(c)) == null ? void 0 : y.errClass], "w-full"],
|
|
2115
2124
|
"tree-line": "",
|
|
2116
2125
|
multiple: s.multiple,
|
|
2117
2126
|
"tree-default-expanded-keys": ["-"],
|
|
2118
|
-
value:
|
|
2119
|
-
"onUpdate:value": h[0] || (h[0] = (I) =>
|
|
2127
|
+
value: p.value,
|
|
2128
|
+
"onUpdate:value": h[0] || (h[0] = (I) => p.value = I),
|
|
2120
2129
|
"tree-data": o.value,
|
|
2121
|
-
placeholder: "请选择" + l(
|
|
2130
|
+
placeholder: "请选择" + l(f),
|
|
2122
2131
|
onChange: r,
|
|
2123
2132
|
onClear: v
|
|
2124
2133
|
}, u.$attrs), null, 16, ["class", "multiple", "value", "tree-data", "placeholder"]);
|
|
2125
2134
|
};
|
|
2126
2135
|
}
|
|
2127
|
-
}), _l = /* @__PURE__ */ q(It, [["__scopeId", "data-v-
|
|
2136
|
+
}), _l = /* @__PURE__ */ q(It, [["__scopeId", "data-v-a0ed9c4e"]]), Dt = { class: "relative h-[calc(100vh-80px)] overflow-y-auto" }, Et = { class: "flex w-full h-full min-h-full" }, Pt = {
|
|
2128
2137
|
key: 0,
|
|
2129
2138
|
class: "w-1/4 pr-4 min-h-full min-w-[170px] max-w-[200px]"
|
|
2130
2139
|
}, Ft = { class: "flex-1 h-full overflow-y-auto" }, yl = /* @__PURE__ */ C({
|
|
@@ -2137,7 +2146,7 @@ const ul = /* @__PURE__ */ C({
|
|
|
2137
2146
|
return (t, n) => (m(), S("div", Dt, [
|
|
2138
2147
|
w(l(La), {
|
|
2139
2148
|
class: "m-[10px] p-[10px] h-[calc(100vh-100px)] !min-h-[calc(100vh-100px)]",
|
|
2140
|
-
style:
|
|
2149
|
+
style: ge({
|
|
2141
2150
|
backgroundColor: l(e).colorBgContainer
|
|
2142
2151
|
})
|
|
2143
2152
|
}, {
|
|
@@ -2158,13 +2167,13 @@ const ul = /* @__PURE__ */ C({
|
|
|
2158
2167
|
});
|
|
2159
2168
|
export {
|
|
2160
2169
|
ks as Alert,
|
|
2161
|
-
|
|
2170
|
+
As as AppIcon,
|
|
2162
2171
|
ce as AppRouter,
|
|
2163
2172
|
ns as AsyncUploader,
|
|
2164
2173
|
nl as AutoComplete,
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2174
|
+
Os as Breadcrumb,
|
|
2175
|
+
O as Button,
|
|
2176
|
+
je as Cache,
|
|
2168
2177
|
Xa as CacheKeys,
|
|
2169
2178
|
gs as CanPreviewFileExt,
|
|
2170
2179
|
il as Cascader,
|
|
@@ -2172,7 +2181,7 @@ export {
|
|
|
2172
2181
|
yl as Content,
|
|
2173
2182
|
ul as DatePicker,
|
|
2174
2183
|
Ls as Datetime,
|
|
2175
|
-
|
|
2184
|
+
js as Dialog,
|
|
2176
2185
|
al as Drawer,
|
|
2177
2186
|
Sl as EventPrefix,
|
|
2178
2187
|
tl as Form,
|
|
@@ -2191,17 +2200,17 @@ export {
|
|
|
2191
2200
|
el as LayoutIcon,
|
|
2192
2201
|
ws as Loading,
|
|
2193
2202
|
Ys as Menu,
|
|
2194
|
-
|
|
2203
|
+
Ks as MenuTabs,
|
|
2195
2204
|
Ne as OPTIONS,
|
|
2196
2205
|
ia as OptionCommProps,
|
|
2197
|
-
|
|
2206
|
+
Ws as ProjectIcon,
|
|
2198
2207
|
vl as PropEditor,
|
|
2199
|
-
|
|
2208
|
+
H as ProviderKeys,
|
|
2200
2209
|
Tt as Radio,
|
|
2201
2210
|
ml as RadioStatus,
|
|
2202
2211
|
hl as RangePicker,
|
|
2203
2212
|
sl as Search,
|
|
2204
|
-
|
|
2213
|
+
de as SearchItem,
|
|
2205
2214
|
gl as Select,
|
|
2206
2215
|
ra as Switch,
|
|
2207
2216
|
rl as Table,
|
|
@@ -2224,7 +2233,7 @@ export {
|
|
|
2224
2233
|
Ts as createMarkedExcelView,
|
|
2225
2234
|
$l as crumbs,
|
|
2226
2235
|
qt as csvToExcelBlob,
|
|
2227
|
-
|
|
2236
|
+
We as csvToExcelView,
|
|
2228
2237
|
$s as csvToNormalized,
|
|
2229
2238
|
De as defaultTools,
|
|
2230
2239
|
Il as doDelete,
|
|
@@ -2232,7 +2241,7 @@ export {
|
|
|
2232
2241
|
Re as doQuery,
|
|
2233
2242
|
El as doSave,
|
|
2234
2243
|
xs as donwloadFromMinio,
|
|
2235
|
-
|
|
2244
|
+
Ke as downloadBlob,
|
|
2236
2245
|
Pl as eventBus,
|
|
2237
2246
|
Is as excelToExcelView,
|
|
2238
2247
|
Ds as excelToNormalized,
|
|
@@ -2249,18 +2258,18 @@ export {
|
|
|
2249
2258
|
va as getSelectedLabels,
|
|
2250
2259
|
Bl as getSelectedValues,
|
|
2251
2260
|
ds as getToken,
|
|
2252
|
-
|
|
2261
|
+
K as getToolByKey,
|
|
2253
2262
|
_e as getToolGroup,
|
|
2254
|
-
|
|
2263
|
+
W as getToolStatus,
|
|
2255
2264
|
G as getToolVisible,
|
|
2256
2265
|
ps as getUserInfo,
|
|
2257
2266
|
ke as gridQueryFind,
|
|
2258
2267
|
sa as gridQueryList,
|
|
2259
|
-
|
|
2268
|
+
Al as gridRowUpdate,
|
|
2260
2269
|
oa as gridStatusUpdate,
|
|
2261
2270
|
Qt as initCacheCheck,
|
|
2262
|
-
|
|
2263
|
-
|
|
2271
|
+
jt as initDirective,
|
|
2272
|
+
Ol as initMenu,
|
|
2264
2273
|
Ll as initPageFactory,
|
|
2265
2274
|
zl as initValidate,
|
|
2266
2275
|
Z as isEmpty,
|
|
@@ -2271,7 +2280,7 @@ export {
|
|
|
2271
2280
|
ea as onFormClose,
|
|
2272
2281
|
Ee as onFormSave,
|
|
2273
2282
|
Ze as onFormSaveAs,
|
|
2274
|
-
|
|
2283
|
+
He as onFullscreenClick,
|
|
2275
2284
|
ta as onGridRowDelete,
|
|
2276
2285
|
aa as onGridRowEdit,
|
|
2277
2286
|
Vl as onGridRowExpand,
|
|
@@ -2280,15 +2289,15 @@ export {
|
|
|
2280
2289
|
V as onToolClicked,
|
|
2281
2290
|
la as openNewForm,
|
|
2282
2291
|
Yl as outFormDataFields,
|
|
2283
|
-
|
|
2292
|
+
Kl as parseIcons,
|
|
2284
2293
|
fs as path,
|
|
2285
|
-
|
|
2286
|
-
|
|
2294
|
+
Wl as pendingNavigation,
|
|
2295
|
+
Hl as pinia,
|
|
2287
2296
|
_s as previewFromMinio,
|
|
2288
2297
|
Gt as processCsvFile,
|
|
2289
2298
|
Ps as processExcelFile,
|
|
2290
2299
|
Me as queryTree,
|
|
2291
|
-
|
|
2300
|
+
jl as resetRules,
|
|
2292
2301
|
Ql as routes,
|
|
2293
2302
|
ql as saveForm,
|
|
2294
2303
|
Gl as setFormData,
|
|
@@ -2304,7 +2313,7 @@ export {
|
|
|
2304
2313
|
ca as useOptionFactory,
|
|
2305
2314
|
ts as usePageFactory,
|
|
2306
2315
|
ls as usePageInfo,
|
|
2307
|
-
|
|
2316
|
+
ve as useSettingInfo,
|
|
2308
2317
|
Ja as useToolFactory,
|
|
2309
2318
|
ss as useTreeFactory,
|
|
2310
2319
|
Je as useUserInfo,
|