auto-vue-basic 0.0.45 → 0.0.47

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.
@@ -1,10 +1,10 @@
1
- import { defineComponent as D, ref as ee, onBeforeMount as Ve, resolveComponent as s, createBlock as q, openBlock as E, unref as e, isRef as N, withCtx as o, createVNode as l, createTextVNode as I, createElementBlock as K, Fragment as z, renderList as W, toDisplayString as X, withKeys as le, createElementVNode as Y, toRef as se, normalizeClass as _e, isVNode as ye, reactive as ke, onMounted as ve, watch as we, nextTick as Re, createCommentVNode as xe } from "vue";
2
- import { createAutoApi as ae, useForm as G, Translate as a, RulesUtils as Ae, FormDialog as Q, BasicAvatar as Ue, ModifyButton as oe, useCrudPage as P, useLoading as F, ProTable as te, DEFAULT_PAGE_KEY as ne, SearchButton as j, RefreshButton as B, OpenButton as re, DEFAULT_STATUS_KEY as be, AutoApiUtils as fe, useSelect as de, InlineRefreshButton as ge, DEFAULT_REMOVE_KEY as Me, TimeUtils as T, ProTableList as pe, REQUEST_LOG_URL as Le, ERROR_LOG_URL as Ee, SQL_LOG_URL as Se } from "auto-vue-manual";
3
- const ue = ae("admin", {}, "key"), Z = ae("role", {}, "key"), Ce = /* @__PURE__ */ D({
1
+ import { defineComponent as q, ref as z, onBeforeMount as De, resolveComponent as s, createBlock as T, openBlock as S, unref as e, isRef as P, withCtx as t, createVNode as l, createTextVNode as J, createElementBlock as j, Fragment as W, renderList as le, toDisplayString as H, withKeys as me, toRef as te, createElementVNode as N, nextTick as _e, onMounted as Re, withModifiers as Le, normalizeClass as ge, isVNode as Te, reactive as qe, watch as Ce, createCommentVNode as Oe } from "vue";
2
+ import { createAutoApi as Y, useForm as G, Translate as a, RulesUtils as Ee, FormDialog as Q, BasicAvatar as Fe, ModifyButton as X, useCrudPage as $, useLoading as F, ProTable as se, DEFAULT_PAGE_KEY as ce, SearchButton as Z, RefreshButton as B, OpenButton as K, useSelect as ne, InlineRefreshButton as ue, TimeUtils as O, BasicDrawer as he, ProTableList as re, RequestButton as fe, AssetsUtils as $e, notification as ze, DEFAULT_LIST_URL as Pe, DEFAULT_STATUS_KEY as Ue, AutoApiUtils as Ae, DEFAULT_REMOVE_KEY as Ie, REQUEST_LOG_URL as Be, ERROR_LOG_URL as Ne, SQL_LOG_URL as je } from "auto-vue-manual";
3
+ const be = Y("admin", {}, "key"), pe = Y("role", {}, "key"), Ke = /* @__PURE__ */ q({
4
4
  __name: "AdminFormModal",
5
5
  emits: ["refresh"],
6
- setup(R, { expose: w, emit: y }) {
7
- const k = y, h = {
6
+ setup(w, { expose: x, emit: g }) {
7
+ const h = g, y = {
8
8
  key: "",
9
9
  username: "",
10
10
  password: "",
@@ -13,7 +13,7 @@ const ue = ae("admin", {}, "key"), Z = ae("role", {}, "key"), Ce = /* @__PURE__
13
13
  language: "zh-CN",
14
14
  remark: "",
15
15
  roles: []
16
- }, { modal: _, title: m, form: d, formData: p, requesting: n, executing: b, open: c, modify: i, submit: x, closed: v } = G(k, h, ue), C = {
16
+ }, { modal: f, title: i, form: p, formData: m, requesting: n, executing: V, open: u, modify: c, submit: k, closed: v } = G(h, y, be), U = {
17
17
  username: [
18
18
  {
19
19
  required: !0,
@@ -24,7 +24,7 @@ const ue = ae("admin", {}, "key"), Z = ae("role", {}, "key"), Ce = /* @__PURE__
24
24
  phone: [
25
25
  {
26
26
  required: !0,
27
- validator: Ae.phoneRule,
27
+ validator: Ee.phoneRule,
28
28
  message: a("base.placeholder.input base.phone"),
29
29
  trigger: "blur"
30
30
  }
@@ -58,113 +58,113 @@ const ue = ae("admin", {}, "key"), Z = ae("role", {}, "key"), Ce = /* @__PURE__
58
58
  trigger: "change"
59
59
  }
60
60
  ]
61
- }, f = ee([]), t = async () => {
62
- const u = await Z.list();
63
- f.value = Array.isArray(u == null ? void 0 : u.data) ? u.data : [];
61
+ }, b = z([]), o = async () => {
62
+ const d = await pe.list();
63
+ b.value = Array.isArray(d == null ? void 0 : d.data) ? d.data : [];
64
64
  };
65
- return Ve(async () => {
66
- await t();
67
- }), w({
68
- open: c,
69
- modify: i
70
- }), (u, r) => {
71
- const A = s("el-input"), U = s("el-form-item"), S = s("el-radio-button"), V = s("el-radio-group"), M = s("el-checkbox"), g = s("el-checkbox-group"), L = s("el-form");
72
- return E(), q(e(Q), {
73
- modelValue: e(_),
74
- "onUpdate:modelValue": r[7] || (r[7] = (O) => N(_) ? _.value = O : null),
75
- title: e(m)(),
65
+ return De(async () => {
66
+ await o();
67
+ }), x({
68
+ open: u,
69
+ modify: c
70
+ }), (d, r) => {
71
+ const R = s("el-input"), _ = s("el-form-item"), D = s("el-radio-button"), M = s("el-radio-group"), L = s("el-checkbox"), A = s("el-checkbox-group"), C = s("el-form");
72
+ return S(), T(e(Q), {
73
+ modelValue: e(f),
74
+ "onUpdate:modelValue": r[7] || (r[7] = (E) => P(f) ? f.value = E : null),
75
+ title: e(i)(),
76
76
  width: "600px",
77
- executing: e(b),
77
+ executing: e(V),
78
78
  onClosed: e(v),
79
- onSubmit: e(x)
79
+ onSubmit: e(k)
80
80
  }, {
81
- default: o(() => [
82
- l(L, {
81
+ default: t(() => [
82
+ l(C, {
83
83
  ref_key: "form",
84
- ref: d,
85
- model: e(p),
84
+ ref: p,
85
+ model: e(m),
86
86
  "label-width": "auto",
87
- rules: C,
88
- disabled: e(n) || e(b)
87
+ rules: U,
88
+ disabled: e(n) || e(V)
89
89
  }, {
90
- default: o(() => [
91
- l(U, {
90
+ default: t(() => [
91
+ l(_, {
92
92
  label: e(a)("base.username"),
93
93
  prop: "username"
94
94
  }, {
95
- default: o(() => [
96
- l(A, {
97
- modelValue: e(p).username,
98
- "onUpdate:modelValue": r[0] || (r[0] = (O) => e(p).username = O),
95
+ default: t(() => [
96
+ l(R, {
97
+ modelValue: e(m).username,
98
+ "onUpdate:modelValue": r[0] || (r[0] = (E) => e(m).username = E),
99
99
  placeholder: e(a)("base.placeholder.input"),
100
100
  autocomplete: "off"
101
101
  }, null, 8, ["modelValue", "placeholder"])
102
102
  ]),
103
103
  _: 1
104
104
  }, 8, ["label"]),
105
- l(U, {
105
+ l(_, {
106
106
  label: e(a)("base.phone"),
107
107
  prop: "phone"
108
108
  }, {
109
- default: o(() => [
110
- l(A, {
111
- modelValue: e(p).phone,
112
- "onUpdate:modelValue": r[1] || (r[1] = (O) => e(p).phone = O),
109
+ default: t(() => [
110
+ l(R, {
111
+ modelValue: e(m).phone,
112
+ "onUpdate:modelValue": r[1] || (r[1] = (E) => e(m).phone = E),
113
113
  placeholder: e(a)("base.placeholder.input"),
114
114
  autocomplete: "off"
115
115
  }, null, 8, ["modelValue", "placeholder"])
116
116
  ]),
117
117
  _: 1
118
118
  }, 8, ["label"]),
119
- l(U, {
119
+ l(_, {
120
120
  label: e(a)("base.password"),
121
121
  prop: "password",
122
- required: !e(p).key
122
+ required: !e(m).key
123
123
  }, {
124
- default: o(() => [
125
- l(A, {
126
- modelValue: e(p).password,
127
- "onUpdate:modelValue": r[2] || (r[2] = (O) => e(p).password = O),
124
+ default: t(() => [
125
+ l(R, {
126
+ modelValue: e(m).password,
127
+ "onUpdate:modelValue": r[2] || (r[2] = (E) => e(m).password = E),
128
128
  placeholder: e(a)("base.placeholder.input"),
129
129
  autocomplete: "off"
130
130
  }, null, 8, ["modelValue", "placeholder"])
131
131
  ]),
132
132
  _: 1
133
133
  }, 8, ["label", "required"]),
134
- l(U, {
134
+ l(_, {
135
135
  label: e(a)("base.email"),
136
136
  prop: "email"
137
137
  }, {
138
- default: o(() => [
139
- l(A, {
140
- modelValue: e(p).email,
141
- "onUpdate:modelValue": r[3] || (r[3] = (O) => e(p).email = O),
138
+ default: t(() => [
139
+ l(R, {
140
+ modelValue: e(m).email,
141
+ "onUpdate:modelValue": r[3] || (r[3] = (E) => e(m).email = E),
142
142
  placeholder: e(a)("base.placeholder.input"),
143
143
  autocomplete: "off"
144
144
  }, null, 8, ["modelValue", "placeholder"])
145
145
  ]),
146
146
  _: 1
147
147
  }, 8, ["label"]),
148
- l(U, {
148
+ l(_, {
149
149
  label: e(a)("base.language"),
150
150
  prop: "language"
151
151
  }, {
152
- default: o(() => [
153
- l(V, {
154
- modelValue: e(p).language,
155
- "onUpdate:modelValue": r[4] || (r[4] = (O) => e(p).language = O)
152
+ default: t(() => [
153
+ l(M, {
154
+ modelValue: e(m).language,
155
+ "onUpdate:modelValue": r[4] || (r[4] = (E) => e(m).language = E)
156
156
  }, {
157
- default: o(() => [
158
- l(S, { value: "zh-CN" }, {
159
- default: o(() => r[8] || (r[8] = [
160
- I("zh-CN")
157
+ default: t(() => [
158
+ l(D, { value: "zh-CN" }, {
159
+ default: t(() => r[8] || (r[8] = [
160
+ J("zh-CN")
161
161
  ])),
162
162
  _: 1,
163
163
  __: [8]
164
164
  }),
165
- l(S, { value: "en-US" }, {
166
- default: o(() => r[9] || (r[9] = [
167
- I("en-US")
165
+ l(D, { value: "en-US" }, {
166
+ default: t(() => r[9] || (r[9] = [
167
+ J("en-US")
168
168
  ])),
169
169
  _: 1,
170
170
  __: [9]
@@ -175,22 +175,22 @@ const ue = ae("admin", {}, "key"), Z = ae("role", {}, "key"), Ce = /* @__PURE__
175
175
  ]),
176
176
  _: 1
177
177
  }, 8, ["label"]),
178
- l(U, {
178
+ l(_, {
179
179
  label: e(a)("menu.Role"),
180
180
  prop: "roles"
181
181
  }, {
182
- default: o(() => [
183
- l(g, {
184
- modelValue: e(p).roles,
185
- "onUpdate:modelValue": r[5] || (r[5] = (O) => e(p).roles = O)
182
+ default: t(() => [
183
+ l(A, {
184
+ modelValue: e(m).roles,
185
+ "onUpdate:modelValue": r[5] || (r[5] = (E) => e(m).roles = E)
186
186
  }, {
187
- default: o(() => [
188
- (E(!0), K(z, null, W(f.value, (O) => (E(), q(M, {
189
- key: O.key,
190
- value: O.key
187
+ default: t(() => [
188
+ (S(!0), j(W, null, le(b.value, (E) => (S(), T(L, {
189
+ key: E.key,
190
+ value: E.key
191
191
  }, {
192
- default: o(() => [
193
- I(X(O.translate), 1)
192
+ default: t(() => [
193
+ J(H(E.translate), 1)
194
194
  ]),
195
195
  _: 2
196
196
  }, 1032, ["value"]))), 128))
@@ -200,14 +200,14 @@ const ue = ae("admin", {}, "key"), Z = ae("role", {}, "key"), Ce = /* @__PURE__
200
200
  ]),
201
201
  _: 1
202
202
  }, 8, ["label"]),
203
- l(U, {
203
+ l(_, {
204
204
  label: e(a)("base.remark"),
205
205
  prop: "remark"
206
206
  }, {
207
- default: o(() => [
208
- l(A, {
209
- modelValue: e(p).remark,
210
- "onUpdate:modelValue": r[6] || (r[6] = (O) => e(p).remark = O),
207
+ default: t(() => [
208
+ l(R, {
209
+ modelValue: e(m).remark,
210
+ "onUpdate:modelValue": r[6] || (r[6] = (E) => e(m).remark = E),
211
211
  placeholder: e(a)("base.placeholder.input")
212
212
  }, null, 8, ["modelValue", "placeholder"])
213
213
  ]),
@@ -221,31 +221,31 @@ const ue = ae("admin", {}, "key"), Z = ae("role", {}, "key"), Ce = /* @__PURE__
221
221
  }, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
222
222
  };
223
223
  }
224
- }), Te = /* @__PURE__ */ D({
224
+ }), We = /* @__PURE__ */ q({
225
225
  __name: "index",
226
- setup(R) {
227
- const w = {
226
+ setup(w) {
227
+ const x = {
228
228
  keyword: ""
229
- }, y = [{
229
+ }, g = [{
230
230
  label: a("base.avatar"),
231
231
  prop: "avatar",
232
232
  width: 60,
233
233
  render: ({
234
- row: c
235
- }) => l(Ue, {
236
- src: c.avatar
234
+ row: u
235
+ }) => l(Fe, {
236
+ src: u.avatar
237
237
  }, null)
238
238
  }, {
239
239
  label: a("base.user"),
240
240
  width: 200,
241
241
  align: "left",
242
242
  render: ({
243
- row: c
243
+ row: u
244
244
  }) => l(s("el-space"), {
245
245
  direction: "vertical",
246
246
  alignment: "start"
247
247
  }, {
248
- default: () => [l("div", null, [c.username]), l("div", null, [c.email])]
248
+ default: () => [l("div", null, [u.username]), l("div", null, [u.email])]
249
249
  })
250
250
  }, {
251
251
  label: a("base.phone"),
@@ -273,89 +273,1378 @@ const ue = ae("admin", {}, "key"), Z = ae("role", {}, "key"), Ce = /* @__PURE__
273
273
  width: 80,
274
274
  align: "center",
275
275
  render: ({
276
- row: c
277
- }) => l(oe, {
278
- onModify: () => b({
279
- key: c.key
276
+ row: u
277
+ }) => l(X, {
278
+ onModify: () => V({
279
+ key: u.key
280
280
  })
281
281
  }, null)
282
282
  }], {
283
- requesting: k
284
- } = F(ue), {
285
- tableRef: h,
286
- formModalRef: _,
287
- keyword: m,
288
- search: d,
289
- reset: p,
283
+ requesting: h
284
+ } = F(be), {
285
+ tableRef: y,
286
+ formModalRef: f,
287
+ keyword: i,
288
+ search: p,
289
+ reset: m,
290
290
  openFormModal: n,
291
- editFormModal: b
292
- } = P(w);
293
- return (c, i) => {
294
- const x = s("el-input"), v = s("el-space"), C = s("el-page-header"), f = s("el-card");
295
- return E(), q(f, {
291
+ editFormModal: V
292
+ } = $(x);
293
+ return (u, c) => {
294
+ const k = s("el-input"), v = s("el-space"), U = s("el-page-header"), b = s("el-card");
295
+ return S(), T(b, {
296
296
  class: "basic-card flex-full",
297
297
  "body-class": "flex-1"
298
298
  }, {
299
- header: o(() => [l(C, {
299
+ header: t(() => [l(U, {
300
300
  class: "basic-header"
301
301
  }, {
302
- title: o(() => [l(e(B), {
303
- loading: e(k),
304
- onRefresh: e(p)
305
- }, null, 8, ["loading", "onRefresh"]), l(e(re), {
302
+ title: t(() => [l(e(B), {
303
+ loading: e(h),
304
+ onRefresh: e(m)
305
+ }, null, 8, ["loading", "onRefresh"]), l(e(K), {
306
306
  onOpen: e(n)
307
307
  }, null, 8, ["onOpen"])]),
308
- content: o(() => [l(v, {
308
+ content: t(() => [l(v, {
309
309
  class: "search-bar"
310
310
  }, {
311
- default: o(() => [l(x, {
311
+ default: t(() => [l(k, {
312
312
  class: "basic-search-input",
313
- modelValue: e(m).keyword,
314
- "onUpdate:modelValue": i[0] || (i[0] = (t) => e(m).keyword = t),
313
+ modelValue: e(i).keyword,
314
+ "onUpdate:modelValue": c[0] || (c[0] = (o) => e(i).keyword = o),
315
315
  placeholder: e(a)("base.placeholder.keyword"),
316
316
  clearable: "",
317
- onKeyup: i[1] || (i[1] = le((t) => e(d)(), ["enter"])),
318
- onClear: i[2] || (i[2] = (t) => e(d)())
319
- }, null, 8, ["modelValue", "placeholder"]), l(e(j), {
320
- disabled: e(k),
321
- onSearch: i[3] || (i[3] = (t) => e(d)())
317
+ onKeyup: c[1] || (c[1] = me((o) => e(p)(), ["enter"])),
318
+ onClear: c[2] || (c[2] = (o) => e(p)())
319
+ }, null, 8, ["modelValue", "placeholder"]), l(e(Z), {
320
+ disabled: e(h),
321
+ onSearch: c[3] || (c[3] = (o) => e(p)())
322
322
  }, null, 8, ["disabled"])]),
323
323
  _: 1
324
324
  })]),
325
325
  _: 1
326
326
  })]),
327
- default: o(() => [l(e(te), {
327
+ default: t(() => [l(e(se), {
328
328
  ref_key: "tableRef",
329
- ref: h,
329
+ ref: y,
330
330
  size: "small",
331
- columns: y,
332
- url: e(ue).urls[e(ne)],
333
- "search-param": e(m),
331
+ columns: g,
332
+ url: e(be).urls[e(ce)],
333
+ "search-param": e(i),
334
334
  autoSearch: ""
335
- }, null, 8, ["url", "search-param"]), l(Ce, {
335
+ }, null, 8, ["url", "search-param"]), l(Ke, {
336
+ ref_key: "formModalRef",
337
+ ref: f,
338
+ onRefresh: e(m)
339
+ }, null, 8, ["onRefresh"])]),
340
+ _: 1
341
+ });
342
+ };
343
+ }
344
+ }), Ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
345
+ __proto__: null,
346
+ default: We
347
+ }, Symbol.toStringTag, { value: "Module" })), He = Y("config", {}, "key"), ee = Y(
348
+ "site",
349
+ {
350
+ check: "check"
351
+ },
352
+ "id",
353
+ ["check"],
354
+ []
355
+ ), ae = Y("domain", {}, "id", [], []), Me = /* @__PURE__ */ q({
356
+ __name: "DomainSelect",
357
+ props: {
358
+ modelValue: {
359
+ type: Number,
360
+ required: !0
361
+ },
362
+ disabled: {
363
+ type: Boolean,
364
+ default: !1
365
+ }
366
+ },
367
+ emits: ["update:modelValue", "change"],
368
+ setup(w, {
369
+ expose: x,
370
+ emit: g
371
+ }) {
372
+ const h = g, y = w, {
373
+ requesting: f
374
+ } = F(ae), {
375
+ key: i,
376
+ options: p,
377
+ refresh: m,
378
+ change: n
379
+ } = ne(te(y, "modelValue"), h, {
380
+ key: "DOMAIN_LIST",
381
+ api: ae,
382
+ isArray: !0
383
+ });
384
+ return x({
385
+ refresh: m
386
+ }), (V, u) => {
387
+ const c = s("el-select-v2");
388
+ return S(), T(c, {
389
+ modelValue: e(i),
390
+ "onUpdate:modelValue": u[0] || (u[0] = (k) => P(i) ? i.value = k : null),
391
+ options: e(p),
392
+ disabled: w.disabled || e(f),
393
+ placeholder: e(a)("base.select config.domain"),
394
+ onChange: e(n)
395
+ }, {
396
+ prefix: t(() => [l(e(ue), {
397
+ loading: e(f),
398
+ onRefresh: e(m)
399
+ }, null, 8, ["loading", "onRefresh"])]),
400
+ _: 1
401
+ }, 8, ["modelValue", "options", "disabled", "placeholder", "onChange"]);
402
+ };
403
+ }
404
+ }), Ge = /* @__PURE__ */ q({
405
+ __name: "SiteFormModal",
406
+ emits: ["refresh"],
407
+ setup(w, { expose: x, emit: g }) {
408
+ const h = g, y = {
409
+ id: 0,
410
+ domain_id: 0,
411
+ prefix: "",
412
+ name: "",
413
+ en_name: "",
414
+ dns: "",
415
+ git: "",
416
+ status: 1,
417
+ remark: ""
418
+ }, f = {
419
+ domain_id: [{ required: !0, message: a("base.placeholder.input config.domain"), trigger: "blur" }],
420
+ prefix: [{ required: !0, message: a("base.placeholder.input base.prefix"), trigger: "blur" }],
421
+ name: [{ required: !0, message: a("base.placeholder.input base.name"), trigger: "blur" }],
422
+ en_name: [{ required: !0, message: a("base.placeholder.input base.en_name"), trigger: "blur" }]
423
+ }, { modal: i, title: p, form: m, formData: n, requesting: V, executing: u, open: c, modify: k, submit: v, closed: U } = G(h, y, ee);
424
+ return x({
425
+ open: c,
426
+ modify: k
427
+ }), (b, o) => {
428
+ const d = s("el-form-item"), r = s("el-input"), R = s("el-form");
429
+ return S(), T(e(Q), {
430
+ modelValue: e(i),
431
+ "onUpdate:modelValue": o[7] || (o[7] = (_) => P(i) ? i.value = _ : null),
432
+ title: e(p)("config.site"),
433
+ width: "600px",
434
+ executing: e(u),
435
+ onClosed: e(U),
436
+ onSubmit: e(v)
437
+ }, {
438
+ default: t(() => [
439
+ l(R, {
440
+ ref_key: "form",
441
+ ref: m,
442
+ model: e(n),
443
+ "label-width": "auto",
444
+ rules: f,
445
+ disabled: e(V) || e(u)
446
+ }, {
447
+ default: t(() => [
448
+ l(d, {
449
+ prop: "domain_id",
450
+ label: e(a)("config.domain")
451
+ }, {
452
+ default: t(() => [
453
+ l(Me, {
454
+ modelValue: e(n).domain_id,
455
+ "onUpdate:modelValue": o[0] || (o[0] = (_) => e(n).domain_id = _),
456
+ disabled: e(u)
457
+ }, null, 8, ["modelValue", "disabled"])
458
+ ]),
459
+ _: 1
460
+ }, 8, ["label"]),
461
+ l(d, {
462
+ prop: "prefix",
463
+ label: e(a)("config.prefix")
464
+ }, {
465
+ default: t(() => [
466
+ l(r, {
467
+ modelValue: e(n).prefix,
468
+ "onUpdate:modelValue": o[1] || (o[1] = (_) => e(n).prefix = _),
469
+ disabled: e(u),
470
+ placeholder: e(a)("base.placeholder.input")
471
+ }, null, 8, ["modelValue", "disabled", "placeholder"])
472
+ ]),
473
+ _: 1
474
+ }, 8, ["label"]),
475
+ l(d, {
476
+ prop: "name",
477
+ label: e(a)("base.name")
478
+ }, {
479
+ default: t(() => [
480
+ l(r, {
481
+ modelValue: e(n).name,
482
+ "onUpdate:modelValue": o[2] || (o[2] = (_) => e(n).name = _),
483
+ disabled: e(u),
484
+ placeholder: e(a)("base.placeholder.input")
485
+ }, null, 8, ["modelValue", "disabled", "placeholder"])
486
+ ]),
487
+ _: 1
488
+ }, 8, ["label"]),
489
+ l(d, {
490
+ prop: "en_name",
491
+ label: e(a)("base.en_name")
492
+ }, {
493
+ default: t(() => [
494
+ l(r, {
495
+ modelValue: e(n).en_name,
496
+ "onUpdate:modelValue": o[3] || (o[3] = (_) => e(n).en_name = _),
497
+ disabled: e(u),
498
+ placeholder: e(a)("base.placeholder.input")
499
+ }, null, 8, ["modelValue", "disabled", "placeholder"])
500
+ ]),
501
+ _: 1
502
+ }, 8, ["label"]),
503
+ l(d, {
504
+ prop: "dns",
505
+ label: e(a)("config.dns")
506
+ }, {
507
+ default: t(() => [
508
+ l(r, {
509
+ modelValue: e(n).dns,
510
+ "onUpdate:modelValue": o[4] || (o[4] = (_) => e(n).dns = _),
511
+ disabled: e(u),
512
+ placeholder: e(a)("base.placeholder.input")
513
+ }, null, 8, ["modelValue", "disabled", "placeholder"])
514
+ ]),
515
+ _: 1
516
+ }, 8, ["label"]),
517
+ l(d, {
518
+ prop: "git",
519
+ label: e(a)("config.git")
520
+ }, {
521
+ default: t(() => [
522
+ l(r, {
523
+ modelValue: e(n).git,
524
+ "onUpdate:modelValue": o[5] || (o[5] = (_) => e(n).git = _),
525
+ disabled: e(u),
526
+ placeholder: e(a)("base.placeholder.input")
527
+ }, null, 8, ["modelValue", "disabled", "placeholder"])
528
+ ]),
529
+ _: 1
530
+ }, 8, ["label"]),
531
+ l(d, {
532
+ prop: "remark",
533
+ label: e(a)("base.remark")
534
+ }, {
535
+ default: t(() => [
536
+ l(r, {
537
+ modelValue: e(n).remark,
538
+ "onUpdate:modelValue": o[6] || (o[6] = (_) => e(n).remark = _),
539
+ disabled: e(u),
540
+ placeholder: e(a)("base.placeholder.input")
541
+ }, null, 8, ["modelValue", "disabled", "placeholder"])
542
+ ]),
543
+ _: 1
544
+ }, 8, ["label"])
545
+ ]),
546
+ _: 1
547
+ }, 8, ["model", "disabled"])
548
+ ]),
549
+ _: 1
550
+ }, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
551
+ };
552
+ }
553
+ }), de = Y("domain_provider", {}, "id", [], []), Qe = /* @__PURE__ */ q({
554
+ __name: "DomainProviderSelect",
555
+ props: {
556
+ modelValue: {
557
+ type: Number,
558
+ required: !0
559
+ },
560
+ disabled: {
561
+ type: Boolean,
562
+ default: !1
563
+ }
564
+ },
565
+ emits: ["update:modelValue", "change"],
566
+ setup(w, {
567
+ expose: x,
568
+ emit: g
569
+ }) {
570
+ const h = g, y = w, {
571
+ requesting: f
572
+ } = F(de), {
573
+ key: i,
574
+ options: p,
575
+ refresh: m,
576
+ change: n
577
+ } = ne(te(y, "modelValue"), h, {
578
+ key: "DOMAIN_PROVIDER_LIST",
579
+ api: de,
580
+ isArray: !0
581
+ });
582
+ return x({
583
+ refresh: m
584
+ }), (V, u) => {
585
+ const c = s("el-select-v2");
586
+ return S(), T(c, {
587
+ modelValue: e(i),
588
+ "onUpdate:modelValue": u[0] || (u[0] = (k) => P(i) ? i.value = k : null),
589
+ options: e(p),
590
+ disabled: w.disabled || e(f),
591
+ placeholder: e(a)("base.select config.domain config.provider"),
592
+ onChange: e(n)
593
+ }, {
594
+ prefix: t(() => [l(e(ue), {
595
+ loading: e(f),
596
+ onRefresh: e(m)
597
+ }, null, 8, ["loading", "onRefresh"])]),
598
+ _: 1
599
+ }, 8, ["modelValue", "options", "disabled", "placeholder", "onChange"]);
600
+ };
601
+ }
602
+ }), Je = /* @__PURE__ */ q({
603
+ __name: "DomainFormModal",
604
+ emits: ["refresh"],
605
+ setup(w, { expose: x, emit: g }) {
606
+ const h = g, y = {
607
+ id: 0,
608
+ provider_id: 0,
609
+ name: "",
610
+ expired_at: "",
611
+ status: 1,
612
+ remark: ""
613
+ }, f = {
614
+ provider_id: [{ required: !0, message: a("base.placeholder.input config.domain config.provider"), trigger: "blur" }],
615
+ name: [{ required: !0, message: a("base.placeholder.input base.name"), trigger: "blur" }]
616
+ }, { modal: i, title: p, form: m, formData: n, requesting: V, executing: u, open: c, modify: k, submit: v, closed: U } = G(h, y, ae);
617
+ return x({
618
+ open: c,
619
+ modify: k
620
+ }), (b, o) => {
621
+ const d = s("el-form-item"), r = s("el-input"), R = s("el-date-picker"), _ = s("el-form");
622
+ return S(), T(e(Q), {
623
+ modelValue: e(i),
624
+ "onUpdate:modelValue": o[4] || (o[4] = (D) => P(i) ? i.value = D : null),
625
+ title: e(p)("config.domain"),
626
+ width: "600px",
627
+ executing: e(u),
628
+ onClosed: e(U),
629
+ onSubmit: e(v)
630
+ }, {
631
+ default: t(() => [
632
+ l(_, {
633
+ ref_key: "form",
634
+ ref: m,
635
+ model: e(n),
636
+ "label-width": "auto",
637
+ rules: f,
638
+ disabled: e(V) || e(u)
639
+ }, {
640
+ default: t(() => [
641
+ l(d, {
642
+ prop: "provider_id",
643
+ label: e(a)("config.provider")
644
+ }, {
645
+ default: t(() => [
646
+ l(Qe, {
647
+ modelValue: e(n).provider_id,
648
+ "onUpdate:modelValue": o[0] || (o[0] = (D) => e(n).provider_id = D),
649
+ disabled: e(u)
650
+ }, null, 8, ["modelValue", "disabled"])
651
+ ]),
652
+ _: 1
653
+ }, 8, ["label"]),
654
+ l(d, {
655
+ prop: "name",
656
+ label: e(a)("base.name")
657
+ }, {
658
+ default: t(() => [
659
+ l(r, {
660
+ modelValue: e(n).name,
661
+ "onUpdate:modelValue": o[1] || (o[1] = (D) => e(n).name = D),
662
+ disabled: e(u),
663
+ placeholder: e(a)("base.placeholder.input")
664
+ }, null, 8, ["modelValue", "disabled", "placeholder"])
665
+ ]),
666
+ _: 1
667
+ }, 8, ["label"]),
668
+ l(d, {
669
+ prop: "expired_at",
670
+ required: "",
671
+ label: e(a)("base.expired_at")
672
+ }, {
673
+ default: t(() => [
674
+ l(R, {
675
+ type: "date",
676
+ style: { width: "100%" },
677
+ modelValue: e(n).expired_at,
678
+ "onUpdate:modelValue": o[2] || (o[2] = (D) => e(n).expired_at = D),
679
+ disabled: e(u),
680
+ "value-format": e(O).DATE_VALUE_FORMAT,
681
+ format: e(O).DATE_FORMAT,
682
+ placeholder: e(a)("base.placeholder.select")
683
+ }, null, 8, ["modelValue", "disabled", "value-format", "format", "placeholder"])
684
+ ]),
685
+ _: 1
686
+ }, 8, ["label"]),
687
+ l(d, {
688
+ prop: "remark",
689
+ label: e(a)("base.remark")
690
+ }, {
691
+ default: t(() => [
692
+ l(r, {
693
+ modelValue: e(n).remark,
694
+ "onUpdate:modelValue": o[3] || (o[3] = (D) => e(n).remark = D),
695
+ disabled: e(u),
696
+ placeholder: e(a)("base.placeholder.input")
697
+ }, null, 8, ["modelValue", "disabled", "placeholder"])
698
+ ]),
699
+ _: 1
700
+ }, 8, ["label"])
701
+ ]),
702
+ _: 1
703
+ }, 8, ["model", "disabled"])
704
+ ]),
705
+ _: 1
706
+ }, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
707
+ };
708
+ }
709
+ }), Xe = /* @__PURE__ */ q({
710
+ __name: "SiteSelect",
711
+ props: {
712
+ modelValue: {
713
+ type: Number,
714
+ required: !0
715
+ },
716
+ disabled: {
717
+ type: Boolean,
718
+ default: !1
719
+ }
720
+ },
721
+ emits: ["update:modelValue", "change"],
722
+ setup(w, {
723
+ expose: x,
724
+ emit: g
725
+ }) {
726
+ const h = g, y = w, {
727
+ requesting: f
728
+ } = F(ee), {
729
+ key: i,
730
+ options: p,
731
+ refresh: m,
732
+ change: n
733
+ } = ne(te(y, "modelValue"), h, {
734
+ key: "SITE_LIST",
735
+ api: ee,
736
+ isArray: !0,
737
+ formatOptions: (V) => V.map((u) => {
738
+ var c;
739
+ return {
740
+ label: u.prefix + "." + ((c = u.domain) == null ? void 0 : c.name),
741
+ value: u.id
742
+ };
743
+ })
744
+ });
745
+ return x({
746
+ refresh: m
747
+ }), (V, u) => {
748
+ const c = s("el-select-v2");
749
+ return S(), T(c, {
750
+ modelValue: e(i),
751
+ "onUpdate:modelValue": u[0] || (u[0] = (k) => P(i) ? i.value = k : null),
752
+ options: e(p),
753
+ disabled: w.disabled || e(f),
754
+ placeholder: e(a)("base.select config.domain"),
755
+ onChange: e(n)
756
+ }, {
757
+ prefix: t(() => [l(e(ue), {
758
+ loading: e(f),
759
+ onRefresh: e(m)
760
+ }, null, 8, ["loading", "onRefresh"])]),
761
+ _: 1
762
+ }, 8, ["modelValue", "options", "disabled", "placeholder", "onChange"]);
763
+ };
764
+ }
765
+ }), Ze = /* @__PURE__ */ q({
766
+ __name: "SSLFormModal",
767
+ emits: ["refresh"],
768
+ setup(w, { expose: x, emit: g }) {
769
+ const h = g, y = {
770
+ id: 0,
771
+ domain_id: 0,
772
+ site_id: 0,
773
+ name: "",
774
+ path: "",
775
+ email: "",
776
+ encryption: "",
777
+ remark: ""
778
+ }, f = {
779
+ domain_id: [{ required: !0, message: a("base.placeholder.select config.domain "), trigger: "blur" }],
780
+ site_id: [{ required: !0, message: a("base.placeholder.select config.site "), trigger: "blur" }],
781
+ name: [{ required: !0, message: a("base.placeholder.input base.name"), trigger: "blur" }],
782
+ path: [{ required: !0, message: a("base.placeholder.input base.path"), trigger: "blur" }],
783
+ email: [{ required: !0, message: a("base.placeholder.input base.email"), trigger: "blur" }],
784
+ encryption: [{ required: !0, message: a("base.placeholder.input config.encryption"), trigger: "blur" }]
785
+ }, { modal: i, title: p, form: m, formData: n, requesting: V, executing: u, open: c, modify: k, submit: v, closed: U } = G(h, y, ae);
786
+ return x({
787
+ open: c,
788
+ modify: k,
789
+ formData: n
790
+ }), (b, o) => {
791
+ const d = s("el-form-item"), r = s("el-input"), R = s("el-form");
792
+ return S(), T(e(Q), {
793
+ modelValue: e(i),
794
+ "onUpdate:modelValue": o[7] || (o[7] = (_) => P(i) ? i.value = _ : null),
795
+ title: e(p)("config.domain"),
796
+ width: "600px",
797
+ executing: e(u),
798
+ onClosed: e(U),
799
+ onSubmit: e(v)
800
+ }, {
801
+ default: t(() => [
802
+ l(R, {
803
+ ref_key: "form",
804
+ ref: m,
805
+ model: e(n),
806
+ "label-width": "auto",
807
+ rules: f,
808
+ disabled: e(V) || e(u)
809
+ }, {
810
+ default: t(() => [
811
+ l(d, {
812
+ prop: "domain_id",
813
+ label: e(a)("config.domain")
814
+ }, {
815
+ default: t(() => [
816
+ l(Me, {
817
+ modelValue: e(n).domain_id,
818
+ "onUpdate:modelValue": o[0] || (o[0] = (_) => e(n).domain_id = _),
819
+ disabled: e(u)
820
+ }, null, 8, ["modelValue", "disabled"])
821
+ ]),
822
+ _: 1
823
+ }, 8, ["label"]),
824
+ l(d, {
825
+ prop: "site_id",
826
+ label: e(a)("config.site")
827
+ }, {
828
+ default: t(() => [
829
+ l(Xe, {
830
+ modelValue: e(n).site_id,
831
+ "onUpdate:modelValue": o[1] || (o[1] = (_) => e(n).site_id = _),
832
+ disabled: e(u) || e(n).domain_id > 0
833
+ }, null, 8, ["modelValue", "disabled"])
834
+ ]),
835
+ _: 1
836
+ }, 8, ["label"]),
837
+ l(d, {
838
+ prop: "name",
839
+ label: e(a)("base.name")
840
+ }, {
841
+ default: t(() => [
842
+ l(r, {
843
+ modelValue: e(n).name,
844
+ "onUpdate:modelValue": o[2] || (o[2] = (_) => e(n).name = _),
845
+ disabled: e(u),
846
+ placeholder: e(a)("base.placeholder.input")
847
+ }, null, 8, ["modelValue", "disabled", "placeholder"])
848
+ ]),
849
+ _: 1
850
+ }, 8, ["label"]),
851
+ l(d, {
852
+ prop: "path",
853
+ label: e(a)("base.path")
854
+ }, {
855
+ default: t(() => [
856
+ l(r, {
857
+ modelValue: e(n).path,
858
+ "onUpdate:modelValue": o[3] || (o[3] = (_) => e(n).path = _),
859
+ disabled: e(u),
860
+ placeholder: e(a)("base.placeholder.input")
861
+ }, null, 8, ["modelValue", "disabled", "placeholder"])
862
+ ]),
863
+ _: 1
864
+ }, 8, ["label"]),
865
+ l(d, {
866
+ prop: "email",
867
+ label: e(a)("base.email")
868
+ }, {
869
+ default: t(() => [
870
+ l(r, {
871
+ modelValue: e(n).email,
872
+ "onUpdate:modelValue": o[4] || (o[4] = (_) => e(n).email = _),
873
+ disabled: e(u),
874
+ placeholder: e(a)("base.placeholder.input")
875
+ }, null, 8, ["modelValue", "disabled", "placeholder"])
876
+ ]),
877
+ _: 1
878
+ }, 8, ["label"]),
879
+ l(d, {
880
+ prop: "encryption",
881
+ label: e(a)("config.encryption")
882
+ }, {
883
+ default: t(() => [
884
+ l(r, {
885
+ modelValue: e(n).encryption,
886
+ "onUpdate:modelValue": o[5] || (o[5] = (_) => e(n).encryption = _),
887
+ disabled: e(u),
888
+ placeholder: e(a)("base.placeholder.input")
889
+ }, null, 8, ["modelValue", "disabled", "placeholder"])
890
+ ]),
891
+ _: 1
892
+ }, 8, ["label"]),
893
+ l(d, {
894
+ prop: "remark",
895
+ label: e(a)("base.remark")
896
+ }, {
897
+ default: t(() => [
898
+ l(r, {
899
+ modelValue: e(n).remark,
900
+ "onUpdate:modelValue": o[6] || (o[6] = (_) => e(n).remark = _),
901
+ disabled: e(u),
902
+ placeholder: e(a)("base.placeholder.input")
903
+ }, null, 8, ["modelValue", "disabled", "placeholder"])
904
+ ]),
905
+ _: 1
906
+ }, 8, ["label"])
907
+ ]),
908
+ _: 1
909
+ }, 8, ["model", "disabled"])
910
+ ]),
911
+ _: 1
912
+ }, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
913
+ };
914
+ }
915
+ }), el = /* @__PURE__ */ q({
916
+ __name: "DomainProviderFormModal",
917
+ emits: ["refresh"],
918
+ setup(w, { expose: x, emit: g }) {
919
+ const h = g, y = {
920
+ id: 0,
921
+ name: "",
922
+ en_name: "",
923
+ key: "",
924
+ secret: "",
925
+ end_point: "",
926
+ status: 1,
927
+ remark: ""
928
+ }, f = {
929
+ name: [{ required: !0, message: a("base.placeholder.input base.name"), trigger: "blur" }],
930
+ en_name: { required: !0, message: a("base.placeholder.input base.en_name"), trigger: "blur" },
931
+ key: { required: !0, message: a("base.placeholder.input base.key"), trigger: "blur" },
932
+ secret: { required: !0, message: a("base.placeholder.input config.secret"), trigger: "blur" },
933
+ end_point: { required: !0, message: a("base.placeholder.input config.endpoint"), trigger: "blur" }
934
+ }, { modal: i, title: p, form: m, formData: n, requesting: V, executing: u, open: c, modify: k, submit: v, closed: U } = G(h, y, de);
935
+ return x({
936
+ open: c,
937
+ modify: k
938
+ }), (b, o) => {
939
+ const d = s("el-input"), r = s("el-form-item"), R = s("el-form");
940
+ return S(), T(e(Q), {
941
+ modelValue: e(i),
942
+ "onUpdate:modelValue": o[6] || (o[6] = (_) => P(i) ? i.value = _ : null),
943
+ title: e(p)("config.domain"),
944
+ width: "600px",
945
+ executing: e(u),
946
+ onClosed: e(U),
947
+ onSubmit: e(v)
948
+ }, {
949
+ default: t(() => [
950
+ l(R, {
951
+ ref_key: "form",
952
+ ref: m,
953
+ model: e(n),
954
+ "label-width": "auto",
955
+ rules: f,
956
+ disabled: e(V) || e(u)
957
+ }, {
958
+ default: t(() => [
959
+ l(r, {
960
+ prop: "name",
961
+ label: e(a)("base.name")
962
+ }, {
963
+ default: t(() => [
964
+ l(d, {
965
+ modelValue: e(n).name,
966
+ "onUpdate:modelValue": o[0] || (o[0] = (_) => e(n).name = _),
967
+ disabled: e(u),
968
+ placeholder: e(a)("base.placeholder.input")
969
+ }, null, 8, ["modelValue", "disabled", "placeholder"])
970
+ ]),
971
+ _: 1
972
+ }, 8, ["label"]),
973
+ l(r, {
974
+ prop: "en_name",
975
+ label: e(a)("base.en_name")
976
+ }, {
977
+ default: t(() => [
978
+ l(d, {
979
+ modelValue: e(n).en_name,
980
+ "onUpdate:modelValue": o[1] || (o[1] = (_) => e(n).en_name = _),
981
+ disabled: e(u),
982
+ placeholder: e(a)("base.placeholder.input")
983
+ }, null, 8, ["modelValue", "disabled", "placeholder"])
984
+ ]),
985
+ _: 1
986
+ }, 8, ["label"]),
987
+ l(r, {
988
+ prop: "key",
989
+ label: e(a)("base.key")
990
+ }, {
991
+ default: t(() => [
992
+ l(d, {
993
+ modelValue: e(n).key,
994
+ "onUpdate:modelValue": o[2] || (o[2] = (_) => e(n).key = _),
995
+ disabled: e(u),
996
+ placeholder: e(a)("base.placeholder.input")
997
+ }, null, 8, ["modelValue", "disabled", "placeholder"])
998
+ ]),
999
+ _: 1
1000
+ }, 8, ["label"]),
1001
+ l(r, {
1002
+ prop: "secret",
1003
+ label: e(a)("config.secret")
1004
+ }, {
1005
+ default: t(() => [
1006
+ l(d, {
1007
+ modelValue: e(n).secret,
1008
+ "onUpdate:modelValue": o[3] || (o[3] = (_) => e(n).secret = _),
1009
+ disabled: e(u),
1010
+ placeholder: e(a)("base.placeholder.input")
1011
+ }, null, 8, ["modelValue", "disabled", "placeholder"])
1012
+ ]),
1013
+ _: 1
1014
+ }, 8, ["label"]),
1015
+ l(r, {
1016
+ prop: "end_point",
1017
+ label: e(a)("config.end_point")
1018
+ }, {
1019
+ default: t(() => [
1020
+ l(d, {
1021
+ modelValue: e(n).end_point,
1022
+ "onUpdate:modelValue": o[4] || (o[4] = (_) => e(n).end_point = _),
1023
+ disabled: e(u),
1024
+ placeholder: e(a)("base.placeholder.input")
1025
+ }, null, 8, ["modelValue", "disabled", "placeholder"])
1026
+ ]),
1027
+ _: 1
1028
+ }, 8, ["label"]),
1029
+ l(r, {
1030
+ prop: "remark",
1031
+ label: e(a)("base.remark")
1032
+ }, {
1033
+ default: t(() => [
1034
+ l(d, {
1035
+ modelValue: e(n).remark,
1036
+ "onUpdate:modelValue": o[5] || (o[5] = (_) => e(n).remark = _),
1037
+ disabled: e(u),
1038
+ placeholder: e(a)("base.placeholder.input")
1039
+ }, null, 8, ["modelValue", "disabled", "placeholder"])
1040
+ ]),
1041
+ _: 1
1042
+ }, 8, ["label"])
1043
+ ]),
1044
+ _: 1
1045
+ }, 8, ["model", "disabled"])
1046
+ ]),
1047
+ _: 1
1048
+ }, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
1049
+ };
1050
+ }
1051
+ }), ll = /* @__PURE__ */ q({
1052
+ __name: "DomainProviderTableDrawer",
1053
+ setup(w, {
1054
+ expose: x
1055
+ }) {
1056
+ const {
1057
+ requesting: g
1058
+ } = F(de), h = z(!1), {
1059
+ tableRef: y,
1060
+ formModalRef: f,
1061
+ refresh: i,
1062
+ openFormModal: p,
1063
+ editFormModal: m
1064
+ } = $({}), n = [{
1065
+ prop: "name",
1066
+ label: a("base.name"),
1067
+ width: 0,
1068
+ minWidth: 140
1069
+ }, {
1070
+ prop: "en_name",
1071
+ label: a("base.en_name"),
1072
+ width: 120
1073
+ }, {
1074
+ prop: "actions",
1075
+ label: a("base.action"),
1076
+ width: 60,
1077
+ align: "center",
1078
+ render: ({
1079
+ rowData: u
1080
+ }) => l(s("el-space"), null, {
1081
+ default: () => [l(X, {
1082
+ icon: "icon-edit",
1083
+ t: "",
1084
+ onModify: () => m({
1085
+ id: u.id
1086
+ })
1087
+ }, null)]
1088
+ })
1089
+ }];
1090
+ return x({
1091
+ open: () => {
1092
+ h.value = !0;
1093
+ }
1094
+ }), (u, c) => {
1095
+ const k = s("el-page-header");
1096
+ return S(), T(e(he), {
1097
+ modelValue: h.value,
1098
+ "onUpdate:modelValue": c[0] || (c[0] = (v) => h.value = v),
1099
+ width: "400px",
1100
+ "show-close": !1,
1101
+ class: "basic-drawer"
1102
+ }, {
1103
+ title: t(() => [l(k, {
1104
+ icon: ""
1105
+ }, {
1106
+ title: t(() => [N("span", null, H(e(a)("config.domain config.provider")), 1)]),
1107
+ content: t(() => [l(e(B), {
1108
+ onRefresh: e(i),
1109
+ size: "default",
1110
+ loading: e(g)
1111
+ }, null, 8, ["onRefresh", "loading"])]),
1112
+ extra: t(() => [l(e(K), {
1113
+ onOpen: e(p)
1114
+ }, null, 8, ["onOpen"])]),
1115
+ _: 1
1116
+ })]),
1117
+ default: t(() => [l(e(re), {
1118
+ ref_key: "tableRef",
1119
+ ref: y,
1120
+ size: "small",
1121
+ "row-key": "id",
1122
+ url: e(de).urls.list,
1123
+ columns: n,
1124
+ loading: e(g)
1125
+ }, null, 8, ["url", "loading"]), l(el, {
336
1126
  ref_key: "formModalRef",
337
- ref: _,
338
- onRefresh: e(p)
1127
+ ref: f,
1128
+ onRefresh: e(i)
339
1129
  }, null, 8, ["onRefresh"])]),
340
1130
  _: 1
1131
+ }, 8, ["modelValue"]);
1132
+ };
1133
+ }
1134
+ }), al = /* @__PURE__ */ q({
1135
+ __name: "DomainTableDrawer",
1136
+ setup(w, {
1137
+ expose: x
1138
+ }) {
1139
+ const {
1140
+ requesting: g
1141
+ } = F(ae), h = z(!1), {
1142
+ tableRef: y,
1143
+ formModalRef: f,
1144
+ refresh: i,
1145
+ openFormModal: p,
1146
+ editFormModal: m
1147
+ } = $(), {
1148
+ formModalRef: n,
1149
+ openFormModal: V,
1150
+ editFormModal: u
1151
+ } = $(), {
1152
+ formModalRef: c,
1153
+ openFormModal: k
1154
+ } = $(), v = [{
1155
+ prop: "provider",
1156
+ label: a("config.domain config.provider"),
1157
+ width: 120,
1158
+ cellRenderer: ({
1159
+ rowData: b
1160
+ }) => l(s("el-text"), null, {
1161
+ default: () => {
1162
+ var o;
1163
+ return [(o = b.provider) == null ? void 0 : o.name];
1164
+ }
1165
+ })
1166
+ }, {
1167
+ prop: "name",
1168
+ label: a("base.name"),
1169
+ width: 0,
1170
+ minWidth: 120
1171
+ }, {
1172
+ prop: "expired_text",
1173
+ label: a("base.expired_at"),
1174
+ width: 160
1175
+ }, {
1176
+ prop: "actions",
1177
+ label: a("base.action"),
1178
+ width: 100,
1179
+ align: "center",
1180
+ render: ({
1181
+ rowData: b
1182
+ }) => l(s("el-space"), null, {
1183
+ default: () => [l(X, {
1184
+ icon: "icon-edit",
1185
+ t: "",
1186
+ onModify: () => m({
1187
+ id: b.id
1188
+ })
1189
+ }, null), l(K, {
1190
+ icon: "icon-safetycertificate-f",
1191
+ type: "primary",
1192
+ size: "small",
1193
+ link: !0,
1194
+ onOpen: () => {
1195
+ var o;
1196
+ b.ssl && b.ssl.id ? u({
1197
+ id: (o = b.ssl) == null ? void 0 : o.id
1198
+ }) : (n.value.formData.domain_id = b.id, n.value.formData.site_id = 0, V());
1199
+ }
1200
+ }, null)]
1201
+ })
1202
+ }];
1203
+ return x({
1204
+ open: () => {
1205
+ h.value = !0;
1206
+ }
1207
+ }), (b, o) => {
1208
+ const d = s("el-space"), r = s("el-page-header");
1209
+ return S(), T(e(he), {
1210
+ modelValue: h.value,
1211
+ "onUpdate:modelValue": o[0] || (o[0] = (R) => h.value = R),
1212
+ width: "600px",
1213
+ "show-close": !1,
1214
+ class: "basic-drawer"
1215
+ }, {
1216
+ title: t(() => [l(r, {
1217
+ icon: ""
1218
+ }, {
1219
+ title: t(() => [N("span", null, H(e(a)("config.domain")), 1)]),
1220
+ content: t(() => [l(e(B), {
1221
+ onRefresh: e(i),
1222
+ size: "default",
1223
+ loading: e(g)
1224
+ }, null, 8, ["onRefresh", "loading"]), l(e(K), {
1225
+ onOpen: e(p)
1226
+ }, null, 8, ["onOpen"])]),
1227
+ extra: t(() => [l(d, {
1228
+ class: "w-full extra-tool",
1229
+ alignment: "center"
1230
+ }, {
1231
+ default: t(() => [l(e(K), {
1232
+ onOpen: e(k),
1233
+ type: "danger"
1234
+ }, null, 8, ["onOpen"])]),
1235
+ _: 1
1236
+ })]),
1237
+ _: 1
1238
+ })]),
1239
+ default: t(() => [l(e(re), {
1240
+ ref_key: "tableRef",
1241
+ ref: y,
1242
+ size: "small",
1243
+ "row-key": "id",
1244
+ url: e(ae).urls.list,
1245
+ columns: v,
1246
+ loading: e(g)
1247
+ }, null, 8, ["url", "loading"]), l(Je, {
1248
+ ref_key: "formModalRef",
1249
+ ref: f,
1250
+ onRefresh: e(i)
1251
+ }, null, 8, ["onRefresh"]), l(Ze, {
1252
+ ref_key: "sslFormModalRef",
1253
+ ref: n,
1254
+ onRefresh: e(i)
1255
+ }, null, 8, ["onRefresh"]), l(ll, {
1256
+ ref_key: "providerTableDrawerRef",
1257
+ ref: c
1258
+ }, null, 512)]),
1259
+ _: 1
1260
+ }, 8, ["modelValue"]);
1261
+ };
1262
+ }
1263
+ }), ye = Y("SSLLog", {}, "id", [], []), ke = Y(
1264
+ "SSL",
1265
+ {
1266
+ gen: "gen"
1267
+ },
1268
+ "id",
1269
+ [],
1270
+ ["gen"]
1271
+ ), ol = /* @__PURE__ */ q({
1272
+ __name: "SSLLogTableDrawer",
1273
+ props: {
1274
+ ssl: {
1275
+ type: Object,
1276
+ default: () => ({})
1277
+ }
1278
+ },
1279
+ setup(w, {
1280
+ expose: x
1281
+ }) {
1282
+ const g = w, {
1283
+ requesting: h,
1284
+ executing: y
1285
+ } = F([ye, ke]), f = z(!1), {
1286
+ tableRef: i,
1287
+ refresh: p
1288
+ } = $(), m = [{
1289
+ prop: "status_text",
1290
+ label: a("base.status"),
1291
+ width: 100
1292
+ }, {
1293
+ prop: "at",
1294
+ label: a("base.time"),
1295
+ width: 180
1296
+ }, {
1297
+ prop: "type_text",
1298
+ label: a("base.type"),
1299
+ width: 80
1300
+ }, {
1301
+ prop: "result",
1302
+ label: a("base.result"),
1303
+ width: 0
1304
+ }], n = () => {
1305
+ f.value = !0;
1306
+ };
1307
+ function V() {
1308
+ ke.gen({
1309
+ id: g.ssl.id
1310
+ }).then((c) => {
1311
+ console.log("Res:", c);
341
1312
  });
1313
+ }
1314
+ function u() {
1315
+ const c = $e.getDownloadUrl(g.ssl.path + ".zip");
1316
+ fetch(c).then((k) => k.blob()).then((k) => {
1317
+ let v = URL.createObjectURL(k), U = document.createElement("a");
1318
+ U.style.display = "none", U.href = v, U.download = g.ssl.name + ".zip", U.click(), URL.revokeObjectURL(k);
1319
+ });
1320
+ }
1321
+ return x({
1322
+ open: n
1323
+ }), (c, k) => {
1324
+ const v = s("el-page-header");
1325
+ return S(), T(e(he), {
1326
+ modelValue: f.value,
1327
+ "onUpdate:modelValue": k[0] || (k[0] = (U) => f.value = U),
1328
+ width: "600px",
1329
+ "show-close": !1,
1330
+ class: "basic-drawer"
1331
+ }, {
1332
+ title: t(() => [l(v, {
1333
+ icon: ""
1334
+ }, {
1335
+ title: t(() => [N("span", null, H(e(a)("config.ssl base.log")), 1)]),
1336
+ content: t(() => [l(e(B), {
1337
+ onRefresh: e(p),
1338
+ size: "default",
1339
+ loading: e(h)
1340
+ }, null, 8, ["onRefresh", "loading"])]),
1341
+ extra: t(() => [l(e(fe), {
1342
+ size: "default",
1343
+ type: "danger",
1344
+ icon: "icon-key",
1345
+ loading: e(y),
1346
+ onClick: V
1347
+ }, null, 8, ["loading"]), l(e(fe), {
1348
+ size: "default",
1349
+ type: "primary",
1350
+ icon: "icon-cloud-download",
1351
+ loading: e(y),
1352
+ onClick: u
1353
+ }, null, 8, ["loading"])]),
1354
+ _: 1
1355
+ })]),
1356
+ default: t(() => [l(e(se), {
1357
+ ref_key: "tableRef",
1358
+ ref: i,
1359
+ size: "small",
1360
+ "row-key": "id",
1361
+ url: e(ye).urls.search,
1362
+ columns: m,
1363
+ loading: e(h)
1364
+ }, null, 8, ["url", "loading"])]),
1365
+ _: 1
1366
+ }, 8, ["modelValue"]);
342
1367
  };
343
1368
  }
344
- }), Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1369
+ }), tl = /* @__PURE__ */ q({
1370
+ __name: "SiteTable",
1371
+ setup(w) {
1372
+ const x = z(), {
1373
+ requesting: g,
1374
+ executing: h
1375
+ } = F(ee), {
1376
+ tableRef: y,
1377
+ formModalRef: f,
1378
+ refresh: i,
1379
+ openFormModal: p,
1380
+ editFormModal: m
1381
+ } = $(), {
1382
+ formModalRef: n,
1383
+ openFormModal: V
1384
+ } = $(), {
1385
+ formModalRef: u,
1386
+ openFormModal: c
1387
+ } = $(), k = [{
1388
+ prop: "domain.name",
1389
+ label: a("config.domain"),
1390
+ width: 129,
1391
+ type: "copy"
1392
+ }, {
1393
+ prop: "name",
1394
+ label: a("base.name"),
1395
+ width: 100
1396
+ }, {
1397
+ prop: "dns",
1398
+ label: a("config.dns"),
1399
+ width: 160,
1400
+ type: "copy"
1401
+ }, {
1402
+ prop: "git",
1403
+ label: a("config.git"),
1404
+ width: 300,
1405
+ type: "copy"
1406
+ }, {
1407
+ prop: "expired_at",
1408
+ label: a("config.ssl base.expired_at"),
1409
+ align: "center",
1410
+ width: 140,
1411
+ cellRenderer: ({
1412
+ rowData: b
1413
+ }) => l(s("el-space"), null, {
1414
+ default: () => [l(s("el-text"), null, {
1415
+ default: () => {
1416
+ var o;
1417
+ return [(o = b.ssl) == null ? void 0 : o.renewal_days, J(" 天")];
1418
+ }
1419
+ }), l(s("el-button"), {
1420
+ size: "small",
1421
+ type: "primary",
1422
+ text: !0,
1423
+ onClick: (o) => {
1424
+ o.stopPropagation(), b.ssl && b.ssl.id && (x.value = b.ssl, c());
1425
+ }
1426
+ }, {
1427
+ default: () => [l("span", {
1428
+ class: "icon iconfont icon-reloadtime"
1429
+ }, null)]
1430
+ })]
1431
+ })
1432
+ }, {
1433
+ prop: "remark",
1434
+ label: a("base.remark"),
1435
+ width: 0,
1436
+ minWidth: 160
1437
+ }, {
1438
+ prop: "operation",
1439
+ label: a("base.action"),
1440
+ width: 100,
1441
+ align: "center",
1442
+ cellRenderer: ({
1443
+ rowData: b
1444
+ }) => l(s("el-space"), null, {
1445
+ default: () => [l(X, {
1446
+ icon: "icon-edit",
1447
+ t: "",
1448
+ onModify: () => m({
1449
+ id: b.id
1450
+ })
1451
+ }, null), l(fe, {
1452
+ icon: "icon-securityscan",
1453
+ type: "primary",
1454
+ size: "small",
1455
+ link: !0,
1456
+ disabled: h.value,
1457
+ loading: v.value == b.id && h.value,
1458
+ onClick: () => U(b)
1459
+ }, null)]
1460
+ })
1461
+ }], v = z(0), U = (b) => {
1462
+ v.value = b.id, ee.check({
1463
+ id: b.id
1464
+ }).then((o) => {
1465
+ o.data && (ze(o), i());
1466
+ }).finally(() => {
1467
+ v.value = 0;
1468
+ });
1469
+ };
1470
+ return (b, o) => {
1471
+ const d = s("el-space"), r = s("el-page-header"), R = s("el-card");
1472
+ return S(), T(R, {
1473
+ "body-style": {
1474
+ padding: "12px",
1475
+ height: "450px"
1476
+ },
1477
+ "body-class": "flex-1",
1478
+ class: "config-card"
1479
+ }, {
1480
+ header: t(() => [l(r, {
1481
+ icon: ""
1482
+ }, {
1483
+ title: t(() => [N("span", null, H(e(a)("config.keys.sites")), 1)]),
1484
+ content: t(() => [l(d, {
1485
+ alignment: "center",
1486
+ style: {
1487
+ height: "32px"
1488
+ }
1489
+ }, {
1490
+ default: t(() => [l(e(B), {
1491
+ loading: e(g),
1492
+ onRefresh: e(i)
1493
+ }, null, 8, ["loading", "onRefresh"]), l(e(K), {
1494
+ onOpen: e(p)
1495
+ }, null, 8, ["onOpen"])]),
1496
+ _: 1
1497
+ })]),
1498
+ extra: t(() => [l(e(K), {
1499
+ onOpen: e(V),
1500
+ icon: "icon-compass"
1501
+ }, null, 8, ["onOpen"])]),
1502
+ _: 1
1503
+ })]),
1504
+ default: t(() => [l(e(re), {
1505
+ ref_key: "tableRef",
1506
+ ref: y,
1507
+ size: "small",
1508
+ "row-key": "id",
1509
+ url: e(ee).urls[e(Pe)],
1510
+ "auto-search": "",
1511
+ columns: k
1512
+ }, null, 8, ["url"]), l(Ge, {
1513
+ ref_key: "formModalRef",
1514
+ ref: f,
1515
+ onRefresh: e(i)
1516
+ }, null, 8, ["onRefresh"]), l(al, {
1517
+ ref_key: "domainTableDrawerRef",
1518
+ ref: n
1519
+ }, null, 512), l(ol, {
1520
+ ref_key: "sslLogTableDrawerRef",
1521
+ ref: u
1522
+ }, null, 512)]),
1523
+ _: 1
1524
+ });
1525
+ };
1526
+ }
1527
+ }), Ve = (w, x) => {
1528
+ const g = w.__vccOpts || w;
1529
+ for (const [h, y] of x)
1530
+ g[h] = y;
1531
+ return g;
1532
+ }, nl = /* @__PURE__ */ Ve(tl, [["__scopeId", "data-v-89181e8b"]]), rl = {
1533
+ class: "config"
1534
+ }, dl = /* @__PURE__ */ q({
1535
+ __name: "index",
1536
+ setup(w) {
1537
+ const x = [
1538
+ {
1539
+ id: "sites",
1540
+ icon: "icon-appstore",
1541
+ title: "sites"
1542
+ },
1543
+ {
1544
+ id: "sign-in",
1545
+ icon: "icon-login",
1546
+ title: "sign_in"
1547
+ }
1548
+ // { id: 'storage', icon: 'icon-save-fill', title: 'storage' },
1549
+ // { id: 'excels', icon: 'icon-file-excel-fill', title: 'excels' }
1550
+ ], g = z([]), h = z({}), y = z({}), f = z({}), i = z(null);
1551
+ _e(() => {
1552
+ i.value = document.getElementById("form-content");
1553
+ });
1554
+ const p = () => {
1555
+ const n = {
1556
+ domain: window.location.host
1557
+ };
1558
+ He.list(n).then((V) => {
1559
+ g.value = V.data, m(), _e(() => {
1560
+ });
1561
+ });
1562
+ }, m = () => {
1563
+ if (g.value.length > 0)
1564
+ for (const n of g.value)
1565
+ switch (n.key) {
1566
+ case "App":
1567
+ h.value = n;
1568
+ break;
1569
+ case "SignIn":
1570
+ y.value = n;
1571
+ break;
1572
+ case "Storage":
1573
+ f.value = n;
1574
+ break;
1575
+ }
1576
+ };
1577
+ return Re(() => {
1578
+ p();
1579
+ }), (n, V) => {
1580
+ const u = s("el-text"), c = s("el-space"), k = s("el-anchor-link"), v = s("el-anchor"), U = s("el-card"), b = s("el-col"), o = s("el-row");
1581
+ return S(), j("div", rl, [l(o, {
1582
+ gutter: 12
1583
+ }, {
1584
+ default: t(() => [l(b, {
1585
+ span: 6
1586
+ }, {
1587
+ default: t(() => [l(U, {
1588
+ class: "anchor-card"
1589
+ }, {
1590
+ default: t(() => [l(v, {
1591
+ class: "config-anchor",
1592
+ container: i.value,
1593
+ offset: 0,
1594
+ onClick: Le(() => {
1595
+ }, ["prevent"])
1596
+ }, {
1597
+ default: t(() => [(S(), j(W, null, le(x, (d) => l(k, {
1598
+ key: d.id,
1599
+ href: `#${d.id}`
1600
+ }, {
1601
+ default: t(() => [l(c, null, {
1602
+ default: t(() => [N("span", {
1603
+ class: ge(["icon iconfont", d.icon])
1604
+ }, null, 2), l(u, {
1605
+ class: "title"
1606
+ }, {
1607
+ default: t(() => [J(H(e(a)(`config.keys.${d.title}`)), 1)]),
1608
+ _: 2
1609
+ }, 1024)]),
1610
+ _: 2
1611
+ }, 1024)]),
1612
+ _: 2
1613
+ }, 1032, ["href"])), 64))]),
1614
+ _: 1
1615
+ }, 8, ["container"])]),
1616
+ _: 1
1617
+ })]),
1618
+ _: 1
1619
+ }), l(b, {
1620
+ span: 18,
1621
+ class: "form-content",
1622
+ id: "form-content"
1623
+ }, {
1624
+ default: t(() => [l(nl, {
1625
+ id: "sites"
1626
+ })]),
1627
+ _: 1
1628
+ })]),
1629
+ _: 1
1630
+ })]);
1631
+ };
1632
+ }
1633
+ }), sl = /* @__PURE__ */ Ve(dl, [["__scopeId", "data-v-3c1559f5"]]), ul = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
345
1634
  __proto__: null,
346
- default: Te
347
- }, Symbol.toStringTag, { value: "Module" })), J = ae("translation", {}, "key"), qe = /* @__PURE__ */ D({
1635
+ default: sl
1636
+ }, Symbol.toStringTag, { value: "Module" })), ie = Y("translation", {}, "key"), il = /* @__PURE__ */ q({
348
1637
  __name: "LangFormModal",
349
1638
  emits: ["refresh"],
350
- setup(R, { expose: w, emit: y }) {
351
- const k = y, h = {
1639
+ setup(w, { expose: x, emit: g }) {
1640
+ const h = g, y = {
352
1641
  id: 0,
353
1642
  key: "",
354
1643
  module: "",
355
1644
  language: "",
356
1645
  result: "",
357
1646
  remark: ""
358
- }, _ = {
1647
+ }, f = {
359
1648
  module: [
360
1649
  {
361
1650
  required: !0,
@@ -384,40 +1673,40 @@ const ue = ae("admin", {}, "key"), Z = ae("role", {}, "key"), Ce = /* @__PURE__
384
1673
  trigger: "blur"
385
1674
  }
386
1675
  ]
387
- }, { modal: m, title: d, form: p, formData: n, requesting: b, executing: c, open: i, modify: x, submit: v, closed: C } = G(k, h, J);
388
- return w({
389
- open: i,
390
- modify: x
391
- }), (f, t) => {
392
- const u = s("el-input"), r = s("el-form-item"), A = s("el-radio-button"), U = s("el-radio-group"), S = s("el-form");
393
- return E(), q(e(Q), {
394
- modelValue: e(m),
395
- "onUpdate:modelValue": t[5] || (t[5] = (V) => N(m) ? m.value = V : null),
396
- title: e(d)(),
1676
+ }, { modal: i, title: p, form: m, formData: n, requesting: V, executing: u, open: c, modify: k, submit: v, closed: U } = G(h, y, ie);
1677
+ return x({
1678
+ open: c,
1679
+ modify: k
1680
+ }), (b, o) => {
1681
+ const d = s("el-input"), r = s("el-form-item"), R = s("el-radio-button"), _ = s("el-radio-group"), D = s("el-form");
1682
+ return S(), T(e(Q), {
1683
+ modelValue: e(i),
1684
+ "onUpdate:modelValue": o[5] || (o[5] = (M) => P(i) ? i.value = M : null),
1685
+ title: e(p)(),
397
1686
  width: "600px",
398
- executing: e(c),
399
- onClosed: e(C),
1687
+ executing: e(u),
1688
+ onClosed: e(U),
400
1689
  onSubmit: e(v)
401
1690
  }, {
402
- default: o(() => [
403
- l(S, {
1691
+ default: t(() => [
1692
+ l(D, {
404
1693
  ref_key: "form",
405
- ref: p,
1694
+ ref: m,
406
1695
  model: e(n),
407
1696
  "label-width": "auto",
408
- rules: _,
409
- disabled: e(b) || e(c)
1697
+ rules: f,
1698
+ disabled: e(V) || e(u)
410
1699
  }, {
411
- default: o(() => [
1700
+ default: t(() => [
412
1701
  l(r, {
413
1702
  label: e(a)("language.module"),
414
1703
  prop: "module",
415
1704
  required: ""
416
1705
  }, {
417
- default: o(() => [
418
- l(u, {
1706
+ default: t(() => [
1707
+ l(d, {
419
1708
  modelValue: e(n).module,
420
- "onUpdate:modelValue": t[0] || (t[0] = (V) => e(n).module = V),
1709
+ "onUpdate:modelValue": o[0] || (o[0] = (M) => e(n).module = M),
421
1710
  placeholder: e(a)("language.placeholder.module")
422
1711
  }, null, 8, ["modelValue", "placeholder"])
423
1712
  ]),
@@ -428,10 +1717,10 @@ const ue = ae("admin", {}, "key"), Z = ae("role", {}, "key"), Ce = /* @__PURE__
428
1717
  prop: "key",
429
1718
  required: ""
430
1719
  }, {
431
- default: o(() => [
432
- l(u, {
1720
+ default: t(() => [
1721
+ l(d, {
433
1722
  modelValue: e(n).key,
434
- "onUpdate:modelValue": t[1] || (t[1] = (V) => e(n).key = V),
1723
+ "onUpdate:modelValue": o[1] || (o[1] = (M) => e(n).key = M),
435
1724
  placeholder: e(a)("language.placeholder.key")
436
1725
  }, null, 8, ["modelValue", "placeholder"])
437
1726
  ]),
@@ -442,22 +1731,22 @@ const ue = ae("admin", {}, "key"), Z = ae("role", {}, "key"), Ce = /* @__PURE__
442
1731
  prop: "language",
443
1732
  required: ""
444
1733
  }, {
445
- default: o(() => [
446
- l(U, {
1734
+ default: t(() => [
1735
+ l(_, {
447
1736
  modelValue: e(n).language,
448
- "onUpdate:modelValue": t[2] || (t[2] = (V) => e(n).language = V)
1737
+ "onUpdate:modelValue": o[2] || (o[2] = (M) => e(n).language = M)
449
1738
  }, {
450
- default: o(() => [
451
- l(A, { label: "zh-CN" }, {
452
- default: o(() => t[6] || (t[6] = [
453
- I("zh-CN")
1739
+ default: t(() => [
1740
+ l(R, { label: "zh-CN" }, {
1741
+ default: t(() => o[6] || (o[6] = [
1742
+ J("zh-CN")
454
1743
  ])),
455
1744
  _: 1,
456
1745
  __: [6]
457
1746
  }),
458
- l(A, { label: "en-US" }, {
459
- default: o(() => t[7] || (t[7] = [
460
- I("en-US")
1747
+ l(R, { label: "en-US" }, {
1748
+ default: t(() => o[7] || (o[7] = [
1749
+ J("en-US")
461
1750
  ])),
462
1751
  _: 1,
463
1752
  __: [7]
@@ -473,10 +1762,10 @@ const ue = ae("admin", {}, "key"), Z = ae("role", {}, "key"), Ce = /* @__PURE__
473
1762
  prop: "result",
474
1763
  required: ""
475
1764
  }, {
476
- default: o(() => [
477
- l(u, {
1765
+ default: t(() => [
1766
+ l(d, {
478
1767
  modelValue: e(n).result,
479
- "onUpdate:modelValue": t[3] || (t[3] = (V) => e(n).result = V),
1768
+ "onUpdate:modelValue": o[3] || (o[3] = (M) => e(n).result = M),
480
1769
  placeholder: e(a)("language.placeholder.result")
481
1770
  }, null, 8, ["modelValue", "placeholder"])
482
1771
  ]),
@@ -486,10 +1775,10 @@ const ue = ae("admin", {}, "key"), Z = ae("role", {}, "key"), Ce = /* @__PURE__
486
1775
  label: e(a)("base.remark"),
487
1776
  prop: "remark"
488
1777
  }, {
489
- default: o(() => [
490
- l(u, {
1778
+ default: t(() => [
1779
+ l(d, {
491
1780
  modelValue: e(n).remark,
492
- "onUpdate:modelValue": t[4] || (t[4] = (V) => e(n).remark = V),
1781
+ "onUpdate:modelValue": o[4] || (o[4] = (M) => e(n).remark = M),
493
1782
  placeholder: e(a)("base.placeholder.input")
494
1783
  }, null, 8, ["modelValue", "placeholder"])
495
1784
  ]),
@@ -503,13 +1792,13 @@ const ue = ae("admin", {}, "key"), Z = ae("role", {}, "key"), Ce = /* @__PURE__
503
1792
  }, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
504
1793
  };
505
1794
  }
506
- }), De = /* @__PURE__ */ D({
1795
+ }), pl = /* @__PURE__ */ q({
507
1796
  __name: "index",
508
- setup(R) {
509
- const w = {
1797
+ setup(w) {
1798
+ const x = {
510
1799
  keyword: "",
511
1800
  status: 0
512
- }, y = [{
1801
+ }, g = [{
513
1802
  label: a("base.module"),
514
1803
  prop: "module",
515
1804
  width: 120
@@ -533,7 +1822,7 @@ const ue = ae("admin", {}, "key"), Z = ae("role", {}, "key"), Ce = /* @__PURE__
533
1822
  props: {
534
1823
  activeValue: 1,
535
1824
  inactiveValue: 2,
536
- api: J.urls[be],
1825
+ api: ie.urls[Ue],
537
1826
  refresh: !0
538
1827
  }
539
1828
  }, {
@@ -554,109 +1843,109 @@ const ue = ae("admin", {}, "key"), Z = ae("role", {}, "key"), Ce = /* @__PURE__
554
1843
  width: 80,
555
1844
  align: "center",
556
1845
  render: ({
557
- row: c
558
- }) => l(oe, {
559
- onModify: () => b({
560
- id: c.id
1846
+ row: u
1847
+ }) => l(X, {
1848
+ onModify: () => V({
1849
+ id: u.id
561
1850
  })
562
1851
  }, null)
563
1852
  }], {
564
- requesting: k
565
- } = F(J), {
566
- tableRef: h,
567
- formModalRef: _,
568
- keyword: m,
569
- search: d,
570
- reset: p,
1853
+ requesting: h
1854
+ } = F(ie), {
1855
+ tableRef: y,
1856
+ formModalRef: f,
1857
+ keyword: i,
1858
+ search: p,
1859
+ reset: m,
571
1860
  openFormModal: n,
572
- editFormModal: b
573
- } = P(w);
574
- return (c, i) => {
575
- const x = s("el-input"), v = s("el-radio-button"), C = s("el-radio-group"), f = s("el-space"), t = s("el-page-header"), u = s("el-card");
576
- return E(), q(u, {
1861
+ editFormModal: V
1862
+ } = $(x);
1863
+ return (u, c) => {
1864
+ const k = s("el-input"), v = s("el-radio-button"), U = s("el-radio-group"), b = s("el-space"), o = s("el-page-header"), d = s("el-card");
1865
+ return S(), T(d, {
577
1866
  class: "basic-card flex-full",
578
1867
  "body-class": "flex-1"
579
1868
  }, {
580
- header: o(() => [l(t, {
1869
+ header: t(() => [l(o, {
581
1870
  class: "basic-header"
582
1871
  }, {
583
- title: o(() => [l(e(B), {
584
- loading: e(k),
585
- onRefresh: e(p)
586
- }, null, 8, ["loading", "onRefresh"]), l(e(re), {
1872
+ title: t(() => [l(e(B), {
1873
+ loading: e(h),
1874
+ onRefresh: e(m)
1875
+ }, null, 8, ["loading", "onRefresh"]), l(e(K), {
587
1876
  onOpen: e(n)
588
1877
  }, null, 8, ["onOpen"])]),
589
- content: o(() => [l(f, {
1878
+ content: t(() => [l(b, {
590
1879
  class: "search-bar"
591
1880
  }, {
592
- default: o(() => [l(x, {
1881
+ default: t(() => [l(k, {
593
1882
  class: "basic-search-input",
594
- modelValue: e(m).keyword,
595
- "onUpdate:modelValue": i[0] || (i[0] = (r) => e(m).keyword = r),
1883
+ modelValue: e(i).keyword,
1884
+ "onUpdate:modelValue": c[0] || (c[0] = (r) => e(i).keyword = r),
596
1885
  placeholder: e(a)("base.placeholder.keyword"),
597
1886
  clearable: "",
598
- onKeyup: i[1] || (i[1] = le((r) => e(d)(), ["enter"])),
599
- onClear: i[2] || (i[2] = (r) => e(d)())
600
- }, null, 8, ["modelValue", "placeholder"]), l(C, {
601
- modelValue: e(m).status,
602
- "onUpdate:modelValue": i[3] || (i[3] = (r) => e(m).status = r),
603
- onChange: i[4] || (i[4] = (r) => e(d)())
1887
+ onKeyup: c[1] || (c[1] = me((r) => e(p)(), ["enter"])),
1888
+ onClear: c[2] || (c[2] = (r) => e(p)())
1889
+ }, null, 8, ["modelValue", "placeholder"]), l(U, {
1890
+ modelValue: e(i).status,
1891
+ "onUpdate:modelValue": c[3] || (c[3] = (r) => e(i).status = r),
1892
+ onChange: c[4] || (c[4] = (r) => e(p)())
604
1893
  }, {
605
- default: o(() => [(E(), K(z, null, W([0, 1, 2], (r) => l(v, {
1894
+ default: t(() => [(S(), j(W, null, le([0, 1, 2], (r) => l(v, {
606
1895
  key: r,
607
1896
  label: e(a)(`base.DISABLE_ENABLE.${r}`),
608
1897
  value: r
609
1898
  }, null, 8, ["label", "value"])), 64))]),
610
1899
  _: 1
611
- }, 8, ["modelValue"]), l(e(j), {
612
- disabled: e(k),
613
- onSearch: i[5] || (i[5] = (r) => e(d)())
1900
+ }, 8, ["modelValue"]), l(e(Z), {
1901
+ disabled: e(h),
1902
+ onSearch: c[5] || (c[5] = (r) => e(p)())
614
1903
  }, null, 8, ["disabled"])]),
615
1904
  _: 1
616
1905
  })]),
617
1906
  _: 1
618
1907
  })]),
619
- default: o(() => [l(e(te), {
1908
+ default: t(() => [l(e(se), {
620
1909
  ref_key: "tableRef",
621
- ref: h,
1910
+ ref: y,
622
1911
  size: "small",
623
- columns: y,
624
- url: e(J).urls[e(ne)],
625
- "search-param": e(m),
1912
+ columns: g,
1913
+ url: e(ie).urls[e(ce)],
1914
+ "search-param": e(i),
626
1915
  autoSearch: ""
627
- }, null, 8, ["url", "search-param"]), l(qe, {
1916
+ }, null, 8, ["url", "search-param"]), l(il, {
628
1917
  ref_key: "formModalRef",
629
- ref: _,
630
- onRefresh: e(p)
1918
+ ref: f,
1919
+ onRefresh: e(m)
631
1920
  }, null, 8, ["onRefresh"])]),
632
1921
  _: 1
633
1922
  });
634
1923
  };
635
1924
  }
636
- }), $e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1925
+ }), ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
637
1926
  __proto__: null,
638
- default: De
639
- }, Symbol.toStringTag, { value: "Module" })), ie = {
1927
+ default: pl
1928
+ }, Symbol.toStringTag, { value: "Module" })), ve = {
640
1929
  tops: "tops",
641
1930
  rules: "rules"
642
- }, $ = fe.createAutoApi("menu", ie, "id", Object.keys(ie), [], ["TOP_MENU_LIST", "MENU_LIST"]), he = ae("rule", {}, "key");
1931
+ }, I = Ae.createAutoApi("menu", ve, "id", Object.keys(ve), [], ["TOP_MENU_LIST", "MENU_LIST"]), Se = Y("rule", {}, "key");
643
1932
  /*! Element Plus Icons Vue v2.3.1 */
644
- var Fe = /* @__PURE__ */ D({
1933
+ var cl = /* @__PURE__ */ q({
645
1934
  name: "Key",
646
1935
  __name: "key",
647
- setup(R) {
648
- return (w, y) => (E(), K("svg", {
1936
+ setup(w) {
1937
+ return (x, g) => (S(), j("svg", {
649
1938
  xmlns: "http://www.w3.org/2000/svg",
650
1939
  viewBox: "0 0 1024 1024"
651
1940
  }, [
652
- Y("path", {
1941
+ N("path", {
653
1942
  fill: "currentColor",
654
1943
  d: "M448 456.064V96a32 32 0 0 1 32-32.064L672 64a32 32 0 0 1 0 64H512v128h160a32 32 0 0 1 0 64H512v128a256 256 0 1 1-64 8.064M512 896a192 192 0 1 0 0-384 192 192 0 0 0 0 384"
655
1944
  })
656
1945
  ]));
657
1946
  }
658
- }), ze = Fe;
659
- const Ke = /* @__PURE__ */ D({
1947
+ }), _l = cl;
1948
+ const fl = /* @__PURE__ */ q({
660
1949
  __name: "TopMenuSelect",
661
1950
  props: {
662
1951
  modelValue: {
@@ -669,50 +1958,50 @@ const Ke = /* @__PURE__ */ D({
669
1958
  }
670
1959
  },
671
1960
  emits: ["update:modelValue", "change"],
672
- setup(R, {
673
- emit: w
1961
+ setup(w, {
1962
+ emit: x
674
1963
  }) {
675
- const y = w, k = R, {
676
- requesting: h
677
- } = F($), {
678
- value: _,
679
- options: m,
680
- change: d,
681
- refresh: p,
1964
+ const g = x, h = w, {
1965
+ requesting: y
1966
+ } = F(I), {
1967
+ value: f,
1968
+ options: i,
1969
+ change: p,
1970
+ refresh: m,
682
1971
  filterOptions: n
683
- } = de(se(k, "modelValue"), y, {
1972
+ } = ne(te(h, "modelValue"), g, {
684
1973
  key: "TOP_MENU_LIST",
685
- api: $,
686
- url: $.urls.tops,
1974
+ api: I,
1975
+ url: I.urls.tops,
687
1976
  isArray: !0
688
1977
  });
689
- return (b, c) => {
690
- const i = s("el-select-v2");
691
- return E(), q(i, {
1978
+ return (V, u) => {
1979
+ const c = s("el-select-v2");
1980
+ return S(), T(c, {
692
1981
  class: "w-full",
693
- modelValue: e(_),
694
- "onUpdate:modelValue": c[1] || (c[1] = (x) => N(_) ? _.value = x : null),
695
- options: e(m),
696
- multiple: R.multiple,
697
- disabled: e(h),
1982
+ modelValue: e(f),
1983
+ "onUpdate:modelValue": u[1] || (u[1] = (k) => P(f) ? f.value = k : null),
1984
+ options: e(i),
1985
+ multiple: w.multiple,
1986
+ disabled: e(y),
698
1987
  placeholder: e(a)("base.placeholder.select"),
699
1988
  filterable: "",
700
1989
  filterOptions: e(n),
701
- onChange: e(d)
1990
+ onChange: e(p)
702
1991
  }, {
703
- prefix: o(() => [l(e(ge), {
704
- loading: e(h),
705
- onRefresh: c[0] || (c[0] = (x) => e(p)(!0))
1992
+ prefix: t(() => [l(e(ue), {
1993
+ loading: e(y),
1994
+ onRefresh: u[0] || (u[0] = (k) => e(m)(!0))
706
1995
  }, null, 8, ["loading"])]),
707
1996
  _: 1
708
1997
  }, 8, ["modelValue", "options", "multiple", "disabled", "placeholder", "filterOptions", "onChange"]);
709
1998
  };
710
1999
  }
711
- }), Pe = /* @__PURE__ */ D({
2000
+ }), bl = /* @__PURE__ */ q({
712
2001
  __name: "MenuFormModal",
713
2002
  emits: ["refresh"],
714
- setup(R, { expose: w, emit: y }) {
715
- const k = y, h = {
2003
+ setup(w, { expose: x, emit: g }) {
2004
+ const h = g, y = {
716
2005
  id: 0,
717
2006
  menu_id: 0,
718
2007
  module: "",
@@ -733,7 +2022,7 @@ const Ke = /* @__PURE__ */ D({
733
2022
  keep_alive: !1,
734
2023
  link: !1
735
2024
  }
736
- }, _ = {
2025
+ }, f = {
737
2026
  sort: [
738
2027
  {
739
2028
  required: !0,
@@ -777,47 +2066,47 @@ const Ke = /* @__PURE__ */ D({
777
2066
  trigger: "blur"
778
2067
  }
779
2068
  ]
780
- }, { modal: m, title: d, form: p, formData: n, requesting: b, executing: c, open: i, modify: x, submit: v, closed: C } = G(k, h, $);
781
- return w({
782
- open: i,
783
- modify: x
784
- }), (f, t) => {
785
- const u = s("el-form-item"), r = s("el-col"), A = s("el-input-number"), U = s("el-row"), S = s("el-input"), V = s("el-switch"), M = s("el-form");
786
- return E(), q(e(Q), {
787
- modelValue: e(m),
788
- "onUpdate:modelValue": t[17] || (t[17] = (g) => N(m) ? m.value = g : null),
789
- title: e(d)(),
2069
+ }, { modal: i, title: p, form: m, formData: n, requesting: V, executing: u, open: c, modify: k, submit: v, closed: U } = G(h, y, I);
2070
+ return x({
2071
+ open: c,
2072
+ modify: k
2073
+ }), (b, o) => {
2074
+ const d = s("el-form-item"), r = s("el-col"), R = s("el-input-number"), _ = s("el-row"), D = s("el-input"), M = s("el-switch"), L = s("el-form");
2075
+ return S(), T(e(Q), {
2076
+ modelValue: e(i),
2077
+ "onUpdate:modelValue": o[17] || (o[17] = (A) => P(i) ? i.value = A : null),
2078
+ title: e(p)(),
790
2079
  width: "1000px",
791
- executing: e(c),
792
- onClosed: e(C),
2080
+ executing: e(u),
2081
+ onClosed: e(U),
793
2082
  onSubmit: e(v)
794
2083
  }, {
795
- default: o(() => [
796
- l(M, {
2084
+ default: t(() => [
2085
+ l(L, {
797
2086
  ref_key: "form",
798
- ref: p,
2087
+ ref: m,
799
2088
  model: e(n),
800
2089
  "label-width": "auto",
801
- rules: _,
802
- disabled: e(b) || e(c)
2090
+ rules: f,
2091
+ disabled: e(V) || e(u)
803
2092
  }, {
804
- default: o(() => [
805
- l(U, { gutter: 20 }, {
806
- default: o(() => [
2093
+ default: t(() => [
2094
+ l(_, { gutter: 20 }, {
2095
+ default: t(() => [
807
2096
  l(r, { span: 12 }, {
808
- default: o(() => [
809
- l(U, { gutter: 10 }, {
810
- default: o(() => [
2097
+ default: t(() => [
2098
+ l(_, { gutter: 10 }, {
2099
+ default: t(() => [
811
2100
  l(r, { span: 12 }, {
812
- default: o(() => [
813
- l(u, {
2101
+ default: t(() => [
2102
+ l(d, {
814
2103
  label: e(a)("base.parent"),
815
2104
  prop: "menu_id"
816
2105
  }, {
817
- default: o(() => [
818
- l(Ke, {
2106
+ default: t(() => [
2107
+ l(fl, {
819
2108
  modelValue: e(n).menu_id,
820
- "onUpdate:modelValue": t[0] || (t[0] = (g) => e(n).menu_id = g)
2109
+ "onUpdate:modelValue": o[0] || (o[0] = (A) => e(n).menu_id = A)
821
2110
  }, null, 8, ["modelValue"])
822
2111
  ]),
823
2112
  _: 1
@@ -826,16 +2115,16 @@ const Ke = /* @__PURE__ */ D({
826
2115
  _: 1
827
2116
  }),
828
2117
  l(r, { span: 12 }, {
829
- default: o(() => [
830
- l(u, {
2118
+ default: t(() => [
2119
+ l(d, {
831
2120
  label: e(a)("base.sort"),
832
2121
  prop: "sort"
833
2122
  }, {
834
- default: o(() => [
835
- l(A, {
2123
+ default: t(() => [
2124
+ l(R, {
836
2125
  class: "w-full",
837
2126
  modelValue: e(n).sort,
838
- "onUpdate:modelValue": t[1] || (t[1] = (g) => e(n).sort = g),
2127
+ "onUpdate:modelValue": o[1] || (o[1] = (A) => e(n).sort = A),
839
2128
  min: 0,
840
2129
  placeholder: e(a)("base.placeholder.input")
841
2130
  }, null, 8, ["modelValue", "placeholder"])
@@ -848,79 +2137,79 @@ const Ke = /* @__PURE__ */ D({
848
2137
  ]),
849
2138
  _: 1
850
2139
  }),
851
- l(u, {
2140
+ l(d, {
852
2141
  label: e(a)("menu.module"),
853
2142
  prop: "module"
854
2143
  }, {
855
- default: o(() => [
856
- l(S, {
2144
+ default: t(() => [
2145
+ l(D, {
857
2146
  modelValue: e(n).module,
858
- "onUpdate:modelValue": t[2] || (t[2] = (g) => e(n).module = g),
2147
+ "onUpdate:modelValue": o[2] || (o[2] = (A) => e(n).module = A),
859
2148
  placeholder: e(a)("base.placeholder.input")
860
2149
  }, null, 8, ["modelValue", "placeholder"])
861
2150
  ]),
862
2151
  _: 1
863
2152
  }, 8, ["label"]),
864
- l(u, {
2153
+ l(d, {
865
2154
  label: e(a)("base.name"),
866
2155
  prop: "name"
867
2156
  }, {
868
- default: o(() => [
869
- l(S, {
2157
+ default: t(() => [
2158
+ l(D, {
870
2159
  modelValue: e(n).name,
871
- "onUpdate:modelValue": t[3] || (t[3] = (g) => e(n).name = g),
2160
+ "onUpdate:modelValue": o[3] || (o[3] = (A) => e(n).name = A),
872
2161
  placeholder: e(a)("base.placeholder.input")
873
2162
  }, null, 8, ["modelValue", "placeholder"])
874
2163
  ]),
875
2164
  _: 1
876
2165
  }, 8, ["label"]),
877
- l(u, {
2166
+ l(d, {
878
2167
  label: e(a)("base.en_name"),
879
2168
  prop: "en_name"
880
2169
  }, {
881
- default: o(() => [
882
- l(S, {
2170
+ default: t(() => [
2171
+ l(D, {
883
2172
  modelValue: e(n).en_name,
884
- "onUpdate:modelValue": t[4] || (t[4] = (g) => e(n).en_name = g),
2173
+ "onUpdate:modelValue": o[4] || (o[4] = (A) => e(n).en_name = A),
885
2174
  placeholder: e(a)("base.placeholder.input")
886
2175
  }, null, 8, ["modelValue", "placeholder"])
887
2176
  ]),
888
2177
  _: 1
889
2178
  }, 8, ["label"]),
890
- l(u, {
2179
+ l(d, {
891
2180
  label: e(a)("menu.component"),
892
2181
  prop: "component"
893
2182
  }, {
894
- default: o(() => [
895
- l(S, {
2183
+ default: t(() => [
2184
+ l(D, {
896
2185
  modelValue: e(n).component,
897
- "onUpdate:modelValue": t[5] || (t[5] = (g) => e(n).component = g),
2186
+ "onUpdate:modelValue": o[5] || (o[5] = (A) => e(n).component = A),
898
2187
  placeholder: e(a)("base.placeholder.input")
899
2188
  }, null, 8, ["modelValue", "placeholder"])
900
2189
  ]),
901
2190
  _: 1
902
2191
  }, 8, ["label"]),
903
- l(u, {
2192
+ l(d, {
904
2193
  label: e(a)("base.url"),
905
2194
  prop: "url"
906
2195
  }, {
907
- default: o(() => [
908
- l(S, {
2196
+ default: t(() => [
2197
+ l(D, {
909
2198
  modelValue: e(n).url,
910
- "onUpdate:modelValue": t[6] || (t[6] = (g) => e(n).url = g),
2199
+ "onUpdate:modelValue": o[6] || (o[6] = (A) => e(n).url = A),
911
2200
  placeholder: e(a)("base.placeholder.input")
912
2201
  }, null, 8, ["modelValue", "placeholder"])
913
2202
  ]),
914
2203
  _: 1
915
2204
  }, 8, ["label"]),
916
- l(u, {
2205
+ l(d, {
917
2206
  label: e(a)("base.remark"),
918
2207
  prop: "remark"
919
2208
  }, {
920
- default: o(() => [
921
- l(S, {
2209
+ default: t(() => [
2210
+ l(D, {
922
2211
  modelValue: e(n).remark,
923
- "onUpdate:modelValue": t[7] || (t[7] = (g) => e(n).remark = g),
2212
+ "onUpdate:modelValue": o[7] || (o[7] = (A) => e(n).remark = A),
924
2213
  placeholder: e(a)("base.placeholder.input")
925
2214
  }, null, 8, ["modelValue", "placeholder"])
926
2215
  ]),
@@ -930,23 +2219,23 @@ const Ke = /* @__PURE__ */ D({
930
2219
  _: 1
931
2220
  }),
932
2221
  l(r, { span: 12 }, {
933
- default: o(() => [
934
- l(u, {
2222
+ default: t(() => [
2223
+ l(d, {
935
2224
  label: e(a)("base.icon"),
936
2225
  prop: "icon"
937
2226
  }, {
938
- default: o(() => [
939
- l(S, {
2227
+ default: t(() => [
2228
+ l(D, {
940
2229
  modelValue: e(n).icon,
941
- "onUpdate:modelValue": t[8] || (t[8] = (g) => e(n).icon = g),
2230
+ "onUpdate:modelValue": o[8] || (o[8] = (A) => e(n).icon = A),
942
2231
  placeholder: e(a)("base.placeholder.input"),
943
- onInput: t[9] || (t[9] = (g) => {
944
- e(n).meta.icon = g;
2232
+ onInput: o[9] || (o[9] = (A) => {
2233
+ e(n).meta.icon = A;
945
2234
  })
946
2235
  }, {
947
- prepend: o(() => [
948
- Y("span", {
949
- class: _e("iconfont " + e(n).icon)
2236
+ prepend: t(() => [
2237
+ N("span", {
2238
+ class: ge("iconfont " + e(n).icon)
950
2239
  }, null, 2)
951
2240
  ]),
952
2241
  _: 1
@@ -954,44 +2243,44 @@ const Ke = /* @__PURE__ */ D({
954
2243
  ]),
955
2244
  _: 1
956
2245
  }, 8, ["label"]),
957
- l(u, {
2246
+ l(d, {
958
2247
  label: e(a)("base.title"),
959
2248
  prop: "meta.title"
960
2249
  }, {
961
- default: o(() => [
962
- l(S, {
2250
+ default: t(() => [
2251
+ l(D, {
963
2252
  modelValue: e(n).meta.title,
964
- "onUpdate:modelValue": t[10] || (t[10] = (g) => e(n).meta.title = g),
2253
+ "onUpdate:modelValue": o[10] || (o[10] = (A) => e(n).meta.title = A),
965
2254
  placeholder: e(a)("base.placeholder.input")
966
2255
  }, null, 8, ["modelValue", "placeholder"])
967
2256
  ]),
968
2257
  _: 1
969
2258
  }, 8, ["label"]),
970
- l(u, {
2259
+ l(d, {
971
2260
  label: e(a)("menu.active"),
972
2261
  prop: "meta.active"
973
2262
  }, {
974
- default: o(() => [
975
- l(S, {
2263
+ default: t(() => [
2264
+ l(D, {
976
2265
  modelValue: e(n).meta.active,
977
- "onUpdate:modelValue": t[11] || (t[11] = (g) => e(n).meta.active = g),
2266
+ "onUpdate:modelValue": o[11] || (o[11] = (A) => e(n).meta.active = A),
978
2267
  placeholder: e(a)("base.placeholder.input")
979
2268
  }, null, 8, ["modelValue", "placeholder"])
980
2269
  ]),
981
2270
  _: 1
982
2271
  }, 8, ["label"]),
983
- l(U, null, {
984
- default: o(() => [
2272
+ l(_, null, {
2273
+ default: t(() => [
985
2274
  l(r, { span: 12 }, {
986
- default: o(() => [
987
- l(u, {
2275
+ default: t(() => [
2276
+ l(d, {
988
2277
  label: e(a)("menu.link"),
989
2278
  prop: "meta.link"
990
2279
  }, {
991
- default: o(() => [
992
- l(V, {
2280
+ default: t(() => [
2281
+ l(M, {
993
2282
  modelValue: e(n).meta.link,
994
- "onUpdate:modelValue": t[12] || (t[12] = (g) => e(n).meta.link = g)
2283
+ "onUpdate:modelValue": o[12] || (o[12] = (A) => e(n).meta.link = A)
995
2284
  }, null, 8, ["modelValue"])
996
2285
  ]),
997
2286
  _: 1
@@ -1000,15 +2289,15 @@ const Ke = /* @__PURE__ */ D({
1000
2289
  _: 1
1001
2290
  }),
1002
2291
  l(r, { span: 12 }, {
1003
- default: o(() => [
1004
- l(u, {
2292
+ default: t(() => [
2293
+ l(d, {
1005
2294
  label: e(a)("menu.keep_alive"),
1006
2295
  prop: "meta.keep_alive"
1007
2296
  }, {
1008
- default: o(() => [
1009
- l(V, {
2297
+ default: t(() => [
2298
+ l(M, {
1010
2299
  modelValue: e(n).meta.keep_alive,
1011
- "onUpdate:modelValue": t[13] || (t[13] = (g) => e(n).meta.keep_alive = g)
2300
+ "onUpdate:modelValue": o[13] || (o[13] = (A) => e(n).meta.keep_alive = A)
1012
2301
  }, null, 8, ["modelValue"])
1013
2302
  ]),
1014
2303
  _: 1
@@ -1017,15 +2306,15 @@ const Ke = /* @__PURE__ */ D({
1017
2306
  _: 1
1018
2307
  }),
1019
2308
  l(r, { span: 12 }, {
1020
- default: o(() => [
1021
- l(u, {
2309
+ default: t(() => [
2310
+ l(d, {
1022
2311
  label: e(a)("menu.hide"),
1023
2312
  prop: "meta.hide"
1024
2313
  }, {
1025
- default: o(() => [
1026
- l(V, {
2314
+ default: t(() => [
2315
+ l(M, {
1027
2316
  modelValue: e(n).meta.hide,
1028
- "onUpdate:modelValue": t[14] || (t[14] = (g) => e(n).meta.hide = g)
2317
+ "onUpdate:modelValue": o[14] || (o[14] = (A) => e(n).meta.hide = A)
1029
2318
  }, null, 8, ["modelValue"])
1030
2319
  ]),
1031
2320
  _: 1
@@ -1034,15 +2323,15 @@ const Ke = /* @__PURE__ */ D({
1034
2323
  _: 1
1035
2324
  }),
1036
2325
  l(r, { span: 12 }, {
1037
- default: o(() => [
1038
- l(u, {
2326
+ default: t(() => [
2327
+ l(d, {
1039
2328
  label: e(a)("menu.full"),
1040
2329
  prop: "meta.full"
1041
2330
  }, {
1042
- default: o(() => [
1043
- l(V, {
2331
+ default: t(() => [
2332
+ l(M, {
1044
2333
  modelValue: e(n).meta.full,
1045
- "onUpdate:modelValue": t[15] || (t[15] = (g) => e(n).meta.full = g)
2334
+ "onUpdate:modelValue": o[15] || (o[15] = (A) => e(n).meta.full = A)
1046
2335
  }, null, 8, ["modelValue"])
1047
2336
  ]),
1048
2337
  _: 1
@@ -1051,15 +2340,15 @@ const Ke = /* @__PURE__ */ D({
1051
2340
  _: 1
1052
2341
  }),
1053
2342
  l(r, { span: 12 }, {
1054
- default: o(() => [
1055
- l(u, {
2343
+ default: t(() => [
2344
+ l(d, {
1056
2345
  label: e(a)("menu.affix"),
1057
2346
  prop: "meta.affix"
1058
2347
  }, {
1059
- default: o(() => [
1060
- l(V, {
2348
+ default: t(() => [
2349
+ l(M, {
1061
2350
  modelValue: e(n).meta.affix,
1062
- "onUpdate:modelValue": t[16] || (t[16] = (g) => e(n).meta.affix = g)
2351
+ "onUpdate:modelValue": o[16] || (o[16] = (A) => e(n).meta.affix = A)
1063
2352
  }, null, 8, ["modelValue"])
1064
2353
  ]),
1065
2354
  _: 1
@@ -1084,7 +2373,7 @@ const Ke = /* @__PURE__ */ D({
1084
2373
  }, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
1085
2374
  };
1086
2375
  }
1087
- }), Be = /* @__PURE__ */ D({
2376
+ }), gl = /* @__PURE__ */ q({
1088
2377
  __name: "MenuSelect",
1089
2378
  props: {
1090
2379
  modelValue: {
@@ -1097,57 +2386,57 @@ const Ke = /* @__PURE__ */ D({
1097
2386
  }
1098
2387
  },
1099
2388
  emits: ["update:modelValue", "change"],
1100
- setup(R, {
1101
- emit: w
2389
+ setup(w, {
2390
+ emit: x
1102
2391
  }) {
1103
- const y = w, k = R, {
1104
- requesting: h
1105
- } = F($), {
1106
- value: _,
1107
- options: m,
1108
- change: d,
1109
- refresh: p,
2392
+ const g = x, h = w, {
2393
+ requesting: y
2394
+ } = F(I), {
2395
+ value: f,
2396
+ options: i,
2397
+ change: p,
2398
+ refresh: m,
1110
2399
  filterOptions: n
1111
- } = de(se(k, "modelValue"), y, {
2400
+ } = ne(te(h, "modelValue"), g, {
1112
2401
  key: "MENU_LIST",
1113
- api: $,
2402
+ api: I,
1114
2403
  isArray: !0
1115
2404
  });
1116
- return (b, c) => {
1117
- const i = s("el-space"), x = s("el-select-v2");
1118
- return E(), q(x, {
2405
+ return (V, u) => {
2406
+ const c = s("el-space"), k = s("el-select-v2");
2407
+ return S(), T(k, {
1119
2408
  class: "w-full",
1120
- modelValue: e(_),
1121
- "onUpdate:modelValue": c[1] || (c[1] = (v) => N(_) ? _.value = v : null),
1122
- options: e(m),
1123
- multiple: R.multiple,
1124
- disabled: e(h),
2409
+ modelValue: e(f),
2410
+ "onUpdate:modelValue": u[1] || (u[1] = (v) => P(f) ? f.value = v : null),
2411
+ options: e(i),
2412
+ multiple: w.multiple,
2413
+ disabled: e(y),
1125
2414
  placeholder: e(a)("base.placeholder.select"),
1126
2415
  filterable: "",
1127
2416
  filterOptions: e(n),
1128
- onChange: e(d)
2417
+ onChange: e(p)
1129
2418
  }, {
1130
- prefix: o(() => [l(e(ge), {
1131
- loading: e(h),
1132
- onRefresh: c[0] || (c[0] = (v) => e(p)(!0))
2419
+ prefix: t(() => [l(e(ue), {
2420
+ loading: e(y),
2421
+ onRefresh: u[0] || (u[0] = (v) => e(m)(!0))
1133
2422
  }, null, 8, ["loading"])]),
1134
- default: o(({
2423
+ default: t(({
1135
2424
  item: v
1136
- }) => [l(i, null, {
1137
- default: o(() => [Y("i", {
1138
- class: _e(`icon iconfont ${v.icon}`)
1139
- }, null, 2), Y("span", null, X(v.translate), 1)]),
2425
+ }) => [l(c, null, {
2426
+ default: t(() => [N("i", {
2427
+ class: ge(`icon iconfont ${v.icon}`)
2428
+ }, null, 2), N("span", null, H(v.translate), 1)]),
1140
2429
  _: 2
1141
2430
  }, 1024)]),
1142
2431
  _: 1
1143
2432
  }, 8, ["modelValue", "options", "multiple", "disabled", "placeholder", "filterOptions", "onChange"]);
1144
2433
  };
1145
2434
  }
1146
- }), Ne = /* @__PURE__ */ D({
2435
+ }), hl = /* @__PURE__ */ q({
1147
2436
  __name: "MenuRuleFormModal",
1148
2437
  emits: ["refresh"],
1149
- setup(R, { expose: w, emit: y }) {
1150
- const k = y, h = {
2438
+ setup(w, { expose: x, emit: g }) {
2439
+ const h = g, y = {
1151
2440
  key: "",
1152
2441
  menu_id: 0,
1153
2442
  sort: 0,
@@ -1155,7 +2444,7 @@ const Ke = /* @__PURE__ */ D({
1155
2444
  en_name: "",
1156
2445
  urls: "",
1157
2446
  remark: ""
1158
- }, _ = {
2447
+ }, f = {
1159
2448
  menu_id: [
1160
2449
  {
1161
2450
  required: !0,
@@ -1189,100 +2478,100 @@ const Ke = /* @__PURE__ */ D({
1189
2478
  urls: [
1190
2479
  {
1191
2480
  required: !0,
1192
- message: a("base.placeholder.input base.rules"),
2481
+ message: a("base.placeholder.input menu.rules"),
1193
2482
  trigger: "blur"
1194
2483
  }
1195
2484
  ]
1196
- }, { modal: m, title: d, form: p, formData: n, requesting: b, executing: c, open: i, modify: x, submit: v, closed: C } = G(k, h, he);
1197
- return w({
1198
- open: i,
1199
- modify: x
1200
- }), (f, t) => {
1201
- const u = s("el-form-item"), r = s("el-input-number"), A = s("el-input"), U = s("el-col"), S = s("el-row"), V = s("el-form");
1202
- return E(), q(e(Q), {
1203
- modelValue: e(m),
1204
- "onUpdate:modelValue": t[6] || (t[6] = (M) => N(m) ? m.value = M : null),
1205
- title: e(d)("menu.rules"),
2485
+ }, { modal: i, title: p, form: m, formData: n, requesting: V, executing: u, open: c, modify: k, submit: v, closed: U } = G(h, y, Se);
2486
+ return x({
2487
+ open: c,
2488
+ modify: k
2489
+ }), (b, o) => {
2490
+ const d = s("el-form-item"), r = s("el-input-number"), R = s("el-input"), _ = s("el-col"), D = s("el-row"), M = s("el-form");
2491
+ return S(), T(e(Q), {
2492
+ modelValue: e(i),
2493
+ "onUpdate:modelValue": o[6] || (o[6] = (L) => P(i) ? i.value = L : null),
2494
+ title: e(p)("menu.rules"),
1206
2495
  width: "1000px",
1207
- executing: e(c),
1208
- onClosed: e(C),
2496
+ executing: e(u),
2497
+ onClosed: e(U),
1209
2498
  onSubmit: e(v)
1210
2499
  }, {
1211
- default: o(() => [
1212
- l(V, {
2500
+ default: t(() => [
2501
+ l(M, {
1213
2502
  ref_key: "form",
1214
- ref: p,
2503
+ ref: m,
1215
2504
  model: e(n),
1216
2505
  "label-width": "auto",
1217
- rules: _,
1218
- disabled: e(b) || e(c)
2506
+ rules: f,
2507
+ disabled: e(V) || e(u)
1219
2508
  }, {
1220
- default: o(() => [
1221
- l(S, { gutter: 20 }, {
1222
- default: o(() => [
1223
- l(U, { span: 10 }, {
1224
- default: o(() => [
1225
- l(u, {
2509
+ default: t(() => [
2510
+ l(D, { gutter: 20 }, {
2511
+ default: t(() => [
2512
+ l(_, { span: 10 }, {
2513
+ default: t(() => [
2514
+ l(d, {
1226
2515
  label: e(a)("menu.Menu"),
1227
2516
  prop: "menu_id"
1228
2517
  }, {
1229
- default: o(() => [
1230
- l(Be, {
2518
+ default: t(() => [
2519
+ l(gl, {
1231
2520
  modelValue: e(n).menu_id,
1232
- "onUpdate:modelValue": t[0] || (t[0] = (M) => e(n).menu_id = M)
2521
+ "onUpdate:modelValue": o[0] || (o[0] = (L) => e(n).menu_id = L)
1233
2522
  }, null, 8, ["modelValue"])
1234
2523
  ]),
1235
2524
  _: 1
1236
2525
  }, 8, ["label"]),
1237
- l(u, {
2526
+ l(d, {
1238
2527
  label: e(a)("base.sort"),
1239
2528
  prop: "sort"
1240
2529
  }, {
1241
- default: o(() => [
2530
+ default: t(() => [
1242
2531
  l(r, {
1243
2532
  class: "w-full",
1244
2533
  modelValue: e(n).sort,
1245
- "onUpdate:modelValue": t[1] || (t[1] = (M) => e(n).sort = M),
2534
+ "onUpdate:modelValue": o[1] || (o[1] = (L) => e(n).sort = L),
1246
2535
  min: 0,
1247
2536
  placeholder: e(a)("base.placeholder.input")
1248
2537
  }, null, 8, ["modelValue", "placeholder"])
1249
2538
  ]),
1250
2539
  _: 1
1251
2540
  }, 8, ["label"]),
1252
- l(u, {
2541
+ l(d, {
1253
2542
  label: e(a)("base.name"),
1254
2543
  prop: "name"
1255
2544
  }, {
1256
- default: o(() => [
1257
- l(A, {
2545
+ default: t(() => [
2546
+ l(R, {
1258
2547
  modelValue: e(n).name,
1259
- "onUpdate:modelValue": t[2] || (t[2] = (M) => e(n).name = M),
2548
+ "onUpdate:modelValue": o[2] || (o[2] = (L) => e(n).name = L),
1260
2549
  placeholder: e(a)("base.placeholder.input")
1261
2550
  }, null, 8, ["modelValue", "placeholder"])
1262
2551
  ]),
1263
2552
  _: 1
1264
2553
  }, 8, ["label"]),
1265
- l(u, {
2554
+ l(d, {
1266
2555
  label: e(a)("base.en_name"),
1267
2556
  prop: "en_name"
1268
2557
  }, {
1269
- default: o(() => [
1270
- l(A, {
2558
+ default: t(() => [
2559
+ l(R, {
1271
2560
  modelValue: e(n).en_name,
1272
- "onUpdate:modelValue": t[3] || (t[3] = (M) => e(n).en_name = M),
2561
+ "onUpdate:modelValue": o[3] || (o[3] = (L) => e(n).en_name = L),
1273
2562
  placeholder: e(a)("base.placeholder.input")
1274
2563
  }, null, 8, ["modelValue", "placeholder"])
1275
2564
  ]),
1276
2565
  _: 1
1277
2566
  }, 8, ["label"]),
1278
- l(u, {
2567
+ l(d, {
1279
2568
  label: e(a)("base.remark"),
1280
2569
  prop: "remark"
1281
2570
  }, {
1282
- default: o(() => [
1283
- l(A, {
2571
+ default: t(() => [
2572
+ l(R, {
1284
2573
  modelValue: e(n).remark,
1285
- "onUpdate:modelValue": t[4] || (t[4] = (M) => e(n).remark = M),
2574
+ "onUpdate:modelValue": o[4] || (o[4] = (L) => e(n).remark = L),
1286
2575
  placeholder: e(a)("base.placeholder.input")
1287
2576
  }, null, 8, ["modelValue", "placeholder"])
1288
2577
  ]),
@@ -1291,16 +2580,16 @@ const Ke = /* @__PURE__ */ D({
1291
2580
  ]),
1292
2581
  _: 1
1293
2582
  }),
1294
- l(U, { span: 14 }, {
1295
- default: o(() => [
1296
- l(u, {
1297
- label: e(a)("base.rules"),
2583
+ l(_, { span: 14 }, {
2584
+ default: t(() => [
2585
+ l(d, {
2586
+ label: e(a)("menu.rules"),
1298
2587
  prop: "urls"
1299
2588
  }, {
1300
- default: o(() => [
1301
- l(A, {
2589
+ default: t(() => [
2590
+ l(R, {
1302
2591
  modelValue: e(n).urls,
1303
- "onUpdate:modelValue": t[5] || (t[5] = (M) => e(n).urls = M),
2592
+ "onUpdate:modelValue": o[5] || (o[5] = (L) => e(n).urls = L),
1304
2593
  type: "textarea",
1305
2594
  rows: 11,
1306
2595
  placeholder: e(a)("base.placeholder.input")
@@ -1323,16 +2612,16 @@ const Ke = /* @__PURE__ */ D({
1323
2612
  };
1324
2613
  }
1325
2614
  });
1326
- function me(R) {
1327
- return typeof R == "function" || Object.prototype.toString.call(R) === "[object Object]" && !ye(R);
2615
+ function xe(w) {
2616
+ return typeof w == "function" || Object.prototype.toString.call(w) === "[object Object]" && !Te(w);
1328
2617
  }
1329
- const je = /* @__PURE__ */ D({
2618
+ const Vl = /* @__PURE__ */ q({
1330
2619
  __name: "index",
1331
- setup(R) {
1332
- const w = {
2620
+ setup(w) {
2621
+ const x = {
1333
2622
  keyword: "",
1334
2623
  status: 0
1335
- }, y = ee(""), k = [
2624
+ }, g = z(""), h = [
1336
2625
  {
1337
2626
  label: a("base.sort"),
1338
2627
  prop: "sort",
@@ -1343,9 +2632,9 @@ const je = /* @__PURE__ */ D({
1343
2632
  prop: "icon",
1344
2633
  width: 60,
1345
2634
  render: ({
1346
- row: t
2635
+ row: o
1347
2636
  }) => l("span", {
1348
- class: "iconfont " + t.icon,
2637
+ class: "iconfont " + o.icon,
1349
2638
  style: "font-size: 16px;"
1350
2639
  }, null)
1351
2640
  },
@@ -1359,10 +2648,10 @@ const je = /* @__PURE__ */ D({
1359
2648
  prop: "parent",
1360
2649
  width: 120,
1361
2650
  render: ({
1362
- row: t
2651
+ row: o
1363
2652
  }) => {
1364
- var u;
1365
- return l(z, null, [(u = t.menu) == null ? void 0 : u.name]);
2653
+ var d;
2654
+ return l(W, null, [(d = o.menu) == null ? void 0 : d.name]);
1366
2655
  }
1367
2656
  },
1368
2657
  {
@@ -1389,12 +2678,12 @@ const je = /* @__PURE__ */ D({
1389
2678
  width: 0,
1390
2679
  align: "left",
1391
2680
  render: ({
1392
- row: t
2681
+ row: o
1393
2682
  }) => l(s("el-space"), null, {
1394
2683
  default: () => {
1395
- var u;
1396
- return [(u = t.rules) == null ? void 0 : u.map((r) => l(s("el-popover"), {
1397
- visible: y.value === r.key,
2684
+ var d;
2685
+ return [(d = o.rules) == null ? void 0 : d.map((r) => l(s("el-popover"), {
2686
+ visible: g.value === r.key,
1398
2687
  title: a("message.title.warning"),
1399
2688
  placement: "top-end",
1400
2689
  width: 220
@@ -1403,29 +2692,29 @@ const je = /* @__PURE__ */ D({
1403
2692
  class: "cursor-pointer",
1404
2693
  closable: !0,
1405
2694
  key: r.key,
1406
- onClick: () => C({
2695
+ onClick: () => U({
1407
2696
  key: r.key
1408
2697
  }),
1409
- onClose: () => y.value = r.key
2698
+ onClose: () => g.value = r.key
1410
2699
  }, {
1411
2700
  default: () => [r.translate]
1412
2701
  }),
1413
2702
  default: () => {
1414
- let A, U;
1415
- return l("div", null, [l("p", null, null), l("p", null, [`${a("base.confirm base.delete menu.rules")}: ${t.translate}-${r.translate} ?`]), l("div", {
2703
+ let R, _;
2704
+ return l("div", null, [l("p", null, null), l("p", null, [`${a("base.confirm base.delete menu.rules")}: ${o.translate}-${r.translate} ?`]), l("div", {
1416
2705
  style: "text-align: right; margin: 0"
1417
2706
  }, [l(s("el-button"), {
1418
2707
  size: "small",
1419
2708
  text: !0,
1420
- onClick: () => y.value = ""
1421
- }, me(A = a("base.cancel")) ? A : {
1422
- default: () => [A]
2709
+ onClick: () => g.value = ""
2710
+ }, xe(R = a("base.cancel")) ? R : {
2711
+ default: () => [R]
1423
2712
  }), l(s("el-button"), {
1424
2713
  size: "small",
1425
2714
  type: "danger",
1426
- onClick: () => f(r.key)
1427
- }, me(U = a("base.confirm")) ? U : {
1428
- default: () => [U]
2715
+ onClick: () => b(r.key)
2716
+ }, xe(_ = a("base.confirm")) ? _ : {
2717
+ default: () => [_]
1429
2718
  })])]);
1430
2719
  }
1431
2720
  }))];
@@ -1440,7 +2729,7 @@ const je = /* @__PURE__ */ D({
1440
2729
  props: {
1441
2730
  activeValue: 1,
1442
2731
  inactiveValue: 2,
1443
- api: $.urls[be],
2732
+ api: I.urls[Ue],
1444
2733
  refresh: !0
1445
2734
  }
1446
2735
  },
@@ -1450,198 +2739,198 @@ const je = /* @__PURE__ */ D({
1450
2739
  width: 60,
1451
2740
  align: "center",
1452
2741
  render: ({
1453
- row: t
1454
- }) => l(oe, {
1455
- onModify: () => i({
1456
- id: t.id
2742
+ row: o
2743
+ }) => l(X, {
2744
+ onModify: () => c({
2745
+ id: o.id
1457
2746
  })
1458
2747
  }, null)
1459
2748
  }
1460
2749
  ], {
1461
- requesting: h
1462
- } = F($), {
1463
- tableRef: _,
1464
- formModalRef: m,
1465
- keyword: d,
1466
- search: p,
2750
+ requesting: y
2751
+ } = F(I), {
2752
+ tableRef: f,
2753
+ formModalRef: i,
2754
+ keyword: p,
2755
+ search: m,
1467
2756
  refresh: n,
1468
- reset: b,
1469
- openFormModal: c,
1470
- editFormModal: i
1471
- } = P(w), {
1472
- formModalRef: x,
2757
+ reset: V,
2758
+ openFormModal: u,
2759
+ editFormModal: c
2760
+ } = $(x), {
2761
+ formModalRef: k,
1473
2762
  openFormModal: v,
1474
- editFormModal: C
1475
- } = P(), f = (t) => {
1476
- he[Me]({
1477
- key: t
2763
+ editFormModal: U
2764
+ } = $(), b = (o) => {
2765
+ Se[Ie]({
2766
+ key: o
1478
2767
  }).then(() => {
1479
- y.value = "", n();
2768
+ g.value = "", n();
1480
2769
  });
1481
2770
  };
1482
- return (t, u) => {
1483
- const r = s("el-button"), A = s("el-input"), U = s("el-radio-button"), S = s("el-radio-group"), V = s("el-space"), M = s("el-page-header"), g = s("el-card");
1484
- return E(), q(g, {
2771
+ return (o, d) => {
2772
+ const r = s("el-button"), R = s("el-input"), _ = s("el-radio-button"), D = s("el-radio-group"), M = s("el-space"), L = s("el-page-header"), A = s("el-card");
2773
+ return S(), T(A, {
1485
2774
  class: "basic-card flex-full",
1486
2775
  "body-class": "flex-1",
1487
- onClick: u[5] || (u[5] = () => y.value = "")
2776
+ onClick: d[5] || (d[5] = () => g.value = "")
1488
2777
  }, {
1489
- header: o(() => [l(M, {
2778
+ header: t(() => [l(L, {
1490
2779
  class: "basic-header"
1491
2780
  }, {
1492
- title: o(() => [l(e(B), {
1493
- loading: e(h),
1494
- onRefresh: e(b)
1495
- }, null, 8, ["loading", "onRefresh"]), l(e(re), {
1496
- onOpen: e(c)
2781
+ title: t(() => [l(e(B), {
2782
+ loading: e(y),
2783
+ onRefresh: e(V)
2784
+ }, null, 8, ["loading", "onRefresh"]), l(e(K), {
2785
+ onOpen: e(u)
1497
2786
  }, null, 8, ["onOpen"]), l(r, {
1498
2787
  circle: "",
1499
- icon: e(ze),
2788
+ icon: e(_l),
1500
2789
  onClick: e(v)
1501
2790
  }, null, 8, ["icon", "onClick"])]),
1502
- content: o(() => [l(V, {
2791
+ content: t(() => [l(M, {
1503
2792
  class: "search-bar"
1504
2793
  }, {
1505
- default: o(() => [l(A, {
2794
+ default: t(() => [l(R, {
1506
2795
  class: "basic-search-input",
1507
- modelValue: e(d).keyword,
1508
- "onUpdate:modelValue": u[0] || (u[0] = (L) => e(d).keyword = L),
2796
+ modelValue: e(p).keyword,
2797
+ "onUpdate:modelValue": d[0] || (d[0] = (C) => e(p).keyword = C),
1509
2798
  placeholder: e(a)("base.placeholder.keyword"),
1510
2799
  clearable: "",
1511
- onKeyup: u[1] || (u[1] = le((L) => e(p)(), ["enter"])),
1512
- onClear: u[2] || (u[2] = (L) => e(p)())
1513
- }, null, 8, ["modelValue", "placeholder"]), l(S, {
1514
- modelValue: e(d).status,
1515
- "onUpdate:modelValue": u[3] || (u[3] = (L) => e(d).status = L),
1516
- onChange: u[4] || (u[4] = (L) => e(p)())
2800
+ onKeyup: d[1] || (d[1] = me((C) => e(m)(), ["enter"])),
2801
+ onClear: d[2] || (d[2] = (C) => e(m)())
2802
+ }, null, 8, ["modelValue", "placeholder"]), l(D, {
2803
+ modelValue: e(p).status,
2804
+ "onUpdate:modelValue": d[3] || (d[3] = (C) => e(p).status = C),
2805
+ onChange: d[4] || (d[4] = (C) => e(m)())
1517
2806
  }, {
1518
- default: o(() => [(E(), K(z, null, W([0, 1, 2], (L) => l(U, {
1519
- key: L,
1520
- label: e(a)(`base.DISABLE_ENABLE.${L}`),
1521
- value: L
2807
+ default: t(() => [(S(), j(W, null, le([0, 1, 2], (C) => l(_, {
2808
+ key: C,
2809
+ label: e(a)(`base.DISABLE_ENABLE.${C}`),
2810
+ value: C
1522
2811
  }, null, 8, ["label", "value"])), 64))]),
1523
2812
  _: 1
1524
- }, 8, ["modelValue"]), l(e(j), {
1525
- disabled: e(h),
1526
- onSearch: e(p)
2813
+ }, 8, ["modelValue"]), l(e(Z), {
2814
+ disabled: e(y),
2815
+ onSearch: e(m)
1527
2816
  }, null, 8, ["disabled", "onSearch"])]),
1528
2817
  _: 1
1529
2818
  })]),
1530
2819
  _: 1
1531
2820
  })]),
1532
- default: o(() => [l(e(te), {
2821
+ default: t(() => [l(e(se), {
1533
2822
  ref_key: "tableRef",
1534
- ref: _,
2823
+ ref: f,
1535
2824
  size: "small",
1536
- columns: k,
1537
- url: e($).urls[e(ne)],
1538
- "search-param": e(d),
2825
+ columns: h,
2826
+ url: e(I).urls[e(ce)],
2827
+ "search-param": e(p),
1539
2828
  autoSearch: ""
1540
- }, null, 8, ["url", "search-param"]), l(Pe, {
2829
+ }, null, 8, ["url", "search-param"]), l(bl, {
1541
2830
  ref_key: "formModalRef",
1542
- ref: m,
1543
- onRefresh: e(b)
1544
- }, null, 8, ["onRefresh"]), l(Ne, {
2831
+ ref: i,
2832
+ onRefresh: e(V)
2833
+ }, null, 8, ["onRefresh"]), l(hl, {
1545
2834
  ref_key: "ruleFormModalRef",
1546
- ref: x,
2835
+ ref: k,
1547
2836
  onRefresh: e(n)
1548
2837
  }, null, 8, ["onRefresh"])]),
1549
2838
  _: 1
1550
2839
  });
1551
2840
  };
1552
2841
  }
1553
- }), Ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2842
+ }), yl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1554
2843
  __proto__: null,
1555
- default: je
1556
- }, Symbol.toStringTag, { value: "Module" })), Ye = { class: "rule-check" }, He = { style: { width: "80px", "line-height": "36px" } }, We = /* @__PURE__ */ D({
2844
+ default: Vl
2845
+ }, Symbol.toStringTag, { value: "Module" })), kl = { class: "rule-check" }, vl = { style: { width: "80px", "line-height": "36px" } }, xl = /* @__PURE__ */ q({
1557
2846
  __name: "RulesCheck",
1558
2847
  props: {
1559
2848
  modelValue: { type: Array, required: !0 },
1560
2849
  disabled: { type: Boolean, default: !1 }
1561
2850
  },
1562
2851
  emits: ["update:modelValue"],
1563
- setup(R, { expose: w, emit: y }) {
1564
- const { requesting: k } = F($), h = R, _ = y, m = ee(!1), d = ke({
2852
+ setup(w, { expose: x, emit: g }) {
2853
+ const { requesting: h } = F(I), y = w, f = g, i = z(!1), p = qe({
1565
2854
  checkAll: !1,
1566
2855
  indeterminate: !1,
1567
2856
  MenuAll: {},
1568
2857
  MenuList: {},
1569
2858
  MenuIndeterminate: {}
1570
- }), { options: p, refresh: n } = de(se(h, "modelValue"), _, { key: "RULE_CHECK", api: $, url: $.urls.rules, isArray: !0 }, !1);
1571
- function b() {
1572
- p.value.forEach((f) => {
1573
- var t;
1574
- (t = f.rules) != null && t.length && (d.MenuAll[f.id] = !1, d.MenuIndeterminate[f.id] = !1, d.MenuList[f.id] = []);
2859
+ }), { options: m, refresh: n } = ne(te(y, "modelValue"), f, { key: "RULE_CHECK", api: I, url: I.urls.rules, isArray: !0 }, !1);
2860
+ function V() {
2861
+ m.value.forEach((b) => {
2862
+ var o;
2863
+ (o = b.rules) != null && o.length && (p.MenuAll[b.id] = !1, p.MenuIndeterminate[b.id] = !1, p.MenuList[b.id] = []);
1575
2864
  });
1576
2865
  }
1577
- function c(f) {
1578
- p.value.forEach((t) => {
1579
- var u;
1580
- (u = t.rules) != null && u.length && (d.MenuList[t.id] = f ? t.rules.map((r) => r.key) : []);
1581
- }), x();
2866
+ function u(b) {
2867
+ m.value.forEach((o) => {
2868
+ var d;
2869
+ (d = o.rules) != null && d.length && (p.MenuList[o.id] = b ? o.rules.map((r) => r.key) : []);
2870
+ }), k();
1582
2871
  }
1583
- function i(f, t) {
1584
- const u = p.value.find((r) => r.id === t);
1585
- d.MenuList[t] = f && u ? u.rules.map((r) => r.key) : [], x();
2872
+ function c(b, o) {
2873
+ const d = m.value.find((r) => r.id === o);
2874
+ p.MenuList[o] = b && d ? d.rules.map((r) => r.key) : [], k();
1586
2875
  }
1587
- function x() {
1588
- p.value.forEach((f) => {
1589
- var r, A;
1590
- const t = ((r = f.rules) == null ? void 0 : r.length) || 0, u = ((A = d.MenuList[f.id]) == null ? void 0 : A.length) || 0;
1591
- d.MenuAll[f.id] = u === t && t > 0, d.MenuIndeterminate[f.id] = u > 0 && u < t;
1592
- }), d.checkAll = Object.values(d.MenuAll).every(Boolean), d.indeterminate = !d.checkAll && Object.values(d.MenuList).some((f) => f.length > 0), _("update:modelValue", Object.values(d.MenuList).flat());
2876
+ function k() {
2877
+ m.value.forEach((b) => {
2878
+ var r, R;
2879
+ const o = ((r = b.rules) == null ? void 0 : r.length) || 0, d = ((R = p.MenuList[b.id]) == null ? void 0 : R.length) || 0;
2880
+ p.MenuAll[b.id] = d === o && o > 0, p.MenuIndeterminate[b.id] = d > 0 && d < o;
2881
+ }), p.checkAll = Object.values(p.MenuAll).every(Boolean), p.indeterminate = !p.checkAll && Object.values(p.MenuList).some((b) => b.length > 0), f("update:modelValue", Object.values(p.MenuList).flat());
1593
2882
  }
1594
2883
  function v() {
1595
- d.checkAll = !1, d.indeterminate = !1, d.MenuAll = {}, d.MenuList = {}, d.MenuIndeterminate = {}, b(), _("update:modelValue", []), m.value = !1;
2884
+ p.checkAll = !1, p.indeterminate = !1, p.MenuAll = {}, p.MenuList = {}, p.MenuIndeterminate = {}, V(), f("update:modelValue", []), i.value = !1;
1596
2885
  }
1597
- function C(f) {
1598
- var t;
1599
- if (Array.isArray(p.value) && p.value.length > 0) {
1600
- for (let u of p.value)
1601
- if (Array.isArray(u.rules) && u.rules.length > 0)
1602
- for (let r of u.rules)
1603
- f.some((A) => A === r.key) && (d.MenuList[u.id] = (((t = d.MenuList) == null ? void 0 : t[u.id]) || []).concat([r.key]));
1604
- x(), m.value = !0;
2886
+ function U(b) {
2887
+ var o;
2888
+ if (Array.isArray(m.value) && m.value.length > 0) {
2889
+ for (let d of m.value)
2890
+ if (Array.isArray(d.rules) && d.rules.length > 0)
2891
+ for (let r of d.rules)
2892
+ b.some((R) => R === r.key) && (p.MenuList[d.id] = (((o = p.MenuList) == null ? void 0 : o[d.id]) || []).concat([r.key]));
2893
+ k(), i.value = !0;
1605
2894
  }
1606
2895
  }
1607
- return ve(async () => {
1608
- var f;
1609
- (f = p.value) != null && f.length || await n(), !m.value && h.modelValue && C(h.modelValue);
1610
- }), we(
1611
- () => h.modelValue,
1612
- (f) => {
1613
- Re(() => {
1614
- var t;
1615
- m.value || !((t = p.value) != null && t.length) || f && f.length > 0 && C(f);
2896
+ return Re(async () => {
2897
+ var b;
2898
+ (b = m.value) != null && b.length || await n(), !i.value && y.modelValue && U(y.modelValue);
2899
+ }), Ce(
2900
+ () => y.modelValue,
2901
+ (b) => {
2902
+ _e(() => {
2903
+ var o;
2904
+ i.value || !((o = m.value) != null && o.length) || b && b.length > 0 && U(b);
1616
2905
  });
1617
2906
  },
1618
2907
  { deep: !0, immediate: !0 }
1619
- ), w({
1620
- generateOption: C,
2908
+ ), x({
2909
+ generateOption: U,
1621
2910
  cleanChecked: v
1622
- }), (f, t) => {
1623
- const u = s("el-checkbox"), r = s("el-space"), A = s("el-text"), U = s("el-divider"), S = s("el-checkbox-group");
1624
- return E(), K("div", Ye, [
2911
+ }), (b, o) => {
2912
+ const d = s("el-checkbox"), r = s("el-space"), R = s("el-text"), _ = s("el-divider"), D = s("el-checkbox-group");
2913
+ return S(), j("div", kl, [
1625
2914
  l(r, { style: { "margin-bottom": "6px" } }, {
1626
- default: o(() => [
1627
- l(u, {
1628
- "model-value": d.checkAll,
1629
- indeterminate: d.indeterminate,
2915
+ default: t(() => [
2916
+ l(d, {
2917
+ "model-value": p.checkAll,
2918
+ indeterminate: p.indeterminate,
1630
2919
  id: "all",
1631
- disabled: R.disabled,
1632
- onChange: c
2920
+ disabled: w.disabled,
2921
+ onChange: u
1633
2922
  }, {
1634
- default: o(() => t[1] || (t[1] = [
1635
- Y("span", null, "全选", -1)
2923
+ default: t(() => o[1] || (o[1] = [
2924
+ N("span", null, "全选", -1)
1636
2925
  ])),
1637
2926
  _: 1,
1638
2927
  __: [1]
1639
2928
  }, 8, ["model-value", "indeterminate", "disabled"]),
1640
2929
  l(e(B), {
1641
- loading: e(k),
2930
+ loading: e(h),
1642
2931
  text: "",
1643
2932
  size: "small",
1644
- onRefresh: t[0] || (t[0] = (V) => e(n)(!0))
2933
+ onRefresh: o[0] || (o[0] = (M) => e(n)(!0))
1645
2934
  }, null, 8, ["loading"])
1646
2935
  ]),
1647
2936
  _: 1
@@ -1651,54 +2940,54 @@ const je = /* @__PURE__ */ D({
1651
2940
  alignment: "start",
1652
2941
  class: "rule-check-content"
1653
2942
  }, {
1654
- default: o(() => [
1655
- (E(!0), K(z, null, W(e(p), (V) => (E(), K("div", {
1656
- key: V.id
2943
+ default: t(() => [
2944
+ (S(!0), j(W, null, le(e(m), (M) => (S(), j("div", {
2945
+ key: M.id
1657
2946
  }, [
1658
2947
  l(r, {
1659
2948
  direction: "horizontal",
1660
2949
  size: 2
1661
2950
  }, {
1662
- default: o(() => [
1663
- l(u, {
2951
+ default: t(() => [
2952
+ l(d, {
1664
2953
  style: { "min-width": "150px" },
1665
- "model-value": d.MenuAll[V.id],
1666
- disabled: R.disabled || !V.rules || V.rules.length <= 0,
1667
- indeterminate: d.MenuIndeterminate[V.id],
1668
- onChange: (M) => i(M, V.id)
2954
+ "model-value": p.MenuAll[M.id],
2955
+ disabled: w.disabled || !M.rules || M.rules.length <= 0,
2956
+ indeterminate: p.MenuIndeterminate[M.id],
2957
+ onChange: (L) => c(L, M.id)
1669
2958
  }, {
1670
- default: o(() => [
1671
- l(A, { style: { "font-size": "15px" } }, {
1672
- default: o(() => [
1673
- I(X(V.translate), 1)
2959
+ default: t(() => [
2960
+ l(R, { style: { "font-size": "15px" } }, {
2961
+ default: t(() => [
2962
+ J(H(M.translate), 1)
1674
2963
  ]),
1675
2964
  _: 2
1676
2965
  }, 1024)
1677
2966
  ]),
1678
2967
  _: 2
1679
2968
  }, 1032, ["model-value", "disabled", "indeterminate", "onChange"]),
1680
- l(U, { direction: "vertical" }),
1681
- V.rules ? (E(), q(S, {
2969
+ l(_, { direction: "vertical" }),
2970
+ M.rules ? (S(), T(D, {
1682
2971
  key: 0,
1683
- modelValue: d.MenuList[V.id],
1684
- "onUpdate:modelValue": (M) => d.MenuList[V.id] = M,
1685
- disabled: R.disabled,
2972
+ modelValue: p.MenuList[M.id],
2973
+ "onUpdate:modelValue": (L) => p.MenuList[M.id] = L,
2974
+ disabled: w.disabled,
1686
2975
  style: { margin: "auto" },
1687
- onChange: x
2976
+ onChange: k
1688
2977
  }, {
1689
- default: o(() => [
1690
- (E(!0), K(z, null, W(V.rules, (M) => (E(), q(u, {
1691
- key: M.key,
1692
- value: M.key
2978
+ default: t(() => [
2979
+ (S(!0), j(W, null, le(M.rules, (L) => (S(), T(d, {
2980
+ key: L.key,
2981
+ value: L.key
1693
2982
  }, {
1694
- default: o(() => [
1695
- Y("div", He, X(M.translate), 1)
2983
+ default: t(() => [
2984
+ N("div", vl, H(L.translate), 1)
1696
2985
  ]),
1697
2986
  _: 2
1698
2987
  }, 1032, ["value"]))), 128))
1699
2988
  ]),
1700
2989
  _: 2
1701
- }, 1032, ["modelValue", "onUpdate:modelValue", "disabled"])) : xe("", !0)
2990
+ }, 1032, ["modelValue", "onUpdate:modelValue", "disabled"])) : Oe("", !0)
1702
2991
  ]),
1703
2992
  _: 2
1704
2993
  }, 1024)
@@ -1709,16 +2998,11 @@ const je = /* @__PURE__ */ D({
1709
2998
  ]);
1710
2999
  };
1711
3000
  }
1712
- }), Ge = (R, w) => {
1713
- const y = R.__vccOpts || R;
1714
- for (const [k, h] of w)
1715
- y[k] = h;
1716
- return y;
1717
- }, Qe = /* @__PURE__ */ Ge(We, [["__scopeId", "data-v-fcb04ec2"]]), Je = /* @__PURE__ */ D({
3001
+ }), wl = /* @__PURE__ */ Ve(xl, [["__scopeId", "data-v-fcb04ec2"]]), Rl = /* @__PURE__ */ q({
1718
3002
  __name: "RoleFormModal",
1719
3003
  emits: ["refresh"],
1720
- setup(R, { expose: w, emit: y }) {
1721
- const k = y, h = ee(), _ = {
3004
+ setup(w, { expose: x, emit: g }) {
3005
+ const h = g, y = z(), f = {
1722
3006
  key: "",
1723
3007
  module: "",
1724
3008
  sort: 0,
@@ -1726,7 +3010,7 @@ const je = /* @__PURE__ */ D({
1726
3010
  en_name: "",
1727
3011
  remark: "",
1728
3012
  rules: []
1729
- }, m = {
3013
+ }, i = {
1730
3014
  name: [
1731
3015
  {
1732
3016
  required: !0,
@@ -1741,46 +3025,46 @@ const je = /* @__PURE__ */ D({
1741
3025
  trigger: "blur"
1742
3026
  }
1743
3027
  ]
1744
- }, { modal: d, title: p, form: n, formData: b, requesting: c, executing: i, open: x, modify: v, submit: C, closed: f } = G(k, _, Z), t = () => {
1745
- var u;
1746
- (u = h.value) == null || u.cleanChecked(), f();
3028
+ }, { modal: p, title: m, form: n, formData: V, requesting: u, executing: c, open: k, modify: v, submit: U, closed: b } = G(h, f, pe), o = () => {
3029
+ var d;
3030
+ (d = y.value) == null || d.cleanChecked(), b();
1747
3031
  };
1748
- return w({
1749
- open: x,
3032
+ return x({
3033
+ open: k,
1750
3034
  modify: v
1751
- }), (u, r) => {
1752
- const A = s("el-input"), U = s("el-form-item"), S = s("el-col"), V = s("el-input-number"), M = s("el-row"), g = s("el-form");
1753
- return E(), q(e(Q), {
1754
- modelValue: e(d),
1755
- "onUpdate:modelValue": r[6] || (r[6] = (L) => N(d) ? d.value = L : null),
1756
- title: e(p)(),
3035
+ }), (d, r) => {
3036
+ const R = s("el-input"), _ = s("el-form-item"), D = s("el-col"), M = s("el-input-number"), L = s("el-row"), A = s("el-form");
3037
+ return S(), T(e(Q), {
3038
+ modelValue: e(p),
3039
+ "onUpdate:modelValue": r[6] || (r[6] = (C) => P(p) ? p.value = C : null),
3040
+ title: e(m)(),
1757
3041
  width: "1000px",
1758
- executing: e(i),
1759
- onClosed: t,
1760
- onSubmit: e(C)
3042
+ executing: e(c),
3043
+ onClosed: o,
3044
+ onSubmit: e(U)
1761
3045
  }, {
1762
- default: o(() => [
1763
- l(g, {
3046
+ default: t(() => [
3047
+ l(A, {
1764
3048
  ref_key: "form",
1765
3049
  ref: n,
1766
- model: e(b),
3050
+ model: e(V),
1767
3051
  "label-width": "auto",
1768
- rules: m,
1769
- disabled: e(c) || e(i)
3052
+ rules: i,
3053
+ disabled: e(u) || e(c)
1770
3054
  }, {
1771
- default: o(() => [
1772
- l(M, { gutter: 20 }, {
1773
- default: o(() => [
1774
- l(S, { span: 12 }, {
1775
- default: o(() => [
1776
- l(U, {
3055
+ default: t(() => [
3056
+ l(L, { gutter: 20 }, {
3057
+ default: t(() => [
3058
+ l(D, { span: 12 }, {
3059
+ default: t(() => [
3060
+ l(_, {
1777
3061
  label: e(a)("base.module"),
1778
3062
  prop: "module"
1779
3063
  }, {
1780
- default: o(() => [
1781
- l(A, {
1782
- modelValue: e(b).module,
1783
- "onUpdate:modelValue": r[0] || (r[0] = (L) => e(b).module = L),
3064
+ default: t(() => [
3065
+ l(R, {
3066
+ modelValue: e(V).module,
3067
+ "onUpdate:modelValue": r[0] || (r[0] = (C) => e(V).module = C),
1784
3068
  placeholder: e(a)("base.placeholder.input")
1785
3069
  }, null, 8, ["modelValue", "placeholder"])
1786
3070
  ]),
@@ -1789,17 +3073,17 @@ const je = /* @__PURE__ */ D({
1789
3073
  ]),
1790
3074
  _: 1
1791
3075
  }),
1792
- l(S, { span: 12 }, {
1793
- default: o(() => [
1794
- l(U, {
3076
+ l(D, { span: 12 }, {
3077
+ default: t(() => [
3078
+ l(_, {
1795
3079
  label: e(a)("base.sort"),
1796
3080
  prop: "sort"
1797
3081
  }, {
1798
- default: o(() => [
1799
- l(V, {
3082
+ default: t(() => [
3083
+ l(M, {
1800
3084
  class: "w-full",
1801
- modelValue: e(b).sort,
1802
- "onUpdate:modelValue": r[1] || (r[1] = (L) => e(b).sort = L),
3085
+ modelValue: e(V).sort,
3086
+ "onUpdate:modelValue": r[1] || (r[1] = (C) => e(V).sort = C),
1803
3087
  min: 0,
1804
3088
  placeholder: e(a)("base.placeholder.input")
1805
3089
  }, null, 8, ["modelValue", "placeholder"])
@@ -1812,56 +3096,56 @@ const je = /* @__PURE__ */ D({
1812
3096
  ]),
1813
3097
  _: 1
1814
3098
  }),
1815
- l(U, {
3099
+ l(_, {
1816
3100
  label: e(a)("base.name"),
1817
3101
  prop: "name"
1818
3102
  }, {
1819
- default: o(() => [
1820
- l(A, {
1821
- modelValue: e(b).name,
1822
- "onUpdate:modelValue": r[2] || (r[2] = (L) => e(b).name = L),
3103
+ default: t(() => [
3104
+ l(R, {
3105
+ modelValue: e(V).name,
3106
+ "onUpdate:modelValue": r[2] || (r[2] = (C) => e(V).name = C),
1823
3107
  placeholder: e(a)("base.placeholder.input")
1824
3108
  }, null, 8, ["modelValue", "placeholder"])
1825
3109
  ]),
1826
3110
  _: 1
1827
3111
  }, 8, ["label"]),
1828
- l(U, {
3112
+ l(_, {
1829
3113
  label: e(a)("base.en_name"),
1830
3114
  prop: "en_name"
1831
3115
  }, {
1832
- default: o(() => [
1833
- l(A, {
1834
- modelValue: e(b).en_name,
1835
- "onUpdate:modelValue": r[3] || (r[3] = (L) => e(b).en_name = L),
3116
+ default: t(() => [
3117
+ l(R, {
3118
+ modelValue: e(V).en_name,
3119
+ "onUpdate:modelValue": r[3] || (r[3] = (C) => e(V).en_name = C),
1836
3120
  placeholder: e(a)("base.placeholder.input")
1837
3121
  }, null, 8, ["modelValue", "placeholder"])
1838
3122
  ]),
1839
3123
  _: 1
1840
3124
  }, 8, ["label"]),
1841
- l(U, {
3125
+ l(_, {
1842
3126
  label: e(a)("base.remark"),
1843
3127
  prop: "remark"
1844
3128
  }, {
1845
- default: o(() => [
1846
- l(A, {
1847
- modelValue: e(b).remark,
1848
- "onUpdate:modelValue": r[4] || (r[4] = (L) => e(b).remark = L),
3129
+ default: t(() => [
3130
+ l(R, {
3131
+ modelValue: e(V).remark,
3132
+ "onUpdate:modelValue": r[4] || (r[4] = (C) => e(V).remark = C),
1849
3133
  placeholder: e(a)("base.placeholder.input")
1850
3134
  }, null, 8, ["modelValue", "placeholder"])
1851
3135
  ]),
1852
3136
  _: 1
1853
3137
  }, 8, ["label"]),
1854
- l(U, {
1855
- label: e(a)("base.rules"),
3138
+ l(_, {
3139
+ label: e(a)("menu.rules"),
1856
3140
  prop: "rules"
1857
3141
  }, {
1858
- default: o(() => [
1859
- l(Qe, {
3142
+ default: t(() => [
3143
+ l(wl, {
1860
3144
  ref_key: "rulesCheck",
1861
- ref: h,
1862
- modelValue: e(b).rules,
1863
- "onUpdate:modelValue": r[5] || (r[5] = (L) => e(b).rules = L),
1864
- disabled: e(c) || e(i)
3145
+ ref: y,
3146
+ modelValue: e(V).rules,
3147
+ "onUpdate:modelValue": r[5] || (r[5] = (C) => e(V).rules = C),
3148
+ disabled: e(u) || e(c)
1865
3149
  }, null, 8, ["modelValue", "disabled"])
1866
3150
  ]),
1867
3151
  _: 1
@@ -1874,12 +3158,12 @@ const je = /* @__PURE__ */ D({
1874
3158
  }, 8, ["modelValue", "title", "executing", "onSubmit"]);
1875
3159
  };
1876
3160
  }
1877
- }), Xe = /* @__PURE__ */ D({
3161
+ }), Ul = /* @__PURE__ */ q({
1878
3162
  __name: "index",
1879
- setup(R) {
1880
- const w = {
3163
+ setup(w) {
3164
+ const x = {
1881
3165
  keyword: ""
1882
- }, y = [
3166
+ }, g = [
1883
3167
  {
1884
3168
  label: a("base.sort"),
1885
3169
  prop: "sort",
@@ -1912,88 +3196,88 @@ const je = /* @__PURE__ */ D({
1912
3196
  width: 60,
1913
3197
  align: "center",
1914
3198
  render: ({
1915
- row: c
1916
- }) => l(oe, {
1917
- onModify: () => b({
1918
- key: c.key
3199
+ row: u
3200
+ }) => l(X, {
3201
+ onModify: () => V({
3202
+ key: u.key
1919
3203
  })
1920
3204
  }, null)
1921
3205
  }
1922
3206
  ], {
1923
- requesting: k
1924
- } = F(Z), {
1925
- tableRef: h,
1926
- formModalRef: _,
1927
- keyword: m,
1928
- search: d,
1929
- reset: p,
3207
+ requesting: h
3208
+ } = F(pe), {
3209
+ tableRef: y,
3210
+ formModalRef: f,
3211
+ keyword: i,
3212
+ search: p,
3213
+ reset: m,
1930
3214
  openFormModal: n,
1931
- editFormModal: b
1932
- } = P(w);
1933
- return (c, i) => {
1934
- const x = s("el-input"), v = s("el-space"), C = s("el-page-header"), f = s("el-card");
1935
- return E(), q(f, {
3215
+ editFormModal: V
3216
+ } = $(x);
3217
+ return (u, c) => {
3218
+ const k = s("el-input"), v = s("el-space"), U = s("el-page-header"), b = s("el-card");
3219
+ return S(), T(b, {
1936
3220
  class: "basic-card flex-full",
1937
3221
  "body-class": "flex-1"
1938
3222
  }, {
1939
- header: o(() => [l(C, {
3223
+ header: t(() => [l(U, {
1940
3224
  class: "basic-header"
1941
3225
  }, {
1942
- title: o(() => [l(e(B), {
1943
- loading: e(k),
1944
- onRefresh: e(p)
1945
- }, null, 8, ["loading", "onRefresh"]), l(e(re), {
3226
+ title: t(() => [l(e(B), {
3227
+ loading: e(h),
3228
+ onRefresh: e(m)
3229
+ }, null, 8, ["loading", "onRefresh"]), l(e(K), {
1946
3230
  onOpen: e(n)
1947
3231
  }, null, 8, ["onOpen"])]),
1948
- content: o(() => [l(v, {
3232
+ content: t(() => [l(v, {
1949
3233
  class: "search-bar"
1950
3234
  }, {
1951
- default: o(() => [l(x, {
3235
+ default: t(() => [l(k, {
1952
3236
  class: "basic-search-input",
1953
- modelValue: e(m).keyword,
1954
- "onUpdate:modelValue": i[0] || (i[0] = (t) => e(m).keyword = t),
3237
+ modelValue: e(i).keyword,
3238
+ "onUpdate:modelValue": c[0] || (c[0] = (o) => e(i).keyword = o),
1955
3239
  placeholder: e(a)("base.placeholder.keyword"),
1956
3240
  clearable: "",
1957
- onKeyup: i[1] || (i[1] = le((t) => e(d)(), ["enter"])),
1958
- onClear: i[2] || (i[2] = (t) => e(d)())
1959
- }, null, 8, ["modelValue", "placeholder"]), l(e(j), {
1960
- disabled: e(k),
1961
- onSearch: i[3] || (i[3] = (t) => e(d)())
3241
+ onKeyup: c[1] || (c[1] = me((o) => e(p)(), ["enter"])),
3242
+ onClear: c[2] || (c[2] = (o) => e(p)())
3243
+ }, null, 8, ["modelValue", "placeholder"]), l(e(Z), {
3244
+ disabled: e(h),
3245
+ onSearch: c[3] || (c[3] = (o) => e(p)())
1962
3246
  }, null, 8, ["disabled"])]),
1963
3247
  _: 1
1964
3248
  })]),
1965
3249
  _: 1
1966
3250
  })]),
1967
- default: o(() => [l(e(te), {
3251
+ default: t(() => [l(e(se), {
1968
3252
  ref_key: "tableRef",
1969
- ref: h,
3253
+ ref: y,
1970
3254
  size: "small",
1971
- columns: y,
1972
- url: e(Z).urls[e(ne)],
1973
- "search-param": e(m),
3255
+ columns: g,
3256
+ url: e(pe).urls[e(ce)],
3257
+ "search-param": e(i),
1974
3258
  autoSearch: ""
1975
- }, null, 8, ["url", "search-param"]), l(Je, {
3259
+ }, null, 8, ["url", "search-param"]), l(Rl, {
1976
3260
  ref_key: "formModalRef",
1977
- ref: _,
1978
- onRefresh: e(p)
3261
+ ref: f,
3262
+ onRefresh: e(m)
1979
3263
  }, null, 8, ["onRefresh"])]),
1980
3264
  _: 1
1981
3265
  });
1982
3266
  };
1983
3267
  }
1984
- }), Ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3268
+ }), Al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1985
3269
  __proto__: null,
1986
- default: Xe
1987
- }, Symbol.toStringTag, { value: "Module" })), ce = {
3270
+ default: Ul
3271
+ }, Symbol.toStringTag, { value: "Module" })), we = {
1988
3272
  request: "request",
1989
3273
  error: "error",
1990
3274
  sql: "SQL"
1991
- }, H = fe.createAutoApi("log", ce, "id", Object.keys(ce), [], []), nl = /* @__PURE__ */ D({
3275
+ }, oe = Ae.createAutoApi("log", we, "id", Object.keys(we), [], []), ql = /* @__PURE__ */ q({
1992
3276
  __name: "index",
1993
- setup(R) {
1994
- const w = {
1995
- dates: [T.getCurrentHour().format(T.DATE_VALUE_FORMAT), T.getCurrentHour(1).format(T.DATE_VALUE_FORMAT)]
1996
- }, y = [{
3277
+ setup(w) {
3278
+ const x = {
3279
+ dates: [O.getCurrentHour().format(O.DATE_VALUE_FORMAT), O.getCurrentHour(1).format(O.DATE_VALUE_FORMAT)]
3280
+ }, g = [{
1997
3281
  label: a("base.sort"),
1998
3282
  type: "index",
1999
3283
  width: 60
@@ -2002,76 +3286,76 @@ const je = /* @__PURE__ */ D({
2002
3286
  prop: "time",
2003
3287
  width: 180,
2004
3288
  render: ({
2005
- rowData: p
2006
- }) => l(z, null, [T.formatDate(p.time)])
3289
+ rowData: m
3290
+ }) => l(W, null, [O.formatDate(m.time)])
2007
3291
  }, {
2008
3292
  label: a("base.url"),
2009
3293
  prop: "url",
2010
3294
  align: "left",
2011
3295
  width: 200
2012
3296
  }], {
2013
- requesting: k
2014
- } = F(H), {
2015
- tableRef: h,
2016
- keyword: _,
2017
- search: m,
2018
- reset: d
2019
- } = P(w);
2020
- return (p, n) => {
2021
- const b = s("el-date-picker"), c = s("el-space"), i = s("el-page-header"), x = s("el-card");
2022
- return E(), q(x, {
3297
+ requesting: h
3298
+ } = F(oe), {
3299
+ tableRef: y,
3300
+ keyword: f,
3301
+ search: i,
3302
+ reset: p
3303
+ } = $(x);
3304
+ return (m, n) => {
3305
+ const V = s("el-date-picker"), u = s("el-space"), c = s("el-page-header"), k = s("el-card");
3306
+ return S(), T(k, {
2023
3307
  class: "basic-card flex-full",
2024
3308
  "body-class": "flex-1"
2025
3309
  }, {
2026
- header: o(() => [l(i, {
3310
+ header: t(() => [l(c, {
2027
3311
  class: "basic-header"
2028
3312
  }, {
2029
- title: o(() => [l(e(B), {
2030
- loading: e(k),
2031
- onRefresh: e(d)
3313
+ title: t(() => [l(e(B), {
3314
+ loading: e(h),
3315
+ onRefresh: e(p)
2032
3316
  }, null, 8, ["loading", "onRefresh"])]),
2033
- content: o(() => [l(c, {
3317
+ content: t(() => [l(u, {
2034
3318
  class: "search-bar"
2035
3319
  }, {
2036
- default: o(() => [l(b, {
2037
- modelValue: e(_).dates,
2038
- "onUpdate:modelValue": n[0] || (n[0] = (v) => e(_).dates = v),
3320
+ default: t(() => [l(V, {
3321
+ modelValue: e(f).dates,
3322
+ "onUpdate:modelValue": n[0] || (n[0] = (v) => e(f).dates = v),
2039
3323
  class: "basic-search-datetimerange",
2040
- "value-format": e(T).DATE_HOUR_FORMAT,
2041
- format: e(T).DATE_SHOW_FORMAT,
3324
+ "value-format": e(O).DATE_HOUR_FORMAT,
3325
+ format: e(O).DATE_SHOW_FORMAT,
2042
3326
  type: "datetimerange",
2043
3327
  "range-separator": "-",
2044
3328
  "start-placeholder": e(a)("base.start_at"),
2045
3329
  "end-placeholder": e(a)("base.end_at"),
2046
3330
  clearable: !1,
2047
- onChange: n[1] || (n[1] = (v) => e(m)())
2048
- }, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(j), {
2049
- disabled: e(k),
2050
- onSearch: n[2] || (n[2] = (v) => e(m)())
3331
+ onChange: n[1] || (n[1] = (v) => e(i)())
3332
+ }, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(Z), {
3333
+ disabled: e(h),
3334
+ onSearch: n[2] || (n[2] = (v) => e(i)())
2051
3335
  }, null, 8, ["disabled"])]),
2052
3336
  _: 1
2053
3337
  })]),
2054
3338
  _: 1
2055
3339
  })]),
2056
- default: o(() => [l(e(pe), {
3340
+ default: t(() => [l(e(re), {
2057
3341
  ref_key: "tableRef",
2058
- ref: h,
3342
+ ref: y,
2059
3343
  size: "small",
2060
- columns: y,
2061
- url: e(H).urls.request,
2062
- "search-param": e(_),
3344
+ columns: g,
3345
+ url: e(oe).urls.request,
3346
+ "search-param": e(f),
2063
3347
  autoSearch: ""
2064
3348
  }, null, 8, ["url", "search-param"])]),
2065
3349
  _: 1
2066
3350
  });
2067
3351
  };
2068
3352
  }
2069
- }), rl = /* @__PURE__ */ D({
3353
+ }), Cl = /* @__PURE__ */ q({
2070
3354
  __name: "index",
2071
- setup(R) {
2072
- const w = {
2073
- dates: [T.getCurrentDate(-7).format(T.DATE_VALUE_FORMAT), T.getCurrentDate(0).format(T.DATE_VALUE_FORMAT)]
2074
- }, y = [{
3355
+ setup(w) {
3356
+ const x = {
3357
+ dates: [O.getCurrentDate(-7).format(O.DATE_VALUE_FORMAT), O.getCurrentDate(0).format(O.DATE_VALUE_FORMAT)]
3358
+ }, g = [{
2075
3359
  label: a("base.sort"),
2076
3360
  type: "index",
2077
3361
  width: 60
@@ -2080,76 +3364,76 @@ const je = /* @__PURE__ */ D({
2080
3364
  prop: "time",
2081
3365
  width: 180,
2082
3366
  render: ({
2083
- rowData: p
2084
- }) => l(z, null, [T.formatDate(p.time)])
3367
+ rowData: m
3368
+ }) => l(W, null, [O.formatDate(m.time)])
2085
3369
  }, {
2086
3370
  label: a("base.url"),
2087
3371
  prop: "url",
2088
3372
  align: "left",
2089
3373
  width: 200
2090
3374
  }], {
2091
- requesting: k
2092
- } = F(H), {
2093
- tableRef: h,
2094
- keyword: _,
2095
- search: m,
2096
- reset: d
2097
- } = P(w);
2098
- return (p, n) => {
2099
- const b = s("el-date-picker"), c = s("el-space"), i = s("el-page-header"), x = s("el-card");
2100
- return E(), q(x, {
3375
+ requesting: h
3376
+ } = F(oe), {
3377
+ tableRef: y,
3378
+ keyword: f,
3379
+ search: i,
3380
+ reset: p
3381
+ } = $(x);
3382
+ return (m, n) => {
3383
+ const V = s("el-date-picker"), u = s("el-space"), c = s("el-page-header"), k = s("el-card");
3384
+ return S(), T(k, {
2101
3385
  class: "basic-card flex-full",
2102
3386
  "body-class": "flex-1"
2103
3387
  }, {
2104
- header: o(() => [l(i, {
3388
+ header: t(() => [l(c, {
2105
3389
  class: "basic-header"
2106
3390
  }, {
2107
- title: o(() => [l(e(B), {
2108
- loading: e(k),
2109
- onRefresh: e(d)
3391
+ title: t(() => [l(e(B), {
3392
+ loading: e(h),
3393
+ onRefresh: e(p)
2110
3394
  }, null, 8, ["loading", "onRefresh"])]),
2111
- content: o(() => [l(c, {
3395
+ content: t(() => [l(u, {
2112
3396
  class: "search-bar"
2113
3397
  }, {
2114
- default: o(() => [l(b, {
2115
- modelValue: e(_).dates,
2116
- "onUpdate:modelValue": n[0] || (n[0] = (v) => e(_).dates = v),
3398
+ default: t(() => [l(V, {
3399
+ modelValue: e(f).dates,
3400
+ "onUpdate:modelValue": n[0] || (n[0] = (v) => e(f).dates = v),
2117
3401
  class: "basic-search-daterange",
2118
- "value-format": e(T).DATE_VALUE_FORMAT,
2119
- format: e(T).DATE_FORMAT,
3402
+ "value-format": e(O).DATE_VALUE_FORMAT,
3403
+ format: e(O).DATE_FORMAT,
2120
3404
  type: "daterange",
2121
3405
  "range-separator": "-",
2122
3406
  "start-placeholder": e(a)("base.start_at"),
2123
3407
  "end-placeholder": e(a)("base.end_at"),
2124
3408
  clearable: !1,
2125
- onChange: n[1] || (n[1] = (v) => e(m)())
2126
- }, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(j), {
2127
- disabled: e(k),
2128
- onSearch: n[2] || (n[2] = (v) => e(m)())
3409
+ onChange: n[1] || (n[1] = (v) => e(i)())
3410
+ }, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(Z), {
3411
+ disabled: e(h),
3412
+ onSearch: n[2] || (n[2] = (v) => e(i)())
2129
3413
  }, null, 8, ["disabled"])]),
2130
3414
  _: 1
2131
3415
  })]),
2132
3416
  _: 1
2133
3417
  })]),
2134
- default: o(() => [l(e(pe), {
3418
+ default: t(() => [l(e(re), {
2135
3419
  ref_key: "tableRef",
2136
- ref: h,
3420
+ ref: y,
2137
3421
  size: "small",
2138
- columns: y,
2139
- url: e(H).urls.error,
2140
- "search-param": e(_),
3422
+ columns: g,
3423
+ url: e(oe).urls.error,
3424
+ "search-param": e(f),
2141
3425
  autoSearch: ""
2142
3426
  }, null, 8, ["url", "search-param"])]),
2143
3427
  _: 1
2144
3428
  });
2145
3429
  };
2146
3430
  }
2147
- }), ul = /* @__PURE__ */ D({
3431
+ }), Ol = /* @__PURE__ */ q({
2148
3432
  __name: "index",
2149
- setup(R) {
2150
- const w = {
2151
- dates: [T.getCurrentDate(-7).format(T.DATE_VALUE_FORMAT), T.getCurrentDate().format(T.DATE_VALUE_FORMAT)]
2152
- }, y = [{
3433
+ setup(w) {
3434
+ const x = {
3435
+ dates: [O.getCurrentDate(-7).format(O.DATE_VALUE_FORMAT), O.getCurrentDate().format(O.DATE_VALUE_FORMAT)]
3436
+ }, g = [{
2153
3437
  label: a("base.sort"),
2154
3438
  type: "index",
2155
3439
  width: 60
@@ -2158,115 +3442,117 @@ const je = /* @__PURE__ */ D({
2158
3442
  prop: "time",
2159
3443
  width: 180,
2160
3444
  render: ({
2161
- rowData: p
2162
- }) => l(z, null, [T.formatDate(p.time)])
3445
+ rowData: m
3446
+ }) => l(W, null, [O.formatDate(m.time)])
2163
3447
  }, {
2164
3448
  label: a("base.url"),
2165
3449
  prop: "url",
2166
3450
  align: "left",
2167
3451
  width: 200
2168
3452
  }], {
2169
- requesting: k
2170
- } = F(H), {
2171
- tableRef: h,
2172
- keyword: _,
2173
- search: m,
2174
- reset: d
2175
- } = P(w);
2176
- return (p, n) => {
2177
- const b = s("el-date-picker"), c = s("el-space"), i = s("el-page-header"), x = s("el-card");
2178
- return E(), q(x, {
3453
+ requesting: h
3454
+ } = F(oe), {
3455
+ tableRef: y,
3456
+ keyword: f,
3457
+ search: i,
3458
+ reset: p
3459
+ } = $(x);
3460
+ return (m, n) => {
3461
+ const V = s("el-date-picker"), u = s("el-space"), c = s("el-page-header"), k = s("el-card");
3462
+ return S(), T(k, {
2179
3463
  class: "basic-card flex-full",
2180
3464
  "body-class": "flex-1"
2181
3465
  }, {
2182
- header: o(() => [l(i, {
3466
+ header: t(() => [l(c, {
2183
3467
  class: "basic-header"
2184
3468
  }, {
2185
- title: o(() => [l(e(B), {
2186
- loading: e(k),
2187
- onRefresh: e(d)
3469
+ title: t(() => [l(e(B), {
3470
+ loading: e(h),
3471
+ onRefresh: e(p)
2188
3472
  }, null, 8, ["loading", "onRefresh"])]),
2189
- content: o(() => [l(c, {
3473
+ content: t(() => [l(u, {
2190
3474
  class: "search-bar"
2191
3475
  }, {
2192
- default: o(() => [l(b, {
2193
- modelValue: e(_).dates,
2194
- "onUpdate:modelValue": n[0] || (n[0] = (v) => e(_).dates = v),
3476
+ default: t(() => [l(V, {
3477
+ modelValue: e(f).dates,
3478
+ "onUpdate:modelValue": n[0] || (n[0] = (v) => e(f).dates = v),
2195
3479
  class: "basic-search-daterange",
2196
- "value-format": e(T).DATE_HOUR_FORMAT,
2197
- format: e(T).DATE_FORMAT,
3480
+ "value-format": e(O).DATE_HOUR_FORMAT,
3481
+ format: e(O).DATE_FORMAT,
2198
3482
  type: "daterange",
2199
3483
  "range-separator": "-",
2200
3484
  "start-placeholder": e(a)("base.start_at"),
2201
3485
  "end-placeholder": e(a)("base.end_at"),
2202
3486
  clearable: !1,
2203
- onChange: n[1] || (n[1] = (v) => e(m)())
2204
- }, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(j), {
2205
- disabled: e(k),
2206
- onSearch: n[2] || (n[2] = (v) => e(m)())
3487
+ onChange: n[1] || (n[1] = (v) => e(i)())
3488
+ }, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(Z), {
3489
+ disabled: e(h),
3490
+ onSearch: n[2] || (n[2] = (v) => e(i)())
2207
3491
  }, null, 8, ["disabled"])]),
2208
3492
  _: 1
2209
3493
  })]),
2210
3494
  _: 1
2211
3495
  })]),
2212
- default: o(() => [l(e(pe), {
3496
+ default: t(() => [l(e(re), {
2213
3497
  ref_key: "tableRef",
2214
- ref: h,
3498
+ ref: y,
2215
3499
  size: "small",
2216
- columns: y,
2217
- url: e(H).urls.sql,
2218
- "search-param": e(_),
3500
+ columns: g,
3501
+ url: e(oe).urls.sql,
3502
+ "search-param": e(f),
2219
3503
  autoSearch: ""
2220
3504
  }, null, 8, ["url", "search-param"])]),
2221
3505
  _: 1
2222
3506
  });
2223
3507
  };
2224
3508
  }
2225
- }), el = () => import("./index-SHsqnbNG.js"), ll = () => import("./index-CJMTIvHk.js"), al = () => import("./index-BMn8mAns.js"), sl = [
3509
+ }), Ml = () => import("./index-SHsqnbNG.js"), Sl = () => import("./index-CJMTIvHk.js"), Dl = () => import("./index-BMn8mAns.js"), El = [
2226
3510
  {
2227
- path: Le,
3511
+ path: Be,
2228
3512
  name: "RequestLog",
2229
- component: el,
3513
+ component: Ml,
2230
3514
  meta: {
2231
3515
  title: a("menu.RequestLog")
2232
3516
  }
2233
3517
  },
2234
3518
  {
2235
- path: Ee,
3519
+ path: Ne,
2236
3520
  name: "ErrorLog",
2237
- component: ll,
3521
+ component: Sl,
2238
3522
  meta: {
2239
3523
  title: a("menu.ErrorLog")
2240
3524
  }
2241
3525
  },
2242
3526
  {
2243
- path: Se,
3527
+ path: je,
2244
3528
  name: "SqlLog",
2245
- component: al,
3529
+ component: Dl,
2246
3530
  meta: {
2247
3531
  title: a("menu.SqlLog")
2248
3532
  }
2249
3533
  }
2250
- ], dl = {
2251
- install: (R) => {
2252
- Reflect.ownKeys(R._context.provides).some((w) => String(w) === "Symbol(pinia)") || console.warn("Pinia is not provided. Please install and provide Pinia in your app."), console.warn(Reflect.ownKeys(R._context.provides));
3534
+ ], Fl = {
3535
+ install: (w) => {
3536
+ Reflect.ownKeys(w._context.provides).some((x) => String(x) === "Symbol(pinia)") || console.warn("Pinia is not provided. Please install and provide Pinia in your app."), console.warn(Reflect.ownKeys(w._context.provides));
2253
3537
  },
2254
3538
  version: "__VERSION__"
2255
- }, pl = /* @__PURE__ */ Object.assign({
2256
- "./views/admin/index.vue": Oe,
2257
- "./views/language/index.vue": $e,
2258
- "./views/menu/index.vue": Ie,
2259
- "./views/role/index.vue": Ze
3539
+ }, $l = /* @__PURE__ */ Object.assign({
3540
+ "./views/admin/index.vue": Ye,
3541
+ "./views/config/index.vue": ul,
3542
+ "./views/language/index.vue": ml,
3543
+ "./views/menu/index.vue": yl,
3544
+ "./views/role/index.vue": Al
2260
3545
  });
2261
3546
  export {
2262
- Te as AdminsPage,
2263
- rl as ErrorLogsPage,
2264
- De as LanguagesPage,
2265
- sl as LogRoutes,
2266
- je as MenusPage,
2267
- nl as RequestLogsPage,
2268
- Xe as RolesPage,
2269
- ul as SQLLogsPage,
2270
- pl as basicModules,
2271
- dl as default
3547
+ We as AdminsPage,
3548
+ sl as ConfigPage,
3549
+ Cl as ErrorLogsPage,
3550
+ pl as LanguagesPage,
3551
+ El as LogRoutes,
3552
+ Vl as MenusPage,
3553
+ ql as RequestLogsPage,
3554
+ Ul as RolesPage,
3555
+ Ol as SQLLogsPage,
3556
+ $l as basicModules,
3557
+ Fl as default
2272
3558
  };