@skyfox2000/webui 1.3.12 → 1.3.14

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.
Files changed (30) hide show
  1. package/lib/assets/modules/{file-upload-C2F7lPSM.js → file-upload-D8Ln4vVV.js} +1 -1
  2. package/lib/assets/modules/{index-BIrJNh7I.js → index-B2AK2Li9.js} +2 -2
  3. package/lib/assets/modules/{index-sCdzN6vg.js → index-BnDOMkVL.js} +1 -1
  4. package/lib/assets/modules/{index-Wb7_c6EZ.js → index-C8qhSdva.js} +2 -2
  5. package/lib/assets/modules/{menuTabs-Dk9meNAk.js → menuTabs-FUxE-a2D.js} +2 -2
  6. package/lib/assets/modules/{toolIcon-s2mFt6QR.js → toolIcon-bJ_WgHLU.js} +1 -1
  7. package/lib/assets/modules/{uploadList-B2L8NHoj.js → uploadList-BAX79qeV.js} +4 -4
  8. package/lib/assets/modules/{uploadList-C_T_ft8_.js → uploadList-BNkHE3fR.js} +653 -625
  9. package/lib/components/form/index.d.ts +2 -0
  10. package/lib/components/form/timePicker/index.vue.d.ts +6 -0
  11. package/lib/components/index.d.ts +1 -1
  12. package/lib/es/AceEditor/index.js +3 -3
  13. package/lib/es/BasicLayout/index.js +3 -3
  14. package/lib/es/Error403/index.js +1 -1
  15. package/lib/es/Error404/index.js +1 -1
  16. package/lib/es/ExcelForm/index.js +5 -5
  17. package/lib/es/UploadForm/index.js +4 -4
  18. package/lib/index.d.ts +1 -1
  19. package/lib/stores/hostInfo.d.ts +3 -1
  20. package/lib/webui.css +1 -1
  21. package/lib/webui.es.js +417 -396
  22. package/package.json +1 -1
  23. package/src/components/content/dialog/index.vue +6 -17
  24. package/src/components/content/table/index.vue +10 -28
  25. package/src/components/form/index.ts +3 -0
  26. package/src/components/form/timePicker/index.vue +24 -0
  27. package/src/components/index.ts +1 -0
  28. package/src/index.ts +1 -0
  29. package/src/stores/hostInfo.ts +72 -22
  30. package/src/utils/page.ts +1 -1
