@utogether/udp-core 2.0.0-beta.27 → 2.0.0-beta.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{403-gdcH0-Bo.js → 403-CyoOD-Ik.js} +1 -1
- package/dist/{404-Se2SF97M.js → 404-Ch_OHTw0.js} +1 -1
- package/dist/{500-B6j9AqLo.js → 500-Cf9am7HK.js} +1 -1
- package/dist/{AuthorityInfo-CQ8ydZvr.js → AuthorityInfo-BJ427cqG.js} +1 -1
- package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-C4NRvS8p.js → AuthorityInfo.vue_vue_type_style_index_0_lang-D9y7AwbB.js} +11 -12
- package/dist/{Company-BzSVBSC4.js → Company-qo-lKPkv.js} +3 -3
- package/dist/{CompanyPanel-DBjZB4aJ.js → CompanyPanel-DkKWAKvY.js} +7 -7
- package/dist/{Department-BkgseHo8.js → Department-CHUQByKX.js} +3 -3
- package/dist/{DepartmentPanel-Sen93_2M.js → DepartmentPanel-C742dfOO.js} +27 -28
- package/dist/{DesignPanel-pqDcwaFC.js → DesignPanel-D9oE5R7m.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-BjtYyEw7.js → DesignPanel.vue_vue_type_style_index_0_lang-hYldVEbo.js} +192 -108
- package/dist/{DictView-CJLG4LlE.js → DictView-CrFXprP9.js} +1 -1
- package/dist/{InvOrganization-D0Jq1IAa.js → InvOrganization-Cz8SzIgs.js} +6 -7
- package/dist/{Org-CO_1WT39.js → Org-Bzt6yKox.js} +9 -10
- package/dist/{Preview-DLI4Bwel.js → Preview-jonigfMQ.js} +1 -1
- package/dist/{ReportDefine-Cw46OnJ_.js → ReportDefine-BpiM5Ovq.js} +1 -1
- package/dist/{ReportDesign-D4sHTXT7.js → ReportDesign-fp09cXJ7.js} +24 -25
- package/dist/{ReportQuery-DtOCvQSN.js → ReportQuery-52ZP1PYP.js} +1 -1
- package/dist/{ReportQueryFrom-QjL-ETPq.js → ReportQueryFrom-DSYavJb1.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-Dj9ne87n.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-DBGYEp0u.js} +4 -4
- package/dist/{ReportTemplate-BxAgc_Aj.js → ReportTemplate-CA_UW0eD.js} +3 -3
- package/dist/{Role-Df77BBD-.js → Role-DqOt8Bk0.js} +3 -3
- package/dist/{RoleAssign-BrunouML.js → RoleAssign-BdxhefhQ.js} +3 -3
- package/dist/{RolePanel-HLA7XBlN.js → RolePanel-2gZ3H0ET.js} +1 -1
- package/dist/{RolePanel-DSVwqhiD.js → RolePanel-BsNd0svJ.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-CN0rUxKz.js → RolePanel.vue_vue_type_script_setup_true_lang-DLOwgF99.js} +9 -9
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-CKlbqRa5.js → RolePanel.vue_vue_type_script_setup_true_lang-DmzD9kab.js} +26 -27
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-D_FeSXKv.js → ScrollPanel.vue_vue_type_style_index_0_lang-B9ptUMeI.js} +7 -7
- package/dist/{Staff-BeL1xcRf.js → Staff-D3L8fEoY.js} +3 -3
- package/dist/{StaffInfo-CIfnltyX.js → StaffInfo-DYRw6ZYJ.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-DbLFwWfG.js → StaffInfo.vue_vue_type_script_setup_true_lang-xqEOQnMs.js} +1 -1
- package/dist/{StaffPanel-BV2CHWac.js → StaffPanel-DkrNH6Px.js} +1 -1
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-CvT-Vp2G.js → StaffPanel.vue_vue_type_script_setup_true_lang-BPBMnliy.js} +8 -9
- package/dist/{SysUser-DPfNvthk.js → SysUser-Bl1-cIpJ.js} +2 -2
- package/dist/{SysUserPanel-CoLKYlQE.js → SysUserPanel-yxNLaBwt.js} +1 -1
- package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-lcO3Cjbq.js → SysUserPanel.vue_vue_type_script_setup_true_lang-BDcsgSl5.js} +11 -12
- package/dist/{SystemMenu-sdj1dRDA.js → SystemMenu-C4_Arn12.js} +9 -10
- package/dist/{UserInfo-CTX4hhFl.js → UserInfo-QcNwJCUR.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-ClhCd_8z.js → UserInfo.vue_vue_type_style_index_0_lang-DLIeUphX.js} +5 -6
- package/dist/{childView-BDmWwJO5.js → childView-B23DEO2u.js} +1 -1
- package/dist/{childView-Dx3ACtHa.js → childView-saDZQv9x.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-CfKq_0FN.js → childView.vue_vue_type_style_index_0_lang-RsKR6CAC.js} +14 -15
- package/dist/{childView.vue_vue_type_style_index_0_lang-DxZNtkhd.js → childView.vue_vue_type_style_index_0_lang-ZFEfavUY.js} +11 -12
- package/dist/{code-rule-cvN4gYC_.js → code-rule-2_Ihx_by.js} +12 -13
- package/dist/core.es.js +21 -19
- package/dist/{cron-task-B0TkxFdp.js → cron-task-BFOPJQIk.js} +3 -4
- package/dist/{frameView-5cy5BSgS.js → frameView-f7Ya0Knj.js} +1 -1
- package/dist/img/minicolors.png +0 -0
- package/dist/{index-C5WRTwvI.js → index-BpdTDaTk.js} +811 -604
- package/dist/{layout-home-DrARg-3o.js → layout-home-v3DPJ7rB.js} +12 -13
- package/dist/{layoutView-25v_ngk5.js → layoutView-DZHoQDH1.js} +186 -187
- package/dist/{log-in-Bmz5Uhbt.js → log-in-BPAMJTwH.js} +4 -5
- package/dist/{log-out-B-8m3oNj.js → log-out-DZACF0jg.js} +8 -9
- package/dist/{login-Cmp2RvvW.js → login-B8cwozax.js} +22 -23
- package/dist/{lov-view-BATtzw2X.js → lov-view-Ba7Y7xy0.js} +4 -5
- package/dist/{menuInfo-BIvrE7nm.js → menuInfo-BpRKFYK8.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-B6USomit.js → menuInfo.vue_vue_type_style_index_0_lang-DJ5sUC6m.js} +17 -18
- package/dist/{pda-app-CzHVyeEa.js → pda-app-C0jJecrL.js} +7 -8
- package/dist/{resource-Y5lGB38n.js → resource-BG22Cw4P.js} +4 -4
- package/dist/su-welcome-DaxhbrC6.js +879 -0
- package/dist/{sys-config-CqO03LeC.js → sys-config-CG2fMtak.js} +22 -23
- package/dist/udp-core.css +1 -1
- package/dist/{useNav-C-rCgubt.js → useNav-_u2UAQWk.js} +24 -24
- package/index.ts +54 -51
- package/package.json +21 -21
- package/src/api/http.ts +10 -4
- package/src/api/index.ts +51 -51
- package/src/api/user.ts +64 -64
- package/src/components/udp/content/index.vue +93 -93
- package/src/components/udp/form-upload/form-upload.vue +496 -496
- package/src/components/udp/grid/index.vue +643 -544
- package/src/components/udp/index.ts +2 -1
- package/src/components/udp/modal-form/index.vue +326 -0
- package/src/components/udp/utils.ts +420 -420
- package/src/layout/components/lay-navbar/index.vue +240 -240
- package/src/layout/components/lay-search/components/SearchModal.vue +185 -185
- package/src/layout/components/lay-sidebar/mixNav.vue +261 -261
- package/src/layout/components/lay-sidebar/sidebarItem.vue +199 -195
- package/src/layout/components/lay-sidebar/vertical.vue +92 -92
- package/src/layout/layoutView.vue +1 -0
- package/src/main.ts +111 -111
- package/src/plugins/i18n/zh.ts +5 -1
- package/src/plugins/vxe-table/index.ts +116 -116
- package/src/router/index.ts +158 -156
- package/src/router/utils.ts +434 -430
- package/src/store/modules/permission.ts +1 -1
- package/src/store/modules/system.ts +193 -193
- package/src/style/print-lock.css +380 -375
- package/src/style/suprint.css +990 -985
- package/src/utils/authority/index.ts +46 -46
- package/src/utils/dataFormat/index.ts +309 -222
- package/src/utils/udp/http/index.ts +19 -11
- package/src/views/uhome/components/home-todo.vue +15 -3
- package/src/views/uhome/dynamic-card.vue +31 -31
- package/src/views/uhome/su-welcome.vue +310 -310
- package/src/views/ulogin/login.vue +292 -292
- package/src/views/urpt/design/DesignPanel.vue +538 -507
- package/src/views/urpt/design/print-data.ts +39 -59
- package/dist/await-to-js.es5-Bv3Eu4mi.js +0 -10
- package/dist/su-welcome-CXA6OzBw.js +0 -878
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { defineComponent as
|
|
3
|
-
import { ElConfigProvider as
|
|
4
|
-
import { checkVersion as
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
|
|
1
|
+
import * as Ye from "vue";
|
|
2
|
+
import { isRef as se, defineComponent as q, createVNode as Qe, resolveComponent as me, isProxy as Pe, toRaw as De, defineAsyncComponent as Pt, openBlock as Dt, createBlock as It, withCtx as Lt, h as E, createApp as Rt, computed as Ie, ref as re } from "vue";
|
|
3
|
+
import { ElConfigProvider as Le } from "element-plus";
|
|
4
|
+
import { checkVersion as Nt } from "version-rocket";
|
|
5
|
+
import { NProgress as Z, cookies as S, errorMessage as ie, http as B, isUrl as Ze, storageLocal as f, buildHierarchyTree as we, dbstorage as le, openLink as Mt, VxetableRender as Ot, useGlobal as Xe, deviceDetection as Et, storageSession as At } from "@utogether/utils";
|
|
6
|
+
import pe from "axios";
|
|
7
|
+
import { has as ce, toDateString as T, isEqual as Re, merge as be, clone as V, findIndexOf as Ft, isEmpty as $t, findLastIndexOf as Ut, getWhatDay as A, isArray as jt } from "xe-utils";
|
|
8
|
+
import { createPinia as zt, defineStore as G } from "pinia";
|
|
9
|
+
import { useTimeoutFn as _t } from "@vueuse/core";
|
|
10
|
+
import { createI18n as qt, useI18n as Bt } from "vue-i18n";
|
|
11
|
+
import et, { VxeUI as I } from "vxe-table";
|
|
12
|
+
import { Icon as Ne } from "@iconify/vue";
|
|
13
|
+
import Vt from "vue-tippy";
|
|
14
|
+
import Wt from "element-resize-detector";
|
|
15
|
+
var Gt = {
|
|
15
16
|
name: "en",
|
|
16
17
|
el: {
|
|
17
18
|
breadcrumb: { label: "Breadcrumb" },
|
|
@@ -190,7 +191,7 @@ var At = {
|
|
|
190
191
|
defaultLabel: "Please enter OTP character {index}"
|
|
191
192
|
}
|
|
192
193
|
}
|
|
193
|
-
},
|
|
194
|
+
}, Ht = {
|
|
194
195
|
name: "zh-cn",
|
|
195
196
|
el: {
|
|
196
197
|
breadcrumb: { label: "面包屑" },
|
|
@@ -370,35 +371,212 @@ var At = {
|
|
|
370
371
|
}
|
|
371
372
|
}
|
|
372
373
|
};
|
|
373
|
-
let
|
|
374
|
-
const
|
|
375
|
-
|
|
376
|
-
},
|
|
377
|
-
|
|
378
|
-
},
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
},
|
|
386
|
-
|
|
387
|
-
},
|
|
374
|
+
let he = {}, tt = {};
|
|
375
|
+
const Jt = (e, t) => {
|
|
376
|
+
he = Object.assign(he, t), e.config.globalProperties.$config = R();
|
|
377
|
+
}, R = () => he, Kt = (e = {}) => {
|
|
378
|
+
tt = e;
|
|
379
|
+
}, U = () => tt, w = () => R().ResponsiveStorageNameSpace, Yt = "menu_zh", Qt = "menu_en", ot = "authorized-token", Zt = "kCookies_token", Xt = "kSysConfig", nt = "loginer", Ca = "k-UTOGETHER-Q66!", Sa = "UDP_PWSD", Me = "authorized-token", eo = {
|
|
380
|
+
timeout: 3e5,
|
|
381
|
+
headers: {
|
|
382
|
+
Accept: "application/json, text/plain, */*",
|
|
383
|
+
"Content-Type": "application/json",
|
|
384
|
+
"X-Requested-With": "XMLHttpRequest"
|
|
385
|
+
}
|
|
386
|
+
}, j = /* @__PURE__ */ new Map(), at = (e) => {
|
|
387
|
+
try {
|
|
388
|
+
const { method: t, url: o, params: n, data: a } = e, s = n ? JSON.stringify(n) : "", r = a ? JSON.stringify(a) : "";
|
|
389
|
+
return [t?.toUpperCase(), o, s, r].filter(Boolean).join("&");
|
|
390
|
+
} catch (t) {
|
|
391
|
+
return console.warn("Failed to generate request key:", t), `${e.method || "GET"}_${e.url || ""}_${Date.now()}`;
|
|
392
|
+
}
|
|
393
|
+
}, to = (e) => {
|
|
394
|
+
const t = at(e);
|
|
395
|
+
if (j.has(t)) {
|
|
396
|
+
const o = j.get(t);
|
|
397
|
+
o && o(`Duplicate request canceled: ${t}`), j.delete(t);
|
|
398
|
+
}
|
|
399
|
+
e.cancelToken = new pe.CancelToken((o) => {
|
|
400
|
+
j.set(t, o);
|
|
401
|
+
});
|
|
402
|
+
}, Oe = (e) => {
|
|
403
|
+
const t = at(e);
|
|
404
|
+
j.has(t) && j.delete(t);
|
|
405
|
+
};
|
|
406
|
+
class v {
|
|
407
|
+
constructor() {
|
|
408
|
+
this.httpInterceptorsRequest(), this.httpInterceptorsResponse();
|
|
409
|
+
}
|
|
410
|
+
router = void 0;
|
|
411
|
+
baseUrl = null;
|
|
412
|
+
// 服务白名单,判断是否需要token
|
|
413
|
+
whiteList = [/\/refreshToken$/, /\/login$/];
|
|
414
|
+
/** token过期后,暂存待执行的请求 */
|
|
415
|
+
static requests = [];
|
|
416
|
+
/** 防止重复刷新token */
|
|
417
|
+
static isRefreshing = !1;
|
|
418
|
+
/** 设置router调整 */
|
|
419
|
+
setRouter(t) {
|
|
420
|
+
this.router = t;
|
|
421
|
+
}
|
|
422
|
+
setBaseUrl(t) {
|
|
423
|
+
this.baseUrl = t;
|
|
424
|
+
}
|
|
425
|
+
// 保存当前Axios实例对象
|
|
426
|
+
static axiosInstance = pe.create(eo);
|
|
427
|
+
/** 重连原始请求 */
|
|
428
|
+
static retryOriginalRequest(t) {
|
|
429
|
+
return new Promise((o) => {
|
|
430
|
+
v.requests.push((n) => {
|
|
431
|
+
t.headers.Authorization = "Bearer " + n, o(t);
|
|
432
|
+
});
|
|
433
|
+
});
|
|
434
|
+
}
|
|
435
|
+
// 请求拦截
|
|
436
|
+
httpInterceptorsRequest() {
|
|
437
|
+
v.axiosInstance.interceptors.request.use(
|
|
438
|
+
(t) => (ce(t, "loading") && se(t.loading) && (t.loading.value = !0), !t.url.includes("uath/refreshToken") && to(t), Z.start(), typeof t.beforeRequestCallback == "function" ? (t.beforeRequestCallback(t), t) : this.whiteList.some((o) => o.test(t.url)) ? t : new Promise(async (o) => {
|
|
439
|
+
const n = S.get(Me);
|
|
440
|
+
if (n) {
|
|
441
|
+
const a = JSON.parse(n), s = (/* @__PURE__ */ new Date()).getTime();
|
|
442
|
+
a.expires - s <= 0 ? (v.isRefreshing || (v.isRefreshing = !0, v.axiosInstance.get(this.baseUrl + "/uath/refreshToken", {
|
|
443
|
+
params: { refreshToken: a.refreshToken }
|
|
444
|
+
}).then((i) => {
|
|
445
|
+
i?.access_token ? (this.setToken(i), t.headers.Authorization = "Bearer " + i.access_token, v.requests.forEach((l) => l(i.access_token)), v.requests = []) : this.routeToLogin();
|
|
446
|
+
}).catch(() => {
|
|
447
|
+
this.routeToLogin();
|
|
448
|
+
}).finally(() => {
|
|
449
|
+
v.isRefreshing = !1;
|
|
450
|
+
})), o(v.retryOriginalRequest(t))) : (t.headers.Authorization = "Bearer " + a.accessToken, o(t));
|
|
451
|
+
} else {
|
|
452
|
+
const a = S.get("kCookies_token");
|
|
453
|
+
a && (t.headers["X-Token"] = a), o(t);
|
|
454
|
+
}
|
|
455
|
+
})),
|
|
456
|
+
(t) => Promise.reject(t)
|
|
457
|
+
);
|
|
458
|
+
}
|
|
459
|
+
setToken(t) {
|
|
460
|
+
const { access_token: o, expires_in: n, refresh_token: a } = t, s = {
|
|
461
|
+
accessToken: o,
|
|
462
|
+
refreshToken: a,
|
|
463
|
+
expires: Date.now() + n
|
|
464
|
+
// expires: Date.now() + expires_in * 1000
|
|
465
|
+
};
|
|
466
|
+
S.set(Me, JSON.stringify(s));
|
|
467
|
+
}
|
|
468
|
+
routeToLogin() {
|
|
469
|
+
v.requests = [], S.remove("kCookies_token"), S.remove("authorized-token"), S.remove("loginer"), this.router.push({ name: "login" });
|
|
470
|
+
}
|
|
471
|
+
// 响应拦截
|
|
472
|
+
httpInterceptorsResponse() {
|
|
473
|
+
v.axiosInstance.interceptors.response.use(
|
|
474
|
+
(o) => {
|
|
475
|
+
const n = o.config;
|
|
476
|
+
return ce(n, "loading") && se(n.loading) && (n.loading.value = !1), Oe(o.config), Z.done(), typeof n.beforeResponseCallback == "function" ? (n.beforeResponseCallback(o), o.data) : !o.data && o?.msg ? Promise.reject(o.msg) : o.data;
|
|
477
|
+
},
|
|
478
|
+
(o) => {
|
|
479
|
+
if (pe.isCancel(o))
|
|
480
|
+
return console.warn("请求已取消:", o.message), Promise.reject(o);
|
|
481
|
+
o.config && Oe(o.config);
|
|
482
|
+
const n = o.config;
|
|
483
|
+
return ce(n, "loading") && se(n?.loading) && (n.loading.value = !1), Z.done(), Promise.reject(o);
|
|
484
|
+
}
|
|
485
|
+
);
|
|
486
|
+
}
|
|
487
|
+
transformConfigByMethod(t, o) {
|
|
488
|
+
const { method: n } = o, a = ["get"], s = n.toLocaleLowerCase(), r = a.includes(s) ? "params" : "data";
|
|
489
|
+
return {
|
|
490
|
+
...o,
|
|
491
|
+
[r]: t
|
|
492
|
+
};
|
|
493
|
+
}
|
|
494
|
+
// 通用请求工具函数
|
|
495
|
+
request(t, o, n, a) {
|
|
496
|
+
const s = this.transformConfigByMethod(n, {
|
|
497
|
+
method: t,
|
|
498
|
+
url: o,
|
|
499
|
+
...a
|
|
500
|
+
});
|
|
501
|
+
return new Promise((r, i) => {
|
|
502
|
+
v.axiosInstance.request(s).then((l) => {
|
|
503
|
+
if (l.code === "500")
|
|
504
|
+
ie(l.msg, { duration: 8e3 }), s.method === "get" ? r(l) : i(l.msg);
|
|
505
|
+
else if (l?.code === "0")
|
|
506
|
+
r(l.data);
|
|
507
|
+
else if (l?.code !== "-1")
|
|
508
|
+
r(l);
|
|
509
|
+
else {
|
|
510
|
+
const d = l?.msg || "服务异常";
|
|
511
|
+
ie(d, { duration: 8e3 }), i(d);
|
|
512
|
+
}
|
|
513
|
+
}).catch((l) => {
|
|
514
|
+
if (l?.code) {
|
|
515
|
+
if (l?.response?.status === 401)
|
|
516
|
+
return this.router?.push({ path: "/login" });
|
|
517
|
+
l.code !== "ERR_CANCELED" && ie(this.getNetworkError(l?.response?.status) || l?.message, { duration: 8e3 });
|
|
518
|
+
}
|
|
519
|
+
l.config?.method === "get" ? r(l) : i(l);
|
|
520
|
+
});
|
|
521
|
+
});
|
|
522
|
+
}
|
|
523
|
+
getNetworkError = (t) => t ? {
|
|
524
|
+
400: "请求参数错误",
|
|
525
|
+
401: "登录已过期,请重新登录",
|
|
526
|
+
403: "没有权限访问",
|
|
527
|
+
404: "请求错误,未找到该资源",
|
|
528
|
+
408: "请求超时",
|
|
529
|
+
500: "服务器内部错误",
|
|
530
|
+
502: "网络超时",
|
|
531
|
+
503: "服务不可用",
|
|
532
|
+
504: "网络超时"
|
|
533
|
+
}[t] : null;
|
|
534
|
+
// 单独抽离的post工具函数
|
|
535
|
+
post(t, o, n) {
|
|
536
|
+
return this.request("post", t, o, n);
|
|
537
|
+
}
|
|
538
|
+
// 单独抽离的delete工具函数
|
|
539
|
+
delete(t, o, n) {
|
|
540
|
+
return this.request("delete", t, o, n);
|
|
541
|
+
}
|
|
542
|
+
// 单独抽离的put工具函数
|
|
543
|
+
put(t, o, n) {
|
|
544
|
+
return this.request("put", t, o, n);
|
|
545
|
+
}
|
|
546
|
+
// 单独抽离的get工具函数
|
|
547
|
+
get(t, o, n) {
|
|
548
|
+
for (const a in o)
|
|
549
|
+
o[a] || delete o[a];
|
|
550
|
+
return this.request("get", t, o, n);
|
|
551
|
+
}
|
|
552
|
+
postRouter(t) {
|
|
553
|
+
return this.request("post", "route/service", t);
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
const L = new v(), H = () => ({
|
|
557
|
+
post: (e, t, o) => L.post(`${C(e)}${e}`, t, o),
|
|
558
|
+
get: (e, t, o) => L.get(`${C(e)}${e}`, t, o),
|
|
559
|
+
put: (e, t) => L.put(`${C(e)}${e}`, t),
|
|
560
|
+
delete: (e, t) => L.delete(`${C(e)}${e}`, t)
|
|
561
|
+
}), oo = (e) => {
|
|
562
|
+
L.setRouter(e);
|
|
563
|
+
}, no = (e) => {
|
|
564
|
+
L.setBaseUrl(e);
|
|
565
|
+
}, ao = window.location.origin + "/gateway", C = (e) => {
|
|
388
566
|
const t = ["/uath/", "/uwfl/", "/uums/", "/upfm/", "/urpt/", "/usch/"];
|
|
389
|
-
return e &&
|
|
390
|
-
},
|
|
391
|
-
post: (e, t, o) =>
|
|
392
|
-
get: (e, t, o) =>
|
|
393
|
-
put: (e, t) =>
|
|
394
|
-
delete: (e, t) =>
|
|
395
|
-
}),
|
|
567
|
+
return e && U().VITE_DEBUG === "true" && !t.some((o) => e.includes(o)) ? U().VITE_DEBUG_URL : U().VITE_BASE_URL === "origin" ? ao : U().VITE_BASE_URL;
|
|
568
|
+
}, so = () => ({
|
|
569
|
+
post: (e, t, o) => L.post(`${Q()}${e}`, t, o),
|
|
570
|
+
get: (e, t, o) => L.get(`${Q()}${e}`, t, o),
|
|
571
|
+
put: (e, t) => L.put(`${Q()}${e}`, t),
|
|
572
|
+
delete: (e, t) => L.delete(`${Q()}${e}`, t)
|
|
573
|
+
}), Q = () => U().VITE_DEBUG_URL, st = (e) => {
|
|
396
574
|
const t = e.indexOf("windows nt 5.1") > -1 || e.indexOf("windows xp") > -1;
|
|
397
575
|
if (e.indexOf("windows xp") > -1, t) return "WinXP";
|
|
398
576
|
if (e.indexOf("windows nt 6.1") > -1 || e.indexOf("windows 7") > -1) return "Win7";
|
|
399
577
|
if (e.indexOf("windows nt6.2") > -1 || e.indexOf("windows 8") > -1) return "Win8";
|
|
400
578
|
if (e.indexOf("windows nt 10.0") > -1 || e.indexOf("windows 10") > -1) return "Win10";
|
|
401
|
-
},
|
|
579
|
+
}, rt = (e) => {
|
|
402
580
|
let t = null;
|
|
403
581
|
const o = {
|
|
404
582
|
Chrome: e.indexOf("chrome") > -1 && e.indexOf("safari") > -1,
|
|
@@ -422,20 +600,20 @@ const Ut = (e, t) => {
|
|
|
422
600
|
for (const a in o)
|
|
423
601
|
o[a] && (n = e.match(/chrome\/([\d.]+)/)[1], t = a);
|
|
424
602
|
return { browser: t, browserVersion: n };
|
|
425
|
-
},
|
|
426
|
-
const t = navigator.userAgent.toLowerCase(), { browser: o, browserVersion: n } =
|
|
603
|
+
}, ro = () => B.get(`${C()}/uums/roleMenu`), it = () => B.get(`${C()}/upfm/v1/lov/selectAll`), Ee = (e) => B.get(`${C()}/uums/roleMenu/userMenu`, e), io = (e) => {
|
|
604
|
+
const t = navigator.userAgent.toLowerCase(), { browser: o, browserVersion: n } = rt(t), a = {
|
|
427
605
|
userName: e,
|
|
428
|
-
loginTime:
|
|
606
|
+
loginTime: T(/* @__PURE__ */ new Date()),
|
|
429
607
|
browser: o,
|
|
430
608
|
browserVersion: n,
|
|
431
|
-
operatingSystem:
|
|
609
|
+
operatingSystem: st(t)
|
|
432
610
|
};
|
|
433
|
-
return
|
|
434
|
-
},
|
|
435
|
-
function
|
|
436
|
-
e.use(
|
|
611
|
+
return B.request("post", `${C()}/upfm/v1/userMonitor`, a);
|
|
612
|
+
}, $ = zt();
|
|
613
|
+
function lo(e) {
|
|
614
|
+
e.use($);
|
|
437
615
|
}
|
|
438
|
-
const
|
|
616
|
+
const J = [
|
|
439
617
|
{
|
|
440
618
|
path: "/welcome",
|
|
441
619
|
name: "UdpWelcome",
|
|
@@ -444,10 +622,10 @@ const W = [
|
|
|
444
622
|
icon: "home-filled"
|
|
445
623
|
}
|
|
446
624
|
}
|
|
447
|
-
],
|
|
625
|
+
], lt = G("udp-multiTags", {
|
|
448
626
|
state: () => ({
|
|
449
627
|
// 存储标签页信息(路由信息)
|
|
450
|
-
multiTags: f.getItem(`${w()}configure`)?.multiTagsCache ? f.getItem(`${w()}tags`) : [...
|
|
628
|
+
multiTags: f.getItem(`${w()}configure`)?.multiTagsCache ? f.getItem(`${w()}tags`) : [...J, ...b().flatteningRoutes.filter((e) => e?.meta?.fixedTag)],
|
|
451
629
|
multiTagsCache: f.getItem(`${w()}configure`)?.multiTagsCache
|
|
452
630
|
}),
|
|
453
631
|
getters: {
|
|
@@ -470,12 +648,12 @@ const W = [
|
|
|
470
648
|
case "push":
|
|
471
649
|
{
|
|
472
650
|
const n = t;
|
|
473
|
-
if (n?.meta?.hiddenTag ||
|
|
651
|
+
if (n?.meta?.hiddenTag || Ze(n?.name) || n?.meta?.title?.length === 0) return;
|
|
474
652
|
const a = n.path;
|
|
475
|
-
if (this.multiTags.some((i) => i.path === a &&
|
|
653
|
+
if (this.multiTags.some((i) => i.path === a && Re(i?.query, n?.query) && Re(i?.params, n?.params))) return;
|
|
476
654
|
const r = n?.meta?.dynamicLevel ?? -1;
|
|
477
655
|
if (r > 0 && this.multiTags.filter((i) => i?.path === a).length >= r) {
|
|
478
|
-
const i = this.multiTags.findIndex((
|
|
656
|
+
const i = this.multiTags.findIndex((l) => l?.path === a);
|
|
479
657
|
i !== -1 && this.multiTags.splice(i, 1);
|
|
480
658
|
}
|
|
481
659
|
this.multiTags.push(t), this.tagsCache(this.multiTags);
|
|
@@ -496,10 +674,10 @@ const W = [
|
|
|
496
674
|
}
|
|
497
675
|
}
|
|
498
676
|
});
|
|
499
|
-
function
|
|
500
|
-
return
|
|
677
|
+
function k() {
|
|
678
|
+
return lt($);
|
|
501
679
|
}
|
|
502
|
-
const
|
|
680
|
+
const Ae = {
|
|
503
681
|
zh: {
|
|
504
682
|
message: {
|
|
505
683
|
reportCode: "报表编号",
|
|
@@ -549,13 +727,13 @@ const xe = {
|
|
|
549
727
|
isRequired: "Required"
|
|
550
728
|
}
|
|
551
729
|
}
|
|
552
|
-
},
|
|
553
|
-
zh: { ...
|
|
554
|
-
en: { ...
|
|
555
|
-
},
|
|
730
|
+
}, co = {
|
|
731
|
+
zh: { ...Ae.zh.message },
|
|
732
|
+
en: { ...Ae.en.message }
|
|
733
|
+
}, uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
556
734
|
__proto__: null,
|
|
557
|
-
default:
|
|
558
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
735
|
+
default: co
|
|
736
|
+
}, Symbol.toStringTag, { value: "Module" })), mo = {
|
|
559
737
|
zh: {
|
|
560
738
|
message: {
|
|
561
739
|
taskName: "任务名称",
|
|
@@ -584,7 +762,7 @@ const xe = {
|
|
|
584
762
|
actuatorAddress: "Actuator Adress"
|
|
585
763
|
}
|
|
586
764
|
}
|
|
587
|
-
},
|
|
765
|
+
}, po = {
|
|
588
766
|
zh: {
|
|
589
767
|
message: {
|
|
590
768
|
flowId: "流程标识",
|
|
@@ -605,17 +783,17 @@ const xe = {
|
|
|
605
783
|
flowDesign: "Flow Design"
|
|
606
784
|
}
|
|
607
785
|
}
|
|
608
|
-
},
|
|
786
|
+
}, Fe = [mo, po], ho = {
|
|
609
787
|
zh: {
|
|
610
|
-
...Object.assign({}, ...
|
|
788
|
+
...Object.assign({}, ...Fe.map((e) => e.zh.message))
|
|
611
789
|
},
|
|
612
790
|
en: {
|
|
613
|
-
...Object.assign({}, ...
|
|
791
|
+
...Object.assign({}, ...Fe.map((e) => e.en.message))
|
|
614
792
|
}
|
|
615
|
-
},
|
|
793
|
+
}, fo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
616
794
|
__proto__: null,
|
|
617
|
-
default:
|
|
618
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
795
|
+
default: ho
|
|
796
|
+
}, Symbol.toStringTag, { value: "Module" })), go = {
|
|
619
797
|
zh: {
|
|
620
798
|
message: {
|
|
621
799
|
msgtemplateCode: "模板代码",
|
|
@@ -635,10 +813,10 @@ const xe = {
|
|
|
635
813
|
xx: "xxx"
|
|
636
814
|
}
|
|
637
815
|
}
|
|
638
|
-
},
|
|
816
|
+
}, yo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
639
817
|
__proto__: null,
|
|
640
|
-
default:
|
|
641
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
818
|
+
default: go
|
|
819
|
+
}, Symbol.toStringTag, { value: "Module" })), wo = {
|
|
642
820
|
udp: {
|
|
643
821
|
dark: "深色",
|
|
644
822
|
light: "浅色",
|
|
@@ -712,6 +890,7 @@ const xe = {
|
|
|
712
890
|
currentValue: "当前值",
|
|
713
891
|
haveBeenUsed: "使用中",
|
|
714
892
|
description: "描述",
|
|
893
|
+
continuousAddition: "连续添加",
|
|
715
894
|
unitName: "单位名称",
|
|
716
895
|
unitCode: "单位编码",
|
|
717
896
|
unitNote: "单位介绍",
|
|
@@ -988,7 +1167,8 @@ const xe = {
|
|
|
988
1167
|
updatenow: "立即更新",
|
|
989
1168
|
newVersion: "检测到新版本",
|
|
990
1169
|
updateLater: "稍后更新",
|
|
991
|
-
confirmResetPassword: "确认重置密码吗?"
|
|
1170
|
+
confirmResetPassword: "确认重置密码吗?",
|
|
1171
|
+
dialog2Level: "弹框层级只支持2级"
|
|
992
1172
|
},
|
|
993
1173
|
title: {
|
|
994
1174
|
employeeInfo: "员工信息",
|
|
@@ -1007,7 +1187,7 @@ const xe = {
|
|
|
1007
1187
|
userInfo: "用户信息",
|
|
1008
1188
|
layoutRole: "【{name}】角色列表"
|
|
1009
1189
|
}
|
|
1010
|
-
},
|
|
1190
|
+
}, bo = {
|
|
1011
1191
|
udp: {
|
|
1012
1192
|
dark: "深色",
|
|
1013
1193
|
light: "浅色",
|
|
@@ -1289,67 +1469,67 @@ const xe = {
|
|
|
1289
1469
|
dictDispose: "dictDispose",
|
|
1290
1470
|
isSearch: "isSearch",
|
|
1291
1471
|
isCol: "isCol"
|
|
1292
|
-
},
|
|
1293
|
-
for (const e in
|
|
1294
|
-
|
|
1295
|
-
const
|
|
1472
|
+
}, $e = /* @__PURE__ */ Object.assign({ "./module/u-report.ts": uo, "./module/u-workflow.ts": fo, "./module/umsg.ts": yo }), X = {};
|
|
1473
|
+
for (const e in $e)
|
|
1474
|
+
X[e.replace(/(\.\/module\/|\.ts)/g, "")] = $e[e].default;
|
|
1475
|
+
const Ue = Object.keys(X).filter((e) => X[e]).map((e) => X[e]), To = {
|
|
1296
1476
|
zh: {
|
|
1297
|
-
...f.getItem(
|
|
1298
|
-
message:
|
|
1477
|
+
...f.getItem(Yt),
|
|
1478
|
+
message: be(wo, ...Ue.map((e) => e.zh.message))
|
|
1299
1479
|
},
|
|
1300
1480
|
en: {
|
|
1301
|
-
...f.getItem(
|
|
1302
|
-
message: Object.assign(
|
|
1481
|
+
...f.getItem(Qt),
|
|
1482
|
+
message: Object.assign(bo, ...Ue.map((e) => e.en.message))
|
|
1303
1483
|
}
|
|
1304
1484
|
};
|
|
1305
|
-
let
|
|
1306
|
-
function
|
|
1307
|
-
|
|
1485
|
+
let _ = null;
|
|
1486
|
+
function vo(e, t = { messages: {} }) {
|
|
1487
|
+
_ = qt({
|
|
1308
1488
|
legacy: !1,
|
|
1309
1489
|
locale: f.getItem(`${w()}locale`)?.locale ?? "zh",
|
|
1310
1490
|
fallbackLocale: "en",
|
|
1311
1491
|
globalInjection: !0,
|
|
1312
|
-
messages:
|
|
1313
|
-
}),
|
|
1492
|
+
messages: be(To, t.messages)
|
|
1493
|
+
}), I.setLanguage("zh-CN"), e.use(_);
|
|
1314
1494
|
}
|
|
1315
|
-
const
|
|
1316
|
-
function
|
|
1495
|
+
const ee = () => _;
|
|
1496
|
+
function ct(e = "", t = !0) {
|
|
1317
1497
|
if (!e)
|
|
1318
1498
|
return "";
|
|
1319
1499
|
if (typeof e == "object") {
|
|
1320
|
-
const o =
|
|
1500
|
+
const o = _.global.locale;
|
|
1321
1501
|
return e[o.value];
|
|
1322
1502
|
}
|
|
1323
|
-
return t ?
|
|
1503
|
+
return t ? _.global.t.call(_.global, e) : e;
|
|
1324
1504
|
}
|
|
1325
|
-
function
|
|
1326
|
-
return /* @__PURE__ */
|
|
1505
|
+
function Co(e, t) {
|
|
1506
|
+
return /* @__PURE__ */ q({
|
|
1327
1507
|
name: e,
|
|
1328
1508
|
components: {
|
|
1329
1509
|
asyncComponent: t
|
|
1330
1510
|
},
|
|
1331
1511
|
setup() {
|
|
1332
|
-
return () =>
|
|
1512
|
+
return () => Qe(me("async-component"), null, null);
|
|
1333
1513
|
}
|
|
1334
1514
|
});
|
|
1335
1515
|
}
|
|
1336
|
-
const
|
|
1337
|
-
function
|
|
1516
|
+
const So = () => import("./layoutView-DZHoQDH1.js"), ko = () => import("./frameView-f7Ya0Knj.js");
|
|
1517
|
+
function K(e) {
|
|
1338
1518
|
return e.forEach((t) => {
|
|
1339
1519
|
t?.meta?.rank === null && (t.meta.rank = void 0), t?.meta?.rank === 0 && t.name !== "home" && t.path !== "/" && console.warn("rank only the home page can be 0");
|
|
1340
1520
|
}), e.sort((t, o) => t?.meta?.rank - o?.meta?.rank);
|
|
1341
1521
|
}
|
|
1342
|
-
function
|
|
1343
|
-
const t =
|
|
1344
|
-
return t.forEach((o) => o.children && (o.children =
|
|
1522
|
+
function ut(e) {
|
|
1523
|
+
const t = V(e, !0).filter((o) => o && o.meta?.showLink !== !1);
|
|
1524
|
+
return t.forEach((o) => o.children && (o.children = ut(o.children))), t;
|
|
1345
1525
|
}
|
|
1346
|
-
function
|
|
1526
|
+
function ka(e, t, o = "path") {
|
|
1347
1527
|
function n(a, s, r) {
|
|
1348
1528
|
for (let i = 0; i < a.length; i++) {
|
|
1349
|
-
const
|
|
1350
|
-
if (
|
|
1351
|
-
if (!(!
|
|
1352
|
-
if (r.push(
|
|
1529
|
+
const l = a[i];
|
|
1530
|
+
if (l[o] === s) return r;
|
|
1531
|
+
if (!(!l.children || !l.children.length)) {
|
|
1532
|
+
if (r.push(l.path), n(l.children, s, r).length) return r;
|
|
1353
1533
|
r.pop();
|
|
1354
1534
|
}
|
|
1355
1535
|
}
|
|
@@ -1357,69 +1537,69 @@ function la(e, t, o = "path") {
|
|
|
1357
1537
|
}
|
|
1358
1538
|
return n(t, e, []);
|
|
1359
1539
|
}
|
|
1360
|
-
function
|
|
1540
|
+
function dt(e, t) {
|
|
1361
1541
|
let o = t.find((n) => n.path == e);
|
|
1362
1542
|
if (o)
|
|
1363
|
-
return
|
|
1543
|
+
return Pe(o) ? De(o) : o;
|
|
1364
1544
|
for (let n = 0; n < t.length; n++)
|
|
1365
|
-
if (t[n].children instanceof Array && t[n].children.length > 0 && (o =
|
|
1366
|
-
return
|
|
1545
|
+
if (t[n].children instanceof Array && t[n].children.length > 0 && (o = dt(e, t[n].children), o))
|
|
1546
|
+
return Pe(o) ? De(o) : o;
|
|
1367
1547
|
return null;
|
|
1368
1548
|
}
|
|
1369
|
-
function
|
|
1549
|
+
function xo() {
|
|
1370
1550
|
g.hasRoute("pathMatch") || g.addRoute({
|
|
1371
1551
|
path: "/:pathMatch(.*)",
|
|
1372
1552
|
name: "pathMatch",
|
|
1373
1553
|
redirect: "/error/404"
|
|
1374
1554
|
});
|
|
1375
1555
|
}
|
|
1376
|
-
function
|
|
1377
|
-
const e =
|
|
1378
|
-
e.global?.mergeLocaleMessage("zh",
|
|
1556
|
+
function Po() {
|
|
1557
|
+
const e = ee();
|
|
1558
|
+
e.global?.mergeLocaleMessage("zh", z.zh), e.global?.mergeLocaleMessage("en", z.en), f.setItem("menu_zh", z.zh), f.setItem("menu_en", z.en);
|
|
1379
1559
|
}
|
|
1380
|
-
function
|
|
1560
|
+
function je(e) {
|
|
1381
1561
|
if (e?.length) {
|
|
1382
1562
|
const t = e.findIndex((n) => n.menuCode === "SysHome");
|
|
1383
1563
|
if (t !== -1) {
|
|
1384
1564
|
const n = [], a = [];
|
|
1385
1565
|
e[t].children.forEach((s) => {
|
|
1386
1566
|
s.menuCategory !== "1" ? n.push(s) : a.push(s);
|
|
1387
|
-
}), e[t].children = a,
|
|
1567
|
+
}), e[t].children = a, F().setHomeMenus(n);
|
|
1388
1568
|
}
|
|
1389
|
-
const o =
|
|
1390
|
-
|
|
1569
|
+
const o = V(ft(e), !0);
|
|
1570
|
+
Po(), ae(o).map((n) => {
|
|
1391
1571
|
const { options: a } = g;
|
|
1392
|
-
a.routes[0].children.findIndex((s) => s.path === n.path) === -1 && (g.options.routes[0].children.push(n),
|
|
1572
|
+
a.routes[0].children.findIndex((s) => s.path === n.path) === -1 && (g.options.routes[0].children.push(n), K(g.options.routes[0].children), g.hasRoute(n?.name) || g.addRoute(n));
|
|
1393
1573
|
});
|
|
1394
1574
|
}
|
|
1395
|
-
b().changeSetting(e),
|
|
1396
|
-
...
|
|
1575
|
+
b().changeSetting(e), k().getMultiTagsCache || k().handleTags("equal", [
|
|
1576
|
+
...J,
|
|
1397
1577
|
...b().flatteningRoutes.filter((t) => t?.meta?.fixedTag)
|
|
1398
|
-
]),
|
|
1578
|
+
]), xo();
|
|
1399
1579
|
}
|
|
1400
|
-
async function
|
|
1580
|
+
async function Do(e) {
|
|
1401
1581
|
let t = [];
|
|
1402
1582
|
const o = `U-${e}-ROUTES`;
|
|
1403
|
-
return
|
|
1404
|
-
|
|
1583
|
+
return R().CachingAsyncRoutes && await le.getItem(o).then((n) => t = n), await ro().then(async (n) => {
|
|
1584
|
+
F().setSystemInfo(n), await H().get("/uums/cusOrganization", { pageSize: 100, pageNum: 1, orgId: n.orgId }).then((a) => F().setInvOrgList(a?.list || []));
|
|
1405
1585
|
}), t?.length ? new Promise((n) => {
|
|
1406
|
-
|
|
1407
|
-
|
|
1586
|
+
je(t), Ee({ userName: e }).then((a) => {
|
|
1587
|
+
le.setItem(o, a);
|
|
1408
1588
|
}), n(g);
|
|
1409
1589
|
}) : new Promise((n) => {
|
|
1410
|
-
|
|
1411
|
-
|
|
1590
|
+
Ee({ userName: e }).then((a) => {
|
|
1591
|
+
je(V(a, !0)), le.setItem(o, a), n(g);
|
|
1412
1592
|
});
|
|
1413
1593
|
});
|
|
1414
1594
|
}
|
|
1415
|
-
function
|
|
1595
|
+
function ae(e) {
|
|
1416
1596
|
if (e.length === 0) return e;
|
|
1417
|
-
let t =
|
|
1597
|
+
let t = we(e);
|
|
1418
1598
|
for (let o = 0; o < t.length; o++)
|
|
1419
1599
|
t[o].children && (t = t.slice(0, o + 1).concat(t[o].children, t.slice(o + 1)));
|
|
1420
1600
|
return t;
|
|
1421
1601
|
}
|
|
1422
|
-
function
|
|
1602
|
+
function mt(e) {
|
|
1423
1603
|
if (e.length === 0) return e;
|
|
1424
1604
|
const t = [];
|
|
1425
1605
|
return e.forEach((o) => {
|
|
@@ -1433,7 +1613,7 @@ function tt(e) {
|
|
|
1433
1613
|
}) : t[0].children.push({ ...o });
|
|
1434
1614
|
}), t;
|
|
1435
1615
|
}
|
|
1436
|
-
function
|
|
1616
|
+
function pt({ name: e }, t) {
|
|
1437
1617
|
switch (t) {
|
|
1438
1618
|
case "add":
|
|
1439
1619
|
b().cacheOperate({ mode: "add", name: e });
|
|
@@ -1445,84 +1625,84 @@ function ot({ name: e }, t) {
|
|
|
1445
1625
|
b().cacheOperate({ mode: "refresh", name: e });
|
|
1446
1626
|
break;
|
|
1447
1627
|
default:
|
|
1448
|
-
b().cacheOperate({ mode: "delete", name: e }),
|
|
1628
|
+
b().cacheOperate({ mode: "delete", name: e }), _t(() => {
|
|
1449
1629
|
b().cacheOperate({ mode: "add", name: e });
|
|
1450
1630
|
}, 100);
|
|
1451
1631
|
}
|
|
1452
1632
|
}
|
|
1453
|
-
const
|
|
1633
|
+
const z = {
|
|
1454
1634
|
zh: {},
|
|
1455
1635
|
en: {}
|
|
1456
|
-
},
|
|
1457
|
-
const t =
|
|
1636
|
+
}, ht = [], ft = (e) => {
|
|
1637
|
+
const t = Go();
|
|
1458
1638
|
if (!e || !e.length) return;
|
|
1459
1639
|
const o = Object.keys(t);
|
|
1460
1640
|
for (let n = 0; n < e.length; n++) {
|
|
1461
1641
|
const a = e[n];
|
|
1462
1642
|
a?.children && a.children.length && !a.redirect && (a.redirect = a.children[0].path);
|
|
1463
|
-
const { icon: s, permissionCode: r, extraIcon: i, frameSrc:
|
|
1464
|
-
if (a.isApprovalPage === "Y" &&
|
|
1643
|
+
const { icon: s, permissionCode: r, extraIcon: i, frameSrc: l } = a;
|
|
1644
|
+
if (a.isApprovalPage === "Y" && ht.push(a), a.meta = {
|
|
1465
1645
|
keepAlive: !0,
|
|
1466
1646
|
rank: a.sort,
|
|
1467
1647
|
title: `${a.i18nField}`,
|
|
1468
1648
|
// 审批流设计页面和审批页面的code写死,只需配置页面即可(保底方式)
|
|
1469
1649
|
// showLink: !['UDPFlowTask'].includes(v.menuCode) ? null : false
|
|
1470
1650
|
showLink: a.showLink !== "N"
|
|
1471
|
-
}, a.hiddenTag = null, Object.assign(a.meta, { icon: s, permissionCode: r, extraIcon: i, frameSrc:
|
|
1472
|
-
a.component =
|
|
1651
|
+
}, a.hiddenTag = null, Object.assign(a.meta, { icon: s, permissionCode: r, extraIcon: i, frameSrc: l }), z.zh[a.i18nField] = a.menuName || a.menuNameEn, z.en[a.i18nField] = a.menuNameEn || a.menuName, a.name = a.menuCode || a.name, a.path = a.menuPath || a.path, !a.parentId)
|
|
1652
|
+
a.component = So;
|
|
1473
1653
|
else if (a.meta?.frameSrc)
|
|
1474
|
-
a.component =
|
|
1654
|
+
a.component = ko;
|
|
1475
1655
|
else if (a.menuCategory === "10") {
|
|
1476
|
-
const
|
|
1477
|
-
a.component =
|
|
1656
|
+
const d = o.findIndex((u) => u.includes("lowcode-contain"));
|
|
1657
|
+
a.component = Co(
|
|
1478
1658
|
a.name,
|
|
1479
|
-
|
|
1659
|
+
Pt(() => import(
|
|
1480
1660
|
/* @vite-ignore */
|
|
1481
|
-
o[
|
|
1661
|
+
o[d]
|
|
1482
1662
|
))
|
|
1483
1663
|
), Object.assign(a.meta, { moduleType: a.moduleType });
|
|
1484
1664
|
} else if (a.menuCategory !== "5") {
|
|
1485
|
-
const
|
|
1486
|
-
if (a.component = t[o[
|
|
1665
|
+
const d = o.findIndex((u) => u.includes(a.path));
|
|
1666
|
+
if (a.component = t[o[d]], a.menuName.includes("电梯类别对应类型"), a.menuCategory === "3" && a.name.includes("${access_token}")) {
|
|
1487
1667
|
let u = a.name;
|
|
1488
|
-
const y = JSON.parse(
|
|
1668
|
+
const y = JSON.parse(S.get(ot));
|
|
1489
1669
|
u = a.name.replace("${access_token}", y.accessToken), u = a.name.includes("${refresh_token}") ? u.replace("${refresh_token}", y.refreshToken) : u, u = a.name.includes("${expires_in}") ? u.replace("${expires_in}", y.expires) : u, a.name = u;
|
|
1490
1670
|
}
|
|
1491
1671
|
}
|
|
1492
|
-
a?.children && a.children.length ?
|
|
1672
|
+
a?.children && a.children.length ? ft(a.children) : delete a.children;
|
|
1493
1673
|
}
|
|
1494
1674
|
return e;
|
|
1495
1675
|
};
|
|
1496
|
-
function
|
|
1497
|
-
const o =
|
|
1676
|
+
function Io(e, t = !0) {
|
|
1677
|
+
const o = k().multiTags.findIndex((n) => {
|
|
1498
1678
|
if (e.query) {
|
|
1499
1679
|
if (e.path === n.path)
|
|
1500
1680
|
return e.query === n.query;
|
|
1501
1681
|
} else
|
|
1502
1682
|
return e.path === n.path;
|
|
1503
1683
|
});
|
|
1504
|
-
if (
|
|
1505
|
-
const n =
|
|
1684
|
+
if (k().handleTags("splice", "", { startIndex: o, length: 1 }), pt(e.matched, "delete"), t) {
|
|
1685
|
+
const n = k().handleTags("slice");
|
|
1506
1686
|
g.push({
|
|
1507
1687
|
path: n[0].path,
|
|
1508
1688
|
query: n[0].query
|
|
1509
1689
|
});
|
|
1510
1690
|
}
|
|
1511
1691
|
}
|
|
1512
|
-
function
|
|
1692
|
+
function Lo(e) {
|
|
1513
1693
|
return e?.children && e.children.length > 1 ? e.redirect ? e.children.filter((t) => t.path === e.redirect)[0] : e.children[0] : e;
|
|
1514
1694
|
}
|
|
1515
|
-
function
|
|
1516
|
-
const t =
|
|
1517
|
-
return e &&
|
|
1695
|
+
function xa(e = !1) {
|
|
1696
|
+
const t = Lo(b().wholeMenus[0]?.children[0]);
|
|
1697
|
+
return e && k().handleTags("push", t), t;
|
|
1518
1698
|
}
|
|
1519
|
-
function
|
|
1520
|
-
return
|
|
1699
|
+
function Ro() {
|
|
1700
|
+
return ht;
|
|
1521
1701
|
}
|
|
1522
|
-
const
|
|
1702
|
+
const No = () => import("./layoutView-DZHoQDH1.js"), Mo = {
|
|
1523
1703
|
path: "/",
|
|
1524
1704
|
name: "home",
|
|
1525
|
-
component:
|
|
1705
|
+
component: No,
|
|
1526
1706
|
redirect: "/welcome",
|
|
1527
1707
|
meta: {
|
|
1528
1708
|
icon: "home-filled",
|
|
@@ -1533,17 +1713,17 @@ const wo = () => import("./layoutView-25v_ngk5.js"), bo = {
|
|
|
1533
1713
|
{
|
|
1534
1714
|
path: "/welcome",
|
|
1535
1715
|
name: "UdpWelcome",
|
|
1536
|
-
component: () => import("./su-welcome-
|
|
1716
|
+
component: () => import("./su-welcome-DaxhbrC6.js"),
|
|
1537
1717
|
meta: {
|
|
1538
1718
|
title: "message.udp.home",
|
|
1539
1719
|
keepAlive: !0
|
|
1540
1720
|
}
|
|
1541
1721
|
}
|
|
1542
1722
|
]
|
|
1543
|
-
},
|
|
1723
|
+
}, Oo = () => import("./layoutView-DZHoQDH1.js"), Eo = {
|
|
1544
1724
|
path: "/error",
|
|
1545
1725
|
name: "error",
|
|
1546
|
-
component:
|
|
1726
|
+
component: Oo,
|
|
1547
1727
|
redirect: "/error/403",
|
|
1548
1728
|
meta: {
|
|
1549
1729
|
showLink: !1,
|
|
@@ -1555,17 +1735,17 @@ const wo = () => import("./layoutView-25v_ngk5.js"), bo = {
|
|
|
1555
1735
|
{
|
|
1556
1736
|
path: "/error/403",
|
|
1557
1737
|
name: "403",
|
|
1558
|
-
component: () => import("./403-
|
|
1738
|
+
component: () => import("./403-CyoOD-Ik.js"),
|
|
1559
1739
|
meta: {
|
|
1560
1740
|
title: "message.udp.fourZeroThree"
|
|
1561
1741
|
}
|
|
1562
1742
|
}
|
|
1563
1743
|
]
|
|
1564
|
-
},
|
|
1744
|
+
}, Ao = () => import("./layoutView-DZHoQDH1.js"), W = [
|
|
1565
1745
|
{
|
|
1566
1746
|
path: "/login",
|
|
1567
1747
|
name: "login",
|
|
1568
|
-
component: () => import("./login-
|
|
1748
|
+
component: () => import("./login-B8cwozax.js"),
|
|
1569
1749
|
meta: {
|
|
1570
1750
|
title: "message.udp.login",
|
|
1571
1751
|
showLink: !1
|
|
@@ -1574,7 +1754,7 @@ const wo = () => import("./layoutView-25v_ngk5.js"), bo = {
|
|
|
1574
1754
|
{
|
|
1575
1755
|
path: "/error/404",
|
|
1576
1756
|
name: "404",
|
|
1577
|
-
component: () => import("./404-
|
|
1757
|
+
component: () => import("./404-Ch_OHTw0.js"),
|
|
1578
1758
|
meta: {
|
|
1579
1759
|
title: "message.udp.fourZeroFour",
|
|
1580
1760
|
showLink: !1
|
|
@@ -1583,7 +1763,7 @@ const wo = () => import("./layoutView-25v_ngk5.js"), bo = {
|
|
|
1583
1763
|
{
|
|
1584
1764
|
path: "/error/500",
|
|
1585
1765
|
name: "500",
|
|
1586
|
-
component: () => import("./500-
|
|
1766
|
+
component: () => import("./500-Cf9am7HK.js"),
|
|
1587
1767
|
meta: {
|
|
1588
1768
|
title: "message.udp.five",
|
|
1589
1769
|
showLink: !1
|
|
@@ -1592,7 +1772,7 @@ const wo = () => import("./layoutView-25v_ngk5.js"), bo = {
|
|
|
1592
1772
|
{
|
|
1593
1773
|
path: "/redirect",
|
|
1594
1774
|
name: "redirect",
|
|
1595
|
-
component:
|
|
1775
|
+
component: Ao,
|
|
1596
1776
|
meta: {
|
|
1597
1777
|
icon: "home-filled",
|
|
1598
1778
|
title: "message.udp.home",
|
|
@@ -1608,8 +1788,8 @@ const wo = () => import("./layoutView-25v_ngk5.js"), bo = {
|
|
|
1608
1788
|
}
|
|
1609
1789
|
]
|
|
1610
1790
|
}
|
|
1611
|
-
],
|
|
1612
|
-
component:
|
|
1791
|
+
], Fo = () => import("./layoutView-DZHoQDH1.js"), $o = {
|
|
1792
|
+
component: Fo,
|
|
1613
1793
|
path: "/utask",
|
|
1614
1794
|
redirect: "/utask/task/flow-task",
|
|
1615
1795
|
meta: {
|
|
@@ -1631,93 +1811,93 @@ const wo = () => import("./layoutView-25v_ngk5.js"), bo = {
|
|
|
1631
1811
|
}
|
|
1632
1812
|
}
|
|
1633
1813
|
]
|
|
1634
|
-
},
|
|
1635
|
-
"../views/organization/company/Company.vue": () => import("./Company-
|
|
1636
|
-
"../views/organization/company/CompanyPanel.vue": () => import("./CompanyPanel-
|
|
1637
|
-
"../views/organization/department/Department.vue": () => import("./Department-
|
|
1638
|
-
"../views/organization/department/DepartmentPanel.vue": () => import("./DepartmentPanel-
|
|
1639
|
-
"../views/organization/inv-org/InvOrganization.vue": () => import("./InvOrganization-
|
|
1640
|
-
"../views/organization/org/Org.vue": () => import("./Org-
|
|
1641
|
-
"../views/organization/staff/Staff.vue": () => import("./Staff-
|
|
1642
|
-
"../views/organization/staff/StaffInfo.vue": () => import("./StaffInfo-
|
|
1643
|
-
"../views/organization/staff/StaffPanel.vue": () => import("./StaffPanel-
|
|
1644
|
-
"../views/system/cron/cron-task.vue": () => import("./cron-task-
|
|
1645
|
-
"../views/system/layout/layout-home.vue": () => import("./layout-home-
|
|
1814
|
+
}, Uo = /* @__PURE__ */ Object.assign({
|
|
1815
|
+
"../views/organization/company/Company.vue": () => import("./Company-qo-lKPkv.js"),
|
|
1816
|
+
"../views/organization/company/CompanyPanel.vue": () => import("./CompanyPanel-DkKWAKvY.js"),
|
|
1817
|
+
"../views/organization/department/Department.vue": () => import("./Department-CHUQByKX.js"),
|
|
1818
|
+
"../views/organization/department/DepartmentPanel.vue": () => import("./DepartmentPanel-C742dfOO.js"),
|
|
1819
|
+
"../views/organization/inv-org/InvOrganization.vue": () => import("./InvOrganization-Cz8SzIgs.js"),
|
|
1820
|
+
"../views/organization/org/Org.vue": () => import("./Org-Bzt6yKox.js"),
|
|
1821
|
+
"../views/organization/staff/Staff.vue": () => import("./Staff-D3L8fEoY.js"),
|
|
1822
|
+
"../views/organization/staff/StaffInfo.vue": () => import("./StaffInfo-DYRw6ZYJ.js"),
|
|
1823
|
+
"../views/organization/staff/StaffPanel.vue": () => import("./StaffPanel-DkrNH6Px.js"),
|
|
1824
|
+
"../views/system/cron/cron-task.vue": () => import("./cron-task-BFOPJQIk.js"),
|
|
1825
|
+
"../views/system/layout/layout-home.vue": () => import("./layout-home-v3DPJ7rB.js"),
|
|
1646
1826
|
"../views/system/menu/AuthorityPanel.vue": () => import("./AuthorityPanel-lVnZ5bce.js"),
|
|
1647
|
-
"../views/system/menu/SystemMenu.vue": () => import("./SystemMenu-
|
|
1648
|
-
"../views/system/menu/menuInfo.vue": () => import("./menuInfo-
|
|
1649
|
-
"../views/system/role-assign/RoleAssign.vue": () => import("./RoleAssign-
|
|
1650
|
-
"../views/system/role-assign/RolePanel.vue": () => import("./RolePanel-
|
|
1651
|
-
"../views/system/role/AuthorityInfo.vue": () => import("./AuthorityInfo-
|
|
1652
|
-
"../views/system/role/Role.vue": () => import("./Role-
|
|
1653
|
-
"../views/system/role/RolePanel.vue": () => import("./RolePanel-
|
|
1654
|
-
"../views/system/role/UserInfo.vue": () => import("./UserInfo-
|
|
1655
|
-
"../views/system/sys/sys-config.vue": () => import("./sys-config-
|
|
1656
|
-
"../views/system/sysUser/SysUser.vue": () => import("./SysUser-
|
|
1657
|
-
"../views/system/sysUser/SysUserPanel.vue": () => import("./SysUserPanel-
|
|
1658
|
-
"../views/uapp/pda/pda-app.vue": () => import("./pda-app-
|
|
1659
|
-
"../views/udev/coderule/code-rule.vue": () => import("./code-rule-
|
|
1660
|
-
"../views/udev/dict/DictView.vue": () => import("./DictView-
|
|
1661
|
-
"../views/udev/dict/childView.vue": () => import("./childView-
|
|
1662
|
-
"../views/udev/lov/childView.vue": () => import("./childView-
|
|
1663
|
-
"../views/udev/lov/lov-view.vue": () => import("./lov-view-
|
|
1827
|
+
"../views/system/menu/SystemMenu.vue": () => import("./SystemMenu-C4_Arn12.js"),
|
|
1828
|
+
"../views/system/menu/menuInfo.vue": () => import("./menuInfo-BpRKFYK8.js"),
|
|
1829
|
+
"../views/system/role-assign/RoleAssign.vue": () => import("./RoleAssign-BdxhefhQ.js"),
|
|
1830
|
+
"../views/system/role-assign/RolePanel.vue": () => import("./RolePanel-2gZ3H0ET.js"),
|
|
1831
|
+
"../views/system/role/AuthorityInfo.vue": () => import("./AuthorityInfo-BJ427cqG.js"),
|
|
1832
|
+
"../views/system/role/Role.vue": () => import("./Role-DqOt8Bk0.js"),
|
|
1833
|
+
"../views/system/role/RolePanel.vue": () => import("./RolePanel-BsNd0svJ.js"),
|
|
1834
|
+
"../views/system/role/UserInfo.vue": () => import("./UserInfo-QcNwJCUR.js"),
|
|
1835
|
+
"../views/system/sys/sys-config.vue": () => import("./sys-config-CG2fMtak.js"),
|
|
1836
|
+
"../views/system/sysUser/SysUser.vue": () => import("./SysUser-Bl1-cIpJ.js"),
|
|
1837
|
+
"../views/system/sysUser/SysUserPanel.vue": () => import("./SysUserPanel-yxNLaBwt.js"),
|
|
1838
|
+
"../views/uapp/pda/pda-app.vue": () => import("./pda-app-C0jJecrL.js"),
|
|
1839
|
+
"../views/udev/coderule/code-rule.vue": () => import("./code-rule-2_Ihx_by.js"),
|
|
1840
|
+
"../views/udev/dict/DictView.vue": () => import("./DictView-CrFXprP9.js"),
|
|
1841
|
+
"../views/udev/dict/childView.vue": () => import("./childView-saDZQv9x.js"),
|
|
1842
|
+
"../views/udev/lov/childView.vue": () => import("./childView-B23DEO2u.js"),
|
|
1843
|
+
"../views/udev/lov/lov-view.vue": () => import("./lov-view-Ba7Y7xy0.js"),
|
|
1664
1844
|
"../views/udev/wx/wecom-push.vue": () => import("./wecom-push-B75FLee5.js"),
|
|
1665
|
-
"../views/upms/interface/log-in.vue": () => import("./log-in-
|
|
1666
|
-
"../views/upms/interface/log-out.vue": () => import("./log-out-
|
|
1845
|
+
"../views/upms/interface/log-in.vue": () => import("./log-in-BPAMJTwH.js"),
|
|
1846
|
+
"../views/upms/interface/log-out.vue": () => import("./log-out-DZACF0jg.js"),
|
|
1667
1847
|
"../views/upms/user/login-log.vue": () => import("./login-log-CVvRgZSu.js"),
|
|
1668
1848
|
"../views/urpt/dataSet/DataSet.vue": () => import("./DataSet-iBHzs75s.js"),
|
|
1669
|
-
"../views/urpt/design/DesignPanel.vue": () => import("./DesignPanel-
|
|
1670
|
-
"../views/urpt/design/Preview.vue": () => import("./Preview-
|
|
1671
|
-
"../views/urpt/design/ReportDesign.vue": () => import("./ReportDesign-
|
|
1672
|
-
"../views/urpt/query/ReportQuery.vue": () => import("./ReportQuery-
|
|
1673
|
-
"../views/urpt/query/ReportQueryFrom.vue": () => import("./ReportQueryFrom-
|
|
1674
|
-
"../views/urpt/report-request/ReportDefine.vue": () => import("./ReportDefine-
|
|
1675
|
-
"../views/urpt/static-resource/resource.vue": () => import("./resource-
|
|
1676
|
-
"../views/urpt/template/ReportTemplate.vue": () => import("./ReportTemplate-
|
|
1677
|
-
}),
|
|
1678
|
-
|
|
1679
|
-
),
|
|
1680
|
-
function
|
|
1681
|
-
|
|
1849
|
+
"../views/urpt/design/DesignPanel.vue": () => import("./DesignPanel-D9oE5R7m.js"),
|
|
1850
|
+
"../views/urpt/design/Preview.vue": () => import("./Preview-jonigfMQ.js"),
|
|
1851
|
+
"../views/urpt/design/ReportDesign.vue": () => import("./ReportDesign-fp09cXJ7.js"),
|
|
1852
|
+
"../views/urpt/query/ReportQuery.vue": () => import("./ReportQuery-52ZP1PYP.js"),
|
|
1853
|
+
"../views/urpt/query/ReportQueryFrom.vue": () => import("./ReportQueryFrom-DSYavJb1.js"),
|
|
1854
|
+
"../views/urpt/report-request/ReportDefine.vue": () => import("./ReportDefine-BpiM5Ovq.js"),
|
|
1855
|
+
"../views/urpt/static-resource/resource.vue": () => import("./resource-BG22Cw4P.js"),
|
|
1856
|
+
"../views/urpt/template/ReportTemplate.vue": () => import("./ReportTemplate-CA_UW0eD.js")
|
|
1857
|
+
}), jo = W, Te = [Mo, Eo, $o], zo = mt(
|
|
1858
|
+
ae(we(K(Te)))
|
|
1859
|
+
), _o = K(Te).concat(...W), Pa = Object.keys(W).map((e) => W[e].path), qo = /* @__PURE__ */ new Set();
|
|
1860
|
+
function Bo() {
|
|
1861
|
+
qo.clear();
|
|
1682
1862
|
}
|
|
1683
|
-
function
|
|
1863
|
+
function Vo() {
|
|
1684
1864
|
g.getRoutes().forEach((e) => {
|
|
1685
1865
|
const { name: t, meta: o } = e;
|
|
1686
|
-
t && g.hasRoute(t) && o?.backstage && (g.removeRoute(t), g.options.routes =
|
|
1687
|
-
}), b().clearAllCachePage(),
|
|
1866
|
+
t && g.hasRoute(t) && o?.backstage && (g.removeRoute(t), g.options.routes = mt(ae(we(K(Te)))));
|
|
1867
|
+
}), b().clearAllCachePage(), Bo();
|
|
1688
1868
|
}
|
|
1689
|
-
let
|
|
1690
|
-
function
|
|
1691
|
-
|
|
1869
|
+
let fe = null, g = null;
|
|
1870
|
+
function Wo(e, t) {
|
|
1871
|
+
fe = e, g = t, Object.assign(fe, Uo);
|
|
1692
1872
|
}
|
|
1693
|
-
function
|
|
1694
|
-
return
|
|
1873
|
+
function Go() {
|
|
1874
|
+
return fe;
|
|
1695
1875
|
}
|
|
1696
|
-
const
|
|
1697
|
-
const o =
|
|
1876
|
+
const Ho = ["/login"], Jo = (e, t) => {
|
|
1877
|
+
const o = S.get(nt), n = Ze(e?.name);
|
|
1698
1878
|
function a() {
|
|
1699
|
-
return
|
|
1879
|
+
return Ho.includes(e.fullPath) ? t.fullPath : void 0;
|
|
1700
1880
|
}
|
|
1701
1881
|
if (t?.name && t?.name !== "login") {
|
|
1702
1882
|
const s = e.matched.find((r) => r.path === e.path || r.name === e.name && e.params)?.components;
|
|
1703
1883
|
if (n)
|
|
1704
|
-
|
|
1884
|
+
Mt(e?.name), Z?.done();
|
|
1705
1885
|
else if (s?.default || e.name === "redirect")
|
|
1706
1886
|
a();
|
|
1707
1887
|
else
|
|
1708
1888
|
return { path: "/error/404" };
|
|
1709
1889
|
} else
|
|
1710
|
-
b().wholeMenus.length === 0 &&
|
|
1711
|
-
if (!
|
|
1712
|
-
const { path: r } = e,
|
|
1713
|
-
if (
|
|
1714
|
-
const { path: u, name: y, meta:
|
|
1715
|
-
|
|
1890
|
+
b().wholeMenus.length === 0 && Do(o).then((s) => {
|
|
1891
|
+
if (!k().getMultiTagsCache) {
|
|
1892
|
+
const { path: r } = e, l = Ft(W, (u) => u.path === r) === -1 ? s.options.routes[0].children : s.options.routes, d = dt(r, l);
|
|
1893
|
+
if (d && d.meta?.title) {
|
|
1894
|
+
const { path: u, name: y, meta: N } = d;
|
|
1895
|
+
k().handleTags("push", { path: u, name: y, meta: N });
|
|
1716
1896
|
}
|
|
1717
1897
|
}
|
|
1718
|
-
|
|
1898
|
+
$t(e.name) && s.push(e.fullPath);
|
|
1719
1899
|
}), t.fullPath === "/" && e.fullPath === "/login" && !e.query?.tokenExpire ? (e.path = "/welcome", e.fullPath = "/welcome", e.name = "UdpWelcome") : t.fullPath === "/" && e.path === "/workflow/approve/index" && (e.path = "/welcome", e.fullPath = "/welcome", e.name = "UdpWelcome", e.query = {}), a();
|
|
1720
|
-
},
|
|
1900
|
+
}, Y = {
|
|
1721
1901
|
onBeforeLogined: () => {
|
|
1722
1902
|
},
|
|
1723
1903
|
onLogined: () => {
|
|
@@ -1726,40 +1906,40 @@ const Eo = ["/login"], Ao = (e, t) => {
|
|
|
1726
1906
|
},
|
|
1727
1907
|
onAfterLogout: () => {
|
|
1728
1908
|
}
|
|
1729
|
-
},
|
|
1730
|
-
|
|
1731
|
-
},
|
|
1732
|
-
|
|
1733
|
-
},
|
|
1734
|
-
|
|
1735
|
-
},
|
|
1736
|
-
|
|
1737
|
-
},
|
|
1909
|
+
}, Da = () => {
|
|
1910
|
+
Y.onBeforeLogined();
|
|
1911
|
+
}, Ia = () => {
|
|
1912
|
+
Y.onLogined();
|
|
1913
|
+
}, La = () => {
|
|
1914
|
+
Y.onBeforeLogout();
|
|
1915
|
+
}, Ra = () => {
|
|
1916
|
+
Y.onAfterLogout();
|
|
1917
|
+
}, Ko = (e, t) => {
|
|
1738
1918
|
const o = [];
|
|
1739
1919
|
for (const n of e)
|
|
1740
1920
|
n[t] && o.push(n[t]);
|
|
1741
1921
|
return Array.from(new Set(o));
|
|
1742
|
-
},
|
|
1922
|
+
}, gt = (e) => {
|
|
1743
1923
|
const t = e.replace("#", "").match(/../g);
|
|
1744
1924
|
for (let o = 0; o < 3; o++) t[o] = parseInt(t[o], 16);
|
|
1745
1925
|
return t;
|
|
1746
|
-
},
|
|
1926
|
+
}, yt = (e, t, o) => {
|
|
1747
1927
|
const n = [e.toString(16), t.toString(16), o.toString(16)];
|
|
1748
1928
|
for (let a = 0; a < 3; a++)
|
|
1749
1929
|
n[a].length == 1 && (n[a] = `0${n[a]}`);
|
|
1750
1930
|
return `#${n.join("")}`;
|
|
1751
|
-
},
|
|
1752
|
-
const o =
|
|
1931
|
+
}, Yo = (e, t) => {
|
|
1932
|
+
const o = gt(e);
|
|
1753
1933
|
for (let n = 0; n < 3; n++) o[n] = Math.floor(o[n] * (1 - t));
|
|
1754
|
-
return
|
|
1755
|
-
},
|
|
1756
|
-
const o =
|
|
1934
|
+
return yt(o[0], o[1], o[2]);
|
|
1935
|
+
}, Qo = (e, t) => {
|
|
1936
|
+
const o = gt(e);
|
|
1757
1937
|
for (let n = 0; n < 3; n++) o[n] = Math.floor((255 - o[n]) * t + o[n]);
|
|
1758
|
-
return
|
|
1759
|
-
},
|
|
1938
|
+
return yt(o[0], o[1], o[2]);
|
|
1939
|
+
}, Zo = G("udp-permission", {
|
|
1760
1940
|
state: () => ({
|
|
1761
1941
|
// 静态路由生成的菜单
|
|
1762
|
-
constantMenus:
|
|
1942
|
+
constantMenus: _o,
|
|
1763
1943
|
// 整体路由生成的菜单(静态、动态)
|
|
1764
1944
|
wholeMenus: [],
|
|
1765
1945
|
// 深拷贝一个菜单树,与导航菜单不冲突
|
|
@@ -1778,12 +1958,12 @@ const Eo = ["/login"], Ao = (e, t) => {
|
|
|
1778
1958
|
actions: {
|
|
1779
1959
|
asyncActionRoutes(e = []) {
|
|
1780
1960
|
if (this.wholeMenus.length > 0) return;
|
|
1781
|
-
const t =
|
|
1961
|
+
const t = Ut(e, (n) => n.menuCode === "SysHome"), o = V(this.constantMenus, !0);
|
|
1782
1962
|
if (t !== -1) {
|
|
1783
1963
|
const n = this.constantMenus.find((a) => a.name === "home");
|
|
1784
1964
|
e[t].children && n.children.push(...e[t].children), e.splice(t, 1);
|
|
1785
1965
|
}
|
|
1786
|
-
this.wholeMenus =
|
|
1966
|
+
this.wholeMenus = ut(K(this.constantMenus.concat(e))), this.flatteningRoutes = ae(this.constantMenus.concat(e)), this.menusTree = V(this.wholeMenus, !0), this.constantMenus = o;
|
|
1787
1967
|
},
|
|
1788
1968
|
async changeSetting(e) {
|
|
1789
1969
|
await this.asyncActionRoutes(e);
|
|
@@ -1797,7 +1977,7 @@ const Eo = ["/login"], Ao = (e, t) => {
|
|
|
1797
1977
|
/** 监听缓存页面是否存在于标签页,不存在则删除 */
|
|
1798
1978
|
clearCache() {
|
|
1799
1979
|
let e = this.cachePageList.length;
|
|
1800
|
-
const t =
|
|
1980
|
+
const t = Ko(k().multiTags, "name");
|
|
1801
1981
|
for (; e > 0; )
|
|
1802
1982
|
t.findIndex((o) => o === this.cachePageList[e - 1]) === -1 && this.cachePageList.splice(this.cachePageList.indexOf(this.cachePageList[e - 1]), 1), e--;
|
|
1803
1983
|
},
|
|
@@ -1825,9 +2005,9 @@ const Eo = ["/login"], Ao = (e, t) => {
|
|
|
1825
2005
|
}
|
|
1826
2006
|
});
|
|
1827
2007
|
function b() {
|
|
1828
|
-
return
|
|
2008
|
+
return Zo($);
|
|
1829
2009
|
}
|
|
1830
|
-
const
|
|
2010
|
+
const Xo = G("udp-system", {
|
|
1831
2011
|
state: () => ({
|
|
1832
2012
|
baseURL: "",
|
|
1833
2013
|
userInfo: {},
|
|
@@ -1960,41 +2140,41 @@ const jo = B("udp-system", {
|
|
|
1960
2140
|
orgId: e.orgId,
|
|
1961
2141
|
organizationId: e.organizationId
|
|
1962
2142
|
};
|
|
1963
|
-
|
|
2143
|
+
S.set("kCookies_param", JSON.stringify(o)), this.isAdminRole = this.employee.sysRoles.some((n) => n.roleCode === "admin" || ["管理员"].includes(n.roleName)), b().setAuthButton(e.dataMenus);
|
|
1964
2144
|
}
|
|
1965
2145
|
}
|
|
1966
2146
|
});
|
|
1967
|
-
function
|
|
1968
|
-
return
|
|
2147
|
+
function F() {
|
|
2148
|
+
return Xo($);
|
|
1969
2149
|
}
|
|
1970
|
-
const
|
|
2150
|
+
const en = q({
|
|
1971
2151
|
name: "app",
|
|
1972
2152
|
components: {
|
|
1973
|
-
[
|
|
2153
|
+
[Le.name]: Le
|
|
1974
2154
|
},
|
|
1975
2155
|
computed: {
|
|
1976
2156
|
currentLocale() {
|
|
1977
|
-
return this.$storage?.locale?.locale === "zh" ?
|
|
2157
|
+
return this.$storage?.locale?.locale === "zh" ? Ht : Gt;
|
|
1978
2158
|
}
|
|
1979
2159
|
},
|
|
1980
2160
|
async beforeCreate() {
|
|
1981
|
-
await
|
|
2161
|
+
await H().get("/upfm/v1/sysConfig", {}).then((e) => {
|
|
1982
2162
|
const t = {};
|
|
1983
2163
|
e.list?.forEach((n) => {
|
|
1984
|
-
t[n.configCode] = n.configValue, n.fileName && (t[n.configCode] =
|
|
2164
|
+
t[n.configCode] = n.configValue, n.fileName && (t[n.configCode] = C() + "/ufil" + n.configValue);
|
|
1985
2165
|
});
|
|
1986
2166
|
const o = e.list?.find((n) => n.configCode === "title")?.configValue;
|
|
1987
|
-
t.title = o || "U-DP", f.setItem(
|
|
2167
|
+
t.title = o || "U-DP", f.setItem(Xt, t), t.releaseNote !== !1 && this.pollingVersion(t.title);
|
|
1988
2168
|
});
|
|
1989
2169
|
},
|
|
1990
2170
|
mounted() {
|
|
1991
|
-
|
|
2171
|
+
it().then((e) => F().setDict(e));
|
|
1992
2172
|
},
|
|
1993
2173
|
methods: {
|
|
1994
2174
|
// / 版本实时更新检测,只作用于线上环境
|
|
1995
2175
|
pollingVersion(e) {
|
|
1996
|
-
const t =
|
|
1997
|
-
|
|
2176
|
+
const t = U().VITE_ROUTER_HISTORY;
|
|
2177
|
+
Nt(
|
|
1998
2178
|
{
|
|
1999
2179
|
pollingTime: 3e5,
|
|
2000
2180
|
checkOriginSpecifiedFilesUrl: [`${location.origin}${t ? `/${t}` : ""}/index.html`],
|
|
@@ -2009,98 +2189,98 @@ const zo = _({
|
|
|
2009
2189
|
);
|
|
2010
2190
|
}
|
|
2011
2191
|
}
|
|
2012
|
-
}),
|
|
2192
|
+
}), tn = (e, t) => {
|
|
2013
2193
|
const o = e.__vccOpts || e;
|
|
2014
2194
|
for (const [n, a] of t)
|
|
2015
2195
|
o[n] = a;
|
|
2016
2196
|
return o;
|
|
2017
2197
|
};
|
|
2018
|
-
function
|
|
2019
|
-
const r =
|
|
2020
|
-
return
|
|
2198
|
+
function on(e, t, o, n, a, s) {
|
|
2199
|
+
const r = me("router-view"), i = me("el-config-provider");
|
|
2200
|
+
return Dt(), It(i, {
|
|
2021
2201
|
size: "small",
|
|
2022
2202
|
"z-index": 5555,
|
|
2023
2203
|
locale: e.currentLocale
|
|
2024
2204
|
}, {
|
|
2025
|
-
default:
|
|
2026
|
-
|
|
2205
|
+
default: Lt(() => [
|
|
2206
|
+
Qe(r)
|
|
2027
2207
|
]),
|
|
2028
2208
|
_: 1
|
|
2029
2209
|
}, 8, ["locale"]);
|
|
2030
2210
|
}
|
|
2031
|
-
const
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
const
|
|
2211
|
+
const nn = /* @__PURE__ */ tn(en, [["render", on]]);
|
|
2212
|
+
Ot(et, { serviceApi: H(), i18n: ct });
|
|
2213
|
+
ln();
|
|
2214
|
+
const an = {
|
|
2035
2215
|
// 对组件内置的提示语进行国际化翻译
|
|
2036
2216
|
// @ts-ignore
|
|
2037
|
-
i18n: (e, t) =>
|
|
2217
|
+
i18n: (e, t) => ee().global.t(e, t),
|
|
2038
2218
|
// 可选,对参数中的列头、校验提示..等进行自动翻译(只对支持国际化的有效)
|
|
2039
2219
|
translate(e) {
|
|
2040
|
-
return e && ["message.", "el."].findIndex((o) => e.includes(o)) !== -1 ?
|
|
2220
|
+
return e && ["message.", "el."].findIndex((o) => e.includes(o)) !== -1 ? ee().global.t.call(ee().global.locale, e) : e;
|
|
2041
2221
|
}
|
|
2042
2222
|
};
|
|
2043
|
-
function
|
|
2044
|
-
|
|
2223
|
+
function sn(e = {}) {
|
|
2224
|
+
et.setConfig(be(an, e)), I.interceptor.add("event.clearEdit", {
|
|
2045
2225
|
tableInterceptorMethod(t) {
|
|
2046
2226
|
const { $event: o } = t;
|
|
2047
2227
|
if (o.target.className.indexOf("vxe-table--ignore-clear") > -1) return !1;
|
|
2048
2228
|
}
|
|
2049
2229
|
});
|
|
2050
2230
|
}
|
|
2051
|
-
function
|
|
2052
|
-
|
|
2231
|
+
function rn(e) {
|
|
2232
|
+
I.setTheme(e);
|
|
2053
2233
|
}
|
|
2054
|
-
function
|
|
2055
|
-
|
|
2234
|
+
function ln() {
|
|
2235
|
+
I.commands.add("utTodyay", {
|
|
2056
2236
|
dateRangePickerCommandMethod({ $dateRangePicker: e }) {
|
|
2057
|
-
const t =
|
|
2237
|
+
const t = T(/* @__PURE__ */ new Date(), "yyyy-MM-dd 00:00:00"), o = T(/* @__PURE__ */ new Date(), "yyyy-MM-dd 23:59:59");
|
|
2058
2238
|
e.setModelValue(t, o);
|
|
2059
2239
|
}
|
|
2060
|
-
}),
|
|
2240
|
+
}), I.commands.add("utYesterDay", {
|
|
2061
2241
|
dateRangePickerCommandMethod({ $dateRangePicker: e }) {
|
|
2062
|
-
const t =
|
|
2242
|
+
const t = T(A(/* @__PURE__ */ new Date(), -1), "yyyy-MM-dd 00:00:00"), o = T(A(/* @__PURE__ */ new Date(), -1), "yyyy-MM-dd 23:59:59");
|
|
2063
2243
|
e.setModelValue(t, o);
|
|
2064
2244
|
}
|
|
2065
|
-
}),
|
|
2245
|
+
}), I.commands.add("utRecentWeek", {
|
|
2066
2246
|
dateRangePickerCommandMethod({ $dateRangePicker: e }) {
|
|
2067
|
-
const t =
|
|
2247
|
+
const t = T(A(/* @__PURE__ */ new Date(), -7), "yyyy-MM-dd 00:00:00"), o = T(/* @__PURE__ */ new Date(), "yyyy-MM-dd 23:59:59");
|
|
2068
2248
|
e.setModelValue(t, o);
|
|
2069
2249
|
}
|
|
2070
|
-
}),
|
|
2250
|
+
}), I.commands.add("utRecentMonth", {
|
|
2071
2251
|
dateRangePickerCommandMethod({ $dateRangePicker: e }) {
|
|
2072
|
-
const t =
|
|
2252
|
+
const t = T(A(/* @__PURE__ */ new Date(), -30), "yyyy-MM-dd 00:00:00"), o = T(/* @__PURE__ */ new Date(), "yyyy-MM-dd 23:59:59");
|
|
2073
2253
|
e.setModelValue(t, o);
|
|
2074
2254
|
}
|
|
2075
|
-
}),
|
|
2255
|
+
}), I.commands.add("utRecentThreeMonth", {
|
|
2076
2256
|
dateRangePickerCommandMethod({ $dateRangePicker: e }) {
|
|
2077
|
-
const t =
|
|
2257
|
+
const t = T(A(/* @__PURE__ */ new Date(), -90), "yyyy-MM-dd 00:00:00"), o = T(/* @__PURE__ */ new Date(), "yyyy-MM-dd 23:59:59");
|
|
2078
2258
|
e.setModelValue(t, o);
|
|
2079
2259
|
}
|
|
2080
|
-
}),
|
|
2260
|
+
}), I.commands.add("utRecentHalfYear", {
|
|
2081
2261
|
dateRangePickerCommandMethod({ $dateRangePicker: e }) {
|
|
2082
|
-
const t =
|
|
2262
|
+
const t = T(A(/* @__PURE__ */ new Date(), -180), "yyyy-MM-dd 00:00:00"), o = T(/* @__PURE__ */ new Date(), "yyyy-MM-dd 23:59:59");
|
|
2083
2263
|
e.setModelValue(t, o);
|
|
2084
2264
|
}
|
|
2085
|
-
}),
|
|
2265
|
+
}), I.commands.add("utRecentYear", {
|
|
2086
2266
|
dateRangePickerCommandMethod({ $dateRangePicker: e }) {
|
|
2087
|
-
const t =
|
|
2267
|
+
const t = T(A(/* @__PURE__ */ new Date(), -365), "yyyy-MM-dd 00:00:00"), o = T(/* @__PURE__ */ new Date(), "yyyy-MM-dd 23:59:59");
|
|
2088
2268
|
e.setModelValue(t, o);
|
|
2089
2269
|
}
|
|
2090
2270
|
});
|
|
2091
2271
|
}
|
|
2092
|
-
var
|
|
2093
|
-
for (var o in t)
|
|
2094
|
-
},
|
|
2095
|
-
if (t && typeof t == "object" || typeof t == "function") for (let a of
|
|
2272
|
+
var ve = Object.defineProperty, cn = Object.getOwnPropertyDescriptor, un = Object.getOwnPropertyNames, dn = Object.prototype.hasOwnProperty, mn = (e, t, o) => t in e ? ve(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o, pn = (e, t) => {
|
|
2273
|
+
for (var o in t) ve(e, o, { get: t[o], enumerable: !0 });
|
|
2274
|
+
}, hn = (e, t, o, n) => {
|
|
2275
|
+
if (t && typeof t == "object" || typeof t == "function") for (let a of un(t)) !dn.call(e, a) && a !== o && ve(e, a, { get: () => t[a], enumerable: !(n = cn(t, a)) || n.enumerable });
|
|
2096
2276
|
return e;
|
|
2097
|
-
},
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
var
|
|
2277
|
+
}, fn = (e, t, o) => (hn(e, t, "default"), o), ze = (e, t, o) => (mn(e, typeof t != "symbol" ? t + "" : t, o), o), Ce = {};
|
|
2278
|
+
pn(Ce, { Vue: () => Ye });
|
|
2279
|
+
fn(Ce, Ye);
|
|
2280
|
+
var oe = class {
|
|
2101
2281
|
static install(e, t) {
|
|
2102
2282
|
let { nameSpace: o = this._nameSpace, memory: n } = t;
|
|
2103
|
-
return n && this.clearAll(o, n), new
|
|
2283
|
+
return n && this.clearAll(o, n), new oe(e, t);
|
|
2104
2284
|
}
|
|
2105
2285
|
static clearAll(e, t) {
|
|
2106
2286
|
Object.keys(t).forEach((o) => {
|
|
@@ -2118,25 +2298,25 @@ var Z = class {
|
|
|
2118
2298
|
if (Object.prototype.hasOwnProperty.call(window.localStorage, this._getStaticKey(t, e))) return JSON.parse(window.localStorage.getItem(this._getStaticKey(t, e)));
|
|
2119
2299
|
}
|
|
2120
2300
|
constructor(e, t) {
|
|
2121
|
-
let o =
|
|
2122
|
-
Object.keys(i).length === 0 && console.warn("key cannot be empty"), Object.keys(i).forEach((
|
|
2123
|
-
let u = i[
|
|
2124
|
-
o.set(r(
|
|
2301
|
+
let o = oe, { version: n = 3, nameSpace: a = o._nameSpace, memory: s } = t, r = (d) => a + d, i = n === 3 ? (0, Ce.reactive)(s) : s;
|
|
2302
|
+
Object.keys(i).length === 0 && console.warn("key cannot be empty"), Object.keys(i).forEach((d) => {
|
|
2303
|
+
let u = i[d];
|
|
2304
|
+
o.set(r(d), u), Reflect.defineProperty(i, d, { get: () => o.get(r(d)), set: (y) => o.set(r(d), y), configurable: !0 }), n === 2 && e.util.defineReactive(i, d, i[d]);
|
|
2125
2305
|
});
|
|
2126
|
-
let
|
|
2127
|
-
Reflect.defineProperty(
|
|
2306
|
+
let l = n === 3 ? e.config.globalProperties : e.prototype;
|
|
2307
|
+
Reflect.defineProperty(l, "$storage", { get: () => i });
|
|
2128
2308
|
}
|
|
2129
|
-
},
|
|
2130
|
-
|
|
2131
|
-
const
|
|
2309
|
+
}, O = oe;
|
|
2310
|
+
ze(O, "_nameSpace", "rs-"), ze(O, "_getStaticKey", (e, t) => `${e ?? oe._nameSpace}${t}`);
|
|
2311
|
+
const gn = (e, t) => {
|
|
2132
2312
|
const o = w(), n = Object.assign(
|
|
2133
2313
|
{
|
|
2134
2314
|
// 国际化 默认中文zh
|
|
2135
|
-
locale:
|
|
2315
|
+
locale: O.getData("locale", o) ?? {
|
|
2136
2316
|
locale: t.Locale ?? "zh"
|
|
2137
2317
|
},
|
|
2138
2318
|
// layout模式以及主题
|
|
2139
|
-
layout:
|
|
2319
|
+
layout: O.getData("layout", o) ?? {
|
|
2140
2320
|
layout: t.Layout ?? "vertical",
|
|
2141
2321
|
theme: t.Theme ?? "default",
|
|
2142
2322
|
darkMode: t.DarkMode ?? !1,
|
|
@@ -2147,7 +2327,7 @@ const on = (e, t) => {
|
|
|
2147
2327
|
overallStyle: t.OverallStyle ?? "light"
|
|
2148
2328
|
// 主题模式(浅色:light、深色:dark、自动:system)
|
|
2149
2329
|
},
|
|
2150
|
-
configure:
|
|
2330
|
+
configure: O.getData("configure", o) ?? {
|
|
2151
2331
|
grey: t.Grey ?? !1,
|
|
2152
2332
|
weak: t.Weak ?? !1,
|
|
2153
2333
|
hideTabs: t.HideTabs ?? !1,
|
|
@@ -2155,19 +2335,19 @@ const on = (e, t) => {
|
|
|
2155
2335
|
showModel: t.ShowModel ?? "smart",
|
|
2156
2336
|
multiTagsCache: t.MultiTagsCache ?? !1
|
|
2157
2337
|
},
|
|
2158
|
-
cnd:
|
|
2338
|
+
cnd: O.getData("cnd", o) ?? {}
|
|
2159
2339
|
},
|
|
2160
2340
|
t.MultiTagsCache ? {
|
|
2161
2341
|
// 默认显示首页tag
|
|
2162
|
-
tags:
|
|
2342
|
+
tags: O.getData("tags", o) ?? J
|
|
2163
2343
|
} : {}
|
|
2164
2344
|
);
|
|
2165
|
-
e.use(
|
|
2166
|
-
},
|
|
2345
|
+
e.use(O, { nameSpace: o, memory: n });
|
|
2346
|
+
}, wt = (e) => {
|
|
2167
2347
|
if (!e) return !0;
|
|
2168
2348
|
const t = g.currentRoute.value.meta?.permissionCode;
|
|
2169
2349
|
if (!t) return !0;
|
|
2170
|
-
|
|
2350
|
+
jt(e) || (e = [e]);
|
|
2171
2351
|
const o = b().getButtonAuth;
|
|
2172
2352
|
if (!o) return !0;
|
|
2173
2353
|
let n = !1;
|
|
@@ -2177,7 +2357,7 @@ const on = (e, t) => {
|
|
|
2177
2357
|
n = o.includes(s);
|
|
2178
2358
|
}
|
|
2179
2359
|
}), n;
|
|
2180
|
-
},
|
|
2360
|
+
}, bt = (e = "fetch", t = "edit") => {
|
|
2181
2361
|
if (!e) return !0;
|
|
2182
2362
|
const o = g.currentRoute.value.meta?.permissionCode;
|
|
2183
2363
|
if (!o) return !0;
|
|
@@ -2185,93 +2365,93 @@ const on = (e, t) => {
|
|
|
2185
2365
|
if (!n) return !0;
|
|
2186
2366
|
const a = `${o}.${e}`;
|
|
2187
2367
|
return n.includes(a) && !n.includes(`${o}.${t}`);
|
|
2188
|
-
},
|
|
2368
|
+
}, Tt = Object.freeze(
|
|
2189
2369
|
{
|
|
2190
2370
|
left: 0,
|
|
2191
2371
|
top: 0,
|
|
2192
2372
|
width: 16,
|
|
2193
2373
|
height: 16
|
|
2194
2374
|
}
|
|
2195
|
-
),
|
|
2375
|
+
), ne = Object.freeze({
|
|
2196
2376
|
rotate: 0,
|
|
2197
2377
|
vFlip: !1,
|
|
2198
2378
|
hFlip: !1
|
|
2199
|
-
}),
|
|
2200
|
-
...
|
|
2201
|
-
...
|
|
2202
|
-
}),
|
|
2203
|
-
...
|
|
2379
|
+
}), Se = Object.freeze({
|
|
2380
|
+
...Tt,
|
|
2381
|
+
...ne
|
|
2382
|
+
}), ge = Object.freeze({
|
|
2383
|
+
...Se,
|
|
2204
2384
|
body: "",
|
|
2205
2385
|
hidden: !1
|
|
2206
2386
|
});
|
|
2207
|
-
function
|
|
2387
|
+
function yn(e, t) {
|
|
2208
2388
|
const o = {};
|
|
2209
2389
|
!e.hFlip != !t.hFlip && (o.hFlip = !0), !e.vFlip != !t.vFlip && (o.vFlip = !0);
|
|
2210
2390
|
const n = ((e.rotate || 0) + (t.rotate || 0)) % 4;
|
|
2211
2391
|
return n && (o.rotate = n), o;
|
|
2212
2392
|
}
|
|
2213
|
-
function
|
|
2214
|
-
const o =
|
|
2215
|
-
for (const n in
|
|
2216
|
-
n in
|
|
2393
|
+
function _e(e, t) {
|
|
2394
|
+
const o = yn(e, t);
|
|
2395
|
+
for (const n in ge)
|
|
2396
|
+
n in ne ? n in e && !(n in o) && (o[n] = ne[n]) : n in t ? o[n] = t[n] : n in e && (o[n] = e[n]);
|
|
2217
2397
|
return o;
|
|
2218
2398
|
}
|
|
2219
|
-
function
|
|
2399
|
+
function wn(e, t) {
|
|
2220
2400
|
const o = e.icons, n = e.aliases || /* @__PURE__ */ Object.create(null), a = /* @__PURE__ */ Object.create(null);
|
|
2221
2401
|
function s(r) {
|
|
2222
2402
|
if (o[r])
|
|
2223
2403
|
return a[r] = [];
|
|
2224
2404
|
if (!(r in a)) {
|
|
2225
2405
|
a[r] = null;
|
|
2226
|
-
const i = n[r] && n[r].parent,
|
|
2227
|
-
|
|
2406
|
+
const i = n[r] && n[r].parent, l = i && s(i);
|
|
2407
|
+
l && (a[r] = [i].concat(l));
|
|
2228
2408
|
}
|
|
2229
2409
|
return a[r];
|
|
2230
2410
|
}
|
|
2231
2411
|
return Object.keys(o).concat(Object.keys(n)).forEach(s), a;
|
|
2232
2412
|
}
|
|
2233
|
-
function
|
|
2413
|
+
function bn(e, t, o) {
|
|
2234
2414
|
const n = e.icons, a = e.aliases || /* @__PURE__ */ Object.create(null);
|
|
2235
2415
|
let s = {};
|
|
2236
2416
|
function r(i) {
|
|
2237
|
-
s =
|
|
2417
|
+
s = _e(
|
|
2238
2418
|
n[i] || a[i],
|
|
2239
2419
|
s
|
|
2240
2420
|
);
|
|
2241
2421
|
}
|
|
2242
|
-
return r(t), o.forEach(r),
|
|
2422
|
+
return r(t), o.forEach(r), _e(e, s);
|
|
2243
2423
|
}
|
|
2244
|
-
function
|
|
2424
|
+
function Tn(e, t) {
|
|
2245
2425
|
const o = [];
|
|
2246
2426
|
if (typeof e != "object" || typeof e.icons != "object")
|
|
2247
2427
|
return o;
|
|
2248
2428
|
e.not_found instanceof Array && e.not_found.forEach((a) => {
|
|
2249
2429
|
t(a, null), o.push(a);
|
|
2250
2430
|
});
|
|
2251
|
-
const n =
|
|
2431
|
+
const n = wn(e);
|
|
2252
2432
|
for (const a in n) {
|
|
2253
2433
|
const s = n[a];
|
|
2254
|
-
s && (t(a,
|
|
2434
|
+
s && (t(a, bn(e, a, s)), o.push(a));
|
|
2255
2435
|
}
|
|
2256
2436
|
return o;
|
|
2257
2437
|
}
|
|
2258
|
-
const
|
|
2438
|
+
const vn = {
|
|
2259
2439
|
provider: "",
|
|
2260
2440
|
aliases: {},
|
|
2261
2441
|
not_found: {},
|
|
2262
|
-
...
|
|
2442
|
+
...Tt
|
|
2263
2443
|
};
|
|
2264
|
-
function
|
|
2444
|
+
function ue(e, t) {
|
|
2265
2445
|
for (const o in t)
|
|
2266
2446
|
if (o in e && typeof e[o] != typeof t[o])
|
|
2267
2447
|
return !1;
|
|
2268
2448
|
return !0;
|
|
2269
2449
|
}
|
|
2270
|
-
function
|
|
2450
|
+
function Cn(e) {
|
|
2271
2451
|
if (typeof e != "object" || e === null)
|
|
2272
2452
|
return null;
|
|
2273
2453
|
const t = e;
|
|
2274
|
-
if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !
|
|
2454
|
+
if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !ue(e, vn))
|
|
2275
2455
|
return null;
|
|
2276
2456
|
const o = t.icons;
|
|
2277
2457
|
for (const a in o) {
|
|
@@ -2280,9 +2460,9 @@ function cn(e) {
|
|
|
2280
2460
|
// Name cannot be empty
|
|
2281
2461
|
!a || // Must have body
|
|
2282
2462
|
typeof s.body != "string" || // Check other props
|
|
2283
|
-
!
|
|
2463
|
+
!ue(
|
|
2284
2464
|
s,
|
|
2285
|
-
|
|
2465
|
+
ge
|
|
2286
2466
|
)
|
|
2287
2467
|
)
|
|
2288
2468
|
return null;
|
|
@@ -2294,37 +2474,37 @@ function cn(e) {
|
|
|
2294
2474
|
// Name cannot be empty
|
|
2295
2475
|
!a || // Parent must be set and point to existing icon
|
|
2296
2476
|
typeof r != "string" || !o[r] && !n[r] || // Check other props
|
|
2297
|
-
!
|
|
2477
|
+
!ue(
|
|
2298
2478
|
s,
|
|
2299
|
-
|
|
2479
|
+
ge
|
|
2300
2480
|
)
|
|
2301
2481
|
)
|
|
2302
2482
|
return null;
|
|
2303
2483
|
}
|
|
2304
2484
|
return t;
|
|
2305
2485
|
}
|
|
2306
|
-
const
|
|
2486
|
+
const vt = Object.freeze({
|
|
2307
2487
|
width: null,
|
|
2308
2488
|
height: null
|
|
2309
|
-
}),
|
|
2489
|
+
}), Ct = Object.freeze({
|
|
2310
2490
|
// Dimensions
|
|
2311
|
-
...
|
|
2491
|
+
...vt,
|
|
2312
2492
|
// Transformations
|
|
2313
|
-
...
|
|
2493
|
+
...ne
|
|
2314
2494
|
});
|
|
2315
|
-
function
|
|
2495
|
+
function Sn(e, t) {
|
|
2316
2496
|
const o = {
|
|
2317
2497
|
...e
|
|
2318
2498
|
};
|
|
2319
2499
|
for (const n in t) {
|
|
2320
2500
|
const a = t[n], s = typeof a;
|
|
2321
|
-
n in
|
|
2501
|
+
n in vt ? (a === null || a && (s === "string" || s === "number")) && (o[n] = a) : s === typeof o[n] && (o[n] = n === "rotate" ? a % 4 : a);
|
|
2322
2502
|
}
|
|
2323
2503
|
return o;
|
|
2324
2504
|
}
|
|
2325
|
-
const
|
|
2326
|
-
function
|
|
2327
|
-
t.split(
|
|
2505
|
+
const kn = /[\s,]+/;
|
|
2506
|
+
function xn(e, t) {
|
|
2507
|
+
t.split(kn).forEach((o) => {
|
|
2328
2508
|
switch (o.trim()) {
|
|
2329
2509
|
case "horizontal":
|
|
2330
2510
|
e.hFlip = !0;
|
|
@@ -2335,7 +2515,7 @@ function mn(e, t) {
|
|
|
2335
2515
|
}
|
|
2336
2516
|
});
|
|
2337
2517
|
}
|
|
2338
|
-
function
|
|
2518
|
+
function Pn(e, t = 0) {
|
|
2339
2519
|
const o = e.replace(/^-?[0-9.]*/, "");
|
|
2340
2520
|
function n(a) {
|
|
2341
2521
|
for (; a < 0; )
|
|
@@ -2361,19 +2541,19 @@ function pn(e, t = 0) {
|
|
|
2361
2541
|
}
|
|
2362
2542
|
return t;
|
|
2363
2543
|
}
|
|
2364
|
-
const
|
|
2365
|
-
function
|
|
2544
|
+
const Dn = /(-?[0-9.]*[0-9]+[0-9.]*)/g, In = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
|
|
2545
|
+
function qe(e, t, o) {
|
|
2366
2546
|
if (t === 1)
|
|
2367
2547
|
return e;
|
|
2368
2548
|
if (o = o || 100, typeof e == "number")
|
|
2369
2549
|
return Math.ceil(e * t * o) / o;
|
|
2370
2550
|
if (typeof e != "string")
|
|
2371
2551
|
return e;
|
|
2372
|
-
const n = e.split(
|
|
2552
|
+
const n = e.split(Dn);
|
|
2373
2553
|
if (n === null || !n.length)
|
|
2374
2554
|
return e;
|
|
2375
2555
|
const a = [];
|
|
2376
|
-
let s = n.shift(), r =
|
|
2556
|
+
let s = n.shift(), r = In.test(s);
|
|
2377
2557
|
for (; ; ) {
|
|
2378
2558
|
if (r) {
|
|
2379
2559
|
const i = parseFloat(s);
|
|
@@ -2385,7 +2565,7 @@ function Ne(e, t, o) {
|
|
|
2385
2565
|
r = !r;
|
|
2386
2566
|
}
|
|
2387
2567
|
}
|
|
2388
|
-
function
|
|
2568
|
+
function Ln(e, t = "defs") {
|
|
2389
2569
|
let o = "";
|
|
2390
2570
|
const n = e.indexOf("<" + t);
|
|
2391
2571
|
for (; n >= 0; ) {
|
|
@@ -2402,20 +2582,20 @@ function gn(e, t = "defs") {
|
|
|
2402
2582
|
content: e
|
|
2403
2583
|
};
|
|
2404
2584
|
}
|
|
2405
|
-
function
|
|
2585
|
+
function Rn(e, t) {
|
|
2406
2586
|
return e ? "<defs>" + e + "</defs>" + t : t;
|
|
2407
2587
|
}
|
|
2408
|
-
function
|
|
2409
|
-
const n =
|
|
2410
|
-
return
|
|
2588
|
+
function Nn(e, t, o) {
|
|
2589
|
+
const n = Ln(e);
|
|
2590
|
+
return Rn(n.defs, t + n.content + o);
|
|
2411
2591
|
}
|
|
2412
|
-
const
|
|
2413
|
-
function
|
|
2592
|
+
const Mn = (e) => e === "unset" || e === "undefined" || e === "none";
|
|
2593
|
+
function On(e, t) {
|
|
2414
2594
|
const o = {
|
|
2415
|
-
...
|
|
2595
|
+
...Se,
|
|
2416
2596
|
...e
|
|
2417
2597
|
}, n = {
|
|
2418
|
-
...
|
|
2598
|
+
...Ct,
|
|
2419
2599
|
...t
|
|
2420
2600
|
}, a = {
|
|
2421
2601
|
left: o.left,
|
|
@@ -2425,63 +2605,63 @@ function vn(e, t) {
|
|
|
2425
2605
|
};
|
|
2426
2606
|
let s = o.body;
|
|
2427
2607
|
[o, n].forEach((p) => {
|
|
2428
|
-
const
|
|
2608
|
+
const c = [], x = p.hFlip, xe = p.vFlip;
|
|
2429
2609
|
let M = p.rotate;
|
|
2430
|
-
|
|
2610
|
+
x ? xe ? M += 2 : (c.push(
|
|
2431
2611
|
"translate(" + (a.width + a.left).toString() + " " + (0 - a.top).toString() + ")"
|
|
2432
|
-
),
|
|
2612
|
+
), c.push("scale(-1 1)"), a.top = a.left = 0) : xe && (c.push(
|
|
2433
2613
|
"translate(" + (0 - a.left).toString() + " " + (a.height + a.top).toString() + ")"
|
|
2434
|
-
),
|
|
2435
|
-
let
|
|
2614
|
+
), c.push("scale(1 -1)"), a.top = a.left = 0);
|
|
2615
|
+
let D;
|
|
2436
2616
|
switch (M < 0 && (M -= Math.floor(M / 4) * 4), M = M % 4, M) {
|
|
2437
2617
|
case 1:
|
|
2438
|
-
|
|
2439
|
-
"rotate(90 " +
|
|
2618
|
+
D = a.height / 2 + a.top, c.unshift(
|
|
2619
|
+
"rotate(90 " + D.toString() + " " + D.toString() + ")"
|
|
2440
2620
|
);
|
|
2441
2621
|
break;
|
|
2442
2622
|
case 2:
|
|
2443
|
-
|
|
2623
|
+
c.unshift(
|
|
2444
2624
|
"rotate(180 " + (a.width / 2 + a.left).toString() + " " + (a.height / 2 + a.top).toString() + ")"
|
|
2445
2625
|
);
|
|
2446
2626
|
break;
|
|
2447
2627
|
case 3:
|
|
2448
|
-
|
|
2449
|
-
"rotate(-90 " +
|
|
2628
|
+
D = a.width / 2 + a.left, c.unshift(
|
|
2629
|
+
"rotate(-90 " + D.toString() + " " + D.toString() + ")"
|
|
2450
2630
|
);
|
|
2451
2631
|
break;
|
|
2452
2632
|
}
|
|
2453
|
-
M % 2 === 1 && (a.left !== a.top && (
|
|
2633
|
+
M % 2 === 1 && (a.left !== a.top && (D = a.left, a.left = a.top, a.top = D), a.width !== a.height && (D = a.width, a.width = a.height, a.height = D)), c.length && (s = Nn(
|
|
2454
2634
|
s,
|
|
2455
|
-
'<g transform="' +
|
|
2635
|
+
'<g transform="' + c.join(" ") + '">',
|
|
2456
2636
|
"</g>"
|
|
2457
2637
|
));
|
|
2458
2638
|
});
|
|
2459
|
-
const r = n.width, i = n.height,
|
|
2639
|
+
const r = n.width, i = n.height, l = a.width, d = a.height;
|
|
2460
2640
|
let u, y;
|
|
2461
|
-
r === null ? (y = i === null ? "1em" : i === "auto" ?
|
|
2462
|
-
const
|
|
2463
|
-
|
|
2641
|
+
r === null ? (y = i === null ? "1em" : i === "auto" ? d : i, u = qe(y, l / d)) : (u = r === "auto" ? l : r, y = i === null ? qe(u, d / l) : i === "auto" ? d : i);
|
|
2642
|
+
const N = {}, m = (p, c) => {
|
|
2643
|
+
Mn(c) || (N[p] = c.toString());
|
|
2464
2644
|
};
|
|
2465
2645
|
m("width", u), m("height", y);
|
|
2466
|
-
const h = [a.left, a.top,
|
|
2467
|
-
return
|
|
2468
|
-
attributes:
|
|
2646
|
+
const h = [a.left, a.top, l, d];
|
|
2647
|
+
return N.viewBox = h.join(" "), {
|
|
2648
|
+
attributes: N,
|
|
2469
2649
|
viewBox: h,
|
|
2470
2650
|
body: s
|
|
2471
2651
|
};
|
|
2472
2652
|
}
|
|
2473
|
-
const
|
|
2474
|
-
let
|
|
2475
|
-
function
|
|
2653
|
+
const En = /\sid="(\S+)"/g, An = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16);
|
|
2654
|
+
let Fn = 0;
|
|
2655
|
+
function $n(e, t = An) {
|
|
2476
2656
|
const o = [];
|
|
2477
2657
|
let n;
|
|
2478
|
-
for (; n =
|
|
2658
|
+
for (; n = En.exec(e); )
|
|
2479
2659
|
o.push(n[1]);
|
|
2480
2660
|
if (!o.length)
|
|
2481
2661
|
return e;
|
|
2482
2662
|
const a = "suffix" + (Math.random() * 16777216 | Date.now()).toString(16);
|
|
2483
2663
|
return o.forEach((s) => {
|
|
2484
|
-
const r = typeof t == "function" ? t(s) : t + (
|
|
2664
|
+
const r = typeof t == "function" ? t(s) : t + (Fn++).toString(), i = s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
2485
2665
|
e = e.replace(
|
|
2486
2666
|
// Allowed characters before id: [#;"]
|
|
2487
2667
|
// Allowed characters after id: [)"], .[a-z]
|
|
@@ -2490,62 +2670,62 @@ function kn(e, t = Cn) {
|
|
|
2490
2670
|
);
|
|
2491
2671
|
}), e = e.replace(new RegExp(a, "g"), ""), e;
|
|
2492
2672
|
}
|
|
2493
|
-
function
|
|
2673
|
+
function Un(e, t) {
|
|
2494
2674
|
let o = e.indexOf("xlink:") === -1 ? "" : ' xmlns:xlink="http://www.w3.org/1999/xlink"';
|
|
2495
2675
|
for (const n in t)
|
|
2496
2676
|
o += " " + n + '="' + t[n] + '"';
|
|
2497
2677
|
return '<svg xmlns="http://www.w3.org/2000/svg"' + o + ">" + e + "</svg>";
|
|
2498
2678
|
}
|
|
2499
|
-
function
|
|
2679
|
+
function jn(e) {
|
|
2500
2680
|
return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
|
|
2501
2681
|
}
|
|
2502
|
-
function
|
|
2503
|
-
return "data:image/svg+xml," +
|
|
2682
|
+
function zn(e) {
|
|
2683
|
+
return "data:image/svg+xml," + jn(e);
|
|
2504
2684
|
}
|
|
2505
|
-
function
|
|
2506
|
-
return 'url("' +
|
|
2685
|
+
function _n(e) {
|
|
2686
|
+
return 'url("' + zn(e) + '")';
|
|
2507
2687
|
}
|
|
2508
|
-
const
|
|
2509
|
-
...
|
|
2688
|
+
const Be = {
|
|
2689
|
+
...Ct,
|
|
2510
2690
|
inline: !1
|
|
2511
|
-
},
|
|
2691
|
+
}, qn = {
|
|
2512
2692
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2513
2693
|
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
2514
2694
|
"aria-hidden": !0,
|
|
2515
2695
|
role: "img"
|
|
2516
|
-
},
|
|
2696
|
+
}, Bn = {
|
|
2517
2697
|
display: "inline-block"
|
|
2518
|
-
},
|
|
2698
|
+
}, ye = {
|
|
2519
2699
|
backgroundColor: "currentColor"
|
|
2520
|
-
},
|
|
2700
|
+
}, St = {
|
|
2521
2701
|
backgroundColor: "transparent"
|
|
2522
|
-
},
|
|
2702
|
+
}, Ve = {
|
|
2523
2703
|
Image: "var(--svg)",
|
|
2524
2704
|
Repeat: "no-repeat",
|
|
2525
2705
|
Size: "100% 100%"
|
|
2526
|
-
},
|
|
2527
|
-
webkitMask:
|
|
2528
|
-
mask:
|
|
2529
|
-
background:
|
|
2706
|
+
}, We = {
|
|
2707
|
+
webkitMask: ye,
|
|
2708
|
+
mask: ye,
|
|
2709
|
+
background: St
|
|
2530
2710
|
};
|
|
2531
|
-
for (const e in
|
|
2532
|
-
const t =
|
|
2533
|
-
for (const o in
|
|
2534
|
-
t[e + o] =
|
|
2711
|
+
for (const e in We) {
|
|
2712
|
+
const t = We[e];
|
|
2713
|
+
for (const o in Ve)
|
|
2714
|
+
t[e + o] = Ve[o];
|
|
2535
2715
|
}
|
|
2536
|
-
const
|
|
2716
|
+
const te = {};
|
|
2537
2717
|
["horizontal", "vertical"].forEach((e) => {
|
|
2538
2718
|
const t = e.slice(0, 1) + "Flip";
|
|
2539
|
-
|
|
2719
|
+
te[e + "-flip"] = t, te[e.slice(0, 1) + "-flip"] = t, te[e + "Flip"] = t;
|
|
2540
2720
|
});
|
|
2541
|
-
function
|
|
2721
|
+
function Ge(e) {
|
|
2542
2722
|
return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
|
|
2543
2723
|
}
|
|
2544
|
-
const
|
|
2545
|
-
const o =
|
|
2724
|
+
const Vn = (e, t) => {
|
|
2725
|
+
const o = Sn(Be, t), n = { ...qn }, a = t.mode || "svg", s = {}, r = t.style, i = typeof r == "object" && !(r instanceof Array) ? r : {};
|
|
2546
2726
|
for (let p in t) {
|
|
2547
|
-
const
|
|
2548
|
-
if (
|
|
2727
|
+
const c = t[p];
|
|
2728
|
+
if (c !== void 0)
|
|
2549
2729
|
switch (p) {
|
|
2550
2730
|
// Properties to ignore
|
|
2551
2731
|
case "icon":
|
|
@@ -2558,88 +2738,88 @@ const Rn = (e, t) => {
|
|
|
2558
2738
|
case "inline":
|
|
2559
2739
|
case "hFlip":
|
|
2560
2740
|
case "vFlip":
|
|
2561
|
-
o[p] =
|
|
2741
|
+
o[p] = c === !0 || c === "true" || c === 1;
|
|
2562
2742
|
break;
|
|
2563
2743
|
// Flip as string: 'horizontal,vertical'
|
|
2564
2744
|
case "flip":
|
|
2565
|
-
typeof
|
|
2745
|
+
typeof c == "string" && xn(o, c);
|
|
2566
2746
|
break;
|
|
2567
2747
|
// Color: override style
|
|
2568
2748
|
case "color":
|
|
2569
|
-
s.color =
|
|
2749
|
+
s.color = c;
|
|
2570
2750
|
break;
|
|
2571
2751
|
// Rotation as string
|
|
2572
2752
|
case "rotate":
|
|
2573
|
-
typeof
|
|
2753
|
+
typeof c == "string" ? o[p] = Pn(c) : typeof c == "number" && (o[p] = c);
|
|
2574
2754
|
break;
|
|
2575
2755
|
// Remove aria-hidden
|
|
2576
2756
|
case "ariaHidden":
|
|
2577
2757
|
case "aria-hidden":
|
|
2578
|
-
|
|
2758
|
+
c !== !0 && c !== "true" && delete n["aria-hidden"];
|
|
2579
2759
|
break;
|
|
2580
2760
|
default: {
|
|
2581
|
-
const
|
|
2582
|
-
|
|
2761
|
+
const x = te[p];
|
|
2762
|
+
x ? (c === !0 || c === "true" || c === 1) && (o[x] = !0) : Be[p] === void 0 && (n[p] = c);
|
|
2583
2763
|
}
|
|
2584
2764
|
}
|
|
2585
2765
|
}
|
|
2586
|
-
const
|
|
2766
|
+
const l = On(e, o), d = l.attributes;
|
|
2587
2767
|
if (o.inline && (s.verticalAlign = "-0.125em"), a === "svg") {
|
|
2588
2768
|
n.style = {
|
|
2589
2769
|
...s,
|
|
2590
2770
|
...i
|
|
2591
|
-
}, Object.assign(n,
|
|
2592
|
-
let p = 0,
|
|
2593
|
-
return typeof
|
|
2771
|
+
}, Object.assign(n, d);
|
|
2772
|
+
let p = 0, c = t.id;
|
|
2773
|
+
return typeof c == "string" && (c = c.replace(/-/g, "_")), n.innerHTML = $n(l.body, c ? () => c + "ID" + p++ : "iconifyVue"), E("svg", n);
|
|
2594
2774
|
}
|
|
2595
|
-
const { body: u, width: y, height:
|
|
2596
|
-
...
|
|
2775
|
+
const { body: u, width: y, height: N } = e, m = a === "mask" || (a === "bg" ? !1 : u.indexOf("currentColor") !== -1), h = Un(u, {
|
|
2776
|
+
...d,
|
|
2597
2777
|
width: y + "",
|
|
2598
|
-
height:
|
|
2778
|
+
height: N + ""
|
|
2599
2779
|
});
|
|
2600
2780
|
return n.style = {
|
|
2601
2781
|
...s,
|
|
2602
|
-
"--svg":
|
|
2603
|
-
width:
|
|
2604
|
-
height:
|
|
2605
|
-
...
|
|
2606
|
-
...m ?
|
|
2782
|
+
"--svg": _n(h),
|
|
2783
|
+
width: Ge(d.width),
|
|
2784
|
+
height: Ge(d.height),
|
|
2785
|
+
...Bn,
|
|
2786
|
+
...m ? ye : St,
|
|
2607
2787
|
...i
|
|
2608
|
-
},
|
|
2609
|
-
},
|
|
2610
|
-
function
|
|
2611
|
-
|
|
2788
|
+
}, E("span", n);
|
|
2789
|
+
}, ke = /* @__PURE__ */ Object.create(null);
|
|
2790
|
+
function Wn(e, t) {
|
|
2791
|
+
ke[e] = t;
|
|
2612
2792
|
}
|
|
2613
|
-
function
|
|
2793
|
+
function Na(e, t) {
|
|
2614
2794
|
const o = typeof e.prefix == "string" ? e.prefix + ":" : "";
|
|
2615
|
-
|
|
2616
|
-
a && (
|
|
2795
|
+
Cn(e) && Tn(e, (n, a) => {
|
|
2796
|
+
a && (ke[o + n] = a);
|
|
2617
2797
|
});
|
|
2618
2798
|
}
|
|
2619
|
-
const
|
|
2799
|
+
const He = q({
|
|
2620
2800
|
// Do not inherit other attributes: it is handled by render()
|
|
2621
2801
|
inheritAttrs: !1,
|
|
2622
2802
|
// Render icon
|
|
2623
2803
|
render() {
|
|
2624
|
-
const e = this.$attrs, t = e.icon, o = typeof t == "string" ?
|
|
2625
|
-
return o === null || typeof o != "object" || typeof o.body != "string" ? this.$slots.default ? this.$slots.default() : null :
|
|
2626
|
-
...
|
|
2804
|
+
const e = this.$attrs, t = e.icon, o = typeof t == "string" ? ke[t] : typeof t == "object" ? t : null;
|
|
2805
|
+
return o === null || typeof o != "object" || typeof o.body != "string" ? this.$slots.default ? this.$slots.default() : null : Vn({
|
|
2806
|
+
...Se,
|
|
2627
2807
|
...o
|
|
2628
2808
|
}, e);
|
|
2629
2809
|
}
|
|
2630
|
-
}),
|
|
2810
|
+
}), Gn = q({
|
|
2631
2811
|
name: "IconOffline",
|
|
2632
|
-
components: { IconifyIcon:
|
|
2812
|
+
components: { IconifyIcon: He },
|
|
2633
2813
|
props: {
|
|
2634
2814
|
icon: {
|
|
2635
2815
|
default: null
|
|
2636
2816
|
}
|
|
2637
2817
|
},
|
|
2638
2818
|
render() {
|
|
2639
|
-
typeof this.icon == "object" &&
|
|
2819
|
+
typeof this.icon == "object" && Wn(this.icon, this.icon);
|
|
2640
2820
|
const e = this.$attrs;
|
|
2641
|
-
return
|
|
2642
|
-
|
|
2821
|
+
return E(
|
|
2822
|
+
He,
|
|
2643
2823
|
{
|
|
2644
2824
|
icon: this.icon,
|
|
2645
2825
|
style: e?.style ? Object.assign(e.style, { outline: "none" }) : { outline: "none" },
|
|
@@ -2651,9 +2831,9 @@ const Ue = _({
|
|
|
2651
2831
|
);
|
|
2652
2832
|
}
|
|
2653
2833
|
});
|
|
2654
|
-
|
|
2834
|
+
q({
|
|
2655
2835
|
name: "IconifyIconOnline",
|
|
2656
|
-
components: { IconifyIcon:
|
|
2836
|
+
components: { IconifyIcon: Ne },
|
|
2657
2837
|
props: {
|
|
2658
2838
|
icon: {
|
|
2659
2839
|
type: String,
|
|
@@ -2662,8 +2842,8 @@ _({
|
|
|
2662
2842
|
},
|
|
2663
2843
|
render() {
|
|
2664
2844
|
const e = this.$attrs;
|
|
2665
|
-
return
|
|
2666
|
-
|
|
2845
|
+
return E(
|
|
2846
|
+
Ne,
|
|
2667
2847
|
{
|
|
2668
2848
|
icon: `${this.icon}`,
|
|
2669
2849
|
style: e?.style ? Object.assign(e.style, { outline: "none" }) : { outline: "none" },
|
|
@@ -2675,7 +2855,7 @@ _({
|
|
|
2675
2855
|
);
|
|
2676
2856
|
}
|
|
2677
2857
|
});
|
|
2678
|
-
const
|
|
2858
|
+
const Hn = q({
|
|
2679
2859
|
name: "FontIcon",
|
|
2680
2860
|
props: {
|
|
2681
2861
|
icon: {
|
|
@@ -2685,14 +2865,14 @@ const En = _({
|
|
|
2685
2865
|
},
|
|
2686
2866
|
render() {
|
|
2687
2867
|
const e = this.$attrs;
|
|
2688
|
-
return Object.keys(e).includes("uni") || e?.iconType === "uni" ?
|
|
2868
|
+
return Object.keys(e).includes("uni") || e?.iconType === "uni" ? E(
|
|
2689
2869
|
"i",
|
|
2690
2870
|
{
|
|
2691
2871
|
class: "iconfont",
|
|
2692
2872
|
...e
|
|
2693
2873
|
},
|
|
2694
2874
|
this.icon
|
|
2695
|
-
) : Object.keys(e).includes("svg") || e?.iconType === "svg" ?
|
|
2875
|
+
) : Object.keys(e).includes("svg") || e?.iconType === "svg" ? E(
|
|
2696
2876
|
"svg",
|
|
2697
2877
|
{
|
|
2698
2878
|
class: "icon-svg",
|
|
@@ -2700,17 +2880,17 @@ const En = _({
|
|
|
2700
2880
|
},
|
|
2701
2881
|
{
|
|
2702
2882
|
default: () => [
|
|
2703
|
-
|
|
2883
|
+
E("use", {
|
|
2704
2884
|
"xlink:href": `#${this.icon}`
|
|
2705
2885
|
})
|
|
2706
2886
|
]
|
|
2707
2887
|
}
|
|
2708
|
-
) :
|
|
2888
|
+
) : E("i", {
|
|
2709
2889
|
class: `iconfont ${this.icon}`,
|
|
2710
2890
|
...e
|
|
2711
2891
|
});
|
|
2712
2892
|
}
|
|
2713
|
-
}),
|
|
2893
|
+
}), Jn = Gn, Kn = Hn, Yn = {
|
|
2714
2894
|
mounted(e, t) {
|
|
2715
2895
|
const { value: o } = t;
|
|
2716
2896
|
if (o) {
|
|
@@ -2720,7 +2900,7 @@ const En = _({
|
|
|
2720
2900
|
throw new Error(`need roles! Like v-auth="['admin','test']"`);
|
|
2721
2901
|
}
|
|
2722
2902
|
};
|
|
2723
|
-
function
|
|
2903
|
+
function Qn(e) {
|
|
2724
2904
|
return { all: e = e || /* @__PURE__ */ new Map(), on: function(t, o) {
|
|
2725
2905
|
var n = e.get(t);
|
|
2726
2906
|
n ? n.push(o) : e.set(t, [o]);
|
|
@@ -2736,38 +2916,38 @@ function $n(e) {
|
|
|
2736
2916
|
});
|
|
2737
2917
|
} };
|
|
2738
2918
|
}
|
|
2739
|
-
const
|
|
2919
|
+
const Zn = Qn(), Je = Wt({
|
|
2740
2920
|
strategy: "scroll"
|
|
2741
|
-
}),
|
|
2921
|
+
}), Xn = {
|
|
2742
2922
|
mounted(e, t, o) {
|
|
2743
|
-
|
|
2923
|
+
Je.listenTo(e, (n) => {
|
|
2744
2924
|
const a = n.offsetWidth, s = n.offsetHeight;
|
|
2745
|
-
t?.instance ?
|
|
2925
|
+
t?.instance ? Zn.emit("resize", { detail: { width: a, height: s } }) : o.el.dispatchEvent(new CustomEvent("resize", { detail: { width: a, height: s } }));
|
|
2746
2926
|
});
|
|
2747
2927
|
},
|
|
2748
2928
|
unmounted(e) {
|
|
2749
|
-
|
|
2929
|
+
Je.uninstall(e);
|
|
2750
2930
|
}
|
|
2751
|
-
},
|
|
2931
|
+
}, Ke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2752
2932
|
__proto__: null,
|
|
2753
|
-
auth:
|
|
2754
|
-
resize:
|
|
2755
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2756
|
-
|
|
2933
|
+
auth: Yn,
|
|
2934
|
+
resize: Xn
|
|
2935
|
+
}, Symbol.toStringTag, { value: "Module" })), P = Rt(nn);
|
|
2936
|
+
P.use(Vt, {
|
|
2757
2937
|
defaultProps: { animation: "perspective" }
|
|
2758
2938
|
});
|
|
2759
|
-
const
|
|
2760
|
-
e.config.globalProperties.$hasAuthority =
|
|
2761
|
-
},
|
|
2762
|
-
Object.keys(
|
|
2763
|
-
e.directive(t,
|
|
2939
|
+
const ea = (e) => {
|
|
2940
|
+
e.config.globalProperties.$hasAuthority = wt, e.config.globalProperties.$isViewonly = bt, e.config.globalProperties.$serviceApi = H(), e.config.globalProperties.$debuggerApi = so(), e.config.globalProperties.$url = C(), window.$i18n = ct;
|
|
2941
|
+
}, ta = (e) => {
|
|
2942
|
+
Object.keys(Ke).forEach((t) => {
|
|
2943
|
+
e.directive(t, Ke[t]);
|
|
2764
2944
|
});
|
|
2765
|
-
},
|
|
2766
|
-
|
|
2945
|
+
}, oa = ({ router: e, config: t, lang: o, views: n, env: a, tableConfig: s }) => (Wo(n, e), P.use(e), oo(e), Jt(P, t), Kt(a), sn(s), new Promise((r) => {
|
|
2946
|
+
vo(P, o), P.component("IconifyIconOffline", Jn), P.component("FontIcon", Kn), ea(P), no(C()), ta(P), lo(P), gn(P, t), r({ app: P, router: e });
|
|
2767
2947
|
}));
|
|
2768
|
-
function
|
|
2769
|
-
const { $storage: e, $config: t } =
|
|
2770
|
-
|
|
2948
|
+
function kt() {
|
|
2949
|
+
const { $storage: e, $config: t } = Xe(), o = () => {
|
|
2950
|
+
lt().multiTagsCache && (!e.tags || e.tags.length === 0) && (e.tags = J), e?.locale || (Bt().locale.value = t?.Locale ?? "zh"), e && !e?.layout && (e.layout = {
|
|
2771
2951
|
layout: t?.Layout ?? "vertical",
|
|
2772
2952
|
theme: t?.Theme ?? "default",
|
|
2773
2953
|
darkMode: t?.DarkMode ?? !1,
|
|
@@ -2782,23 +2962,23 @@ function pt() {
|
|
|
2782
2962
|
showModel: t?.ShowModel ?? "smart",
|
|
2783
2963
|
multiTagsCache: t?.MultiTagsCache ?? !1
|
|
2784
2964
|
});
|
|
2785
|
-
}, n =
|
|
2965
|
+
}, n = Ie(() => e?.layout.layout), a = Ie(() => e?.layout);
|
|
2786
2966
|
return {
|
|
2787
2967
|
layout: n,
|
|
2788
2968
|
layoutTheme: a,
|
|
2789
2969
|
initStorage: o
|
|
2790
2970
|
};
|
|
2791
2971
|
}
|
|
2792
|
-
const
|
|
2972
|
+
const na = G("udp-app", {
|
|
2793
2973
|
state: () => ({
|
|
2794
2974
|
sidebar: {
|
|
2795
|
-
opened: f.getItem(`${w()}layout`)?.sidebarStatus ??
|
|
2975
|
+
opened: f.getItem(`${w()}layout`)?.sidebarStatus ?? R().SidebarStatus,
|
|
2796
2976
|
withoutAnimation: !1,
|
|
2797
2977
|
isClickCollapse: !1
|
|
2798
2978
|
},
|
|
2799
2979
|
// 这里的layout用于监听容器拖拉后恢复对应的菜单布局
|
|
2800
|
-
layout: f.getItem(`${w()}layout`)?.layout ??
|
|
2801
|
-
device:
|
|
2980
|
+
layout: f.getItem(`${w()}layout`)?.layout ?? R().Layout,
|
|
2981
|
+
device: Et() ? "mobile" : "desktop"
|
|
2802
2982
|
}),
|
|
2803
2983
|
getters: {
|
|
2804
2984
|
getSidebarStatus() {
|
|
@@ -2824,13 +3004,13 @@ const qn = B("udp-app", {
|
|
|
2824
3004
|
}
|
|
2825
3005
|
}
|
|
2826
3006
|
});
|
|
2827
|
-
function
|
|
2828
|
-
return
|
|
3007
|
+
function aa() {
|
|
3008
|
+
return na($);
|
|
2829
3009
|
}
|
|
2830
|
-
const
|
|
3010
|
+
const sa = G("udp-epTheme", {
|
|
2831
3011
|
state: () => ({
|
|
2832
|
-
epThemeColor: f.getItem(`${w()}-layout`)?.epThemeColor ??
|
|
2833
|
-
epTheme: f.getItem(`${w()}-layout`)?.theme ??
|
|
3012
|
+
epThemeColor: f.getItem(`${w()}-layout`)?.epThemeColor ?? R().EpThemeColor,
|
|
3013
|
+
epTheme: f.getItem(`${w()}-layout`)?.theme ?? R().Theme
|
|
2834
3014
|
}),
|
|
2835
3015
|
getters: {
|
|
2836
3016
|
getEpThemeColor() {
|
|
@@ -2848,11 +3028,11 @@ const Hn = B("udp-epTheme", {
|
|
|
2848
3028
|
}
|
|
2849
3029
|
}
|
|
2850
3030
|
});
|
|
2851
|
-
function
|
|
2852
|
-
return
|
|
3031
|
+
function de() {
|
|
3032
|
+
return sa($);
|
|
2853
3033
|
}
|
|
2854
|
-
function
|
|
2855
|
-
const { layoutTheme: e, layout: t } =
|
|
3034
|
+
function ra() {
|
|
3035
|
+
const { layoutTheme: e, layout: t } = kt(), o = re([
|
|
2856
3036
|
/* 道奇蓝(默认) */
|
|
2857
3037
|
{ color: "#1b2a47", themeColor: "default" },
|
|
2858
3038
|
/* 亮白色 */
|
|
@@ -2871,13 +3051,13 @@ function Gn() {
|
|
|
2871
3051
|
{ color: "#eb2f96", themeColor: "pink" },
|
|
2872
3052
|
/* 深紫罗兰色 */
|
|
2873
3053
|
{ color: "#722ed1", themeColor: "saucePurple" }
|
|
2874
|
-
]), { $storage: n } =
|
|
3054
|
+
]), { $storage: n } = Xe(), a = re(n?.layout?.darkMode), s = re(n?.layout?.overallStyle), r = document.documentElement;
|
|
2875
3055
|
function i(m, h, p) {
|
|
2876
|
-
const
|
|
2877
|
-
let { className:
|
|
2878
|
-
|
|
3056
|
+
const c = p || document.body;
|
|
3057
|
+
let { className: x } = c;
|
|
3058
|
+
x = x.replace(h, "").trim(), c.className = m ? `${x} ${h}` : x;
|
|
2879
3059
|
}
|
|
2880
|
-
function
|
|
3060
|
+
function l(m = R().Theme ?? "default") {
|
|
2881
3061
|
if (e.value.theme = m, document.documentElement.setAttribute("data-theme", m), document.documentElement.className = "", document.documentElement.classList.add(`layout-theme-${m}`), n.layout = {
|
|
2882
3062
|
layout: t.value,
|
|
2883
3063
|
theme: m,
|
|
@@ -2886,32 +3066,32 @@ function Gn() {
|
|
|
2886
3066
|
epThemeColor: n.layout?.epThemeColor,
|
|
2887
3067
|
overallStyle: s.value
|
|
2888
3068
|
}, m === "default" || m === "light")
|
|
2889
|
-
u(
|
|
3069
|
+
u(R().EpThemeColor || "#409EFF");
|
|
2890
3070
|
else {
|
|
2891
3071
|
const h = o.value.find((p) => p.themeColor === m);
|
|
2892
3072
|
u(h.color);
|
|
2893
3073
|
}
|
|
2894
3074
|
}
|
|
2895
|
-
function
|
|
3075
|
+
function d(m, h, p) {
|
|
2896
3076
|
document.documentElement.style.setProperty(
|
|
2897
3077
|
`--el-color-primary-${m}-${h}`,
|
|
2898
|
-
a.value ?
|
|
3078
|
+
a.value ? Yo(p, h / 10) : Qo(p, h / 10)
|
|
2899
3079
|
);
|
|
2900
3080
|
}
|
|
2901
3081
|
const u = (m) => {
|
|
2902
|
-
|
|
3082
|
+
de().setEpThemeColor(m), document.documentElement.style.setProperty("--el-color-primary", m);
|
|
2903
3083
|
for (let h = 1; h <= 2; h++)
|
|
2904
|
-
|
|
3084
|
+
d("dark", h, m);
|
|
2905
3085
|
for (let h = 1; h <= 9; h++)
|
|
2906
|
-
|
|
3086
|
+
d("light", h, m);
|
|
2907
3087
|
};
|
|
2908
3088
|
function y(m) {
|
|
2909
|
-
s.value = m,
|
|
3089
|
+
s.value = m, de().epTheme === "light" && a.value ? l("default") : l(de().epTheme), rn(a.value ? "dark" : "light"), a.value ? (document.documentElement.classList.add("dark"), document.documentElement.classList.remove("default")) : (document.documentElement.classList.add("default"), document.documentElement.classList.remove("dark"));
|
|
2910
3090
|
}
|
|
2911
|
-
function
|
|
2912
|
-
|
|
2913
|
-
const { Grey: m, Weak: h, MultiTagsCache: p, EpThemeColor:
|
|
2914
|
-
|
|
3091
|
+
function N() {
|
|
3092
|
+
S.remove(Zt), S.remove(ot), S.remove(nt), f.clear(), At.clear();
|
|
3093
|
+
const { Grey: m, Weak: h, MultiTagsCache: p, EpThemeColor: c, Layout: x } = R();
|
|
3094
|
+
aa().setLayout(x), u(c), k().multiTagsCacheChange(p), i(m, "html-grey", document.querySelector("html")), i(h, "html-weakness", document.querySelector("html")), g.push("/login"), k().handleTags("equal", [...J]), Vo();
|
|
2915
3095
|
}
|
|
2916
3096
|
return {
|
|
2917
3097
|
body: r,
|
|
@@ -2919,88 +3099,115 @@ function Gn() {
|
|
|
2919
3099
|
dataTheme: a,
|
|
2920
3100
|
layoutTheme: e,
|
|
2921
3101
|
themeColors: o,
|
|
2922
|
-
onReset:
|
|
3102
|
+
onReset: N,
|
|
2923
3103
|
toggleClass: i,
|
|
2924
3104
|
dataThemeChange: y,
|
|
2925
3105
|
setEpThemeColor: u,
|
|
2926
|
-
setLayoutThemeColor:
|
|
3106
|
+
setLayoutThemeColor: l
|
|
2927
3107
|
};
|
|
2928
3108
|
}
|
|
2929
|
-
|
|
3109
|
+
function ia(e, t) {
|
|
3110
|
+
return e.then(function(o) {
|
|
3111
|
+
return [null, o];
|
|
3112
|
+
}).catch(function(o) {
|
|
3113
|
+
return t && Object.assign(o, t), [o, void 0];
|
|
3114
|
+
});
|
|
3115
|
+
}
|
|
3116
|
+
const xt = (e, t = "N") => {
|
|
3117
|
+
const n = "/urpt/v1/printTemplate/" + (t === "Y" ? "selectByMultiTemplateCode" : "selectByTemplateCode");
|
|
3118
|
+
return B.get(`${C()}${n}`, { templateCode: e });
|
|
3119
|
+
}, la = (e, t) => {
|
|
3120
|
+
const o = { printConfig: {}, printContentList: null }, n = F().getOrganizationId, a = F().getOrgId, s = "/upms/v1/printTemplateConfig/ogn", r = Object.assign({ pageSize: 100, pageNum: 1, orgId: a, organizationId: n, printPosition: e }, t || {});
|
|
3121
|
+
return new Promise((i) => {
|
|
3122
|
+
B.get(`${C()}${s}`, r).then(async (l) => {
|
|
3123
|
+
const d = l.list?.map((u) => (o.printConfig[u.buttonCode] = { templateCode: u.templateCode, url: u.url }, u.templateCode)).join(",");
|
|
3124
|
+
if (d) {
|
|
3125
|
+
const [u, y] = await ia(xt(d, "Y"));
|
|
3126
|
+
u || (o.printContentList = y);
|
|
3127
|
+
}
|
|
3128
|
+
i(o);
|
|
3129
|
+
});
|
|
3130
|
+
});
|
|
3131
|
+
}, Ma = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2930
3132
|
__proto__: null,
|
|
2931
|
-
constantRoutes:
|
|
2932
|
-
default:
|
|
2933
|
-
delCurrentRoute:
|
|
2934
|
-
getBrower:
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
3133
|
+
constantRoutes: zo,
|
|
3134
|
+
default: oa,
|
|
3135
|
+
delCurrentRoute: Io,
|
|
3136
|
+
getBrower: rt,
|
|
3137
|
+
getDesignTemplate: xt,
|
|
3138
|
+
getPlatform: st,
|
|
3139
|
+
getPrintTemp: la,
|
|
3140
|
+
getProcessMenu: Ro,
|
|
3141
|
+
getServiceApi: H,
|
|
3142
|
+
handleAliveRoute: pt,
|
|
3143
|
+
hasAuthority: wt,
|
|
3144
|
+
initDict: it,
|
|
3145
|
+
isViewonly: bt,
|
|
3146
|
+
lifeCycleEvent: Y,
|
|
3147
|
+
remainingRouters: jo,
|
|
3148
|
+
routerBefore: Jo,
|
|
3149
|
+
store: $,
|
|
3150
|
+
useDataThemeChange: ra,
|
|
3151
|
+
useLayout: kt,
|
|
3152
|
+
useMultiTagsStore: k,
|
|
2949
3153
|
usePermissionStore: b,
|
|
2950
|
-
useSystemStore:
|
|
2951
|
-
userMonitor:
|
|
3154
|
+
useSystemStore: F,
|
|
3155
|
+
userMonitor: io
|
|
2952
3156
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2953
3157
|
export {
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
3158
|
+
jo as $,
|
|
3159
|
+
U as A,
|
|
3160
|
+
g as B,
|
|
3161
|
+
Zt as C,
|
|
3162
|
+
Vo as D,
|
|
3163
|
+
Pa as E,
|
|
3164
|
+
Kn as F,
|
|
3165
|
+
La as G,
|
|
3166
|
+
Ra as H,
|
|
3167
|
+
Jn as I,
|
|
3168
|
+
Ma as J,
|
|
3169
|
+
Sa as K,
|
|
3170
|
+
Ca as L,
|
|
3171
|
+
Io as M,
|
|
3172
|
+
io as N,
|
|
3173
|
+
Da as O,
|
|
3174
|
+
Ia as P,
|
|
3175
|
+
zo as Q,
|
|
3176
|
+
oa as R,
|
|
3177
|
+
rt as S,
|
|
3178
|
+
xt as T,
|
|
3179
|
+
st as U,
|
|
3180
|
+
la as V,
|
|
3181
|
+
Ro as W,
|
|
3182
|
+
it as X,
|
|
3183
|
+
bt as Y,
|
|
3184
|
+
Y as Z,
|
|
3185
|
+
tn as _,
|
|
3186
|
+
Na as a,
|
|
3187
|
+
Jo as a0,
|
|
3188
|
+
Wn as b,
|
|
3189
|
+
k as c,
|
|
3190
|
+
ka as d,
|
|
3191
|
+
b as e,
|
|
3192
|
+
dt as f,
|
|
3193
|
+
R as g,
|
|
3194
|
+
F as h,
|
|
3195
|
+
ia as i,
|
|
3196
|
+
H as j,
|
|
3197
|
+
Xt as k,
|
|
3198
|
+
xa as l,
|
|
3199
|
+
J as m,
|
|
3200
|
+
Zn as n,
|
|
3201
|
+
pt as o,
|
|
3202
|
+
ra as p,
|
|
3203
|
+
aa as q,
|
|
3204
|
+
w as r,
|
|
3205
|
+
$ as s,
|
|
3206
|
+
ct as t,
|
|
3207
|
+
de as u,
|
|
3208
|
+
kt as v,
|
|
3209
|
+
wt as w,
|
|
3210
|
+
C as x,
|
|
3211
|
+
ot as y,
|
|
3212
|
+
nt as z
|
|
3006
3213
|
};
|