@skyfox2000/webui 1.4.15 → 1.4.17
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/{baseLayout-BtJNPMBy.js → baseLayout-D3_NxEzk.js} +5 -5
- package/lib/assets/modules/{file-upload-CYNi1NsW.js → file-upload-CNBcbAAZ.js} +1 -1
- package/lib/assets/modules/{index-DWnhNqJu.js → index-CDr74akE.js} +2 -2
- package/lib/assets/modules/{index-BOOirPG2.js → index-D14BsF7C.js} +1 -1
- package/lib/assets/modules/{index-Cj6QnoC7.js → index-DOlO_4KL.js} +2 -2
- package/lib/assets/modules/{menuTabs-DDGkYuvg.js → menuTabs-CqAhoF--.js} +7 -7
- package/lib/assets/modules/{toolIcon-DXQt60Ya.js → toolIcon-BnkqBipR.js} +1 -1
- package/lib/assets/modules/{upload-template-CaeUt6VI.js → upload-template-KI-IFzyp.js} +376 -359
- package/lib/assets/modules/{uploadList-D0jw6jNr.js → uploadList-DnFXg_B3.js} +4 -4
- package/lib/es/AceEditor/index.js +3 -3
- package/lib/es/BasicLayout/index.js +6 -6
- 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/MenuLayout/index.js +8 -8
- package/lib/es/TemplateFile/index.js +5 -5
- package/lib/es/UploadForm/index.js +4 -4
- package/lib/utils/export-table.d.ts +6 -1
- package/lib/utils/form-validate.d.ts +2 -1
- package/lib/webui.css +1 -1
- package/lib/webui.es.js +930 -918
- package/package.json +1 -1
- package/src/components/content/form/formItem.vue +2 -16
- package/src/components/content/search/searchItem.vue +32 -8
- package/src/components/content/table/index.vue +1 -1
- package/src/components/form/autoComplete/index.vue +5 -1
- package/src/components/form/cascader/index.vue +8 -10
- package/src/components/form/checkbox/index.vue +8 -11
- package/src/components/form/radio/index.vue +9 -14
- package/src/components/form/select/index.vue +4 -1
- package/src/components/form/treeSelect/index.vue +5 -1
- package/src/utils/export-table.ts +15 -5
- package/src/utils/form-validate.ts +20 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var k = (e, a, t) =>
|
|
4
|
-
import { ref as c, h as H, nextTick as
|
|
5
|
-
import { Switch as bt, AutoComplete as
|
|
6
|
-
import { createPinia as
|
|
7
|
-
import
|
|
8
|
-
import { EnvConfig as
|
|
9
|
-
import { httpPost as
|
|
1
|
+
var mt = Object.defineProperty;
|
|
2
|
+
var vt = (e, a, t) => a in e ? mt(e, a, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[a] = t;
|
|
3
|
+
var k = (e, a, t) => vt(e, typeof a != "symbol" ? a + "" : a, t);
|
|
4
|
+
import { ref as c, h as H, nextTick as gt, inject as se, provide as $e, watch as g, toRaw as et, shallowRef as J, defineComponent as Z, reactive as yt, onMounted as Ie, onUnmounted as le, createBlock as Ae, createCommentVNode as z, openBlock as w, unref as b, mergeProps as ue, useAttrs as Ee, onActivated as xe, createElementBlock as $, createVNode as C, withCtx as Q, createTextVNode as we, toDisplayString as Y, Fragment as oe, renderList as He, normalizeClass as tt, createElementVNode as St } from "vue";
|
|
5
|
+
import { Switch as bt, AutoComplete as It, Input as At, CheckboxGroup as Et, Checkbox as xt, RadioGroup as wt, Radio as Rt, Select as Ot, SelectOption as Tt } from "ant-design-vue";
|
|
6
|
+
import { createPinia as Pt, defineStore as ce } from "pinia";
|
|
7
|
+
import kt from "pinia-plugin-persistedstate";
|
|
8
|
+
import { EnvConfig as Se, AppAction as ze, AppSource as Ce, isMicroApp as V, isBaseMicroApp as Lt, combineParams as fe } from "@skyfox2000/microbase";
|
|
9
|
+
import { httpPost as j, ResStatus as T, setToken as ve, fieldMapping as Mt, parseFieldTemplate as be, API_HOST as Fe, SERVER_HOST as $t } from "@skyfox2000/fapi";
|
|
10
10
|
import E from "vue-m-message";
|
|
11
|
-
import { createRouter as
|
|
12
|
-
import
|
|
11
|
+
import { createRouter as Ft, createWebHashHistory as _t } from "vue-router";
|
|
12
|
+
import Ve from "async-validator";
|
|
13
13
|
import "dayjs";
|
|
14
14
|
import "vue-draggable-next";
|
|
15
|
-
const
|
|
16
|
-
|
|
15
|
+
const Nt = Pt();
|
|
16
|
+
Nt.use(kt);
|
|
17
17
|
var U = /* @__PURE__ */ ((e) => (e.PageControl = "Page.PageControl", e.EditorControl = "Page.EditorControl", e.GridControl = "Page.GridControl", e.LabelText = "FormItem.LabelText", e.LabelWidth = "FormItem.LabelWidth", e.RuleKey = "FormItem.RuleKey", e.ErrInfo = "FormItem.ErrInfo", e))(U || {});
|
|
18
18
|
const L = class L {
|
|
19
19
|
};
|
|
@@ -173,27 +173,27 @@ const pe = {
|
|
|
173
173
|
type: Object,
|
|
174
174
|
required: !1
|
|
175
175
|
}
|
|
176
|
-
}, F = (e) => e == null || e === "" ? !0 : Array.isArray(e) ? e.length === 0 : typeof e == "object" ? Object.keys(e).length === 0 : !1,
|
|
176
|
+
}, F = (e) => e == null || e === "" ? !0 : Array.isArray(e) ? e.length === 0 : typeof e == "object" ? Object.keys(e).length === 0 : !1, Ye = "/login/", ye = [], Dt = (e) => {
|
|
177
177
|
for (const a of e) {
|
|
178
178
|
const t = ye.findIndex((s) => s.path === a.path);
|
|
179
|
-
t !== -1 && ye.splice(t, 1), ye.push(a),
|
|
179
|
+
t !== -1 && ye.splice(t, 1), ye.push(a), Re.addRoute(a);
|
|
180
180
|
}
|
|
181
|
-
},
|
|
181
|
+
}, at = (e, a, t, s = "") => {
|
|
182
182
|
const n = s + (s ? "/" : "") + e.path;
|
|
183
|
-
a[n] = { ...e, parent: t }, e.children && e.children.forEach((o) =>
|
|
184
|
-
},
|
|
185
|
-
history:
|
|
183
|
+
a[n] = { ...e, parent: t }, e.children && e.children.forEach((o) => at(o, a, e, n));
|
|
184
|
+
}, Re = Ft({
|
|
185
|
+
history: _t("/"),
|
|
186
186
|
routes: ye
|
|
187
|
-
}),
|
|
187
|
+
}), Ut = (e, a) => {
|
|
188
188
|
var n, o;
|
|
189
189
|
const t = ((n = e.meta) == null ? void 0 : n.roles) ?? [], s = (o = e.meta) == null ? void 0 : o.permission;
|
|
190
190
|
if (!a)
|
|
191
191
|
return t.length === 0 && !s;
|
|
192
192
|
if (a) {
|
|
193
193
|
const r = _();
|
|
194
|
-
if (
|
|
194
|
+
if (Se.VITE_PERMISSION_MODE === "role")
|
|
195
195
|
return t.length === 0 ? !0 : r.hasRole(t);
|
|
196
|
-
if (
|
|
196
|
+
if (Se.VITE_PERMISSION_MODE === "permit") {
|
|
197
197
|
if (t.length === 0 && !s)
|
|
198
198
|
return !0;
|
|
199
199
|
let l = !1, u = !1;
|
|
@@ -202,10 +202,10 @@ const pe = {
|
|
|
202
202
|
}
|
|
203
203
|
return !1;
|
|
204
204
|
}, ne = c(null);
|
|
205
|
-
|
|
205
|
+
Re.beforeEach((e, a, t) => {
|
|
206
206
|
var l;
|
|
207
207
|
const s = e;
|
|
208
|
-
if (e.path.startsWith("/error/") || e.path.startsWith(
|
|
208
|
+
if (e.path.startsWith("/error/") || e.path.startsWith(Ye))
|
|
209
209
|
return t();
|
|
210
210
|
const n = s.meta, r = ((n == null ? void 0 : n.roles) ?? []).length > 0 || ((l = n == null ? void 0 : n.permission) == null ? void 0 : l.length);
|
|
211
211
|
if (e.path === "/") {
|
|
@@ -227,7 +227,7 @@ we.beforeEach((e, a, t) => {
|
|
|
227
227
|
else {
|
|
228
228
|
const u = _();
|
|
229
229
|
if (!u.isLogin)
|
|
230
|
-
t({ path:
|
|
230
|
+
t({ path: Ye });
|
|
231
231
|
else {
|
|
232
232
|
if (!K().menuLoaded) {
|
|
233
233
|
ne.value = {
|
|
@@ -236,24 +236,24 @@ we.beforeEach((e, a, t) => {
|
|
|
236
236
|
};
|
|
237
237
|
return;
|
|
238
238
|
}
|
|
239
|
-
const f =
|
|
239
|
+
const f = Ut(s, u.isLogin);
|
|
240
240
|
t();
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
243
|
});
|
|
244
|
-
const
|
|
244
|
+
const Ht = (e) => {
|
|
245
245
|
if (ne.value) {
|
|
246
246
|
const { to: a, next: t } = ne.value;
|
|
247
247
|
ne.value = null, a.path === "/" ? t(e) : t(a.path);
|
|
248
248
|
}
|
|
249
|
-
},
|
|
250
|
-
const a =
|
|
249
|
+
}, Vt = (e) => {
|
|
250
|
+
const a = Ke();
|
|
251
251
|
if (a.TabEnabled) {
|
|
252
|
-
if (
|
|
252
|
+
if (Kt(e.key, a.TabPanes))
|
|
253
253
|
return;
|
|
254
254
|
a.TabPanes.push(e);
|
|
255
255
|
}
|
|
256
|
-
},
|
|
256
|
+
}, Kt = (e, a) => a.find((t) => t.key === e), Ke = ce("pageInfo", {
|
|
257
257
|
state: () => ({
|
|
258
258
|
TabActive: "",
|
|
259
259
|
TabPanes: [],
|
|
@@ -298,7 +298,7 @@ const Ut = (e) => {
|
|
|
298
298
|
// 默认为true
|
|
299
299
|
keepAlive: !(t.meta && !t.meta.keepAlive)
|
|
300
300
|
};
|
|
301
|
-
|
|
301
|
+
Vt(s), this.TabActive = e;
|
|
302
302
|
}
|
|
303
303
|
},
|
|
304
304
|
persist: !1
|
|
@@ -408,35 +408,35 @@ const re = {
|
|
|
408
408
|
userLogout: A.userLogout.bind(A),
|
|
409
409
|
mainAppPush: A.mainAppPush.bind(A),
|
|
410
410
|
isInMicroApp: A.isInMicroApp.bind(A)
|
|
411
|
-
},
|
|
411
|
+
}, Qt = {
|
|
412
412
|
appList: {
|
|
413
413
|
api: "PLATFORM_API",
|
|
414
414
|
authorize: !0,
|
|
415
415
|
url: "/api/RCTenanetOpSrv/getApps",
|
|
416
416
|
loadingText: !1
|
|
417
417
|
}
|
|
418
|
-
},
|
|
418
|
+
}, _e = /* @__PURE__ */ new Map(), Jt = (e) => {
|
|
419
419
|
const a = _(), { roles: t, permission: s } = e.meta || {};
|
|
420
420
|
if (F(t) && F(s))
|
|
421
421
|
return !0;
|
|
422
|
-
if (
|
|
422
|
+
if (Se.VITE_PERMISSION_MODE === "role")
|
|
423
423
|
return F(t) ? !0 : a.hasRole(t);
|
|
424
|
-
if (
|
|
424
|
+
if (Se.VITE_PERMISSION_MODE === "permit") {
|
|
425
425
|
let n = !1, o = !1;
|
|
426
426
|
return F(t) || (n = a.hasRole(t)), a.isAdmin() ? n : (F(s) || (o = a.hasPermit(e.path, s)), n || o);
|
|
427
427
|
}
|
|
428
428
|
return !1;
|
|
429
|
-
},
|
|
429
|
+
}, st = (e) => e.map((a) => {
|
|
430
430
|
const t = { ...a };
|
|
431
|
-
return
|
|
432
|
-
}).filter(Boolean),
|
|
431
|
+
return Jt(t) ? (t.children && (t.children = st(t.children)), t) : null;
|
|
432
|
+
}).filter(Boolean), nt = (e, a = "") => {
|
|
433
433
|
for (const t of e) {
|
|
434
434
|
if (!t.children && !t.redirect) {
|
|
435
435
|
let s = a + t.path;
|
|
436
436
|
return s.startsWith("/") || (s = "/" + s), s;
|
|
437
437
|
}
|
|
438
438
|
if (t.children && t.children.length > 0 && t.path !== "/error" && t.path !== "/login" && t.path !== "/:page(.*)") {
|
|
439
|
-
const s =
|
|
439
|
+
const s = nt(t.children, a + t.path + "/");
|
|
440
440
|
if (s)
|
|
441
441
|
return s;
|
|
442
442
|
}
|
|
@@ -449,8 +449,8 @@ const re = {
|
|
|
449
449
|
AppCode: "",
|
|
450
450
|
Version: "",
|
|
451
451
|
Host: "",
|
|
452
|
-
Source:
|
|
453
|
-
Action:
|
|
452
|
+
Source: Ce.Manual,
|
|
453
|
+
Action: ze.App,
|
|
454
454
|
Path: "",
|
|
455
455
|
Icon: "",
|
|
456
456
|
Routes: [],
|
|
@@ -475,7 +475,7 @@ const re = {
|
|
|
475
475
|
});
|
|
476
476
|
},
|
|
477
477
|
async getRemoteAppList() {
|
|
478
|
-
return
|
|
478
|
+
return j(Qt.appList, {
|
|
479
479
|
Query: {
|
|
480
480
|
AppCode: this.appInfo.AppCode,
|
|
481
481
|
Enabled: 1
|
|
@@ -483,7 +483,7 @@ const re = {
|
|
|
483
483
|
}).then((e) => {
|
|
484
484
|
if ((e == null ? void 0 : e.status) === T.SUCCESS && e.data)
|
|
485
485
|
this.appList.length = 0, this.appList.push(...e.data);
|
|
486
|
-
else if ((e == null ? void 0 : e.errno) ==
|
|
486
|
+
else if ((e == null ? void 0 : e.errno) == Oe) {
|
|
487
487
|
_().logout(!1);
|
|
488
488
|
return;
|
|
489
489
|
}
|
|
@@ -519,7 +519,7 @@ const re = {
|
|
|
519
519
|
flattenRoutes: {},
|
|
520
520
|
Routes: a ?? [],
|
|
521
521
|
defaultPage: ""
|
|
522
|
-
}), (!V() || !
|
|
522
|
+
}), (!V() || !Lt()) && (await _().getRolePermits(t.Id), this.appInfo.Routes.length && this.setAppRoutes(this.appInfo.Routes)));
|
|
523
523
|
},
|
|
524
524
|
/**
|
|
525
525
|
* 设置当前应用路由信息
|
|
@@ -534,18 +534,18 @@ const re = {
|
|
|
534
534
|
};
|
|
535
535
|
const a = this.appInfo.flattenRoutes;
|
|
536
536
|
for (const t of e)
|
|
537
|
-
|
|
537
|
+
at(t, a, void 0);
|
|
538
538
|
if (Object.keys(a).forEach((t) => {
|
|
539
539
|
const s = a[t];
|
|
540
540
|
s.children || !s.component || (s.meta && s.meta.keepAlive === !1 ? this.ExcludeComponents.push(t) : this.CachedComponents.push(t));
|
|
541
541
|
}), _().isLogin) {
|
|
542
|
-
const t =
|
|
543
|
-
if (
|
|
542
|
+
const t = st(this.appInfo.Routes);
|
|
543
|
+
if (Dt(t), this.appInfo.defaultPage = nt(t) || "", this.appInfo.defaultPage) {
|
|
544
544
|
if (this.menuLoaded = !0, V()) {
|
|
545
545
|
const s = this.formatRoute(this.appInfo.defaultPage);
|
|
546
546
|
re.mainAppPush(s);
|
|
547
547
|
}
|
|
548
|
-
|
|
548
|
+
Ht(this.appInfo.defaultPage);
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
551
|
},
|
|
@@ -563,8 +563,8 @@ const re = {
|
|
|
563
563
|
* @param path 路由地址
|
|
564
564
|
*/
|
|
565
565
|
push(e) {
|
|
566
|
-
this.findRoute(e) &&
|
|
567
|
-
if (
|
|
566
|
+
this.findRoute(e) && Ke().setTabActive(e), gt(() => {
|
|
567
|
+
if (Re.push({ path: e }), V()) {
|
|
568
568
|
const t = this.formatRoute(e);
|
|
569
569
|
re.mainAppPush(t);
|
|
570
570
|
}
|
|
@@ -585,7 +585,7 @@ const re = {
|
|
|
585
585
|
* @returns 组件实例
|
|
586
586
|
*/
|
|
587
587
|
cacheComponent(e, a) {
|
|
588
|
-
let t =
|
|
588
|
+
let t = _e.get(a.path);
|
|
589
589
|
if (!t)
|
|
590
590
|
if (this.CachedComponents.includes(a.path))
|
|
591
591
|
t = {
|
|
@@ -594,7 +594,7 @@ const re = {
|
|
|
594
594
|
render() {
|
|
595
595
|
return H(e);
|
|
596
596
|
}
|
|
597
|
-
},
|
|
597
|
+
}, _e.set(a.path, t);
|
|
598
598
|
else return e;
|
|
599
599
|
return t;
|
|
600
600
|
},
|
|
@@ -603,7 +603,7 @@ const re = {
|
|
|
603
603
|
* @param path 路由地址
|
|
604
604
|
*/
|
|
605
605
|
excludeComponent(e) {
|
|
606
|
-
this.ExcludeComponents.includes(e) || this.ExcludeComponents.push(e), this.CachedComponents.splice(this.CachedComponents.indexOf(e), 1),
|
|
606
|
+
this.ExcludeComponents.includes(e) || this.ExcludeComponents.push(e), this.CachedComponents.splice(this.CachedComponents.indexOf(e), 1), _e.delete(e);
|
|
607
607
|
},
|
|
608
608
|
/**
|
|
609
609
|
* 路由路径层级查询,返回面包屑
|
|
@@ -623,8 +623,8 @@ const re = {
|
|
|
623
623
|
AppCode: "",
|
|
624
624
|
Version: "",
|
|
625
625
|
Host: "",
|
|
626
|
-
Source:
|
|
627
|
-
Action:
|
|
626
|
+
Source: Ce.Manual,
|
|
627
|
+
Action: ze.App,
|
|
628
628
|
Path: "",
|
|
629
629
|
Icon: "",
|
|
630
630
|
Routes: [],
|
|
@@ -638,7 +638,7 @@ const re = {
|
|
|
638
638
|
}
|
|
639
639
|
},
|
|
640
640
|
persist: !1
|
|
641
|
-
}),
|
|
641
|
+
}), qt = "Token解析失败", Oe = 1400, Qe = {
|
|
642
642
|
login: {
|
|
643
643
|
api: "PLATFORM_API",
|
|
644
644
|
url: "/openapi/LoginSrv/login",
|
|
@@ -656,41 +656,41 @@ const re = {
|
|
|
656
656
|
url: "/api/LoginSrv/logout",
|
|
657
657
|
loadingText: "正在退出..."
|
|
658
658
|
}
|
|
659
|
-
},
|
|
659
|
+
}, Gt = (e) => {
|
|
660
660
|
let a = {
|
|
661
661
|
Option: {
|
|
662
662
|
Mode: "MicroApp"
|
|
663
663
|
},
|
|
664
664
|
Query: e
|
|
665
665
|
};
|
|
666
|
-
return
|
|
666
|
+
return j(Qe.login, a).then((t) => (t == null ? void 0 : t.status) === T.SUCCESS ? t : null);
|
|
667
667
|
}, jt = (e) => {
|
|
668
668
|
let a = {
|
|
669
669
|
Query: {
|
|
670
670
|
AppId: e
|
|
671
671
|
}
|
|
672
672
|
};
|
|
673
|
-
return
|
|
673
|
+
return j(Qe.auth, a).then((t) => {
|
|
674
674
|
if ((t == null ? void 0 : t.status) === T.SUCCESS)
|
|
675
675
|
return t.data;
|
|
676
|
-
if ((t == null ? void 0 : t.errno) ==
|
|
676
|
+
if ((t == null ? void 0 : t.errno) == Oe) {
|
|
677
677
|
_().logout(!1);
|
|
678
678
|
return;
|
|
679
679
|
}
|
|
680
680
|
return E.error("获取授权信息失败," + (t == null ? void 0 : t.msg)), null;
|
|
681
681
|
});
|
|
682
|
-
},
|
|
682
|
+
}, Bt = () => {
|
|
683
683
|
let e = {
|
|
684
684
|
Option: {},
|
|
685
685
|
Query: {}
|
|
686
686
|
};
|
|
687
|
-
return
|
|
688
|
-
},
|
|
687
|
+
return j(Qe.logout, e).then((a) => (a == null ? void 0 : a.status) === T.SUCCESS ? a.data : null);
|
|
688
|
+
}, Wt = (e) => {
|
|
689
689
|
try {
|
|
690
690
|
const a = JSON.parse(atob(e.token.split(".")[1]));
|
|
691
691
|
return a.user = JSON.parse(a.user), e.UserInfo = a.user, !0;
|
|
692
692
|
} catch (a) {
|
|
693
|
-
return console.error(
|
|
693
|
+
return console.error(qt, a), !1;
|
|
694
694
|
}
|
|
695
695
|
}, M = c(""), te = c(null), _ = ce("userInfo", {
|
|
696
696
|
state: () => ({
|
|
@@ -718,14 +718,14 @@ const re = {
|
|
|
718
718
|
* @returns
|
|
719
719
|
*/
|
|
720
720
|
async login(e, a) {
|
|
721
|
-
const t = await
|
|
721
|
+
const t = await Gt(e);
|
|
722
722
|
if (t) {
|
|
723
723
|
const s = t;
|
|
724
724
|
if (s.errno)
|
|
725
725
|
return s;
|
|
726
726
|
{
|
|
727
727
|
const n = t.data;
|
|
728
|
-
if (this.token = n.token, ve(this.token), this.isLogin = !0,
|
|
728
|
+
if (this.token = n.token, ve(this.token), this.isLogin = !0, Wt(n))
|
|
729
729
|
this.userInfo = {
|
|
730
730
|
...this.userInfo,
|
|
731
731
|
...n.UserInfo
|
|
@@ -844,7 +844,7 @@ const re = {
|
|
|
844
844
|
if (V())
|
|
845
845
|
return re.userLogout(), Promise.resolve();
|
|
846
846
|
try {
|
|
847
|
-
e && await
|
|
847
|
+
e && await Bt();
|
|
848
848
|
} catch (a) {
|
|
849
849
|
console.error("调用登出接口失败", a);
|
|
850
850
|
} finally {
|
|
@@ -866,7 +866,7 @@ const re = {
|
|
|
866
866
|
e.store.init();
|
|
867
867
|
}
|
|
868
868
|
}
|
|
869
|
-
}),
|
|
869
|
+
}), Te = (e, a) => {
|
|
870
870
|
var n;
|
|
871
871
|
const t = e.page;
|
|
872
872
|
return {
|
|
@@ -876,7 +876,7 @@ const re = {
|
|
|
876
876
|
...a.url,
|
|
877
877
|
loadingText: a.loadingText
|
|
878
878
|
};
|
|
879
|
-
},
|
|
879
|
+
}, Pe = (e, a) => {
|
|
880
880
|
const t = e.page, s = a.url;
|
|
881
881
|
if (!s || !s.url) {
|
|
882
882
|
const o = `URL未设置: ${a.urlKey}`;
|
|
@@ -887,12 +887,12 @@ const re = {
|
|
|
887
887
|
JSON.parse(JSON.stringify(s.params ?? {})),
|
|
888
888
|
JSON.parse(JSON.stringify(a.params ?? {}))
|
|
889
889
|
);
|
|
890
|
-
return a.processParams && (n = a.processParams(n)), a.loadingState && (a.loadingState.value = !0), a.hideErrorToast && (s.hideErrorToast = !0),
|
|
891
|
-
},
|
|
890
|
+
return a.processParams && (n = a.processParams(n)), a.loadingState && (a.loadingState.value = !0), a.hideErrorToast && (s.hideErrorToast = !0), j(s, n).then((o) => (a.loadingState && (a.loadingState.value = !1), (o == null ? void 0 : o.errno) == Oe ? (_().logout(!1), null) : o)).catch((o) => (a.loadingState && (a.loadingState.value = !1), null));
|
|
891
|
+
}, Je = (e, a) => {
|
|
892
892
|
a.params || (a.params = {}), a.params.Query || (a.params.Query = {});
|
|
893
|
-
const t =
|
|
894
|
-
return a.url = t,
|
|
895
|
-
},
|
|
893
|
+
const t = Te(e, a);
|
|
894
|
+
return a.url = t, Pe(e, a);
|
|
895
|
+
}, _a = (e, a) => (a.params || (a.params = {}), a.params.Query || (a.params.Query = {}), a.loadingText = a.loadingText === !1 ? !1 : a.loadingText || "开始执行...", a.url = Te(e, a), Pe(e, a).then((t) => ((t == null ? void 0 : t.status) === T.SUCCESS && (a.hideErrorToast || E.success("执行成功!")), t))), rt = (e, a = {}) => {
|
|
896
896
|
const t = a.primaryKey || "Id";
|
|
897
897
|
if (a.params || (a.params = {}), a.params.Query || (a.params.Query = {}), !a.params.Data)
|
|
898
898
|
return E.error("错误!无保存数据!"), Promise.resolve(null);
|
|
@@ -902,9 +902,9 @@ const re = {
|
|
|
902
902
|
loadingText: a.loadingText === !1 ? !1 : a.loadingText || "数据保存中..."
|
|
903
903
|
};
|
|
904
904
|
s.params.Query[t] = s.params.Data[t];
|
|
905
|
-
const n =
|
|
906
|
-
return s.url = n,
|
|
907
|
-
},
|
|
905
|
+
const n = Te(e, s);
|
|
906
|
+
return s.url = n, Pe(e, s).then((o) => ((o == null ? void 0 : o.status) === T.SUCCESS && (a.hideErrorToast || E.success("保存成功!")), o));
|
|
907
|
+
}, zt = (e, a, t = {}) => {
|
|
908
908
|
const s = t.primaryKey || "Id";
|
|
909
909
|
t.params || (t.params = {}), t.params.Query || (t.params.Query = {});
|
|
910
910
|
const n = {
|
|
@@ -914,27 +914,27 @@ const re = {
|
|
|
914
914
|
};
|
|
915
915
|
if (Array.isArray(a) ? n.params.Query[s] = a : n.params.Query[s] = a[s], F(n.params.Query) || F(n.params.Query[s]))
|
|
916
916
|
return E.error("错误!禁止无条件删除数据!"), Promise.resolve(null);
|
|
917
|
-
const o =
|
|
918
|
-
return n.url = o,
|
|
919
|
-
},
|
|
917
|
+
const o = Te(e, n);
|
|
918
|
+
return n.url = o, Pe(e, n).then((r) => ((r == null ? void 0 : r.status) === T.SUCCESS && (t.hideErrorToast || E.success("删除成功!")), r));
|
|
919
|
+
}, Ct = (e, a) => Je(e, {
|
|
920
920
|
urlKey: "tree",
|
|
921
921
|
params: {},
|
|
922
922
|
loadingState: e.isTreeLoading,
|
|
923
923
|
loadingText: !1,
|
|
924
924
|
processParams: () => fe(e.treeQuery, a)
|
|
925
|
-
}).then((t) => (t == null ? void 0 : t.status) === T.SUCCESS ? (e.data.value = t.data || [], e.afterLoad && e.afterLoad(e.data.value), e.data.value) : (e.afterLoad && e.afterLoad((t == null ? void 0 : t.data) || []), [])),
|
|
925
|
+
}).then((t) => (t == null ? void 0 : t.status) === T.SUCCESS ? (e.data.value = t.data || [], e.afterLoad && e.afterLoad(e.data.value), e.data.value) : (e.afterLoad && e.afterLoad((t == null ? void 0 : t.data) || []), [])), Yt = (e, a) => {
|
|
926
926
|
for (const t of e) {
|
|
927
927
|
if (t.key === a) return t;
|
|
928
928
|
if (t.children) {
|
|
929
|
-
const s =
|
|
929
|
+
const s = Yt(t.children, a);
|
|
930
930
|
if (s) return s;
|
|
931
931
|
}
|
|
932
932
|
}
|
|
933
933
|
return null;
|
|
934
934
|
};
|
|
935
935
|
let ie;
|
|
936
|
-
const
|
|
937
|
-
ie = new
|
|
936
|
+
const Na = (e) => {
|
|
937
|
+
ie = new Ve({}), ie.messages({
|
|
938
938
|
required: "${label}不能为空",
|
|
939
939
|
types: {
|
|
940
940
|
number: "${label}必须是数字"
|
|
@@ -960,7 +960,7 @@ const Fa = (e) => {
|
|
|
960
960
|
},
|
|
961
961
|
...e
|
|
962
962
|
});
|
|
963
|
-
},
|
|
963
|
+
}, Da = (e) => {
|
|
964
964
|
if (!e || F(e))
|
|
965
965
|
return [];
|
|
966
966
|
const a = [], t = ie.messages(), s = (o, r, l) => {
|
|
@@ -1016,10 +1016,10 @@ const Fa = (e) => {
|
|
|
1016
1016
|
}), a;
|
|
1017
1017
|
}, de = async (e) => {
|
|
1018
1018
|
const a = e.formData.value, t = e.formRules.value;
|
|
1019
|
-
F(t) || (
|
|
1019
|
+
F(t) || (qe(e), e.ruleValidator || (e.ruleValidator = new Ve({}), e.ruleValidator.messages(ie.messages()), e.ruleValidator.define(t)), e.ruleResults.value = await e.ruleValidator.validate(a).then(() => {
|
|
1020
1020
|
}).catch(({ fields: s }) => s));
|
|
1021
|
-
},
|
|
1022
|
-
}).catch(({ fields: s }) => s)),
|
|
1021
|
+
}, Ua = async (e, a, t) => (t || (t = new Ve({}), t.messages(ie.messages()), t.define(a)), t.validate(e).then(() => {
|
|
1022
|
+
}).catch(({ fields: s }) => s)), qe = (e) => {
|
|
1023
1023
|
e.ruleResults.value = void 0;
|
|
1024
1024
|
}, X = () => {
|
|
1025
1025
|
const e = se(U.EditorControl, void 0), a = c(se(U.LabelText, "")), t = c(se(U.RuleKey, "")), s = se(U.ErrInfo, void 0);
|
|
@@ -1029,7 +1029,7 @@ const Fa = (e) => {
|
|
|
1029
1029
|
ruleKey: t,
|
|
1030
1030
|
errInfo: s
|
|
1031
1031
|
};
|
|
1032
|
-
},
|
|
1032
|
+
}, Xt = (e, a) => {
|
|
1033
1033
|
let t = c({
|
|
1034
1034
|
msg: "",
|
|
1035
1035
|
errClass: ""
|
|
@@ -1041,20 +1041,20 @@ const Fa = (e) => {
|
|
|
1041
1041
|
() => s == null ? void 0 : s.value,
|
|
1042
1042
|
(n) => {
|
|
1043
1043
|
if (t.value.errClass = "", t.value.msg = "", !F(n)) {
|
|
1044
|
-
const o =
|
|
1044
|
+
const o = Zt(
|
|
1045
1045
|
{
|
|
1046
1046
|
label: e.label,
|
|
1047
1047
|
rule: e.rule
|
|
1048
1048
|
},
|
|
1049
1049
|
a == null ? void 0 : a.formRules.value,
|
|
1050
|
-
|
|
1050
|
+
et(n)
|
|
1051
1051
|
);
|
|
1052
1052
|
t.value.errClass = o.errClass.value, t.value.msg = o.msg.value;
|
|
1053
1053
|
}
|
|
1054
1054
|
},
|
|
1055
1055
|
{ deep: !0 }
|
|
1056
1056
|
), t;
|
|
1057
|
-
},
|
|
1057
|
+
}, Zt = (e, a, t) => {
|
|
1058
1058
|
const s = c([]), n = c(""), o = c("");
|
|
1059
1059
|
if (!e.rule || !a || !t)
|
|
1060
1060
|
return { msg: n, ruleErrors: s, errClass: o };
|
|
@@ -1081,26 +1081,34 @@ const Fa = (e) => {
|
|
|
1081
1081
|
});
|
|
1082
1082
|
}
|
|
1083
1083
|
}), s.value.length > 0 && (o.value = "error"), { msg: n, ruleErrors: s, errClass: o };
|
|
1084
|
-
},
|
|
1085
|
-
|
|
1086
|
-
const t =
|
|
1087
|
-
return
|
|
1088
|
-
},
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
const
|
|
1092
|
-
|
|
1084
|
+
}, Ha = (e, a) => {
|
|
1085
|
+
$e(U.LabelText, e.label || ""), $e(U.RuleKey, e.rule || "");
|
|
1086
|
+
const t = Xt(e, a);
|
|
1087
|
+
return $e(U.ErrInfo, t), t;
|
|
1088
|
+
}, ea = (e, a) => {
|
|
1089
|
+
if (!a)
|
|
1090
|
+
return;
|
|
1091
|
+
const [t, ...s] = e;
|
|
1092
|
+
if (e.length === 1)
|
|
1093
|
+
return a[t];
|
|
1094
|
+
if (a[t])
|
|
1095
|
+
return ea(s, a[t].fields);
|
|
1093
1096
|
}, Va = (e) => {
|
|
1094
|
-
|
|
1095
|
-
},
|
|
1097
|
+
ot(e);
|
|
1098
|
+
}, Ka = (e) => {
|
|
1099
|
+
const a = e.page, t = e.formData.value;
|
|
1100
|
+
t[e.primaryKey ?? a.primaryKey] = null, ot(e);
|
|
1101
|
+
}, Qa = (e) => {
|
|
1102
|
+
Ge(e), e.visible.value = !1;
|
|
1103
|
+
}, ot = async (e) => {
|
|
1096
1104
|
var s;
|
|
1097
1105
|
const a = e.page;
|
|
1098
|
-
if (e.isFormSaving.value = !0,
|
|
1106
|
+
if (e.isFormSaving.value = !0, qe(e), e.beforeSave && e.beforeSave() === !1)
|
|
1099
1107
|
return e.isFormSaving.value = !1, Promise.resolve();
|
|
1100
1108
|
if (e.formRules.value && await de(e), e.ruleResults.value)
|
|
1101
1109
|
return E.error("提交表单时,验证失败!"), console.error("表单验证失败!", e.ruleResults.value), e.isFormSaving.value = !1, Promise.resolve();
|
|
1102
1110
|
const t = e.formData.value;
|
|
1103
|
-
return
|
|
1111
|
+
return rt(
|
|
1104
1112
|
{
|
|
1105
1113
|
page: a,
|
|
1106
1114
|
// 转换为AnyControl接口
|
|
@@ -1143,27 +1151,27 @@ const Fa = (e) => {
|
|
|
1143
1151
|
} else
|
|
1144
1152
|
E.error((n == null ? void 0 : n.msg) ?? "保存失败!"), e.afterSave && e.afterSave(n);
|
|
1145
1153
|
});
|
|
1146
|
-
},
|
|
1154
|
+
}, Ja = async (e) => {
|
|
1147
1155
|
const a = e.page, t = e.grid;
|
|
1148
1156
|
e.isFormLoading.value = !0;
|
|
1149
1157
|
const s = e.formData.value, n = e.primaryKey ?? a.primaryKey;
|
|
1150
|
-
return
|
|
1151
|
-
e.isFormLoading.value = !1, o &&
|
|
1158
|
+
return ut(t, { [n]: s[n] }, e.detailUrl).then((o) => {
|
|
1159
|
+
e.isFormLoading.value = !1, o && it(e, o);
|
|
1152
1160
|
});
|
|
1153
|
-
},
|
|
1161
|
+
}, qa = (e) => {
|
|
1154
1162
|
const a = e.grid;
|
|
1155
|
-
a && (a.rowData.value = void 0), e && (
|
|
1163
|
+
a && (a.rowData.value = void 0), e && (Ge(e), e.visible && (e.visible.value = !1), setTimeout(() => {
|
|
1156
1164
|
e.visible.value = !0;
|
|
1157
1165
|
}, 1));
|
|
1158
|
-
},
|
|
1159
|
-
|
|
1166
|
+
}, it = (e, a) => {
|
|
1167
|
+
Ge(e);
|
|
1160
1168
|
const t = { ...e.formData.value, ...a };
|
|
1161
1169
|
e.formData.value = JSON.parse(JSON.stringify(t));
|
|
1162
|
-
},
|
|
1163
|
-
e.formData.value = e.default ? JSON.parse(JSON.stringify(e.default)) : {},
|
|
1164
|
-
},
|
|
1170
|
+
}, Ge = (e) => {
|
|
1171
|
+
e.formData.value = e.default ? JSON.parse(JSON.stringify(e.default)) : {}, qe(e);
|
|
1172
|
+
}, Ga = (e, a) => {
|
|
1165
1173
|
const t = _();
|
|
1166
|
-
return e.filter((n) => n.role && !t.hasRole(n.role) || n.permit && !t.hasPermit(
|
|
1174
|
+
return e.filter((n) => n.role && !t.hasRole(n.role) || n.permit && !t.hasPermit(Re.currentRoute.value.path, n.permit) || n.enabled === !1 ? !1 : typeof n.enabled == "function" ? n.enabled() : !0).filter((n) => {
|
|
1167
1175
|
if (!a) {
|
|
1168
1176
|
if (n.visible === !1)
|
|
1169
1177
|
return !1;
|
|
@@ -1172,7 +1180,7 @@ const Fa = (e) => {
|
|
|
1172
1180
|
}
|
|
1173
1181
|
return !0;
|
|
1174
1182
|
});
|
|
1175
|
-
},
|
|
1183
|
+
}, ja = (e, a) => {
|
|
1176
1184
|
const t = a == null ? void 0 : a.filter((s) => {
|
|
1177
1185
|
const n = e.find(
|
|
1178
1186
|
(o) => o.dataIndex === s.dataIndex || o.key === s.key || o.title === s.title
|
|
@@ -1180,10 +1188,10 @@ const Fa = (e) => {
|
|
|
1180
1188
|
return n ? { ...s, ...n } : !1;
|
|
1181
1189
|
});
|
|
1182
1190
|
return [...t || [], ...e.filter((s) => !(t != null && t.includes(s)))];
|
|
1183
|
-
},
|
|
1191
|
+
}, ta = (e) => lt(e).then((a) => a.rows), lt = (e) => {
|
|
1184
1192
|
e.gridQuery || (e.gridQuery = {});
|
|
1185
1193
|
const a = e.remotePage ? "find" : "list";
|
|
1186
|
-
return
|
|
1194
|
+
return Je(e, {
|
|
1187
1195
|
urlKey: a,
|
|
1188
1196
|
url: e.gridUrl,
|
|
1189
1197
|
params: e.gridQuery,
|
|
@@ -1208,7 +1216,7 @@ const Fa = (e) => {
|
|
|
1208
1216
|
rows: []
|
|
1209
1217
|
};
|
|
1210
1218
|
});
|
|
1211
|
-
},
|
|
1219
|
+
}, aa = (e, a, t = {}) => rt(e, {
|
|
1212
1220
|
urlKey: "update",
|
|
1213
1221
|
url: e.updateUrl,
|
|
1214
1222
|
params: {
|
|
@@ -1219,37 +1227,37 @@ const Fa = (e) => {
|
|
|
1219
1227
|
...t
|
|
1220
1228
|
}).then((s) => ((s == null ? void 0 : s.status) === T.SUCCESS && setTimeout(() => {
|
|
1221
1229
|
e.reload.value = !0, e.afterUpdate && e.afterUpdate(a);
|
|
1222
|
-
}, 50), s)),
|
|
1230
|
+
}, 50), s)), Ba = (e, a) => {
|
|
1223
1231
|
const t = {};
|
|
1224
|
-
return t[e.primaryKey] = a[e.primaryKey], t[e.statusKey] = a[e.statusKey],
|
|
1232
|
+
return t[e.primaryKey] = a[e.primaryKey], t[e.statusKey] = a[e.statusKey], aa(e, t, {
|
|
1225
1233
|
loadingText: !1,
|
|
1226
1234
|
hideErrorToast: !0
|
|
1227
1235
|
});
|
|
1228
|
-
},
|
|
1236
|
+
}, ut = async (e, a, t) => await Je(e, {
|
|
1229
1237
|
urlKey: "detail",
|
|
1230
1238
|
url: t,
|
|
1231
1239
|
params: a,
|
|
1232
1240
|
loadingState: e.isGridLoading
|
|
1233
|
-
}),
|
|
1241
|
+
}), Wa = (e, a) => {
|
|
1234
1242
|
const t = a;
|
|
1235
|
-
return
|
|
1236
|
-
},
|
|
1243
|
+
return ut(e, { [e.primaryKey]: t[e.primaryKey] }).then((s) => ((s == null ? void 0 : s.status) === T.SUCCESS && s.data && (e.expandRows.value[t[e.primaryKey]] = s), s));
|
|
1244
|
+
}, za = (e, a) => {
|
|
1237
1245
|
let t = e.editor;
|
|
1238
|
-
e.rowData.value = a, t && (
|
|
1239
|
-
},
|
|
1246
|
+
e.rowData.value = a, t && (it(t, a), t.visible.value = !0);
|
|
1247
|
+
}, Ca = (e, a) => zt(e, a, {
|
|
1240
1248
|
url: e.deleteUrl,
|
|
1241
1249
|
primaryKey: e.primaryKey
|
|
1242
1250
|
}).then((t) => ((t == null ? void 0 : t.status) === T.SUCCESS && setTimeout(() => {
|
|
1243
1251
|
e.reload.value = !0, e.afterDelete && !Array.isArray(a) && e.afterDelete(a);
|
|
1244
1252
|
}, 50), t));
|
|
1245
|
-
var
|
|
1246
|
-
class
|
|
1253
|
+
var De = /* @__PURE__ */ ((e) => (e.SelectReload = "Select.Reload", e.RadioReload = "Radio.Reload", e.CheckboxReload = "Checkbox.Reload", e.TreeSelectReload = "TreeSelect.Reload", e.TreeCheckReload = "TreeCheck.Reload", e))(De || {});
|
|
1254
|
+
class sa {
|
|
1247
1255
|
constructor() {
|
|
1248
1256
|
k(this, "listeners", {});
|
|
1249
1257
|
}
|
|
1250
1258
|
// 检查事件名是否符合前缀
|
|
1251
1259
|
isValidPrefix(a) {
|
|
1252
|
-
return Object.values(
|
|
1260
|
+
return Object.values(De).some((t) => a.startsWith(t + "."));
|
|
1253
1261
|
}
|
|
1254
1262
|
/**
|
|
1255
1263
|
* 事件订阅
|
|
@@ -1258,7 +1266,7 @@ class ta {
|
|
|
1258
1266
|
*/
|
|
1259
1267
|
on(a, t) {
|
|
1260
1268
|
if (!this.isValidPrefix(a)) {
|
|
1261
|
-
console.error(`事件前缀不正确: ${a}, 事件名必须以 ${Object.values(
|
|
1269
|
+
console.error(`事件前缀不正确: ${a}, 事件名必须以 ${Object.values(De).join(", ")} 开头`);
|
|
1262
1270
|
return;
|
|
1263
1271
|
}
|
|
1264
1272
|
this.listeners[a] || (this.listeners[a] = []), this.listeners[a].push(t);
|
|
@@ -1289,11 +1297,11 @@ class ta {
|
|
|
1289
1297
|
this.listeners[a] && this.listeners[a].forEach((s) => s(a, ...t));
|
|
1290
1298
|
}
|
|
1291
1299
|
}
|
|
1292
|
-
const W = new
|
|
1300
|
+
const W = new sa(), ee = (e, a, t) => {
|
|
1293
1301
|
if (a.inputFactory && (t != null && t.reloadEvent)) {
|
|
1294
1302
|
const s = a.inputFactory.value;
|
|
1295
1303
|
s.reloadHandler = (n, o) => {
|
|
1296
|
-
|
|
1304
|
+
na(a.url, a, o);
|
|
1297
1305
|
}, W.on(t.reloadEvent, s.reloadHandler);
|
|
1298
1306
|
}
|
|
1299
1307
|
if (t != null && t.data)
|
|
@@ -1305,7 +1313,7 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
1305
1313
|
{ deep: !0, immediate: !0 }
|
|
1306
1314
|
);
|
|
1307
1315
|
else if (a.url && a.url.url)
|
|
1308
|
-
e &&
|
|
1316
|
+
e && ct(a.url, a, a.params ?? {});
|
|
1309
1317
|
else {
|
|
1310
1318
|
const s = c(se(U.LabelText, ""));
|
|
1311
1319
|
E.error("`" + s.value + "` 未配置选项数据!", {
|
|
@@ -1317,23 +1325,23 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
1317
1325
|
const s = {
|
|
1318
1326
|
...e.fieldMap
|
|
1319
1327
|
};
|
|
1320
|
-
a =
|
|
1328
|
+
a = Mt(s, a);
|
|
1321
1329
|
}
|
|
1322
1330
|
a = JSON.parse(JSON.stringify(a ?? [])), e.all && a.unshift({
|
|
1323
1331
|
label: "全部",
|
|
1324
1332
|
value: e.allValue ?? void 0
|
|
1325
1333
|
}), e.options.value = a;
|
|
1326
|
-
},
|
|
1327
|
-
Array.isArray(t) ? je(a, t, !0) :
|
|
1334
|
+
}, na = (e, a, t) => {
|
|
1335
|
+
Array.isArray(t) ? je(a, t, !0) : ct(e, a, t);
|
|
1328
1336
|
}, he = (e, a) => {
|
|
1329
1337
|
var t;
|
|
1330
1338
|
(t = e.inputFactory) != null && t.value && a.reloadEvent && e.inputFactory.value.reloadHandler && W.off(a.reloadEvent, e.inputFactory.value.reloadHandler);
|
|
1331
|
-
},
|
|
1339
|
+
}, ct = (e, a, t) => {
|
|
1332
1340
|
const s = JSON.parse(JSON.stringify(e.params ?? {})), n = JSON.parse(JSON.stringify(a.params ?? {})), o = fe(s, n, t);
|
|
1333
|
-
|
|
1341
|
+
ra(e, a, a.fieldMap, o).then((r) => {
|
|
1334
1342
|
je(a, r, !1);
|
|
1335
1343
|
});
|
|
1336
|
-
},
|
|
1344
|
+
}, ra = (e, a, t, s) => {
|
|
1337
1345
|
const { fieldMap: n, ...o } = e, l = {
|
|
1338
1346
|
...{
|
|
1339
1347
|
url: "",
|
|
@@ -1345,11 +1353,11 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
1345
1353
|
},
|
|
1346
1354
|
...o
|
|
1347
1355
|
};
|
|
1348
|
-
return l.loadingText = !1, s || (s = {}), s.Query || (s.Query = {}), a.optionQuery = s, a.isOptionLoading.value = !0,
|
|
1356
|
+
return l.loadingText = !1, s || (s = {}), s.Query || (s.Query = {}), a.optionQuery = s, a.isOptionLoading.value = !0, j(l, s).then((u) => {
|
|
1349
1357
|
if ((u == null ? void 0 : u.status) === T.SUCCESS) {
|
|
1350
1358
|
if (u.data)
|
|
1351
1359
|
return u.data;
|
|
1352
|
-
} else if ((u == null ? void 0 : u.errno) ==
|
|
1360
|
+
} else if ((u == null ? void 0 : u.errno) == Oe) {
|
|
1353
1361
|
_().logout(!1);
|
|
1354
1362
|
return;
|
|
1355
1363
|
}
|
|
@@ -1357,7 +1365,7 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
1357
1365
|
}).finally(() => {
|
|
1358
1366
|
a.isOptionLoading.value = !1;
|
|
1359
1367
|
});
|
|
1360
|
-
},
|
|
1368
|
+
}, oa = (e, a, t) => {
|
|
1361
1369
|
if (e === void 0) return;
|
|
1362
1370
|
const s = (o) => {
|
|
1363
1371
|
const r = { ...o };
|
|
@@ -1377,7 +1385,7 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
1377
1385
|
const o = n([e], a);
|
|
1378
1386
|
return o.length > 0 ? o[0] : void 0;
|
|
1379
1387
|
}
|
|
1380
|
-
},
|
|
1388
|
+
}, ke = (e) => e === void 0 ? [] : Array.isArray(e) ? e.map((a) => a.label) : [e.label], ae = (e, a, t) => {
|
|
1381
1389
|
const s = a.split(".");
|
|
1382
1390
|
let n = e;
|
|
1383
1391
|
for (let o = 0; o < s.length - 1; o++) {
|
|
@@ -1385,7 +1393,7 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
1385
1393
|
n[r] || (n[r] = {}), n = n[r];
|
|
1386
1394
|
}
|
|
1387
1395
|
n[s[s.length - 1]] = t;
|
|
1388
|
-
},
|
|
1396
|
+
}, ft = (e, a, t) => {
|
|
1389
1397
|
if (t == null) {
|
|
1390
1398
|
Object.entries(a).forEach(([s]) => {
|
|
1391
1399
|
ae(e, s, t);
|
|
@@ -1398,7 +1406,7 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
1398
1406
|
try {
|
|
1399
1407
|
const l = parseInt(((r = n.match(/\$\{(\d+)\}/)) == null ? void 0 : r[1]) ?? "0"), u = t[l], i = n.replace(/\$\{\d+\}\./, "");
|
|
1400
1408
|
if (i && u) {
|
|
1401
|
-
const f =
|
|
1409
|
+
const f = be(i, u);
|
|
1402
1410
|
ae(e, s, f);
|
|
1403
1411
|
} else
|
|
1404
1412
|
ae(e, s, u);
|
|
@@ -1409,22 +1417,22 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
1409
1417
|
console.error("outFields 格式错误:" + n, "必须是 ${index} 或者 ${index}.${key}");
|
|
1410
1418
|
}) : Object.entries(a).forEach(([s, n]) => {
|
|
1411
1419
|
if (n.includes("${")) {
|
|
1412
|
-
const o =
|
|
1420
|
+
const o = be(n, t);
|
|
1413
1421
|
ae(e, s, o);
|
|
1414
1422
|
} else
|
|
1415
1423
|
ae(e, s, t[n]);
|
|
1416
1424
|
});
|
|
1417
|
-
},
|
|
1425
|
+
}, Le = (e, a, t) => {
|
|
1418
1426
|
var o, r;
|
|
1419
1427
|
const s = (o = e.inputFactory) == null ? void 0 : o.value;
|
|
1420
1428
|
s != null && s.editorCtrl && ((r = s.errInfo) != null && r.value.errClass) && de(s.editorCtrl), e.selected.value = t;
|
|
1421
|
-
const n =
|
|
1422
|
-
if (e.selectedOptions.value = n, a.formData && a.outFields &&
|
|
1429
|
+
const n = oa(t, e.options.value);
|
|
1430
|
+
if (e.selectedOptions.value = n, a.formData && a.outFields && ft(a.formData, a.outFields, n), a.changeEvent) {
|
|
1423
1431
|
const [l, u] = a.changeEvent;
|
|
1424
1432
|
if (u)
|
|
1425
1433
|
if (Array.isArray(l))
|
|
1426
1434
|
l.every((i) => {
|
|
1427
|
-
const f =
|
|
1435
|
+
const f = be(u, { selectedValues: t });
|
|
1428
1436
|
try {
|
|
1429
1437
|
const p = JSON.parse(f);
|
|
1430
1438
|
W.emit(i, p, t, n);
|
|
@@ -1433,7 +1441,7 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
1433
1441
|
}
|
|
1434
1442
|
});
|
|
1435
1443
|
else {
|
|
1436
|
-
const i =
|
|
1444
|
+
const i = be(u, { selectedValues: t });
|
|
1437
1445
|
try {
|
|
1438
1446
|
const f = JSON.parse(i);
|
|
1439
1447
|
W.emit(l, f, t, n);
|
|
@@ -1447,7 +1455,7 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
1447
1455
|
}) : W.emit(l, n, t);
|
|
1448
1456
|
}
|
|
1449
1457
|
return s != null && s.inputEmit && s.inputEmit("change", t, n), n;
|
|
1450
|
-
},
|
|
1458
|
+
}, S = {
|
|
1451
1459
|
PageOption: {
|
|
1452
1460
|
primaryKey: "Id",
|
|
1453
1461
|
statusKey: "Enabled"
|
|
@@ -1485,26 +1493,26 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
1485
1493
|
value: "Id"
|
|
1486
1494
|
}
|
|
1487
1495
|
}
|
|
1488
|
-
},
|
|
1489
|
-
|
|
1490
|
-
...
|
|
1496
|
+
}, Ya = (e) => {
|
|
1497
|
+
S.PageOption = {
|
|
1498
|
+
...S.PageOption,
|
|
1491
1499
|
...e.pageOption
|
|
1492
|
-
},
|
|
1493
|
-
...
|
|
1500
|
+
}, S.GridOption = {
|
|
1501
|
+
...S.GridOption,
|
|
1494
1502
|
...e.gridOption
|
|
1495
|
-
},
|
|
1496
|
-
...
|
|
1503
|
+
}, S.EditorOption = {
|
|
1504
|
+
...S.EditorOption,
|
|
1497
1505
|
...e.editorOptions
|
|
1498
|
-
},
|
|
1499
|
-
...
|
|
1506
|
+
}, S.TreeOption = {
|
|
1507
|
+
...S.TreeOption,
|
|
1500
1508
|
...e.treeOption
|
|
1501
1509
|
};
|
|
1502
|
-
},
|
|
1510
|
+
}, Me = (e) => {
|
|
1503
1511
|
for (let a in e.urls)
|
|
1504
1512
|
e.urls[a].api || (e.urls[a].api = e.api), e.urls[a].authorize === void 0 && (e.urls[a].authorize = e.authorize);
|
|
1505
|
-
},
|
|
1513
|
+
}, ia = (e, a, t, s) => (Me(e), {
|
|
1506
1514
|
editorCtrl: {
|
|
1507
|
-
...
|
|
1515
|
+
...S.EditorOption,
|
|
1508
1516
|
name: "",
|
|
1509
1517
|
default: t ? JSON.parse(JSON.stringify(t)) : void 0,
|
|
1510
1518
|
visible: c(!1),
|
|
@@ -1518,18 +1526,18 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
1518
1526
|
isFormSaving: c(!1),
|
|
1519
1527
|
isFormLoading: c(!1)
|
|
1520
1528
|
}
|
|
1521
|
-
}),
|
|
1522
|
-
|
|
1529
|
+
}), la = (e, a, t) => {
|
|
1530
|
+
Me(e);
|
|
1523
1531
|
const s = {
|
|
1524
|
-
...
|
|
1525
|
-
tableSize: c(
|
|
1526
|
-
selectable: c(
|
|
1527
|
-
searchBar: c(
|
|
1528
|
-
pageSize: c(
|
|
1529
|
-
rowExpand: c(
|
|
1530
|
-
buttons: c([...
|
|
1531
|
-
tools: [...
|
|
1532
|
-
operates: [...
|
|
1532
|
+
...S.GridOption,
|
|
1533
|
+
tableSize: c(S.GridOption.tableSize.value),
|
|
1534
|
+
selectable: c(S.GridOption.selectable.value),
|
|
1535
|
+
searchBar: c(S.GridOption.searchBar.value),
|
|
1536
|
+
pageSize: c(S.GridOption.pageSize.value),
|
|
1537
|
+
rowExpand: c(S.GridOption.rowExpand.value),
|
|
1538
|
+
buttons: c([...S.GridOption.buttons.value]),
|
|
1539
|
+
tools: [...S.GridOption.tools],
|
|
1540
|
+
operates: [...S.GridOption.operates],
|
|
1533
1541
|
columns: c(t || []),
|
|
1534
1542
|
reload: c(!1),
|
|
1535
1543
|
pageNo: c(1),
|
|
@@ -1552,15 +1560,15 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
1552
1560
|
(n) => {
|
|
1553
1561
|
n && (setTimeout(() => {
|
|
1554
1562
|
s.reload.value = !1;
|
|
1555
|
-
}, 1), s.remotePage ?
|
|
1563
|
+
}, 1), s.remotePage ? lt(s) : ta(s));
|
|
1556
1564
|
}
|
|
1557
1565
|
), {
|
|
1558
1566
|
gridCtrl: s
|
|
1559
1567
|
};
|
|
1560
|
-
},
|
|
1561
|
-
|
|
1568
|
+
}, Xa = (e, a) => {
|
|
1569
|
+
Me(e);
|
|
1562
1570
|
const t = {
|
|
1563
|
-
...
|
|
1571
|
+
...S.TreeOption,
|
|
1564
1572
|
reload: c(!1),
|
|
1565
1573
|
page: a,
|
|
1566
1574
|
node: c(void 0),
|
|
@@ -1573,14 +1581,14 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
1573
1581
|
(s) => {
|
|
1574
1582
|
s && (setTimeout(() => {
|
|
1575
1583
|
t.reload.value = !1;
|
|
1576
|
-
}, 1),
|
|
1584
|
+
}, 1), Ct(t));
|
|
1577
1585
|
}
|
|
1578
1586
|
), {
|
|
1579
1587
|
treeCtrl: t
|
|
1580
1588
|
};
|
|
1581
1589
|
}, me = (e, a) => {
|
|
1582
1590
|
const t = {
|
|
1583
|
-
...
|
|
1591
|
+
...S.OptionOption,
|
|
1584
1592
|
url: e,
|
|
1585
1593
|
reload: c(!1),
|
|
1586
1594
|
optionQuery: {},
|
|
@@ -1600,24 +1608,24 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
1600
1608
|
), {
|
|
1601
1609
|
optionCtrl: t
|
|
1602
1610
|
};
|
|
1603
|
-
},
|
|
1604
|
-
|
|
1611
|
+
}, Za = (e, a, t) => {
|
|
1612
|
+
Me(e);
|
|
1605
1613
|
const s = {
|
|
1606
|
-
...
|
|
1614
|
+
...S.PageOption,
|
|
1607
1615
|
...e
|
|
1608
|
-
}, { editorCtrl: n } =
|
|
1616
|
+
}, { editorCtrl: n } = ia(e, s, a, t), { gridCtrl: o } = la(e, s);
|
|
1609
1617
|
return s.editor = n, s.grid = o, o.editor = n, o.tools = ["Reload", "RowHeight", "TableHeadset", "Fullscreen"], n.grid = o, {
|
|
1610
1618
|
pageCtrl: s,
|
|
1611
1619
|
editorCtrl: n,
|
|
1612
1620
|
gridCtrl: o
|
|
1613
1621
|
};
|
|
1614
|
-
},
|
|
1622
|
+
}, ua = 7 * 24 * 60 * 60 * 1e3, Ne = /* @__PURE__ */ new Map(), Xe = /* @__PURE__ */ new Set(), G = c({}), es = G, ts = (e) => {
|
|
1615
1623
|
var n;
|
|
1616
|
-
if (!e.iconUrl) return
|
|
1624
|
+
if (!e.iconUrl) return Ue;
|
|
1617
1625
|
const a = c(!0), t = c("");
|
|
1618
1626
|
let s = !0;
|
|
1619
|
-
return (n = e.icons) != null && n.length && (s = e.icons.every((o) =>
|
|
1620
|
-
|
|
1627
|
+
return (n = e.icons) != null && n.length && (s = e.icons.every((o) => G.value[o] !== void 0)), (e.icon && !G.value[e.icon] || !s) && ca(e, a).then(() => {
|
|
1628
|
+
da(e.iconUrl, e.monoColor || !1), a.value = !0;
|
|
1621
1629
|
}), Z({
|
|
1622
1630
|
props: {
|
|
1623
1631
|
icon: {
|
|
@@ -1661,7 +1669,7 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
1661
1669
|
},
|
|
1662
1670
|
{ immediate: !0 }
|
|
1663
1671
|
), g(
|
|
1664
|
-
() =>
|
|
1672
|
+
() => G.value,
|
|
1665
1673
|
() => {
|
|
1666
1674
|
ge(t, l, l.value);
|
|
1667
1675
|
},
|
|
@@ -1675,36 +1683,36 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
1675
1683
|
},
|
|
1676
1684
|
render() {
|
|
1677
1685
|
if (!a.value)
|
|
1678
|
-
return
|
|
1686
|
+
return Ue;
|
|
1679
1687
|
let o = this.class, r = "";
|
|
1680
1688
|
Array.isArray(o) ? r = o.join(" ") : typeof o == "string" && (r = o);
|
|
1681
1689
|
let l = [r];
|
|
1682
|
-
return !/\bw-/.test(r) && !/$w-/.test(r) && l.push("w-4"), !/\bh-/.test(r) && !/$h-/.test(r) && l.push("h-4"), t.value ? H(
|
|
1690
|
+
return !/\bw-/.test(r) && !/$w-/.test(r) && l.push("w-4"), !/\bh-/.test(r) && !/$h-/.test(r) && l.push("h-4"), t.value ? H(et(t.value), {
|
|
1683
1691
|
onClick: this.$props.clickable ? this.handleClick : void 0,
|
|
1684
1692
|
class: `${l.join(" ")}`,
|
|
1685
1693
|
style: {
|
|
1686
1694
|
fill: "currentColor",
|
|
1687
1695
|
cursor: this.$props.clickable ? "pointer" : "default",
|
|
1688
|
-
transform:
|
|
1696
|
+
transform: ma(this.angle, this.flip)
|
|
1689
1697
|
}
|
|
1690
1698
|
}) : H("div", { class: "w-[14px] h-[14px]" });
|
|
1691
1699
|
}
|
|
1692
1700
|
});
|
|
1693
|
-
},
|
|
1701
|
+
}, ca = (e, a) => {
|
|
1694
1702
|
let t = e.iconUrl;
|
|
1695
1703
|
if (!t)
|
|
1696
1704
|
return console.error("图标库地址不能为空"), Promise.resolve();
|
|
1697
|
-
if (
|
|
1705
|
+
if (Ne.has(t))
|
|
1698
1706
|
return Promise.resolve();
|
|
1699
|
-
const s =
|
|
1707
|
+
const s = dt(t);
|
|
1700
1708
|
if (s)
|
|
1701
|
-
return new Promise(async (o) => (
|
|
1709
|
+
return new Promise(async (o) => (pt(s.scriptContent), o()));
|
|
1702
1710
|
a.value = !1;
|
|
1703
1711
|
const n = new Promise(async (o) => {
|
|
1704
|
-
await
|
|
1712
|
+
await fa(t, e.monoColor || !1), o(), Ne.delete(t);
|
|
1705
1713
|
});
|
|
1706
|
-
return
|
|
1707
|
-
},
|
|
1714
|
+
return Ne.set(t, n), n;
|
|
1715
|
+
}, fa = async (e, a) => {
|
|
1708
1716
|
try {
|
|
1709
1717
|
const t = await fetch(e);
|
|
1710
1718
|
if (!t.ok) {
|
|
@@ -1717,27 +1725,27 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
1717
1725
|
const o = s.match(n);
|
|
1718
1726
|
if (o && o.length > 1) {
|
|
1719
1727
|
let r = o[1];
|
|
1720
|
-
|
|
1728
|
+
pa(e, r, a, s);
|
|
1721
1729
|
}
|
|
1722
|
-
|
|
1730
|
+
pt(s);
|
|
1723
1731
|
return;
|
|
1724
1732
|
} catch (t) {
|
|
1725
1733
|
return console.error("网络异常,无法加载图标库:", t), null;
|
|
1726
1734
|
}
|
|
1727
|
-
},
|
|
1735
|
+
}, pt = (e) => {
|
|
1728
1736
|
const a = document.createElement("script");
|
|
1729
1737
|
a.textContent = e, document.head.appendChild(a);
|
|
1730
|
-
},
|
|
1738
|
+
}, pa = (e, a, t, s) => {
|
|
1731
1739
|
let n = `icon_cache:${e}`;
|
|
1732
1740
|
const o = {
|
|
1733
1741
|
windowKey: a,
|
|
1734
1742
|
monoColor: t,
|
|
1735
1743
|
scriptContent: s,
|
|
1736
|
-
expireTime: Date.now() +
|
|
1744
|
+
expireTime: Date.now() + ua
|
|
1737
1745
|
// 缓存时间:7天
|
|
1738
1746
|
};
|
|
1739
1747
|
localStorage.setItem(n, JSON.stringify(o));
|
|
1740
|
-
},
|
|
1748
|
+
}, dt = (e) => {
|
|
1741
1749
|
let a = `icon_cache:${e}`;
|
|
1742
1750
|
const t = localStorage.getItem(a);
|
|
1743
1751
|
if (!t) return null;
|
|
@@ -1748,7 +1756,7 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
1748
1756
|
return console.error("解析缓存失败:", n), null;
|
|
1749
1757
|
}
|
|
1750
1758
|
return s.expireTime < Date.now() ? (localStorage.removeItem(e), null) : s;
|
|
1751
|
-
},
|
|
1759
|
+
}, as = () => {
|
|
1752
1760
|
const e = Date.now();
|
|
1753
1761
|
for (const a in localStorage)
|
|
1754
1762
|
if (a.startsWith("icon_cache:")) {
|
|
@@ -1757,9 +1765,9 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
1757
1765
|
}
|
|
1758
1766
|
}, ge = (e, a, t) => {
|
|
1759
1767
|
setTimeout(() => {
|
|
1760
|
-
a.value = t, a.value && (e.value =
|
|
1768
|
+
a.value = t, a.value && (e.value = G.value[a.value]);
|
|
1761
1769
|
}, 1);
|
|
1762
|
-
},
|
|
1770
|
+
}, Ue = H(
|
|
1763
1771
|
"svg",
|
|
1764
1772
|
{ class: "w-4 h-4", viewBox: "0 0 50 50", style: { animation: "rotate 2s linear infinite" } },
|
|
1765
1773
|
[
|
|
@@ -1779,25 +1787,25 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
1779
1787
|
fill: "currentColor"
|
|
1780
1788
|
})
|
|
1781
1789
|
]
|
|
1782
|
-
),
|
|
1783
|
-
const t =
|
|
1790
|
+
), da = (e, a) => {
|
|
1791
|
+
const t = dt(e);
|
|
1784
1792
|
Object.keys(window).forEach((s) => {
|
|
1785
|
-
s.startsWith("_iconfont_svg_string_") && (t == null ? void 0 : t.windowKey) === s && !
|
|
1793
|
+
s.startsWith("_iconfont_svg_string_") && (t == null ? void 0 : t.windowKey) === s && !Xe.has(s) && (Xe.add(s), ha(s, a));
|
|
1786
1794
|
});
|
|
1787
|
-
},
|
|
1795
|
+
}, ha = (e, a) => {
|
|
1788
1796
|
const t = window[e], o = new DOMParser().parseFromString(t, "image/svg+xml").getElementsByTagName("symbol"), r = document.querySelectorAll("symbol");
|
|
1789
1797
|
for (const l of o) {
|
|
1790
1798
|
const u = l.id, i = Array.from(r).find((f) => f.id === u);
|
|
1791
1799
|
i && a && (i.innerHTML = l.innerHTML, i.querySelectorAll("*").forEach((f) => {
|
|
1792
1800
|
f.hasAttribute("fill") && f.removeAttribute("fill");
|
|
1793
|
-
})),
|
|
1801
|
+
})), G.value[u] || (G.value[u] = H("svg", { fill: "currentColor" }, [H("use", { "xlink:href": `#${u}` })]));
|
|
1794
1802
|
}
|
|
1795
|
-
},
|
|
1803
|
+
}, ma = (e, a) => {
|
|
1796
1804
|
let t = "";
|
|
1797
1805
|
return e && (t += `rotate(${e}deg)`), a && (t += " scaleX(-1)"), t;
|
|
1798
|
-
},
|
|
1799
|
-
|
|
1800
|
-
},
|
|
1806
|
+
}, ss = (e, a, t, s) => {
|
|
1807
|
+
ht(e, [], t, s).forEach((o) => a.push(o));
|
|
1808
|
+
}, ht = (e, a, t, s) => {
|
|
1801
1809
|
var r, l, u, i, f;
|
|
1802
1810
|
const n = [], o = _();
|
|
1803
1811
|
for (const p of e) {
|
|
@@ -1805,7 +1813,7 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
1805
1813
|
continue;
|
|
1806
1814
|
const v = p.path.split("/");
|
|
1807
1815
|
v.unshift(...a);
|
|
1808
|
-
const d =
|
|
1816
|
+
const d = ht(p.children || [], v, t, s), R = {
|
|
1809
1817
|
key: v.join("/"),
|
|
1810
1818
|
label: ((i = p.name) == null ? void 0 : i.toString()) ?? "",
|
|
1811
1819
|
title: ((f = p.name) == null ? void 0 : f.toString()) ?? "",
|
|
@@ -1815,10 +1823,10 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
1815
1823
|
(d.length > 0 || !p.children) && n.push(R);
|
|
1816
1824
|
}
|
|
1817
1825
|
return n;
|
|
1818
|
-
},
|
|
1819
|
-
|
|
1826
|
+
}, Ze = yt([]), ns = () => {
|
|
1827
|
+
Ze.length = 0;
|
|
1820
1828
|
const e = K();
|
|
1821
|
-
let t =
|
|
1829
|
+
let t = Ke().TabActive;
|
|
1822
1830
|
e.matchedRoutes(t).forEach((n, o) => {
|
|
1823
1831
|
var l;
|
|
1824
1832
|
const r = {
|
|
@@ -1826,9 +1834,9 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
1826
1834
|
path: n.path,
|
|
1827
1835
|
breadcrumbName: ((l = n.name) == null ? void 0 : l.toString()) ?? ""
|
|
1828
1836
|
};
|
|
1829
|
-
|
|
1837
|
+
Ze.push(r);
|
|
1830
1838
|
});
|
|
1831
|
-
},
|
|
1839
|
+
}, va = {
|
|
1832
1840
|
host: {
|
|
1833
1841
|
api: "SITEHOST_API",
|
|
1834
1842
|
url: "/openapi/RCSiteHostSrv/get",
|
|
@@ -1840,7 +1848,7 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
1840
1848
|
// 不显示错误
|
|
1841
1849
|
hideErrorToast: !0
|
|
1842
1850
|
}
|
|
1843
|
-
},
|
|
1851
|
+
}, rs = ce("hostInfo", {
|
|
1844
1852
|
state: () => ({
|
|
1845
1853
|
hostInfo: {
|
|
1846
1854
|
Host: "",
|
|
@@ -1871,9 +1879,9 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
1871
1879
|
}
|
|
1872
1880
|
let t = (e || this.getSiteHostApi()).trim();
|
|
1873
1881
|
return (!t || t === "/") && (t = window.location.origin), t.endsWith("/") && (t = t.slice(0, -1)), new Promise((s) => {
|
|
1874
|
-
|
|
1882
|
+
Fe.SITEHOST_API || (Fe.SITEHOST_API = t);
|
|
1875
1883
|
const n = a || window.location.origin;
|
|
1876
|
-
|
|
1884
|
+
j(va.host, {
|
|
1877
1885
|
Query: {
|
|
1878
1886
|
Host: n
|
|
1879
1887
|
}
|
|
@@ -1911,12 +1919,12 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
1911
1919
|
}, this.hostInfo.API_HOST)
|
|
1912
1920
|
for (const a in this.hostInfo.API_HOST) {
|
|
1913
1921
|
let t = this.hostInfo.API_HOST[a];
|
|
1914
|
-
t = t.startsWith("http://") || t.startsWith("https://") || t.startsWith("//") ? t : window.location.origin + t, t.endsWith("/") && (t = t.slice(0, -1)), this.hostInfo.API_HOST[a] = t,
|
|
1922
|
+
t = t.startsWith("http://") || t.startsWith("https://") || t.startsWith("//") ? t : window.location.origin + t, t.endsWith("/") && (t = t.slice(0, -1)), this.hostInfo.API_HOST[a] = t, Fe[a] = t;
|
|
1915
1923
|
}
|
|
1916
1924
|
if (this.hostInfo.SERVER_HOST)
|
|
1917
1925
|
for (const a in this.hostInfo.SERVER_HOST) {
|
|
1918
1926
|
let t = this.hostInfo.SERVER_HOST[a];
|
|
1919
|
-
t = t.startsWith("http://") || t.startsWith("https://") || t.startsWith("//") ? t : window.location.origin + t, t.endsWith("/") && (t = t.slice(0, -1)), this.hostInfo.SERVER_HOST[a] = t,
|
|
1927
|
+
t = t.startsWith("http://") || t.startsWith("https://") || t.startsWith("//") ? t : window.location.origin + t, t.endsWith("/") && (t = t.slice(0, -1)), this.hostInfo.SERVER_HOST[a] = t, $t[a] = t;
|
|
1920
1928
|
}
|
|
1921
1929
|
},
|
|
1922
1930
|
getHostInfo() {
|
|
@@ -1930,7 +1938,7 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
1930
1938
|
// storage: localStorage,
|
|
1931
1939
|
// pick: ['hostInfo'],
|
|
1932
1940
|
// },
|
|
1933
|
-
}),
|
|
1941
|
+
}), os = ce("settingInfo", {
|
|
1934
1942
|
state: () => ({
|
|
1935
1943
|
fullscreen: !1,
|
|
1936
1944
|
menuCollapse: !1,
|
|
@@ -1972,7 +1980,7 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
1972
1980
|
}
|
|
1973
1981
|
},
|
|
1974
1982
|
persist: !1
|
|
1975
|
-
}),
|
|
1983
|
+
}), is = /* @__PURE__ */ Z({
|
|
1976
1984
|
__name: "index",
|
|
1977
1985
|
props: {
|
|
1978
1986
|
...pe,
|
|
@@ -2009,10 +2017,10 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
2009
2017
|
o && he(o, t);
|
|
2010
2018
|
}), (p, v) => {
|
|
2011
2019
|
var d;
|
|
2012
|
-
return r.value.length === 2 ? (w(), Ae(
|
|
2020
|
+
return r.value.length === 2 ? (w(), Ae(b(bt), ue({
|
|
2013
2021
|
key: 0,
|
|
2014
2022
|
class: [
|
|
2015
|
-
((d =
|
|
2023
|
+
((d = b(i)) == null ? void 0 : d.errClass) === "error" ? "error !border-red-300 shadow-[0_0_3px_0px_#ff4d4f]" : "",
|
|
2016
2024
|
"bg-blue-300",
|
|
2017
2025
|
"w-[58px]"
|
|
2018
2026
|
],
|
|
@@ -2024,7 +2032,7 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
2024
2032
|
}, p.$attrs), null, 16, ["class", "checkedChildren", "checkedValue", "unCheckedChildren", "unCheckedValue"])) : z("", !0);
|
|
2025
2033
|
};
|
|
2026
2034
|
}
|
|
2027
|
-
}),
|
|
2035
|
+
}), ls = /* @__PURE__ */ Z({
|
|
2028
2036
|
inheritAttrs: !1,
|
|
2029
2037
|
__name: "index",
|
|
2030
2038
|
props: {
|
|
@@ -2061,7 +2069,7 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
2061
2069
|
), g(
|
|
2062
2070
|
() => l.value,
|
|
2063
2071
|
(y) => {
|
|
2064
|
-
t.autoClean && t.formData && t.outFields && y !== t.value &&
|
|
2072
|
+
t.autoClean && t.formData && t.outFields && y !== t.value && ft(t.formData, t.outFields, null);
|
|
2065
2073
|
}
|
|
2066
2074
|
);
|
|
2067
2075
|
const { editorCtrl: u, errInfo: i, labelText: f } = n, p = a;
|
|
@@ -2083,31 +2091,33 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
2083
2091
|
};
|
|
2084
2092
|
r.params = fe(r.params, h), r && ee(!0, r, t);
|
|
2085
2093
|
}, R = (y) => {
|
|
2086
|
-
const x =
|
|
2094
|
+
const x = Le(r, t, y);
|
|
2087
2095
|
p("update:value", y), p("select", y);
|
|
2088
|
-
const h =
|
|
2096
|
+
const h = ke(x);
|
|
2089
2097
|
p("update:labels", h), i != null && i.value.errClass && u && de(u);
|
|
2090
2098
|
};
|
|
2091
|
-
return
|
|
2099
|
+
return xe(() => {
|
|
2100
|
+
r && r.autoload && (r.reload.value = !0);
|
|
2101
|
+
}), le(() => {
|
|
2092
2102
|
r && he(r, t);
|
|
2093
2103
|
}), (y, x) => {
|
|
2094
2104
|
var h;
|
|
2095
2105
|
return w(), $("div", null, [
|
|
2096
|
-
C(
|
|
2106
|
+
C(b(It), ue({
|
|
2097
2107
|
value: l.value,
|
|
2098
2108
|
"onUpdate:value": x[0] || (x[0] = (I) => l.value = I),
|
|
2099
|
-
class: ["w-full", (h =
|
|
2109
|
+
class: ["w-full", (h = b(i)) == null ? void 0 : h.errClass],
|
|
2100
2110
|
options: v.value,
|
|
2101
2111
|
onSearch: d,
|
|
2102
2112
|
onSelect: R
|
|
2103
|
-
},
|
|
2113
|
+
}, b(s), { "allow-clear": !1 }), {
|
|
2104
2114
|
option: Q(({ label: I }) => [
|
|
2105
|
-
|
|
2115
|
+
we(Y(I), 1)
|
|
2106
2116
|
]),
|
|
2107
2117
|
default: Q(() => [
|
|
2108
|
-
C(
|
|
2118
|
+
C(b(At), {
|
|
2109
2119
|
"allow-clear": "",
|
|
2110
|
-
placeholder: "请输入并选择" +
|
|
2120
|
+
placeholder: "请输入并选择" + b(f)
|
|
2111
2121
|
}, null, 8, ["placeholder"])
|
|
2112
2122
|
]),
|
|
2113
2123
|
_: 1
|
|
@@ -2115,10 +2125,10 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
2115
2125
|
]);
|
|
2116
2126
|
};
|
|
2117
2127
|
}
|
|
2118
|
-
}),
|
|
2128
|
+
}), ga = { class: "min-h-[32px] pt-[5px]" }, ya = {
|
|
2119
2129
|
key: 1,
|
|
2120
2130
|
class: "text-center text-gray-500"
|
|
2121
|
-
},
|
|
2131
|
+
}, us = /* @__PURE__ */ Z({
|
|
2122
2132
|
inheritAttrs: !1,
|
|
2123
2133
|
__name: "index",
|
|
2124
2134
|
props: {
|
|
@@ -2159,10 +2169,12 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
2159
2169
|
{ immediate: !0, deep: !0 }
|
|
2160
2170
|
);
|
|
2161
2171
|
const p = (y) => {
|
|
2162
|
-
const h =
|
|
2172
|
+
const h = Le(r, t, y), I = ke(h);
|
|
2163
2173
|
i("update:labels", I);
|
|
2164
2174
|
};
|
|
2165
|
-
return
|
|
2175
|
+
return xe(() => {
|
|
2176
|
+
r && r.autoload && (r.reload.value = !0);
|
|
2177
|
+
}), Ie(() => {
|
|
2166
2178
|
l.value && !l.value.fieldMap && (l.value.fieldMap = {
|
|
2167
2179
|
title: "Name",
|
|
2168
2180
|
label: "Name",
|
|
@@ -2171,40 +2183,40 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
2171
2183
|
}), r && ee(r.autoload, r, t);
|
|
2172
2184
|
}), le(() => {
|
|
2173
2185
|
r && he(r, t);
|
|
2174
|
-
}), (y, x) => (w(), $("div",
|
|
2175
|
-
C(
|
|
2186
|
+
}), (y, x) => (w(), $("div", ga, [
|
|
2187
|
+
C(b(Et), ue({
|
|
2176
2188
|
onChange: p,
|
|
2177
2189
|
class: "w-full mb-[-3px]"
|
|
2178
|
-
},
|
|
2190
|
+
}, b(s)), {
|
|
2179
2191
|
default: Q(() => [
|
|
2180
|
-
f.value.length > 0 ? (w(!0), $(oe, { key: 0 },
|
|
2192
|
+
f.value.length > 0 ? (w(!0), $(oe, { key: 0 }, He(f.value, (h) => {
|
|
2181
2193
|
var I;
|
|
2182
|
-
return w(), Ae(
|
|
2194
|
+
return w(), Ae(b(xt), {
|
|
2183
2195
|
key: h.value,
|
|
2184
2196
|
value: h.value,
|
|
2185
2197
|
disabled: h.disabled || h.value && e.disabledItems && e.disabledItems.indexOf(h.value.toString()) > -1,
|
|
2186
|
-
class:
|
|
2187
|
-
((I =
|
|
2198
|
+
class: tt([
|
|
2199
|
+
((I = b(u)) == null ? void 0 : I.errClass) === "error" ? "error !text-red-400" : "",
|
|
2188
2200
|
"text-nowrap",
|
|
2189
2201
|
"pb-1",
|
|
2190
2202
|
e.wrap ? `w-1/${t.wrap}` : ""
|
|
2191
2203
|
])
|
|
2192
2204
|
}, {
|
|
2193
2205
|
default: Q(() => [
|
|
2194
|
-
|
|
2206
|
+
we(Y(h.label), 1)
|
|
2195
2207
|
]),
|
|
2196
2208
|
_: 2
|
|
2197
2209
|
}, 1032, ["value", "disabled", "class"]);
|
|
2198
|
-
}), 128)) : e.nodata ? (w(), $("div",
|
|
2210
|
+
}), 128)) : e.nodata ? (w(), $("div", ya, Y(e.nodata), 1)) : z("", !0)
|
|
2199
2211
|
]),
|
|
2200
2212
|
_: 1
|
|
2201
2213
|
}, 16)
|
|
2202
2214
|
]));
|
|
2203
2215
|
}
|
|
2204
|
-
}),
|
|
2216
|
+
}), Sa = { class: "min-h-[32px] pt-1" }, ba = {
|
|
2205
2217
|
key: 1,
|
|
2206
2218
|
class: "text-center text-gray-500"
|
|
2207
|
-
},
|
|
2219
|
+
}, cs = /* @__PURE__ */ Z({
|
|
2208
2220
|
inheritAttrs: !1,
|
|
2209
2221
|
__name: "index",
|
|
2210
2222
|
props: {
|
|
@@ -2260,10 +2272,12 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
2260
2272
|
}
|
|
2261
2273
|
return h === I;
|
|
2262
2274
|
}, d = (h) => {
|
|
2263
|
-
const I = h.target.value, O =
|
|
2275
|
+
const I = h.target.value, O = Le(r, t, I), q = ke(O);
|
|
2264
2276
|
p("update:labels", q);
|
|
2265
2277
|
};
|
|
2266
|
-
return
|
|
2278
|
+
return xe(() => {
|
|
2279
|
+
r && r.autoload && (r.reload.value = !0);
|
|
2280
|
+
}), Ie(() => {
|
|
2267
2281
|
l.value && !l.value.fieldMap && (l.value.fieldMap = {
|
|
2268
2282
|
label: "Name",
|
|
2269
2283
|
value: "Id",
|
|
@@ -2271,47 +2285,47 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
2271
2285
|
}), r && ee(r.autoload, r, t);
|
|
2272
2286
|
}), le(() => {
|
|
2273
2287
|
r && he(r, t);
|
|
2274
|
-
}), (h, I) => (w(), $("div",
|
|
2275
|
-
C(
|
|
2288
|
+
}), (h, I) => (w(), $("div", Sa, [
|
|
2289
|
+
C(b(wt), ue({
|
|
2276
2290
|
value: u.value,
|
|
2277
2291
|
"onUpdate:value": I[0] || (I[0] = (O) => u.value = O),
|
|
2278
2292
|
autocheck: !1,
|
|
2279
2293
|
onChange: d,
|
|
2280
2294
|
class: "w-full flex align-items flex-wrap mb-[-3px]"
|
|
2281
|
-
},
|
|
2295
|
+
}, b(s)), {
|
|
2282
2296
|
default: Q(() => [
|
|
2283
|
-
f.value.length > 0 ? (w(!0), $(oe, { key: 0 },
|
|
2297
|
+
f.value.length > 0 ? (w(!0), $(oe, { key: 0 }, He(f.value, (O) => {
|
|
2284
2298
|
var q;
|
|
2285
2299
|
return w(), $(oe, {
|
|
2286
2300
|
key: O.value
|
|
2287
2301
|
}, [
|
|
2288
|
-
O.visible !== !1 ? (w(), Ae(
|
|
2302
|
+
O.visible !== !1 ? (w(), Ae(b(Rt), {
|
|
2289
2303
|
key: 0,
|
|
2290
2304
|
checked: v(O.value, t.value),
|
|
2291
2305
|
value: O.value,
|
|
2292
|
-
class:
|
|
2293
|
-
((q =
|
|
2306
|
+
class: tt([
|
|
2307
|
+
((q = b(i)) == null ? void 0 : q.errClass) === "error" ? "error !text-red-400" : "",
|
|
2294
2308
|
"text-nowrap",
|
|
2295
2309
|
"pb-1",
|
|
2296
2310
|
e.wrap ? `w-1/${t.wrap}` : ""
|
|
2297
2311
|
])
|
|
2298
2312
|
}, {
|
|
2299
2313
|
default: Q(() => [
|
|
2300
|
-
|
|
2314
|
+
we(Y(O.label), 1)
|
|
2301
2315
|
]),
|
|
2302
2316
|
_: 2
|
|
2303
2317
|
}, 1032, ["checked", "value", "class"])) : z("", !0)
|
|
2304
2318
|
], 64);
|
|
2305
|
-
}), 128)) : e.nodata ? (w(), $("div",
|
|
2319
|
+
}), 128)) : e.nodata ? (w(), $("div", ba, Y(e.nodata), 1)) : z("", !0)
|
|
2306
2320
|
]),
|
|
2307
2321
|
_: 1
|
|
2308
2322
|
}, 16, ["value"])
|
|
2309
2323
|
]));
|
|
2310
2324
|
}
|
|
2311
|
-
}),
|
|
2325
|
+
}), Ia = {
|
|
2312
2326
|
key: 0,
|
|
2313
2327
|
class: "absolute z-10 mt-[5px] mr-[10px] text-[#999] flex items-center"
|
|
2314
|
-
},
|
|
2328
|
+
}, fs = /* @__PURE__ */ Z({
|
|
2315
2329
|
inheritAttrs: !1,
|
|
2316
2330
|
__name: "index",
|
|
2317
2331
|
props: {
|
|
@@ -2358,7 +2372,7 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
2358
2372
|
}), v = c(f.placeholder), d = c(i == null ? void 0 : i.selected.value), R = a;
|
|
2359
2373
|
n.inputEmit = R;
|
|
2360
2374
|
const y = (m) => {
|
|
2361
|
-
const P =
|
|
2375
|
+
const P = Le(i, t, m), D = ke(P);
|
|
2362
2376
|
d.value = m, R("update:labels", D), R("update:label", D.join(";")), R("change", m, P), r != null && r.value.errClass && o && de(o);
|
|
2363
2377
|
}, x = c((i == null ? void 0 : i.options.value) || []), h = (m) => {
|
|
2364
2378
|
if (m.length > 0 && F(t.value) && t.selectFirst)
|
|
@@ -2406,7 +2420,9 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
2406
2420
|
const P = m === void 0 ? s ? void 0 : null : m;
|
|
2407
2421
|
i && (i.selected.value = P), R("update:value", P);
|
|
2408
2422
|
}
|
|
2409
|
-
),
|
|
2423
|
+
), xe(() => {
|
|
2424
|
+
i && i.autoload && (i.reload.value = !0);
|
|
2425
|
+
}), Ie(() => {
|
|
2410
2426
|
if (p.value && !p.value.fieldMap && (p.value.fieldMap = {
|
|
2411
2427
|
label: "Name",
|
|
2412
2428
|
value: "Id",
|
|
@@ -2421,31 +2437,31 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
2421
2437
|
}), le(() => {
|
|
2422
2438
|
i && he(i, t);
|
|
2423
2439
|
}), (m, P) => {
|
|
2424
|
-
var D,
|
|
2440
|
+
var D, Be, We;
|
|
2425
2441
|
return w(), $("div", null, [
|
|
2426
|
-
(
|
|
2427
|
-
C(
|
|
2428
|
-
P[1] || (P[1] =
|
|
2442
|
+
(Be = (D = b(i)) == null ? void 0 : D.url) != null && Be.loading ? (w(), $("div", Ia, [
|
|
2443
|
+
C(b(Ue), { class: "text-[#555] mx-[5px] !ml-[10px] !w-4 !h-4" }),
|
|
2444
|
+
P[1] || (P[1] = St("span", null, "数据加载中...", -1))
|
|
2429
2445
|
])) : z("", !0),
|
|
2430
|
-
C(
|
|
2431
|
-
class: [(
|
|
2446
|
+
C(b(Ot), ue({
|
|
2447
|
+
class: [(We = b(r)) == null ? void 0 : We.errClass, "w-full"],
|
|
2432
2448
|
value: d.value,
|
|
2433
2449
|
"onUpdate:value": P[0] || (P[0] = (B) => d.value = B),
|
|
2434
2450
|
"allow-clear": !0,
|
|
2435
2451
|
onChange: y,
|
|
2436
2452
|
placeholder: v.value,
|
|
2437
2453
|
"label-in-value": !1
|
|
2438
|
-
},
|
|
2454
|
+
}, b(f)), {
|
|
2439
2455
|
default: Q(() => [
|
|
2440
|
-
(w(!0), $(oe, null,
|
|
2456
|
+
(w(!0), $(oe, null, He(x.value, (B) => (w(), $(oe, {
|
|
2441
2457
|
key: B.value
|
|
2442
2458
|
}, [
|
|
2443
|
-
B.visible !== !1 ? (w(), Ae(
|
|
2459
|
+
B.visible !== !1 ? (w(), Ae(b(Tt), {
|
|
2444
2460
|
key: 0,
|
|
2445
2461
|
value: B.value
|
|
2446
2462
|
}, {
|
|
2447
2463
|
default: Q(() => [
|
|
2448
|
-
|
|
2464
|
+
we(Y(B.label), 1)
|
|
2449
2465
|
]),
|
|
2450
2466
|
_: 2
|
|
2451
2467
|
}, 1032, ["value"])) : z("", !0)
|
|
@@ -2456,90 +2472,91 @@ const W = new ta(), ee = (e, a, t) => {
|
|
|
2456
2472
|
]);
|
|
2457
2473
|
};
|
|
2458
2474
|
}
|
|
2459
|
-
}),
|
|
2475
|
+
}), Aa = c(!1), ps = {
|
|
2460
2476
|
label: "模板管理",
|
|
2461
2477
|
key: "uploadTemp",
|
|
2462
2478
|
type: "primary",
|
|
2463
2479
|
icon: "icon-download",
|
|
2464
2480
|
click: () => {
|
|
2465
|
-
|
|
2481
|
+
Aa.value = !0;
|
|
2466
2482
|
}
|
|
2467
2483
|
};
|
|
2468
2484
|
export {
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2485
|
+
Ja as $,
|
|
2486
|
+
Le as A,
|
|
2487
|
+
ke as B,
|
|
2488
|
+
de as C,
|
|
2489
|
+
us as D,
|
|
2490
|
+
cs as E,
|
|
2491
|
+
fs as F,
|
|
2492
|
+
Je as G,
|
|
2493
|
+
Nt as H,
|
|
2494
|
+
Ya as I,
|
|
2495
|
+
ia as J,
|
|
2496
|
+
la as K,
|
|
2497
|
+
Oe as L,
|
|
2498
|
+
Xa as M,
|
|
2499
|
+
Za as N,
|
|
2484
2500
|
N as O,
|
|
2485
2501
|
U as P,
|
|
2486
|
-
|
|
2487
|
-
|
|
2502
|
+
oa as Q,
|
|
2503
|
+
ft as R,
|
|
2488
2504
|
es as S,
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2505
|
+
as as T,
|
|
2506
|
+
ha as U,
|
|
2507
|
+
ma as V,
|
|
2508
|
+
ss as W,
|
|
2509
|
+
Ze as X,
|
|
2510
|
+
ns as Y,
|
|
2511
|
+
ot as Z,
|
|
2512
|
+
is as _,
|
|
2513
|
+
os as a,
|
|
2514
|
+
it as a0,
|
|
2499
2515
|
Na as a1,
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2516
|
+
Ua as a2,
|
|
2517
|
+
qe as a3,
|
|
2518
|
+
Da as a4,
|
|
2519
|
+
ja as a5,
|
|
2520
|
+
aa as a6,
|
|
2521
|
+
ut as a7,
|
|
2522
|
+
Wa as a8,
|
|
2523
|
+
_a as a9,
|
|
2524
|
+
rt as aa,
|
|
2525
|
+
zt as ab,
|
|
2526
|
+
De as ac,
|
|
2527
|
+
W as ad,
|
|
2528
|
+
re as ae,
|
|
2529
|
+
ne as af,
|
|
2530
|
+
ye as ag,
|
|
2531
|
+
K as ah,
|
|
2532
|
+
rs as ai,
|
|
2533
|
+
Ke as aj,
|
|
2534
|
+
Aa as ak,
|
|
2535
|
+
ps as al,
|
|
2536
|
+
ie as am,
|
|
2537
|
+
Ka as b,
|
|
2538
|
+
ts as c,
|
|
2539
|
+
Qa as d,
|
|
2540
|
+
Ha as e,
|
|
2541
|
+
za as f,
|
|
2542
|
+
ea as g,
|
|
2543
|
+
Ca as h,
|
|
2527
2544
|
F as i,
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2545
|
+
Ga as j,
|
|
2546
|
+
qa as k,
|
|
2547
|
+
lt as l,
|
|
2548
|
+
ta as m,
|
|
2549
|
+
Ba as n,
|
|
2550
|
+
Va as o,
|
|
2551
|
+
Yt as p,
|
|
2552
|
+
Ct as q,
|
|
2553
|
+
Re as r,
|
|
2554
|
+
ls as s,
|
|
2555
|
+
pe as t,
|
|
2539
2556
|
_ as u,
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2557
|
+
X as v,
|
|
2558
|
+
me as w,
|
|
2559
|
+
ee as x,
|
|
2560
|
+
he as y,
|
|
2561
|
+
Ue as z
|
|
2545
2562
|
};
|