@@ -1,23 +1,23 @@
1
- var ma = Object.defineProperty;
2
- var va = (e, t, a) => t in e ? ma(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
3
- var F = (e, t, a) => va(e, typeof t != "symbol" ? t + "" : t, a);
4
- import { inject as te, ref as f, provide as Le, watch as y, toRaw as Ze, h as U, nextTick as ga, shallowRef as K, defineComponent as X, reactive as ya, onMounted as Ie, onUnmounted as ie, createBlock as xe, createCommentVNode as C, openBlock as O, unref as S, mergeProps as le, useAttrs as Ae, createElementBlock as $, createVNode as z, withCtx as V, createTextVNode as Ee, toDisplayString as W, Fragment as ne, renderList as Ue, normalizeClass as ea, createElementVNode as ba } from "vue";
5
- import { Switch as Sa, AutoComplete as Ia, Input as xa, CheckboxGroup as Aa, Checkbox as Ea, RadioGroup as Oa, Radio as Ra, Select as Ta, SelectOption as Pa } from "ant-design-vue";
6
- import { createPinia as wa, defineStore as ue } from "pinia";
7
- import ka from "pinia-plugin-persistedstate";
8
- import { combineParams as Oe, EnvConfig as ge, AppAction as Ce, AppSource as ze, isMicroApp as ye, mainAppApis as _, isBaseMicroApp as La } from "@skyfox2000/microbase";
9
- import { ResStatus as T, httpPost as G, setToken as he, fieldMapping as $a, parseFieldTemplate as be, API_HOST as $e, SERVER_HOST as Fa } from "@skyfox2000/fapi";
1
+ var mt = Object.defineProperty;
2
+ var vt = (e, a, t) => a in e ? mt(e, a, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[a] = t;
3
+ var F = (e, a, t) => vt(e, typeof a != "symbol" ? a + "" : a, t);
4
+ import { inject as ae, ref as f, provide as Le, watch as y, toRaw as Ze, h as U, nextTick as gt, shallowRef as K, defineComponent as X, reactive as yt, onMounted as Ie, onUnmounted as ie, createBlock as xe, createCommentVNode as B, openBlock as O, unref as S, mergeProps as le, useAttrs as Ae, createElementBlock as $, createVNode as C, withCtx as V, createTextVNode as Ee, toDisplayString as z, Fragment as ne, renderList as Ue, normalizeClass as et, createElementVNode as bt } from "vue";
5
+ import { Switch as St, AutoComplete as It, Input as xt, CheckboxGroup as At, Checkbox as Et, RadioGroup as Ot, Radio as Rt, Select as Tt, SelectOption as wt } from "ant-design-vue";
6
+ import { createPinia as Pt, defineStore as ue } from "pinia";
7
+ import kt from "pinia-plugin-persistedstate";
8
+ import { combineParams as Oe, EnvConfig as ge, AppAction as Be, AppSource as Ce, isMicroApp as ye, mainAppApis as N, isBaseMicroApp as Lt } from "@skyfox2000/microbase";
9
+ import { ResStatus as T, httpPost as G, setToken as he, fieldMapping as $t, parseFieldTemplate as be, API_HOST as $e, SERVER_HOST as Ft } from "@skyfox2000/fapi";
10
10
  import x from "vue-m-message";
11
11
  import He from "async-validator";
12
- import { createRouter as Ma, createWebHashHistory as Na } from "vue-router";
12
+ import { createRouter as Mt, createWebHashHistory as _t } from "vue-router";
13
13
  import "dayjs";
14
14
  import "vue-draggable-next";
15
- const _a = wa();
16
- _a.use(ka);
15
+ const Nt = Pt();
16
+ Nt.use(kt);
17
17
  var D = /* @__PURE__ */ ((e) => (e.PageControl = "Page.PageControl", e.EditorControl = "Page.EditorControl", e.GridControl = "Page.GridControl", e.LabelText = "FormItem.LabelText", e.LabelWidth = "FormItem.LabelWidth", e.RuleKey = "FormItem.RuleKey", e.ErrInfo = "FormItem.ErrInfo", e))(D || {});
18
- const P = class P {
18
+ const w = class w {
19
19
  };
20
- F(P, "dict", {}), F(P, "Keys", {
20
+ F(w, "dict", {}), F(w, "Keys", {
21
21
  EnableDisable: "EnableDisable",
22
22
  SuccessResult: "SuccessResult",
23
23
  YesNo: "YesNo",
@@ -27,25 +27,25 @@ F(P, "dict", {}), F(P, "Keys", {
27
27
  * @param key 名称
28
28
  * @returns
29
29
  */
30
- F(P, "getOptions", (t) => P.dict[t]), /**
30
+ F(w, "getOptions", (a) => w.dict[a]), /**
31
31
  * 静态选择项对象
32
32
  * @param key 名称
33
33
  * @param value 值
34
34
  * @returns
35
35
  */
36
- F(P, "getOptionItem", (t, a) => P.dict[t].find((s) => s.value === a)), /**
36
+ F(w, "getOptionItem", (a, t) => w.dict[a].find((s) => s.value === t)), /**
37
37
  * 设置静态选择项
38
38
  * @param key 名称
39
39
  * @param list 列表
40
40
  */
41
- F(P, "setOptions", (t, a) => {
42
- P.dict[t] = a;
41
+ F(w, "setOptions", (a, t) => {
42
+ w.dict[a] = t;
43
43
  }), /**
44
44
  * 启用/停用选项
45
45
  * - 启用 1
46
46
  * - 停用 0
47
47
  */
48
- F(P, "EnableDisable", [
48
+ F(w, "EnableDisable", [
49
49
  {
50
50
  label: "启用",
51
51
  text: "✅ 启用",
@@ -61,7 +61,7 @@ F(P, "EnableDisable", [
61
61
  * - 成功 1
62
62
  * - 失败 0
63
63
  */
64
- F(P, "SuccessResult", [
64
+ F(w, "SuccessResult", [
65
65
  {
66
66
  label: "成功",
67
67
  text: "✅ 成功",
@@ -77,7 +77,7 @@ F(P, "SuccessResult", [
77
77
  * - 是 1
78
78
  * - 否 0
79
79
  */
80
- F(P, "YesNo", [
80
+ F(w, "YesNo", [
81
81
  {
82
82
  label: "是",
83
83
  text: "✅ 是",
@@ -93,7 +93,7 @@ F(P, "YesNo", [
93
93
  * - 男 M
94
94
  * - 女 F
95
95
  */
96
- F(P, "MaleFemale", [
96
+ F(w, "MaleFemale", [
97
97
  {
98
98
  label: "男",
99
99
  text: "男 👨",
@@ -105,7 +105,7 @@ F(P, "MaleFemale", [
105
105
  value: "F"
106
106
  }
107
107
  ]);
108
- let M = P;
108
+ let M = w;
109
109
  M.setOptions("EnableDisable", M.EnableDisable);
110
110
  M.setOptions("SuccessResult", M.SuccessResult);
111
111
  M.setOptions("YesNo", M.YesNo);
@@ -173,62 +173,62 @@ const ce = {
173
173
  type: Object,
174
174
  required: !1
175
175
  }
176
- }, w = (e) => e == null || e === "" ? !0 : Array.isArray(e) ? e.length === 0 : typeof e == "object" ? Object.keys(e).length === 0 : !1, Re = (e, t) => {
176
+ }, P = (e) => e == null || e === "" ? !0 : Array.isArray(e) ? e.length === 0 : typeof e == "object" ? Object.keys(e).length === 0 : !1, Re = (e, a) => {
177
177
  var n;
178
- const a = e.page;
178
+ const t = e.page;
179
179
  return {
180
180
  url: "",
181
181
  ...e.url,
182
- ...(n = a.urls) == null ? void 0 : n[t.urlKey],
183
- ...t.url,
184
- loadingText: t.loadingText
182
+ ...(n = t.urls) == null ? void 0 : n[a.urlKey],
183
+ ...a.url,
184
+ loadingText: a.loadingText
185
185
  };
186
- }, Te = (e, t) => {
187
- const a = e.page, s = t.url;
186
+ }, Te = (e, a) => {
187
+ const t = e.page, s = a.url;
188
188
  if (!s || !s.url) {
189
- const o = `URL未设置: ${t.urlKey}`;
189
+ const o = `URL未设置: ${a.urlKey}`;
190
190
  return console.warn(o), Promise.reject(new Error(o));
191
191
  }
192
- s.api || (s.api = a.api), s.authorize === void 0 && (s.authorize = a.authorize);
193
- let n = JSON.parse(JSON.stringify(t.params));
194
- return t.processParams && (n = t.processParams(n)), t.loadingState && (t.loadingState.value = !0), t.hideErrorToast && (s.hideErrorToast = !0), G(s, n).then((o) => (t.loadingState && (t.loadingState.value = !1), o)).catch((o) => (t.loadingState && (t.loadingState.value = !1), null));
195
- }, Ve = (e, t) => {
196
- t.params || (t.params = {}), t.params.Query || (t.params.Query = {});
197
- const a = Re(e, t);
198
- return t.url = a, Te(e, t);
199
- }, $t = (e, t) => (t.params || (t.params = {}), t.params.Query || (t.params.Query = {}), t.loadingText = t.loadingText === !1 ? !1 : t.loadingText || "开始执行...", t.url = Re(e, t), Te(e, t).then((a) => ((a == null ? void 0 : a.status) === T.SUCCESS && (t.hideErrorToast || x.success("执行成功!")), a))), aa = (e, t = {}) => {
200
- const a = t.primaryKey || "Id";
201
- if (t.params || (t.params = {}), t.params.Query || (t.params.Query = {}), !t.params.Data)
192
+ s.api || (s.api = t.api), s.authorize === void 0 && (s.authorize = t.authorize);
193
+ let n = JSON.parse(JSON.stringify(a.params));
194
+ return a.processParams && (n = a.processParams(n)), a.loadingState && (a.loadingState.value = !0), a.hideErrorToast && (s.hideErrorToast = !0), G(s, n).then((o) => (a.loadingState && (a.loadingState.value = !1), o)).catch((o) => (a.loadingState && (a.loadingState.value = !1), null));
195
+ }, Ve = (e, a) => {
196
+ a.params || (a.params = {}), a.params.Query || (a.params.Query = {});
197
+ const t = Re(e, a);
198
+ return a.url = t, Te(e, a);
199
+ }, $a = (e, a) => (a.params || (a.params = {}), a.params.Query || (a.params.Query = {}), a.loadingText = a.loadingText === !1 ? !1 : a.loadingText || "开始执行...", a.url = Re(e, a), Te(e, a).then((t) => ((t == null ? void 0 : t.status) === T.SUCCESS && (a.hideErrorToast || x.success("执行成功!")), t))), tt = (e, a = {}) => {
200
+ const t = a.primaryKey || "Id";
201
+ if (a.params || (a.params = {}), a.params.Query || (a.params.Query = {}), !a.params.Data)
202
202
  return x.error("错误!无保存数据!"), Promise.resolve(null);
203
203
  const s = {
204
- ...t,
205
- urlKey: t.urlKey || "save",
206
- loadingText: t.loadingText === !1 ? !1 : t.loadingText || "数据保存中..."
204
+ ...a,
205
+ urlKey: a.urlKey || "save",
206
+ loadingText: a.loadingText === !1 ? !1 : a.loadingText || "数据保存中..."
207
207
  };
208
- s.params.Query[a] = s.params.Data[a];
208
+ s.params.Query[t] = s.params.Data[t];
209
209
  const n = Re(e, s);
210
- return s.url = n, Te(e, s).then((o) => ((o == null ? void 0 : o.status) === T.SUCCESS && (t.hideErrorToast || x.success("保存成功!")), o));
211
- }, Da = (e, t, a = {}) => {
212
- const s = a.primaryKey || "Id";
213
- a.params || (a.params = {}), a.params.Query || (a.params.Query = {});
210
+ return s.url = n, Te(e, s).then((o) => ((o == null ? void 0 : o.status) === T.SUCCESS && (a.hideErrorToast || x.success("保存成功!")), o));
211
+ }, Dt = (e, a, t = {}) => {
212
+ const s = t.primaryKey || "Id";
213
+ t.params || (t.params = {}), t.params.Query || (t.params.Query = {});
214
214
  const n = {
215
- ...a,
215
+ ...t,
216
216
  urlKey: "delete",
217
- loadingText: a.loadingText === !1 ? !1 : a.loadingText || "数据删除中..."
217
+ loadingText: t.loadingText === !1 ? !1 : t.loadingText || "数据删除中..."
218
218
  };
219
- if (Array.isArray(t) ? n.params.Query[s] = t : n.params.Query[s] = t[s], w(n.params.Query) || w(n.params.Query[s]))
219
+ if (Array.isArray(a) ? n.params.Query[s] = a : n.params.Query[s] = a[s], P(n.params.Query) || P(n.params.Query[s]))
220
220
  return x.error("错误!禁止无条件删除数据!"), Promise.resolve(null);
221
221
  const o = Re(e, n);
222
- return n.url = o, Te(e, n).then((r) => ((r == null ? void 0 : r.status) === T.SUCCESS && (a.hideErrorToast || x.success("删除成功!")), r));
223
- }, Ua = (e, t) => Ve(e, {
222
+ return n.url = o, Te(e, n).then((r) => ((r == null ? void 0 : r.status) === T.SUCCESS && (t.hideErrorToast || x.success("删除成功!")), r));
223
+ }, Ut = (e, a) => Ve(e, {
224
224
  urlKey: "tree",
225
225
  params: {},
226
226
  loadingState: e.isTreeLoading,
227
227
  loadingText: !1,
228
- processParams: () => Oe(e.treeQuery, t)
229
- }).then((a) => (a == null ? void 0 : a.status) === T.SUCCESS ? (e.data.value = a.data, e.data.value) : []);
228
+ processParams: () => Oe(e.treeQuery, a)
229
+ }).then((t) => (t == null ? void 0 : t.status) === T.SUCCESS ? (e.data.value = t.data, e.data.value) : []);
230
230
  let re;
231
- const Ft = (e) => {
231
+ const Fa = (e) => {
232
232
  re = new He({}), re.messages({
233
233
  required: "${label}不能为空",
234
234
  types: {
@@ -255,25 +255,25 @@ const Ft = (e) => {
255
255
  },
256
256
  ...e
257
257
  });
258
- }, Mt = (e) => {
259
- if (!e || w(e))
258
+ }, Ma = (e) => {
259
+ if (!e || P(e))
260
260
  return [];
261
- const t = [], a = re.messages(), s = (o, r, l) => {
261
+ const a = [], t = re.messages(), s = (o, r, l) => {
262
262
  const i = r.type;
263
- if (i && a.types && i in a.types) {
264
- const c = a.types[i];
263
+ if (i && t.types && i in t.types) {
264
+ const c = t.types[i];
265
265
  n(c, o, { type: i }, l);
266
266
  }
267
267
  const u = ["string", "number", "array"];
268
268
  for (const c of u)
269
- if (i === c && a[c]) {
270
- const p = a[c], v = ["len", "min", "max", "range"];
269
+ if (i === c && t[c]) {
270
+ const p = t[c], v = ["len", "min", "max", "range"];
271
271
  for (const h of v)
272
272
  h === "range" && r.min != null && r.max != null && p.range ? n(p.range, o, { min: r.min, max: r.max }, l) : h !== "range" && r[h] != null && p[h] && n(p[h], o, { [h]: r[h] }, l);
273
273
  }
274
- if (r.required && a.required && n(a.required, o, {}, l), r.pattern && a.pattern && n(r.message, o, {}, l), r.enum && Array.isArray(r.enum) && a.enum) {
274
+ if (r.required && t.required && n(t.required, o, {}, l), r.pattern && t.pattern && n(r.message, o, {}, l), r.enum && Array.isArray(r.enum) && t.enum) {
275
275
  const c = r.enum.join(", ");
276
- n(a.enum, o, { enum: c }, l);
276
+ n(t.enum, o, { enum: c }, l);
277
277
  }
278
278
  }, n = (o, r, l, i) => {
279
279
  if (o)
@@ -304,70 +304,70 @@ const Ft = (e) => {
304
304
  console.error("处理验证规则出错:", u);
305
305
  }
306
306
  const i = Array.from(new Set(l));
307
- o && i.length > 0 && t.push({
307
+ o && i.length > 0 && a.push({
308
308
  field: o,
309
309
  rules: i
310
310
  });
311
- }), t;
311
+ }), a;
312
312
  }, fe = async (e) => {
313
- const t = e.formData.value, a = e.formRules.value;
314
- w(a) || (Ke(e), e.ruleValidator || (e.ruleValidator = new He({}), e.ruleValidator.messages(re.messages()), e.ruleValidator.define(a)), e.ruleResults.value = await e.ruleValidator.validate(t).then(() => {
313
+ const a = e.formData.value, t = e.formRules.value;
314
+ P(t) || (Ke(e), e.ruleValidator || (e.ruleValidator = new He({}), e.ruleValidator.messages(re.messages()), e.ruleValidator.define(t)), e.ruleResults.value = await e.ruleValidator.validate(a).then(() => {
315
315
  }).catch(({ fields: s }) => s));
316
- }, Nt = async (e, t, a) => (a || (a = new He({}), a.messages(re.messages()), a.define(t)), a.validate(e).then(() => {
316
+ }, _a = async (e, a, t) => (t || (t = new He({}), t.messages(re.messages()), t.define(a)), t.validate(e).then(() => {
317
317
  }).catch(({ fields: s }) => s)), Ke = (e) => {
318
318
  e.ruleResults.value = void 0;
319
319
  }, Y = () => {
320
- const e = te(D.EditorControl, void 0), t = f(te(D.LabelText, "")), a = f(te(D.RuleKey, "")), s = te(D.ErrInfo, void 0);
320
+ const e = ae(D.EditorControl, void 0), a = f(ae(D.LabelText, "")), t = f(ae(D.RuleKey, "")), s = ae(D.ErrInfo, void 0);
321
321
  return {
322
322
  editorCtrl: e,
323
- labelText: t,
324
- ruleKey: a,
323
+ labelText: a,
324
+ ruleKey: t,
325
325
  errInfo: s
326
326
  };
327
- }, Ha = (e, t) => {
328
- let a = f({
327
+ }, Ht = (e, a) => {
328
+ let t = f({
329
329
  msg: "",
330
330
  errClass: ""
331
331
  });
332
332
  if (!e.label || !e.rule)
333
- return a;
334
- const s = t == null ? void 0 : t.ruleResults;
333
+ return t;
334
+ const s = a == null ? void 0 : a.ruleResults;
335
335
  return y(
336
336
  () => s == null ? void 0 : s.value,
337
337
  (n) => {
338
- if (a.value.errClass = "", a.value.msg = "", !w(n)) {
339
- const o = Va(
338
+ if (t.value.errClass = "", t.value.msg = "", !P(n)) {
339
+ const o = Vt(
340
340
  {
341
341
  label: e.label,
342
342
  rule: e.rule
343
343
  },
344
- t == null ? void 0 : t.formRules.value,
344
+ a == null ? void 0 : a.formRules.value,
345
345
  Ze(n)
346
346
  );
347
- a.value.errClass = o.errClass.value, a.value.msg = o.msg.value;
347
+ t.value.errClass = o.errClass.value, t.value.msg = o.msg.value;
348
348
  }
349
349
  },
350
350
  { deep: !0 }
351
- ), a;
352
- }, Va = (e, t, a) => {
351
+ ), t;
352
+ }, Vt = (e, a, t) => {
353
353
  const s = f([]), n = f(""), o = f("");
354
- if (!e.rule || !t || !a)
354
+ if (!e.rule || !a || !t)
355
355
  return { msg: n, ruleErrors: s, errClass: o };
356
356
  e.rule.split("|").forEach((i) => {
357
357
  if (i = i.trim(), i)
358
- if (a[i])
359
- s.value.push(...a[i]);
358
+ if (t[i])
359
+ s.value.push(...t[i]);
360
360
  else {
361
361
  const u = [];
362
- for (let c in a)
363
- c !== i && c.startsWith(i + ".") && u.push(...a[c]);
362
+ for (let c in t)
363
+ c !== i && c.startsWith(i + ".") && u.push(...t[c]);
364
364
  u.length > 0 && s.value.push(...u);
365
365
  }
366
366
  });
367
367
  const l = /\${\w+}/g;
368
368
  return s.value.forEach((i) => {
369
369
  n.value && (n.value += " / "), n.value += i.message.replace("${label}", e.label ?? "");
370
- const u = t[i.field];
370
+ const u = a[i.field];
371
371
  if (u) {
372
372
  const c = n.value.match(l);
373
373
  c && c.forEach((p) => {
@@ -376,36 +376,36 @@ const Ft = (e) => {
376
376
  });
377
377
  }
378
378
  }), s.value.length > 0 && (o.value = "error"), { msg: n, ruleErrors: s, errClass: o };
379
- }, _t = (e, t) => {
379
+ }, Na = (e, a) => {
380
380
  Le(D.LabelText, e.label || ""), Le(D.RuleKey, e.rule || "");
381
- const a = Ha(e, t);
382
- return Le(D.ErrInfo, a), a;
383
- }, Dt = (e) => {
384
- ta(e);
385
- }, Ut = (e) => {
386
- const t = e.page, a = e.formData.value;
387
- a[e.primaryKey ?? t.primaryKey] = null, ta(e);
388
- }, Ht = (e) => {
381
+ const t = Ht(e, a);
382
+ return Le(D.ErrInfo, t), t;
383
+ }, Da = (e) => {
384
+ at(e);
385
+ }, Ua = (e) => {
386
+ const a = e.page, t = e.formData.value;
387
+ t[e.primaryKey ?? a.primaryKey] = null, at(e);
388
+ }, Ha = (e) => {
389
389
  Qe(e), e.visible.value = !1;
390
- }, ta = async (e) => {
390
+ }, at = async (e) => {
391
391
  var s;
392
- const t = e.page;
392
+ const a = e.page;
393
393
  if (e.isFormSaving.value = !0, Ke(e), e.beforeSave && e.beforeSave() === !1)
394
394
  return e.isFormSaving.value = !1, Promise.resolve();
395
395
  if (e.formRules.value && await fe(e), e.ruleResults.value)
396
396
  return x.error("提交表单时,验证失败!"), console.error("表单验证失败!", e.ruleResults.value), e.isFormSaving.value = !1, Promise.resolve();
397
- const a = e.formData.value;
398
- return aa(
397
+ const t = e.formData.value;
398
+ return tt(
399
399
  {
400
- page: t,
400
+ page: a,
401
401
  // 转换为AnyControl接口
402
402
  reload: (s = e.grid) == null ? void 0 : s.reload
403
403
  },
404
404
  {
405
405
  url: e.saveUrl,
406
- primaryKey: e.primaryKey ?? t.primaryKey,
406
+ primaryKey: e.primaryKey ?? a.primaryKey,
407
407
  params: {
408
- Data: a,
408
+ Data: t,
409
409
  Query: {}
410
410
  },
411
411
  hideErrorToast: !0,
@@ -437,58 +437,58 @@ const Ft = (e) => {
437
437
  } else
438
438
  x.error((n == null ? void 0 : n.msg) ?? "保存失败!");
439
439
  });
440
- }, Vt = async (e) => {
441
- const t = e.page, a = e.grid;
440
+ }, Va = async (e) => {
441
+ const a = e.page, t = e.grid;
442
442
  e.isFormLoading.value = !0;
443
- const s = e.formData.value, n = e.primaryKey ?? t.primaryKey;
444
- return ua(a, { [n]: s[n] }, e.detailUrl).then((o) => {
445
- e.isFormLoading.value = !1, o && sa(e, o);
443
+ const s = e.formData.value, n = e.primaryKey ?? a.primaryKey;
444
+ return ut(t, { [n]: s[n] }, e.detailUrl).then((o) => {
445
+ e.isFormLoading.value = !1, o && st(e, o);
446
446
  });
447
- }, Kt = (e) => {
448
- const t = e.grid;
449
- t && (t.rowData.value = void 0), e && (Qe(e), e.visible && (e.visible.value = !1), setTimeout(() => {
447
+ }, Ka = (e) => {
448
+ const a = e.grid;
449
+ a && (a.rowData.value = void 0), e && (Qe(e), e.visible && (e.visible.value = !1), setTimeout(() => {
450
450
  e.visible.value = !0;
451
451
  }, 1));
452
- }, sa = (e, t) => {
452
+ }, st = (e, a) => {
453
453
  Qe(e);
454
- const a = { ...e.formData.value, ...t };
455
- e.formData.value = JSON.parse(JSON.stringify(a));
454
+ const t = { ...e.formData.value, ...a };
455
+ e.formData.value = JSON.parse(JSON.stringify(t));
456
456
  }, Qe = (e) => {
457
457
  e.formData.value = e.default ? JSON.parse(JSON.stringify(e.default)) : {}, Ke(e);
458
- }, Se = "/login/", ve = [], Ka = (e) => {
459
- for (const t of e) {
460
- const a = ve.findIndex((s) => s.path === t.path);
461
- a !== -1 && ve.splice(a, 1), ve.push(t), oe.addRoute(t);
458
+ }, Se = "/login/", ve = [], Kt = (e) => {
459
+ for (const a of e) {
460
+ const t = ve.findIndex((s) => s.path === a.path);
461
+ t !== -1 && ve.splice(t, 1), ve.push(a), oe.addRoute(a);
462
462
  }
463
- }, na = (e, t, a, s = "") => {
463
+ }, nt = (e, a, t, s = "") => {
464
464
  const n = s + (s ? "/" : "") + e.path;
465
- t[n] = { ...e, parent: a }, e.children && e.children.forEach((o) => na(o, t, e, n));
466
- }, oe = Ma({
467
- history: Na("/"),
465
+ a[n] = { ...e, parent: t }, e.children && e.children.forEach((o) => nt(o, a, e, n));
466
+ }, oe = Mt({
467
+ history: _t("/"),
468
468
  routes: ve
469
- }), Qa = (e, t) => {
469
+ }), Qt = (e, a) => {
470
470
  var n, o;
471
- const a = ((n = e.meta) == null ? void 0 : n.roles) ?? [], s = (o = e.meta) == null ? void 0 : o.permission;
472
- if (!t)
473
- return a.length === 0 && !s;
474
- if (t) {
471
+ const t = ((n = e.meta) == null ? void 0 : n.roles) ?? [], s = (o = e.meta) == null ? void 0 : o.permission;
472
+ if (!a)
473
+ return t.length === 0 && !s;
474
+ if (a) {
475
475
  const r = j();
476
476
  if (ge.VITE_PERMISSION_MODE === "role")
477
- return a.length === 0 ? !0 : r.hasRole(a);
477
+ return t.length === 0 ? !0 : r.hasRole(t);
478
478
  if (ge.VITE_PERMISSION_MODE === "permit") {
479
- if (a.length === 0 && !s)
479
+ if (t.length === 0 && !s)
480
480
  return !0;
481
481
  let l = !1, i = !1;
482
- return a.length > 0 && (l = r.hasRole(a)), s && (i = r.hasPermit(e.path, ":page")), l || i;
482
+ return t.length > 0 && (l = r.hasRole(t)), s && (i = r.hasPermit(e.path, ":page")), l || i;
483
483
  }
484
484
  }
485
485
  return !1;
486
486
  }, se = f(null);
487
- oe.beforeEach((e, t, a) => {
487
+ oe.beforeEach((e, a, t) => {
488
488
  var l;
489
489
  const s = e;
490
490
  if (e.path.startsWith("/error/") || e.path.startsWith(Se))
491
- return a();
491
+ return t();
492
492
  const n = s.meta, r = ((n == null ? void 0 : n.roles) ?? []).length > 0 || ((l = n == null ? void 0 : n.permission) == null ? void 0 : l.length);
493
493
  if (e.path === "/") {
494
494
  const i = H();
@@ -496,7 +496,7 @@ oe.beforeEach((e, t, a) => {
496
496
  se.value = {
497
497
  to: e,
498
498
  next: (u) => {
499
- a({ path: u });
499
+ t({ path: u });
500
500
  }
501
501
  };
502
502
  return;
@@ -505,37 +505,37 @@ oe.beforeEach((e, t, a) => {
505
505
  return;
506
506
  }
507
507
  if (!r)
508
- a();
508
+ t();
509
509
  else {
510
510
  const i = j();
511
511
  if (!i.isLogin)
512
- a({ path: Se });
512
+ t({ path: Se });
513
513
  else {
514
514
  if (!H().menuLoaded) {
515
515
  se.value = {
516
516
  to: e,
517
- next: a
517
+ next: t
518
518
  };
519
519
  return;
520
520
  }
521
- const c = Qa(s, i.isLogin);
522
- a();
521
+ const c = Qt(s, i.isLogin);
522
+ t();
523
523
  }
524
524
  }
525
525
  });
526
- const Ja = (e) => {
526
+ const Jt = (e) => {
527
527
  if (se.value) {
528
- const { to: t, next: a } = se.value;
529
- se.value = null, t.path === "/" ? a(e) : a(t.path);
528
+ const { to: a, next: t } = se.value;
529
+ se.value = null, a.path === "/" ? t(e) : t(a.path);
530
530
  }
531
- }, ja = (e) => {
532
- const t = Je();
533
- if (t.TabEnabled) {
534
- if (Ga(e.key, t.TabPanes))
531
+ }, jt = (e) => {
532
+ const a = Je();
533
+ if (a.TabEnabled) {
534
+ if (Gt(e.key, a.TabPanes))
535
535
  return;
536
- t.TabPanes.push(e);
536
+ a.TabPanes.push(e);
537
537
  }
538
- }, Ga = (e, t) => t.find((a) => a.key === e), Je = ue("pageInfo", {
538
+ }, Gt = (e, a) => a.find((t) => t.key === e), Je = ue("pageInfo", {
539
539
  state: () => ({
540
540
  TabActive: "",
541
541
  TabPanes: [],
@@ -549,18 +549,18 @@ const Ja = (e) => {
549
549
  removeTabPane(e) {
550
550
  if (this.TabEnabled) {
551
551
  H().excludeComponent(e);
552
- let a = 0, s = [...this.TabPanes];
552
+ let t = 0, s = [...this.TabPanes];
553
553
  for (let n = 0; n < s.length; n++)
554
554
  if (s[n].key === e) {
555
- s.splice(n, 1), a = n - 1 < 0 ? 0 : n - 1;
555
+ s.splice(n, 1), t = n - 1 < 0 ? 0 : n - 1;
556
556
  break;
557
557
  }
558
558
  for (let n = 0; n < s.length; n++)
559
559
  if (s[n].key === this.TabActive) {
560
- a = n;
560
+ t = n;
561
561
  break;
562
562
  }
563
- this.TabPanes = s, this.setTabActive(s[a].key);
563
+ this.TabPanes = s, this.setTabActive(s[t].key);
564
564
  }
565
565
  },
566
566
  /**
@@ -569,50 +569,50 @@ const Ja = (e) => {
569
569
  * @returns
570
570
  */
571
571
  async setTabActive(e) {
572
- let a = H().findRoute(e);
573
- if (!a) return;
572
+ let t = H().findRoute(e);
573
+ if (!t) return;
574
574
  const s = {
575
575
  key: e,
576
- title: a.name.toString(),
576
+ title: t.name.toString(),
577
577
  content: "",
578
578
  closable: !0,
579
579
  // 根据路由的meta.keepAlive确定是否加入对应缓存
580
580
  // 默认为true
581
- keepAlive: !(a.meta && !a.meta.keepAlive)
581
+ keepAlive: !(t.meta && !t.meta.keepAlive)
582
582
  };
583
- ja(s), this.TabActive = e;
583
+ jt(s), this.TabActive = e;
584
584
  }
585
585
  },
586
586
  persist: !1
587
- }), qa = {
587
+ }), Wt = {
588
588
  appList: {
589
589
  api: "PLATFORM_API",
590
590
  authorize: !0,
591
591
  url: "/api/RCTenanetOpSrv/getApps",
592
592
  loadingText: !1
593
593
  }
594
- }, Fe = /* @__PURE__ */ new Map(), Ba = (e) => {
595
- const t = j(), { roles: a, permission: s } = e.meta || {};
596
- if (w(a) && w(s))
594
+ }, Fe = /* @__PURE__ */ new Map(), qt = (e) => {
595
+ const a = j(), { roles: t, permission: s } = e.meta || {};
596
+ if (P(t) && P(s))
597
597
  return !0;
598
598
  if (ge.VITE_PERMISSION_MODE === "role")
599
- return w(a) ? !0 : t.hasRole(a);
599
+ return P(t) ? !0 : a.hasRole(t);
600
600
  if (ge.VITE_PERMISSION_MODE === "permit") {
601
601
  let n = !1, o = !1;
602
- return w(a) || (n = t.hasRole(a)), t.isAdmin() ? n : (w(s) || (o = t.hasPermit(e.path, s)), n || o);
602
+ return P(t) || (n = a.hasRole(t)), a.isAdmin() ? n : (P(s) || (o = a.hasPermit(e.path, s)), n || o);
603
603
  }
604
604
  return !1;
605
- }, ra = (e) => e.map((t) => {
606
- const a = { ...t };
607
- return Ba(a) ? (a.children && (a.children = ra(a.children)), a) : null;
608
- }).filter(Boolean), oa = (e, t = "") => {
609
- for (const a of e) {
610
- if (!a.children && !a.redirect) {
611
- let s = t + a.path;
605
+ }, rt = (e) => e.map((a) => {
606
+ const t = { ...a };
607
+ return qt(t) ? (t.children && (t.children = rt(t.children)), t) : null;
608
+ }).filter(Boolean), ot = (e, a = "") => {
609
+ for (const t of e) {
610
+ if (!t.children && !t.redirect) {
611
+ let s = a + t.path;
612
612
  return s.startsWith("/") || (s = "/" + s), s;
613
613
  }
614
- if (a.children && a.children.length > 0 && a.path !== "/error" && a.path !== "/login" && a.path !== "/:page(.*)") {
615
- const s = oa(a.children, t + a.path + "/");
614
+ if (t.children && t.children.length > 0 && t.path !== "/error" && t.path !== "/login" && t.path !== "/:page(.*)") {
615
+ const s = ot(t.children, a + t.path + "/");
616
616
  if (s)
617
617
  return s;
618
618
  }
@@ -625,8 +625,8 @@ const Ja = (e) => {
625
625
  AppCode: "",
626
626
  Version: "",
627
627
  Host: "",
628
- Source: ze.Manual,
629
- Action: Ce.App,
628
+ Source: Ce.Manual,
629
+ Action: Be.App,
630
630
  Path: "",
631
631
  Icon: "",
632
632
  Routes: [],
@@ -644,14 +644,14 @@ const Ja = (e) => {
644
644
  * 加载授权应用列表
645
645
  */
646
646
  async loadAppList(e) {
647
- return new Promise(async (t) => {
647
+ return new Promise(async (a) => {
648
648
  e && e.length > 0 ? (this.appList.length = 0, setTimeout(async () => {
649
- this.appList.push(...e), t();
650
- }, 1e3)) : (this.appList.length === 0 && await this.getRemoteAppList(), t());
649
+ this.appList.push(...e), a();
650
+ }, 1e3)) : (this.appList.length === 0 && await this.getRemoteAppList(), a());
651
651
  });
652
652
  },
653
653
  async getRemoteAppList() {
654
- return G(qa.appList, {
654
+ return G(Wt.appList, {
655
655
  Query: {
656
656
  AppCode: this.appInfo.AppCode,
657
657
  Enabled: 1
@@ -665,32 +665,32 @@ const Ja = (e) => {
665
665
  x.error("加载应用列表失败");
666
666
  return;
667
667
  }
668
- let t = "";
669
- const a = window.location.pathname.split("/");
670
- if (a.length > 1) {
671
- for (let n = a.length - 1; n >= 0; n--)
672
- if (a[n] !== "") {
673
- t = a[n];
668
+ let a = "";
669
+ const t = window.location.pathname.split("/");
670
+ if (t.length > 1) {
671
+ for (let n = t.length - 1; n >= 0; n--)
672
+ if (t[n] !== "") {
673
+ a = t[n];
674
674
  break;
675
675
  }
676
676
  }
677
677
  let s = null;
678
- t && t != "login" ? s = this.appList.find((n) => n.AppCode === t) : s = this.appList.find((n) => n.Default), t = s ? s.AppCode : this.appList[0].AppCode, await this.setActiveApp(t), (!e || e.startsWith("/#/") || e.includes("/error/") || window.location.hash.includes("/error/")) && this.push(this.appInfo.defaultPage);
678
+ a && a != "login" ? s = this.appList.find((n) => n.AppCode === a) : s = this.appList.find((n) => n.Default), a = s ? s.AppCode : this.appList[0].AppCode, await this.setActiveApp(a), (!e || e.startsWith("/#/") || e.includes("/error/") || window.location.hash.includes("/error/")) && this.push(this.appInfo.defaultPage);
679
679
  },
680
680
  /**
681
681
  * 设置当前应用
682
682
  * @param key 应用码
683
683
  * @returns
684
684
  */
685
- async setActiveApp(e, t) {
685
+ async setActiveApp(e, a) {
686
686
  this.menuLoaded = !1;
687
- const a = this.appList.find((s) => s.AppCode === e);
688
- a && (a.AppCode !== this.appInfo.AppCode && (this.appInfo = {
689
- ...a,
687
+ const t = this.appList.find((s) => s.AppCode === e);
688
+ t && (t.AppCode !== this.appInfo.AppCode && (this.appInfo = {
689
+ ...t,
690
690
  flattenRoutes: {},
691
- Routes: t ?? [],
691
+ Routes: a ?? [],
692
692
  defaultPage: ""
693
- }), (!ye() || !La()) && (await j().getRolePermits(a.Id), this.appInfo.Routes.length && this.setAppRoutes(this.appInfo.Routes)));
693
+ }), (!ye() || !Lt()) && (await j().getRolePermits(t.Id), this.appInfo.Routes.length && this.setAppRoutes(this.appInfo.Routes)));
694
694
  },
695
695
  /**
696
696
  * 设置当前应用路由信息
@@ -703,20 +703,20 @@ const Ja = (e) => {
703
703
  Routes: e,
704
704
  defaultPage: ""
705
705
  };
706
- const t = this.appInfo.flattenRoutes;
707
- for (const a of e)
708
- na(a, t, void 0);
709
- if (Object.keys(t).forEach((a) => {
710
- const s = t[a];
711
- s.children || !s.component || (s.meta && s.meta.keepAlive === !1 ? this.ExcludeComponents.push(a) : this.CachedComponents.push(a));
706
+ const a = this.appInfo.flattenRoutes;
707
+ for (const t of e)
708
+ nt(t, a, void 0);
709
+ if (Object.keys(a).forEach((t) => {
710
+ const s = a[t];
711
+ s.children || !s.component || (s.meta && s.meta.keepAlive === !1 ? this.ExcludeComponents.push(t) : this.CachedComponents.push(t));
712
712
  }), j().isLogin) {
713
- const a = ra(this.appInfo.Routes);
714
- if (Ka(a), this.appInfo.defaultPage = oa(a) || "", this.appInfo.defaultPage) {
715
- if (this.menuLoaded = !0, _.value && _.value.mainAppPush) {
713
+ const t = rt(this.appInfo.Routes);
714
+ if (Kt(t), this.appInfo.defaultPage = ot(t) || "", this.appInfo.defaultPage) {
715
+ if (this.menuLoaded = !0, N.value && N.value.mainAppPush) {
716
716
  const s = this.formatRoute(this.appInfo.defaultPage);
717
- _.value.mainAppPush(s);
717
+ N.value.mainAppPush(s);
718
718
  }
719
- Ja(this.appInfo.defaultPage);
719
+ Jt(this.appInfo.defaultPage);
720
720
  }
721
721
  }
722
722
  },
@@ -726,18 +726,18 @@ const Ja = (e) => {
726
726
  * @returns
727
727
  */
728
728
  formatRoute(e) {
729
- let t = e;
730
- return e.includes("#") ? e.startsWith("#") && (t = "/" + this.appInfo.Action.toLowerCase() + "/" + this.appInfo.AppCode + "/" + e) : this.appInfo.AppCode ? t = "/" + this.appInfo.Action.toLowerCase() + "/" + this.appInfo.AppCode + "/#" + e : t = "/#" + e, t;
729
+ let a = e;
730
+ return e.includes("#") ? e.startsWith("#") && (a = "/" + this.appInfo.Action.toLowerCase() + "/" + this.appInfo.AppCode + "/" + e) : this.appInfo.AppCode ? a = "/" + this.appInfo.Action.toLowerCase() + "/" + this.appInfo.AppCode + "/#" + e : a = "/#" + e, a;
731
731
  },
732
732
  /**
733
733
  * 应用导航,菜单路由,都使用此处导航
734
734
  * @param path 路由地址
735
735
  */
736
736
  push(e) {
737
- this.findRoute(e) && Je().setTabActive(e), ga(() => {
738
- if (oe.push({ path: e }), _.value && _.value.mainAppPush) {
739
- const a = this.formatRoute(e);
740
- _.value.mainAppPush(a);
737
+ this.findRoute(e) && Je().setTabActive(e), gt(() => {
738
+ if (oe.push({ path: e }), N.value && N.value.mainAppPush) {
739
+ const t = this.formatRoute(e);
740
+ N.value.mainAppPush(t);
741
741
  }
742
742
  });
743
743
  },
@@ -755,19 +755,19 @@ const Ja = (e) => {
755
755
  * @param route 路由
756
756
  * @returns 组件实例
757
757
  */
758
- cacheComponent(e, t) {
759
- let a = Fe.get(t.path);
760
- if (!a)
761
- if (this.CachedComponents.includes(t.path))
762
- a = {
758
+ cacheComponent(e, a) {
759
+ let t = Fe.get(a.path);
760
+ if (!t)
761
+ if (this.CachedComponents.includes(a.path))
762
+ t = {
763
763
  // 设置组件包装器的名称为路由路径
764
- name: t.path,
764
+ name: a.path,
765
765
  render() {
766
766
  return U(e);
767
767
  }
768
- }, Fe.set(t.path, a);
768
+ }, Fe.set(a.path, t);
769
769
  else return e;
770
- return a;
770
+ return t;
771
771
  },
772
772
  /**
773
773
  * 删除缓存组件
@@ -780,12 +780,12 @@ const Ja = (e) => {
780
780
  * 路由路径层级查询,返回面包屑
781
781
  */
782
782
  matchedRoutes(e) {
783
- const t = [], a = this.findRoute(e);
784
- if (a && (t.push(a), a.parent)) {
785
- const s = this.matchedRoutes(a.parent.path);
786
- t.push(...s);
783
+ const a = [], t = this.findRoute(e);
784
+ if (t && (a.push(t), t.parent)) {
785
+ const s = this.matchedRoutes(t.parent.path);
786
+ a.push(...s);
787
787
  }
788
- return t.reverse();
788
+ return a.reverse();
789
789
  },
790
790
  clean() {
791
791
  this.appInfo = {
@@ -794,8 +794,8 @@ const Ja = (e) => {
794
794
  AppCode: "",
795
795
  Version: "",
796
796
  Host: "",
797
- Source: ze.Manual,
798
- Action: Ce.App,
797
+ Source: Ce.Manual,
798
+ Action: Be.App,
799
799
  Path: "",
800
800
  Icon: "",
801
801
  Routes: [],
@@ -805,11 +805,11 @@ const Ja = (e) => {
805
805
  }, this.CachedComponents.splice(0, this.CachedComponents.length), this.ExcludeComponents.splice(0, this.ExcludeComponents.length), this.appList.splice(0, this.appList.length), this.menuLoaded = !1;
806
806
  },
807
807
  logout() {
808
- this.clean(), oe.push({ path: Se + "#/" }), ye() && _.value && _.value.mainAppPush && _.value.mainAppPush(Se + "#/");
808
+ this.clean(), oe.push({ path: Se + "#/" }), ye() && N.value && N.value.mainAppPush && N.value.mainAppPush(Se + "#/");
809
809
  }
810
810
  },
811
811
  persist: !1
812
- }), ia = "Token解析失败", We = "登录过期,请重新登录", je = {
812
+ }), it = "Token解析失败", ze = "登录过期,请重新登录", je = {
813
813
  login: {
814
814
  api: "PLATFORM_API",
815
815
  url: "/openapi/LoginSrv/login",
@@ -827,46 +827,46 @@ const Ja = (e) => {
827
827
  url: "/api/LoginSrv/logout",
828
828
  loadingText: "正在退出..."
829
829
  }
830
- }, Ca = (e) => {
831
- let t = {
830
+ }, Bt = (e) => {
831
+ let a = {
832
832
  Option: {
833
833
  Mode: "MicroApp"
834
834
  },
835
835
  Query: e
836
836
  };
837
- return G(je.login, t).then((a) => (a == null ? void 0 : a.status) === T.SUCCESS ? a : null);
838
- }, za = (e) => {
839
- let t = {
837
+ return G(je.login, a).then((t) => (t == null ? void 0 : t.status) === T.SUCCESS ? t : null);
838
+ }, Ct = (e) => {
839
+ let a = {
840
840
  Query: {
841
841
  AppId: e
842
842
  }
843
843
  };
844
- return G(je.auth, t).then((a) => (a == null ? void 0 : a.status) === T.SUCCESS ? a.data : (x.error("获取授权信息失败," + (a == null ? void 0 : a.msg)), null));
845
- }, Wa = () => {
844
+ return G(je.auth, a).then((t) => (t == null ? void 0 : t.status) === T.SUCCESS ? t.data : (x.error("获取授权信息失败," + (t == null ? void 0 : t.msg)), null));
845
+ }, zt = () => {
846
846
  let e = {
847
847
  Option: {},
848
848
  Query: {}
849
849
  };
850
- return G(je.logout, e).then((t) => (t == null ? void 0 : t.status) === T.SUCCESS ? t.data : null);
851
- }, Ya = (e) => {
850
+ return G(je.logout, e).then((a) => (a == null ? void 0 : a.status) === T.SUCCESS ? a.data : null);
851
+ }, Yt = (e) => {
852
852
  try {
853
- const a = JSON.parse(atob(e.split(".")[1])).exp;
854
- return Date.now() / 1e3 > a;
855
- } catch (t) {
856
- return console.error(ia, t), !0;
853
+ const t = JSON.parse(atob(e.split(".")[1])).exp;
854
+ return Date.now() / 1e3 > t;
855
+ } catch (a) {
856
+ return console.error(it, a), !0;
857
857
  }
858
- }, Me = (e, t) => e == "" ? (x.error(We, {
858
+ }, Me = (e, a) => e == "" ? (x.error(ze, {
859
859
  duration: 3e3,
860
- onClose: t
861
- }), !1) : Ya(e) ? (x.error(We, {
860
+ onClose: a
861
+ }), !1) : Yt(e) ? (x.error(ze, {
862
862
  duration: 3e3,
863
- onClose: t
864
- }), !1) : !0, Xa = (e) => {
863
+ onClose: a
864
+ }), !1) : !0, Xt = (e) => {
865
865
  try {
866
- const t = JSON.parse(atob(e.token.split(".")[1]));
867
- return t.user = JSON.parse(t.user), e.UserInfo = t.user, !0;
868
- } catch (t) {
869
- return console.error(ia, t), !1;
866
+ const a = JSON.parse(atob(e.token.split(".")[1]));
867
+ return a.user = JSON.parse(a.user), e.UserInfo = a.user, !0;
868
+ } catch (a) {
869
+ return console.error(it, a), !1;
870
870
  }
871
871
  }, L = f(""), ee = f(null), j = ue("userInfo", {
872
872
  state: () => ({
@@ -893,15 +893,15 @@ const Ja = (e) => {
893
893
  * @param loginInfo 登录信息
894
894
  * @returns
895
895
  */
896
- async login(e, t) {
897
- const a = await Ca(e);
898
- if (a) {
899
- const s = a;
896
+ async login(e, a) {
897
+ const t = await Bt(e);
898
+ if (t) {
899
+ const s = t;
900
900
  if (s.errno)
901
901
  return s;
902
902
  {
903
- const n = a.data;
904
- if (this.token = n.token, he(this.token), this.isLogin = !0, Xa(n))
903
+ const n = t.data;
904
+ if (this.token = n.token, he(this.token), this.isLogin = !0, Xt(n))
905
905
  this.userInfo = {
906
906
  ...this.userInfo,
907
907
  ...n.UserInfo
@@ -910,7 +910,7 @@ const Ja = (e) => {
910
910
  x.error("用户信息解析失败");
911
911
  return;
912
912
  }
913
- t && H().toDefaultApp();
913
+ a && H().toDefaultApp();
914
914
  }
915
915
  }
916
916
  },
@@ -925,14 +925,14 @@ const Ja = (e) => {
925
925
  if (ee.value && ee.value.appId === e)
926
926
  return !0;
927
927
  try {
928
- const t = await za(e);
929
- return t ? (ee.value = {
928
+ const a = await Ct(e);
929
+ return a ? (ee.value = {
930
930
  appId: e,
931
- permits: t.permits || [],
932
- lastTime: t.lastTime
931
+ permits: a.permits || [],
932
+ lastTime: a.lastTime
933
933
  }, !0) : !1;
934
- } catch (t) {
935
- return console.error("获取授权信息出错", t), !1;
934
+ } catch (a) {
935
+ return console.error("获取授权信息出错", a), !1;
936
936
  }
937
937
  },
938
938
  /**
@@ -949,10 +949,10 @@ const Ja = (e) => {
949
949
  * @param permitCode 资源权限编码
950
950
  * @returns 是否有功能权限
951
951
  */
952
- hasPermit(e, t) {
952
+ hasPermit(e, a) {
953
953
  var s;
954
- const a = ee.value;
955
- return !a || !a.permits ? !1 : ((s = a.permits[e]) == null ? void 0 : s.includes(t)) ?? !1;
954
+ const t = ee.value;
955
+ return !t || !t.permits ? !1 : ((s = t.permits[e]) == null ? void 0 : s.includes(a)) ?? !1;
956
956
  },
957
957
  /**
958
958
  * 获取用户信息
@@ -967,15 +967,15 @@ const Ja = (e) => {
967
967
  * @param userInfo 用户信息
968
968
  * @param token 用户Token
969
969
  */
970
- setUserInfo(e, t) {
971
- if (!Me(t)) {
970
+ setUserInfo(e, a) {
971
+ if (!Me(a)) {
972
972
  this.clean();
973
973
  return;
974
974
  }
975
975
  L.value || (L.value = e.UserLevel, this.userInfo = {
976
976
  ...this.userInfo,
977
977
  ...e
978
- }, this.token = t, he(this.token), this.isLogin = !0);
978
+ }, this.token = a, he(this.token), this.isLogin = !0);
979
979
  },
980
980
  /**
981
981
  * 获取用户Token
@@ -1023,7 +1023,7 @@ const Ja = (e) => {
1023
1023
  */
1024
1024
  async logout() {
1025
1025
  try {
1026
- await Wa();
1026
+ await zt();
1027
1027
  } catch (e) {
1028
1028
  console.error("调用登出接口失败", e);
1029
1029
  } finally {
@@ -1045,10 +1045,10 @@ const Ja = (e) => {
1045
1045
  e.store.init();
1046
1046
  }
1047
1047
  }
1048
- }), Qt = (e, t) => {
1049
- const a = j();
1050
- return e.filter((n) => n.role && !a.hasRole(n.role) || n.permit && !a.hasPermit(oe.currentRoute.value.path, n.permit) || n.enabled === !1 ? !1 : typeof n.enabled == "function" ? n.enabled() : !0).filter((n) => {
1051
- if (!t) {
1048
+ }), Qa = (e, a) => {
1049
+ const t = j();
1050
+ return e.filter((n) => n.role && !t.hasRole(n.role) || n.permit && !t.hasPermit(oe.currentRoute.value.path, n.permit) || n.enabled === !1 ? !1 : typeof n.enabled == "function" ? n.enabled() : !0).filter((n) => {
1051
+ if (!a) {
1052
1052
  if (n.visible === !1)
1053
1053
  return !1;
1054
1054
  if (typeof n.visible == "function")
@@ -1056,32 +1056,32 @@ const Ja = (e) => {
1056
1056
  }
1057
1057
  return !0;
1058
1058
  });
1059
- }, Jt = (e, t) => {
1060
- const a = t == null ? void 0 : t.filter((s) => {
1059
+ }, Ja = (e, a) => {
1060
+ const t = a == null ? void 0 : a.filter((s) => {
1061
1061
  const n = e.find(
1062
1062
  (o) => o.dataIndex === s.dataIndex || o.key === s.key || o.title === s.title
1063
1063
  );
1064
1064
  return n ? { ...s, ...n } : !1;
1065
1065
  });
1066
- return [...a || [], ...e.filter((s) => !(a != null && a.includes(s)))];
1067
- }, Za = (e) => (e.remotePage = !1, la(e).then((t) => t.rows)), la = (e) => {
1066
+ return [...t || [], ...e.filter((s) => !(t != null && t.includes(s)))];
1067
+ }, Zt = (e) => (e.remotePage = !1, lt(e).then((a) => a.rows)), lt = (e) => {
1068
1068
  e.gridQuery || (e.gridQuery = {});
1069
- const t = e.remotePage ? "find" : "list";
1069
+ const a = e.remotePage ? "find" : "list";
1070
1070
  return Ve(e, {
1071
- urlKey: t,
1071
+ urlKey: a,
1072
1072
  url: e.gridUrl,
1073
1073
  params: e.gridQuery,
1074
1074
  loadingState: e.isGridLoading,
1075
- processParams: (a) => {
1075
+ processParams: (t) => {
1076
1076
  var n;
1077
- return e.remotePage && (a.Query.$limit = [(e.pageNo.value - 1) * e.pageSize.value, e.pageSize.value]), Oe((n = e.gridUrl) == null ? void 0 : n.params, a, e.gridQuery);
1077
+ return e.remotePage && (t.Query.$limit = [(e.pageNo.value - 1) * e.pageSize.value, e.pageSize.value]), Oe((n = e.gridUrl) == null ? void 0 : n.params, t, e.gridQuery);
1078
1078
  }
1079
- }).then((a) => {
1080
- if ((a == null ? void 0 : a.status) === T.SUCCESS) {
1081
- let s = a.data;
1082
- return s.rows ? (e.tableData.value = s.rows, e.total.value = s.total) : (e.tableData.value = a.data, e.total.value = a.data.length, s = {
1079
+ }).then((t) => {
1080
+ if ((t == null ? void 0 : t.status) === T.SUCCESS) {
1081
+ let s = t.data;
1082
+ return s.rows ? (e.tableData.value = s.rows, e.total.value = s.total) : (e.tableData.value = t.data, e.total.value = t.data.length, s = {
1083
1083
  total: e.total.value,
1084
- rows: a.data
1084
+ rows: t.data
1085
1085
  }, e.afterLoad && e.afterLoad(s)), s;
1086
1086
  }
1087
1087
  return e.tableData.value = [], e.total.value = 0, {
@@ -1089,72 +1089,72 @@ const Ja = (e) => {
1089
1089
  rows: []
1090
1090
  };
1091
1091
  });
1092
- }, et = (e, t, a = {}) => aa(e, {
1092
+ }, ea = (e, a, t = {}) => tt(e, {
1093
1093
  urlKey: "update",
1094
1094
  url: e.updateUrl,
1095
1095
  params: {
1096
- Query: { [e.primaryKey]: t[e.primaryKey] },
1097
- Data: t
1096
+ Query: { [e.primaryKey]: a[e.primaryKey] },
1097
+ Data: a
1098
1098
  },
1099
1099
  loadingState: e.isGridSaving,
1100
- ...a
1100
+ ...t
1101
1101
  }).then((s) => ((s == null ? void 0 : s.status) === T.SUCCESS && setTimeout(() => {
1102
- e.reload.value = !0, e.afterUpdate && e.afterUpdate(t);
1103
- }, 50), s)), jt = (e, t) => {
1104
- const a = {};
1105
- return a[e.primaryKey] = t[e.primaryKey], a[e.statusKey] = t[e.statusKey], et(e, a, {
1102
+ e.reload.value = !0, e.afterUpdate && e.afterUpdate(a);
1103
+ }, 50), s)), ja = (e, a) => {
1104
+ const t = {};
1105
+ return t[e.primaryKey] = a[e.primaryKey], t[e.statusKey] = a[e.statusKey], ea(e, t, {
1106
1106
  loadingText: !1,
1107
1107
  hideErrorToast: !0
1108
1108
  });
1109
- }, ua = async (e, t, a) => await Ve(e, {
1109
+ }, ut = async (e, a, t) => await Ve(e, {
1110
1110
  urlKey: "detail",
1111
- url: a,
1112
- params: t,
1111
+ url: t,
1112
+ params: a,
1113
1113
  loadingState: e.isGridLoading
1114
- }), Gt = (e, t) => {
1115
- const a = t;
1116
- return ua(e, { [e.primaryKey]: a[e.primaryKey] }).then((s) => ((s == null ? void 0 : s.status) === T.SUCCESS && s.data && (e.expandRows.value[a[e.primaryKey]] = s), s));
1117
- }, qt = (e, t) => {
1118
- let a = e.editor;
1119
- e.rowData.value = t, a && (sa(a, t), a.visible.value = !0);
1120
- }, Bt = (e, t) => Da(e, t, {
1114
+ }), Ga = (e, a) => {
1115
+ const t = a;
1116
+ return ut(e, { [e.primaryKey]: t[e.primaryKey] }).then((s) => ((s == null ? void 0 : s.status) === T.SUCCESS && s.data && (e.expandRows.value[t[e.primaryKey]] = s), s));
1117
+ }, Wa = (e, a) => {
1118
+ let t = e.editor;
1119
+ e.rowData.value = a, t && (st(t, a), t.visible.value = !0);
1120
+ }, qa = (e, a) => Dt(e, a, {
1121
1121
  url: e.deleteUrl,
1122
1122
  primaryKey: e.primaryKey
1123
- }).then((a) => ((a == null ? void 0 : a.status) === T.SUCCESS && setTimeout(() => {
1124
- e.reload.value = !0, e.afterDelete && !Array.isArray(t) && e.afterDelete(t);
1125
- }, 50), a));
1126
- var _e = /* @__PURE__ */ ((e) => (e.SelectReload = "Select.Reload", e.RadioReload = "Radio.Reload", e.CheckboxReload = "Checkbox.Reload", e.TreeSelectReload = "TreeSelect.Reload", e.TreeCheckReload = "TreeCheck.Reload", e))(_e || {});
1127
- class at {
1123
+ }).then((t) => ((t == null ? void 0 : t.status) === T.SUCCESS && setTimeout(() => {
1124
+ e.reload.value = !0, e.afterDelete && !Array.isArray(a) && e.afterDelete(a);
1125
+ }, 50), t));
1126
+ var Ne = /* @__PURE__ */ ((e) => (e.SelectReload = "Select.Reload", e.RadioReload = "Radio.Reload", e.CheckboxReload = "Checkbox.Reload", e.TreeSelectReload = "TreeSelect.Reload", e.TreeCheckReload = "TreeCheck.Reload", e))(Ne || {});
1127
+ class ta {
1128
1128
  constructor() {
1129
1129
  F(this, "listeners", {});
1130
1130
  }
1131
1131
  // 检查事件名是否符合前缀
1132
- isValidPrefix(t) {
1133
- return Object.values(_e).some((a) => t.startsWith(a + "."));
1132
+ isValidPrefix(a) {
1133
+ return Object.values(Ne).some((t) => a.startsWith(t + "."));
1134
1134
  }
1135
1135
  /**
1136
1136
  * 事件订阅
1137
1137
  * @param event 事件名
1138
1138
  * @param listener 处理器
1139
1139
  */
1140
- on(t, a) {
1141
- if (!this.isValidPrefix(t)) {
1142
- console.error(`事件前缀不正确: ${t}, 事件名必须以 ${Object.values(_e).join(", ")} 开头`);
1140
+ on(a, t) {
1141
+ if (!this.isValidPrefix(a)) {
1142
+ console.error(`事件前缀不正确: ${a}, 事件名必须以 ${Object.values(Ne).join(", ")} 开头`);
1143
1143
  return;
1144
1144
  }
1145
- this.listeners[t] || (this.listeners[t] = []), this.listeners[t].push(a);
1145
+ this.listeners[a] || (this.listeners[a] = []), this.listeners[a].push(t);
1146
1146
  }
1147
1147
  /**
1148
1148
  * 取消订阅事件
1149
1149
  * @param event 事件名
1150
1150
  * @param listener 处理器
1151
1151
  */
1152
- off(t, a) {
1153
- if (!this.isValidPrefix(t)) {
1154
- console.error(`事件前缀不正确: ${t}`);
1152
+ off(a, t) {
1153
+ if (!this.isValidPrefix(a)) {
1154
+ console.error(`事件前缀不正确: ${a}`);
1155
1155
  return;
1156
1156
  }
1157
- this.listeners[t] && (this.listeners[t] = this.listeners[t].filter((s) => s !== a));
1157
+ this.listeners[a] && (this.listeners[a] = this.listeners[a].filter((s) => s !== t));
1158
1158
  }
1159
1159
  //
1160
1160
  /**
@@ -1162,78 +1162,78 @@ class at {
1162
1162
  * @param event 事件名
1163
1163
  * @param args 参数
1164
1164
  */
1165
- emit(t, ...a) {
1166
- if (!this.isValidPrefix(t)) {
1167
- console.error(`事件前缀不正确: ${t}`);
1165
+ emit(a, ...t) {
1166
+ if (!this.isValidPrefix(a)) {
1167
+ console.error(`事件前缀不正确: ${a}`);
1168
1168
  return;
1169
1169
  }
1170
- this.listeners[t] && this.listeners[t].forEach((s) => s(t, ...a));
1170
+ this.listeners[a] && this.listeners[a].forEach((s) => s(a, ...t));
1171
1171
  }
1172
1172
  }
1173
- const B = new at(), Z = (e, t, a) => {
1174
- if (t.inputFactory && (a != null && a.reloadEvent)) {
1175
- const s = t.inputFactory.value;
1173
+ const q = new ta(), Z = (e, a, t) => {
1174
+ if (a.inputFactory && (t != null && t.reloadEvent)) {
1175
+ const s = a.inputFactory.value;
1176
1176
  s.reloadHandler = (n, o) => {
1177
- tt(t.url, t, o);
1178
- }, B.on(a.reloadEvent, s.reloadHandler);
1177
+ aa(a.url, a, o);
1178
+ }, q.on(t.reloadEvent, s.reloadHandler);
1179
1179
  }
1180
- if (a != null && a.data)
1180
+ if (t != null && t.data)
1181
1181
  y(
1182
- () => a.data,
1182
+ () => t.data,
1183
1183
  () => {
1184
- Ge(t, a.data, !0);
1184
+ Ge(a, t.data, !0);
1185
1185
  },
1186
1186
  { deep: !0, immediate: !0 }
1187
1187
  );
1188
- else if (t.url && t.url.url)
1189
- e && ca(t.url, t, t.params ?? {});
1188
+ else if (a.url && a.url.url)
1189
+ e && ct(a.url, a, a.params ?? {});
1190
1190
  else {
1191
- const s = f(te(D.LabelText, ""));
1191
+ const s = f(ae(D.LabelText, ""));
1192
1192
  x.error("`" + s.value + "` 未配置选项数据!", {
1193
1193
  duration: 5e3
1194
1194
  });
1195
1195
  }
1196
- }, Ge = (e, t, a) => {
1197
- if (a) {
1196
+ }, Ge = (e, a, t) => {
1197
+ if (t) {
1198
1198
  const s = {
1199
1199
  ...e.fieldMap
1200
1200
  };
1201
- t = $a(s, t);
1201
+ a = $t(s, a);
1202
1202
  }
1203
- t = JSON.parse(JSON.stringify(t ?? [])), e.all && t.unshift({
1203
+ a = JSON.parse(JSON.stringify(a ?? [])), e.all && a.unshift({
1204
1204
  label: "全部",
1205
1205
  value: e.allValue ?? void 0
1206
- }), e.options.value = t;
1207
- }, tt = (e, t, a) => {
1208
- Array.isArray(a) ? Ge(t, a, !0) : ca(e, t, a);
1209
- }, pe = (e, t) => {
1210
- var a;
1211
- (a = e.inputFactory) != null && a.value && t.reloadEvent && e.inputFactory.value.reloadHandler && B.off(t.reloadEvent, e.inputFactory.value.reloadHandler);
1212
- }, ca = (e, t, a) => {
1213
- const s = JSON.parse(JSON.stringify(e.params ?? {})), n = JSON.parse(JSON.stringify(t.params ?? {})), o = Oe(s, n, a);
1214
- st(e, t, t.fieldMap, o).then((r) => {
1215
- Ge(t, r, !1);
1206
+ }), e.options.value = a;
1207
+ }, aa = (e, a, t) => {
1208
+ Array.isArray(t) ? Ge(a, t, !0) : ct(e, a, t);
1209
+ }, pe = (e, a) => {
1210
+ var t;
1211
+ (t = e.inputFactory) != null && t.value && a.reloadEvent && e.inputFactory.value.reloadHandler && q.off(a.reloadEvent, e.inputFactory.value.reloadHandler);
1212
+ }, ct = (e, a, t) => {
1213
+ const s = JSON.parse(JSON.stringify(e.params ?? {})), n = JSON.parse(JSON.stringify(a.params ?? {})), o = Oe(s, n, t);
1214
+ sa(e, a, a.fieldMap, o).then((r) => {
1215
+ Ge(a, r, !1);
1216
1216
  });
1217
- }, st = (e, t, a, s) => {
1217
+ }, sa = (e, a, t, s) => {
1218
1218
  const { fieldMap: n, ...o } = e, l = {
1219
1219
  ...{
1220
1220
  url: "",
1221
1221
  cacheTime: 6e4,
1222
1222
  fieldMap: {
1223
1223
  ...e.fieldMap,
1224
- ...a
1224
+ ...t
1225
1225
  }
1226
1226
  },
1227
1227
  ...o
1228
1228
  };
1229
- return l.loadingText = !1, s || (s = {}), s.Query || (s.Query = {}), t.optionQuery = s, t.isOptionLoading.value = !0, G(l, s).then((i) => (i == null ? void 0 : i.status) === T.SUCCESS && i.data ? i.data : []).finally(() => {
1230
- t.isOptionLoading.value = !1;
1229
+ return l.loadingText = !1, s || (s = {}), s.Query || (s.Query = {}), a.optionQuery = s, a.isOptionLoading.value = !0, G(l, s).then((i) => (i == null ? void 0 : i.status) === T.SUCCESS && i.data ? i.data : []).finally(() => {
1230
+ a.isOptionLoading.value = !1;
1231
1231
  });
1232
- }, nt = (e, t, a) => {
1232
+ }, na = (e, a, t) => {
1233
1233
  if (e === void 0) return;
1234
1234
  const s = (o) => {
1235
1235
  const r = { ...o };
1236
- return a && o.children && o.children.length > 0 ? r.children = o.children.map((l) => s(l)) : delete r.children, r;
1236
+ return t && o.children && o.children.length > 0 ? r.children = o.children.map((l) => s(l)) : delete r.children, r;
1237
1237
  }, n = (o, r) => {
1238
1238
  const l = [];
1239
1239
  for (const i of r)
@@ -1244,81 +1244,81 @@ const B = new at(), Z = (e, t, a) => {
1244
1244
  return l;
1245
1245
  };
1246
1246
  if (Array.isArray(e))
1247
- return n(e, t);
1247
+ return n(e, a);
1248
1248
  {
1249
- const o = n([e], t);
1249
+ const o = n([e], a);
1250
1250
  return o.length > 0 ? o[0] : void 0;
1251
1251
  }
1252
- }, Pe = (e) => e === void 0 ? [] : Array.isArray(e) ? e.map((t) => t.label) : [e.label], ae = (e, t, a) => {
1253
- const s = t.split(".");
1252
+ }, we = (e) => e === void 0 ? [] : Array.isArray(e) ? e.map((a) => a.label) : [e.label], te = (e, a, t) => {
1253
+ const s = a.split(".");
1254
1254
  let n = e;
1255
1255
  for (let o = 0; o < s.length - 1; o++) {
1256
1256
  const r = s[o];
1257
1257
  n[r] || (n[r] = {}), n = n[r];
1258
1258
  }
1259
- n[s[s.length - 1]] = a;
1260
- }, fa = (e, t, a) => {
1261
- if (a == null) {
1262
- Object.entries(t).forEach(([s]) => {
1263
- ae(e, s, a);
1259
+ n[s[s.length - 1]] = t;
1260
+ }, ft = (e, a, t) => {
1261
+ if (t == null) {
1262
+ Object.entries(a).forEach(([s]) => {
1263
+ te(e, s, t);
1264
1264
  });
1265
1265
  return;
1266
1266
  }
1267
- Array.isArray(a) ? Object.entries(t).forEach(([s, n]) => {
1267
+ Array.isArray(t) ? Object.entries(a).forEach(([s, n]) => {
1268
1268
  var r;
1269
1269
  if (/^\$\{\d+\}/.test(n))
1270
1270
  try {
1271
- const l = parseInt(((r = n.match(/\$\{(\d+)\}/)) == null ? void 0 : r[1]) ?? "0"), i = a[l], u = n.replace(/\$\{\d+\}\./, "");
1271
+ const l = parseInt(((r = n.match(/\$\{(\d+)\}/)) == null ? void 0 : r[1]) ?? "0"), i = t[l], u = n.replace(/\$\{\d+\}\./, "");
1272
1272
  if (u && i) {
1273
1273
  const c = be(u, i);
1274
- ae(e, s, c);
1274
+ te(e, s, c);
1275
1275
  } else
1276
- ae(e, s, i);
1276
+ te(e, s, i);
1277
1277
  } catch {
1278
1278
  console.error("outFields 格式错误:" + n, "必须是 ${index} 或者 ${index}.${key}");
1279
1279
  }
1280
1280
  else
1281
1281
  console.error("outFields 格式错误:" + n, "必须是 ${index} 或者 ${index}.${key}");
1282
- }) : Object.entries(t).forEach(([s, n]) => {
1282
+ }) : Object.entries(a).forEach(([s, n]) => {
1283
1283
  if (n.includes("${")) {
1284
- const o = be(n, a);
1285
- ae(e, s, o);
1284
+ const o = be(n, t);
1285
+ te(e, s, o);
1286
1286
  } else
1287
- ae(e, s, a[n]);
1287
+ te(e, s, t[n]);
1288
1288
  });
1289
- }, we = (e, t, a) => {
1289
+ }, Pe = (e, a, t) => {
1290
1290
  var o, r;
1291
1291
  const s = (o = e.inputFactory) == null ? void 0 : o.value;
1292
- s != null && s.editorCtrl && ((r = s.errInfo) != null && r.value.errClass) && fe(s.editorCtrl), e.selected.value = a;
1293
- const n = nt(a, e.options.value);
1294
- if (e.selectedOptions.value = n, t.formData && t.outFields && fa(t.formData, t.outFields, n), t.changeEvent) {
1295
- const [l, i] = t.changeEvent;
1292
+ s != null && s.editorCtrl && ((r = s.errInfo) != null && r.value.errClass) && fe(s.editorCtrl), e.selected.value = t;
1293
+ const n = na(t, e.options.value);
1294
+ if (e.selectedOptions.value = n, a.formData && a.outFields && ft(a.formData, a.outFields, n), a.changeEvent) {
1295
+ const [l, i] = a.changeEvent;
1296
1296
  if (i)
1297
1297
  if (Array.isArray(l))
1298
1298
  l.every((u) => {
1299
- const c = be(i, { selectedValues: a });
1299
+ const c = be(i, { selectedValues: t });
1300
1300
  try {
1301
1301
  const p = JSON.parse(c);
1302
- B.emit(u, p, a, n);
1302
+ q.emit(u, p, t, n);
1303
1303
  } catch (p) {
1304
1304
  console.error("eventParamsValue: ", c, p);
1305
1305
  }
1306
1306
  });
1307
1307
  else {
1308
- const u = be(i, { selectedValues: a });
1308
+ const u = be(i, { selectedValues: t });
1309
1309
  try {
1310
1310
  const c = JSON.parse(u);
1311
- B.emit(l, c, a, n);
1311
+ q.emit(l, c, t, n);
1312
1312
  } catch (c) {
1313
1313
  console.error("eventParamsValue: ", u, c);
1314
1314
  }
1315
1315
  }
1316
1316
  else
1317
1317
  Array.isArray(l) ? l.every((u) => {
1318
- B.emit(u, n, a);
1319
- }) : B.emit(l, n, a);
1318
+ q.emit(u, n, t);
1319
+ }) : q.emit(l, n, t);
1320
1320
  }
1321
- return s != null && s.inputEmit && s.inputEmit("change", a, n), n;
1321
+ return s != null && s.inputEmit && s.inputEmit("change", t, n), n;
1322
1322
  }, b = {
1323
1323
  PageOption: {
1324
1324
  primaryKey: "Id",
@@ -1357,7 +1357,7 @@ const B = new at(), Z = (e, t, a) => {
1357
1357
  value: "Id"
1358
1358
  }
1359
1359
  }
1360
- }, Ct = (e) => {
1360
+ }, Ba = (e) => {
1361
1361
  b.PageOption = {
1362
1362
  ...b.PageOption,
1363
1363
  ...e.pageOption
@@ -1372,16 +1372,16 @@ const B = new at(), Z = (e, t, a) => {
1372
1372
  ...e.treeOption
1373
1373
  };
1374
1374
  }, ke = (e) => {
1375
- for (let t in e.urls)
1376
- e.urls[t].api || (e.urls[t].api = e.api), e.urls[t].authorize || (e.urls[t].authorize = e.authorize);
1377
- }, rt = (e, t, a, s) => (ke(e), {
1375
+ for (let a in e.urls)
1376
+ e.urls[a].api || (e.urls[a].api = e.api), e.urls[a].authorize === void 0 && (e.urls[a].authorize = e.authorize);
1377
+ }, ra = (e, a, t, s) => (ke(e), {
1378
1378
  editorCtrl: {
1379
1379
  ...b.EditorOption,
1380
1380
  name: "",
1381
- default: a ? JSON.parse(JSON.stringify(a)) : void 0,
1381
+ default: t ? JSON.parse(JSON.stringify(t)) : void 0,
1382
1382
  visible: f(!1),
1383
- page: t,
1384
- formData: f(a ? JSON.parse(JSON.stringify(a)) : void 0),
1383
+ page: a,
1384
+ formData: f(t ? JSON.parse(JSON.stringify(t)) : void 0),
1385
1385
  formRules: f(s),
1386
1386
  ruleResults: f({}),
1387
1387
  updateData: f(void 0),
@@ -1390,7 +1390,7 @@ const B = new at(), Z = (e, t, a) => {
1390
1390
  isFormSaving: f(!1),
1391
1391
  isFormLoading: f(!1)
1392
1392
  }
1393
- }), ot = (e, t, a) => {
1393
+ }), oa = (e, a, t) => {
1394
1394
  ke(e);
1395
1395
  const s = {
1396
1396
  ...b.GridOption,
@@ -1402,11 +1402,11 @@ const B = new at(), Z = (e, t, a) => {
1402
1402
  buttons: f([...b.GridOption.buttons.value]),
1403
1403
  tools: [...b.GridOption.tools],
1404
1404
  operates: [...b.GridOption.operates],
1405
- columns: f(a || []),
1405
+ columns: f(t || []),
1406
1406
  reload: f(!1),
1407
1407
  pageNo: f(1),
1408
1408
  total: f(0),
1409
- page: t,
1409
+ page: a,
1410
1410
  selectKeys: f([]),
1411
1411
  selectRows: f([]),
1412
1412
  rowData: f(void 0),
@@ -1424,34 +1424,34 @@ const B = new at(), Z = (e, t, a) => {
1424
1424
  (n) => {
1425
1425
  n && (setTimeout(() => {
1426
1426
  s.reload.value = !1;
1427
- }, 1), s.remotePage ? la(s) : Za(s));
1427
+ }, 1), s.remotePage ? lt(s) : Zt(s));
1428
1428
  }
1429
1429
  ), {
1430
1430
  gridCtrl: s
1431
1431
  };
1432
- }, zt = (e, t) => {
1432
+ }, Ca = (e, a) => {
1433
1433
  ke(e);
1434
- const a = {
1434
+ const t = {
1435
1435
  ...b.TreeOption,
1436
1436
  reload: f(!1),
1437
- page: t,
1437
+ page: a,
1438
1438
  node: f(void 0),
1439
1439
  url: e.urls.tree,
1440
1440
  data: K(void 0),
1441
1441
  isTreeLoading: f(!1)
1442
1442
  };
1443
1443
  return y(
1444
- () => a.reload.value,
1444
+ () => t.reload.value,
1445
1445
  (s) => {
1446
1446
  s && (setTimeout(() => {
1447
- a.reload.value = !1;
1448
- }, 1), Ua(a));
1447
+ t.reload.value = !1;
1448
+ }, 1), Ut(t));
1449
1449
  }
1450
1450
  ), {
1451
- treeCtrl: a
1451
+ treeCtrl: t
1452
1452
  };
1453
- }, de = (e, t) => {
1454
- const a = {
1453
+ }, de = (e, a) => {
1454
+ const t = {
1455
1455
  ...b.OptionOption,
1456
1456
  url: e,
1457
1457
  reload: f(!1),
@@ -1463,33 +1463,33 @@ const B = new at(), Z = (e, t, a) => {
1463
1463
  isOptionLoading: f(!1)
1464
1464
  };
1465
1465
  return y(
1466
- () => a.reload.value,
1466
+ () => t.reload.value,
1467
1467
  (s) => {
1468
1468
  s && (setTimeout(() => {
1469
- a.reload.value = !1;
1470
- }, 1), Z(!0, a, t));
1469
+ t.reload.value = !1;
1470
+ }, 1), Z(!0, t, a));
1471
1471
  }
1472
1472
  ), {
1473
- optionCtrl: a
1473
+ optionCtrl: t
1474
1474
  };
1475
- }, Wt = (e, t, a) => {
1475
+ }, za = (e, a, t) => {
1476
1476
  ke(e);
1477
1477
  const s = {
1478
1478
  ...b.PageOption,
1479
1479
  ...e
1480
- }, { editorCtrl: n } = rt(e, s, t, a), { gridCtrl: o } = ot(e, s);
1480
+ }, { editorCtrl: n } = ra(e, s, a, t), { gridCtrl: o } = oa(e, s);
1481
1481
  return s.editor = n, s.grid = o, o.editor = n, o.tools = ["Reload", "RowHeight", "TableHeadset", "Fullscreen"], n.grid = o, {
1482
1482
  pageCtrl: s,
1483
1483
  editorCtrl: n,
1484
1484
  gridCtrl: o
1485
1485
  };
1486
- }, it = 7 * 24 * 60 * 60 * 1e3, Ne = /* @__PURE__ */ new Map(), Ye = /* @__PURE__ */ new Set(), J = f({}), Yt = J, Xt = (e) => {
1486
+ }, ia = 7 * 24 * 60 * 60 * 1e3, _e = /* @__PURE__ */ new Map(), Ye = /* @__PURE__ */ new Set(), J = f({}), Ya = J, Xa = (e) => {
1487
1487
  var n;
1488
1488
  if (!e.iconUrl) return De;
1489
- const t = f(!0), a = f("");
1489
+ const a = f(!0), t = f("");
1490
1490
  let s = !0;
1491
- return (n = e.icons) != null && n.length && (s = e.icons.every((o) => J.value[o] !== void 0)), (e.icon && !J.value[e.icon] || !s) && lt(e, t).then(() => {
1492
- ft(e.iconUrl, e.monoColor || !1), t.value = !0;
1491
+ return (n = e.icons) != null && n.length && (s = e.icons.every((o) => J.value[o] !== void 0)), (e.icon && !J.value[e.icon] || !s) && la(e, a).then(() => {
1492
+ fa(e.iconUrl, e.monoColor || !1), a.value = !0;
1493
1493
  }), X({
1494
1494
  props: {
1495
1495
  icon: {
@@ -1529,107 +1529,107 @@ const B = new at(), Z = (e, t, a) => {
1529
1529
  ), y(
1530
1530
  () => i.value,
1531
1531
  (c) => {
1532
- o.icons && (c >= o.icons.length && (i.value = 0), l.value = o.icons[i.value], me(a, l, l.value), r("update:iconIndex", i.value));
1532
+ o.icons && (c >= o.icons.length && (i.value = 0), l.value = o.icons[i.value], me(t, l, l.value), r("update:iconIndex", i.value));
1533
1533
  },
1534
1534
  { immediate: !0 }
1535
1535
  ), y(
1536
1536
  () => J.value,
1537
1537
  () => {
1538
- me(a, l, l.value);
1538
+ me(t, l, l.value);
1539
1539
  },
1540
1540
  { deep: !0 }
1541
1541
  ), y(
1542
1542
  () => o.icon,
1543
1543
  (c) => {
1544
- me(a, l, c);
1544
+ me(t, l, c);
1545
1545
  }
1546
- ), me(a, l, l.value), { isLoaded: t, Icon: a, handleClick: u };
1546
+ ), me(t, l, l.value), { isLoaded: a, Icon: t, handleClick: u };
1547
1547
  },
1548
1548
  render() {
1549
- if (!t.value)
1549
+ if (!a.value)
1550
1550
  return De;
1551
1551
  let o = this.class, r = "";
1552
1552
  Array.isArray(o) ? r = o.join(" ") : typeof o == "string" && (r = o);
1553
1553
  let l = [r];
1554
- return !/\bw-/.test(r) && !/$w-/.test(r) && l.push("w-4"), !/\bh-/.test(r) && !/$h-/.test(r) && l.push("h-4"), a.value ? U(Ze(a.value), {
1554
+ return !/\bw-/.test(r) && !/$w-/.test(r) && l.push("w-4"), !/\bh-/.test(r) && !/$h-/.test(r) && l.push("h-4"), t.value ? U(Ze(t.value), {
1555
1555
  onClick: this.$props.clickable ? this.handleClick : void 0,
1556
1556
  class: `${l.join(" ")}`,
1557
1557
  style: {
1558
1558
  fill: "currentColor",
1559
1559
  cursor: this.$props.clickable ? "pointer" : "default",
1560
- transform: dt(this.angle, this.flip)
1560
+ transform: da(this.angle, this.flip)
1561
1561
  }
1562
1562
  }) : U("div", { class: "w-[14px] h-[14px]" });
1563
1563
  }
1564
1564
  });
1565
- }, lt = (e, t) => {
1566
- let a = e.iconUrl;
1567
- if (!a)
1565
+ }, la = (e, a) => {
1566
+ let t = e.iconUrl;
1567
+ if (!t)
1568
1568
  return console.error("图标库地址不能为空"), Promise.resolve();
1569
- if (Ne.has(a))
1569
+ if (_e.has(t))
1570
1570
  return Promise.resolve();
1571
- const s = da(a);
1571
+ const s = dt(t);
1572
1572
  if (s)
1573
- return new Promise(async (o) => (pa(s.scriptContent), o()));
1574
- t.value = !1;
1573
+ return new Promise(async (o) => (pt(s.scriptContent), o()));
1574
+ a.value = !1;
1575
1575
  const n = new Promise(async (o) => {
1576
- await ut(a, e.monoColor || !1), o(), Ne.delete(a);
1576
+ await ua(t, e.monoColor || !1), o(), _e.delete(t);
1577
1577
  });
1578
- return Ne.set(a, n), n;
1579
- }, ut = async (e, t) => {
1578
+ return _e.set(t, n), n;
1579
+ }, ua = async (e, a) => {
1580
1580
  try {
1581
- const a = await fetch(e);
1582
- if (!a.ok) {
1581
+ const t = await fetch(e);
1582
+ if (!t.ok) {
1583
1583
  x.error("网络异常,无法加载图标库!");
1584
1584
  return;
1585
1585
  }
1586
- let s = await a.text();
1587
- s = t ? s.replace(/fill=\"[^\"]*\"/gi, "") : s;
1586
+ let s = await t.text();
1587
+ s = a ? s.replace(/fill=\"[^\"]*\"/gi, "") : s;
1588
1588
  let n = /^window\.(\w+)\s*=/;
1589
1589
  const o = s.match(n);
1590
1590
  if (o && o.length > 1) {
1591
1591
  let r = o[1];
1592
- ct(e, r, t, s);
1592
+ ca(e, r, a, s);
1593
1593
  }
1594
- pa(s);
1594
+ pt(s);
1595
1595
  return;
1596
- } catch (a) {
1597
- return console.error("网络异常,无法加载图标库:", a), null;
1596
+ } catch (t) {
1597
+ return console.error("网络异常,无法加载图标库:", t), null;
1598
1598
  }
1599
- }, pa = (e) => {
1600
- const t = document.createElement("script");
1601
- t.textContent = e, document.head.appendChild(t);
1602
- }, ct = (e, t, a, s) => {
1599
+ }, pt = (e) => {
1600
+ const a = document.createElement("script");
1601
+ a.textContent = e, document.head.appendChild(a);
1602
+ }, ca = (e, a, t, s) => {
1603
1603
  let n = `icon_cache:${e}`;
1604
1604
  const o = {
1605
- windowKey: t,
1606
- monoColor: a,
1605
+ windowKey: a,
1606
+ monoColor: t,
1607
1607
  scriptContent: s,
1608
- expireTime: Date.now() + it
1608
+ expireTime: Date.now() + ia
1609
1609
  // 缓存时间:7天
1610
1610
  };
1611
1611
  localStorage.setItem(n, JSON.stringify(o));
1612
- }, da = (e) => {
1613
- let t = `icon_cache:${e}`;
1614
- const a = localStorage.getItem(t);
1615
- if (!a) return null;
1612
+ }, dt = (e) => {
1613
+ let a = `icon_cache:${e}`;
1614
+ const t = localStorage.getItem(a);
1615
+ if (!t) return null;
1616
1616
  let s;
1617
1617
  try {
1618
- s = JSON.parse(a);
1618
+ s = JSON.parse(t);
1619
1619
  } catch (n) {
1620
1620
  return console.error("解析缓存失败:", n), null;
1621
1621
  }
1622
1622
  return s.expireTime < Date.now() ? (localStorage.removeItem(e), null) : s;
1623
- }, Zt = () => {
1623
+ }, Za = () => {
1624
1624
  const e = Date.now();
1625
- for (const t in localStorage)
1626
- if (t.startsWith("icon_cache:")) {
1627
- const a = localStorage.getItem(t);
1628
- a && JSON.parse(a).expireTime < e && localStorage.removeItem(t);
1625
+ for (const a in localStorage)
1626
+ if (a.startsWith("icon_cache:")) {
1627
+ const t = localStorage.getItem(a);
1628
+ t && JSON.parse(t).expireTime < e && localStorage.removeItem(a);
1629
1629
  }
1630
- }, me = (e, t, a) => {
1630
+ }, me = (e, a, t) => {
1631
1631
  setTimeout(() => {
1632
- t.value = a, t.value && (e.value = J.value[t.value]);
1632
+ a.value = t, a.value && (e.value = J.value[a.value]);
1633
1633
  }, 1);
1634
1634
  }, De = U(
1635
1635
  "svg",
@@ -1651,47 +1651,47 @@ const B = new at(), Z = (e, t, a) => {
1651
1651
  fill: "currentColor"
1652
1652
  })
1653
1653
  ]
1654
- ), ft = (e, t) => {
1655
- const a = da(e);
1654
+ ), fa = (e, a) => {
1655
+ const t = dt(e);
1656
1656
  Object.keys(window).forEach((s) => {
1657
- s.startsWith("_iconfont_svg_string_") && (a == null ? void 0 : a.windowKey) === s && !Ye.has(s) && (Ye.add(s), pt(s, t));
1657
+ s.startsWith("_iconfont_svg_string_") && (t == null ? void 0 : t.windowKey) === s && !Ye.has(s) && (Ye.add(s), pa(s, a));
1658
1658
  });
1659
- }, pt = (e, t) => {
1660
- const a = window[e], o = new DOMParser().parseFromString(a, "image/svg+xml").getElementsByTagName("symbol"), r = document.querySelectorAll("symbol");
1659
+ }, pa = (e, a) => {
1660
+ const t = window[e], o = new DOMParser().parseFromString(t, "image/svg+xml").getElementsByTagName("symbol"), r = document.querySelectorAll("symbol");
1661
1661
  for (const l of o) {
1662
1662
  const i = l.id, u = Array.from(r).find((c) => c.id === i);
1663
- u && t && (u.innerHTML = l.innerHTML, u.querySelectorAll("*").forEach((c) => {
1663
+ u && a && (u.innerHTML = l.innerHTML, u.querySelectorAll("*").forEach((c) => {
1664
1664
  c.hasAttribute("fill") && c.removeAttribute("fill");
1665
1665
  })), J.value[i] || (J.value[i] = U("svg", { fill: "currentColor" }, [U("use", { "xlink:href": `#${i}` })]));
1666
1666
  }
1667
- }, dt = (e, t) => {
1668
- let a = "";
1669
- return e && (a += `rotate(${e}deg)`), t && (a += " scaleX(-1)"), a;
1670
- }, es = (e, t, a, s) => {
1671
- ha(e, [], a, s).forEach((o) => t.push(o));
1672
- }, ha = (e, t, a, s) => {
1667
+ }, da = (e, a) => {
1668
+ let t = "";
1669
+ return e && (t += `rotate(${e}deg)`), a && (t += " scaleX(-1)"), t;
1670
+ }, es = (e, a, t, s) => {
1671
+ ht(e, [], t, s).forEach((o) => a.push(o));
1672
+ }, ht = (e, a, t, s) => {
1673
1673
  var r, l, i, u, c;
1674
1674
  const n = [], o = j();
1675
1675
  for (const p of e) {
1676
1676
  if (p.redirect || p.path.includes("/login") || p.path.includes("/error") || p.path.includes("/:page(.*)") || (l = (r = p.meta) == null ? void 0 : r.roles) != null && l.length && !o.hasRole(p.meta.roles) && (i = p.meta) != null && i.permission && !o.hasPermit(p.meta.permission, ":page"))
1677
1677
  continue;
1678
1678
  const v = p.path.split("/");
1679
- v.unshift(...t);
1680
- const h = ha(p.children || [], v, a, s), A = {
1679
+ v.unshift(...a);
1680
+ const h = ht(p.children || [], v, t, s), A = {
1681
1681
  key: v.join("/"),
1682
1682
  label: ((u = p.name) == null ? void 0 : u.toString()) ?? "",
1683
1683
  title: ((c = p.name) == null ? void 0 : c.toString()) ?? "",
1684
- icon: p.icon ? U(a, { ...s, icon: p.icon }) : void 0,
1684
+ icon: p.icon ? U(t, { ...s, icon: p.icon }) : void 0,
1685
1685
  children: h.length > 0 ? h : void 0
1686
1686
  };
1687
1687
  (h.length > 0 || !p.children) && n.push(A);
1688
1688
  }
1689
1689
  return n;
1690
- }, Xe = ya([]), as = () => {
1690
+ }, Xe = yt([]), ts = () => {
1691
1691
  Xe.length = 0;
1692
1692
  const e = H();
1693
- let a = Je().TabActive;
1694
- e.matchedRoutes(a).forEach((n, o) => {
1693
+ let t = Je().TabActive;
1694
+ e.matchedRoutes(t).forEach((n, o) => {
1695
1695
  var l;
1696
1696
  const r = {
1697
1697
  index: o,
@@ -1700,7 +1700,7 @@ const B = new at(), Z = (e, t, a) => {
1700
1700
  };
1701
1701
  Xe.push(r);
1702
1702
  });
1703
- }, ht = {
1703
+ }, ha = {
1704
1704
  host: {
1705
1705
  api: "SITEHOST_API",
1706
1706
  url: "/openapi/RCSiteHostSrv/get",
@@ -1712,7 +1712,7 @@ const B = new at(), Z = (e, t, a) => {
1712
1712
  // 不显示错误
1713
1713
  hideErrorToast: !0
1714
1714
  }
1715
- }, ts = ue("hostInfo", {
1715
+ }, as = ue("hostInfo", {
1716
1716
  state: () => ({
1717
1717
  hostInfo: {
1718
1718
  Host: "",
@@ -1725,43 +1725,71 @@ const B = new at(), Z = (e, t, a) => {
1725
1725
  }),
1726
1726
  actions: {
1727
1727
  /**
1728
- * 加载站点信息,如加载失败,则使用本地缓存或默认参数
1728
+ * 获取站点API地址
1729
+ */
1730
+ getSiteHostApi() {
1731
+ return "";
1732
+ },
1733
+ /**
1734
+ * 加载站点信息
1729
1735
  * @param hostApi 启动配置主机地址
1730
1736
  * @param hostKey 站点信息,默认为当前主域名
1731
1737
  * @param mainOpenApis 宿主机开放接口
1732
1738
  */
1733
- async loadHostInfo(e, t, a) {
1734
- if (a) {
1735
- this._setHostInfo(a.getHostInfo());
1739
+ async loadHostInfo(e, a, t) {
1740
+ if (t) {
1741
+ this._setHostInfo(t.getHostInfo());
1736
1742
  return;
1737
1743
  }
1738
- return new Promise((s) => {
1739
- $e.SITEHOST_API || ($e.SITEHOST_API = e);
1740
- const n = t || window.location.origin;
1741
- G(ht.host, {
1744
+ let s = (e || this.getSiteHostApi()).trim();
1745
+ return (!s || s === "/") && (s = window.location.origin), s.endsWith("/") && (s = s.slice(0, -1)), new Promise((n) => {
1746
+ $e.SITEHOST_API || ($e.SITEHOST_API = s);
1747
+ const o = a || window.location.origin;
1748
+ G(ha.host, {
1742
1749
  Query: {
1743
- Host: n
1744
- }
1745
- }).then((o) => {
1746
- if ((o == null ? void 0 : o.status) === T.SUCCESS && o.data) {
1747
- const r = o.data;
1748
- this._setHostInfo(r);
1750
+ Host: o
1749
1751
  }
1750
- s();
1752
+ }).then((r) => {
1753
+ if ((r == null ? void 0 : r.status) === T.SUCCESS && r.data) {
1754
+ const l = r.data;
1755
+ this._setHostInfo(l);
1756
+ } else
1757
+ this._setHostInfo(null);
1758
+ n();
1751
1759
  });
1752
1760
  });
1753
1761
  },
1754
1762
  /**
1755
- * 设置主机信息(私有方法)
1763
+ * 清除主机信息
1764
+ */
1765
+ clear() {
1766
+ this.hostInfo = {
1767
+ Host: "",
1768
+ Title: "",
1769
+ API_HOST: {},
1770
+ SERVER_HOST: {},
1771
+ MIDDLEWARES: {},
1772
+ ExtraProps: {},
1773
+ ExtraPropLines: []
1774
+ };
1775
+ },
1776
+ /**
1777
+ * 设置主机信息
1756
1778
  */
1757
1779
  _setHostInfo(e) {
1758
1780
  if (this.hostInfo = {
1759
1781
  ...this.hostInfo,
1760
1782
  ...e
1761
1783
  }, this.hostInfo.API_HOST)
1762
- for (const t in this.hostInfo.API_HOST) $e[t] = this.hostInfo.API_HOST[t];
1784
+ for (const a in this.hostInfo.API_HOST) {
1785
+ let t = this.hostInfo.API_HOST[a];
1786
+ t = t.startsWith("http://") || t.startsWith("https://") || t.startsWith("//") ? t : window.location.origin + t, t.endsWith("/") && (t = t.slice(0, -1)), this.hostInfo.API_HOST[a] = t, $e[a] = t;
1787
+ }
1763
1788
  if (this.hostInfo.SERVER_HOST)
1764
- for (const t in this.hostInfo.SERVER_HOST) Fa[t] = this.hostInfo.SERVER_HOST[t];
1789
+ for (const a in this.hostInfo.SERVER_HOST) {
1790
+ let t = this.hostInfo.SERVER_HOST[a];
1791
+ t = t.startsWith("http://") || t.startsWith("https://") || t.startsWith("//") ? t : window.location.origin + t, t.endsWith("/") && (t = t.slice(0, -1)), this.hostInfo.SERVER_HOST[a] = t, Ft[a] = t;
1792
+ }
1765
1793
  },
1766
1794
  getHostInfo() {
1767
1795
  return this.hostInfo;
@@ -1806,11 +1834,11 @@ const B = new at(), Z = (e, t, a) => {
1806
1834
  /**
1807
1835
  * 设置表格头配置
1808
1836
  */
1809
- setTableColumns(e, t) {
1837
+ setTableColumns(e, a) {
1810
1838
  this.$patch({
1811
1839
  tableColumns: {
1812
1840
  ...this.tableColumns,
1813
- [e]: t
1841
+ [e]: a
1814
1842
  }
1815
1843
  });
1816
1844
  }
@@ -1829,8 +1857,8 @@ const B = new at(), Z = (e, t, a) => {
1829
1857
  }
1830
1858
  },
1831
1859
  emits: ["change"],
1832
- setup(e, { emit: t }) {
1833
- const a = e, s = Y(), n = de(a.url, a), o = a.optionCtrl ?? n.optionCtrl;
1860
+ setup(e, { emit: a }) {
1861
+ const t = e, s = Y(), n = de(t.url, t), o = t.optionCtrl ?? n.optionCtrl;
1834
1862
  o.inputFactory = K(s);
1835
1863
  const r = f([]);
1836
1864
  o && y(
@@ -1840,20 +1868,20 @@ const B = new at(), Z = (e, t, a) => {
1840
1868
  },
1841
1869
  { immediate: !0, deep: !0 }
1842
1870
  );
1843
- const l = t, { editorCtrl: i, errInfo: u } = Y(), c = (p) => {
1871
+ const l = a, { editorCtrl: i, errInfo: u } = Y(), c = (p) => {
1844
1872
  u != null && u.value.errClass && i && fe(i), l("change", p);
1845
1873
  };
1846
1874
  return Ie(() => {
1847
- if (!a.data || a.data.length != 2) {
1848
- console.error("Switch组件: ", a.data), x.error("Switch组件必须有且只有两个选项");
1875
+ if (!t.data || t.data.length != 2) {
1876
+ console.error("Switch组件: ", t.data), x.error("Switch组件必须有且只有两个选项");
1849
1877
  return;
1850
1878
  }
1851
- o && Z(o.autoload, o, a);
1879
+ o && Z(o.autoload, o, t);
1852
1880
  }), ie(() => {
1853
- o && pe(o, a);
1881
+ o && pe(o, t);
1854
1882
  }), (p, v) => {
1855
1883
  var h;
1856
- return r.value.length === 2 ? (O(), xe(S(Sa), le({
1884
+ return r.value.length === 2 ? (O(), xe(S(St), le({
1857
1885
  key: 0,
1858
1886
  class: [
1859
1887
  ((h = S(u)) == null ? void 0 : h.errClass) === "error" ? "error !border-red-300 shadow-[0_0_3px_0px_#ff4d4f]" : "",
@@ -1865,7 +1893,7 @@ const B = new at(), Z = (e, t, a) => {
1865
1893
  unCheckedChildren: r.value[1].label,
1866
1894
  unCheckedValue: r.value[1].value,
1867
1895
  onChange: c
1868
- }, p.$attrs), null, 16, ["class", "checkedChildren", "checkedValue", "unCheckedChildren", "unCheckedValue"])) : C("", !0);
1896
+ }, p.$attrs), null, 16, ["class", "checkedChildren", "checkedValue", "unCheckedChildren", "unCheckedValue"])) : B("", !0);
1869
1897
  };
1870
1898
  }
1871
1899
  }), rs = /* @__PURE__ */ X({
@@ -1888,8 +1916,8 @@ const B = new at(), Z = (e, t, a) => {
1888
1916
  }
1889
1917
  },
1890
1918
  emits: ["update:value", "select", "change", "update:labels"],
1891
- setup(e, { emit: t }) {
1892
- const a = e, s = Ae(), n = Y(), o = de(a.url, a), r = a.optionCtrl ?? o.optionCtrl;
1919
+ setup(e, { emit: a }) {
1920
+ const t = e, s = Ae(), n = Y(), o = de(t.url, t), r = t.optionCtrl ?? o.optionCtrl;
1893
1921
  r.inputFactory = K(n), r.fieldMap = {
1894
1922
  label: "Name",
1895
1923
  value: "Id",
@@ -1897,18 +1925,18 @@ const B = new at(), Z = (e, t, a) => {
1897
1925
  };
1898
1926
  const l = f(void 0);
1899
1927
  y(
1900
- () => a.value,
1928
+ () => t.value,
1901
1929
  () => {
1902
- l.value = a.value;
1930
+ l.value = t.value;
1903
1931
  },
1904
1932
  { immediate: !0 }
1905
1933
  ), y(
1906
1934
  () => l.value,
1907
1935
  (g) => {
1908
- a.autoClean && a.formData && a.outFields && g !== a.value && fa(a.formData, a.outFields, null);
1936
+ t.autoClean && t.formData && t.outFields && g !== t.value && ft(t.formData, t.outFields, null);
1909
1937
  }
1910
1938
  );
1911
- const { editorCtrl: i, errInfo: u, labelText: c } = n, p = t;
1939
+ const { editorCtrl: i, errInfo: u, labelText: c } = n, p = a;
1912
1940
  n.inputEmit = p;
1913
1941
  const v = f((r == null ? void 0 : r.options.value) || []);
1914
1942
  r && y(
@@ -1925,19 +1953,19 @@ const B = new at(), Z = (e, t, a) => {
1925
1953
  SearchField: "%" + g.trim() + "%"
1926
1954
  }
1927
1955
  };
1928
- r.params = Oe(r.params, d), r && Z(!0, r, a);
1956
+ r.params = Oe(r.params, d), r && Z(!0, r, t);
1929
1957
  }, A = (g) => {
1930
- const E = we(r, a, g);
1958
+ const E = Pe(r, t, g);
1931
1959
  p("update:value", g), p("select", g);
1932
- const d = Pe(E);
1960
+ const d = we(E);
1933
1961
  p("update:labels", d), u != null && u.value.errClass && i && fe(i);
1934
1962
  };
1935
1963
  return ie(() => {
1936
- r && pe(r, a);
1964
+ r && pe(r, t);
1937
1965
  }), (g, E) => {
1938
1966
  var d;
1939
1967
  return O(), $("div", null, [
1940
- z(S(Ia), le({
1968
+ C(S(It), le({
1941
1969
  value: l.value,
1942
1970
  "onUpdate:value": E[0] || (E[0] = (I) => l.value = I),
1943
1971
  class: ["w-full", (d = S(u)) == null ? void 0 : d.errClass],
@@ -1946,10 +1974,10 @@ const B = new at(), Z = (e, t, a) => {
1946
1974
  onSelect: A
1947
1975
  }, S(s), { "allow-clear": !1 }), {
1948
1976
  option: V(({ label: I }) => [
1949
- Ee(W(I), 1)
1977
+ Ee(z(I), 1)
1950
1978
  ]),
1951
1979
  default: V(() => [
1952
- z(S(xa), {
1980
+ C(S(xt), {
1953
1981
  "allow-clear": "",
1954
1982
  placeholder: "请输入并选择" + S(c)
1955
1983
  }, null, 8, ["placeholder"])
@@ -1959,7 +1987,7 @@ const B = new at(), Z = (e, t, a) => {
1959
1987
  ]);
1960
1988
  };
1961
1989
  }
1962
- }), mt = { class: "min-h-[32px] pt-[5px]" }, vt = {
1990
+ }), ma = { class: "min-h-[32px] pt-[5px]" }, va = {
1963
1991
  key: 1,
1964
1992
  class: "text-center text-gray-500"
1965
1993
  }, os = /* @__PURE__ */ X({
@@ -1982,9 +2010,9 @@ const B = new at(), Z = (e, t, a) => {
1982
2010
  }
1983
2011
  },
1984
2012
  emits: ["change", "update:labels"],
1985
- setup(e, { emit: t }) {
2013
+ setup(e, { emit: a }) {
1986
2014
  var v, h, A;
1987
- const a = e, s = Ae(), n = Y(), o = de(a.url, a), r = a.optionCtrl ?? o.optionCtrl;
2015
+ const t = e, s = Ae(), n = Y(), o = de(t.url, t), r = t.optionCtrl ?? o.optionCtrl;
1988
2016
  r.inputFactory = K(n);
1989
2017
  const l = f({
1990
2018
  ...r == null ? void 0 : r.url,
@@ -1992,7 +2020,7 @@ const B = new at(), Z = (e, t, a) => {
1992
2020
  fieldMap: (r == null ? void 0 : r.fieldMap) || ((h = r == null ? void 0 : r.url) == null ? void 0 : h.fieldMap),
1993
2021
  params: (r == null ? void 0 : r.params) || ((A = r == null ? void 0 : r.url) == null ? void 0 : A.params),
1994
2022
  loadingText: !1
1995
- }), { errInfo: i } = n, u = t;
2023
+ }), { errInfo: i } = n, u = a;
1996
2024
  n.inputEmit = u;
1997
2025
  const c = f((r == null ? void 0 : r.options.value) || []);
1998
2026
  r && y(
@@ -2003,7 +2031,7 @@ const B = new at(), Z = (e, t, a) => {
2003
2031
  { immediate: !0, deep: !0 }
2004
2032
  );
2005
2033
  const p = (g) => {
2006
- const d = we(r, a, g), I = Pe(d);
2034
+ const d = Pe(r, t, g), I = we(d);
2007
2035
  u("update:labels", I);
2008
2036
  };
2009
2037
  return Ie(() => {
@@ -2012,40 +2040,40 @@ const B = new at(), Z = (e, t, a) => {
2012
2040
  label: "Name",
2013
2041
  value: "Id",
2014
2042
  key: "Id"
2015
- }), r && Z(r.autoload, r, a);
2043
+ }), r && Z(r.autoload, r, t);
2016
2044
  }), ie(() => {
2017
- r && pe(r, a);
2018
- }), (g, E) => (O(), $("div", mt, [
2019
- z(S(Aa), le({
2045
+ r && pe(r, t);
2046
+ }), (g, E) => (O(), $("div", ma, [
2047
+ C(S(At), le({
2020
2048
  onChange: p,
2021
2049
  class: "w-full mb-[-3px]"
2022
2050
  }, S(s)), {
2023
2051
  default: V(() => [
2024
2052
  c.value.length > 0 ? (O(!0), $(ne, { key: 0 }, Ue(c.value, (d) => {
2025
2053
  var I;
2026
- return O(), xe(S(Ea), {
2054
+ return O(), xe(S(Et), {
2027
2055
  key: d.value,
2028
2056
  value: d.value,
2029
2057
  disabled: d.disabled || d.value && e.disabledItems && e.disabledItems.indexOf(d.value.toString()) > -1,
2030
- class: ea([
2058
+ class: et([
2031
2059
  ((I = S(i)) == null ? void 0 : I.errClass) === "error" ? "error !text-red-400" : "",
2032
2060
  "text-nowrap",
2033
2061
  "pb-1",
2034
- e.wrap ? `w-1/${a.wrap}` : ""
2062
+ e.wrap ? `w-1/${t.wrap}` : ""
2035
2063
  ])
2036
2064
  }, {
2037
2065
  default: V(() => [
2038
- Ee(W(d.label), 1)
2066
+ Ee(z(d.label), 1)
2039
2067
  ]),
2040
2068
  _: 2
2041
2069
  }, 1032, ["value", "disabled", "class"]);
2042
- }), 128)) : e.nodata ? (O(), $("div", vt, W(e.nodata), 1)) : C("", !0)
2070
+ }), 128)) : e.nodata ? (O(), $("div", va, z(e.nodata), 1)) : B("", !0)
2043
2071
  ]),
2044
2072
  _: 1
2045
2073
  }, 16)
2046
2074
  ]));
2047
2075
  }
2048
- }), gt = { class: "min-h-[32px] pt-1" }, yt = {
2076
+ }), ga = { class: "min-h-[32px] pt-1" }, ya = {
2049
2077
  key: 1,
2050
2078
  class: "text-center text-gray-500"
2051
2079
  }, is = /* @__PURE__ */ X({
@@ -2069,9 +2097,9 @@ const B = new at(), Z = (e, t, a) => {
2069
2097
  }
2070
2098
  },
2071
2099
  emits: ["change", "update:value", "update:labels"],
2072
- setup(e, { emit: t }) {
2100
+ setup(e, { emit: a }) {
2073
2101
  var A, g, E;
2074
- const a = e, s = Ae(), n = Y(), o = de(a.url, a), r = a.optionCtrl ?? o.optionCtrl;
2102
+ const t = e, s = Ae(), n = Y(), o = de(t.url, t), r = t.optionCtrl ?? o.optionCtrl;
2075
2103
  r.inputFactory = K(n);
2076
2104
  const l = f({
2077
2105
  ...r == null ? void 0 : r.url,
@@ -2079,7 +2107,7 @@ const B = new at(), Z = (e, t, a) => {
2079
2107
  fieldMap: (r == null ? void 0 : r.fieldMap) || ((g = r == null ? void 0 : r.url) == null ? void 0 : g.fieldMap),
2080
2108
  params: (r == null ? void 0 : r.params) || ((E = r == null ? void 0 : r.url) == null ? void 0 : E.params),
2081
2109
  loadingText: !1
2082
- }), i = f(a.value), { errInfo: u } = n, c = f((r == null ? void 0 : r.options.value) || []), p = t;
2110
+ }), i = f(t.value), { errInfo: u } = n, c = f((r == null ? void 0 : r.options.value) || []), p = a;
2083
2111
  n.inputEmit = p, r && y(
2084
2112
  () => r.options.value,
2085
2113
  (d) => {
@@ -2087,7 +2115,7 @@ const B = new at(), Z = (e, t, a) => {
2087
2115
  },
2088
2116
  { immediate: !0, deep: !0 }
2089
2117
  ), y(
2090
- () => a.value,
2118
+ () => t.value,
2091
2119
  (d) => {
2092
2120
  i.value = d;
2093
2121
  }
@@ -2104,7 +2132,7 @@ const B = new at(), Z = (e, t, a) => {
2104
2132
  }
2105
2133
  return d === I;
2106
2134
  }, h = (d) => {
2107
- const I = d.target.value, R = we(r, a, I), Q = Pe(R);
2135
+ const I = d.target.value, R = Pe(r, t, I), Q = we(R);
2108
2136
  p("update:labels", Q);
2109
2137
  };
2110
2138
  return Ie(() => {
@@ -2112,11 +2140,11 @@ const B = new at(), Z = (e, t, a) => {
2112
2140
  label: "Name",
2113
2141
  value: "Id",
2114
2142
  key: "Id"
2115
- }), r && Z(r.autoload, r, a);
2143
+ }), r && Z(r.autoload, r, t);
2116
2144
  }), ie(() => {
2117
- r && pe(r, a);
2118
- }), (d, I) => (O(), $("div", gt, [
2119
- z(S(Oa), le({
2145
+ r && pe(r, t);
2146
+ }), (d, I) => (O(), $("div", ga, [
2147
+ C(S(Ot), le({
2120
2148
  value: i.value,
2121
2149
  "onUpdate:value": I[0] || (I[0] = (R) => i.value = R),
2122
2150
  autocheck: !1,
@@ -2129,30 +2157,30 @@ const B = new at(), Z = (e, t, a) => {
2129
2157
  return O(), $(ne, {
2130
2158
  key: R.value
2131
2159
  }, [
2132
- R.visible !== !1 ? (O(), xe(S(Ra), {
2160
+ R.visible !== !1 ? (O(), xe(S(Rt), {
2133
2161
  key: 0,
2134
- checked: v(R.value, a.value),
2162
+ checked: v(R.value, t.value),
2135
2163
  value: R.value,
2136
- class: ea([
2164
+ class: et([
2137
2165
  ((Q = S(u)) == null ? void 0 : Q.errClass) === "error" ? "error !text-red-400" : "",
2138
2166
  "text-nowrap",
2139
2167
  "pb-1",
2140
- e.wrap ? `w-1/${a.wrap}` : ""
2168
+ e.wrap ? `w-1/${t.wrap}` : ""
2141
2169
  ])
2142
2170
  }, {
2143
2171
  default: V(() => [
2144
- Ee(W(R.label), 1)
2172
+ Ee(z(R.label), 1)
2145
2173
  ]),
2146
2174
  _: 2
2147
- }, 1032, ["checked", "value", "class"])) : C("", !0)
2175
+ }, 1032, ["checked", "value", "class"])) : B("", !0)
2148
2176
  ], 64);
2149
- }), 128)) : e.nodata ? (O(), $("div", yt, W(e.nodata), 1)) : C("", !0)
2177
+ }), 128)) : e.nodata ? (O(), $("div", ya, z(e.nodata), 1)) : B("", !0)
2150
2178
  ]),
2151
2179
  _: 1
2152
2180
  }, 16, ["value"])
2153
2181
  ]));
2154
2182
  }
2155
- }), bt = {
2183
+ }), ba = {
2156
2184
  key: 0,
2157
2185
  class: "absolute z-10 mt-[5px] mr-[10px] text-[#999] flex items-center"
2158
2186
  }, ls = /* @__PURE__ */ X({
@@ -2180,9 +2208,9 @@ const B = new at(), Z = (e, t, a) => {
2180
2208
  }
2181
2209
  },
2182
2210
  emits: ["change", "update:value", "update:label", "update:labels"],
2183
- setup(e, { emit: t }) {
2211
+ setup(e, { emit: a }) {
2184
2212
  var I, R, Q;
2185
- const a = e, s = Y(), { editorCtrl: n, errInfo: o, labelText: r } = s, l = de(a.url, a), i = a.optionCtrl ?? l.optionCtrl;
2213
+ const t = e, s = Y(), { editorCtrl: n, errInfo: o, labelText: r } = s, l = de(t.url, t), i = t.optionCtrl ?? l.optionCtrl;
2186
2214
  i.inputFactory = K(s);
2187
2215
  const u = Ae(), c = f({
2188
2216
  ...i == null ? void 0 : i.url,
@@ -2190,21 +2218,21 @@ const B = new at(), Z = (e, t, a) => {
2190
2218
  fieldMap: (i == null ? void 0 : i.fieldMap) || ((R = i == null ? void 0 : i.url) == null ? void 0 : R.fieldMap),
2191
2219
  params: (i == null ? void 0 : i.params) || ((Q = i == null ? void 0 : i.url) == null ? void 0 : Q.params),
2192
2220
  loadingText: !1
2193
- }), p = f(a.value), v = f(u.placeholder), h = f((i == null ? void 0 : i.selected.value) || void 0), A = t;
2221
+ }), p = f(t.value), v = f(u.placeholder), h = f((i == null ? void 0 : i.selected.value) || void 0), A = a;
2194
2222
  s.inputEmit = A;
2195
2223
  const g = (m) => {
2196
- const k = we(i, a, m), N = Pe(k);
2197
- h.value = m, A("update:labels", N), A("update:label", N.join(";")), A("change", m), o != null && o.value.errClass && n && fe(n);
2224
+ const k = Pe(i, t, m), _ = we(k);
2225
+ h.value = m, A("update:labels", _), A("update:label", _.join(";")), A("change", m), o != null && o.value.errClass && n && fe(n);
2198
2226
  }, E = f((i == null ? void 0 : i.options.value) || []), d = (m) => {
2199
- if (m.length > 0 && w(a.value) && a.selectFirst)
2227
+ if (m.length > 0 && P(t.value) && t.selectFirst)
2200
2228
  for (let k = 0; k < m.length; k++) {
2201
- const N = m[k];
2202
- if (N.disabled === void 0 || N.disabled === !1) {
2203
- h.value = N.value;
2229
+ const _ = m[k];
2230
+ if (_.disabled === void 0 || _.disabled === !1) {
2231
+ h.value = _.value;
2204
2232
  break;
2205
2233
  }
2206
2234
  }
2207
- else m.length > 0 && (h.value = a.value === null ? void 0 : a.value);
2235
+ else m.length > 0 && (h.value = t.value === null ? void 0 : t.value);
2208
2236
  m.length > 0 && h.value !== void 0 && g(h.value);
2209
2237
  };
2210
2238
  return i && (y(
@@ -2234,7 +2262,7 @@ const B = new at(), Z = (e, t, a) => {
2234
2262
  (m) => {
2235
2263
  i && (i.selected.value = m);
2236
2264
  const k = m === void 0 ? null : m;
2237
- if (u.mode === "multiple" && w(m) && w(p.value)) {
2265
+ if (u.mode === "multiple" && P(m) && P(p.value)) {
2238
2266
  A("update:value", p.value);
2239
2267
  return;
2240
2268
  }
@@ -2245,44 +2273,44 @@ const B = new at(), Z = (e, t, a) => {
2245
2273
  label: "Name",
2246
2274
  value: "Id",
2247
2275
  key: "Id"
2248
- }), a.dataKey) {
2249
- const m = JSON.parse(JSON.stringify(M.getOptions(a.dataKey)));
2276
+ }), t.dataKey) {
2277
+ const m = JSON.parse(JSON.stringify(M.getOptions(t.dataKey)));
2250
2278
  E.value = m, d(m);
2251
2279
  } else if (i) {
2252
2280
  const m = i.options.value || [];
2253
- m.length > 0 ? (E.value = m, d(m)) : Z(i.autoload, i, a);
2281
+ m.length > 0 ? (E.value = m, d(m)) : Z(i.autoload, i, t);
2254
2282
  }
2255
2283
  }), ie(() => {
2256
- i && pe(i, a);
2284
+ i && pe(i, t);
2257
2285
  }), (m, k) => {
2258
- var N, qe, Be;
2286
+ var _, We, qe;
2259
2287
  return O(), $("div", null, [
2260
- (qe = (N = S(i)) == null ? void 0 : N.url) != null && qe.loading ? (O(), $("div", bt, [
2261
- z(S(De), { class: "text-[#555] mx-[5px] !ml-[10px] !w-4 !h-4" }),
2262
- k[1] || (k[1] = ba("span", null, "数据加载中...", -1))
2263
- ])) : C("", !0),
2264
- z(S(Ta), le({
2265
- class: [(Be = S(o)) == null ? void 0 : Be.errClass, "w-full"],
2288
+ (We = (_ = S(i)) == null ? void 0 : _.url) != null && We.loading ? (O(), $("div", ba, [
2289
+ C(S(De), { class: "text-[#555] mx-[5px] !ml-[10px] !w-4 !h-4" }),
2290
+ k[1] || (k[1] = bt("span", null, "数据加载中...", -1))
2291
+ ])) : B("", !0),
2292
+ C(S(Tt), le({
2293
+ class: [(qe = S(o)) == null ? void 0 : qe.errClass, "w-full"],
2266
2294
  value: h.value,
2267
- "onUpdate:value": k[0] || (k[0] = (q) => h.value = q),
2295
+ "onUpdate:value": k[0] || (k[0] = (W) => h.value = W),
2268
2296
  "allow-clear": !0,
2269
2297
  onChange: g,
2270
2298
  placeholder: v.value,
2271
2299
  "label-in-value": !1
2272
2300
  }, S(u)), {
2273
2301
  default: V(() => [
2274
- (O(!0), $(ne, null, Ue(E.value, (q) => (O(), $(ne, {
2275
- key: q.value
2302
+ (O(!0), $(ne, null, Ue(E.value, (W) => (O(), $(ne, {
2303
+ key: W.value
2276
2304
  }, [
2277
- q.visible !== !1 ? (O(), xe(S(Pa), {
2305
+ W.visible !== !1 ? (O(), xe(S(wt), {
2278
2306
  key: 0,
2279
- value: q.value
2307
+ value: W.value
2280
2308
  }, {
2281
2309
  default: V(() => [
2282
- Ee(W(q.label), 1)
2310
+ Ee(z(W.label), 1)
2283
2311
  ]),
2284
2312
  _: 2
2285
- }, 1032, ["value"])) : C("", !0)
2313
+ }, 1032, ["value"])) : B("", !0)
2286
2314
  ], 64))), 128))
2287
2315
  ]),
2288
2316
  _: 1
@@ -2292,68 +2320,68 @@ const B = new at(), Z = (e, t, a) => {
2292
2320
  }
2293
2321
  });
2294
2322
  export {
2295
- Nt as $,
2323
+ _a as $,
2296
2324
  fe as A,
2297
2325
  os as B,
2298
2326
  is as C,
2299
2327
  ls as D,
2300
2328
  Ve as E,
2301
- _a as F,
2302
- Ct as G,
2303
- rt as H,
2304
- ot as I,
2305
- zt as J,
2306
- Wt as K,
2307
- nt as L,
2308
- fa as M,
2309
- Yt as N,
2329
+ Nt as F,
2330
+ Ba as G,
2331
+ ra as H,
2332
+ oa as I,
2333
+ Ca as J,
2334
+ za as K,
2335
+ na as L,
2336
+ ft as M,
2337
+ Ya as N,
2310
2338
  M as O,
2311
2339
  D as P,
2312
- Zt as Q,
2313
- pt as R,
2314
- dt as S,
2340
+ Za as Q,
2341
+ pa as R,
2342
+ da as S,
2315
2343
  es as T,
2316
2344
  Xe as U,
2317
- as as V,
2318
- ta as W,
2319
- Vt as X,
2320
- sa as Y,
2321
- Ft as Z,
2345
+ ts as V,
2346
+ at as W,
2347
+ Va as X,
2348
+ st as Y,
2349
+ Fa as Z,
2322
2350
  ns as _,
2323
2351
  ss as a,
2324
2352
  Ke as a0,
2325
- Mt as a1,
2326
- Jt as a2,
2327
- et as a3,
2328
- ua as a4,
2329
- Gt as a5,
2330
- $t as a6,
2331
- aa as a7,
2332
- Da as a8,
2333
- _e as a9,
2334
- B as aa,
2353
+ Ma as a1,
2354
+ Ja as a2,
2355
+ ea as a3,
2356
+ ut as a4,
2357
+ Ga as a5,
2358
+ $a as a6,
2359
+ tt as a7,
2360
+ Dt as a8,
2361
+ Ne as a9,
2362
+ q as aa,
2335
2363
  se as ab,
2336
2364
  ve as ac,
2337
2365
  H as ad,
2338
- ts as ae,
2366
+ as as ae,
2339
2367
  Je as af,
2340
2368
  re as ag,
2341
- Ut as b,
2342
- Xt as c,
2343
- Ht as d,
2344
- _t as e,
2345
- qt as f,
2346
- Bt as g,
2347
- Qt as h,
2348
- w as i,
2349
- Kt as j,
2350
- la as k,
2351
- Za as l,
2352
- jt as m,
2369
+ Ua as b,
2370
+ Xa as c,
2371
+ Ha as d,
2372
+ Na as e,
2373
+ Wa as f,
2374
+ qa as g,
2375
+ Qa as h,
2376
+ P as i,
2377
+ Ka as j,
2378
+ lt as k,
2379
+ Zt as l,
2380
+ ja as m,
2353
2381
  rs as n,
2354
- Dt as o,
2382
+ Da as o,
2355
2383
  ce as p,
2356
- Ua as q,
2384
+ Ut as q,
2357
2385
  oe as r,
2358
2386
  Y as s,
2359
2387
  de as t,
@@ -2361,6 +2389,6 @@ export {
2361
2389
  Z as v,
2362
2390
  pe as w,
2363
2391
  De as x,
2364
- we as y,
2365
- Pe as z
2392
+ Pe as y,
2393
+ we as z
2366
2394
  };