auto-vue-basic 0.0.51 → 0.0.53

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 q, ref as j, onBeforeMount as Me, resolveComponent as s, createBlock as T, openBlock as D, unref as e, isRef as z, withCtx as t, createVNode as l, createTextVNode as J, createElementBlock as G, Fragment as K, renderList as re, toDisplayString as Q, withKeys as me, createElementVNode as N, toRef as oe, normalizeClass as ve, isVNode as De, reactive as Se, onMounted as Le, watch as Te, nextTick as qe, createCommentVNode as Oe } from "vue";
2
- import { createAutoApi as W, useForm as Y, Translate as a, RulesUtils as Ce, FormDialog as H, BasicAvatar as Ee, ModifyButton as X, useCrudPage as $, useLoading as F, ProTable as se, DEFAULT_PAGE_KEY as ce, SearchButton as Z, RefreshButton as B, OpenButton as I, DEFAULT_STATUS_KEY as xe, AutoApiUtils as we, useSelect as te, InlineRefreshButton as ue, DEFAULT_REMOVE_KEY as Fe, TimeUtils as C, BasicDrawer as _e, ProTableList as ne, RequestButton as be, AssetsUtils as $e, notification as ze, DEFAULT_LIST_URL as Pe, REQUEST_LOG_URL as Be, ERROR_LOG_URL as Ie, SQL_LOG_URL as Ne } from "auto-vue-manual";
3
- const fe = W("admin", {}, "key"), pe = W("role", {}, "key"), je = /* @__PURE__ */ q({
1
+ import { defineComponent as q, ref as N, onBeforeMount as Me, resolveComponent as s, createBlock as T, openBlock as L, unref as e, isRef as z, withCtx as t, createVNode as l, createTextVNode as X, createElementBlock as Q, Fragment as W, renderList as re, toDisplayString as Y, withKeys as be, createElementVNode as j, toRef as te, normalizeClass as ye, isVNode as Ae, reactive as De, onMounted as Le, watch as Se, nextTick as Te, createCommentVNode as qe } from "vue";
2
+ import { ApiUtils as K, useForm as H, Translate as a, RulesUtils as Oe, FormDialog as G, BasicAvatar as Ce, ModifyButton as J, useCrudPage as F, useLoading as $, ProTable as ie, DEFAULT_PAGE_KEY as fe, SearchButton as Z, RefreshButton as P, OpenButton as B, DEFAULT_STATUS_KEY as ke, useSelect as ne, InlineRefreshButton as pe, DEFAULT_REMOVE_KEY as Ee, TimeUtils as C, BasicDrawer as _e, ProTableList as ee, RequestButton as de, AssetsUtils as ve, notification as Fe, DEFAULT_LIST_URL as $e, REQUEST_LOG_URL as ze, ERROR_LOG_URL as Pe, SQL_LOG_URL as Be } from "auto-vue-manual";
3
+ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie = /* @__PURE__ */ q({
4
4
  __name: "AdminFormModal",
5
5
  emits: ["refresh"],
6
- setup(R, { expose: v, emit: h }) {
7
- const g = h, V = {
6
+ setup(M, { expose: w, emit: V }) {
7
+ const g = V, h = {
8
8
  key: "",
9
9
  username: "",
10
10
  password: "",
@@ -13,7 +13,7 @@ const fe = W("admin", {}, "key"), pe = W("role", {}, "key"), je = /* @__PURE__ *
13
13
  language: "zh-CN",
14
14
  remark: "",
15
15
  roles: []
16
- }, { modal: f, title: p, form: i, formData: c, requesting: n, executing: y, open: u, modify: _, submit: m, closed: w } = Y(g, V, fe), U = {
16
+ }, { modal: b, title: p, form: i, formData: c, requesting: n, executing: v, open: u, modify: f, submit: m, closed: R } = H(g, h, ge), U = {
17
17
  username: [
18
18
  {
19
19
  required: !0,
@@ -24,7 +24,7 @@ const fe = W("admin", {}, "key"), pe = W("role", {}, "key"), je = /* @__PURE__ *
24
24
  phone: [
25
25
  {
26
26
  required: !0,
27
- validator: Ce.phoneRule,
27
+ validator: Oe.phoneRule,
28
28
  message: a("base.placeholder.input base.phone"),
29
29
  trigger: "blur"
30
30
  }
@@ -58,24 +58,24 @@ const fe = W("admin", {}, "key"), pe = W("role", {}, "key"), je = /* @__PURE__ *
58
58
  trigger: "change"
59
59
  }
60
60
  ]
61
- }, x = j([]), o = async () => {
62
- const r = await pe.list();
63
- x.value = Array.isArray(r == null ? void 0 : r.data) ? r.data : [];
61
+ }, k = N([]), o = async () => {
62
+ const r = await ce.list();
63
+ k.value = Array.isArray(r == null ? void 0 : r.data) ? r.data : [];
64
64
  };
65
65
  return Me(async () => {
66
66
  await o();
67
- }), v({
67
+ }), w({
68
68
  open: u,
69
- modify: _
69
+ modify: f
70
70
  }), (r, d) => {
71
- const k = s("el-input"), b = s("el-form-item"), S = s("el-radio-button"), M = s("el-radio-group"), L = s("el-checkbox"), A = s("el-checkbox-group"), O = s("el-form");
72
- return D(), T(e(H), {
73
- modelValue: e(f),
74
- "onUpdate:modelValue": d[7] || (d[7] = (E) => z(f) ? f.value = E : null),
71
+ const y = s("el-input"), _ = s("el-form-item"), D = s("el-radio-button"), x = s("el-radio-group"), S = s("el-checkbox"), A = s("el-checkbox-group"), O = s("el-form");
72
+ return L(), T(e(G), {
73
+ modelValue: e(b),
74
+ "onUpdate:modelValue": d[7] || (d[7] = (E) => z(b) ? b.value = E : null),
75
75
  title: e(p)(),
76
76
  width: "600px",
77
- executing: e(y),
78
- onClosed: e(w),
77
+ executing: e(v),
78
+ onClosed: e(R),
79
79
  onSubmit: e(m)
80
80
  }, {
81
81
  default: t(() => [
@@ -85,15 +85,15 @@ const fe = W("admin", {}, "key"), pe = W("role", {}, "key"), je = /* @__PURE__ *
85
85
  model: e(c),
86
86
  "label-width": "auto",
87
87
  rules: U,
88
- disabled: e(n) || e(y)
88
+ disabled: e(n) || e(v)
89
89
  }, {
90
90
  default: t(() => [
91
- l(b, {
91
+ l(_, {
92
92
  label: e(a)("base.username"),
93
93
  prop: "username"
94
94
  }, {
95
95
  default: t(() => [
96
- l(k, {
96
+ l(y, {
97
97
  modelValue: e(c).username,
98
98
  "onUpdate:modelValue": d[0] || (d[0] = (E) => e(c).username = E),
99
99
  placeholder: e(a)("base.placeholder.input"),
@@ -102,12 +102,12 @@ const fe = W("admin", {}, "key"), pe = W("role", {}, "key"), je = /* @__PURE__ *
102
102
  ]),
103
103
  _: 1
104
104
  }, 8, ["label"]),
105
- l(b, {
105
+ l(_, {
106
106
  label: e(a)("base.phone"),
107
107
  prop: "phone"
108
108
  }, {
109
109
  default: t(() => [
110
- l(k, {
110
+ l(y, {
111
111
  modelValue: e(c).phone,
112
112
  "onUpdate:modelValue": d[1] || (d[1] = (E) => e(c).phone = E),
113
113
  placeholder: e(a)("base.placeholder.input"),
@@ -116,13 +116,13 @@ const fe = W("admin", {}, "key"), pe = W("role", {}, "key"), je = /* @__PURE__ *
116
116
  ]),
117
117
  _: 1
118
118
  }, 8, ["label"]),
119
- l(b, {
119
+ l(_, {
120
120
  label: e(a)("base.password"),
121
121
  prop: "password",
122
122
  required: !e(c).key
123
123
  }, {
124
124
  default: t(() => [
125
- l(k, {
125
+ l(y, {
126
126
  modelValue: e(c).password,
127
127
  "onUpdate:modelValue": d[2] || (d[2] = (E) => e(c).password = E),
128
128
  placeholder: e(a)("base.placeholder.input"),
@@ -131,12 +131,12 @@ const fe = W("admin", {}, "key"), pe = W("role", {}, "key"), je = /* @__PURE__ *
131
131
  ]),
132
132
  _: 1
133
133
  }, 8, ["label", "required"]),
134
- l(b, {
134
+ l(_, {
135
135
  label: e(a)("base.email"),
136
136
  prop: "email"
137
137
  }, {
138
138
  default: t(() => [
139
- l(k, {
139
+ l(y, {
140
140
  modelValue: e(c).email,
141
141
  "onUpdate:modelValue": d[3] || (d[3] = (E) => e(c).email = E),
142
142
  placeholder: e(a)("base.placeholder.input"),
@@ -145,26 +145,26 @@ const fe = W("admin", {}, "key"), pe = W("role", {}, "key"), je = /* @__PURE__ *
145
145
  ]),
146
146
  _: 1
147
147
  }, 8, ["label"]),
148
- l(b, {
148
+ l(_, {
149
149
  label: e(a)("base.language"),
150
150
  prop: "language"
151
151
  }, {
152
152
  default: t(() => [
153
- l(M, {
153
+ l(x, {
154
154
  modelValue: e(c).language,
155
155
  "onUpdate:modelValue": d[4] || (d[4] = (E) => e(c).language = E)
156
156
  }, {
157
157
  default: t(() => [
158
- l(S, { value: "zh-CN" }, {
158
+ l(D, { value: "zh-CN" }, {
159
159
  default: t(() => d[8] || (d[8] = [
160
- J("zh-CN")
160
+ X("zh-CN")
161
161
  ])),
162
162
  _: 1,
163
163
  __: [8]
164
164
  }),
165
- l(S, { value: "en-US" }, {
165
+ l(D, { value: "en-US" }, {
166
166
  default: t(() => d[9] || (d[9] = [
167
- J("en-US")
167
+ X("en-US")
168
168
  ])),
169
169
  _: 1,
170
170
  __: [9]
@@ -175,7 +175,7 @@ const fe = W("admin", {}, "key"), pe = W("role", {}, "key"), je = /* @__PURE__ *
175
175
  ]),
176
176
  _: 1
177
177
  }, 8, ["label"]),
178
- l(b, {
178
+ l(_, {
179
179
  label: e(a)("menu.Role"),
180
180
  prop: "roles"
181
181
  }, {
@@ -185,12 +185,12 @@ const fe = W("admin", {}, "key"), pe = W("role", {}, "key"), je = /* @__PURE__ *
185
185
  "onUpdate:modelValue": d[5] || (d[5] = (E) => e(c).roles = E)
186
186
  }, {
187
187
  default: t(() => [
188
- (D(!0), G(K, null, re(x.value, (E) => (D(), T(L, {
188
+ (L(!0), Q(W, null, re(k.value, (E) => (L(), T(S, {
189
189
  key: E.key,
190
190
  value: E.key
191
191
  }, {
192
192
  default: t(() => [
193
- J(Q(E.translate), 1)
193
+ X(Y(E.translate), 1)
194
194
  ]),
195
195
  _: 2
196
196
  }, 1032, ["value"]))), 128))
@@ -200,12 +200,12 @@ const fe = W("admin", {}, "key"), pe = W("role", {}, "key"), je = /* @__PURE__ *
200
200
  ]),
201
201
  _: 1
202
202
  }, 8, ["label"]),
203
- l(b, {
203
+ l(_, {
204
204
  label: e(a)("base.remark"),
205
205
  prop: "remark"
206
206
  }, {
207
207
  default: t(() => [
208
- l(k, {
208
+ l(y, {
209
209
  modelValue: e(c).remark,
210
210
  "onUpdate:modelValue": d[6] || (d[6] = (E) => e(c).remark = E),
211
211
  placeholder: e(a)("base.placeholder.input")
@@ -221,31 +221,31 @@ const fe = W("admin", {}, "key"), pe = W("role", {}, "key"), je = /* @__PURE__ *
221
221
  }, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
222
222
  };
223
223
  }
224
- }), Ke = /* @__PURE__ */ q({
224
+ }), Ne = /* @__PURE__ */ q({
225
225
  __name: "index",
226
- setup(R) {
227
- const v = {
226
+ setup(M) {
227
+ const w = {
228
228
  keyword: ""
229
- }, h = [{
229
+ }, V = [{
230
230
  label: a("base.avatar"),
231
231
  prop: "avatar",
232
232
  width: 60,
233
233
  render: ({
234
- row: _
235
- }) => l(Ee, {
236
- src: _.avatar
234
+ row: f
235
+ }) => l(Ce, {
236
+ src: f.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: _
243
+ row: f
244
244
  }) => l(s("el-space"), {
245
245
  direction: "vertical",
246
246
  alignment: "start"
247
247
  }, {
248
- default: () => [l("div", null, [_.username]), l("div", null, [_.email])]
248
+ default: () => [l("div", null, [f.username]), l("div", null, [f.email])]
249
249
  })
250
250
  }, {
251
251
  label: a("base.phone"),
@@ -273,49 +273,49 @@ const fe = W("admin", {}, "key"), pe = W("role", {}, "key"), je = /* @__PURE__ *
273
273
  width: 80,
274
274
  align: "center",
275
275
  render: ({
276
- row: _
277
- }) => l(X, {
276
+ row: f
277
+ }) => l(J, {
278
278
  onModify: () => u({
279
- key: _.key
279
+ key: f.key
280
280
  })
281
281
  }, null)
282
282
  }], {
283
283
  requesting: g
284
- } = F(fe), {
285
- tableRef: V,
286
- formModalRef: f,
284
+ } = $(ge), {
285
+ tableRef: h,
286
+ formModalRef: b,
287
287
  keyword: p,
288
288
  search: i,
289
289
  reset: c,
290
290
  refresh: n,
291
- openFormModal: y,
291
+ openFormModal: v,
292
292
  editFormModal: u
293
- } = $(v);
294
- return (_, m) => {
295
- const w = s("el-input"), U = s("el-space"), x = s("el-page-header"), o = s("el-card");
296
- return D(), T(o, {
293
+ } = F(w);
294
+ return (f, m) => {
295
+ const R = s("el-input"), U = s("el-space"), k = s("el-page-header"), o = s("el-card");
296
+ return L(), T(o, {
297
297
  class: "basic-card flex-full",
298
298
  "body-class": "flex-1"
299
299
  }, {
300
- header: t(() => [l(x, {
300
+ header: t(() => [l(k, {
301
301
  class: "basic-header"
302
302
  }, {
303
- title: t(() => [l(e(B), {
303
+ title: t(() => [l(e(P), {
304
304
  loading: e(g),
305
305
  onRefresh: e(c)
306
- }, null, 8, ["loading", "onRefresh"]), l(e(I), {
307
- onOpen: e(y)
306
+ }, null, 8, ["loading", "onRefresh"]), l(e(B), {
307
+ onOpen: e(v)
308
308
  }, null, 8, ["onOpen"])]),
309
309
  content: t(() => [l(U, {
310
310
  class: "search-bar"
311
311
  }, {
312
- default: t(() => [l(w, {
312
+ default: t(() => [l(R, {
313
313
  class: "basic-search-input",
314
314
  modelValue: e(p).keyword,
315
315
  "onUpdate:modelValue": m[0] || (m[0] = (r) => e(p).keyword = r),
316
316
  placeholder: e(a)("base.placeholder.keyword"),
317
317
  clearable: "",
318
- onKeyup: m[1] || (m[1] = me((r) => e(i)(), ["enter"])),
318
+ onKeyup: m[1] || (m[1] = be((r) => e(i)(), ["enter"])),
319
319
  onClear: m[2] || (m[2] = (r) => e(i)())
320
320
  }, null, 8, ["modelValue", "placeholder"]), l(e(Z), {
321
321
  disabled: e(g),
@@ -325,38 +325,38 @@ const fe = W("admin", {}, "key"), pe = W("role", {}, "key"), je = /* @__PURE__ *
325
325
  })]),
326
326
  _: 1
327
327
  })]),
328
- default: t(() => [l(e(se), {
328
+ default: t(() => [l(e(ie), {
329
329
  ref_key: "tableRef",
330
- ref: V,
330
+ ref: h,
331
331
  size: "small",
332
- columns: h,
333
- url: e(fe).urls[e(ce)],
332
+ columns: V,
333
+ url: e(ge).urls[e(fe)],
334
334
  "search-param": e(p),
335
335
  autoSearch: ""
336
- }, null, 8, ["url", "search-param"]), l(je, {
336
+ }, null, 8, ["url", "search-param"]), l(Ie, {
337
337
  ref_key: "formModalRef",
338
- ref: f,
338
+ ref: b,
339
339
  onRefresh: e(n)
340
340
  }, null, 8, ["onRefresh"])]),
341
341
  _: 1
342
342
  });
343
343
  };
344
344
  }
345
- }), We = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
345
+ }), je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
346
346
  __proto__: null,
347
- default: Ke
348
- }, Symbol.toStringTag, { value: "Module" })), ie = W("translation", {}, "key"), Ye = /* @__PURE__ */ q({
347
+ default: Ne
348
+ }, Symbol.toStringTag, { value: "Module" })), me = K.routineApi("translation", "key"), Ke = /* @__PURE__ */ q({
349
349
  __name: "LangFormModal",
350
350
  emits: ["refresh"],
351
- setup(R, { expose: v, emit: h }) {
352
- const g = h, V = {
351
+ setup(M, { expose: w, emit: V }) {
352
+ const g = V, h = {
353
353
  id: 0,
354
354
  key: "",
355
355
  module: "",
356
356
  language: "",
357
357
  result: "",
358
358
  remark: ""
359
- }, f = {
359
+ }, b = {
360
360
  module: [
361
361
  {
362
362
  required: !0,
@@ -385,29 +385,29 @@ const fe = W("admin", {}, "key"), pe = W("role", {}, "key"), je = /* @__PURE__ *
385
385
  trigger: "blur"
386
386
  }
387
387
  ]
388
- }, { modal: p, title: i, form: c, formData: n, requesting: y, executing: u, open: _, modify: m, submit: w, closed: U } = Y(g, V, ie);
389
- return v({
390
- open: _,
388
+ }, { modal: p, title: i, form: c, formData: n, requesting: v, executing: u, open: f, modify: m, submit: R, closed: U } = H(g, h, me);
389
+ return w({
390
+ open: f,
391
391
  modify: m
392
- }), (x, o) => {
393
- const r = s("el-input"), d = s("el-form-item"), k = s("el-radio-button"), b = s("el-radio-group"), S = s("el-form");
394
- return D(), T(e(H), {
392
+ }), (k, o) => {
393
+ const r = s("el-input"), d = s("el-form-item"), y = s("el-radio-button"), _ = s("el-radio-group"), D = s("el-form");
394
+ return L(), T(e(G), {
395
395
  modelValue: e(p),
396
- "onUpdate:modelValue": o[5] || (o[5] = (M) => z(p) ? p.value = M : null),
396
+ "onUpdate:modelValue": o[5] || (o[5] = (x) => z(p) ? p.value = x : null),
397
397
  title: e(i)(),
398
398
  width: "600px",
399
399
  executing: e(u),
400
400
  onClosed: e(U),
401
- onSubmit: e(w)
401
+ onSubmit: e(R)
402
402
  }, {
403
403
  default: t(() => [
404
- l(S, {
404
+ l(D, {
405
405
  ref_key: "form",
406
406
  ref: c,
407
407
  model: e(n),
408
408
  "label-width": "auto",
409
- rules: f,
410
- disabled: e(y) || e(u)
409
+ rules: b,
410
+ disabled: e(v) || e(u)
411
411
  }, {
412
412
  default: t(() => [
413
413
  l(d, {
@@ -418,7 +418,7 @@ const fe = W("admin", {}, "key"), pe = W("role", {}, "key"), je = /* @__PURE__ *
418
418
  default: t(() => [
419
419
  l(r, {
420
420
  modelValue: e(n).module,
421
- "onUpdate:modelValue": o[0] || (o[0] = (M) => e(n).module = M),
421
+ "onUpdate:modelValue": o[0] || (o[0] = (x) => e(n).module = x),
422
422
  placeholder: e(a)("language.placeholder.module")
423
423
  }, null, 8, ["modelValue", "placeholder"])
424
424
  ]),
@@ -432,7 +432,7 @@ const fe = W("admin", {}, "key"), pe = W("role", {}, "key"), je = /* @__PURE__ *
432
432
  default: t(() => [
433
433
  l(r, {
434
434
  modelValue: e(n).key,
435
- "onUpdate:modelValue": o[1] || (o[1] = (M) => e(n).key = M),
435
+ "onUpdate:modelValue": o[1] || (o[1] = (x) => e(n).key = x),
436
436
  placeholder: e(a)("language.placeholder.key")
437
437
  }, null, 8, ["modelValue", "placeholder"])
438
438
  ]),
@@ -444,21 +444,21 @@ const fe = W("admin", {}, "key"), pe = W("role", {}, "key"), je = /* @__PURE__ *
444
444
  required: ""
445
445
  }, {
446
446
  default: t(() => [
447
- l(b, {
447
+ l(_, {
448
448
  modelValue: e(n).language,
449
- "onUpdate:modelValue": o[2] || (o[2] = (M) => e(n).language = M)
449
+ "onUpdate:modelValue": o[2] || (o[2] = (x) => e(n).language = x)
450
450
  }, {
451
451
  default: t(() => [
452
- l(k, { label: "zh-CN" }, {
452
+ l(y, { label: "zh-CN" }, {
453
453
  default: t(() => o[6] || (o[6] = [
454
- J("zh-CN")
454
+ X("zh-CN")
455
455
  ])),
456
456
  _: 1,
457
457
  __: [6]
458
458
  }),
459
- l(k, { label: "en-US" }, {
459
+ l(y, { label: "en-US" }, {
460
460
  default: t(() => o[7] || (o[7] = [
461
- J("en-US")
461
+ X("en-US")
462
462
  ])),
463
463
  _: 1,
464
464
  __: [7]
@@ -477,7 +477,7 @@ const fe = W("admin", {}, "key"), pe = W("role", {}, "key"), je = /* @__PURE__ *
477
477
  default: t(() => [
478
478
  l(r, {
479
479
  modelValue: e(n).result,
480
- "onUpdate:modelValue": o[3] || (o[3] = (M) => e(n).result = M),
480
+ "onUpdate:modelValue": o[3] || (o[3] = (x) => e(n).result = x),
481
481
  placeholder: e(a)("language.placeholder.result")
482
482
  }, null, 8, ["modelValue", "placeholder"])
483
483
  ]),
@@ -490,7 +490,7 @@ const fe = W("admin", {}, "key"), pe = W("role", {}, "key"), je = /* @__PURE__ *
490
490
  default: t(() => [
491
491
  l(r, {
492
492
  modelValue: e(n).remark,
493
- "onUpdate:modelValue": o[4] || (o[4] = (M) => e(n).remark = M),
493
+ "onUpdate:modelValue": o[4] || (o[4] = (x) => e(n).remark = x),
494
494
  placeholder: e(a)("base.placeholder.input")
495
495
  }, null, 8, ["modelValue", "placeholder"])
496
496
  ]),
@@ -504,13 +504,13 @@ const fe = W("admin", {}, "key"), pe = W("role", {}, "key"), je = /* @__PURE__ *
504
504
  }, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
505
505
  };
506
506
  }
507
- }), He = /* @__PURE__ */ q({
507
+ }), We = /* @__PURE__ */ q({
508
508
  __name: "index",
509
- setup(R) {
510
- const v = {
509
+ setup(M) {
510
+ const w = {
511
511
  keyword: "",
512
512
  status: 0
513
- }, h = [{
513
+ }, V = [{
514
514
  label: a("base.module"),
515
515
  prop: "module",
516
516
  width: 120
@@ -534,7 +534,7 @@ const fe = W("admin", {}, "key"), pe = W("role", {}, "key"), je = /* @__PURE__ *
534
534
  props: {
535
535
  activeValue: 1,
536
536
  inactiveValue: 2,
537
- api: ie.urls[xe],
537
+ api: me.urls[ke],
538
538
  refresh: !0
539
539
  }
540
540
  }, {
@@ -555,110 +555,110 @@ const fe = W("admin", {}, "key"), pe = W("role", {}, "key"), je = /* @__PURE__ *
555
555
  width: 80,
556
556
  align: "center",
557
557
  render: ({
558
- row: _
559
- }) => l(X, {
558
+ row: f
559
+ }) => l(J, {
560
560
  onModify: () => u({
561
- id: _.id
561
+ id: f.id
562
562
  })
563
563
  }, null)
564
564
  }], {
565
565
  requesting: g
566
- } = F(ie), {
567
- tableRef: V,
568
- formModalRef: f,
566
+ } = $(me), {
567
+ tableRef: h,
568
+ formModalRef: b,
569
569
  keyword: p,
570
570
  search: i,
571
571
  reset: c,
572
572
  refresh: n,
573
- openFormModal: y,
573
+ openFormModal: v,
574
574
  editFormModal: u
575
- } = $(v);
576
- return (_, m) => {
577
- const w = s("el-input"), U = s("el-radio-button"), x = s("el-radio-group"), o = s("el-space"), r = s("el-page-header"), d = s("el-card");
578
- return D(), T(d, {
575
+ } = F(w);
576
+ return (f, m) => {
577
+ const R = s("el-input"), U = s("el-radio-button"), k = s("el-radio-group"), o = s("el-space"), r = s("el-page-header"), d = s("el-card");
578
+ return L(), T(d, {
579
579
  class: "basic-card flex-full",
580
580
  "body-class": "flex-1"
581
581
  }, {
582
582
  header: t(() => [l(r, {
583
583
  class: "basic-header"
584
584
  }, {
585
- title: t(() => [l(e(B), {
585
+ title: t(() => [l(e(P), {
586
586
  loading: e(g),
587
587
  onRefresh: e(c)
588
- }, null, 8, ["loading", "onRefresh"]), l(e(I), {
589
- onOpen: e(y)
588
+ }, null, 8, ["loading", "onRefresh"]), l(e(B), {
589
+ onOpen: e(v)
590
590
  }, null, 8, ["onOpen"])]),
591
591
  content: t(() => [l(o, {
592
592
  class: "search-bar"
593
593
  }, {
594
- default: t(() => [l(w, {
594
+ default: t(() => [l(R, {
595
595
  class: "basic-search-input",
596
596
  modelValue: e(p).keyword,
597
- "onUpdate:modelValue": m[0] || (m[0] = (k) => e(p).keyword = k),
597
+ "onUpdate:modelValue": m[0] || (m[0] = (y) => e(p).keyword = y),
598
598
  placeholder: e(a)("base.placeholder.keyword"),
599
599
  clearable: "",
600
- onKeyup: m[1] || (m[1] = me((k) => e(i)(), ["enter"])),
601
- onClear: m[2] || (m[2] = (k) => e(i)())
602
- }, null, 8, ["modelValue", "placeholder"]), l(x, {
600
+ onKeyup: m[1] || (m[1] = be((y) => e(i)(), ["enter"])),
601
+ onClear: m[2] || (m[2] = (y) => e(i)())
602
+ }, null, 8, ["modelValue", "placeholder"]), l(k, {
603
603
  modelValue: e(p).status,
604
- "onUpdate:modelValue": m[3] || (m[3] = (k) => e(p).status = k),
605
- onChange: m[4] || (m[4] = (k) => e(i)())
604
+ "onUpdate:modelValue": m[3] || (m[3] = (y) => e(p).status = y),
605
+ onChange: m[4] || (m[4] = (y) => e(i)())
606
606
  }, {
607
- default: t(() => [(D(), G(K, null, re([0, 1, 2], (k) => l(U, {
608
- key: k,
609
- label: e(a)(`base.DISABLE_ENABLE.${k}`),
610
- value: k
607
+ default: t(() => [(L(), Q(W, null, re([0, 1, 2], (y) => l(U, {
608
+ key: y,
609
+ label: e(a)(`base.DISABLE_ENABLE.${y}`),
610
+ value: y
611
611
  }, null, 8, ["label", "value"])), 64))]),
612
612
  _: 1
613
613
  }, 8, ["modelValue"]), l(e(Z), {
614
614
  disabled: e(g),
615
- onSearch: m[5] || (m[5] = (k) => e(i)())
615
+ onSearch: m[5] || (m[5] = (y) => e(i)())
616
616
  }, null, 8, ["disabled"])]),
617
617
  _: 1
618
618
  })]),
619
619
  _: 1
620
620
  })]),
621
- default: t(() => [l(e(se), {
621
+ default: t(() => [l(e(ie), {
622
622
  ref_key: "tableRef",
623
- ref: V,
623
+ ref: h,
624
624
  size: "small",
625
- columns: h,
626
- url: e(ie).urls[e(ce)],
625
+ columns: V,
626
+ url: e(me).urls[e(fe)],
627
627
  "search-param": e(p),
628
628
  autoSearch: ""
629
- }, null, 8, ["url", "search-param"]), l(Ye, {
629
+ }, null, 8, ["url", "search-param"]), l(Ke, {
630
630
  ref_key: "formModalRef",
631
- ref: f,
631
+ ref: b,
632
632
  onRefresh: e(n)
633
633
  }, null, 8, ["onRefresh"])]),
634
634
  _: 1
635
635
  });
636
636
  };
637
637
  }
638
- }), Ge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
638
+ }), Ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
639
639
  __proto__: null,
640
- default: He
641
- }, Symbol.toStringTag, { value: "Module" })), ge = {
640
+ default: We
641
+ }, Symbol.toStringTag, { value: "Module" })), He = {
642
642
  tops: "tops",
643
643
  rules: "rules"
644
- }, P = we.createAutoApi("menu", ge, "id", Object.keys(ge), [], ["TOP_MENU_LIST", "MENU_LIST"]), Re = W("rule", {}, "key");
644
+ }, I = K.routineApi("menu", "id", He, {}, ["TOP_MENU_LIST", "MENU_LIST"]), we = K.routineApi("rule", "key");
645
645
  /*! Element Plus Icons Vue v2.3.1 */
646
- var Qe = /* @__PURE__ */ q({
646
+ var Ge = /* @__PURE__ */ q({
647
647
  name: "Key",
648
648
  __name: "key",
649
- setup(R) {
650
- return (v, h) => (D(), G("svg", {
649
+ setup(M) {
650
+ return (w, V) => (L(), Q("svg", {
651
651
  xmlns: "http://www.w3.org/2000/svg",
652
652
  viewBox: "0 0 1024 1024"
653
653
  }, [
654
- N("path", {
654
+ j("path", {
655
655
  fill: "currentColor",
656
656
  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"
657
657
  })
658
658
  ]));
659
659
  }
660
- }), Je = Qe;
661
- const Xe = /* @__PURE__ */ q({
660
+ }), Qe = Ge;
661
+ const Je = /* @__PURE__ */ q({
662
662
  __name: "TopMenuSelect",
663
663
  props: {
664
664
  modelValue: {
@@ -671,50 +671,50 @@ const Xe = /* @__PURE__ */ q({
671
671
  }
672
672
  },
673
673
  emits: ["update:modelValue", "change"],
674
- setup(R, {
675
- emit: v
674
+ setup(M, {
675
+ emit: w
676
676
  }) {
677
- const h = v, g = R, {
678
- requesting: V
679
- } = F(P), {
680
- value: f,
677
+ const V = w, g = M, {
678
+ requesting: h
679
+ } = $(I), {
680
+ value: b,
681
681
  options: p,
682
682
  change: i,
683
683
  refresh: c,
684
684
  filterOptions: n
685
- } = te(oe(g, "modelValue"), h, {
685
+ } = ne(te(g, "modelValue"), V, {
686
686
  key: "TOP_MENU_LIST",
687
- api: P,
688
- url: P.urls.tops,
687
+ api: I,
688
+ url: I.urls.tops,
689
689
  isArray: !0
690
690
  });
691
- return (y, u) => {
692
- const _ = s("el-select-v2");
693
- return D(), T(_, {
691
+ return (v, u) => {
692
+ const f = s("el-select-v2");
693
+ return L(), T(f, {
694
694
  class: "w-full",
695
- modelValue: e(f),
696
- "onUpdate:modelValue": u[1] || (u[1] = (m) => z(f) ? f.value = m : null),
695
+ modelValue: e(b),
696
+ "onUpdate:modelValue": u[1] || (u[1] = (m) => z(b) ? b.value = m : null),
697
697
  options: e(p),
698
- multiple: R.multiple,
699
- disabled: e(V),
698
+ multiple: M.multiple,
699
+ disabled: e(h),
700
700
  placeholder: e(a)("base.placeholder.select"),
701
701
  filterable: "",
702
702
  filterOptions: e(n),
703
703
  onChange: e(i)
704
704
  }, {
705
- prefix: t(() => [l(e(ue), {
706
- loading: e(V),
705
+ prefix: t(() => [l(e(pe), {
706
+ loading: e(h),
707
707
  onRefresh: u[0] || (u[0] = (m) => e(c)(!0))
708
708
  }, null, 8, ["loading"])]),
709
709
  _: 1
710
710
  }, 8, ["modelValue", "options", "multiple", "disabled", "placeholder", "filterOptions", "onChange"]);
711
711
  };
712
712
  }
713
- }), Ze = /* @__PURE__ */ q({
713
+ }), Xe = /* @__PURE__ */ q({
714
714
  __name: "MenuFormModal",
715
715
  emits: ["refresh"],
716
- setup(R, { expose: v, emit: h }) {
717
- const g = h, V = {
716
+ setup(M, { expose: w, emit: V }) {
717
+ const g = V, h = {
718
718
  id: 0,
719
719
  menu_id: 0,
720
720
  module: "",
@@ -735,7 +735,7 @@ const Xe = /* @__PURE__ */ q({
735
735
  keep_alive: !1,
736
736
  link: !1
737
737
  }
738
- }, f = {
738
+ }, b = {
739
739
  sort: [
740
740
  {
741
741
  required: !0,
@@ -779,36 +779,36 @@ const Xe = /* @__PURE__ */ q({
779
779
  trigger: "blur"
780
780
  }
781
781
  ]
782
- }, { modal: p, title: i, form: c, formData: n, requesting: y, executing: u, open: _, modify: m, submit: w, closed: U } = Y(g, V, P);
783
- return v({
784
- open: _,
782
+ }, { modal: p, title: i, form: c, formData: n, requesting: v, executing: u, open: f, modify: m, submit: R, closed: U } = H(g, h, I);
783
+ return w({
784
+ open: f,
785
785
  modify: m
786
- }), (x, o) => {
787
- const r = s("el-form-item"), d = s("el-col"), k = s("el-input-number"), b = s("el-row"), S = s("el-input"), M = s("el-switch"), L = s("el-form");
788
- return D(), T(e(H), {
786
+ }), (k, o) => {
787
+ const r = s("el-form-item"), d = s("el-col"), y = s("el-input-number"), _ = s("el-row"), D = s("el-input"), x = s("el-switch"), S = s("el-form");
788
+ return L(), T(e(G), {
789
789
  modelValue: e(p),
790
790
  "onUpdate:modelValue": o[17] || (o[17] = (A) => z(p) ? p.value = A : null),
791
791
  title: e(i)(),
792
792
  width: "1000px",
793
793
  executing: e(u),
794
794
  onClosed: e(U),
795
- onSubmit: e(w)
795
+ onSubmit: e(R)
796
796
  }, {
797
797
  default: t(() => [
798
- l(L, {
798
+ l(S, {
799
799
  ref_key: "form",
800
800
  ref: c,
801
801
  model: e(n),
802
802
  "label-width": "auto",
803
- rules: f,
804
- disabled: e(y) || e(u)
803
+ rules: b,
804
+ disabled: e(v) || e(u)
805
805
  }, {
806
806
  default: t(() => [
807
- l(b, { gutter: 20 }, {
807
+ l(_, { gutter: 20 }, {
808
808
  default: t(() => [
809
809
  l(d, { span: 12 }, {
810
810
  default: t(() => [
811
- l(b, { gutter: 10 }, {
811
+ l(_, { gutter: 10 }, {
812
812
  default: t(() => [
813
813
  l(d, { span: 12 }, {
814
814
  default: t(() => [
@@ -817,7 +817,7 @@ const Xe = /* @__PURE__ */ q({
817
817
  prop: "menu_id"
818
818
  }, {
819
819
  default: t(() => [
820
- l(Xe, {
820
+ l(Je, {
821
821
  modelValue: e(n).menu_id,
822
822
  "onUpdate:modelValue": o[0] || (o[0] = (A) => e(n).menu_id = A)
823
823
  }, null, 8, ["modelValue"])
@@ -834,7 +834,7 @@ const Xe = /* @__PURE__ */ q({
834
834
  prop: "sort"
835
835
  }, {
836
836
  default: t(() => [
837
- l(k, {
837
+ l(y, {
838
838
  class: "w-full",
839
839
  modelValue: e(n).sort,
840
840
  "onUpdate:modelValue": o[1] || (o[1] = (A) => e(n).sort = A),
@@ -855,7 +855,7 @@ const Xe = /* @__PURE__ */ q({
855
855
  prop: "module"
856
856
  }, {
857
857
  default: t(() => [
858
- l(S, {
858
+ l(D, {
859
859
  modelValue: e(n).module,
860
860
  "onUpdate:modelValue": o[2] || (o[2] = (A) => e(n).module = A),
861
861
  placeholder: e(a)("base.placeholder.input")
@@ -868,7 +868,7 @@ const Xe = /* @__PURE__ */ q({
868
868
  prop: "name"
869
869
  }, {
870
870
  default: t(() => [
871
- l(S, {
871
+ l(D, {
872
872
  modelValue: e(n).name,
873
873
  "onUpdate:modelValue": o[3] || (o[3] = (A) => e(n).name = A),
874
874
  placeholder: e(a)("base.placeholder.input")
@@ -881,7 +881,7 @@ const Xe = /* @__PURE__ */ q({
881
881
  prop: "en_name"
882
882
  }, {
883
883
  default: t(() => [
884
- l(S, {
884
+ l(D, {
885
885
  modelValue: e(n).en_name,
886
886
  "onUpdate:modelValue": o[4] || (o[4] = (A) => e(n).en_name = A),
887
887
  placeholder: e(a)("base.placeholder.input")
@@ -894,7 +894,7 @@ const Xe = /* @__PURE__ */ q({
894
894
  prop: "component"
895
895
  }, {
896
896
  default: t(() => [
897
- l(S, {
897
+ l(D, {
898
898
  modelValue: e(n).component,
899
899
  "onUpdate:modelValue": o[5] || (o[5] = (A) => e(n).component = A),
900
900
  placeholder: e(a)("base.placeholder.input")
@@ -907,7 +907,7 @@ const Xe = /* @__PURE__ */ q({
907
907
  prop: "url"
908
908
  }, {
909
909
  default: t(() => [
910
- l(S, {
910
+ l(D, {
911
911
  modelValue: e(n).url,
912
912
  "onUpdate:modelValue": o[6] || (o[6] = (A) => e(n).url = A),
913
913
  placeholder: e(a)("base.placeholder.input")
@@ -920,7 +920,7 @@ const Xe = /* @__PURE__ */ q({
920
920
  prop: "remark"
921
921
  }, {
922
922
  default: t(() => [
923
- l(S, {
923
+ l(D, {
924
924
  modelValue: e(n).remark,
925
925
  "onUpdate:modelValue": o[7] || (o[7] = (A) => e(n).remark = A),
926
926
  placeholder: e(a)("base.placeholder.input")
@@ -938,7 +938,7 @@ const Xe = /* @__PURE__ */ q({
938
938
  prop: "icon"
939
939
  }, {
940
940
  default: t(() => [
941
- l(S, {
941
+ l(D, {
942
942
  modelValue: e(n).icon,
943
943
  "onUpdate:modelValue": o[8] || (o[8] = (A) => e(n).icon = A),
944
944
  placeholder: e(a)("base.placeholder.input"),
@@ -947,8 +947,8 @@ const Xe = /* @__PURE__ */ q({
947
947
  })
948
948
  }, {
949
949
  prepend: t(() => [
950
- N("span", {
951
- class: ve("iconfont " + e(n).icon)
950
+ j("span", {
951
+ class: ye("iconfont " + e(n).icon)
952
952
  }, null, 2)
953
953
  ]),
954
954
  _: 1
@@ -961,7 +961,7 @@ const Xe = /* @__PURE__ */ q({
961
961
  prop: "meta.title"
962
962
  }, {
963
963
  default: t(() => [
964
- l(S, {
964
+ l(D, {
965
965
  modelValue: e(n).meta.title,
966
966
  "onUpdate:modelValue": o[10] || (o[10] = (A) => e(n).meta.title = A),
967
967
  placeholder: e(a)("base.placeholder.input")
@@ -974,7 +974,7 @@ const Xe = /* @__PURE__ */ q({
974
974
  prop: "meta.active"
975
975
  }, {
976
976
  default: t(() => [
977
- l(S, {
977
+ l(D, {
978
978
  modelValue: e(n).meta.active,
979
979
  "onUpdate:modelValue": o[11] || (o[11] = (A) => e(n).meta.active = A),
980
980
  placeholder: e(a)("base.placeholder.input")
@@ -982,7 +982,7 @@ const Xe = /* @__PURE__ */ q({
982
982
  ]),
983
983
  _: 1
984
984
  }, 8, ["label"]),
985
- l(b, null, {
985
+ l(_, null, {
986
986
  default: t(() => [
987
987
  l(d, { span: 12 }, {
988
988
  default: t(() => [
@@ -991,7 +991,7 @@ const Xe = /* @__PURE__ */ q({
991
991
  prop: "meta.link"
992
992
  }, {
993
993
  default: t(() => [
994
- l(M, {
994
+ l(x, {
995
995
  modelValue: e(n).meta.link,
996
996
  "onUpdate:modelValue": o[12] || (o[12] = (A) => e(n).meta.link = A)
997
997
  }, null, 8, ["modelValue"])
@@ -1008,7 +1008,7 @@ const Xe = /* @__PURE__ */ q({
1008
1008
  prop: "meta.keep_alive"
1009
1009
  }, {
1010
1010
  default: t(() => [
1011
- l(M, {
1011
+ l(x, {
1012
1012
  modelValue: e(n).meta.keep_alive,
1013
1013
  "onUpdate:modelValue": o[13] || (o[13] = (A) => e(n).meta.keep_alive = A)
1014
1014
  }, null, 8, ["modelValue"])
@@ -1025,7 +1025,7 @@ const Xe = /* @__PURE__ */ q({
1025
1025
  prop: "meta.hide"
1026
1026
  }, {
1027
1027
  default: t(() => [
1028
- l(M, {
1028
+ l(x, {
1029
1029
  modelValue: e(n).meta.hide,
1030
1030
  "onUpdate:modelValue": o[14] || (o[14] = (A) => e(n).meta.hide = A)
1031
1031
  }, null, 8, ["modelValue"])
@@ -1042,7 +1042,7 @@ const Xe = /* @__PURE__ */ q({
1042
1042
  prop: "meta.full"
1043
1043
  }, {
1044
1044
  default: t(() => [
1045
- l(M, {
1045
+ l(x, {
1046
1046
  modelValue: e(n).meta.full,
1047
1047
  "onUpdate:modelValue": o[15] || (o[15] = (A) => e(n).meta.full = A)
1048
1048
  }, null, 8, ["modelValue"])
@@ -1059,7 +1059,7 @@ const Xe = /* @__PURE__ */ q({
1059
1059
  prop: "meta.affix"
1060
1060
  }, {
1061
1061
  default: t(() => [
1062
- l(M, {
1062
+ l(x, {
1063
1063
  modelValue: e(n).meta.affix,
1064
1064
  "onUpdate:modelValue": o[16] || (o[16] = (A) => e(n).meta.affix = A)
1065
1065
  }, null, 8, ["modelValue"])
@@ -1086,7 +1086,7 @@ const Xe = /* @__PURE__ */ q({
1086
1086
  }, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
1087
1087
  };
1088
1088
  }
1089
- }), el = /* @__PURE__ */ q({
1089
+ }), Ze = /* @__PURE__ */ q({
1090
1090
  __name: "MenuSelect",
1091
1091
  props: {
1092
1092
  modelValue: {
@@ -1099,57 +1099,57 @@ const Xe = /* @__PURE__ */ q({
1099
1099
  }
1100
1100
  },
1101
1101
  emits: ["update:modelValue", "change"],
1102
- setup(R, {
1103
- emit: v
1102
+ setup(M, {
1103
+ emit: w
1104
1104
  }) {
1105
- const h = v, g = R, {
1106
- requesting: V
1107
- } = F(P), {
1108
- value: f,
1105
+ const V = w, g = M, {
1106
+ requesting: h
1107
+ } = $(I), {
1108
+ value: b,
1109
1109
  options: p,
1110
1110
  change: i,
1111
1111
  refresh: c,
1112
1112
  filterOptions: n
1113
- } = te(oe(g, "modelValue"), h, {
1113
+ } = ne(te(g, "modelValue"), V, {
1114
1114
  key: "MENU_LIST",
1115
- api: P,
1115
+ api: I,
1116
1116
  isArray: !0
1117
1117
  });
1118
- return (y, u) => {
1119
- const _ = s("el-space"), m = s("el-select-v2");
1120
- return D(), T(m, {
1118
+ return (v, u) => {
1119
+ const f = s("el-space"), m = s("el-select-v2");
1120
+ return L(), T(m, {
1121
1121
  class: "w-full",
1122
- modelValue: e(f),
1123
- "onUpdate:modelValue": u[1] || (u[1] = (w) => z(f) ? f.value = w : null),
1122
+ modelValue: e(b),
1123
+ "onUpdate:modelValue": u[1] || (u[1] = (R) => z(b) ? b.value = R : null),
1124
1124
  options: e(p),
1125
- multiple: R.multiple,
1126
- disabled: e(V),
1125
+ multiple: M.multiple,
1126
+ disabled: e(h),
1127
1127
  placeholder: e(a)("base.placeholder.select"),
1128
1128
  filterable: "",
1129
1129
  filterOptions: e(n),
1130
1130
  onChange: e(i)
1131
1131
  }, {
1132
- prefix: t(() => [l(e(ue), {
1133
- loading: e(V),
1134
- onRefresh: u[0] || (u[0] = (w) => e(c)(!0))
1132
+ prefix: t(() => [l(e(pe), {
1133
+ loading: e(h),
1134
+ onRefresh: u[0] || (u[0] = (R) => e(c)(!0))
1135
1135
  }, null, 8, ["loading"])]),
1136
1136
  default: t(({
1137
- item: w
1138
- }) => [l(_, null, {
1139
- default: t(() => [N("i", {
1140
- class: ve(`icon iconfont ${w.icon}`)
1141
- }, null, 2), N("span", null, Q(w.translate), 1)]),
1137
+ item: R
1138
+ }) => [l(f, null, {
1139
+ default: t(() => [j("i", {
1140
+ class: ye(`icon iconfont ${R.icon}`)
1141
+ }, null, 2), j("span", null, Y(R.translate), 1)]),
1142
1142
  _: 2
1143
1143
  }, 1024)]),
1144
1144
  _: 1
1145
1145
  }, 8, ["modelValue", "options", "multiple", "disabled", "placeholder", "filterOptions", "onChange"]);
1146
1146
  };
1147
1147
  }
1148
- }), ll = /* @__PURE__ */ q({
1148
+ }), el = /* @__PURE__ */ q({
1149
1149
  __name: "MenuRuleFormModal",
1150
1150
  emits: ["refresh"],
1151
- setup(R, { expose: v, emit: h }) {
1152
- const g = h, V = {
1151
+ setup(M, { expose: w, emit: V }) {
1152
+ const g = V, h = {
1153
1153
  key: "",
1154
1154
  menu_id: 0,
1155
1155
  sort: 0,
@@ -1157,7 +1157,7 @@ const Xe = /* @__PURE__ */ q({
1157
1157
  en_name: "",
1158
1158
  urls: "",
1159
1159
  remark: ""
1160
- }, f = {
1160
+ }, b = {
1161
1161
  menu_id: [
1162
1162
  {
1163
1163
  required: !0,
@@ -1195,43 +1195,43 @@ const Xe = /* @__PURE__ */ q({
1195
1195
  trigger: "blur"
1196
1196
  }
1197
1197
  ]
1198
- }, { modal: p, title: i, form: c, formData: n, requesting: y, executing: u, open: _, modify: m, submit: w, closed: U } = Y(g, V, Re);
1199
- return v({
1200
- open: _,
1198
+ }, { modal: p, title: i, form: c, formData: n, requesting: v, executing: u, open: f, modify: m, submit: R, closed: U } = H(g, h, we);
1199
+ return w({
1200
+ open: f,
1201
1201
  modify: m
1202
- }), (x, o) => {
1203
- const r = s("el-form-item"), d = s("el-input-number"), k = s("el-input"), b = s("el-col"), S = s("el-row"), M = s("el-form");
1204
- return D(), T(e(H), {
1202
+ }), (k, o) => {
1203
+ const r = s("el-form-item"), d = s("el-input-number"), y = s("el-input"), _ = s("el-col"), D = s("el-row"), x = s("el-form");
1204
+ return L(), T(e(G), {
1205
1205
  modelValue: e(p),
1206
- "onUpdate:modelValue": o[6] || (o[6] = (L) => z(p) ? p.value = L : null),
1206
+ "onUpdate:modelValue": o[6] || (o[6] = (S) => z(p) ? p.value = S : null),
1207
1207
  title: e(i)("menu.rules"),
1208
1208
  width: "1000px",
1209
1209
  executing: e(u),
1210
1210
  onClosed: e(U),
1211
- onSubmit: e(w)
1211
+ onSubmit: e(R)
1212
1212
  }, {
1213
1213
  default: t(() => [
1214
- l(M, {
1214
+ l(x, {
1215
1215
  ref_key: "form",
1216
1216
  ref: c,
1217
1217
  model: e(n),
1218
1218
  "label-width": "auto",
1219
- rules: f,
1220
- disabled: e(y) || e(u)
1219
+ rules: b,
1220
+ disabled: e(v) || e(u)
1221
1221
  }, {
1222
1222
  default: t(() => [
1223
- l(S, { gutter: 20 }, {
1223
+ l(D, { gutter: 20 }, {
1224
1224
  default: t(() => [
1225
- l(b, { span: 10 }, {
1225
+ l(_, { span: 10 }, {
1226
1226
  default: t(() => [
1227
1227
  l(r, {
1228
1228
  label: e(a)("menu.Menu"),
1229
1229
  prop: "menu_id"
1230
1230
  }, {
1231
1231
  default: t(() => [
1232
- l(el, {
1232
+ l(Ze, {
1233
1233
  modelValue: e(n).menu_id,
1234
- "onUpdate:modelValue": o[0] || (o[0] = (L) => e(n).menu_id = L)
1234
+ "onUpdate:modelValue": o[0] || (o[0] = (S) => e(n).menu_id = S)
1235
1235
  }, null, 8, ["modelValue"])
1236
1236
  ]),
1237
1237
  _: 1
@@ -1244,7 +1244,7 @@ const Xe = /* @__PURE__ */ q({
1244
1244
  l(d, {
1245
1245
  class: "w-full",
1246
1246
  modelValue: e(n).sort,
1247
- "onUpdate:modelValue": o[1] || (o[1] = (L) => e(n).sort = L),
1247
+ "onUpdate:modelValue": o[1] || (o[1] = (S) => e(n).sort = S),
1248
1248
  min: 0,
1249
1249
  placeholder: e(a)("base.placeholder.input")
1250
1250
  }, null, 8, ["modelValue", "placeholder"])
@@ -1256,9 +1256,9 @@ const Xe = /* @__PURE__ */ q({
1256
1256
  prop: "name"
1257
1257
  }, {
1258
1258
  default: t(() => [
1259
- l(k, {
1259
+ l(y, {
1260
1260
  modelValue: e(n).name,
1261
- "onUpdate:modelValue": o[2] || (o[2] = (L) => e(n).name = L),
1261
+ "onUpdate:modelValue": o[2] || (o[2] = (S) => e(n).name = S),
1262
1262
  placeholder: e(a)("base.placeholder.input")
1263
1263
  }, null, 8, ["modelValue", "placeholder"])
1264
1264
  ]),
@@ -1269,9 +1269,9 @@ const Xe = /* @__PURE__ */ q({
1269
1269
  prop: "en_name"
1270
1270
  }, {
1271
1271
  default: t(() => [
1272
- l(k, {
1272
+ l(y, {
1273
1273
  modelValue: e(n).en_name,
1274
- "onUpdate:modelValue": o[3] || (o[3] = (L) => e(n).en_name = L),
1274
+ "onUpdate:modelValue": o[3] || (o[3] = (S) => e(n).en_name = S),
1275
1275
  placeholder: e(a)("base.placeholder.input")
1276
1276
  }, null, 8, ["modelValue", "placeholder"])
1277
1277
  ]),
@@ -1282,9 +1282,9 @@ const Xe = /* @__PURE__ */ q({
1282
1282
  prop: "remark"
1283
1283
  }, {
1284
1284
  default: t(() => [
1285
- l(k, {
1285
+ l(y, {
1286
1286
  modelValue: e(n).remark,
1287
- "onUpdate:modelValue": o[4] || (o[4] = (L) => e(n).remark = L),
1287
+ "onUpdate:modelValue": o[4] || (o[4] = (S) => e(n).remark = S),
1288
1288
  placeholder: e(a)("base.placeholder.input")
1289
1289
  }, null, 8, ["modelValue", "placeholder"])
1290
1290
  ]),
@@ -1293,16 +1293,16 @@ const Xe = /* @__PURE__ */ q({
1293
1293
  ]),
1294
1294
  _: 1
1295
1295
  }),
1296
- l(b, { span: 14 }, {
1296
+ l(_, { span: 14 }, {
1297
1297
  default: t(() => [
1298
1298
  l(r, {
1299
1299
  label: e(a)("menu.rules"),
1300
1300
  prop: "urls"
1301
1301
  }, {
1302
1302
  default: t(() => [
1303
- l(k, {
1303
+ l(y, {
1304
1304
  modelValue: e(n).urls,
1305
- "onUpdate:modelValue": o[5] || (o[5] = (L) => e(n).urls = L),
1305
+ "onUpdate:modelValue": o[5] || (o[5] = (S) => e(n).urls = S),
1306
1306
  type: "textarea",
1307
1307
  rows: 11,
1308
1308
  placeholder: e(a)("base.placeholder.input")
@@ -1325,16 +1325,16 @@ const Xe = /* @__PURE__ */ q({
1325
1325
  };
1326
1326
  }
1327
1327
  });
1328
- function he(R) {
1329
- return typeof R == "function" || Object.prototype.toString.call(R) === "[object Object]" && !De(R);
1328
+ function he(M) {
1329
+ return typeof M == "function" || Object.prototype.toString.call(M) === "[object Object]" && !Ae(M);
1330
1330
  }
1331
- const al = /* @__PURE__ */ q({
1331
+ const ll = /* @__PURE__ */ q({
1332
1332
  __name: "index",
1333
- setup(R) {
1334
- const v = {
1333
+ setup(M) {
1334
+ const w = {
1335
1335
  keyword: "",
1336
1336
  status: 0
1337
- }, h = j(""), g = [
1337
+ }, V = N(""), g = [
1338
1338
  {
1339
1339
  label: a("base.sort"),
1340
1340
  prop: "sort",
@@ -1364,7 +1364,7 @@ const al = /* @__PURE__ */ q({
1364
1364
  row: o
1365
1365
  }) => {
1366
1366
  var r;
1367
- return l(K, null, [(r = o.menu) == null ? void 0 : r.translate]);
1367
+ return l(W, null, [(r = o.menu) == null ? void 0 : r.translate]);
1368
1368
  }
1369
1369
  },
1370
1370
  {
@@ -1396,7 +1396,7 @@ const al = /* @__PURE__ */ q({
1396
1396
  default: () => {
1397
1397
  var r;
1398
1398
  return [(r = o.rules) == null ? void 0 : r.map((d) => l(s("el-popover"), {
1399
- visible: h.value === d.key,
1399
+ visible: V.value === d.key,
1400
1400
  title: a("message.title.warning"),
1401
1401
  placement: "top-end",
1402
1402
  width: 220
@@ -1408,26 +1408,26 @@ const al = /* @__PURE__ */ q({
1408
1408
  onClick: () => U({
1409
1409
  key: d.key
1410
1410
  }),
1411
- onClose: () => h.value = d.key
1411
+ onClose: () => V.value = d.key
1412
1412
  }, {
1413
1413
  default: () => [d.translate]
1414
1414
  }),
1415
1415
  default: () => {
1416
- let k, b;
1416
+ let y, _;
1417
1417
  return l("div", null, [l("p", null, null), l("p", null, [`${a("base.confirm base.delete menu.rules")}: ${o.translate}-${d.translate} ?`]), l("div", {
1418
1418
  style: "text-align: right; margin: 0"
1419
1419
  }, [l(s("el-button"), {
1420
1420
  size: "small",
1421
1421
  text: !0,
1422
- onClick: () => h.value = ""
1423
- }, he(k = a("base.cancel")) ? k : {
1424
- default: () => [k]
1422
+ onClick: () => V.value = ""
1423
+ }, he(y = a("base.cancel")) ? y : {
1424
+ default: () => [y]
1425
1425
  }), l(s("el-button"), {
1426
1426
  size: "small",
1427
1427
  type: "danger",
1428
- onClick: () => x(d.key)
1429
- }, he(b = a("base.confirm")) ? b : {
1430
- default: () => [b]
1428
+ onClick: () => k(d.key)
1429
+ }, he(_ = a("base.confirm")) ? _ : {
1430
+ default: () => [_]
1431
1431
  })])]);
1432
1432
  }
1433
1433
  }))];
@@ -1442,7 +1442,7 @@ const al = /* @__PURE__ */ q({
1442
1442
  props: {
1443
1443
  activeValue: 1,
1444
1444
  inactiveValue: 2,
1445
- api: P.urls[xe],
1445
+ api: I.urls[ke],
1446
1446
  refresh: !0
1447
1447
  }
1448
1448
  },
@@ -1453,98 +1453,98 @@ const al = /* @__PURE__ */ q({
1453
1453
  align: "center",
1454
1454
  render: ({
1455
1455
  row: o
1456
- }) => l(X, {
1456
+ }) => l(J, {
1457
1457
  size: "default",
1458
- onModify: () => _({
1458
+ onModify: () => f({
1459
1459
  id: o.id
1460
1460
  })
1461
1461
  }, null)
1462
1462
  }
1463
1463
  ], {
1464
- requesting: V
1465
- } = F(P), {
1466
- tableRef: f,
1464
+ requesting: h
1465
+ } = $(I), {
1466
+ tableRef: b,
1467
1467
  formModalRef: p,
1468
1468
  keyword: i,
1469
1469
  search: c,
1470
1470
  refresh: n,
1471
- reset: y,
1471
+ reset: v,
1472
1472
  openFormModal: u,
1473
- editFormModal: _
1474
- } = $(v), {
1473
+ editFormModal: f
1474
+ } = F(w), {
1475
1475
  formModalRef: m,
1476
- openFormModal: w,
1476
+ openFormModal: R,
1477
1477
  editFormModal: U
1478
- } = $(), x = (o) => {
1479
- Re[Fe]({
1478
+ } = F(), k = (o) => {
1479
+ we[Ee]({
1480
1480
  key: o
1481
1481
  }).then(() => {
1482
- h.value = "", n();
1482
+ V.value = "", n();
1483
1483
  });
1484
1484
  };
1485
1485
  return (o, r) => {
1486
- const d = s("el-button"), k = s("el-input"), b = s("el-radio-button"), S = s("el-radio-group"), M = s("el-space"), L = s("el-page-header"), A = s("el-card");
1487
- return D(), T(A, {
1486
+ const d = s("el-button"), y = s("el-input"), _ = s("el-radio-button"), D = s("el-radio-group"), x = s("el-space"), S = s("el-page-header"), A = s("el-card");
1487
+ return L(), T(A, {
1488
1488
  class: "basic-card flex-full",
1489
1489
  "body-class": "flex-1",
1490
- onClick: r[5] || (r[5] = () => h.value = "")
1490
+ onClick: r[5] || (r[5] = () => V.value = "")
1491
1491
  }, {
1492
- header: t(() => [l(L, {
1492
+ header: t(() => [l(S, {
1493
1493
  class: "basic-header"
1494
1494
  }, {
1495
- title: t(() => [l(e(B), {
1496
- loading: e(V),
1497
- onRefresh: e(y)
1498
- }, null, 8, ["loading", "onRefresh"]), l(e(I), {
1495
+ title: t(() => [l(e(P), {
1496
+ loading: e(h),
1497
+ onRefresh: e(v)
1498
+ }, null, 8, ["loading", "onRefresh"]), l(e(B), {
1499
1499
  onOpen: e(u)
1500
1500
  }, null, 8, ["onOpen"]), l(d, {
1501
1501
  circle: "",
1502
- icon: e(Je),
1503
- onClick: e(w)
1502
+ icon: e(Qe),
1503
+ onClick: e(R)
1504
1504
  }, null, 8, ["icon", "onClick"])]),
1505
- content: t(() => [l(M, {
1505
+ content: t(() => [l(x, {
1506
1506
  class: "search-bar"
1507
1507
  }, {
1508
- default: t(() => [l(k, {
1508
+ default: t(() => [l(y, {
1509
1509
  class: "basic-search-input",
1510
1510
  modelValue: e(i).keyword,
1511
1511
  "onUpdate:modelValue": r[0] || (r[0] = (O) => e(i).keyword = O),
1512
1512
  placeholder: e(a)("base.placeholder.keyword"),
1513
1513
  clearable: "",
1514
- onKeyup: r[1] || (r[1] = me((O) => e(c)(), ["enter"])),
1514
+ onKeyup: r[1] || (r[1] = be((O) => e(c)(), ["enter"])),
1515
1515
  onClear: r[2] || (r[2] = (O) => e(c)())
1516
- }, null, 8, ["modelValue", "placeholder"]), l(S, {
1516
+ }, null, 8, ["modelValue", "placeholder"]), l(D, {
1517
1517
  modelValue: e(i).status,
1518
1518
  "onUpdate:modelValue": r[3] || (r[3] = (O) => e(i).status = O),
1519
1519
  onChange: r[4] || (r[4] = (O) => e(c)())
1520
1520
  }, {
1521
- default: t(() => [(D(), G(K, null, re([0, 1, 2], (O) => l(b, {
1521
+ default: t(() => [(L(), Q(W, null, re([0, 1, 2], (O) => l(_, {
1522
1522
  key: O,
1523
1523
  label: e(a)(`base.DISABLE_ENABLE.${O}`),
1524
1524
  value: O
1525
1525
  }, null, 8, ["label", "value"])), 64))]),
1526
1526
  _: 1
1527
1527
  }, 8, ["modelValue"]), l(e(Z), {
1528
- disabled: e(V),
1528
+ disabled: e(h),
1529
1529
  onSearch: e(c)
1530
1530
  }, null, 8, ["disabled", "onSearch"])]),
1531
1531
  _: 1
1532
1532
  })]),
1533
1533
  _: 1
1534
1534
  })]),
1535
- default: t(() => [l(e(se), {
1535
+ default: t(() => [l(e(ie), {
1536
1536
  ref_key: "tableRef",
1537
- ref: f,
1537
+ ref: b,
1538
1538
  size: "small",
1539
1539
  columns: g,
1540
- url: e(P).urls[e(ce)],
1540
+ url: e(I).urls[e(fe)],
1541
1541
  "search-param": e(i),
1542
1542
  autoSearch: ""
1543
- }, null, 8, ["url", "search-param"]), l(Ze, {
1543
+ }, null, 8, ["url", "search-param"]), l(Xe, {
1544
1544
  ref_key: "formModalRef",
1545
1545
  ref: p,
1546
1546
  onRefresh: e(n)
1547
- }, null, 8, ["onRefresh"]), l(ll, {
1547
+ }, null, 8, ["onRefresh"]), l(el, {
1548
1548
  ref_key: "ruleFormModalRef",
1549
1549
  ref: m,
1550
1550
  onRefresh: e(n)
@@ -1553,98 +1553,98 @@ const al = /* @__PURE__ */ q({
1553
1553
  });
1554
1554
  };
1555
1555
  }
1556
- }), ol = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1556
+ }), al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1557
1557
  __proto__: null,
1558
- default: al
1559
- }, Symbol.toStringTag, { value: "Module" })), tl = { class: "rule-check" }, nl = { style: { width: "80px", "line-height": "36px" } }, rl = /* @__PURE__ */ q({
1558
+ default: ll
1559
+ }, Symbol.toStringTag, { value: "Module" })), ol = { class: "rule-check" }, tl = { style: { width: "80px", "line-height": "36px" } }, nl = /* @__PURE__ */ q({
1560
1560
  __name: "RulesCheck",
1561
1561
  props: {
1562
1562
  modelValue: { type: Array, required: !0 },
1563
1563
  disabled: { type: Boolean, default: !1 }
1564
1564
  },
1565
1565
  emits: ["update:modelValue"],
1566
- setup(R, { expose: v, emit: h }) {
1567
- const { requesting: g } = F(P), V = R, f = h, p = j(!1), i = Se({
1566
+ setup(M, { expose: w, emit: V }) {
1567
+ const { requesting: g } = $(I), h = M, b = V, p = N(!1), i = De({
1568
1568
  checkAll: !1,
1569
1569
  indeterminate: !1,
1570
1570
  MenuAll: {},
1571
1571
  MenuList: {},
1572
1572
  MenuIndeterminate: {}
1573
- }), { options: c, refresh: n } = te(oe(V, "modelValue"), f, { key: "RULE_CHECK", api: P, url: P.urls.rules, isArray: !0 }, !1);
1574
- function y() {
1575
- c.value.forEach((x) => {
1573
+ }), { options: c, refresh: n } = ne(te(h, "modelValue"), b, { key: "RULE_CHECK", api: I, url: I.urls.rules, isArray: !0 }, !1);
1574
+ function v() {
1575
+ c.value.forEach((k) => {
1576
1576
  var o;
1577
- (o = x.rules) != null && o.length && (i.MenuAll[x.id] = !1, i.MenuIndeterminate[x.id] = !1, i.MenuList[x.id] = []);
1577
+ (o = k.rules) != null && o.length && (i.MenuAll[k.id] = !1, i.MenuIndeterminate[k.id] = !1, i.MenuList[k.id] = []);
1578
1578
  });
1579
1579
  }
1580
- function u(x) {
1580
+ function u(k) {
1581
1581
  c.value.forEach((o) => {
1582
1582
  var r;
1583
- (r = o.rules) != null && r.length && (i.MenuList[o.id] = x ? o.rules.map((d) => d.key) : []);
1583
+ (r = o.rules) != null && r.length && (i.MenuList[o.id] = k ? o.rules.map((d) => d.key) : []);
1584
1584
  }), m();
1585
1585
  }
1586
- function _(x, o) {
1586
+ function f(k, o) {
1587
1587
  const r = c.value.find((d) => d.id === o);
1588
- i.MenuList[o] = x && r ? r.rules.map((d) => d.key) : [], m();
1588
+ i.MenuList[o] = k && r ? r.rules.map((d) => d.key) : [], m();
1589
1589
  }
1590
1590
  function m() {
1591
- c.value.forEach((x) => {
1592
- var d, k;
1593
- const o = ((d = x.rules) == null ? void 0 : d.length) || 0, r = ((k = i.MenuList[x.id]) == null ? void 0 : k.length) || 0;
1594
- i.MenuAll[x.id] = r === o && o > 0, i.MenuIndeterminate[x.id] = r > 0 && r < o;
1595
- }), i.checkAll = Object.values(i.MenuAll).every(Boolean), i.indeterminate = !i.checkAll && Object.values(i.MenuList).some((x) => x.length > 0), f("update:modelValue", Object.values(i.MenuList).flat());
1591
+ c.value.forEach((k) => {
1592
+ var d, y;
1593
+ const o = ((d = k.rules) == null ? void 0 : d.length) || 0, r = ((y = i.MenuList[k.id]) == null ? void 0 : y.length) || 0;
1594
+ i.MenuAll[k.id] = r === o && o > 0, i.MenuIndeterminate[k.id] = r > 0 && r < o;
1595
+ }), i.checkAll = Object.values(i.MenuAll).every(Boolean), i.indeterminate = !i.checkAll && Object.values(i.MenuList).some((k) => k.length > 0), b("update:modelValue", Object.values(i.MenuList).flat());
1596
1596
  }
1597
- function w() {
1598
- i.checkAll = !1, i.indeterminate = !1, i.MenuAll = {}, i.MenuList = {}, i.MenuIndeterminate = {}, y(), f("update:modelValue", []), p.value = !1;
1597
+ function R() {
1598
+ i.checkAll = !1, i.indeterminate = !1, i.MenuAll = {}, i.MenuList = {}, i.MenuIndeterminate = {}, v(), b("update:modelValue", []), p.value = !1;
1599
1599
  }
1600
- function U(x) {
1600
+ function U(k) {
1601
1601
  var o;
1602
1602
  if (Array.isArray(c.value) && c.value.length > 0) {
1603
1603
  for (let r of c.value)
1604
1604
  if (Array.isArray(r.rules) && r.rules.length > 0)
1605
1605
  for (let d of r.rules)
1606
- x.some((k) => k === d.key) && (i.MenuList[r.id] = (((o = i.MenuList) == null ? void 0 : o[r.id]) || []).concat([d.key]));
1606
+ k.some((y) => y === d.key) && (i.MenuList[r.id] = (((o = i.MenuList) == null ? void 0 : o[r.id]) || []).concat([d.key]));
1607
1607
  m(), p.value = !0;
1608
1608
  }
1609
1609
  }
1610
1610
  return Le(async () => {
1611
- var x;
1612
- (x = c.value) != null && x.length || await n(), !p.value && V.modelValue && U(V.modelValue);
1613
- }), Te(
1614
- () => V.modelValue,
1615
- (x) => {
1616
- qe(() => {
1611
+ var k;
1612
+ (k = c.value) != null && k.length || await n(), !p.value && h.modelValue && U(h.modelValue);
1613
+ }), Se(
1614
+ () => h.modelValue,
1615
+ (k) => {
1616
+ Te(() => {
1617
1617
  var o;
1618
- p.value || !((o = c.value) != null && o.length) || x && x.length > 0 && U(x);
1618
+ p.value || !((o = c.value) != null && o.length) || k && k.length > 0 && U(k);
1619
1619
  });
1620
1620
  },
1621
1621
  { deep: !0, immediate: !0 }
1622
- ), v({
1622
+ ), w({
1623
1623
  generateOption: U,
1624
- cleanChecked: w
1625
- }), (x, o) => {
1626
- const r = s("el-checkbox"), d = s("el-space"), k = s("el-text"), b = s("el-divider"), S = s("el-checkbox-group");
1627
- return D(), G("div", tl, [
1624
+ cleanChecked: R
1625
+ }), (k, o) => {
1626
+ const r = s("el-checkbox"), d = s("el-space"), y = s("el-text"), _ = s("el-divider"), D = s("el-checkbox-group");
1627
+ return L(), Q("div", ol, [
1628
1628
  l(d, { style: { "margin-bottom": "6px" } }, {
1629
1629
  default: t(() => [
1630
1630
  l(r, {
1631
1631
  "model-value": i.checkAll,
1632
1632
  indeterminate: i.indeterminate,
1633
1633
  id: "all",
1634
- disabled: R.disabled,
1634
+ disabled: M.disabled,
1635
1635
  onChange: u
1636
1636
  }, {
1637
1637
  default: t(() => o[1] || (o[1] = [
1638
- N("span", null, "全选", -1)
1638
+ j("span", null, "全选", -1)
1639
1639
  ])),
1640
1640
  _: 1,
1641
1641
  __: [1]
1642
1642
  }, 8, ["model-value", "indeterminate", "disabled"]),
1643
- l(e(B), {
1643
+ l(e(P), {
1644
1644
  loading: e(g),
1645
1645
  text: "",
1646
1646
  size: "small",
1647
- onRefresh: o[0] || (o[0] = (M) => e(n)(!0))
1647
+ onRefresh: o[0] || (o[0] = (x) => e(n)(!0))
1648
1648
  }, null, 8, ["loading"])
1649
1649
  ]),
1650
1650
  _: 1
@@ -1655,8 +1655,8 @@ const al = /* @__PURE__ */ q({
1655
1655
  class: "rule-check-content"
1656
1656
  }, {
1657
1657
  default: t(() => [
1658
- (D(!0), G(K, null, re(e(c), (M) => (D(), G("div", {
1659
- key: M.id
1658
+ (L(!0), Q(W, null, re(e(c), (x) => (L(), Q("div", {
1659
+ key: x.id
1660
1660
  }, [
1661
1661
  l(d, {
1662
1662
  direction: "horizontal",
@@ -1665,43 +1665,43 @@ const al = /* @__PURE__ */ q({
1665
1665
  default: t(() => [
1666
1666
  l(r, {
1667
1667
  style: { "min-width": "150px" },
1668
- "model-value": i.MenuAll[M.id],
1669
- disabled: R.disabled || !M.rules || M.rules.length <= 0,
1670
- indeterminate: i.MenuIndeterminate[M.id],
1671
- onChange: (L) => _(L, M.id)
1668
+ "model-value": i.MenuAll[x.id],
1669
+ disabled: M.disabled || !x.rules || x.rules.length <= 0,
1670
+ indeterminate: i.MenuIndeterminate[x.id],
1671
+ onChange: (S) => f(S, x.id)
1672
1672
  }, {
1673
1673
  default: t(() => [
1674
- l(k, { style: { "font-size": "15px" } }, {
1674
+ l(y, { style: { "font-size": "15px" } }, {
1675
1675
  default: t(() => [
1676
- J(Q(M.translate), 1)
1676
+ X(Y(x.translate), 1)
1677
1677
  ]),
1678
1678
  _: 2
1679
1679
  }, 1024)
1680
1680
  ]),
1681
1681
  _: 2
1682
1682
  }, 1032, ["model-value", "disabled", "indeterminate", "onChange"]),
1683
- l(b, { direction: "vertical" }),
1684
- M.rules ? (D(), T(S, {
1683
+ l(_, { direction: "vertical" }),
1684
+ x.rules ? (L(), T(D, {
1685
1685
  key: 0,
1686
- modelValue: i.MenuList[M.id],
1687
- "onUpdate:modelValue": (L) => i.MenuList[M.id] = L,
1688
- disabled: R.disabled,
1686
+ modelValue: i.MenuList[x.id],
1687
+ "onUpdate:modelValue": (S) => i.MenuList[x.id] = S,
1688
+ disabled: M.disabled,
1689
1689
  style: { margin: "auto" },
1690
1690
  onChange: m
1691
1691
  }, {
1692
1692
  default: t(() => [
1693
- (D(!0), G(K, null, re(M.rules, (L) => (D(), T(r, {
1694
- key: L.key,
1695
- value: L.key
1693
+ (L(!0), Q(W, null, re(x.rules, (S) => (L(), T(r, {
1694
+ key: S.key,
1695
+ value: S.key
1696
1696
  }, {
1697
1697
  default: t(() => [
1698
- N("div", nl, Q(L.translate), 1)
1698
+ j("div", tl, Y(S.translate), 1)
1699
1699
  ]),
1700
1700
  _: 2
1701
1701
  }, 1032, ["value"]))), 128))
1702
1702
  ]),
1703
1703
  _: 2
1704
- }, 1032, ["modelValue", "onUpdate:modelValue", "disabled"])) : Oe("", !0)
1704
+ }, 1032, ["modelValue", "onUpdate:modelValue", "disabled"])) : qe("", !0)
1705
1705
  ]),
1706
1706
  _: 2
1707
1707
  }, 1024)
@@ -1712,16 +1712,16 @@ const al = /* @__PURE__ */ q({
1712
1712
  ]);
1713
1713
  };
1714
1714
  }
1715
- }), Ue = (R, v) => {
1716
- const h = R.__vccOpts || R;
1717
- for (const [g, V] of v)
1718
- h[g] = V;
1719
- return h;
1720
- }, dl = /* @__PURE__ */ Ue(rl, [["__scopeId", "data-v-487a9d12"]]), sl = /* @__PURE__ */ q({
1715
+ }), xe = (M, w) => {
1716
+ const V = M.__vccOpts || M;
1717
+ for (const [g, h] of w)
1718
+ V[g] = h;
1719
+ return V;
1720
+ }, rl = /* @__PURE__ */ xe(nl, [["__scopeId", "data-v-487a9d12"]]), dl = /* @__PURE__ */ q({
1721
1721
  __name: "RoleFormModal",
1722
1722
  emits: ["refresh"],
1723
- setup(R, { expose: v, emit: h }) {
1724
- const g = h, V = j(), f = {
1723
+ setup(M, { expose: w, emit: V }) {
1724
+ const g = V, h = N(), b = {
1725
1725
  key: "",
1726
1726
  module: "",
1727
1727
  sort: 0,
@@ -1744,21 +1744,21 @@ const al = /* @__PURE__ */ q({
1744
1744
  trigger: "blur"
1745
1745
  }
1746
1746
  ]
1747
- }, { modal: i, title: c, form: n, formData: y, requesting: u, executing: _, open: m, modify: w, submit: U, closed: x } = Y(g, f, pe), o = () => {
1747
+ }, { modal: i, title: c, form: n, formData: v, requesting: u, executing: f, open: m, modify: R, submit: U, closed: k } = H(g, b, ce), o = () => {
1748
1748
  var r;
1749
- (r = V.value) == null || r.cleanChecked(), x();
1749
+ (r = h.value) == null || r.cleanChecked(), k();
1750
1750
  };
1751
- return v({
1751
+ return w({
1752
1752
  open: m,
1753
- modify: w
1753
+ modify: R
1754
1754
  }), (r, d) => {
1755
- const k = s("el-input"), b = s("el-form-item"), S = s("el-col"), M = s("el-input-number"), L = s("el-row"), A = s("el-form");
1756
- return D(), T(e(H), {
1755
+ const y = s("el-input"), _ = s("el-form-item"), D = s("el-col"), x = s("el-input-number"), S = s("el-row"), A = s("el-form");
1756
+ return L(), T(e(G), {
1757
1757
  modelValue: e(i),
1758
1758
  "onUpdate:modelValue": d[6] || (d[6] = (O) => z(i) ? i.value = O : null),
1759
1759
  title: e(c)(),
1760
1760
  width: "1000px",
1761
- executing: e(_),
1761
+ executing: e(f),
1762
1762
  onClosed: o,
1763
1763
  onSubmit: e(U)
1764
1764
  }, {
@@ -1766,24 +1766,24 @@ const al = /* @__PURE__ */ q({
1766
1766
  l(A, {
1767
1767
  ref_key: "form",
1768
1768
  ref: n,
1769
- model: e(y),
1769
+ model: e(v),
1770
1770
  "label-width": "auto",
1771
1771
  rules: p,
1772
- disabled: e(u) || e(_)
1772
+ disabled: e(u) || e(f)
1773
1773
  }, {
1774
1774
  default: t(() => [
1775
- l(L, { gutter: 20 }, {
1775
+ l(S, { gutter: 20 }, {
1776
1776
  default: t(() => [
1777
- l(S, { span: 12 }, {
1777
+ l(D, { span: 12 }, {
1778
1778
  default: t(() => [
1779
- l(b, {
1779
+ l(_, {
1780
1780
  label: e(a)("base.module"),
1781
1781
  prop: "module"
1782
1782
  }, {
1783
1783
  default: t(() => [
1784
- l(k, {
1785
- modelValue: e(y).module,
1786
- "onUpdate:modelValue": d[0] || (d[0] = (O) => e(y).module = O),
1784
+ l(y, {
1785
+ modelValue: e(v).module,
1786
+ "onUpdate:modelValue": d[0] || (d[0] = (O) => e(v).module = O),
1787
1787
  placeholder: e(a)("base.placeholder.input")
1788
1788
  }, null, 8, ["modelValue", "placeholder"])
1789
1789
  ]),
@@ -1792,17 +1792,17 @@ const al = /* @__PURE__ */ q({
1792
1792
  ]),
1793
1793
  _: 1
1794
1794
  }),
1795
- l(S, { span: 12 }, {
1795
+ l(D, { span: 12 }, {
1796
1796
  default: t(() => [
1797
- l(b, {
1797
+ l(_, {
1798
1798
  label: e(a)("base.sort"),
1799
1799
  prop: "sort"
1800
1800
  }, {
1801
1801
  default: t(() => [
1802
- l(M, {
1802
+ l(x, {
1803
1803
  class: "w-full",
1804
- modelValue: e(y).sort,
1805
- "onUpdate:modelValue": d[1] || (d[1] = (O) => e(y).sort = O),
1804
+ modelValue: e(v).sort,
1805
+ "onUpdate:modelValue": d[1] || (d[1] = (O) => e(v).sort = O),
1806
1806
  min: 0,
1807
1807
  placeholder: e(a)("base.placeholder.input")
1808
1808
  }, null, 8, ["modelValue", "placeholder"])
@@ -1815,56 +1815,56 @@ const al = /* @__PURE__ */ q({
1815
1815
  ]),
1816
1816
  _: 1
1817
1817
  }),
1818
- l(b, {
1818
+ l(_, {
1819
1819
  label: e(a)("base.name"),
1820
1820
  prop: "name"
1821
1821
  }, {
1822
1822
  default: t(() => [
1823
- l(k, {
1824
- modelValue: e(y).name,
1825
- "onUpdate:modelValue": d[2] || (d[2] = (O) => e(y).name = O),
1823
+ l(y, {
1824
+ modelValue: e(v).name,
1825
+ "onUpdate:modelValue": d[2] || (d[2] = (O) => e(v).name = O),
1826
1826
  placeholder: e(a)("base.placeholder.input")
1827
1827
  }, null, 8, ["modelValue", "placeholder"])
1828
1828
  ]),
1829
1829
  _: 1
1830
1830
  }, 8, ["label"]),
1831
- l(b, {
1831
+ l(_, {
1832
1832
  label: e(a)("base.en_name"),
1833
1833
  prop: "en_name"
1834
1834
  }, {
1835
1835
  default: t(() => [
1836
- l(k, {
1837
- modelValue: e(y).en_name,
1838
- "onUpdate:modelValue": d[3] || (d[3] = (O) => e(y).en_name = O),
1836
+ l(y, {
1837
+ modelValue: e(v).en_name,
1838
+ "onUpdate:modelValue": d[3] || (d[3] = (O) => e(v).en_name = O),
1839
1839
  placeholder: e(a)("base.placeholder.input")
1840
1840
  }, null, 8, ["modelValue", "placeholder"])
1841
1841
  ]),
1842
1842
  _: 1
1843
1843
  }, 8, ["label"]),
1844
- l(b, {
1844
+ l(_, {
1845
1845
  label: e(a)("base.remark"),
1846
1846
  prop: "remark"
1847
1847
  }, {
1848
1848
  default: t(() => [
1849
- l(k, {
1850
- modelValue: e(y).remark,
1851
- "onUpdate:modelValue": d[4] || (d[4] = (O) => e(y).remark = O),
1849
+ l(y, {
1850
+ modelValue: e(v).remark,
1851
+ "onUpdate:modelValue": d[4] || (d[4] = (O) => e(v).remark = O),
1852
1852
  placeholder: e(a)("base.placeholder.input")
1853
1853
  }, null, 8, ["modelValue", "placeholder"])
1854
1854
  ]),
1855
1855
  _: 1
1856
1856
  }, 8, ["label"]),
1857
- l(b, {
1857
+ l(_, {
1858
1858
  label: e(a)("menu.rules"),
1859
1859
  prop: "rules"
1860
1860
  }, {
1861
1861
  default: t(() => [
1862
- l(dl, {
1862
+ l(rl, {
1863
1863
  ref_key: "rulesCheck",
1864
- ref: V,
1865
- modelValue: e(y).rules,
1866
- "onUpdate:modelValue": d[5] || (d[5] = (O) => e(y).rules = O),
1867
- disabled: e(u) || e(_)
1864
+ ref: h,
1865
+ modelValue: e(v).rules,
1866
+ "onUpdate:modelValue": d[5] || (d[5] = (O) => e(v).rules = O),
1867
+ disabled: e(u) || e(f)
1868
1868
  }, null, 8, ["modelValue", "disabled"])
1869
1869
  ]),
1870
1870
  _: 1
@@ -1877,12 +1877,12 @@ const al = /* @__PURE__ */ q({
1877
1877
  }, 8, ["modelValue", "title", "executing", "onSubmit"]);
1878
1878
  };
1879
1879
  }
1880
- }), ul = /* @__PURE__ */ q({
1880
+ }), sl = /* @__PURE__ */ q({
1881
1881
  __name: "index",
1882
- setup(R) {
1883
- const v = {
1882
+ setup(M) {
1883
+ const w = {
1884
1884
  keyword: ""
1885
- }, h = [
1885
+ }, V = [
1886
1886
  {
1887
1887
  label: a("base.sort"),
1888
1888
  prop: "sort",
@@ -1915,50 +1915,50 @@ const al = /* @__PURE__ */ q({
1915
1915
  width: 60,
1916
1916
  align: "center",
1917
1917
  render: ({
1918
- row: _
1919
- }) => l(X, {
1918
+ row: f
1919
+ }) => l(J, {
1920
1920
  onModify: () => u({
1921
- key: _.key
1921
+ key: f.key
1922
1922
  })
1923
1923
  }, null)
1924
1924
  }
1925
1925
  ], {
1926
1926
  requesting: g
1927
- } = F(pe), {
1928
- tableRef: V,
1929
- formModalRef: f,
1927
+ } = $(ce), {
1928
+ tableRef: h,
1929
+ formModalRef: b,
1930
1930
  keyword: p,
1931
1931
  search: i,
1932
1932
  reset: c,
1933
1933
  refresh: n,
1934
- openFormModal: y,
1934
+ openFormModal: v,
1935
1935
  editFormModal: u
1936
- } = $(v);
1937
- return (_, m) => {
1938
- const w = s("el-input"), U = s("el-space"), x = s("el-page-header"), o = s("el-card");
1939
- return D(), T(o, {
1936
+ } = F(w);
1937
+ return (f, m) => {
1938
+ const R = s("el-input"), U = s("el-space"), k = s("el-page-header"), o = s("el-card");
1939
+ return L(), T(o, {
1940
1940
  class: "basic-card flex-full",
1941
1941
  "body-class": "flex-1"
1942
1942
  }, {
1943
- header: t(() => [l(x, {
1943
+ header: t(() => [l(k, {
1944
1944
  class: "basic-header"
1945
1945
  }, {
1946
- title: t(() => [l(e(B), {
1946
+ title: t(() => [l(e(P), {
1947
1947
  loading: e(g),
1948
1948
  onRefresh: e(c)
1949
- }, null, 8, ["loading", "onRefresh"]), l(e(I), {
1950
- onOpen: e(y)
1949
+ }, null, 8, ["loading", "onRefresh"]), l(e(B), {
1950
+ onOpen: e(v)
1951
1951
  }, null, 8, ["onOpen"])]),
1952
1952
  content: t(() => [l(U, {
1953
1953
  class: "search-bar"
1954
1954
  }, {
1955
- default: t(() => [l(w, {
1955
+ default: t(() => [l(R, {
1956
1956
  class: "basic-search-input",
1957
1957
  modelValue: e(p).keyword,
1958
1958
  "onUpdate:modelValue": m[0] || (m[0] = (r) => e(p).keyword = r),
1959
1959
  placeholder: e(a)("base.placeholder.keyword"),
1960
1960
  clearable: "",
1961
- onKeyup: m[1] || (m[1] = me((r) => e(i)(), ["enter"])),
1961
+ onKeyup: m[1] || (m[1] = be((r) => e(i)(), ["enter"])),
1962
1962
  onClear: m[2] || (m[2] = (r) => e(i)())
1963
1963
  }, null, 8, ["modelValue", "placeholder"]), l(e(Z), {
1964
1964
  disabled: e(g),
@@ -1968,35 +1968,29 @@ const al = /* @__PURE__ */ q({
1968
1968
  })]),
1969
1969
  _: 1
1970
1970
  })]),
1971
- default: t(() => [l(e(se), {
1971
+ default: t(() => [l(e(ie), {
1972
1972
  ref_key: "tableRef",
1973
- ref: V,
1973
+ ref: h,
1974
1974
  size: "small",
1975
- columns: h,
1976
- url: e(pe).urls[e(ce)],
1975
+ columns: V,
1976
+ url: e(ce).urls[e(fe)],
1977
1977
  "search-param": e(p),
1978
1978
  autoSearch: ""
1979
- }, null, 8, ["url", "search-param"]), l(sl, {
1979
+ }, null, 8, ["url", "search-param"]), l(dl, {
1980
1980
  ref_key: "formModalRef",
1981
- ref: f,
1981
+ ref: b,
1982
1982
  onRefresh: e(n)
1983
1983
  }, null, 8, ["onRefresh"])]),
1984
1984
  _: 1
1985
1985
  });
1986
1986
  };
1987
1987
  }
1988
- }), il = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1988
+ }), ul = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1989
1989
  __proto__: null,
1990
- default: ul
1991
- }, Symbol.toStringTag, { value: "Module" })), ee = W(
1992
- "site",
1993
- {
1994
- check: "check"
1995
- },
1996
- "id",
1997
- ["check"],
1998
- []
1999
- ), le = W("domain", {}, "id", [], []), Ae = /* @__PURE__ */ q({
1990
+ default: sl
1991
+ }, Symbol.toStringTag, { value: "Module" })), il = {
1992
+ check: "check"
1993
+ }, le = K.routineApi("site", "id", il), se = K.routineApi("domain"), Re = /* @__PURE__ */ q({
2000
1994
  __name: "DomainSelect",
2001
1995
  props: {
2002
1996
  modelValue: {
@@ -2009,36 +2003,36 @@ const al = /* @__PURE__ */ q({
2009
2003
  }
2010
2004
  },
2011
2005
  emits: ["update:modelValue", "change"],
2012
- setup(R, {
2013
- expose: v,
2014
- emit: h
2006
+ setup(M, {
2007
+ expose: w,
2008
+ emit: V
2015
2009
  }) {
2016
- const g = h, V = R, {
2017
- requesting: f
2018
- } = F(le), {
2010
+ const g = V, h = M, {
2011
+ requesting: b
2012
+ } = $(se), {
2019
2013
  key: p,
2020
2014
  options: i,
2021
2015
  refresh: c,
2022
2016
  change: n
2023
- } = te(oe(V, "modelValue"), g, {
2017
+ } = ne(te(h, "modelValue"), g, {
2024
2018
  key: "DOMAIN_LIST",
2025
- api: le,
2019
+ api: se,
2026
2020
  isArray: !0
2027
2021
  });
2028
- return v({
2022
+ return w({
2029
2023
  refresh: c
2030
- }), (y, u) => {
2031
- const _ = s("el-select-v2");
2032
- return D(), T(_, {
2024
+ }), (v, u) => {
2025
+ const f = s("el-select-v2");
2026
+ return L(), T(f, {
2033
2027
  modelValue: e(p),
2034
2028
  "onUpdate:modelValue": u[0] || (u[0] = (m) => z(p) ? p.value = m : null),
2035
2029
  options: e(i),
2036
- disabled: R.disabled || e(f),
2030
+ disabled: M.disabled || e(b),
2037
2031
  placeholder: e(a)("base.select config.domain"),
2038
2032
  onChange: e(n)
2039
2033
  }, {
2040
- prefix: t(() => [l(e(ue), {
2041
- loading: e(f),
2034
+ prefix: t(() => [l(e(pe), {
2035
+ loading: e(b),
2042
2036
  onRefresh: e(c)
2043
2037
  }, null, 8, ["loading", "onRefresh"])]),
2044
2038
  _: 1
@@ -2048,8 +2042,8 @@ const al = /* @__PURE__ */ q({
2048
2042
  }), pl = /* @__PURE__ */ q({
2049
2043
  __name: "SiteFormModal",
2050
2044
  emits: ["refresh"],
2051
- setup(R, { expose: v, emit: h }) {
2052
- const g = h, V = {
2045
+ setup(M, { expose: w, emit: V }) {
2046
+ const g = V, h = {
2053
2047
  id: 0,
2054
2048
  domain_id: 0,
2055
2049
  prefix: "",
@@ -2059,34 +2053,34 @@ const al = /* @__PURE__ */ q({
2059
2053
  git: "",
2060
2054
  status: 1,
2061
2055
  remark: ""
2062
- }, f = {
2056
+ }, b = {
2063
2057
  domain_id: [{ required: !0, message: a("base.placeholder.input config.domain"), trigger: "blur" }],
2064
2058
  prefix: [{ required: !0, message: a("base.placeholder.input base.prefix"), trigger: "blur" }],
2065
2059
  name: [{ required: !0, message: a("base.placeholder.input base.name"), trigger: "blur" }],
2066
2060
  en_name: [{ required: !0, message: a("base.placeholder.input base.en_name"), trigger: "blur" }]
2067
- }, { modal: p, title: i, form: c, formData: n, requesting: y, executing: u, open: _, modify: m, submit: w, closed: U } = Y(g, V, ee);
2068
- return v({
2069
- open: _,
2061
+ }, { modal: p, title: i, form: c, formData: n, requesting: v, executing: u, open: f, modify: m, submit: R, closed: U } = H(g, h, le);
2062
+ return w({
2063
+ open: f,
2070
2064
  modify: m
2071
- }), (x, o) => {
2072
- const r = s("el-form-item"), d = s("el-input"), k = s("el-form");
2073
- return D(), T(e(H), {
2065
+ }), (k, o) => {
2066
+ const r = s("el-form-item"), d = s("el-input"), y = s("el-form");
2067
+ return L(), T(e(G), {
2074
2068
  modelValue: e(p),
2075
- "onUpdate:modelValue": o[7] || (o[7] = (b) => z(p) ? p.value = b : null),
2069
+ "onUpdate:modelValue": o[7] || (o[7] = (_) => z(p) ? p.value = _ : null),
2076
2070
  title: e(i)("config.site"),
2077
2071
  width: "600px",
2078
2072
  executing: e(u),
2079
2073
  onClosed: e(U),
2080
- onSubmit: e(w)
2074
+ onSubmit: e(R)
2081
2075
  }, {
2082
2076
  default: t(() => [
2083
- l(k, {
2077
+ l(y, {
2084
2078
  ref_key: "form",
2085
2079
  ref: c,
2086
2080
  model: e(n),
2087
2081
  "label-width": "auto",
2088
- rules: f,
2089
- disabled: e(y) || e(u)
2082
+ rules: b,
2083
+ disabled: e(v) || e(u)
2090
2084
  }, {
2091
2085
  default: t(() => [
2092
2086
  l(r, {
@@ -2094,9 +2088,9 @@ const al = /* @__PURE__ */ q({
2094
2088
  label: e(a)("config.domain")
2095
2089
  }, {
2096
2090
  default: t(() => [
2097
- l(Ae, {
2091
+ l(Re, {
2098
2092
  modelValue: e(n).domain_id,
2099
- "onUpdate:modelValue": o[0] || (o[0] = (b) => e(n).domain_id = b),
2093
+ "onUpdate:modelValue": o[0] || (o[0] = (_) => e(n).domain_id = _),
2100
2094
  disabled: e(u)
2101
2095
  }, null, 8, ["modelValue", "disabled"])
2102
2096
  ]),
@@ -2109,7 +2103,7 @@ const al = /* @__PURE__ */ q({
2109
2103
  default: t(() => [
2110
2104
  l(d, {
2111
2105
  modelValue: e(n).prefix,
2112
- "onUpdate:modelValue": o[1] || (o[1] = (b) => e(n).prefix = b),
2106
+ "onUpdate:modelValue": o[1] || (o[1] = (_) => e(n).prefix = _),
2113
2107
  disabled: e(u),
2114
2108
  placeholder: e(a)("base.placeholder.input")
2115
2109
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2123,7 +2117,7 @@ const al = /* @__PURE__ */ q({
2123
2117
  default: t(() => [
2124
2118
  l(d, {
2125
2119
  modelValue: e(n).name,
2126
- "onUpdate:modelValue": o[2] || (o[2] = (b) => e(n).name = b),
2120
+ "onUpdate:modelValue": o[2] || (o[2] = (_) => e(n).name = _),
2127
2121
  disabled: e(u),
2128
2122
  placeholder: e(a)("base.placeholder.input")
2129
2123
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2137,7 +2131,7 @@ const al = /* @__PURE__ */ q({
2137
2131
  default: t(() => [
2138
2132
  l(d, {
2139
2133
  modelValue: e(n).en_name,
2140
- "onUpdate:modelValue": o[3] || (o[3] = (b) => e(n).en_name = b),
2134
+ "onUpdate:modelValue": o[3] || (o[3] = (_) => e(n).en_name = _),
2141
2135
  disabled: e(u),
2142
2136
  placeholder: e(a)("base.placeholder.input")
2143
2137
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2151,7 +2145,7 @@ const al = /* @__PURE__ */ q({
2151
2145
  default: t(() => [
2152
2146
  l(d, {
2153
2147
  modelValue: e(n).dns,
2154
- "onUpdate:modelValue": o[4] || (o[4] = (b) => e(n).dns = b),
2148
+ "onUpdate:modelValue": o[4] || (o[4] = (_) => e(n).dns = _),
2155
2149
  disabled: e(u),
2156
2150
  placeholder: e(a)("base.placeholder.input")
2157
2151
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2165,7 +2159,7 @@ const al = /* @__PURE__ */ q({
2165
2159
  default: t(() => [
2166
2160
  l(d, {
2167
2161
  modelValue: e(n).git,
2168
- "onUpdate:modelValue": o[5] || (o[5] = (b) => e(n).git = b),
2162
+ "onUpdate:modelValue": o[5] || (o[5] = (_) => e(n).git = _),
2169
2163
  disabled: e(u),
2170
2164
  placeholder: e(a)("base.placeholder.input")
2171
2165
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2179,7 +2173,7 @@ const al = /* @__PURE__ */ q({
2179
2173
  default: t(() => [
2180
2174
  l(d, {
2181
2175
  modelValue: e(n).remark,
2182
- "onUpdate:modelValue": o[6] || (o[6] = (b) => e(n).remark = b),
2176
+ "onUpdate:modelValue": o[6] || (o[6] = (_) => e(n).remark = _),
2183
2177
  disabled: e(u),
2184
2178
  placeholder: e(a)("base.placeholder.input")
2185
2179
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2194,7 +2188,7 @@ const al = /* @__PURE__ */ q({
2194
2188
  }, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
2195
2189
  };
2196
2190
  }
2197
- }), de = W("domain_provider", {}, "id", [], []), ml = /* @__PURE__ */ q({
2191
+ }), ue = K.routineApi("domain_provider"), ml = /* @__PURE__ */ q({
2198
2192
  __name: "DomainProviderSelect",
2199
2193
  props: {
2200
2194
  modelValue: {
@@ -2207,36 +2201,36 @@ const al = /* @__PURE__ */ q({
2207
2201
  }
2208
2202
  },
2209
2203
  emits: ["update:modelValue", "change"],
2210
- setup(R, {
2211
- expose: v,
2212
- emit: h
2204
+ setup(M, {
2205
+ expose: w,
2206
+ emit: V
2213
2207
  }) {
2214
- const g = h, V = R, {
2215
- requesting: f
2216
- } = F(de), {
2208
+ const g = V, h = M, {
2209
+ requesting: b
2210
+ } = $(ue), {
2217
2211
  key: p,
2218
2212
  options: i,
2219
2213
  refresh: c,
2220
2214
  change: n
2221
- } = te(oe(V, "modelValue"), g, {
2215
+ } = ne(te(h, "modelValue"), g, {
2222
2216
  key: "DOMAIN_PROVIDER_LIST",
2223
- api: de,
2217
+ api: ue,
2224
2218
  isArray: !0
2225
2219
  });
2226
- return v({
2220
+ return w({
2227
2221
  refresh: c
2228
- }), (y, u) => {
2229
- const _ = s("el-select-v2");
2230
- return D(), T(_, {
2222
+ }), (v, u) => {
2223
+ const f = s("el-select-v2");
2224
+ return L(), T(f, {
2231
2225
  modelValue: e(p),
2232
2226
  "onUpdate:modelValue": u[0] || (u[0] = (m) => z(p) ? p.value = m : null),
2233
2227
  options: e(i),
2234
- disabled: R.disabled || e(f),
2228
+ disabled: M.disabled || e(b),
2235
2229
  placeholder: e(a)("base.select config.domain config.provider"),
2236
2230
  onChange: e(n)
2237
2231
  }, {
2238
- prefix: t(() => [l(e(ue), {
2239
- loading: e(f),
2232
+ prefix: t(() => [l(e(pe), {
2233
+ loading: e(b),
2240
2234
  onRefresh: e(c)
2241
2235
  }, null, 8, ["loading", "onRefresh"])]),
2242
2236
  _: 1
@@ -2246,40 +2240,40 @@ const al = /* @__PURE__ */ q({
2246
2240
  }), cl = /* @__PURE__ */ q({
2247
2241
  __name: "DomainFormModal",
2248
2242
  emits: ["refresh"],
2249
- setup(R, { expose: v, emit: h }) {
2250
- const g = h, V = {
2243
+ setup(M, { expose: w, emit: V }) {
2244
+ const g = V, h = {
2251
2245
  id: 0,
2252
2246
  provider_id: 0,
2253
2247
  name: "",
2254
2248
  expired_at: "",
2255
2249
  status: 1,
2256
2250
  remark: ""
2257
- }, f = {
2251
+ }, b = {
2258
2252
  provider_id: [{ required: !0, message: a("base.placeholder.input config.domain config.provider"), trigger: "blur" }],
2259
2253
  name: [{ required: !0, message: a("base.placeholder.input base.name"), trigger: "blur" }]
2260
- }, { modal: p, title: i, form: c, formData: n, requesting: y, executing: u, open: _, modify: m, submit: w, closed: U } = Y(g, V, le);
2261
- return v({
2262
- open: _,
2254
+ }, { modal: p, title: i, form: c, formData: n, requesting: v, executing: u, open: f, modify: m, submit: R, closed: U } = H(g, h, se);
2255
+ return w({
2256
+ open: f,
2263
2257
  modify: m
2264
- }), (x, o) => {
2265
- const r = s("el-form-item"), d = s("el-input"), k = s("el-date-picker"), b = s("el-form");
2266
- return D(), T(e(H), {
2258
+ }), (k, o) => {
2259
+ const r = s("el-form-item"), d = s("el-input"), y = s("el-date-picker"), _ = s("el-form");
2260
+ return L(), T(e(G), {
2267
2261
  modelValue: e(p),
2268
- "onUpdate:modelValue": o[4] || (o[4] = (S) => z(p) ? p.value = S : null),
2262
+ "onUpdate:modelValue": o[4] || (o[4] = (D) => z(p) ? p.value = D : null),
2269
2263
  title: e(i)("config.domain"),
2270
2264
  width: "600px",
2271
2265
  executing: e(u),
2272
2266
  onClosed: e(U),
2273
- onSubmit: e(w)
2267
+ onSubmit: e(R)
2274
2268
  }, {
2275
2269
  default: t(() => [
2276
- l(b, {
2270
+ l(_, {
2277
2271
  ref_key: "form",
2278
2272
  ref: c,
2279
2273
  model: e(n),
2280
2274
  "label-width": "auto",
2281
- rules: f,
2282
- disabled: e(y) || e(u)
2275
+ rules: b,
2276
+ disabled: e(v) || e(u)
2283
2277
  }, {
2284
2278
  default: t(() => [
2285
2279
  l(r, {
@@ -2289,7 +2283,7 @@ const al = /* @__PURE__ */ q({
2289
2283
  default: t(() => [
2290
2284
  l(ml, {
2291
2285
  modelValue: e(n).provider_id,
2292
- "onUpdate:modelValue": o[0] || (o[0] = (S) => e(n).provider_id = S),
2286
+ "onUpdate:modelValue": o[0] || (o[0] = (D) => e(n).provider_id = D),
2293
2287
  disabled: e(u)
2294
2288
  }, null, 8, ["modelValue", "disabled"])
2295
2289
  ]),
@@ -2302,7 +2296,7 @@ const al = /* @__PURE__ */ q({
2302
2296
  default: t(() => [
2303
2297
  l(d, {
2304
2298
  modelValue: e(n).name,
2305
- "onUpdate:modelValue": o[1] || (o[1] = (S) => e(n).name = S),
2299
+ "onUpdate:modelValue": o[1] || (o[1] = (D) => e(n).name = D),
2306
2300
  disabled: e(u),
2307
2301
  placeholder: e(a)("base.placeholder.input")
2308
2302
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2315,11 +2309,11 @@ const al = /* @__PURE__ */ q({
2315
2309
  label: e(a)("base.expired_at")
2316
2310
  }, {
2317
2311
  default: t(() => [
2318
- l(k, {
2312
+ l(y, {
2319
2313
  type: "date",
2320
2314
  style: { width: "100%" },
2321
2315
  modelValue: e(n).expired_at,
2322
- "onUpdate:modelValue": o[2] || (o[2] = (S) => e(n).expired_at = S),
2316
+ "onUpdate:modelValue": o[2] || (o[2] = (D) => e(n).expired_at = D),
2323
2317
  disabled: e(u),
2324
2318
  "value-format": e(C).DATE_VALUE_FORMAT,
2325
2319
  format: e(C).DATE_FORMAT,
@@ -2335,7 +2329,7 @@ const al = /* @__PURE__ */ q({
2335
2329
  default: t(() => [
2336
2330
  l(d, {
2337
2331
  modelValue: e(n).remark,
2338
- "onUpdate:modelValue": o[3] || (o[3] = (S) => e(n).remark = S),
2332
+ "onUpdate:modelValue": o[3] || (o[3] = (D) => e(n).remark = D),
2339
2333
  disabled: e(u),
2340
2334
  placeholder: e(a)("base.placeholder.input")
2341
2335
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2350,7 +2344,9 @@ const al = /* @__PURE__ */ q({
2350
2344
  }, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
2351
2345
  };
2352
2346
  }
2353
- }), bl = /* @__PURE__ */ q({
2347
+ }), bl = {
2348
+ gen: "gen"
2349
+ }, ae = K.routineApi("SSL", "id", bl), fl = /* @__PURE__ */ q({
2354
2350
  __name: "SiteSelect",
2355
2351
  props: {
2356
2352
  modelValue: {
@@ -2363,93 +2359,94 @@ const al = /* @__PURE__ */ q({
2363
2359
  }
2364
2360
  },
2365
2361
  emits: ["update:modelValue", "change"],
2366
- setup(R, {
2367
- expose: v,
2368
- emit: h
2362
+ setup(M, {
2363
+ expose: w,
2364
+ emit: V
2369
2365
  }) {
2370
- const g = h, V = R, {
2371
- requesting: f
2372
- } = F(ee), {
2366
+ const g = V, h = M, {
2367
+ requesting: b
2368
+ } = $(le), {
2373
2369
  key: p,
2374
2370
  options: i,
2375
2371
  refresh: c,
2376
2372
  change: n
2377
- } = te(oe(V, "modelValue"), g, {
2373
+ } = ne(te(h, "modelValue"), g, {
2378
2374
  key: "SITE_LIST",
2379
- api: ee,
2375
+ api: le,
2380
2376
  isArray: !0,
2381
- formatOptions: (y) => y.map((u) => {
2382
- var _;
2377
+ formatOptions: (v) => v.map((u) => {
2378
+ var f;
2383
2379
  return {
2384
- label: u.prefix + "." + ((_ = u.domain) == null ? void 0 : _.name),
2380
+ label: u.prefix + "." + ((f = u.domain) == null ? void 0 : f.name),
2385
2381
  value: u.id
2386
2382
  };
2387
2383
  })
2388
2384
  });
2389
- return v({
2385
+ return w({
2390
2386
  refresh: c
2391
- }), (y, u) => {
2392
- const _ = s("el-select-v2");
2393
- return D(), T(_, {
2387
+ }), (v, u) => {
2388
+ const f = s("el-select-v2");
2389
+ return L(), T(f, {
2394
2390
  modelValue: e(p),
2395
2391
  "onUpdate:modelValue": u[0] || (u[0] = (m) => z(p) ? p.value = m : null),
2396
2392
  options: e(i),
2397
- disabled: R.disabled || e(f),
2393
+ disabled: M.disabled || e(b),
2398
2394
  placeholder: e(a)("base.select config.domain"),
2399
2395
  onChange: e(n)
2400
2396
  }, {
2401
- prefix: t(() => [l(e(ue), {
2402
- loading: e(f),
2397
+ prefix: t(() => [l(e(pe), {
2398
+ loading: e(b),
2403
2399
  onRefresh: e(c)
2404
2400
  }, null, 8, ["loading", "onRefresh"])]),
2405
2401
  _: 1
2406
2402
  }, 8, ["modelValue", "options", "disabled", "placeholder", "onChange"]);
2407
2403
  };
2408
2404
  }
2409
- }), fl = /* @__PURE__ */ q({
2405
+ }), Ue = /* @__PURE__ */ q({
2410
2406
  __name: "SSLFormModal",
2411
2407
  emits: ["refresh"],
2412
- setup(R, { expose: v, emit: h }) {
2413
- const g = h, V = {
2408
+ setup(M, { expose: w, emit: V }) {
2409
+ const g = V, h = {
2414
2410
  id: 0,
2415
- domain_id: 0,
2416
- site_id: 0,
2411
+ domain_id: void 0,
2412
+ client: "Lego",
2413
+ site_id: void 0,
2417
2414
  name: "",
2418
2415
  path: "",
2419
2416
  email: "",
2420
- encryption: "",
2417
+ encryption: "RSA2048",
2421
2418
  remark: ""
2422
- }, f = {
2419
+ }, b = {
2423
2420
  domain_id: [{ required: !0, message: a("base.placeholder.select config.domain "), trigger: "blur" }],
2424
- site_id: [{ required: !0, message: a("base.placeholder.select config.site "), trigger: "blur" }],
2421
+ client: [{ required: !0, message: a("base.placeholder.select config.client "), trigger: "blur" }],
2425
2422
  name: [{ required: !0, message: a("base.placeholder.input base.name"), trigger: "blur" }],
2426
2423
  path: [{ required: !0, message: a("base.placeholder.input base.path"), trigger: "blur" }],
2427
2424
  email: [{ required: !0, message: a("base.placeholder.input base.email"), trigger: "blur" }],
2428
2425
  encryption: [{ required: !0, message: a("base.placeholder.input config.encryption"), trigger: "blur" }]
2429
- }, { modal: p, title: i, form: c, formData: n, requesting: y, executing: u, open: _, modify: m, submit: w, closed: U } = Y(g, V, le);
2430
- return v({
2431
- open: _,
2426
+ }, { modal: p, title: i, form: c, formData: n, requesting: v, executing: u, open: f, modify: m, submit: R, closed: U } = H(g, h, ae);
2427
+ return w({
2428
+ open: f,
2432
2429
  modify: m,
2433
2430
  formData: n
2434
- }), (x, o) => {
2435
- const r = s("el-form-item"), d = s("el-input"), k = s("el-form");
2436
- return D(), T(e(H), {
2431
+ }), (k, o) => {
2432
+ const r = s("el-form-item"), d = s("el-radio-button"), y = s("el-radio-group"), _ = s("el-input"), D = s("el-form");
2433
+ return L(), T(e(G), {
2437
2434
  modelValue: e(p),
2438
- "onUpdate:modelValue": o[7] || (o[7] = (b) => z(p) ? p.value = b : null),
2439
- title: e(i)("config.domain"),
2435
+ "onUpdate:modelValue": o[8] || (o[8] = (x) => z(p) ? p.value = x : null),
2436
+ title: e(i)("ssl.ssl"),
2440
2437
  width: "600px",
2441
2438
  executing: e(u),
2442
2439
  onClosed: e(U),
2443
- onSubmit: e(w)
2440
+ onSubmit: e(R)
2444
2441
  }, {
2445
2442
  default: t(() => [
2446
- l(k, {
2443
+ l(D, {
2447
2444
  ref_key: "form",
2448
2445
  ref: c,
2449
2446
  model: e(n),
2450
2447
  "label-width": "auto",
2451
- rules: f,
2452
- disabled: e(y) || e(u)
2448
+ rules: b,
2449
+ disabled: e(v) || e(u)
2453
2450
  }, {
2454
2451
  default: t(() => [
2455
2452
  l(r, {
@@ -2457,23 +2454,43 @@ const al = /* @__PURE__ */ q({
2457
2454
  label: e(a)("config.domain")
2458
2455
  }, {
2459
2456
  default: t(() => [
2460
- l(Ae, {
2457
+ l(Re, {
2461
2458
  modelValue: e(n).domain_id,
2462
- "onUpdate:modelValue": o[0] || (o[0] = (b) => e(n).domain_id = b),
2459
+ "onUpdate:modelValue": o[0] || (o[0] = (x) => e(n).domain_id = x),
2463
2460
  disabled: e(u)
2464
2461
  }, null, 8, ["modelValue", "disabled"])
2465
2462
  ]),
2466
2463
  _: 1
2467
2464
  }, 8, ["label"]),
2465
+ l(r, {
2466
+ prop: "client",
2467
+ label: e(a)("ssl.client")
2468
+ }, {
2469
+ default: t(() => [
2470
+ l(y, {
2471
+ modelValue: e(n).client,
2472
+ "onUpdate:modelValue": o[1] || (o[1] = (x) => e(n).client = x)
2473
+ }, {
2474
+ default: t(() => [
2475
+ l(d, {
2476
+ label: "Lego",
2477
+ value: "Lego"
2478
+ })
2479
+ ]),
2480
+ _: 1
2481
+ }, 8, ["modelValue"])
2482
+ ]),
2483
+ _: 1
2484
+ }, 8, ["label"]),
2468
2485
  l(r, {
2469
2486
  prop: "site_id",
2470
2487
  label: e(a)("config.site")
2471
2488
  }, {
2472
2489
  default: t(() => [
2473
- l(bl, {
2490
+ l(fl, {
2474
2491
  modelValue: e(n).site_id,
2475
- "onUpdate:modelValue": o[1] || (o[1] = (b) => e(n).site_id = b),
2476
- disabled: e(u) || e(n).domain_id > 0
2492
+ "onUpdate:modelValue": o[2] || (o[2] = (x) => e(n).site_id = x),
2493
+ disabled: e(u)
2477
2494
  }, null, 8, ["modelValue", "disabled"])
2478
2495
  ]),
2479
2496
  _: 1
@@ -2483,9 +2500,9 @@ const al = /* @__PURE__ */ q({
2483
2500
  label: e(a)("base.name")
2484
2501
  }, {
2485
2502
  default: t(() => [
2486
- l(d, {
2503
+ l(_, {
2487
2504
  modelValue: e(n).name,
2488
- "onUpdate:modelValue": o[2] || (o[2] = (b) => e(n).name = b),
2505
+ "onUpdate:modelValue": o[3] || (o[3] = (x) => e(n).name = x),
2489
2506
  disabled: e(u),
2490
2507
  placeholder: e(a)("base.placeholder.input")
2491
2508
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2497,9 +2514,9 @@ const al = /* @__PURE__ */ q({
2497
2514
  label: e(a)("base.path")
2498
2515
  }, {
2499
2516
  default: t(() => [
2500
- l(d, {
2517
+ l(_, {
2501
2518
  modelValue: e(n).path,
2502
- "onUpdate:modelValue": o[3] || (o[3] = (b) => e(n).path = b),
2519
+ "onUpdate:modelValue": o[4] || (o[4] = (x) => e(n).path = x),
2503
2520
  disabled: e(u),
2504
2521
  placeholder: e(a)("base.placeholder.input")
2505
2522
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2511,9 +2528,9 @@ const al = /* @__PURE__ */ q({
2511
2528
  label: e(a)("base.email")
2512
2529
  }, {
2513
2530
  default: t(() => [
2514
- l(d, {
2531
+ l(_, {
2515
2532
  modelValue: e(n).email,
2516
- "onUpdate:modelValue": o[4] || (o[4] = (b) => e(n).email = b),
2533
+ "onUpdate:modelValue": o[5] || (o[5] = (x) => e(n).email = x),
2517
2534
  disabled: e(u),
2518
2535
  placeholder: e(a)("base.placeholder.input")
2519
2536
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2525,12 +2542,18 @@ const al = /* @__PURE__ */ q({
2525
2542
  label: e(a)("config.encryption")
2526
2543
  }, {
2527
2544
  default: t(() => [
2528
- l(d, {
2545
+ l(y, {
2529
2546
  modelValue: e(n).encryption,
2530
- "onUpdate:modelValue": o[5] || (o[5] = (b) => e(n).encryption = b),
2531
- disabled: e(u),
2532
- placeholder: e(a)("base.placeholder.input")
2533
- }, null, 8, ["modelValue", "disabled", "placeholder"])
2547
+ "onUpdate:modelValue": o[6] || (o[6] = (x) => e(n).encryption = x)
2548
+ }, {
2549
+ default: t(() => [
2550
+ l(d, {
2551
+ label: "RSA2048",
2552
+ value: "RSA2048"
2553
+ })
2554
+ ]),
2555
+ _: 1
2556
+ }, 8, ["modelValue"])
2534
2557
  ]),
2535
2558
  _: 1
2536
2559
  }, 8, ["label"]),
@@ -2539,9 +2562,9 @@ const al = /* @__PURE__ */ q({
2539
2562
  label: e(a)("base.remark")
2540
2563
  }, {
2541
2564
  default: t(() => [
2542
- l(d, {
2565
+ l(_, {
2543
2566
  modelValue: e(n).remark,
2544
- "onUpdate:modelValue": o[6] || (o[6] = (b) => e(n).remark = b),
2567
+ "onUpdate:modelValue": o[7] || (o[7] = (x) => e(n).remark = x),
2545
2568
  disabled: e(u),
2546
2569
  placeholder: e(a)("base.placeholder.input")
2547
2570
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2559,8 +2582,8 @@ const al = /* @__PURE__ */ q({
2559
2582
  }), _l = /* @__PURE__ */ q({
2560
2583
  __name: "DomainProviderFormModal",
2561
2584
  emits: ["refresh"],
2562
- setup(R, { expose: v, emit: h }) {
2563
- const g = h, V = {
2585
+ setup(M, { expose: w, emit: V }) {
2586
+ const g = V, h = {
2564
2587
  id: 0,
2565
2588
  name: "",
2566
2589
  en_name: "",
@@ -2569,35 +2592,35 @@ const al = /* @__PURE__ */ q({
2569
2592
  end_point: "",
2570
2593
  status: 1,
2571
2594
  remark: ""
2572
- }, f = {
2595
+ }, b = {
2573
2596
  name: [{ required: !0, message: a("base.placeholder.input base.name"), trigger: "blur" }],
2574
2597
  en_name: { required: !0, message: a("base.placeholder.input base.en_name"), trigger: "blur" },
2575
2598
  key: { required: !0, message: a("base.placeholder.input base.key"), trigger: "blur" },
2576
2599
  secret: { required: !0, message: a("base.placeholder.input config.secret"), trigger: "blur" },
2577
2600
  end_point: { required: !0, message: a("base.placeholder.input config.endpoint"), trigger: "blur" }
2578
- }, { modal: p, title: i, form: c, formData: n, requesting: y, executing: u, open: _, modify: m, submit: w, closed: U } = Y(g, V, de);
2579
- return v({
2580
- open: _,
2601
+ }, { modal: p, title: i, form: c, formData: n, requesting: v, executing: u, open: f, modify: m, submit: R, closed: U } = H(g, h, ue);
2602
+ return w({
2603
+ open: f,
2581
2604
  modify: m
2582
- }), (x, o) => {
2583
- const r = s("el-input"), d = s("el-form-item"), k = s("el-form");
2584
- return D(), T(e(H), {
2605
+ }), (k, o) => {
2606
+ const r = s("el-input"), d = s("el-form-item"), y = s("el-form");
2607
+ return L(), T(e(G), {
2585
2608
  modelValue: e(p),
2586
- "onUpdate:modelValue": o[6] || (o[6] = (b) => z(p) ? p.value = b : null),
2609
+ "onUpdate:modelValue": o[6] || (o[6] = (_) => z(p) ? p.value = _ : null),
2587
2610
  title: e(i)("config.domain"),
2588
2611
  width: "600px",
2589
2612
  executing: e(u),
2590
2613
  onClosed: e(U),
2591
- onSubmit: e(w)
2614
+ onSubmit: e(R)
2592
2615
  }, {
2593
2616
  default: t(() => [
2594
- l(k, {
2617
+ l(y, {
2595
2618
  ref_key: "form",
2596
2619
  ref: c,
2597
2620
  model: e(n),
2598
2621
  "label-width": "auto",
2599
- rules: f,
2600
- disabled: e(y) || e(u)
2622
+ rules: b,
2623
+ disabled: e(v) || e(u)
2601
2624
  }, {
2602
2625
  default: t(() => [
2603
2626
  l(d, {
@@ -2607,7 +2630,7 @@ const al = /* @__PURE__ */ q({
2607
2630
  default: t(() => [
2608
2631
  l(r, {
2609
2632
  modelValue: e(n).name,
2610
- "onUpdate:modelValue": o[0] || (o[0] = (b) => e(n).name = b),
2633
+ "onUpdate:modelValue": o[0] || (o[0] = (_) => e(n).name = _),
2611
2634
  disabled: e(u),
2612
2635
  placeholder: e(a)("base.placeholder.input")
2613
2636
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2621,7 +2644,7 @@ const al = /* @__PURE__ */ q({
2621
2644
  default: t(() => [
2622
2645
  l(r, {
2623
2646
  modelValue: e(n).en_name,
2624
- "onUpdate:modelValue": o[1] || (o[1] = (b) => e(n).en_name = b),
2647
+ "onUpdate:modelValue": o[1] || (o[1] = (_) => e(n).en_name = _),
2625
2648
  disabled: e(u),
2626
2649
  placeholder: e(a)("base.placeholder.input")
2627
2650
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2635,7 +2658,7 @@ const al = /* @__PURE__ */ q({
2635
2658
  default: t(() => [
2636
2659
  l(r, {
2637
2660
  modelValue: e(n).key,
2638
- "onUpdate:modelValue": o[2] || (o[2] = (b) => e(n).key = b),
2661
+ "onUpdate:modelValue": o[2] || (o[2] = (_) => e(n).key = _),
2639
2662
  disabled: e(u),
2640
2663
  placeholder: e(a)("base.placeholder.input")
2641
2664
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2649,7 +2672,7 @@ const al = /* @__PURE__ */ q({
2649
2672
  default: t(() => [
2650
2673
  l(r, {
2651
2674
  modelValue: e(n).secret,
2652
- "onUpdate:modelValue": o[3] || (o[3] = (b) => e(n).secret = b),
2675
+ "onUpdate:modelValue": o[3] || (o[3] = (_) => e(n).secret = _),
2653
2676
  disabled: e(u),
2654
2677
  placeholder: e(a)("base.placeholder.input")
2655
2678
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2663,7 +2686,7 @@ const al = /* @__PURE__ */ q({
2663
2686
  default: t(() => [
2664
2687
  l(r, {
2665
2688
  modelValue: e(n).end_point,
2666
- "onUpdate:modelValue": o[4] || (o[4] = (b) => e(n).end_point = b),
2689
+ "onUpdate:modelValue": o[4] || (o[4] = (_) => e(n).end_point = _),
2667
2690
  disabled: e(u),
2668
2691
  placeholder: e(a)("base.placeholder.input")
2669
2692
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2677,7 +2700,7 @@ const al = /* @__PURE__ */ q({
2677
2700
  default: t(() => [
2678
2701
  l(r, {
2679
2702
  modelValue: e(n).remark,
2680
- "onUpdate:modelValue": o[5] || (o[5] = (b) => e(n).remark = b),
2703
+ "onUpdate:modelValue": o[5] || (o[5] = (_) => e(n).remark = _),
2681
2704
  disabled: e(u),
2682
2705
  placeholder: e(a)("base.placeholder.input")
2683
2706
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2694,18 +2717,18 @@ const al = /* @__PURE__ */ q({
2694
2717
  }
2695
2718
  }), gl = /* @__PURE__ */ q({
2696
2719
  __name: "DomainProviderTableDrawer",
2697
- setup(R, {
2698
- expose: v
2720
+ setup(M, {
2721
+ expose: w
2699
2722
  }) {
2700
2723
  const {
2701
- requesting: h
2702
- } = F(de), g = j(!1), {
2703
- tableRef: V,
2704
- formModalRef: f,
2724
+ requesting: V
2725
+ } = $(ue), g = N(!1), {
2726
+ tableRef: h,
2727
+ formModalRef: b,
2705
2728
  refresh: p,
2706
2729
  openFormModal: i,
2707
2730
  editFormModal: c
2708
- } = $({}), n = [{
2731
+ } = F({}), n = [{
2709
2732
  prop: "name",
2710
2733
  label: a("base.name"),
2711
2734
  width: 0,
@@ -2722,7 +2745,7 @@ const al = /* @__PURE__ */ q({
2722
2745
  render: ({
2723
2746
  rowData: u
2724
2747
  }) => l(s("el-space"), null, {
2725
- default: () => [l(X, {
2748
+ default: () => [l(J, {
2726
2749
  icon: "icon-edit",
2727
2750
  t: "",
2728
2751
  onModify: () => c({
@@ -2731,15 +2754,15 @@ const al = /* @__PURE__ */ q({
2731
2754
  }, null)]
2732
2755
  })
2733
2756
  }];
2734
- return v({
2757
+ return w({
2735
2758
  open: () => {
2736
2759
  g.value = !0;
2737
2760
  }
2738
- }), (u, _) => {
2761
+ }), (u, f) => {
2739
2762
  const m = s("el-page-header");
2740
- return D(), T(e(_e), {
2763
+ return L(), T(e(_e), {
2741
2764
  modelValue: g.value,
2742
- "onUpdate:modelValue": _[0] || (_[0] = (w) => g.value = w),
2765
+ "onUpdate:modelValue": f[0] || (f[0] = (R) => g.value = R),
2743
2766
  width: "400px",
2744
2767
  "show-close": !1,
2745
2768
  class: "basic-drawer"
@@ -2747,28 +2770,28 @@ const al = /* @__PURE__ */ q({
2747
2770
  title: t(() => [l(m, {
2748
2771
  icon: ""
2749
2772
  }, {
2750
- title: t(() => [N("span", null, Q(e(a)("config.domain config.provider")), 1)]),
2751
- content: t(() => [l(e(B), {
2773
+ title: t(() => [j("span", null, Y(e(a)("config.domain config.provider")), 1)]),
2774
+ content: t(() => [l(e(P), {
2752
2775
  onRefresh: e(p),
2753
2776
  size: "default",
2754
- loading: e(h)
2777
+ loading: e(V)
2755
2778
  }, null, 8, ["onRefresh", "loading"])]),
2756
- extra: t(() => [l(e(I), {
2779
+ extra: t(() => [l(e(B), {
2757
2780
  onOpen: e(i)
2758
2781
  }, null, 8, ["onOpen"])]),
2759
2782
  _: 1
2760
2783
  })]),
2761
- default: t(() => [l(e(ne), {
2784
+ default: t(() => [l(e(ee), {
2762
2785
  ref_key: "tableRef",
2763
- ref: V,
2786
+ ref: h,
2764
2787
  size: "small",
2765
2788
  "row-key": "id",
2766
- url: e(de).urls.list,
2789
+ url: e(ue).urls.list,
2767
2790
  columns: n,
2768
- loading: e(h)
2791
+ loading: e(V)
2769
2792
  }, null, 8, ["url", "loading"]), l(_l, {
2770
2793
  ref_key: "formModalRef",
2771
- ref: f,
2794
+ ref: b,
2772
2795
  onRefresh: e(p)
2773
2796
  }, null, 8, ["onRefresh"])]),
2774
2797
  _: 1
@@ -2777,34 +2800,34 @@ const al = /* @__PURE__ */ q({
2777
2800
  }
2778
2801
  }), hl = /* @__PURE__ */ q({
2779
2802
  __name: "DomainTableDrawer",
2780
- setup(R, {
2781
- expose: v
2803
+ setup(M, {
2804
+ expose: w
2782
2805
  }) {
2783
2806
  const {
2784
- requesting: h
2785
- } = F(le), g = j(!1), {
2786
- tableRef: V,
2787
- formModalRef: f,
2807
+ requesting: V
2808
+ } = $(se), g = N(!1), {
2809
+ tableRef: h,
2810
+ formModalRef: b,
2788
2811
  refresh: p,
2789
2812
  openFormModal: i,
2790
2813
  editFormModal: c
2791
- } = $(), {
2814
+ } = F(), {
2792
2815
  formModalRef: n,
2793
- openFormModal: y,
2816
+ openFormModal: v,
2794
2817
  editFormModal: u
2795
- } = $(), {
2796
- formModalRef: _,
2818
+ } = F(), {
2819
+ formModalRef: f,
2797
2820
  openFormModal: m
2798
- } = $(), w = [{
2821
+ } = F(), R = [{
2799
2822
  prop: "provider",
2800
2823
  label: a("config.domain config.provider"),
2801
2824
  width: 120,
2802
2825
  cellRenderer: ({
2803
- rowData: x
2826
+ rowData: k
2804
2827
  }) => l(s("el-text"), null, {
2805
2828
  default: () => {
2806
2829
  var o;
2807
- return [(o = x.provider) == null ? void 0 : o.name];
2830
+ return [(o = k.provider) == null ? void 0 : o.name];
2808
2831
  }
2809
2832
  })
2810
2833
  }, {
@@ -2822,37 +2845,37 @@ const al = /* @__PURE__ */ q({
2822
2845
  width: 100,
2823
2846
  align: "center",
2824
2847
  render: ({
2825
- rowData: x
2848
+ rowData: k
2826
2849
  }) => l(s("el-space"), null, {
2827
- default: () => [l(X, {
2850
+ default: () => [l(J, {
2828
2851
  icon: "icon-edit",
2829
2852
  t: "",
2830
2853
  onModify: () => c({
2831
- id: x.id
2854
+ id: k.id
2832
2855
  })
2833
- }, null), l(I, {
2856
+ }, null), l(B, {
2834
2857
  icon: "icon-safetycertificate-f",
2835
2858
  type: "primary",
2836
2859
  size: "small",
2837
2860
  link: !0,
2838
2861
  onOpen: () => {
2839
2862
  var o;
2840
- x.ssl && x.ssl.id ? u({
2841
- id: (o = x.ssl) == null ? void 0 : o.id
2842
- }) : (n.value.formData.domain_id = x.id, n.value.formData.site_id = 0, y());
2863
+ k.ssl && k.ssl.id ? u({
2864
+ id: (o = k.ssl) == null ? void 0 : o.id
2865
+ }) : (n.value.formData.domain_id = k.id, n.value.formData.site_id = 0, v());
2843
2866
  }
2844
2867
  }, null)]
2845
2868
  })
2846
2869
  }];
2847
- return v({
2870
+ return w({
2848
2871
  open: () => {
2849
2872
  g.value = !0;
2850
2873
  }
2851
- }), (x, o) => {
2874
+ }), (k, o) => {
2852
2875
  const r = s("el-space"), d = s("el-page-header");
2853
- return D(), T(e(_e), {
2876
+ return L(), T(e(_e), {
2854
2877
  modelValue: g.value,
2855
- "onUpdate:modelValue": o[0] || (o[0] = (k) => g.value = k),
2878
+ "onUpdate:modelValue": o[0] || (o[0] = (y) => g.value = y),
2856
2879
  width: "600px",
2857
2880
  "show-close": !1,
2858
2881
  class: "basic-drawer"
@@ -2860,19 +2883,19 @@ const al = /* @__PURE__ */ q({
2860
2883
  title: t(() => [l(d, {
2861
2884
  icon: ""
2862
2885
  }, {
2863
- title: t(() => [N("span", null, Q(e(a)("config.domain")), 1)]),
2864
- content: t(() => [l(e(B), {
2886
+ title: t(() => [j("span", null, Y(e(a)("config.domain")), 1)]),
2887
+ content: t(() => [l(e(P), {
2865
2888
  onRefresh: e(p),
2866
2889
  size: "default",
2867
- loading: e(h)
2868
- }, null, 8, ["onRefresh", "loading"]), l(e(I), {
2890
+ loading: e(V)
2891
+ }, null, 8, ["onRefresh", "loading"]), l(e(B), {
2869
2892
  onOpen: e(i)
2870
2893
  }, null, 8, ["onOpen"])]),
2871
2894
  extra: t(() => [l(r, {
2872
2895
  class: "w-full extra-tool",
2873
2896
  alignment: "center"
2874
2897
  }, {
2875
- default: t(() => [l(e(I), {
2898
+ default: t(() => [l(e(B), {
2876
2899
  onOpen: e(m),
2877
2900
  type: "danger"
2878
2901
  }, null, 8, ["onOpen"])]),
@@ -2880,39 +2903,170 @@ const al = /* @__PURE__ */ q({
2880
2903
  })]),
2881
2904
  _: 1
2882
2905
  })]),
2883
- default: t(() => [l(e(ne), {
2906
+ default: t(() => [l(e(ee), {
2884
2907
  ref_key: "tableRef",
2885
- ref: V,
2908
+ ref: h,
2886
2909
  size: "small",
2887
2910
  "row-key": "id",
2888
- url: e(le).urls.list,
2889
- columns: w,
2890
- loading: e(h)
2911
+ url: e(se).urls.list,
2912
+ columns: R,
2913
+ loading: e(V)
2891
2914
  }, null, 8, ["url", "loading"]), l(cl, {
2892
2915
  ref_key: "formModalRef",
2893
- ref: f,
2916
+ ref: b,
2894
2917
  onRefresh: e(p)
2895
- }, null, 8, ["onRefresh"]), l(fl, {
2918
+ }, null, 8, ["onRefresh"]), l(Ue, {
2896
2919
  ref_key: "sslFormModalRef",
2897
2920
  ref: n,
2898
2921
  onRefresh: e(p)
2899
2922
  }, null, 8, ["onRefresh"]), l(gl, {
2900
2923
  ref_key: "providerTableDrawerRef",
2901
- ref: _
2924
+ ref: f
2902
2925
  }, null, 512)]),
2903
2926
  _: 1
2904
2927
  }, 8, ["modelValue"]);
2905
2928
  };
2906
2929
  }
2907
- }), Ve = W("SSLLog", {}, "id", [], []), ye = W(
2908
- "SSL",
2909
- {
2910
- gen: "gen"
2911
- },
2912
- "id",
2913
- [],
2914
- ["gen"]
2915
- ), Vl = /* @__PURE__ */ q({
2930
+ }), Vl = /* @__PURE__ */ q({
2931
+ __name: "SSLTableDrawer",
2932
+ setup(M, {
2933
+ expose: w
2934
+ }) {
2935
+ const {
2936
+ requesting: V,
2937
+ executing: g
2938
+ } = $(ae), h = N(0), b = N(!1), {
2939
+ tableRef: p,
2940
+ formModalRef: i,
2941
+ refresh: c,
2942
+ openFormModal: n,
2943
+ editFormModal: v
2944
+ } = F(), u = [
2945
+ {
2946
+ prop: "client",
2947
+ label: a("ssl.client"),
2948
+ width: 100
2949
+ },
2950
+ {
2951
+ prop: "encryption",
2952
+ label: a("ssl.encryption"),
2953
+ width: 100
2954
+ },
2955
+ {
2956
+ prop: "name",
2957
+ label: a("base.name"),
2958
+ width: 0,
2959
+ minWidth: 120
2960
+ },
2961
+ {
2962
+ prop: "path",
2963
+ label: a("base.path"),
2964
+ width: 120
2965
+ },
2966
+ // { prop: 'renew_at', label: T('ssl.renew_at'), width: 160 },
2967
+ {
2968
+ prop: "renewal_days",
2969
+ label: a("ssl.renewal_days"),
2970
+ width: 100
2971
+ },
2972
+ {
2973
+ prop: "checked_at",
2974
+ label: a("ssl.checked_at"),
2975
+ width: 160
2976
+ },
2977
+ {
2978
+ prop: "actions",
2979
+ label: a("base.action"),
2980
+ width: 160,
2981
+ align: "center",
2982
+ render: ({
2983
+ rowData: U
2984
+ }) => l(s("el-space"), null, {
2985
+ default: () => [l(J, {
2986
+ size: "default",
2987
+ icon: "icon-edit",
2988
+ t: "",
2989
+ disabled: g.value,
2990
+ onModify: () => v({
2991
+ id: U.id
2992
+ })
2993
+ }, null), l(de, {
2994
+ size: "default",
2995
+ icon: "icon-key",
2996
+ t: "",
2997
+ text: !0,
2998
+ disabled: g.value && h.value !== U.id,
2999
+ loading: h.value == U.id,
3000
+ onClick: () => m(U.id)
3001
+ }, null), l(de, {
3002
+ size: "default",
3003
+ icon: "icon-cloud-download",
3004
+ t: "",
3005
+ text: !0,
3006
+ disabled: g.value && h.value !== U.id,
3007
+ loading: h.value == U.id,
3008
+ onClick: () => R(U)
3009
+ }, null)]
3010
+ })
3011
+ }
3012
+ ], f = () => {
3013
+ b.value = !0;
3014
+ }, m = (U) => {
3015
+ ae.gen({
3016
+ id: U
3017
+ }).then((k) => {
3018
+ console.warn("Res:", k);
3019
+ });
3020
+ };
3021
+ function R(U) {
3022
+ const k = ve.getDownloadUrl(U.path + ".zip");
3023
+ fetch(k).then((o) => o.blob()).then((o) => {
3024
+ let r = URL.createObjectURL(o), d = document.createElement("a");
3025
+ d.style.display = "none", d.href = r, d.download = U.name + ".zip", d.click(), URL.revokeObjectURL(o);
3026
+ });
3027
+ }
3028
+ return w({
3029
+ open: f
3030
+ }), (U, k) => {
3031
+ const o = s("el-page-header");
3032
+ return L(), T(e(_e), {
3033
+ modelValue: b.value,
3034
+ "onUpdate:modelValue": k[0] || (k[0] = (r) => b.value = r),
3035
+ width: "1000px",
3036
+ "show-close": !1,
3037
+ class: "basic-drawer"
3038
+ }, {
3039
+ title: t(() => [l(o, {
3040
+ icon: ""
3041
+ }, {
3042
+ title: t(() => [j("span", null, Y(e(a)("ssl.ssl")), 1)]),
3043
+ content: t(() => [l(e(P), {
3044
+ onRefresh: e(c),
3045
+ size: "default",
3046
+ loading: e(V)
3047
+ }, null, 8, ["onRefresh", "loading"]), l(e(B), {
3048
+ onOpen: e(n)
3049
+ }, null, 8, ["onOpen"])]),
3050
+ _: 1
3051
+ })]),
3052
+ default: t(() => [l(e(ee), {
3053
+ ref_key: "tableRef",
3054
+ ref: p,
3055
+ size: "default",
3056
+ "row-key": "id",
3057
+ url: e(ae).urls.list,
3058
+ columns: u,
3059
+ loading: e(V)
3060
+ }, null, 8, ["url", "loading"]), l(Ue, {
3061
+ ref_key: "formModalRef",
3062
+ ref: i,
3063
+ onRefresh: e(c)
3064
+ }, null, 8, ["onRefresh"])]),
3065
+ _: 1
3066
+ }, 8, ["modelValue"]);
3067
+ };
3068
+ }
3069
+ }), Ve = K.routineApi("SSLLog", "id"), yl = /* @__PURE__ */ q({
2916
3070
  __name: "SSLLogTableDrawer",
2917
3071
  props: {
2918
3072
  ssl: {
@@ -2920,16 +3074,16 @@ const al = /* @__PURE__ */ q({
2920
3074
  default: () => ({})
2921
3075
  }
2922
3076
  },
2923
- setup(R, {
2924
- expose: v
3077
+ setup(M, {
3078
+ expose: w
2925
3079
  }) {
2926
- const h = R, {
3080
+ const V = M, {
2927
3081
  requesting: g,
2928
- executing: V
2929
- } = F([Ve, ye]), f = j(!1), {
3082
+ executing: h
3083
+ } = $([Ve, ae]), b = N(!1), {
2930
3084
  tableRef: p,
2931
3085
  refresh: i
2932
- } = $(), c = [{
3086
+ } = F(), c = [{
2933
3087
  prop: "status_text",
2934
3088
  label: a("base.status"),
2935
3089
  width: 100
@@ -2946,58 +3100,60 @@ const al = /* @__PURE__ */ q({
2946
3100
  label: a("base.result"),
2947
3101
  width: 0
2948
3102
  }], n = () => {
2949
- f.value = !0;
3103
+ b.value = !0;
2950
3104
  };
2951
- function y() {
2952
- ye.gen({
2953
- id: h.ssl.id
2954
- }).then((_) => {
2955
- console.warn("Res:", _);
3105
+ function v() {
3106
+ ae.gen({
3107
+ id: V.ssl.id
3108
+ }).then((f) => {
3109
+ console.warn("Res:", f);
2956
3110
  });
2957
3111
  }
2958
3112
  function u() {
2959
- const _ = $e.getDownloadUrl(h.ssl.path + ".zip");
2960
- fetch(_).then((m) => m.blob()).then((m) => {
2961
- let w = URL.createObjectURL(m), U = document.createElement("a");
2962
- U.style.display = "none", U.href = w, U.download = h.ssl.name + ".zip", U.click(), URL.revokeObjectURL(m);
3113
+ const f = ve.getDownloadUrl(V.ssl.path + ".zip");
3114
+ fetch(f).then((m) => m.blob()).then((m) => {
3115
+ let R = URL.createObjectURL(m), U = document.createElement("a");
3116
+ U.style.display = "none", U.href = R, U.download = V.ssl.name + ".zip", U.click(), URL.revokeObjectURL(m);
2963
3117
  });
2964
3118
  }
2965
- return v({
3119
+ return w({
2966
3120
  open: n
2967
- }), (_, m) => {
2968
- const w = s("el-page-header");
2969
- return D(), T(e(_e), {
2970
- modelValue: f.value,
2971
- "onUpdate:modelValue": m[0] || (m[0] = (U) => f.value = U),
3121
+ }), (f, m) => {
3122
+ const R = s("el-page-header");
3123
+ return L(), T(e(_e), {
3124
+ modelValue: b.value,
3125
+ "onUpdate:modelValue": m[0] || (m[0] = (U) => b.value = U),
2972
3126
  width: "600px",
2973
3127
  "show-close": !1,
2974
3128
  class: "basic-drawer"
2975
3129
  }, {
2976
- title: t(() => [l(w, {
3130
+ title: t(() => [l(R, {
2977
3131
  icon: ""
2978
3132
  }, {
2979
- title: t(() => [N("span", null, Q(e(a)("config.ssl base.log")), 1)]),
2980
- content: t(() => [l(e(B), {
3133
+ title: t(() => [j("span", null, Y(e(a)("config.ssl base.log")), 1)]),
3134
+ content: t(() => [l(e(P), {
2981
3135
  onRefresh: e(i),
2982
3136
  size: "default",
2983
3137
  loading: e(g)
2984
3138
  }, null, 8, ["onRefresh", "loading"])]),
2985
- extra: t(() => [l(e(be), {
3139
+ extra: t(() => [l(e(de), {
2986
3140
  size: "default",
2987
3141
  type: "danger",
2988
3142
  icon: "icon-key",
2989
- loading: e(V),
2990
- onClick: y
2991
- }, null, 8, ["loading"]), l(e(be), {
3143
+ disabled: e(h),
3144
+ loading: e(h),
3145
+ onClick: v
3146
+ }, null, 8, ["disabled", "loading"]), l(e(de), {
2992
3147
  size: "default",
2993
3148
  type: "primary",
2994
3149
  icon: "icon-cloud-download",
2995
- loading: e(V),
3150
+ disabled: e(h),
3151
+ loading: e(h),
2996
3152
  onClick: u
2997
- }, null, 8, ["loading"])]),
3153
+ }, null, 8, ["disabled", "loading"])]),
2998
3154
  _: 1
2999
3155
  })]),
3000
- default: t(() => [l(e(se), {
3156
+ default: t(() => [l(e(ie), {
3001
3157
  ref_key: "tableRef",
3002
3158
  ref: p,
3003
3159
  size: "small",
@@ -3010,26 +3166,29 @@ const al = /* @__PURE__ */ q({
3010
3166
  }, 8, ["modelValue"]);
3011
3167
  };
3012
3168
  }
3013
- }), yl = /* @__PURE__ */ q({
3169
+ }), kl = /* @__PURE__ */ q({
3014
3170
  __name: "index",
3015
- setup(R) {
3016
- const v = j(), {
3017
- requesting: h,
3171
+ setup(M) {
3172
+ const w = N(), {
3173
+ requesting: V,
3018
3174
  executing: g
3019
- } = F(ee), {
3020
- tableRef: V,
3021
- formModalRef: f,
3175
+ } = $(le), {
3176
+ tableRef: h,
3177
+ formModalRef: b,
3022
3178
  reset: p,
3023
3179
  refresh: i,
3024
3180
  openFormModal: c,
3025
3181
  editFormModal: n
3026
- } = $(), {
3027
- formModalRef: y,
3182
+ } = F(), {
3183
+ formModalRef: v,
3028
3184
  openFormModal: u
3029
- } = $(), {
3030
- formModalRef: _,
3185
+ } = F(), {
3186
+ formModalRef: f,
3031
3187
  openFormModal: m
3032
- } = $(), w = [{
3188
+ } = F(), {
3189
+ formModalRef: R,
3190
+ openFormModal: U
3191
+ } = F(), k = [{
3033
3192
  prop: "domain.name",
3034
3193
  label: a("config.domain"),
3035
3194
  width: 129,
@@ -3054,19 +3213,19 @@ const al = /* @__PURE__ */ q({
3054
3213
  align: "center",
3055
3214
  width: 140,
3056
3215
  cellRenderer: ({
3057
- rowData: o
3216
+ rowData: d
3058
3217
  }) => l(s("el-space"), null, {
3059
3218
  default: () => [l(s("el-text"), null, {
3060
3219
  default: () => {
3061
- var r;
3062
- return [(r = o.ssl) == null ? void 0 : r.renewal_days, J(" 天")];
3220
+ var y;
3221
+ return [(y = d.ssl) == null ? void 0 : y.renewal_days, X(" 天")];
3063
3222
  }
3064
3223
  }), l(s("el-button"), {
3065
3224
  size: "small",
3066
3225
  type: "primary",
3067
3226
  text: !0,
3068
- onClick: (r) => {
3069
- r.stopPropagation(), o.ssl && o.ssl.id && (v.value = o.ssl, m());
3227
+ onClick: (y) => {
3228
+ y.stopPropagation(), d.ssl && d.ssl.id && (w.value = d.ssl, U());
3070
3229
  }
3071
3230
  }, {
3072
3231
  default: () => [l("span", {
@@ -3085,36 +3244,36 @@ const al = /* @__PURE__ */ q({
3085
3244
  width: 100,
3086
3245
  align: "center",
3087
3246
  cellRenderer: ({
3088
- rowData: o
3247
+ rowData: d
3089
3248
  }) => l(s("el-space"), null, {
3090
- default: () => [l(X, {
3249
+ default: () => [l(J, {
3091
3250
  icon: "icon-edit",
3092
3251
  t: "",
3093
3252
  onModify: () => n({
3094
- id: o.id
3253
+ id: d.id
3095
3254
  })
3096
- }, null), l(be, {
3255
+ }, null), l(de, {
3097
3256
  icon: "icon-securityscan",
3098
3257
  type: "primary",
3099
3258
  size: "small",
3100
3259
  link: !0,
3101
3260
  disabled: g.value,
3102
- loading: U.value == o.id && g.value,
3103
- onClick: () => x(o)
3261
+ loading: o.value == d.id && g.value,
3262
+ onClick: () => r(d)
3104
3263
  }, null)]
3105
3264
  })
3106
- }], U = j(0), x = (o) => {
3107
- U.value = o.id, ee.check({
3108
- id: o.id
3109
- }).then((r) => {
3110
- r.data && (ze(r), i());
3265
+ }], o = N(0), r = (d) => {
3266
+ o.value = d.id, le.check({
3267
+ id: d.id
3268
+ }).then((y) => {
3269
+ y.data && (Fe(y), i());
3111
3270
  }).finally(() => {
3112
- U.value = 0;
3271
+ o.value = 0;
3113
3272
  });
3114
3273
  };
3115
- return (o, r) => {
3116
- const d = s("el-space"), k = s("el-page-header"), b = s("el-card");
3117
- return D(), T(b, {
3274
+ return (d, y) => {
3275
+ const _ = s("el-space"), D = s("el-page-header"), x = s("el-card");
3276
+ return L(), T(x, {
3118
3277
  "body-style": {
3119
3278
  padding: "12px",
3120
3279
  height: "450px"
@@ -3122,66 +3281,72 @@ const al = /* @__PURE__ */ q({
3122
3281
  "body-class": "flex-1",
3123
3282
  class: "config-card"
3124
3283
  }, {
3125
- header: t(() => [l(k, {
3284
+ header: t(() => [l(D, {
3126
3285
  icon: ""
3127
3286
  }, {
3128
- title: t(() => [N("span", null, Q(e(a)("config.keys.sites")), 1)]),
3129
- content: t(() => [l(d, {
3287
+ title: t(() => [j("span", null, Y(e(a)("config.keys.sites")), 1)]),
3288
+ content: t(() => [l(_, {
3130
3289
  alignment: "center",
3131
3290
  style: {
3132
3291
  height: "32px"
3133
3292
  }
3134
3293
  }, {
3135
- default: t(() => [l(e(B), {
3136
- loading: e(h),
3294
+ default: t(() => [l(e(P), {
3295
+ loading: e(V),
3137
3296
  onRefresh: e(p)
3138
- }, null, 8, ["loading", "onRefresh"]), l(e(I), {
3297
+ }, null, 8, ["loading", "onRefresh"]), l(e(B), {
3139
3298
  onOpen: e(c)
3140
3299
  }, null, 8, ["onOpen"])]),
3141
3300
  _: 1
3142
3301
  })]),
3143
- extra: t(() => [l(e(I), {
3302
+ extra: t(() => [l(e(B), {
3144
3303
  onOpen: e(u),
3145
3304
  icon: "icon-compass"
3305
+ }, null, 8, ["onOpen"]), l(e(B), {
3306
+ onOpen: e(m),
3307
+ icon: "icon-safetycertificate-f"
3146
3308
  }, null, 8, ["onOpen"])]),
3147
3309
  _: 1
3148
3310
  })]),
3149
- default: t(() => [l(e(ne), {
3311
+ default: t(() => [l(e(ee), {
3150
3312
  ref_key: "tableRef",
3151
- ref: V,
3313
+ ref: h,
3152
3314
  size: "small",
3153
3315
  "row-key": "id",
3154
- url: e(ee).urls[e(Pe)],
3316
+ url: e(le).urls[e($e)],
3155
3317
  "auto-search": "",
3156
- columns: w
3318
+ columns: k
3157
3319
  }, null, 8, ["url"]), l(pl, {
3158
3320
  ref_key: "formModalRef",
3159
- ref: f,
3321
+ ref: b,
3160
3322
  onRefresh: e(i)
3161
3323
  }, null, 8, ["onRefresh"]), l(hl, {
3162
3324
  ref_key: "domainTableDrawerRef",
3163
- ref: y
3325
+ ref: v
3164
3326
  }, null, 512), l(Vl, {
3327
+ ref_key: "sslTableDrawerRef",
3328
+ ref: f
3329
+ }, null, 512), l(yl, {
3165
3330
  ref_key: "sslLogTableDrawerRef",
3166
- ref: _
3331
+ ref: R
3167
3332
  }, null, 512)]),
3168
3333
  _: 1
3169
3334
  });
3170
3335
  };
3171
3336
  }
3172
- }), kl = /* @__PURE__ */ Ue(yl, [["__scopeId", "data-v-c1583c5b"]]), vl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3337
+ }), vl = /* @__PURE__ */ xe(kl, [["__scopeId", "data-v-e8ad951f"]]), wl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3173
3338
  __proto__: null,
3174
- default: kl
3175
- }, Symbol.toStringTag, { value: "Module" })), ke = {
3339
+ default: vl
3340
+ }, Symbol.toStringTag, { value: "Module" })), xl = {
3176
3341
  request: "request",
3177
3342
  error: "error",
3178
3343
  sql: "SQL"
3179
- }, ae = we.createAutoApi("log", ke, "id", Object.keys(ke), [], []), Ml = /* @__PURE__ */ q({
3344
+ }, oe = K.routineApi("log", "id", xl), Ll = /* @__PURE__ */ q({
3180
3345
  __name: "index",
3181
- setup(R) {
3182
- const v = {
3346
+ setup(M) {
3347
+ const w = {
3183
3348
  dates: [C.getCurrentHour().format(C.DATE_VALUE_FORMAT), C.getCurrentHour(1).format(C.DATE_VALUE_FORMAT)]
3184
- }, h = [{
3349
+ }, V = [{
3185
3350
  label: a("base.sort"),
3186
3351
  type: "index",
3187
3352
  width: 60
@@ -3191,7 +3356,7 @@ const al = /* @__PURE__ */ q({
3191
3356
  width: 180,
3192
3357
  render: ({
3193
3358
  rowData: c
3194
- }) => l(K, null, [C.formatDate(c.time)])
3359
+ }) => l(W, null, [C.formatDate(c.time)])
3195
3360
  }, {
3196
3361
  label: a("base.url"),
3197
3362
  prop: "url",
@@ -3199,31 +3364,31 @@ const al = /* @__PURE__ */ q({
3199
3364
  width: 200
3200
3365
  }], {
3201
3366
  requesting: g
3202
- } = F(ae), {
3203
- tableRef: V,
3204
- keyword: f,
3367
+ } = $(oe), {
3368
+ tableRef: h,
3369
+ keyword: b,
3205
3370
  search: p,
3206
3371
  reset: i
3207
- } = $(v);
3372
+ } = F(w);
3208
3373
  return (c, n) => {
3209
- const y = s("el-date-picker"), u = s("el-space"), _ = s("el-page-header"), m = s("el-card");
3210
- return D(), T(m, {
3374
+ const v = s("el-date-picker"), u = s("el-space"), f = s("el-page-header"), m = s("el-card");
3375
+ return L(), T(m, {
3211
3376
  class: "basic-card flex-full",
3212
3377
  "body-class": "flex-1"
3213
3378
  }, {
3214
- header: t(() => [l(_, {
3379
+ header: t(() => [l(f, {
3215
3380
  class: "basic-header"
3216
3381
  }, {
3217
- title: t(() => [l(e(B), {
3382
+ title: t(() => [l(e(P), {
3218
3383
  loading: e(g),
3219
3384
  onRefresh: e(i)
3220
3385
  }, null, 8, ["loading", "onRefresh"])]),
3221
3386
  content: t(() => [l(u, {
3222
3387
  class: "search-bar"
3223
3388
  }, {
3224
- default: t(() => [l(y, {
3225
- modelValue: e(f).dates,
3226
- "onUpdate:modelValue": n[0] || (n[0] = (w) => e(f).dates = w),
3389
+ default: t(() => [l(v, {
3390
+ modelValue: e(b).dates,
3391
+ "onUpdate:modelValue": n[0] || (n[0] = (R) => e(b).dates = R),
3227
3392
  class: "basic-search-datetimerange",
3228
3393
  "value-format": e(C).DATE_HOUR_FORMAT,
3229
3394
  format: e(C).DATE_SHOW_FORMAT,
@@ -3232,34 +3397,34 @@ const al = /* @__PURE__ */ q({
3232
3397
  "start-placeholder": e(a)("base.start_at"),
3233
3398
  "end-placeholder": e(a)("base.end_at"),
3234
3399
  clearable: !1,
3235
- onChange: n[1] || (n[1] = (w) => e(p)())
3400
+ onChange: n[1] || (n[1] = (R) => e(p)())
3236
3401
  }, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(Z), {
3237
3402
  disabled: e(g),
3238
- onSearch: n[2] || (n[2] = (w) => e(p)())
3403
+ onSearch: n[2] || (n[2] = (R) => e(p)())
3239
3404
  }, null, 8, ["disabled"])]),
3240
3405
  _: 1
3241
3406
  })]),
3242
3407
  _: 1
3243
3408
  })]),
3244
- default: t(() => [l(e(ne), {
3409
+ default: t(() => [l(e(ee), {
3245
3410
  ref_key: "tableRef",
3246
- ref: V,
3411
+ ref: h,
3247
3412
  size: "small",
3248
- columns: h,
3249
- url: e(ae).urls.request,
3250
- "search-param": e(f),
3413
+ columns: V,
3414
+ url: e(oe).urls.request,
3415
+ "search-param": e(b),
3251
3416
  autoSearch: ""
3252
3417
  }, null, 8, ["url", "search-param"])]),
3253
3418
  _: 1
3254
3419
  });
3255
3420
  };
3256
3421
  }
3257
- }), Dl = /* @__PURE__ */ q({
3422
+ }), Sl = /* @__PURE__ */ q({
3258
3423
  __name: "index",
3259
- setup(R) {
3260
- const v = {
3424
+ setup(M) {
3425
+ const w = {
3261
3426
  dates: [C.getCurrentDate(-7).format(C.DATE_VALUE_FORMAT), C.getCurrentDate(0).format(C.DATE_VALUE_FORMAT)]
3262
- }, h = [{
3427
+ }, V = [{
3263
3428
  label: a("base.sort"),
3264
3429
  type: "index",
3265
3430
  width: 60
@@ -3269,7 +3434,7 @@ const al = /* @__PURE__ */ q({
3269
3434
  width: 180,
3270
3435
  render: ({
3271
3436
  rowData: c
3272
- }) => l(K, null, [C.formatDate(c.time)])
3437
+ }) => l(W, null, [C.formatDate(c.time)])
3273
3438
  }, {
3274
3439
  label: a("base.url"),
3275
3440
  prop: "url",
@@ -3277,31 +3442,31 @@ const al = /* @__PURE__ */ q({
3277
3442
  width: 200
3278
3443
  }], {
3279
3444
  requesting: g
3280
- } = F(ae), {
3281
- tableRef: V,
3282
- keyword: f,
3445
+ } = $(oe), {
3446
+ tableRef: h,
3447
+ keyword: b,
3283
3448
  search: p,
3284
3449
  reset: i
3285
- } = $(v);
3450
+ } = F(w);
3286
3451
  return (c, n) => {
3287
- const y = s("el-date-picker"), u = s("el-space"), _ = s("el-page-header"), m = s("el-card");
3288
- return D(), T(m, {
3452
+ const v = s("el-date-picker"), u = s("el-space"), f = s("el-page-header"), m = s("el-card");
3453
+ return L(), T(m, {
3289
3454
  class: "basic-card flex-full",
3290
3455
  "body-class": "flex-1"
3291
3456
  }, {
3292
- header: t(() => [l(_, {
3457
+ header: t(() => [l(f, {
3293
3458
  class: "basic-header"
3294
3459
  }, {
3295
- title: t(() => [l(e(B), {
3460
+ title: t(() => [l(e(P), {
3296
3461
  loading: e(g),
3297
3462
  onRefresh: e(i)
3298
3463
  }, null, 8, ["loading", "onRefresh"])]),
3299
3464
  content: t(() => [l(u, {
3300
3465
  class: "search-bar"
3301
3466
  }, {
3302
- default: t(() => [l(y, {
3303
- modelValue: e(f).dates,
3304
- "onUpdate:modelValue": n[0] || (n[0] = (w) => e(f).dates = w),
3467
+ default: t(() => [l(v, {
3468
+ modelValue: e(b).dates,
3469
+ "onUpdate:modelValue": n[0] || (n[0] = (R) => e(b).dates = R),
3305
3470
  class: "basic-search-daterange",
3306
3471
  "value-format": e(C).DATE_VALUE_FORMAT,
3307
3472
  format: e(C).DATE_FORMAT,
@@ -3310,34 +3475,34 @@ const al = /* @__PURE__ */ q({
3310
3475
  "start-placeholder": e(a)("base.start_at"),
3311
3476
  "end-placeholder": e(a)("base.end_at"),
3312
3477
  clearable: !1,
3313
- onChange: n[1] || (n[1] = (w) => e(p)())
3478
+ onChange: n[1] || (n[1] = (R) => e(p)())
3314
3479
  }, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(Z), {
3315
3480
  disabled: e(g),
3316
- onSearch: n[2] || (n[2] = (w) => e(p)())
3481
+ onSearch: n[2] || (n[2] = (R) => e(p)())
3317
3482
  }, null, 8, ["disabled"])]),
3318
3483
  _: 1
3319
3484
  })]),
3320
3485
  _: 1
3321
3486
  })]),
3322
- default: t(() => [l(e(ne), {
3487
+ default: t(() => [l(e(ee), {
3323
3488
  ref_key: "tableRef",
3324
- ref: V,
3489
+ ref: h,
3325
3490
  size: "small",
3326
- columns: h,
3327
- url: e(ae).urls.error,
3328
- "search-param": e(f),
3491
+ columns: V,
3492
+ url: e(oe).urls.error,
3493
+ "search-param": e(b),
3329
3494
  autoSearch: ""
3330
3495
  }, null, 8, ["url", "search-param"])]),
3331
3496
  _: 1
3332
3497
  });
3333
3498
  };
3334
3499
  }
3335
- }), Sl = /* @__PURE__ */ q({
3500
+ }), Tl = /* @__PURE__ */ q({
3336
3501
  __name: "index",
3337
- setup(R) {
3338
- const v = {
3502
+ setup(M) {
3503
+ const w = {
3339
3504
  dates: [C.getCurrentDate(-7).format(C.DATE_VALUE_FORMAT), C.getCurrentDate().format(C.DATE_VALUE_FORMAT)]
3340
- }, h = [{
3505
+ }, V = [{
3341
3506
  label: a("base.sort"),
3342
3507
  type: "index",
3343
3508
  width: 60
@@ -3347,7 +3512,7 @@ const al = /* @__PURE__ */ q({
3347
3512
  width: 180,
3348
3513
  render: ({
3349
3514
  rowData: c
3350
- }) => l(K, null, [C.formatDate(c.time)])
3515
+ }) => l(W, null, [C.formatDate(c.time)])
3351
3516
  }, {
3352
3517
  label: a("base.url"),
3353
3518
  prop: "url",
@@ -3355,31 +3520,31 @@ const al = /* @__PURE__ */ q({
3355
3520
  width: 200
3356
3521
  }], {
3357
3522
  requesting: g
3358
- } = F(ae), {
3359
- tableRef: V,
3360
- keyword: f,
3523
+ } = $(oe), {
3524
+ tableRef: h,
3525
+ keyword: b,
3361
3526
  search: p,
3362
3527
  reset: i
3363
- } = $(v);
3528
+ } = F(w);
3364
3529
  return (c, n) => {
3365
- const y = s("el-date-picker"), u = s("el-space"), _ = s("el-page-header"), m = s("el-card");
3366
- return D(), T(m, {
3530
+ const v = s("el-date-picker"), u = s("el-space"), f = s("el-page-header"), m = s("el-card");
3531
+ return L(), T(m, {
3367
3532
  class: "basic-card flex-full",
3368
3533
  "body-class": "flex-1"
3369
3534
  }, {
3370
- header: t(() => [l(_, {
3535
+ header: t(() => [l(f, {
3371
3536
  class: "basic-header"
3372
3537
  }, {
3373
- title: t(() => [l(e(B), {
3538
+ title: t(() => [l(e(P), {
3374
3539
  loading: e(g),
3375
3540
  onRefresh: e(i)
3376
3541
  }, null, 8, ["loading", "onRefresh"])]),
3377
3542
  content: t(() => [l(u, {
3378
3543
  class: "search-bar"
3379
3544
  }, {
3380
- default: t(() => [l(y, {
3381
- modelValue: e(f).dates,
3382
- "onUpdate:modelValue": n[0] || (n[0] = (w) => e(f).dates = w),
3545
+ default: t(() => [l(v, {
3546
+ modelValue: e(b).dates,
3547
+ "onUpdate:modelValue": n[0] || (n[0] = (R) => e(b).dates = R),
3383
3548
  class: "basic-search-daterange",
3384
3549
  "value-format": e(C).DATE_HOUR_FORMAT,
3385
3550
  format: e(C).DATE_FORMAT,
@@ -3388,75 +3553,75 @@ const al = /* @__PURE__ */ q({
3388
3553
  "start-placeholder": e(a)("base.start_at"),
3389
3554
  "end-placeholder": e(a)("base.end_at"),
3390
3555
  clearable: !1,
3391
- onChange: n[1] || (n[1] = (w) => e(p)())
3556
+ onChange: n[1] || (n[1] = (R) => e(p)())
3392
3557
  }, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(Z), {
3393
3558
  disabled: e(g),
3394
- onSearch: n[2] || (n[2] = (w) => e(p)())
3559
+ onSearch: n[2] || (n[2] = (R) => e(p)())
3395
3560
  }, null, 8, ["disabled"])]),
3396
3561
  _: 1
3397
3562
  })]),
3398
3563
  _: 1
3399
3564
  })]),
3400
- default: t(() => [l(e(ne), {
3565
+ default: t(() => [l(e(ee), {
3401
3566
  ref_key: "tableRef",
3402
- ref: V,
3567
+ ref: h,
3403
3568
  size: "small",
3404
- columns: h,
3405
- url: e(ae).urls.sql,
3406
- "search-param": e(f),
3569
+ columns: V,
3570
+ url: e(oe).urls.sql,
3571
+ "search-param": e(b),
3407
3572
  autoSearch: ""
3408
3573
  }, null, 8, ["url", "search-param"])]),
3409
3574
  _: 1
3410
3575
  });
3411
3576
  };
3412
3577
  }
3413
- }), xl = () => import("./index-SHsqnbNG.js"), wl = () => import("./index-CJMTIvHk.js"), Rl = () => import("./index-BMn8mAns.js"), Ll = [
3578
+ }), Rl = () => import("./index-SHsqnbNG.js"), Ul = () => import("./index-CJMTIvHk.js"), Ml = () => import("./index-BMn8mAns.js"), ql = [
3414
3579
  {
3415
- path: Be,
3580
+ path: ze,
3416
3581
  name: "RequestLog",
3417
- component: xl,
3582
+ component: Rl,
3418
3583
  meta: {
3419
3584
  title: a("menu.RequestLog")
3420
3585
  }
3421
3586
  },
3422
3587
  {
3423
- path: Ie,
3588
+ path: Pe,
3424
3589
  name: "ErrorLog",
3425
- component: wl,
3590
+ component: Ul,
3426
3591
  meta: {
3427
3592
  title: a("menu.ErrorLog")
3428
3593
  }
3429
3594
  },
3430
3595
  {
3431
- path: Ne,
3596
+ path: Be,
3432
3597
  name: "SqlLog",
3433
- component: Rl,
3598
+ component: Ml,
3434
3599
  meta: {
3435
3600
  title: a("menu.SqlLog")
3436
3601
  }
3437
3602
  }
3438
- ], Tl = {
3439
- install: (R) => {
3440
- Reflect.ownKeys(R._context.provides).some((v) => String(v) === "Symbol(pinia)") || console.warn("Pinia is not provided. Please install and provide Pinia in your app."), console.warn(Reflect.ownKeys(R._context.provides));
3603
+ ], Ol = {
3604
+ install: (M) => {
3605
+ Reflect.ownKeys(M._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(M._context.provides));
3441
3606
  },
3442
3607
  version: "__VERSION__"
3443
- }, ql = /* @__PURE__ */ Object.assign({
3444
- "./views/admin/index.vue": We,
3445
- "./views/language/index.vue": Ge,
3446
- "./views/menu/index.vue": ol,
3447
- "./views/role/index.vue": il,
3448
- "./views/site/index.vue": vl
3608
+ }, Cl = /* @__PURE__ */ Object.assign({
3609
+ "./views/admin/index.vue": je,
3610
+ "./views/language/index.vue": Ye,
3611
+ "./views/menu/index.vue": al,
3612
+ "./views/role/index.vue": ul,
3613
+ "./views/site/index.vue": wl
3449
3614
  });
3450
3615
  export {
3451
- Ke as AdminsPage,
3452
- Dl as ErrorLogsPage,
3453
- He as LanguagesPage,
3454
- Ll as LogRoutes,
3455
- al as MenusPage,
3456
- Ml as RequestLogsPage,
3457
- ul as RolesPage,
3458
- Sl as SQLLogsPage,
3459
- kl as SitePage,
3460
- ql as basicModules,
3461
- Tl as default
3616
+ Ne as AdminsPage,
3617
+ Sl as ErrorLogsPage,
3618
+ We as LanguagesPage,
3619
+ ql as LogRoutes,
3620
+ ll as MenusPage,
3621
+ Ll as RequestLogsPage,
3622
+ sl as RolesPage,
3623
+ Tl as SQLLogsPage,
3624
+ vl as SitePage,
3625
+ Cl as basicModules,
3626
+ Ol as default
3462
3627
  };