auto-vue-basic 0.0.53 → 0.0.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auto-vue-basic.es.js +508 -498
- package/dist/auto-vue-basic.umd.js +1 -1
- package/dist/index.css +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
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
|
|
3
|
-
const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as T, ref as j, onBeforeMount as Me, resolveComponent as s, createBlock as q, openBlock as L, unref as e, isRef as z, withCtx as t, createVNode as l, createTextVNode as X, createElementBlock as Q, Fragment as Y, renderList as re, toDisplayString as W, withKeys as be, createElementVNode as P, toRef as te, normalizeClass as he, isVNode as Ae, reactive as De, onMounted as Le, watch as Se, nextTick as qe, createCommentVNode as Te } 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 B, OpenButton as I, 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__ */ T({
|
|
4
4
|
__name: "AdminFormModal",
|
|
5
5
|
emits: ["refresh"],
|
|
6
|
-
setup(M, { expose:
|
|
6
|
+
setup(M, { expose: x, emit: V }) {
|
|
7
7
|
const g = V, h = {
|
|
8
8
|
key: "",
|
|
9
9
|
username: "",
|
|
@@ -13,7 +13,7 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
|
|
|
13
13
|
language: "zh-CN",
|
|
14
14
|
remark: "",
|
|
15
15
|
roles: []
|
|
16
|
-
}, { modal: b, title: p, form: i, formData:
|
|
16
|
+
}, { modal: b, title: p, form: i, formData: m, requesting: n, executing: w, open: u, modify: f, submit: c, closed: k } = H(g, h, ge), U = {
|
|
17
17
|
username: [
|
|
18
18
|
{
|
|
19
19
|
required: !0,
|
|
@@ -58,34 +58,34 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
|
|
|
58
58
|
trigger: "change"
|
|
59
59
|
}
|
|
60
60
|
]
|
|
61
|
-
},
|
|
61
|
+
}, v = j([]), o = async () => {
|
|
62
62
|
const r = await ce.list();
|
|
63
|
-
|
|
63
|
+
v.value = Array.isArray(r == null ? void 0 : r.data) ? r.data : [];
|
|
64
64
|
};
|
|
65
65
|
return Me(async () => {
|
|
66
66
|
await o();
|
|
67
|
-
}),
|
|
67
|
+
}), x({
|
|
68
68
|
open: u,
|
|
69
69
|
modify: f
|
|
70
70
|
}), (r, d) => {
|
|
71
|
-
const y = s("el-input"), _ = s("el-form-item"), D = s("el-radio-button"),
|
|
72
|
-
return L(),
|
|
71
|
+
const y = s("el-input"), _ = s("el-form-item"), D = s("el-radio-button"), R = s("el-radio-group"), S = s("el-checkbox"), A = s("el-checkbox-group"), O = s("el-form");
|
|
72
|
+
return L(), q(e(G), {
|
|
73
73
|
modelValue: e(b),
|
|
74
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(
|
|
78
|
-
onClosed: e(
|
|
79
|
-
onSubmit: e(
|
|
77
|
+
executing: e(w),
|
|
78
|
+
onClosed: e(k),
|
|
79
|
+
onSubmit: e(c)
|
|
80
80
|
}, {
|
|
81
81
|
default: t(() => [
|
|
82
82
|
l(O, {
|
|
83
83
|
ref_key: "form",
|
|
84
84
|
ref: i,
|
|
85
|
-
model: e(
|
|
85
|
+
model: e(m),
|
|
86
86
|
"label-width": "auto",
|
|
87
87
|
rules: U,
|
|
88
|
-
disabled: e(n) || e(
|
|
88
|
+
disabled: e(n) || e(w)
|
|
89
89
|
}, {
|
|
90
90
|
default: t(() => [
|
|
91
91
|
l(_, {
|
|
@@ -94,8 +94,8 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
|
|
|
94
94
|
}, {
|
|
95
95
|
default: t(() => [
|
|
96
96
|
l(y, {
|
|
97
|
-
modelValue: e(
|
|
98
|
-
"onUpdate:modelValue": d[0] || (d[0] = (E) => e(
|
|
97
|
+
modelValue: e(m).username,
|
|
98
|
+
"onUpdate:modelValue": d[0] || (d[0] = (E) => e(m).username = E),
|
|
99
99
|
placeholder: e(a)("base.placeholder.input"),
|
|
100
100
|
autocomplete: "off"
|
|
101
101
|
}, null, 8, ["modelValue", "placeholder"])
|
|
@@ -108,8 +108,8 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
|
|
|
108
108
|
}, {
|
|
109
109
|
default: t(() => [
|
|
110
110
|
l(y, {
|
|
111
|
-
modelValue: e(
|
|
112
|
-
"onUpdate:modelValue": d[1] || (d[1] = (E) => e(
|
|
111
|
+
modelValue: e(m).phone,
|
|
112
|
+
"onUpdate:modelValue": d[1] || (d[1] = (E) => e(m).phone = E),
|
|
113
113
|
placeholder: e(a)("base.placeholder.input"),
|
|
114
114
|
autocomplete: "off"
|
|
115
115
|
}, null, 8, ["modelValue", "placeholder"])
|
|
@@ -119,12 +119,12 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
|
|
|
119
119
|
l(_, {
|
|
120
120
|
label: e(a)("base.password"),
|
|
121
121
|
prop: "password",
|
|
122
|
-
required: !e(
|
|
122
|
+
required: !e(m).key
|
|
123
123
|
}, {
|
|
124
124
|
default: t(() => [
|
|
125
125
|
l(y, {
|
|
126
|
-
modelValue: e(
|
|
127
|
-
"onUpdate:modelValue": d[2] || (d[2] = (E) => e(
|
|
126
|
+
modelValue: e(m).password,
|
|
127
|
+
"onUpdate:modelValue": d[2] || (d[2] = (E) => e(m).password = E),
|
|
128
128
|
placeholder: e(a)("base.placeholder.input"),
|
|
129
129
|
autocomplete: "off"
|
|
130
130
|
}, null, 8, ["modelValue", "placeholder"])
|
|
@@ -137,8 +137,8 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
|
|
|
137
137
|
}, {
|
|
138
138
|
default: t(() => [
|
|
139
139
|
l(y, {
|
|
140
|
-
modelValue: e(
|
|
141
|
-
"onUpdate:modelValue": d[3] || (d[3] = (E) => e(
|
|
140
|
+
modelValue: e(m).email,
|
|
141
|
+
"onUpdate:modelValue": d[3] || (d[3] = (E) => e(m).email = E),
|
|
142
142
|
placeholder: e(a)("base.placeholder.input"),
|
|
143
143
|
autocomplete: "off"
|
|
144
144
|
}, null, 8, ["modelValue", "placeholder"])
|
|
@@ -150,9 +150,9 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
|
|
|
150
150
|
prop: "language"
|
|
151
151
|
}, {
|
|
152
152
|
default: t(() => [
|
|
153
|
-
l(
|
|
154
|
-
modelValue: e(
|
|
155
|
-
"onUpdate:modelValue": d[4] || (d[4] = (E) => e(
|
|
153
|
+
l(R, {
|
|
154
|
+
modelValue: e(m).language,
|
|
155
|
+
"onUpdate:modelValue": d[4] || (d[4] = (E) => e(m).language = E)
|
|
156
156
|
}, {
|
|
157
157
|
default: t(() => [
|
|
158
158
|
l(D, { value: "zh-CN" }, {
|
|
@@ -181,16 +181,16 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
|
|
|
181
181
|
}, {
|
|
182
182
|
default: t(() => [
|
|
183
183
|
l(A, {
|
|
184
|
-
modelValue: e(
|
|
185
|
-
"onUpdate:modelValue": d[5] || (d[5] = (E) => e(
|
|
184
|
+
modelValue: e(m).roles,
|
|
185
|
+
"onUpdate:modelValue": d[5] || (d[5] = (E) => e(m).roles = E)
|
|
186
186
|
}, {
|
|
187
187
|
default: t(() => [
|
|
188
|
-
(L(!0), Q(
|
|
188
|
+
(L(!0), Q(Y, null, re(v.value, (E) => (L(), q(S, {
|
|
189
189
|
key: E.key,
|
|
190
190
|
value: E.key
|
|
191
191
|
}, {
|
|
192
192
|
default: t(() => [
|
|
193
|
-
X(
|
|
193
|
+
X(W(E.translate), 1)
|
|
194
194
|
]),
|
|
195
195
|
_: 2
|
|
196
196
|
}, 1032, ["value"]))), 128))
|
|
@@ -206,8 +206,8 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
|
|
|
206
206
|
}, {
|
|
207
207
|
default: t(() => [
|
|
208
208
|
l(y, {
|
|
209
|
-
modelValue: e(
|
|
210
|
-
"onUpdate:modelValue": d[6] || (d[6] = (E) => e(
|
|
209
|
+
modelValue: e(m).remark,
|
|
210
|
+
"onUpdate:modelValue": d[6] || (d[6] = (E) => e(m).remark = E),
|
|
211
211
|
placeholder: e(a)("base.placeholder.input")
|
|
212
212
|
}, null, 8, ["modelValue", "placeholder"])
|
|
213
213
|
]),
|
|
@@ -221,10 +221,10 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
|
|
|
221
221
|
}, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
|
|
222
222
|
};
|
|
223
223
|
}
|
|
224
|
-
}), Ne = /* @__PURE__ */
|
|
224
|
+
}), Ne = /* @__PURE__ */ T({
|
|
225
225
|
__name: "index",
|
|
226
226
|
setup(M) {
|
|
227
|
-
const
|
|
227
|
+
const x = {
|
|
228
228
|
keyword: ""
|
|
229
229
|
}, V = [{
|
|
230
230
|
label: a("base.avatar"),
|
|
@@ -286,40 +286,40 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
|
|
|
286
286
|
formModalRef: b,
|
|
287
287
|
keyword: p,
|
|
288
288
|
search: i,
|
|
289
|
-
reset:
|
|
289
|
+
reset: m,
|
|
290
290
|
refresh: n,
|
|
291
|
-
openFormModal:
|
|
291
|
+
openFormModal: w,
|
|
292
292
|
editFormModal: u
|
|
293
|
-
} = F(
|
|
294
|
-
return (f,
|
|
295
|
-
const
|
|
296
|
-
return L(),
|
|
293
|
+
} = F(x);
|
|
294
|
+
return (f, c) => {
|
|
295
|
+
const k = s("el-input"), U = s("el-space"), v = s("el-page-header"), o = s("el-card");
|
|
296
|
+
return L(), q(o, {
|
|
297
297
|
class: "basic-card flex-full",
|
|
298
298
|
"body-class": "flex-1"
|
|
299
299
|
}, {
|
|
300
|
-
header: t(() => [l(
|
|
300
|
+
header: t(() => [l(v, {
|
|
301
301
|
class: "basic-header"
|
|
302
302
|
}, {
|
|
303
|
-
title: t(() => [l(e(
|
|
303
|
+
title: t(() => [l(e(B), {
|
|
304
304
|
loading: e(g),
|
|
305
|
-
onRefresh: e(
|
|
306
|
-
}, null, 8, ["loading", "onRefresh"]), l(e(
|
|
307
|
-
onOpen: e(
|
|
305
|
+
onRefresh: e(m)
|
|
306
|
+
}, null, 8, ["loading", "onRefresh"]), l(e(I), {
|
|
307
|
+
onOpen: e(w)
|
|
308
308
|
}, null, 8, ["onOpen"])]),
|
|
309
309
|
content: t(() => [l(U, {
|
|
310
310
|
class: "search-bar"
|
|
311
311
|
}, {
|
|
312
|
-
default: t(() => [l(
|
|
312
|
+
default: t(() => [l(k, {
|
|
313
313
|
class: "basic-search-input",
|
|
314
314
|
modelValue: e(p).keyword,
|
|
315
|
-
"onUpdate:modelValue":
|
|
315
|
+
"onUpdate:modelValue": c[0] || (c[0] = (r) => e(p).keyword = r),
|
|
316
316
|
placeholder: e(a)("base.placeholder.keyword"),
|
|
317
317
|
clearable: "",
|
|
318
|
-
onKeyup:
|
|
319
|
-
onClear:
|
|
318
|
+
onKeyup: c[1] || (c[1] = be((r) => e(i)(), ["enter"])),
|
|
319
|
+
onClear: c[2] || (c[2] = (r) => e(i)())
|
|
320
320
|
}, null, 8, ["modelValue", "placeholder"]), l(e(Z), {
|
|
321
321
|
disabled: e(g),
|
|
322
|
-
onSearch:
|
|
322
|
+
onSearch: c[3] || (c[3] = (r) => e(i)())
|
|
323
323
|
}, null, 8, ["disabled"])]),
|
|
324
324
|
_: 1
|
|
325
325
|
})]),
|
|
@@ -345,10 +345,10 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
|
|
|
345
345
|
}), je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
346
346
|
__proto__: null,
|
|
347
347
|
default: Ne
|
|
348
|
-
}, Symbol.toStringTag, { value: "Module" })), me = K.routineApi("translation", "key"), Ke = /* @__PURE__ */
|
|
348
|
+
}, Symbol.toStringTag, { value: "Module" })), me = K.routineApi("translation", "key"), Ke = /* @__PURE__ */ T({
|
|
349
349
|
__name: "LangFormModal",
|
|
350
350
|
emits: ["refresh"],
|
|
351
|
-
setup(M, { expose:
|
|
351
|
+
setup(M, { expose: x, emit: V }) {
|
|
352
352
|
const g = V, h = {
|
|
353
353
|
id: 0,
|
|
354
354
|
key: "",
|
|
@@ -385,29 +385,29 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
|
|
|
385
385
|
trigger: "blur"
|
|
386
386
|
}
|
|
387
387
|
]
|
|
388
|
-
}, { modal: p, title: i, form:
|
|
389
|
-
return
|
|
388
|
+
}, { modal: p, title: i, form: m, formData: n, requesting: w, executing: u, open: f, modify: c, submit: k, closed: U } = H(g, h, me);
|
|
389
|
+
return x({
|
|
390
390
|
open: f,
|
|
391
|
-
modify:
|
|
392
|
-
}), (
|
|
391
|
+
modify: c
|
|
392
|
+
}), (v, o) => {
|
|
393
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(),
|
|
394
|
+
return L(), q(e(G), {
|
|
395
395
|
modelValue: e(p),
|
|
396
|
-
"onUpdate:modelValue": o[5] || (o[5] = (
|
|
396
|
+
"onUpdate:modelValue": o[5] || (o[5] = (R) => z(p) ? p.value = R : null),
|
|
397
397
|
title: e(i)(),
|
|
398
398
|
width: "600px",
|
|
399
399
|
executing: e(u),
|
|
400
400
|
onClosed: e(U),
|
|
401
|
-
onSubmit: e(
|
|
401
|
+
onSubmit: e(k)
|
|
402
402
|
}, {
|
|
403
403
|
default: t(() => [
|
|
404
404
|
l(D, {
|
|
405
405
|
ref_key: "form",
|
|
406
|
-
ref:
|
|
406
|
+
ref: m,
|
|
407
407
|
model: e(n),
|
|
408
408
|
"label-width": "auto",
|
|
409
409
|
rules: b,
|
|
410
|
-
disabled: e(
|
|
410
|
+
disabled: e(w) || e(u)
|
|
411
411
|
}, {
|
|
412
412
|
default: t(() => [
|
|
413
413
|
l(d, {
|
|
@@ -418,7 +418,7 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
|
|
|
418
418
|
default: t(() => [
|
|
419
419
|
l(r, {
|
|
420
420
|
modelValue: e(n).module,
|
|
421
|
-
"onUpdate:modelValue": o[0] || (o[0] = (
|
|
421
|
+
"onUpdate:modelValue": o[0] || (o[0] = (R) => e(n).module = R),
|
|
422
422
|
placeholder: e(a)("language.placeholder.module")
|
|
423
423
|
}, null, 8, ["modelValue", "placeholder"])
|
|
424
424
|
]),
|
|
@@ -432,7 +432,7 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
|
|
|
432
432
|
default: t(() => [
|
|
433
433
|
l(r, {
|
|
434
434
|
modelValue: e(n).key,
|
|
435
|
-
"onUpdate:modelValue": o[1] || (o[1] = (
|
|
435
|
+
"onUpdate:modelValue": o[1] || (o[1] = (R) => e(n).key = R),
|
|
436
436
|
placeholder: e(a)("language.placeholder.key")
|
|
437
437
|
}, null, 8, ["modelValue", "placeholder"])
|
|
438
438
|
]),
|
|
@@ -446,7 +446,7 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
|
|
|
446
446
|
default: t(() => [
|
|
447
447
|
l(_, {
|
|
448
448
|
modelValue: e(n).language,
|
|
449
|
-
"onUpdate:modelValue": o[2] || (o[2] = (
|
|
449
|
+
"onUpdate:modelValue": o[2] || (o[2] = (R) => e(n).language = R)
|
|
450
450
|
}, {
|
|
451
451
|
default: t(() => [
|
|
452
452
|
l(y, { label: "zh-CN" }, {
|
|
@@ -477,7 +477,7 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
|
|
|
477
477
|
default: t(() => [
|
|
478
478
|
l(r, {
|
|
479
479
|
modelValue: e(n).result,
|
|
480
|
-
"onUpdate:modelValue": o[3] || (o[3] = (
|
|
480
|
+
"onUpdate:modelValue": o[3] || (o[3] = (R) => e(n).result = R),
|
|
481
481
|
placeholder: e(a)("language.placeholder.result")
|
|
482
482
|
}, null, 8, ["modelValue", "placeholder"])
|
|
483
483
|
]),
|
|
@@ -490,7 +490,7 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
|
|
|
490
490
|
default: t(() => [
|
|
491
491
|
l(r, {
|
|
492
492
|
modelValue: e(n).remark,
|
|
493
|
-
"onUpdate:modelValue": o[4] || (o[4] = (
|
|
493
|
+
"onUpdate:modelValue": o[4] || (o[4] = (R) => e(n).remark = R),
|
|
494
494
|
placeholder: e(a)("base.placeholder.input")
|
|
495
495
|
}, null, 8, ["modelValue", "placeholder"])
|
|
496
496
|
]),
|
|
@@ -504,10 +504,10 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
|
|
|
504
504
|
}, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
|
|
505
505
|
};
|
|
506
506
|
}
|
|
507
|
-
}), We = /* @__PURE__ */
|
|
507
|
+
}), We = /* @__PURE__ */ T({
|
|
508
508
|
__name: "index",
|
|
509
509
|
setup(M) {
|
|
510
|
-
const
|
|
510
|
+
const x = {
|
|
511
511
|
keyword: "",
|
|
512
512
|
status: 0
|
|
513
513
|
}, V = [{
|
|
@@ -568,43 +568,43 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
|
|
|
568
568
|
formModalRef: b,
|
|
569
569
|
keyword: p,
|
|
570
570
|
search: i,
|
|
571
|
-
reset:
|
|
571
|
+
reset: m,
|
|
572
572
|
refresh: n,
|
|
573
|
-
openFormModal:
|
|
573
|
+
openFormModal: w,
|
|
574
574
|
editFormModal: u
|
|
575
|
-
} = F(
|
|
576
|
-
return (f,
|
|
577
|
-
const
|
|
578
|
-
return L(),
|
|
575
|
+
} = F(x);
|
|
576
|
+
return (f, c) => {
|
|
577
|
+
const k = s("el-input"), U = s("el-radio-button"), v = s("el-radio-group"), o = s("el-space"), r = s("el-page-header"), d = s("el-card");
|
|
578
|
+
return L(), q(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(
|
|
585
|
+
title: t(() => [l(e(B), {
|
|
586
586
|
loading: e(g),
|
|
587
|
-
onRefresh: e(
|
|
588
|
-
}, null, 8, ["loading", "onRefresh"]), l(e(
|
|
589
|
-
onOpen: e(
|
|
587
|
+
onRefresh: e(m)
|
|
588
|
+
}, null, 8, ["loading", "onRefresh"]), l(e(I), {
|
|
589
|
+
onOpen: e(w)
|
|
590
590
|
}, null, 8, ["onOpen"])]),
|
|
591
591
|
content: t(() => [l(o, {
|
|
592
592
|
class: "search-bar"
|
|
593
593
|
}, {
|
|
594
|
-
default: t(() => [l(
|
|
594
|
+
default: t(() => [l(k, {
|
|
595
595
|
class: "basic-search-input",
|
|
596
596
|
modelValue: e(p).keyword,
|
|
597
|
-
"onUpdate:modelValue":
|
|
597
|
+
"onUpdate:modelValue": c[0] || (c[0] = (y) => e(p).keyword = y),
|
|
598
598
|
placeholder: e(a)("base.placeholder.keyword"),
|
|
599
599
|
clearable: "",
|
|
600
|
-
onKeyup:
|
|
601
|
-
onClear:
|
|
602
|
-
}, null, 8, ["modelValue", "placeholder"]), l(
|
|
600
|
+
onKeyup: c[1] || (c[1] = be((y) => e(i)(), ["enter"])),
|
|
601
|
+
onClear: c[2] || (c[2] = (y) => e(i)())
|
|
602
|
+
}, null, 8, ["modelValue", "placeholder"]), l(v, {
|
|
603
603
|
modelValue: e(p).status,
|
|
604
|
-
"onUpdate:modelValue":
|
|
605
|
-
onChange:
|
|
604
|
+
"onUpdate:modelValue": c[3] || (c[3] = (y) => e(p).status = y),
|
|
605
|
+
onChange: c[4] || (c[4] = (y) => e(i)())
|
|
606
606
|
}, {
|
|
607
|
-
default: t(() => [(L(), Q(
|
|
607
|
+
default: t(() => [(L(), Q(Y, null, re([0, 1, 2], (y) => l(U, {
|
|
608
608
|
key: y,
|
|
609
609
|
label: e(a)(`base.DISABLE_ENABLE.${y}`),
|
|
610
610
|
value: y
|
|
@@ -612,7 +612,7 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
|
|
|
612
612
|
_: 1
|
|
613
613
|
}, 8, ["modelValue"]), l(e(Z), {
|
|
614
614
|
disabled: e(g),
|
|
615
|
-
onSearch:
|
|
615
|
+
onSearch: c[5] || (c[5] = (y) => e(i)())
|
|
616
616
|
}, null, 8, ["disabled"])]),
|
|
617
617
|
_: 1
|
|
618
618
|
})]),
|
|
@@ -641,25 +641,25 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
|
|
|
641
641
|
}, Symbol.toStringTag, { value: "Module" })), He = {
|
|
642
642
|
tops: "tops",
|
|
643
643
|
rules: "rules"
|
|
644
|
-
},
|
|
644
|
+
}, N = 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 Ge = /* @__PURE__ */
|
|
646
|
+
var Ge = /* @__PURE__ */ T({
|
|
647
647
|
name: "Key",
|
|
648
648
|
__name: "key",
|
|
649
649
|
setup(M) {
|
|
650
|
-
return (
|
|
650
|
+
return (x, V) => (L(), Q("svg", {
|
|
651
651
|
xmlns: "http://www.w3.org/2000/svg",
|
|
652
652
|
viewBox: "0 0 1024 1024"
|
|
653
653
|
}, [
|
|
654
|
-
|
|
654
|
+
P("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
660
|
}), Qe = Ge;
|
|
661
|
-
const Je = /* @__PURE__ */
|
|
662
|
-
__name: "
|
|
661
|
+
const Je = /* @__PURE__ */ T({
|
|
662
|
+
__name: "topMenuSelect",
|
|
663
663
|
props: {
|
|
664
664
|
modelValue: {
|
|
665
665
|
type: [Number, Array],
|
|
@@ -672,28 +672,28 @@ const Je = /* @__PURE__ */ q({
|
|
|
672
672
|
},
|
|
673
673
|
emits: ["update:modelValue", "change"],
|
|
674
674
|
setup(M, {
|
|
675
|
-
emit:
|
|
675
|
+
emit: x
|
|
676
676
|
}) {
|
|
677
|
-
const V =
|
|
677
|
+
const V = x, g = M, {
|
|
678
678
|
requesting: h
|
|
679
|
-
} = $(
|
|
679
|
+
} = $(N), {
|
|
680
680
|
value: b,
|
|
681
681
|
options: p,
|
|
682
682
|
change: i,
|
|
683
|
-
refresh:
|
|
683
|
+
refresh: m,
|
|
684
684
|
filterOptions: n
|
|
685
685
|
} = ne(te(g, "modelValue"), V, {
|
|
686
686
|
key: "TOP_MENU_LIST",
|
|
687
|
-
api:
|
|
688
|
-
url:
|
|
687
|
+
api: N,
|
|
688
|
+
url: N.urls.tops,
|
|
689
689
|
isArray: !0
|
|
690
690
|
});
|
|
691
|
-
return (
|
|
692
|
-
const f = s("el-select-v2");
|
|
693
|
-
return L(),
|
|
691
|
+
return (w, u) => {
|
|
692
|
+
const f = s("el-space"), c = s("el-select-v2");
|
|
693
|
+
return L(), q(c, {
|
|
694
694
|
class: "w-full",
|
|
695
695
|
modelValue: e(b),
|
|
696
|
-
"onUpdate:modelValue": u[1] || (u[1] = (
|
|
696
|
+
"onUpdate:modelValue": u[1] || (u[1] = (k) => z(b) ? b.value = k : null),
|
|
697
697
|
options: e(p),
|
|
698
698
|
multiple: M.multiple,
|
|
699
699
|
disabled: e(h),
|
|
@@ -704,16 +704,24 @@ const Je = /* @__PURE__ */ q({
|
|
|
704
704
|
}, {
|
|
705
705
|
prefix: t(() => [l(e(pe), {
|
|
706
706
|
loading: e(h),
|
|
707
|
-
onRefresh: u[0] || (u[0] = (
|
|
707
|
+
onRefresh: u[0] || (u[0] = (k) => e(m)(!0))
|
|
708
708
|
}, null, 8, ["loading"])]),
|
|
709
|
+
default: t(({
|
|
710
|
+
item: k
|
|
711
|
+
}) => [l(f, null, {
|
|
712
|
+
default: t(() => [P("i", {
|
|
713
|
+
class: he(`icon iconfont ${k.icon}`)
|
|
714
|
+
}, null, 2), P("span", null, W(k.translate), 1)]),
|
|
715
|
+
_: 2
|
|
716
|
+
}, 1024)]),
|
|
709
717
|
_: 1
|
|
710
718
|
}, 8, ["modelValue", "options", "multiple", "disabled", "placeholder", "filterOptions", "onChange"]);
|
|
711
719
|
};
|
|
712
720
|
}
|
|
713
|
-
}), Xe = /* @__PURE__ */
|
|
721
|
+
}), Xe = /* @__PURE__ */ T({
|
|
714
722
|
__name: "MenuFormModal",
|
|
715
723
|
emits: ["refresh"],
|
|
716
|
-
setup(M, { expose:
|
|
724
|
+
setup(M, { expose: x, emit: V }) {
|
|
717
725
|
const g = V, h = {
|
|
718
726
|
id: 0,
|
|
719
727
|
menu_id: 0,
|
|
@@ -779,29 +787,29 @@ const Je = /* @__PURE__ */ q({
|
|
|
779
787
|
trigger: "blur"
|
|
780
788
|
}
|
|
781
789
|
]
|
|
782
|
-
}, { modal: p, title: i, form:
|
|
783
|
-
return
|
|
790
|
+
}, { modal: p, title: i, form: m, formData: n, requesting: w, executing: u, open: f, modify: c, submit: k, closed: U } = H(g, h, N);
|
|
791
|
+
return x({
|
|
784
792
|
open: f,
|
|
785
|
-
modify:
|
|
786
|
-
}), (
|
|
787
|
-
const r = s("el-form-item"), d = s("el-col"), y = s("el-input-number"), _ = s("el-row"), D = s("el-input"),
|
|
788
|
-
return L(),
|
|
793
|
+
modify: c
|
|
794
|
+
}), (v, o) => {
|
|
795
|
+
const r = s("el-form-item"), d = s("el-col"), y = s("el-input-number"), _ = s("el-row"), D = s("el-input"), R = s("el-switch"), S = s("el-form");
|
|
796
|
+
return L(), q(e(G), {
|
|
789
797
|
modelValue: e(p),
|
|
790
798
|
"onUpdate:modelValue": o[17] || (o[17] = (A) => z(p) ? p.value = A : null),
|
|
791
799
|
title: e(i)(),
|
|
792
800
|
width: "1000px",
|
|
793
801
|
executing: e(u),
|
|
794
802
|
onClosed: e(U),
|
|
795
|
-
onSubmit: e(
|
|
803
|
+
onSubmit: e(k)
|
|
796
804
|
}, {
|
|
797
805
|
default: t(() => [
|
|
798
806
|
l(S, {
|
|
799
807
|
ref_key: "form",
|
|
800
|
-
ref:
|
|
808
|
+
ref: m,
|
|
801
809
|
model: e(n),
|
|
802
810
|
"label-width": "auto",
|
|
803
811
|
rules: b,
|
|
804
|
-
disabled: e(
|
|
812
|
+
disabled: e(w) || e(u)
|
|
805
813
|
}, {
|
|
806
814
|
default: t(() => [
|
|
807
815
|
l(_, { gutter: 20 }, {
|
|
@@ -947,8 +955,8 @@ const Je = /* @__PURE__ */ q({
|
|
|
947
955
|
})
|
|
948
956
|
}, {
|
|
949
957
|
prepend: t(() => [
|
|
950
|
-
|
|
951
|
-
class:
|
|
958
|
+
P("span", {
|
|
959
|
+
class: he("iconfont " + e(n).icon)
|
|
952
960
|
}, null, 2)
|
|
953
961
|
]),
|
|
954
962
|
_: 1
|
|
@@ -991,7 +999,7 @@ const Je = /* @__PURE__ */ q({
|
|
|
991
999
|
prop: "meta.link"
|
|
992
1000
|
}, {
|
|
993
1001
|
default: t(() => [
|
|
994
|
-
l(
|
|
1002
|
+
l(R, {
|
|
995
1003
|
modelValue: e(n).meta.link,
|
|
996
1004
|
"onUpdate:modelValue": o[12] || (o[12] = (A) => e(n).meta.link = A)
|
|
997
1005
|
}, null, 8, ["modelValue"])
|
|
@@ -1008,7 +1016,7 @@ const Je = /* @__PURE__ */ q({
|
|
|
1008
1016
|
prop: "meta.keep_alive"
|
|
1009
1017
|
}, {
|
|
1010
1018
|
default: t(() => [
|
|
1011
|
-
l(
|
|
1019
|
+
l(R, {
|
|
1012
1020
|
modelValue: e(n).meta.keep_alive,
|
|
1013
1021
|
"onUpdate:modelValue": o[13] || (o[13] = (A) => e(n).meta.keep_alive = A)
|
|
1014
1022
|
}, null, 8, ["modelValue"])
|
|
@@ -1025,7 +1033,7 @@ const Je = /* @__PURE__ */ q({
|
|
|
1025
1033
|
prop: "meta.hide"
|
|
1026
1034
|
}, {
|
|
1027
1035
|
default: t(() => [
|
|
1028
|
-
l(
|
|
1036
|
+
l(R, {
|
|
1029
1037
|
modelValue: e(n).meta.hide,
|
|
1030
1038
|
"onUpdate:modelValue": o[14] || (o[14] = (A) => e(n).meta.hide = A)
|
|
1031
1039
|
}, null, 8, ["modelValue"])
|
|
@@ -1042,7 +1050,7 @@ const Je = /* @__PURE__ */ q({
|
|
|
1042
1050
|
prop: "meta.full"
|
|
1043
1051
|
}, {
|
|
1044
1052
|
default: t(() => [
|
|
1045
|
-
l(
|
|
1053
|
+
l(R, {
|
|
1046
1054
|
modelValue: e(n).meta.full,
|
|
1047
1055
|
"onUpdate:modelValue": o[15] || (o[15] = (A) => e(n).meta.full = A)
|
|
1048
1056
|
}, null, 8, ["modelValue"])
|
|
@@ -1059,7 +1067,7 @@ const Je = /* @__PURE__ */ q({
|
|
|
1059
1067
|
prop: "meta.affix"
|
|
1060
1068
|
}, {
|
|
1061
1069
|
default: t(() => [
|
|
1062
|
-
l(
|
|
1070
|
+
l(R, {
|
|
1063
1071
|
modelValue: e(n).meta.affix,
|
|
1064
1072
|
"onUpdate:modelValue": o[16] || (o[16] = (A) => e(n).meta.affix = A)
|
|
1065
1073
|
}, null, 8, ["modelValue"])
|
|
@@ -1086,7 +1094,7 @@ const Je = /* @__PURE__ */ q({
|
|
|
1086
1094
|
}, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
|
|
1087
1095
|
};
|
|
1088
1096
|
}
|
|
1089
|
-
}), Ze = /* @__PURE__ */
|
|
1097
|
+
}), Ze = /* @__PURE__ */ T({
|
|
1090
1098
|
__name: "MenuSelect",
|
|
1091
1099
|
props: {
|
|
1092
1100
|
modelValue: {
|
|
@@ -1100,27 +1108,27 @@ const Je = /* @__PURE__ */ q({
|
|
|
1100
1108
|
},
|
|
1101
1109
|
emits: ["update:modelValue", "change"],
|
|
1102
1110
|
setup(M, {
|
|
1103
|
-
emit:
|
|
1111
|
+
emit: x
|
|
1104
1112
|
}) {
|
|
1105
|
-
const V =
|
|
1113
|
+
const V = x, g = M, {
|
|
1106
1114
|
requesting: h
|
|
1107
|
-
} = $(
|
|
1115
|
+
} = $(N), {
|
|
1108
1116
|
value: b,
|
|
1109
1117
|
options: p,
|
|
1110
1118
|
change: i,
|
|
1111
|
-
refresh:
|
|
1119
|
+
refresh: m,
|
|
1112
1120
|
filterOptions: n
|
|
1113
1121
|
} = ne(te(g, "modelValue"), V, {
|
|
1114
1122
|
key: "MENU_LIST",
|
|
1115
|
-
api:
|
|
1123
|
+
api: N,
|
|
1116
1124
|
isArray: !0
|
|
1117
1125
|
});
|
|
1118
|
-
return (
|
|
1119
|
-
const f = s("el-space"),
|
|
1120
|
-
return L(),
|
|
1126
|
+
return (w, u) => {
|
|
1127
|
+
const f = s("el-space"), c = s("el-select-v2");
|
|
1128
|
+
return L(), q(c, {
|
|
1121
1129
|
class: "w-full",
|
|
1122
1130
|
modelValue: e(b),
|
|
1123
|
-
"onUpdate:modelValue": u[1] || (u[1] = (
|
|
1131
|
+
"onUpdate:modelValue": u[1] || (u[1] = (k) => z(b) ? b.value = k : null),
|
|
1124
1132
|
options: e(p),
|
|
1125
1133
|
multiple: M.multiple,
|
|
1126
1134
|
disabled: e(h),
|
|
@@ -1131,24 +1139,24 @@ const Je = /* @__PURE__ */ q({
|
|
|
1131
1139
|
}, {
|
|
1132
1140
|
prefix: t(() => [l(e(pe), {
|
|
1133
1141
|
loading: e(h),
|
|
1134
|
-
onRefresh: u[0] || (u[0] = (
|
|
1142
|
+
onRefresh: u[0] || (u[0] = (k) => e(m)(!0))
|
|
1135
1143
|
}, null, 8, ["loading"])]),
|
|
1136
1144
|
default: t(({
|
|
1137
|
-
item:
|
|
1145
|
+
item: k
|
|
1138
1146
|
}) => [l(f, null, {
|
|
1139
|
-
default: t(() => [
|
|
1140
|
-
class:
|
|
1141
|
-
}, null, 2),
|
|
1147
|
+
default: t(() => [P("i", {
|
|
1148
|
+
class: he(`icon iconfont ${k.icon}`)
|
|
1149
|
+
}, null, 2), P("span", null, W(k.translate), 1)]),
|
|
1142
1150
|
_: 2
|
|
1143
1151
|
}, 1024)]),
|
|
1144
1152
|
_: 1
|
|
1145
1153
|
}, 8, ["modelValue", "options", "multiple", "disabled", "placeholder", "filterOptions", "onChange"]);
|
|
1146
1154
|
};
|
|
1147
1155
|
}
|
|
1148
|
-
}), el = /* @__PURE__ */
|
|
1156
|
+
}), el = /* @__PURE__ */ T({
|
|
1149
1157
|
__name: "MenuRuleFormModal",
|
|
1150
1158
|
emits: ["refresh"],
|
|
1151
|
-
setup(M, { expose:
|
|
1159
|
+
setup(M, { expose: x, emit: V }) {
|
|
1152
1160
|
const g = V, h = {
|
|
1153
1161
|
key: "",
|
|
1154
1162
|
menu_id: 0,
|
|
@@ -1195,29 +1203,29 @@ const Je = /* @__PURE__ */ q({
|
|
|
1195
1203
|
trigger: "blur"
|
|
1196
1204
|
}
|
|
1197
1205
|
]
|
|
1198
|
-
}, { modal: p, title: i, form:
|
|
1199
|
-
return
|
|
1206
|
+
}, { modal: p, title: i, form: m, formData: n, requesting: w, executing: u, open: f, modify: c, submit: k, closed: U } = H(g, h, we);
|
|
1207
|
+
return x({
|
|
1200
1208
|
open: f,
|
|
1201
|
-
modify:
|
|
1202
|
-
}), (
|
|
1203
|
-
const r = s("el-form-item"), d = s("el-input-number"), y = s("el-input"), _ = s("el-col"), D = s("el-row"),
|
|
1204
|
-
return L(),
|
|
1209
|
+
modify: c
|
|
1210
|
+
}), (v, o) => {
|
|
1211
|
+
const r = s("el-form-item"), d = s("el-input-number"), y = s("el-input"), _ = s("el-col"), D = s("el-row"), R = s("el-form");
|
|
1212
|
+
return L(), q(e(G), {
|
|
1205
1213
|
modelValue: e(p),
|
|
1206
1214
|
"onUpdate:modelValue": o[6] || (o[6] = (S) => z(p) ? p.value = S : null),
|
|
1207
1215
|
title: e(i)("menu.rules"),
|
|
1208
1216
|
width: "1000px",
|
|
1209
1217
|
executing: e(u),
|
|
1210
1218
|
onClosed: e(U),
|
|
1211
|
-
onSubmit: e(
|
|
1219
|
+
onSubmit: e(k)
|
|
1212
1220
|
}, {
|
|
1213
1221
|
default: t(() => [
|
|
1214
|
-
l(
|
|
1222
|
+
l(R, {
|
|
1215
1223
|
ref_key: "form",
|
|
1216
|
-
ref:
|
|
1224
|
+
ref: m,
|
|
1217
1225
|
model: e(n),
|
|
1218
1226
|
"label-width": "auto",
|
|
1219
1227
|
rules: b,
|
|
1220
|
-
disabled: e(
|
|
1228
|
+
disabled: e(w) || e(u)
|
|
1221
1229
|
}, {
|
|
1222
1230
|
default: t(() => [
|
|
1223
1231
|
l(D, { gutter: 20 }, {
|
|
@@ -1325,16 +1333,16 @@ const Je = /* @__PURE__ */ q({
|
|
|
1325
1333
|
};
|
|
1326
1334
|
}
|
|
1327
1335
|
});
|
|
1328
|
-
function
|
|
1336
|
+
function Ve(M) {
|
|
1329
1337
|
return typeof M == "function" || Object.prototype.toString.call(M) === "[object Object]" && !Ae(M);
|
|
1330
1338
|
}
|
|
1331
|
-
const ll = /* @__PURE__ */
|
|
1339
|
+
const ll = /* @__PURE__ */ T({
|
|
1332
1340
|
__name: "index",
|
|
1333
1341
|
setup(M) {
|
|
1334
|
-
const
|
|
1342
|
+
const x = {
|
|
1335
1343
|
keyword: "",
|
|
1336
1344
|
status: 0
|
|
1337
|
-
}, V =
|
|
1345
|
+
}, V = j(""), g = [
|
|
1338
1346
|
{
|
|
1339
1347
|
label: a("base.sort"),
|
|
1340
1348
|
prop: "sort",
|
|
@@ -1364,7 +1372,7 @@ const ll = /* @__PURE__ */ q({
|
|
|
1364
1372
|
row: o
|
|
1365
1373
|
}) => {
|
|
1366
1374
|
var r;
|
|
1367
|
-
return l(
|
|
1375
|
+
return l(Y, null, [(r = o.menu) == null ? void 0 : r.translate]);
|
|
1368
1376
|
}
|
|
1369
1377
|
},
|
|
1370
1378
|
{
|
|
@@ -1420,13 +1428,13 @@ const ll = /* @__PURE__ */ q({
|
|
|
1420
1428
|
size: "small",
|
|
1421
1429
|
text: !0,
|
|
1422
1430
|
onClick: () => V.value = ""
|
|
1423
|
-
},
|
|
1431
|
+
}, Ve(y = a("base.cancel")) ? y : {
|
|
1424
1432
|
default: () => [y]
|
|
1425
1433
|
}), l(s("el-button"), {
|
|
1426
1434
|
size: "small",
|
|
1427
1435
|
type: "danger",
|
|
1428
|
-
onClick: () =>
|
|
1429
|
-
},
|
|
1436
|
+
onClick: () => v(d.key)
|
|
1437
|
+
}, Ve(_ = a("base.confirm")) ? _ : {
|
|
1430
1438
|
default: () => [_]
|
|
1431
1439
|
})])]);
|
|
1432
1440
|
}
|
|
@@ -1442,7 +1450,7 @@ const ll = /* @__PURE__ */ q({
|
|
|
1442
1450
|
props: {
|
|
1443
1451
|
activeValue: 1,
|
|
1444
1452
|
inactiveValue: 2,
|
|
1445
|
-
api:
|
|
1453
|
+
api: N.urls[ke],
|
|
1446
1454
|
refresh: !0
|
|
1447
1455
|
}
|
|
1448
1456
|
},
|
|
@@ -1462,20 +1470,20 @@ const ll = /* @__PURE__ */ q({
|
|
|
1462
1470
|
}
|
|
1463
1471
|
], {
|
|
1464
1472
|
requesting: h
|
|
1465
|
-
} = $(
|
|
1473
|
+
} = $(N), {
|
|
1466
1474
|
tableRef: b,
|
|
1467
1475
|
formModalRef: p,
|
|
1468
1476
|
keyword: i,
|
|
1469
|
-
search:
|
|
1477
|
+
search: m,
|
|
1470
1478
|
refresh: n,
|
|
1471
|
-
reset:
|
|
1479
|
+
reset: w,
|
|
1472
1480
|
openFormModal: u,
|
|
1473
1481
|
editFormModal: f
|
|
1474
|
-
} = F(
|
|
1475
|
-
formModalRef:
|
|
1476
|
-
openFormModal:
|
|
1482
|
+
} = F(x), {
|
|
1483
|
+
formModalRef: c,
|
|
1484
|
+
openFormModal: k,
|
|
1477
1485
|
editFormModal: U
|
|
1478
|
-
} = F(),
|
|
1486
|
+
} = F(), v = (o) => {
|
|
1479
1487
|
we[Ee]({
|
|
1480
1488
|
key: o
|
|
1481
1489
|
}).then(() => {
|
|
@@ -1483,8 +1491,8 @@ const ll = /* @__PURE__ */ q({
|
|
|
1483
1491
|
});
|
|
1484
1492
|
};
|
|
1485
1493
|
return (o, r) => {
|
|
1486
|
-
const d = s("el-button"), y = s("el-input"), _ = s("el-radio-button"), D = s("el-radio-group"),
|
|
1487
|
-
return L(),
|
|
1494
|
+
const d = s("el-button"), y = s("el-input"), _ = s("el-radio-button"), D = s("el-radio-group"), R = s("el-space"), S = s("el-page-header"), A = s("el-card");
|
|
1495
|
+
return L(), q(A, {
|
|
1488
1496
|
class: "basic-card flex-full",
|
|
1489
1497
|
"body-class": "flex-1",
|
|
1490
1498
|
onClick: r[5] || (r[5] = () => V.value = "")
|
|
@@ -1492,17 +1500,17 @@ const ll = /* @__PURE__ */ q({
|
|
|
1492
1500
|
header: t(() => [l(S, {
|
|
1493
1501
|
class: "basic-header"
|
|
1494
1502
|
}, {
|
|
1495
|
-
title: t(() => [l(e(
|
|
1503
|
+
title: t(() => [l(e(B), {
|
|
1496
1504
|
loading: e(h),
|
|
1497
|
-
onRefresh: e(
|
|
1498
|
-
}, null, 8, ["loading", "onRefresh"]), l(e(
|
|
1505
|
+
onRefresh: e(w)
|
|
1506
|
+
}, null, 8, ["loading", "onRefresh"]), l(e(I), {
|
|
1499
1507
|
onOpen: e(u)
|
|
1500
1508
|
}, null, 8, ["onOpen"]), l(d, {
|
|
1501
1509
|
circle: "",
|
|
1502
1510
|
icon: e(Qe),
|
|
1503
|
-
onClick: e(
|
|
1511
|
+
onClick: e(k)
|
|
1504
1512
|
}, null, 8, ["icon", "onClick"])]),
|
|
1505
|
-
content: t(() => [l(
|
|
1513
|
+
content: t(() => [l(R, {
|
|
1506
1514
|
class: "search-bar"
|
|
1507
1515
|
}, {
|
|
1508
1516
|
default: t(() => [l(y, {
|
|
@@ -1511,14 +1519,14 @@ const ll = /* @__PURE__ */ q({
|
|
|
1511
1519
|
"onUpdate:modelValue": r[0] || (r[0] = (O) => e(i).keyword = O),
|
|
1512
1520
|
placeholder: e(a)("base.placeholder.keyword"),
|
|
1513
1521
|
clearable: "",
|
|
1514
|
-
onKeyup: r[1] || (r[1] = be((O) => e(
|
|
1515
|
-
onClear: r[2] || (r[2] = (O) => e(
|
|
1522
|
+
onKeyup: r[1] || (r[1] = be((O) => e(m)(), ["enter"])),
|
|
1523
|
+
onClear: r[2] || (r[2] = (O) => e(m)())
|
|
1516
1524
|
}, null, 8, ["modelValue", "placeholder"]), l(D, {
|
|
1517
1525
|
modelValue: e(i).status,
|
|
1518
1526
|
"onUpdate:modelValue": r[3] || (r[3] = (O) => e(i).status = O),
|
|
1519
|
-
onChange: r[4] || (r[4] = (O) => e(
|
|
1527
|
+
onChange: r[4] || (r[4] = (O) => e(m)())
|
|
1520
1528
|
}, {
|
|
1521
|
-
default: t(() => [(L(), Q(
|
|
1529
|
+
default: t(() => [(L(), Q(Y, null, re([0, 1, 2], (O) => l(_, {
|
|
1522
1530
|
key: O,
|
|
1523
1531
|
label: e(a)(`base.DISABLE_ENABLE.${O}`),
|
|
1524
1532
|
value: O
|
|
@@ -1526,7 +1534,7 @@ const ll = /* @__PURE__ */ q({
|
|
|
1526
1534
|
_: 1
|
|
1527
1535
|
}, 8, ["modelValue"]), l(e(Z), {
|
|
1528
1536
|
disabled: e(h),
|
|
1529
|
-
onSearch: e(
|
|
1537
|
+
onSearch: e(m)
|
|
1530
1538
|
}, null, 8, ["disabled", "onSearch"])]),
|
|
1531
1539
|
_: 1
|
|
1532
1540
|
})]),
|
|
@@ -1537,7 +1545,7 @@ const ll = /* @__PURE__ */ q({
|
|
|
1537
1545
|
ref: b,
|
|
1538
1546
|
size: "small",
|
|
1539
1547
|
columns: g,
|
|
1540
|
-
url: e(
|
|
1548
|
+
url: e(N).urls[e(fe)],
|
|
1541
1549
|
"search-param": e(i),
|
|
1542
1550
|
autoSearch: ""
|
|
1543
1551
|
}, null, 8, ["url", "search-param"]), l(Xe, {
|
|
@@ -1546,7 +1554,7 @@ const ll = /* @__PURE__ */ q({
|
|
|
1546
1554
|
onRefresh: e(n)
|
|
1547
1555
|
}, null, 8, ["onRefresh"]), l(el, {
|
|
1548
1556
|
ref_key: "ruleFormModalRef",
|
|
1549
|
-
ref:
|
|
1557
|
+
ref: c,
|
|
1550
1558
|
onRefresh: e(n)
|
|
1551
1559
|
}, null, 8, ["onRefresh"])]),
|
|
1552
1560
|
_: 1
|
|
@@ -1556,73 +1564,73 @@ const ll = /* @__PURE__ */ q({
|
|
|
1556
1564
|
}), al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1557
1565
|
__proto__: null,
|
|
1558
1566
|
default: ll
|
|
1559
|
-
}, Symbol.toStringTag, { value: "Module" })), ol = { class: "rule-check" }, tl = { style: { width: "80px", "line-height": "36px" } }, nl = /* @__PURE__ */
|
|
1567
|
+
}, Symbol.toStringTag, { value: "Module" })), ol = { class: "rule-check" }, tl = { style: { width: "80px", "line-height": "36px" } }, nl = /* @__PURE__ */ T({
|
|
1560
1568
|
__name: "RulesCheck",
|
|
1561
1569
|
props: {
|
|
1562
1570
|
modelValue: { type: Array, required: !0 },
|
|
1563
1571
|
disabled: { type: Boolean, default: !1 }
|
|
1564
1572
|
},
|
|
1565
1573
|
emits: ["update:modelValue"],
|
|
1566
|
-
setup(M, { expose:
|
|
1567
|
-
const { requesting: g } = $(
|
|
1574
|
+
setup(M, { expose: x, emit: V }) {
|
|
1575
|
+
const { requesting: g } = $(N), h = M, b = V, p = j(!1), i = De({
|
|
1568
1576
|
checkAll: !1,
|
|
1569
1577
|
indeterminate: !1,
|
|
1570
1578
|
MenuAll: {},
|
|
1571
1579
|
MenuList: {},
|
|
1572
1580
|
MenuIndeterminate: {}
|
|
1573
|
-
}), { options:
|
|
1574
|
-
function
|
|
1575
|
-
|
|
1581
|
+
}), { options: m, refresh: n } = ne(te(h, "modelValue"), b, { key: "RULE_CHECK", api: N, url: N.urls.rules, isArray: !0 }, { autoRefresh: !1 });
|
|
1582
|
+
function w() {
|
|
1583
|
+
m.value.forEach((v) => {
|
|
1576
1584
|
var o;
|
|
1577
|
-
(o =
|
|
1585
|
+
(o = v.rules) != null && o.length && (i.MenuAll[v.id] = !1, i.MenuIndeterminate[v.id] = !1, i.MenuList[v.id] = []);
|
|
1578
1586
|
});
|
|
1579
1587
|
}
|
|
1580
|
-
function u(
|
|
1581
|
-
|
|
1588
|
+
function u(v) {
|
|
1589
|
+
m.value.forEach((o) => {
|
|
1582
1590
|
var r;
|
|
1583
|
-
(r = o.rules) != null && r.length && (i.MenuList[o.id] =
|
|
1584
|
-
}),
|
|
1591
|
+
(r = o.rules) != null && r.length && (i.MenuList[o.id] = v ? o.rules.map((d) => d.key) : []);
|
|
1592
|
+
}), c();
|
|
1585
1593
|
}
|
|
1586
|
-
function f(
|
|
1587
|
-
const r =
|
|
1588
|
-
i.MenuList[o] =
|
|
1594
|
+
function f(v, o) {
|
|
1595
|
+
const r = m.value.find((d) => d.id === o);
|
|
1596
|
+
i.MenuList[o] = v && r ? r.rules.map((d) => d.key) : [], c();
|
|
1589
1597
|
}
|
|
1590
|
-
function
|
|
1591
|
-
|
|
1598
|
+
function c() {
|
|
1599
|
+
m.value.forEach((v) => {
|
|
1592
1600
|
var d, y;
|
|
1593
|
-
const o = ((d =
|
|
1594
|
-
i.MenuAll[
|
|
1595
|
-
}), i.checkAll = Object.values(i.MenuAll).every(Boolean), i.indeterminate = !i.checkAll && Object.values(i.MenuList).some((
|
|
1601
|
+
const o = ((d = v.rules) == null ? void 0 : d.length) || 0, r = ((y = i.MenuList[v.id]) == null ? void 0 : y.length) || 0;
|
|
1602
|
+
i.MenuAll[v.id] = r === o && o > 0, i.MenuIndeterminate[v.id] = r > 0 && r < o;
|
|
1603
|
+
}), i.checkAll = Object.values(i.MenuAll).every(Boolean), i.indeterminate = !i.checkAll && Object.values(i.MenuList).some((v) => v.length > 0), b("update:modelValue", Object.values(i.MenuList).flat());
|
|
1596
1604
|
}
|
|
1597
|
-
function
|
|
1598
|
-
i.checkAll = !1, i.indeterminate = !1, i.MenuAll = {}, i.MenuList = {}, i.MenuIndeterminate = {},
|
|
1605
|
+
function k() {
|
|
1606
|
+
i.checkAll = !1, i.indeterminate = !1, i.MenuAll = {}, i.MenuList = {}, i.MenuIndeterminate = {}, w(), b("update:modelValue", []), p.value = !1;
|
|
1599
1607
|
}
|
|
1600
|
-
function U(
|
|
1608
|
+
function U(v) {
|
|
1601
1609
|
var o;
|
|
1602
|
-
if (Array.isArray(
|
|
1603
|
-
for (let r of
|
|
1610
|
+
if (Array.isArray(m.value) && m.value.length > 0) {
|
|
1611
|
+
for (let r of m.value)
|
|
1604
1612
|
if (Array.isArray(r.rules) && r.rules.length > 0)
|
|
1605
1613
|
for (let d of r.rules)
|
|
1606
|
-
|
|
1607
|
-
|
|
1614
|
+
v.some((y) => y === d.key) && (i.MenuList[r.id] = (((o = i.MenuList) == null ? void 0 : o[r.id]) || []).concat([d.key]));
|
|
1615
|
+
c(), p.value = !0;
|
|
1608
1616
|
}
|
|
1609
1617
|
}
|
|
1610
1618
|
return Le(async () => {
|
|
1611
|
-
var
|
|
1612
|
-
(
|
|
1619
|
+
var v;
|
|
1620
|
+
(v = m.value) != null && v.length || await n(), !p.value && h.modelValue && U(h.modelValue);
|
|
1613
1621
|
}), Se(
|
|
1614
1622
|
() => h.modelValue,
|
|
1615
|
-
(
|
|
1616
|
-
|
|
1623
|
+
(v) => {
|
|
1624
|
+
qe(() => {
|
|
1617
1625
|
var o;
|
|
1618
|
-
p.value || !((o =
|
|
1626
|
+
p.value || !((o = m.value) != null && o.length) || v && v.length > 0 && U(v);
|
|
1619
1627
|
});
|
|
1620
1628
|
},
|
|
1621
1629
|
{ deep: !0, immediate: !0 }
|
|
1622
|
-
),
|
|
1630
|
+
), x({
|
|
1623
1631
|
generateOption: U,
|
|
1624
|
-
cleanChecked:
|
|
1625
|
-
}), (
|
|
1632
|
+
cleanChecked: k
|
|
1633
|
+
}), (v, o) => {
|
|
1626
1634
|
const r = s("el-checkbox"), d = s("el-space"), y = s("el-text"), _ = s("el-divider"), D = s("el-checkbox-group");
|
|
1627
1635
|
return L(), Q("div", ol, [
|
|
1628
1636
|
l(d, { style: { "margin-bottom": "6px" } }, {
|
|
@@ -1635,16 +1643,16 @@ const ll = /* @__PURE__ */ q({
|
|
|
1635
1643
|
onChange: u
|
|
1636
1644
|
}, {
|
|
1637
1645
|
default: t(() => o[1] || (o[1] = [
|
|
1638
|
-
|
|
1646
|
+
P("span", null, "全选", -1)
|
|
1639
1647
|
])),
|
|
1640
1648
|
_: 1,
|
|
1641
1649
|
__: [1]
|
|
1642
1650
|
}, 8, ["model-value", "indeterminate", "disabled"]),
|
|
1643
|
-
l(e(
|
|
1651
|
+
l(e(B), {
|
|
1644
1652
|
loading: e(g),
|
|
1645
1653
|
text: "",
|
|
1646
1654
|
size: "small",
|
|
1647
|
-
onRefresh: o[0] || (o[0] = (
|
|
1655
|
+
onRefresh: o[0] || (o[0] = (R) => e(n)(!0))
|
|
1648
1656
|
}, null, 8, ["loading"])
|
|
1649
1657
|
]),
|
|
1650
1658
|
_: 1
|
|
@@ -1655,8 +1663,8 @@ const ll = /* @__PURE__ */ q({
|
|
|
1655
1663
|
class: "rule-check-content"
|
|
1656
1664
|
}, {
|
|
1657
1665
|
default: t(() => [
|
|
1658
|
-
(L(!0), Q(
|
|
1659
|
-
key:
|
|
1666
|
+
(L(!0), Q(Y, null, re(e(m), (R) => (L(), Q("div", {
|
|
1667
|
+
key: R.id
|
|
1660
1668
|
}, [
|
|
1661
1669
|
l(d, {
|
|
1662
1670
|
direction: "horizontal",
|
|
@@ -1665,15 +1673,15 @@ const ll = /* @__PURE__ */ q({
|
|
|
1665
1673
|
default: t(() => [
|
|
1666
1674
|
l(r, {
|
|
1667
1675
|
style: { "min-width": "150px" },
|
|
1668
|
-
"model-value": i.MenuAll[
|
|
1669
|
-
disabled: M.disabled || !
|
|
1670
|
-
indeterminate: i.MenuIndeterminate[
|
|
1671
|
-
onChange: (S) => f(S,
|
|
1676
|
+
"model-value": i.MenuAll[R.id],
|
|
1677
|
+
disabled: M.disabled || !R.rules || R.rules.length <= 0,
|
|
1678
|
+
indeterminate: i.MenuIndeterminate[R.id],
|
|
1679
|
+
onChange: (S) => f(S, R.id)
|
|
1672
1680
|
}, {
|
|
1673
1681
|
default: t(() => [
|
|
1674
1682
|
l(y, { style: { "font-size": "15px" } }, {
|
|
1675
1683
|
default: t(() => [
|
|
1676
|
-
X(
|
|
1684
|
+
X(W(R.translate), 1)
|
|
1677
1685
|
]),
|
|
1678
1686
|
_: 2
|
|
1679
1687
|
}, 1024)
|
|
@@ -1681,27 +1689,27 @@ const ll = /* @__PURE__ */ q({
|
|
|
1681
1689
|
_: 2
|
|
1682
1690
|
}, 1032, ["model-value", "disabled", "indeterminate", "onChange"]),
|
|
1683
1691
|
l(_, { direction: "vertical" }),
|
|
1684
|
-
|
|
1692
|
+
R.rules ? (L(), q(D, {
|
|
1685
1693
|
key: 0,
|
|
1686
|
-
modelValue: i.MenuList[
|
|
1687
|
-
"onUpdate:modelValue": (S) => i.MenuList[
|
|
1694
|
+
modelValue: i.MenuList[R.id],
|
|
1695
|
+
"onUpdate:modelValue": (S) => i.MenuList[R.id] = S,
|
|
1688
1696
|
disabled: M.disabled,
|
|
1689
1697
|
style: { margin: "auto" },
|
|
1690
|
-
onChange:
|
|
1698
|
+
onChange: c
|
|
1691
1699
|
}, {
|
|
1692
1700
|
default: t(() => [
|
|
1693
|
-
(L(!0), Q(
|
|
1701
|
+
(L(!0), Q(Y, null, re(R.rules, (S) => (L(), q(r, {
|
|
1694
1702
|
key: S.key,
|
|
1695
1703
|
value: S.key
|
|
1696
1704
|
}, {
|
|
1697
1705
|
default: t(() => [
|
|
1698
|
-
|
|
1706
|
+
P("div", tl, W(S.translate), 1)
|
|
1699
1707
|
]),
|
|
1700
1708
|
_: 2
|
|
1701
1709
|
}, 1032, ["value"]))), 128))
|
|
1702
1710
|
]),
|
|
1703
1711
|
_: 2
|
|
1704
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled"])) :
|
|
1712
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled"])) : Te("", !0)
|
|
1705
1713
|
]),
|
|
1706
1714
|
_: 2
|
|
1707
1715
|
}, 1024)
|
|
@@ -1712,16 +1720,16 @@ const ll = /* @__PURE__ */ q({
|
|
|
1712
1720
|
]);
|
|
1713
1721
|
};
|
|
1714
1722
|
}
|
|
1715
|
-
}), xe = (M,
|
|
1723
|
+
}), xe = (M, x) => {
|
|
1716
1724
|
const V = M.__vccOpts || M;
|
|
1717
|
-
for (const [g, h] of
|
|
1725
|
+
for (const [g, h] of x)
|
|
1718
1726
|
V[g] = h;
|
|
1719
1727
|
return V;
|
|
1720
|
-
}, rl = /* @__PURE__ */ xe(nl, [["__scopeId", "data-v-
|
|
1728
|
+
}, rl = /* @__PURE__ */ xe(nl, [["__scopeId", "data-v-7adb5f76"]]), dl = /* @__PURE__ */ T({
|
|
1721
1729
|
__name: "RoleFormModal",
|
|
1722
1730
|
emits: ["refresh"],
|
|
1723
|
-
setup(M, { expose:
|
|
1724
|
-
const g = V, h =
|
|
1731
|
+
setup(M, { expose: x, emit: V }) {
|
|
1732
|
+
const g = V, h = j(), b = {
|
|
1725
1733
|
key: "",
|
|
1726
1734
|
module: "",
|
|
1727
1735
|
sort: 0,
|
|
@@ -1744,19 +1752,19 @@ const ll = /* @__PURE__ */ q({
|
|
|
1744
1752
|
trigger: "blur"
|
|
1745
1753
|
}
|
|
1746
1754
|
]
|
|
1747
|
-
}, { modal: i, title:
|
|
1755
|
+
}, { modal: i, title: m, form: n, formData: w, requesting: u, executing: f, open: c, modify: k, submit: U, closed: v } = H(g, b, ce), o = () => {
|
|
1748
1756
|
var r;
|
|
1749
|
-
(r = h.value) == null || r.cleanChecked(),
|
|
1757
|
+
(r = h.value) == null || r.cleanChecked(), v();
|
|
1750
1758
|
};
|
|
1751
|
-
return
|
|
1752
|
-
open:
|
|
1753
|
-
modify:
|
|
1759
|
+
return x({
|
|
1760
|
+
open: c,
|
|
1761
|
+
modify: k
|
|
1754
1762
|
}), (r, d) => {
|
|
1755
|
-
const y = s("el-input"), _ = s("el-form-item"), D = s("el-col"),
|
|
1756
|
-
return L(),
|
|
1763
|
+
const y = s("el-input"), _ = s("el-form-item"), D = s("el-col"), R = s("el-input-number"), S = s("el-row"), A = s("el-form");
|
|
1764
|
+
return L(), q(e(G), {
|
|
1757
1765
|
modelValue: e(i),
|
|
1758
1766
|
"onUpdate:modelValue": d[6] || (d[6] = (O) => z(i) ? i.value = O : null),
|
|
1759
|
-
title: e(
|
|
1767
|
+
title: e(m)(),
|
|
1760
1768
|
width: "1000px",
|
|
1761
1769
|
executing: e(f),
|
|
1762
1770
|
onClosed: o,
|
|
@@ -1766,7 +1774,7 @@ const ll = /* @__PURE__ */ q({
|
|
|
1766
1774
|
l(A, {
|
|
1767
1775
|
ref_key: "form",
|
|
1768
1776
|
ref: n,
|
|
1769
|
-
model: e(
|
|
1777
|
+
model: e(w),
|
|
1770
1778
|
"label-width": "auto",
|
|
1771
1779
|
rules: p,
|
|
1772
1780
|
disabled: e(u) || e(f)
|
|
@@ -1782,8 +1790,8 @@ const ll = /* @__PURE__ */ q({
|
|
|
1782
1790
|
}, {
|
|
1783
1791
|
default: t(() => [
|
|
1784
1792
|
l(y, {
|
|
1785
|
-
modelValue: e(
|
|
1786
|
-
"onUpdate:modelValue": d[0] || (d[0] = (O) => e(
|
|
1793
|
+
modelValue: e(w).module,
|
|
1794
|
+
"onUpdate:modelValue": d[0] || (d[0] = (O) => e(w).module = O),
|
|
1787
1795
|
placeholder: e(a)("base.placeholder.input")
|
|
1788
1796
|
}, null, 8, ["modelValue", "placeholder"])
|
|
1789
1797
|
]),
|
|
@@ -1799,10 +1807,10 @@ const ll = /* @__PURE__ */ q({
|
|
|
1799
1807
|
prop: "sort"
|
|
1800
1808
|
}, {
|
|
1801
1809
|
default: t(() => [
|
|
1802
|
-
l(
|
|
1810
|
+
l(R, {
|
|
1803
1811
|
class: "w-full",
|
|
1804
|
-
modelValue: e(
|
|
1805
|
-
"onUpdate:modelValue": d[1] || (d[1] = (O) => e(
|
|
1812
|
+
modelValue: e(w).sort,
|
|
1813
|
+
"onUpdate:modelValue": d[1] || (d[1] = (O) => e(w).sort = O),
|
|
1806
1814
|
min: 0,
|
|
1807
1815
|
placeholder: e(a)("base.placeholder.input")
|
|
1808
1816
|
}, null, 8, ["modelValue", "placeholder"])
|
|
@@ -1821,8 +1829,8 @@ const ll = /* @__PURE__ */ q({
|
|
|
1821
1829
|
}, {
|
|
1822
1830
|
default: t(() => [
|
|
1823
1831
|
l(y, {
|
|
1824
|
-
modelValue: e(
|
|
1825
|
-
"onUpdate:modelValue": d[2] || (d[2] = (O) => e(
|
|
1832
|
+
modelValue: e(w).name,
|
|
1833
|
+
"onUpdate:modelValue": d[2] || (d[2] = (O) => e(w).name = O),
|
|
1826
1834
|
placeholder: e(a)("base.placeholder.input")
|
|
1827
1835
|
}, null, 8, ["modelValue", "placeholder"])
|
|
1828
1836
|
]),
|
|
@@ -1834,8 +1842,8 @@ const ll = /* @__PURE__ */ q({
|
|
|
1834
1842
|
}, {
|
|
1835
1843
|
default: t(() => [
|
|
1836
1844
|
l(y, {
|
|
1837
|
-
modelValue: e(
|
|
1838
|
-
"onUpdate:modelValue": d[3] || (d[3] = (O) => e(
|
|
1845
|
+
modelValue: e(w).en_name,
|
|
1846
|
+
"onUpdate:modelValue": d[3] || (d[3] = (O) => e(w).en_name = O),
|
|
1839
1847
|
placeholder: e(a)("base.placeholder.input")
|
|
1840
1848
|
}, null, 8, ["modelValue", "placeholder"])
|
|
1841
1849
|
]),
|
|
@@ -1847,8 +1855,8 @@ const ll = /* @__PURE__ */ q({
|
|
|
1847
1855
|
}, {
|
|
1848
1856
|
default: t(() => [
|
|
1849
1857
|
l(y, {
|
|
1850
|
-
modelValue: e(
|
|
1851
|
-
"onUpdate:modelValue": d[4] || (d[4] = (O) => e(
|
|
1858
|
+
modelValue: e(w).remark,
|
|
1859
|
+
"onUpdate:modelValue": d[4] || (d[4] = (O) => e(w).remark = O),
|
|
1852
1860
|
placeholder: e(a)("base.placeholder.input")
|
|
1853
1861
|
}, null, 8, ["modelValue", "placeholder"])
|
|
1854
1862
|
]),
|
|
@@ -1862,8 +1870,8 @@ const ll = /* @__PURE__ */ q({
|
|
|
1862
1870
|
l(rl, {
|
|
1863
1871
|
ref_key: "rulesCheck",
|
|
1864
1872
|
ref: h,
|
|
1865
|
-
modelValue: e(
|
|
1866
|
-
"onUpdate:modelValue": d[5] || (d[5] = (O) => e(
|
|
1873
|
+
modelValue: e(w).rules,
|
|
1874
|
+
"onUpdate:modelValue": d[5] || (d[5] = (O) => e(w).rules = O),
|
|
1867
1875
|
disabled: e(u) || e(f)
|
|
1868
1876
|
}, null, 8, ["modelValue", "disabled"])
|
|
1869
1877
|
]),
|
|
@@ -1877,10 +1885,10 @@ const ll = /* @__PURE__ */ q({
|
|
|
1877
1885
|
}, 8, ["modelValue", "title", "executing", "onSubmit"]);
|
|
1878
1886
|
};
|
|
1879
1887
|
}
|
|
1880
|
-
}), sl = /* @__PURE__ */
|
|
1888
|
+
}), sl = /* @__PURE__ */ T({
|
|
1881
1889
|
__name: "index",
|
|
1882
1890
|
setup(M) {
|
|
1883
|
-
const
|
|
1891
|
+
const x = {
|
|
1884
1892
|
keyword: ""
|
|
1885
1893
|
}, V = [
|
|
1886
1894
|
{
|
|
@@ -1929,40 +1937,40 @@ const ll = /* @__PURE__ */ q({
|
|
|
1929
1937
|
formModalRef: b,
|
|
1930
1938
|
keyword: p,
|
|
1931
1939
|
search: i,
|
|
1932
|
-
reset:
|
|
1940
|
+
reset: m,
|
|
1933
1941
|
refresh: n,
|
|
1934
|
-
openFormModal:
|
|
1942
|
+
openFormModal: w,
|
|
1935
1943
|
editFormModal: u
|
|
1936
|
-
} = F(
|
|
1937
|
-
return (f,
|
|
1938
|
-
const
|
|
1939
|
-
return L(),
|
|
1944
|
+
} = F(x);
|
|
1945
|
+
return (f, c) => {
|
|
1946
|
+
const k = s("el-input"), U = s("el-space"), v = s("el-page-header"), o = s("el-card");
|
|
1947
|
+
return L(), q(o, {
|
|
1940
1948
|
class: "basic-card flex-full",
|
|
1941
1949
|
"body-class": "flex-1"
|
|
1942
1950
|
}, {
|
|
1943
|
-
header: t(() => [l(
|
|
1951
|
+
header: t(() => [l(v, {
|
|
1944
1952
|
class: "basic-header"
|
|
1945
1953
|
}, {
|
|
1946
|
-
title: t(() => [l(e(
|
|
1954
|
+
title: t(() => [l(e(B), {
|
|
1947
1955
|
loading: e(g),
|
|
1948
|
-
onRefresh: e(
|
|
1949
|
-
}, null, 8, ["loading", "onRefresh"]), l(e(
|
|
1950
|
-
onOpen: e(
|
|
1956
|
+
onRefresh: e(m)
|
|
1957
|
+
}, null, 8, ["loading", "onRefresh"]), l(e(I), {
|
|
1958
|
+
onOpen: e(w)
|
|
1951
1959
|
}, null, 8, ["onOpen"])]),
|
|
1952
1960
|
content: t(() => [l(U, {
|
|
1953
1961
|
class: "search-bar"
|
|
1954
1962
|
}, {
|
|
1955
|
-
default: t(() => [l(
|
|
1963
|
+
default: t(() => [l(k, {
|
|
1956
1964
|
class: "basic-search-input",
|
|
1957
1965
|
modelValue: e(p).keyword,
|
|
1958
|
-
"onUpdate:modelValue":
|
|
1966
|
+
"onUpdate:modelValue": c[0] || (c[0] = (r) => e(p).keyword = r),
|
|
1959
1967
|
placeholder: e(a)("base.placeholder.keyword"),
|
|
1960
1968
|
clearable: "",
|
|
1961
|
-
onKeyup:
|
|
1962
|
-
onClear:
|
|
1969
|
+
onKeyup: c[1] || (c[1] = be((r) => e(i)(), ["enter"])),
|
|
1970
|
+
onClear: c[2] || (c[2] = (r) => e(i)())
|
|
1963
1971
|
}, null, 8, ["modelValue", "placeholder"]), l(e(Z), {
|
|
1964
1972
|
disabled: e(g),
|
|
1965
|
-
onSearch:
|
|
1973
|
+
onSearch: c[3] || (c[3] = (r) => e(i)())
|
|
1966
1974
|
}, null, 8, ["disabled"])]),
|
|
1967
1975
|
_: 1
|
|
1968
1976
|
})]),
|
|
@@ -1990,7 +1998,7 @@ const ll = /* @__PURE__ */ q({
|
|
|
1990
1998
|
default: sl
|
|
1991
1999
|
}, Symbol.toStringTag, { value: "Module" })), il = {
|
|
1992
2000
|
check: "check"
|
|
1993
|
-
}, le = K.routineApi("site", "id", il), se = K.routineApi("domain"), Re = /* @__PURE__ */
|
|
2001
|
+
}, le = K.routineApi("site", "id", il), se = K.routineApi("domain"), Re = /* @__PURE__ */ T({
|
|
1994
2002
|
__name: "DomainSelect",
|
|
1995
2003
|
props: {
|
|
1996
2004
|
modelValue: {
|
|
@@ -2004,7 +2012,7 @@ const ll = /* @__PURE__ */ q({
|
|
|
2004
2012
|
},
|
|
2005
2013
|
emits: ["update:modelValue", "change"],
|
|
2006
2014
|
setup(M, {
|
|
2007
|
-
expose:
|
|
2015
|
+
expose: x,
|
|
2008
2016
|
emit: V
|
|
2009
2017
|
}) {
|
|
2010
2018
|
const g = V, h = M, {
|
|
@@ -2012,20 +2020,20 @@ const ll = /* @__PURE__ */ q({
|
|
|
2012
2020
|
} = $(se), {
|
|
2013
2021
|
key: p,
|
|
2014
2022
|
options: i,
|
|
2015
|
-
refresh:
|
|
2023
|
+
refresh: m,
|
|
2016
2024
|
change: n
|
|
2017
2025
|
} = ne(te(h, "modelValue"), g, {
|
|
2018
2026
|
key: "DOMAIN_LIST",
|
|
2019
2027
|
api: se,
|
|
2020
2028
|
isArray: !0
|
|
2021
2029
|
});
|
|
2022
|
-
return
|
|
2023
|
-
refresh:
|
|
2024
|
-
}), (
|
|
2030
|
+
return x({
|
|
2031
|
+
refresh: m
|
|
2032
|
+
}), (w, u) => {
|
|
2025
2033
|
const f = s("el-select-v2");
|
|
2026
|
-
return L(),
|
|
2034
|
+
return L(), q(f, {
|
|
2027
2035
|
modelValue: e(p),
|
|
2028
|
-
"onUpdate:modelValue": u[0] || (u[0] = (
|
|
2036
|
+
"onUpdate:modelValue": u[0] || (u[0] = (c) => z(p) ? p.value = c : null),
|
|
2029
2037
|
options: e(i),
|
|
2030
2038
|
disabled: M.disabled || e(b),
|
|
2031
2039
|
placeholder: e(a)("base.select config.domain"),
|
|
@@ -2033,16 +2041,16 @@ const ll = /* @__PURE__ */ q({
|
|
|
2033
2041
|
}, {
|
|
2034
2042
|
prefix: t(() => [l(e(pe), {
|
|
2035
2043
|
loading: e(b),
|
|
2036
|
-
onRefresh: e(
|
|
2044
|
+
onRefresh: e(m)
|
|
2037
2045
|
}, null, 8, ["loading", "onRefresh"])]),
|
|
2038
2046
|
_: 1
|
|
2039
2047
|
}, 8, ["modelValue", "options", "disabled", "placeholder", "onChange"]);
|
|
2040
2048
|
};
|
|
2041
2049
|
}
|
|
2042
|
-
}), pl = /* @__PURE__ */
|
|
2050
|
+
}), pl = /* @__PURE__ */ T({
|
|
2043
2051
|
__name: "SiteFormModal",
|
|
2044
2052
|
emits: ["refresh"],
|
|
2045
|
-
setup(M, { expose:
|
|
2053
|
+
setup(M, { expose: x, emit: V }) {
|
|
2046
2054
|
const g = V, h = {
|
|
2047
2055
|
id: 0,
|
|
2048
2056
|
domain_id: 0,
|
|
@@ -2058,29 +2066,29 @@ const ll = /* @__PURE__ */ q({
|
|
|
2058
2066
|
prefix: [{ required: !0, message: a("base.placeholder.input base.prefix"), trigger: "blur" }],
|
|
2059
2067
|
name: [{ required: !0, message: a("base.placeholder.input base.name"), trigger: "blur" }],
|
|
2060
2068
|
en_name: [{ required: !0, message: a("base.placeholder.input base.en_name"), trigger: "blur" }]
|
|
2061
|
-
}, { modal: p, title: i, form:
|
|
2062
|
-
return
|
|
2069
|
+
}, { modal: p, title: i, form: m, formData: n, requesting: w, executing: u, open: f, modify: c, submit: k, closed: U } = H(g, h, le);
|
|
2070
|
+
return x({
|
|
2063
2071
|
open: f,
|
|
2064
|
-
modify:
|
|
2065
|
-
}), (
|
|
2072
|
+
modify: c
|
|
2073
|
+
}), (v, o) => {
|
|
2066
2074
|
const r = s("el-form-item"), d = s("el-input"), y = s("el-form");
|
|
2067
|
-
return L(),
|
|
2075
|
+
return L(), q(e(G), {
|
|
2068
2076
|
modelValue: e(p),
|
|
2069
2077
|
"onUpdate:modelValue": o[7] || (o[7] = (_) => z(p) ? p.value = _ : null),
|
|
2070
2078
|
title: e(i)("config.site"),
|
|
2071
2079
|
width: "600px",
|
|
2072
2080
|
executing: e(u),
|
|
2073
2081
|
onClosed: e(U),
|
|
2074
|
-
onSubmit: e(
|
|
2082
|
+
onSubmit: e(k)
|
|
2075
2083
|
}, {
|
|
2076
2084
|
default: t(() => [
|
|
2077
2085
|
l(y, {
|
|
2078
2086
|
ref_key: "form",
|
|
2079
|
-
ref:
|
|
2087
|
+
ref: m,
|
|
2080
2088
|
model: e(n),
|
|
2081
2089
|
"label-width": "auto",
|
|
2082
2090
|
rules: b,
|
|
2083
|
-
disabled: e(
|
|
2091
|
+
disabled: e(w) || e(u)
|
|
2084
2092
|
}, {
|
|
2085
2093
|
default: t(() => [
|
|
2086
2094
|
l(r, {
|
|
@@ -2188,7 +2196,7 @@ const ll = /* @__PURE__ */ q({
|
|
|
2188
2196
|
}, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
|
|
2189
2197
|
};
|
|
2190
2198
|
}
|
|
2191
|
-
}), ue = K.routineApi("domain_provider"), ml = /* @__PURE__ */
|
|
2199
|
+
}), ue = K.routineApi("domain_provider"), ml = /* @__PURE__ */ T({
|
|
2192
2200
|
__name: "DomainProviderSelect",
|
|
2193
2201
|
props: {
|
|
2194
2202
|
modelValue: {
|
|
@@ -2202,7 +2210,7 @@ const ll = /* @__PURE__ */ q({
|
|
|
2202
2210
|
},
|
|
2203
2211
|
emits: ["update:modelValue", "change"],
|
|
2204
2212
|
setup(M, {
|
|
2205
|
-
expose:
|
|
2213
|
+
expose: x,
|
|
2206
2214
|
emit: V
|
|
2207
2215
|
}) {
|
|
2208
2216
|
const g = V, h = M, {
|
|
@@ -2210,20 +2218,20 @@ const ll = /* @__PURE__ */ q({
|
|
|
2210
2218
|
} = $(ue), {
|
|
2211
2219
|
key: p,
|
|
2212
2220
|
options: i,
|
|
2213
|
-
refresh:
|
|
2221
|
+
refresh: m,
|
|
2214
2222
|
change: n
|
|
2215
2223
|
} = ne(te(h, "modelValue"), g, {
|
|
2216
2224
|
key: "DOMAIN_PROVIDER_LIST",
|
|
2217
2225
|
api: ue,
|
|
2218
2226
|
isArray: !0
|
|
2219
2227
|
});
|
|
2220
|
-
return
|
|
2221
|
-
refresh:
|
|
2222
|
-
}), (
|
|
2228
|
+
return x({
|
|
2229
|
+
refresh: m
|
|
2230
|
+
}), (w, u) => {
|
|
2223
2231
|
const f = s("el-select-v2");
|
|
2224
|
-
return L(),
|
|
2232
|
+
return L(), q(f, {
|
|
2225
2233
|
modelValue: e(p),
|
|
2226
|
-
"onUpdate:modelValue": u[0] || (u[0] = (
|
|
2234
|
+
"onUpdate:modelValue": u[0] || (u[0] = (c) => z(p) ? p.value = c : null),
|
|
2227
2235
|
options: e(i),
|
|
2228
2236
|
disabled: M.disabled || e(b),
|
|
2229
2237
|
placeholder: e(a)("base.select config.domain config.provider"),
|
|
@@ -2231,16 +2239,16 @@ const ll = /* @__PURE__ */ q({
|
|
|
2231
2239
|
}, {
|
|
2232
2240
|
prefix: t(() => [l(e(pe), {
|
|
2233
2241
|
loading: e(b),
|
|
2234
|
-
onRefresh: e(
|
|
2242
|
+
onRefresh: e(m)
|
|
2235
2243
|
}, null, 8, ["loading", "onRefresh"])]),
|
|
2236
2244
|
_: 1
|
|
2237
2245
|
}, 8, ["modelValue", "options", "disabled", "placeholder", "onChange"]);
|
|
2238
2246
|
};
|
|
2239
2247
|
}
|
|
2240
|
-
}), cl = /* @__PURE__ */
|
|
2248
|
+
}), cl = /* @__PURE__ */ T({
|
|
2241
2249
|
__name: "DomainFormModal",
|
|
2242
2250
|
emits: ["refresh"],
|
|
2243
|
-
setup(M, { expose:
|
|
2251
|
+
setup(M, { expose: x, emit: V }) {
|
|
2244
2252
|
const g = V, h = {
|
|
2245
2253
|
id: 0,
|
|
2246
2254
|
provider_id: 0,
|
|
@@ -2251,29 +2259,29 @@ const ll = /* @__PURE__ */ q({
|
|
|
2251
2259
|
}, b = {
|
|
2252
2260
|
provider_id: [{ required: !0, message: a("base.placeholder.input config.domain config.provider"), trigger: "blur" }],
|
|
2253
2261
|
name: [{ required: !0, message: a("base.placeholder.input base.name"), trigger: "blur" }]
|
|
2254
|
-
}, { modal: p, title: i, form:
|
|
2255
|
-
return
|
|
2262
|
+
}, { modal: p, title: i, form: m, formData: n, requesting: w, executing: u, open: f, modify: c, submit: k, closed: U } = H(g, h, se);
|
|
2263
|
+
return x({
|
|
2256
2264
|
open: f,
|
|
2257
|
-
modify:
|
|
2258
|
-
}), (
|
|
2265
|
+
modify: c
|
|
2266
|
+
}), (v, o) => {
|
|
2259
2267
|
const r = s("el-form-item"), d = s("el-input"), y = s("el-date-picker"), _ = s("el-form");
|
|
2260
|
-
return L(),
|
|
2268
|
+
return L(), q(e(G), {
|
|
2261
2269
|
modelValue: e(p),
|
|
2262
2270
|
"onUpdate:modelValue": o[4] || (o[4] = (D) => z(p) ? p.value = D : null),
|
|
2263
2271
|
title: e(i)("config.domain"),
|
|
2264
2272
|
width: "600px",
|
|
2265
2273
|
executing: e(u),
|
|
2266
2274
|
onClosed: e(U),
|
|
2267
|
-
onSubmit: e(
|
|
2275
|
+
onSubmit: e(k)
|
|
2268
2276
|
}, {
|
|
2269
2277
|
default: t(() => [
|
|
2270
2278
|
l(_, {
|
|
2271
2279
|
ref_key: "form",
|
|
2272
|
-
ref:
|
|
2280
|
+
ref: m,
|
|
2273
2281
|
model: e(n),
|
|
2274
2282
|
"label-width": "auto",
|
|
2275
2283
|
rules: b,
|
|
2276
|
-
disabled: e(
|
|
2284
|
+
disabled: e(w) || e(u)
|
|
2277
2285
|
}, {
|
|
2278
2286
|
default: t(() => [
|
|
2279
2287
|
l(r, {
|
|
@@ -2346,7 +2354,7 @@ const ll = /* @__PURE__ */ q({
|
|
|
2346
2354
|
}
|
|
2347
2355
|
}), bl = {
|
|
2348
2356
|
gen: "gen"
|
|
2349
|
-
}, ae = K.routineApi("SSL", "id", bl), fl = /* @__PURE__ */
|
|
2357
|
+
}, ae = K.routineApi("SSL", "id", bl), fl = /* @__PURE__ */ T({
|
|
2350
2358
|
__name: "SiteSelect",
|
|
2351
2359
|
props: {
|
|
2352
2360
|
modelValue: {
|
|
@@ -2360,7 +2368,7 @@ const ll = /* @__PURE__ */ q({
|
|
|
2360
2368
|
},
|
|
2361
2369
|
emits: ["update:modelValue", "change"],
|
|
2362
2370
|
setup(M, {
|
|
2363
|
-
expose:
|
|
2371
|
+
expose: x,
|
|
2364
2372
|
emit: V
|
|
2365
2373
|
}) {
|
|
2366
2374
|
const g = V, h = M, {
|
|
@@ -2368,27 +2376,29 @@ const ll = /* @__PURE__ */ q({
|
|
|
2368
2376
|
} = $(le), {
|
|
2369
2377
|
key: p,
|
|
2370
2378
|
options: i,
|
|
2371
|
-
refresh:
|
|
2379
|
+
refresh: m,
|
|
2372
2380
|
change: n
|
|
2373
2381
|
} = ne(te(h, "modelValue"), g, {
|
|
2374
2382
|
key: "SITE_LIST",
|
|
2375
2383
|
api: le,
|
|
2376
|
-
isArray: !0
|
|
2377
|
-
|
|
2384
|
+
isArray: !0
|
|
2385
|
+
}, {
|
|
2386
|
+
formatOptions: (w) => w.map((u) => {
|
|
2378
2387
|
var f;
|
|
2379
2388
|
return {
|
|
2389
|
+
...u,
|
|
2380
2390
|
label: u.prefix + "." + ((f = u.domain) == null ? void 0 : f.name),
|
|
2381
2391
|
value: u.id
|
|
2382
2392
|
};
|
|
2383
2393
|
})
|
|
2384
2394
|
});
|
|
2385
|
-
return
|
|
2386
|
-
refresh:
|
|
2387
|
-
}), (
|
|
2395
|
+
return x({
|
|
2396
|
+
refresh: m
|
|
2397
|
+
}), (w, u) => {
|
|
2388
2398
|
const f = s("el-select-v2");
|
|
2389
|
-
return L(),
|
|
2399
|
+
return L(), q(f, {
|
|
2390
2400
|
modelValue: e(p),
|
|
2391
|
-
"onUpdate:modelValue": u[0] || (u[0] = (
|
|
2401
|
+
"onUpdate:modelValue": u[0] || (u[0] = (c) => z(p) ? p.value = c : null),
|
|
2392
2402
|
options: e(i),
|
|
2393
2403
|
disabled: M.disabled || e(b),
|
|
2394
2404
|
placeholder: e(a)("base.select config.domain"),
|
|
@@ -2396,16 +2406,16 @@ const ll = /* @__PURE__ */ q({
|
|
|
2396
2406
|
}, {
|
|
2397
2407
|
prefix: t(() => [l(e(pe), {
|
|
2398
2408
|
loading: e(b),
|
|
2399
|
-
onRefresh: e(
|
|
2409
|
+
onRefresh: e(m)
|
|
2400
2410
|
}, null, 8, ["loading", "onRefresh"])]),
|
|
2401
2411
|
_: 1
|
|
2402
2412
|
}, 8, ["modelValue", "options", "disabled", "placeholder", "onChange"]);
|
|
2403
2413
|
};
|
|
2404
2414
|
}
|
|
2405
|
-
}), Ue = /* @__PURE__ */
|
|
2415
|
+
}), Ue = /* @__PURE__ */ T({
|
|
2406
2416
|
__name: "SSLFormModal",
|
|
2407
2417
|
emits: ["refresh"],
|
|
2408
|
-
setup(M, { expose:
|
|
2418
|
+
setup(M, { expose: x, emit: V }) {
|
|
2409
2419
|
const g = V, h = {
|
|
2410
2420
|
id: 0,
|
|
2411
2421
|
domain_id: void 0,
|
|
@@ -2423,30 +2433,30 @@ const ll = /* @__PURE__ */ q({
|
|
|
2423
2433
|
path: [{ required: !0, message: a("base.placeholder.input base.path"), trigger: "blur" }],
|
|
2424
2434
|
email: [{ required: !0, message: a("base.placeholder.input base.email"), trigger: "blur" }],
|
|
2425
2435
|
encryption: [{ required: !0, message: a("base.placeholder.input config.encryption"), trigger: "blur" }]
|
|
2426
|
-
}, { modal: p, title: i, form:
|
|
2427
|
-
return
|
|
2436
|
+
}, { modal: p, title: i, form: m, formData: n, requesting: w, executing: u, open: f, modify: c, submit: k, closed: U } = H(g, h, ae);
|
|
2437
|
+
return x({
|
|
2428
2438
|
open: f,
|
|
2429
|
-
modify:
|
|
2439
|
+
modify: c,
|
|
2430
2440
|
formData: n
|
|
2431
|
-
}), (
|
|
2441
|
+
}), (v, o) => {
|
|
2432
2442
|
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(),
|
|
2443
|
+
return L(), q(e(G), {
|
|
2434
2444
|
modelValue: e(p),
|
|
2435
|
-
"onUpdate:modelValue": o[8] || (o[8] = (
|
|
2445
|
+
"onUpdate:modelValue": o[8] || (o[8] = (R) => z(p) ? p.value = R : null),
|
|
2436
2446
|
title: e(i)("ssl.ssl"),
|
|
2437
2447
|
width: "600px",
|
|
2438
2448
|
executing: e(u),
|
|
2439
2449
|
onClosed: e(U),
|
|
2440
|
-
onSubmit: e(
|
|
2450
|
+
onSubmit: e(k)
|
|
2441
2451
|
}, {
|
|
2442
2452
|
default: t(() => [
|
|
2443
2453
|
l(D, {
|
|
2444
2454
|
ref_key: "form",
|
|
2445
|
-
ref:
|
|
2455
|
+
ref: m,
|
|
2446
2456
|
model: e(n),
|
|
2447
2457
|
"label-width": "auto",
|
|
2448
2458
|
rules: b,
|
|
2449
|
-
disabled: e(
|
|
2459
|
+
disabled: e(w) || e(u)
|
|
2450
2460
|
}, {
|
|
2451
2461
|
default: t(() => [
|
|
2452
2462
|
l(r, {
|
|
@@ -2456,7 +2466,7 @@ const ll = /* @__PURE__ */ q({
|
|
|
2456
2466
|
default: t(() => [
|
|
2457
2467
|
l(Re, {
|
|
2458
2468
|
modelValue: e(n).domain_id,
|
|
2459
|
-
"onUpdate:modelValue": o[0] || (o[0] = (
|
|
2469
|
+
"onUpdate:modelValue": o[0] || (o[0] = (R) => e(n).domain_id = R),
|
|
2460
2470
|
disabled: e(u)
|
|
2461
2471
|
}, null, 8, ["modelValue", "disabled"])
|
|
2462
2472
|
]),
|
|
@@ -2469,7 +2479,7 @@ const ll = /* @__PURE__ */ q({
|
|
|
2469
2479
|
default: t(() => [
|
|
2470
2480
|
l(y, {
|
|
2471
2481
|
modelValue: e(n).client,
|
|
2472
|
-
"onUpdate:modelValue": o[1] || (o[1] = (
|
|
2482
|
+
"onUpdate:modelValue": o[1] || (o[1] = (R) => e(n).client = R)
|
|
2473
2483
|
}, {
|
|
2474
2484
|
default: t(() => [
|
|
2475
2485
|
l(d, {
|
|
@@ -2489,7 +2499,7 @@ const ll = /* @__PURE__ */ q({
|
|
|
2489
2499
|
default: t(() => [
|
|
2490
2500
|
l(fl, {
|
|
2491
2501
|
modelValue: e(n).site_id,
|
|
2492
|
-
"onUpdate:modelValue": o[2] || (o[2] = (
|
|
2502
|
+
"onUpdate:modelValue": o[2] || (o[2] = (R) => e(n).site_id = R),
|
|
2493
2503
|
disabled: e(u)
|
|
2494
2504
|
}, null, 8, ["modelValue", "disabled"])
|
|
2495
2505
|
]),
|
|
@@ -2502,7 +2512,7 @@ const ll = /* @__PURE__ */ q({
|
|
|
2502
2512
|
default: t(() => [
|
|
2503
2513
|
l(_, {
|
|
2504
2514
|
modelValue: e(n).name,
|
|
2505
|
-
"onUpdate:modelValue": o[3] || (o[3] = (
|
|
2515
|
+
"onUpdate:modelValue": o[3] || (o[3] = (R) => e(n).name = R),
|
|
2506
2516
|
disabled: e(u),
|
|
2507
2517
|
placeholder: e(a)("base.placeholder.input")
|
|
2508
2518
|
}, null, 8, ["modelValue", "disabled", "placeholder"])
|
|
@@ -2516,7 +2526,7 @@ const ll = /* @__PURE__ */ q({
|
|
|
2516
2526
|
default: t(() => [
|
|
2517
2527
|
l(_, {
|
|
2518
2528
|
modelValue: e(n).path,
|
|
2519
|
-
"onUpdate:modelValue": o[4] || (o[4] = (
|
|
2529
|
+
"onUpdate:modelValue": o[4] || (o[4] = (R) => e(n).path = R),
|
|
2520
2530
|
disabled: e(u),
|
|
2521
2531
|
placeholder: e(a)("base.placeholder.input")
|
|
2522
2532
|
}, null, 8, ["modelValue", "disabled", "placeholder"])
|
|
@@ -2530,7 +2540,7 @@ const ll = /* @__PURE__ */ q({
|
|
|
2530
2540
|
default: t(() => [
|
|
2531
2541
|
l(_, {
|
|
2532
2542
|
modelValue: e(n).email,
|
|
2533
|
-
"onUpdate:modelValue": o[5] || (o[5] = (
|
|
2543
|
+
"onUpdate:modelValue": o[5] || (o[5] = (R) => e(n).email = R),
|
|
2534
2544
|
disabled: e(u),
|
|
2535
2545
|
placeholder: e(a)("base.placeholder.input")
|
|
2536
2546
|
}, null, 8, ["modelValue", "disabled", "placeholder"])
|
|
@@ -2544,7 +2554,7 @@ const ll = /* @__PURE__ */ q({
|
|
|
2544
2554
|
default: t(() => [
|
|
2545
2555
|
l(y, {
|
|
2546
2556
|
modelValue: e(n).encryption,
|
|
2547
|
-
"onUpdate:modelValue": o[6] || (o[6] = (
|
|
2557
|
+
"onUpdate:modelValue": o[6] || (o[6] = (R) => e(n).encryption = R)
|
|
2548
2558
|
}, {
|
|
2549
2559
|
default: t(() => [
|
|
2550
2560
|
l(d, {
|
|
@@ -2564,7 +2574,7 @@ const ll = /* @__PURE__ */ q({
|
|
|
2564
2574
|
default: t(() => [
|
|
2565
2575
|
l(_, {
|
|
2566
2576
|
modelValue: e(n).remark,
|
|
2567
|
-
"onUpdate:modelValue": o[7] || (o[7] = (
|
|
2577
|
+
"onUpdate:modelValue": o[7] || (o[7] = (R) => e(n).remark = R),
|
|
2568
2578
|
disabled: e(u),
|
|
2569
2579
|
placeholder: e(a)("base.placeholder.input")
|
|
2570
2580
|
}, null, 8, ["modelValue", "disabled", "placeholder"])
|
|
@@ -2579,10 +2589,10 @@ const ll = /* @__PURE__ */ q({
|
|
|
2579
2589
|
}, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
|
|
2580
2590
|
};
|
|
2581
2591
|
}
|
|
2582
|
-
}), _l = /* @__PURE__ */
|
|
2592
|
+
}), _l = /* @__PURE__ */ T({
|
|
2583
2593
|
__name: "DomainProviderFormModal",
|
|
2584
2594
|
emits: ["refresh"],
|
|
2585
|
-
setup(M, { expose:
|
|
2595
|
+
setup(M, { expose: x, emit: V }) {
|
|
2586
2596
|
const g = V, h = {
|
|
2587
2597
|
id: 0,
|
|
2588
2598
|
name: "",
|
|
@@ -2598,29 +2608,29 @@ const ll = /* @__PURE__ */ q({
|
|
|
2598
2608
|
key: { required: !0, message: a("base.placeholder.input base.key"), trigger: "blur" },
|
|
2599
2609
|
secret: { required: !0, message: a("base.placeholder.input config.secret"), trigger: "blur" },
|
|
2600
2610
|
end_point: { required: !0, message: a("base.placeholder.input config.endpoint"), trigger: "blur" }
|
|
2601
|
-
}, { modal: p, title: i, form:
|
|
2602
|
-
return
|
|
2611
|
+
}, { modal: p, title: i, form: m, formData: n, requesting: w, executing: u, open: f, modify: c, submit: k, closed: U } = H(g, h, ue);
|
|
2612
|
+
return x({
|
|
2603
2613
|
open: f,
|
|
2604
|
-
modify:
|
|
2605
|
-
}), (
|
|
2614
|
+
modify: c
|
|
2615
|
+
}), (v, o) => {
|
|
2606
2616
|
const r = s("el-input"), d = s("el-form-item"), y = s("el-form");
|
|
2607
|
-
return L(),
|
|
2617
|
+
return L(), q(e(G), {
|
|
2608
2618
|
modelValue: e(p),
|
|
2609
2619
|
"onUpdate:modelValue": o[6] || (o[6] = (_) => z(p) ? p.value = _ : null),
|
|
2610
2620
|
title: e(i)("config.domain"),
|
|
2611
2621
|
width: "600px",
|
|
2612
2622
|
executing: e(u),
|
|
2613
2623
|
onClosed: e(U),
|
|
2614
|
-
onSubmit: e(
|
|
2624
|
+
onSubmit: e(k)
|
|
2615
2625
|
}, {
|
|
2616
2626
|
default: t(() => [
|
|
2617
2627
|
l(y, {
|
|
2618
2628
|
ref_key: "form",
|
|
2619
|
-
ref:
|
|
2629
|
+
ref: m,
|
|
2620
2630
|
model: e(n),
|
|
2621
2631
|
"label-width": "auto",
|
|
2622
2632
|
rules: b,
|
|
2623
|
-
disabled: e(
|
|
2633
|
+
disabled: e(w) || e(u)
|
|
2624
2634
|
}, {
|
|
2625
2635
|
default: t(() => [
|
|
2626
2636
|
l(d, {
|
|
@@ -2715,19 +2725,19 @@ const ll = /* @__PURE__ */ q({
|
|
|
2715
2725
|
}, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
|
|
2716
2726
|
};
|
|
2717
2727
|
}
|
|
2718
|
-
}), gl = /* @__PURE__ */
|
|
2728
|
+
}), gl = /* @__PURE__ */ T({
|
|
2719
2729
|
__name: "DomainProviderTableDrawer",
|
|
2720
2730
|
setup(M, {
|
|
2721
|
-
expose:
|
|
2731
|
+
expose: x
|
|
2722
2732
|
}) {
|
|
2723
2733
|
const {
|
|
2724
2734
|
requesting: V
|
|
2725
|
-
} = $(ue), g =
|
|
2735
|
+
} = $(ue), g = j(!1), {
|
|
2726
2736
|
tableRef: h,
|
|
2727
2737
|
formModalRef: b,
|
|
2728
2738
|
refresh: p,
|
|
2729
2739
|
openFormModal: i,
|
|
2730
|
-
editFormModal:
|
|
2740
|
+
editFormModal: m
|
|
2731
2741
|
} = F({}), n = [{
|
|
2732
2742
|
prop: "name",
|
|
2733
2743
|
label: a("base.name"),
|
|
@@ -2748,35 +2758,35 @@ const ll = /* @__PURE__ */ q({
|
|
|
2748
2758
|
default: () => [l(J, {
|
|
2749
2759
|
icon: "icon-edit",
|
|
2750
2760
|
t: "",
|
|
2751
|
-
onModify: () =>
|
|
2761
|
+
onModify: () => m({
|
|
2752
2762
|
id: u.id
|
|
2753
2763
|
})
|
|
2754
2764
|
}, null)]
|
|
2755
2765
|
})
|
|
2756
2766
|
}];
|
|
2757
|
-
return
|
|
2767
|
+
return x({
|
|
2758
2768
|
open: () => {
|
|
2759
2769
|
g.value = !0;
|
|
2760
2770
|
}
|
|
2761
2771
|
}), (u, f) => {
|
|
2762
|
-
const
|
|
2763
|
-
return L(),
|
|
2772
|
+
const c = s("el-page-header");
|
|
2773
|
+
return L(), q(e(_e), {
|
|
2764
2774
|
modelValue: g.value,
|
|
2765
|
-
"onUpdate:modelValue": f[0] || (f[0] = (
|
|
2775
|
+
"onUpdate:modelValue": f[0] || (f[0] = (k) => g.value = k),
|
|
2766
2776
|
width: "400px",
|
|
2767
2777
|
"show-close": !1,
|
|
2768
2778
|
class: "basic-drawer"
|
|
2769
2779
|
}, {
|
|
2770
|
-
title: t(() => [l(
|
|
2780
|
+
title: t(() => [l(c, {
|
|
2771
2781
|
icon: ""
|
|
2772
2782
|
}, {
|
|
2773
|
-
title: t(() => [
|
|
2774
|
-
content: t(() => [l(e(
|
|
2783
|
+
title: t(() => [P("span", null, W(e(a)("config.domain config.provider")), 1)]),
|
|
2784
|
+
content: t(() => [l(e(B), {
|
|
2775
2785
|
onRefresh: e(p),
|
|
2776
2786
|
size: "default",
|
|
2777
2787
|
loading: e(V)
|
|
2778
2788
|
}, null, 8, ["onRefresh", "loading"])]),
|
|
2779
|
-
extra: t(() => [l(e(
|
|
2789
|
+
extra: t(() => [l(e(I), {
|
|
2780
2790
|
onOpen: e(i)
|
|
2781
2791
|
}, null, 8, ["onOpen"])]),
|
|
2782
2792
|
_: 1
|
|
@@ -2798,36 +2808,36 @@ const ll = /* @__PURE__ */ q({
|
|
|
2798
2808
|
}, 8, ["modelValue"]);
|
|
2799
2809
|
};
|
|
2800
2810
|
}
|
|
2801
|
-
}), hl = /* @__PURE__ */
|
|
2811
|
+
}), hl = /* @__PURE__ */ T({
|
|
2802
2812
|
__name: "DomainTableDrawer",
|
|
2803
2813
|
setup(M, {
|
|
2804
|
-
expose:
|
|
2814
|
+
expose: x
|
|
2805
2815
|
}) {
|
|
2806
2816
|
const {
|
|
2807
2817
|
requesting: V
|
|
2808
|
-
} = $(se), g =
|
|
2818
|
+
} = $(se), g = j(!1), {
|
|
2809
2819
|
tableRef: h,
|
|
2810
2820
|
formModalRef: b,
|
|
2811
2821
|
refresh: p,
|
|
2812
2822
|
openFormModal: i,
|
|
2813
|
-
editFormModal:
|
|
2823
|
+
editFormModal: m
|
|
2814
2824
|
} = F(), {
|
|
2815
2825
|
formModalRef: n,
|
|
2816
|
-
openFormModal:
|
|
2826
|
+
openFormModal: w,
|
|
2817
2827
|
editFormModal: u
|
|
2818
2828
|
} = F(), {
|
|
2819
2829
|
formModalRef: f,
|
|
2820
|
-
openFormModal:
|
|
2821
|
-
} = F(),
|
|
2830
|
+
openFormModal: c
|
|
2831
|
+
} = F(), k = [{
|
|
2822
2832
|
prop: "provider",
|
|
2823
2833
|
label: a("config.domain config.provider"),
|
|
2824
2834
|
width: 120,
|
|
2825
2835
|
cellRenderer: ({
|
|
2826
|
-
rowData:
|
|
2836
|
+
rowData: v
|
|
2827
2837
|
}) => l(s("el-text"), null, {
|
|
2828
2838
|
default: () => {
|
|
2829
2839
|
var o;
|
|
2830
|
-
return [(o =
|
|
2840
|
+
return [(o = v.provider) == null ? void 0 : o.name];
|
|
2831
2841
|
}
|
|
2832
2842
|
})
|
|
2833
2843
|
}, {
|
|
@@ -2845,35 +2855,35 @@ const ll = /* @__PURE__ */ q({
|
|
|
2845
2855
|
width: 100,
|
|
2846
2856
|
align: "center",
|
|
2847
2857
|
render: ({
|
|
2848
|
-
rowData:
|
|
2858
|
+
rowData: v
|
|
2849
2859
|
}) => l(s("el-space"), null, {
|
|
2850
2860
|
default: () => [l(J, {
|
|
2851
2861
|
icon: "icon-edit",
|
|
2852
2862
|
t: "",
|
|
2853
|
-
onModify: () =>
|
|
2854
|
-
id:
|
|
2863
|
+
onModify: () => m({
|
|
2864
|
+
id: v.id
|
|
2855
2865
|
})
|
|
2856
|
-
}, null), l(
|
|
2866
|
+
}, null), l(I, {
|
|
2857
2867
|
icon: "icon-safetycertificate-f",
|
|
2858
2868
|
type: "primary",
|
|
2859
2869
|
size: "small",
|
|
2860
2870
|
link: !0,
|
|
2861
2871
|
onOpen: () => {
|
|
2862
2872
|
var o;
|
|
2863
|
-
|
|
2864
|
-
id: (o =
|
|
2865
|
-
}) : (n.value.formData.domain_id =
|
|
2873
|
+
v.ssl && v.ssl.id ? u({
|
|
2874
|
+
id: (o = v.ssl) == null ? void 0 : o.id
|
|
2875
|
+
}) : (n.value.formData.domain_id = v.id, n.value.formData.site_id = 0, w());
|
|
2866
2876
|
}
|
|
2867
2877
|
}, null)]
|
|
2868
2878
|
})
|
|
2869
2879
|
}];
|
|
2870
|
-
return
|
|
2880
|
+
return x({
|
|
2871
2881
|
open: () => {
|
|
2872
2882
|
g.value = !0;
|
|
2873
2883
|
}
|
|
2874
|
-
}), (
|
|
2884
|
+
}), (v, o) => {
|
|
2875
2885
|
const r = s("el-space"), d = s("el-page-header");
|
|
2876
|
-
return L(),
|
|
2886
|
+
return L(), q(e(_e), {
|
|
2877
2887
|
modelValue: g.value,
|
|
2878
2888
|
"onUpdate:modelValue": o[0] || (o[0] = (y) => g.value = y),
|
|
2879
2889
|
width: "600px",
|
|
@@ -2883,20 +2893,20 @@ const ll = /* @__PURE__ */ q({
|
|
|
2883
2893
|
title: t(() => [l(d, {
|
|
2884
2894
|
icon: ""
|
|
2885
2895
|
}, {
|
|
2886
|
-
title: t(() => [
|
|
2887
|
-
content: t(() => [l(e(
|
|
2896
|
+
title: t(() => [P("span", null, W(e(a)("config.domain")), 1)]),
|
|
2897
|
+
content: t(() => [l(e(B), {
|
|
2888
2898
|
onRefresh: e(p),
|
|
2889
2899
|
size: "default",
|
|
2890
2900
|
loading: e(V)
|
|
2891
|
-
}, null, 8, ["onRefresh", "loading"]), l(e(
|
|
2901
|
+
}, null, 8, ["onRefresh", "loading"]), l(e(I), {
|
|
2892
2902
|
onOpen: e(i)
|
|
2893
2903
|
}, null, 8, ["onOpen"])]),
|
|
2894
2904
|
extra: t(() => [l(r, {
|
|
2895
2905
|
class: "w-full extra-tool",
|
|
2896
2906
|
alignment: "center"
|
|
2897
2907
|
}, {
|
|
2898
|
-
default: t(() => [l(e(
|
|
2899
|
-
onOpen: e(
|
|
2908
|
+
default: t(() => [l(e(I), {
|
|
2909
|
+
onOpen: e(c),
|
|
2900
2910
|
type: "danger"
|
|
2901
2911
|
}, null, 8, ["onOpen"])]),
|
|
2902
2912
|
_: 1
|
|
@@ -2909,7 +2919,7 @@ const ll = /* @__PURE__ */ q({
|
|
|
2909
2919
|
size: "small",
|
|
2910
2920
|
"row-key": "id",
|
|
2911
2921
|
url: e(se).urls.list,
|
|
2912
|
-
columns:
|
|
2922
|
+
columns: k,
|
|
2913
2923
|
loading: e(V)
|
|
2914
2924
|
}, null, 8, ["url", "loading"]), l(cl, {
|
|
2915
2925
|
ref_key: "formModalRef",
|
|
@@ -2927,20 +2937,20 @@ const ll = /* @__PURE__ */ q({
|
|
|
2927
2937
|
}, 8, ["modelValue"]);
|
|
2928
2938
|
};
|
|
2929
2939
|
}
|
|
2930
|
-
}), Vl = /* @__PURE__ */
|
|
2940
|
+
}), Vl = /* @__PURE__ */ T({
|
|
2931
2941
|
__name: "SSLTableDrawer",
|
|
2932
2942
|
setup(M, {
|
|
2933
|
-
expose:
|
|
2943
|
+
expose: x
|
|
2934
2944
|
}) {
|
|
2935
2945
|
const {
|
|
2936
2946
|
requesting: V,
|
|
2937
2947
|
executing: g
|
|
2938
|
-
} = $(ae), h =
|
|
2948
|
+
} = $(ae), h = j(0), b = j(!1), {
|
|
2939
2949
|
tableRef: p,
|
|
2940
2950
|
formModalRef: i,
|
|
2941
|
-
refresh:
|
|
2951
|
+
refresh: m,
|
|
2942
2952
|
openFormModal: n,
|
|
2943
|
-
editFormModal:
|
|
2953
|
+
editFormModal: w
|
|
2944
2954
|
} = F(), u = [
|
|
2945
2955
|
{
|
|
2946
2956
|
prop: "client",
|
|
@@ -2987,7 +2997,7 @@ const ll = /* @__PURE__ */ q({
|
|
|
2987
2997
|
icon: "icon-edit",
|
|
2988
2998
|
t: "",
|
|
2989
2999
|
disabled: g.value,
|
|
2990
|
-
onModify: () =>
|
|
3000
|
+
onModify: () => w({
|
|
2991
3001
|
id: U.id
|
|
2992
3002
|
})
|
|
2993
3003
|
}, null), l(de, {
|
|
@@ -2997,7 +3007,7 @@ const ll = /* @__PURE__ */ q({
|
|
|
2997
3007
|
text: !0,
|
|
2998
3008
|
disabled: g.value && h.value !== U.id,
|
|
2999
3009
|
loading: h.value == U.id,
|
|
3000
|
-
onClick: () =>
|
|
3010
|
+
onClick: () => c(U.id)
|
|
3001
3011
|
}, null), l(de, {
|
|
3002
3012
|
size: "default",
|
|
3003
3013
|
icon: "icon-cloud-download",
|
|
@@ -3005,33 +3015,33 @@ const ll = /* @__PURE__ */ q({
|
|
|
3005
3015
|
text: !0,
|
|
3006
3016
|
disabled: g.value && h.value !== U.id,
|
|
3007
3017
|
loading: h.value == U.id,
|
|
3008
|
-
onClick: () =>
|
|
3018
|
+
onClick: () => k(U)
|
|
3009
3019
|
}, null)]
|
|
3010
3020
|
})
|
|
3011
3021
|
}
|
|
3012
3022
|
], f = () => {
|
|
3013
3023
|
b.value = !0;
|
|
3014
|
-
},
|
|
3024
|
+
}, c = (U) => {
|
|
3015
3025
|
ae.gen({
|
|
3016
3026
|
id: U
|
|
3017
|
-
}).then((
|
|
3018
|
-
console.warn("Res:",
|
|
3027
|
+
}).then((v) => {
|
|
3028
|
+
console.warn("Res:", v);
|
|
3019
3029
|
});
|
|
3020
3030
|
};
|
|
3021
|
-
function
|
|
3022
|
-
const
|
|
3023
|
-
fetch(
|
|
3031
|
+
function k(U) {
|
|
3032
|
+
const v = ve.getDownloadUrl(U.path + ".zip");
|
|
3033
|
+
fetch(v).then((o) => o.blob()).then((o) => {
|
|
3024
3034
|
let r = URL.createObjectURL(o), d = document.createElement("a");
|
|
3025
3035
|
d.style.display = "none", d.href = r, d.download = U.name + ".zip", d.click(), URL.revokeObjectURL(o);
|
|
3026
3036
|
});
|
|
3027
3037
|
}
|
|
3028
|
-
return
|
|
3038
|
+
return x({
|
|
3029
3039
|
open: f
|
|
3030
|
-
}), (U,
|
|
3040
|
+
}), (U, v) => {
|
|
3031
3041
|
const o = s("el-page-header");
|
|
3032
|
-
return L(),
|
|
3042
|
+
return L(), q(e(_e), {
|
|
3033
3043
|
modelValue: b.value,
|
|
3034
|
-
"onUpdate:modelValue":
|
|
3044
|
+
"onUpdate:modelValue": v[0] || (v[0] = (r) => b.value = r),
|
|
3035
3045
|
width: "1000px",
|
|
3036
3046
|
"show-close": !1,
|
|
3037
3047
|
class: "basic-drawer"
|
|
@@ -3039,12 +3049,12 @@ const ll = /* @__PURE__ */ q({
|
|
|
3039
3049
|
title: t(() => [l(o, {
|
|
3040
3050
|
icon: ""
|
|
3041
3051
|
}, {
|
|
3042
|
-
title: t(() => [
|
|
3043
|
-
content: t(() => [l(e(
|
|
3044
|
-
onRefresh: e(
|
|
3052
|
+
title: t(() => [P("span", null, W(e(a)("ssl.ssl")), 1)]),
|
|
3053
|
+
content: t(() => [l(e(B), {
|
|
3054
|
+
onRefresh: e(m),
|
|
3045
3055
|
size: "default",
|
|
3046
3056
|
loading: e(V)
|
|
3047
|
-
}, null, 8, ["onRefresh", "loading"]), l(e(
|
|
3057
|
+
}, null, 8, ["onRefresh", "loading"]), l(e(I), {
|
|
3048
3058
|
onOpen: e(n)
|
|
3049
3059
|
}, null, 8, ["onOpen"])]),
|
|
3050
3060
|
_: 1
|
|
@@ -3060,13 +3070,13 @@ const ll = /* @__PURE__ */ q({
|
|
|
3060
3070
|
}, null, 8, ["url", "loading"]), l(Ue, {
|
|
3061
3071
|
ref_key: "formModalRef",
|
|
3062
3072
|
ref: i,
|
|
3063
|
-
onRefresh: e(
|
|
3073
|
+
onRefresh: e(m)
|
|
3064
3074
|
}, null, 8, ["onRefresh"])]),
|
|
3065
3075
|
_: 1
|
|
3066
3076
|
}, 8, ["modelValue"]);
|
|
3067
3077
|
};
|
|
3068
3078
|
}
|
|
3069
|
-
}),
|
|
3079
|
+
}), ye = K.routineApi("SSLLog", "id"), yl = /* @__PURE__ */ T({
|
|
3070
3080
|
__name: "SSLLogTableDrawer",
|
|
3071
3081
|
props: {
|
|
3072
3082
|
ssl: {
|
|
@@ -3075,15 +3085,15 @@ const ll = /* @__PURE__ */ q({
|
|
|
3075
3085
|
}
|
|
3076
3086
|
},
|
|
3077
3087
|
setup(M, {
|
|
3078
|
-
expose:
|
|
3088
|
+
expose: x
|
|
3079
3089
|
}) {
|
|
3080
3090
|
const V = M, {
|
|
3081
3091
|
requesting: g,
|
|
3082
3092
|
executing: h
|
|
3083
|
-
} = $([
|
|
3093
|
+
} = $([ye, ae]), b = j(!1), {
|
|
3084
3094
|
tableRef: p,
|
|
3085
3095
|
refresh: i
|
|
3086
|
-
} = F(),
|
|
3096
|
+
} = F(), m = [{
|
|
3087
3097
|
prop: "status_text",
|
|
3088
3098
|
label: a("base.status"),
|
|
3089
3099
|
width: 100
|
|
@@ -3102,7 +3112,7 @@ const ll = /* @__PURE__ */ q({
|
|
|
3102
3112
|
}], n = () => {
|
|
3103
3113
|
b.value = !0;
|
|
3104
3114
|
};
|
|
3105
|
-
function
|
|
3115
|
+
function w() {
|
|
3106
3116
|
ae.gen({
|
|
3107
3117
|
id: V.ssl.id
|
|
3108
3118
|
}).then((f) => {
|
|
@@ -3111,27 +3121,27 @@ const ll = /* @__PURE__ */ q({
|
|
|
3111
3121
|
}
|
|
3112
3122
|
function u() {
|
|
3113
3123
|
const f = ve.getDownloadUrl(V.ssl.path + ".zip");
|
|
3114
|
-
fetch(f).then((
|
|
3115
|
-
let
|
|
3116
|
-
U.style.display = "none", U.href =
|
|
3124
|
+
fetch(f).then((c) => c.blob()).then((c) => {
|
|
3125
|
+
let k = URL.createObjectURL(c), U = document.createElement("a");
|
|
3126
|
+
U.style.display = "none", U.href = k, U.download = V.ssl.name + ".zip", U.click(), URL.revokeObjectURL(c);
|
|
3117
3127
|
});
|
|
3118
3128
|
}
|
|
3119
|
-
return
|
|
3129
|
+
return x({
|
|
3120
3130
|
open: n
|
|
3121
|
-
}), (f,
|
|
3122
|
-
const
|
|
3123
|
-
return L(),
|
|
3131
|
+
}), (f, c) => {
|
|
3132
|
+
const k = s("el-page-header");
|
|
3133
|
+
return L(), q(e(_e), {
|
|
3124
3134
|
modelValue: b.value,
|
|
3125
|
-
"onUpdate:modelValue":
|
|
3135
|
+
"onUpdate:modelValue": c[0] || (c[0] = (U) => b.value = U),
|
|
3126
3136
|
width: "600px",
|
|
3127
3137
|
"show-close": !1,
|
|
3128
3138
|
class: "basic-drawer"
|
|
3129
3139
|
}, {
|
|
3130
|
-
title: t(() => [l(
|
|
3140
|
+
title: t(() => [l(k, {
|
|
3131
3141
|
icon: ""
|
|
3132
3142
|
}, {
|
|
3133
|
-
title: t(() => [
|
|
3134
|
-
content: t(() => [l(e(
|
|
3143
|
+
title: t(() => [P("span", null, W(e(a)("config.ssl base.log")), 1)]),
|
|
3144
|
+
content: t(() => [l(e(B), {
|
|
3135
3145
|
onRefresh: e(i),
|
|
3136
3146
|
size: "default",
|
|
3137
3147
|
loading: e(g)
|
|
@@ -3142,7 +3152,7 @@ const ll = /* @__PURE__ */ q({
|
|
|
3142
3152
|
icon: "icon-key",
|
|
3143
3153
|
disabled: e(h),
|
|
3144
3154
|
loading: e(h),
|
|
3145
|
-
onClick:
|
|
3155
|
+
onClick: w
|
|
3146
3156
|
}, null, 8, ["disabled", "loading"]), l(e(de), {
|
|
3147
3157
|
size: "default",
|
|
3148
3158
|
type: "primary",
|
|
@@ -3158,18 +3168,18 @@ const ll = /* @__PURE__ */ q({
|
|
|
3158
3168
|
ref: p,
|
|
3159
3169
|
size: "small",
|
|
3160
3170
|
"row-key": "id",
|
|
3161
|
-
url: e(
|
|
3162
|
-
columns:
|
|
3171
|
+
url: e(ye).urls.search,
|
|
3172
|
+
columns: m,
|
|
3163
3173
|
loading: e(g)
|
|
3164
3174
|
}, null, 8, ["url", "loading"])]),
|
|
3165
3175
|
_: 1
|
|
3166
3176
|
}, 8, ["modelValue"]);
|
|
3167
3177
|
};
|
|
3168
3178
|
}
|
|
3169
|
-
}), kl = /* @__PURE__ */
|
|
3179
|
+
}), kl = /* @__PURE__ */ T({
|
|
3170
3180
|
__name: "index",
|
|
3171
3181
|
setup(M) {
|
|
3172
|
-
const
|
|
3182
|
+
const x = j(), {
|
|
3173
3183
|
requesting: V,
|
|
3174
3184
|
executing: g
|
|
3175
3185
|
} = $(le), {
|
|
@@ -3177,18 +3187,18 @@ const ll = /* @__PURE__ */ q({
|
|
|
3177
3187
|
formModalRef: b,
|
|
3178
3188
|
reset: p,
|
|
3179
3189
|
refresh: i,
|
|
3180
|
-
openFormModal:
|
|
3190
|
+
openFormModal: m,
|
|
3181
3191
|
editFormModal: n
|
|
3182
3192
|
} = F(), {
|
|
3183
|
-
formModalRef:
|
|
3193
|
+
formModalRef: w,
|
|
3184
3194
|
openFormModal: u
|
|
3185
3195
|
} = F(), {
|
|
3186
3196
|
formModalRef: f,
|
|
3187
|
-
openFormModal:
|
|
3197
|
+
openFormModal: c
|
|
3188
3198
|
} = F(), {
|
|
3189
|
-
formModalRef:
|
|
3199
|
+
formModalRef: k,
|
|
3190
3200
|
openFormModal: U
|
|
3191
|
-
} = F(),
|
|
3201
|
+
} = F(), v = [{
|
|
3192
3202
|
prop: "domain.name",
|
|
3193
3203
|
label: a("config.domain"),
|
|
3194
3204
|
width: 129,
|
|
@@ -3225,7 +3235,7 @@ const ll = /* @__PURE__ */ q({
|
|
|
3225
3235
|
type: "primary",
|
|
3226
3236
|
text: !0,
|
|
3227
3237
|
onClick: (y) => {
|
|
3228
|
-
y.stopPropagation(), d.ssl && d.ssl.id && (
|
|
3238
|
+
y.stopPropagation(), d.ssl && d.ssl.id && (x.value = d.ssl, U());
|
|
3229
3239
|
}
|
|
3230
3240
|
}, {
|
|
3231
3241
|
default: () => [l("span", {
|
|
@@ -3262,7 +3272,7 @@ const ll = /* @__PURE__ */ q({
|
|
|
3262
3272
|
onClick: () => r(d)
|
|
3263
3273
|
}, null)]
|
|
3264
3274
|
})
|
|
3265
|
-
}], o =
|
|
3275
|
+
}], o = j(0), r = (d) => {
|
|
3266
3276
|
o.value = d.id, le.check({
|
|
3267
3277
|
id: d.id
|
|
3268
3278
|
}).then((y) => {
|
|
@@ -3272,8 +3282,8 @@ const ll = /* @__PURE__ */ q({
|
|
|
3272
3282
|
});
|
|
3273
3283
|
};
|
|
3274
3284
|
return (d, y) => {
|
|
3275
|
-
const _ = s("el-space"), D = s("el-page-header"),
|
|
3276
|
-
return L(),
|
|
3285
|
+
const _ = s("el-space"), D = s("el-page-header"), R = s("el-card");
|
|
3286
|
+
return L(), q(R, {
|
|
3277
3287
|
"body-style": {
|
|
3278
3288
|
padding: "12px",
|
|
3279
3289
|
height: "450px"
|
|
@@ -3284,26 +3294,26 @@ const ll = /* @__PURE__ */ q({
|
|
|
3284
3294
|
header: t(() => [l(D, {
|
|
3285
3295
|
icon: ""
|
|
3286
3296
|
}, {
|
|
3287
|
-
title: t(() => [
|
|
3297
|
+
title: t(() => [P("span", null, W(e(a)("config.keys.sites")), 1)]),
|
|
3288
3298
|
content: t(() => [l(_, {
|
|
3289
3299
|
alignment: "center",
|
|
3290
3300
|
style: {
|
|
3291
3301
|
height: "32px"
|
|
3292
3302
|
}
|
|
3293
3303
|
}, {
|
|
3294
|
-
default: t(() => [l(e(
|
|
3304
|
+
default: t(() => [l(e(B), {
|
|
3295
3305
|
loading: e(V),
|
|
3296
3306
|
onRefresh: e(p)
|
|
3297
|
-
}, null, 8, ["loading", "onRefresh"]), l(e(
|
|
3298
|
-
onOpen: e(
|
|
3307
|
+
}, null, 8, ["loading", "onRefresh"]), l(e(I), {
|
|
3308
|
+
onOpen: e(m)
|
|
3299
3309
|
}, null, 8, ["onOpen"])]),
|
|
3300
3310
|
_: 1
|
|
3301
3311
|
})]),
|
|
3302
|
-
extra: t(() => [l(e(
|
|
3312
|
+
extra: t(() => [l(e(I), {
|
|
3303
3313
|
onOpen: e(u),
|
|
3304
3314
|
icon: "icon-compass"
|
|
3305
|
-
}, null, 8, ["onOpen"]), l(e(
|
|
3306
|
-
onOpen: e(
|
|
3315
|
+
}, null, 8, ["onOpen"]), l(e(I), {
|
|
3316
|
+
onOpen: e(c),
|
|
3307
3317
|
icon: "icon-safetycertificate-f"
|
|
3308
3318
|
}, null, 8, ["onOpen"])]),
|
|
3309
3319
|
_: 1
|
|
@@ -3315,20 +3325,20 @@ const ll = /* @__PURE__ */ q({
|
|
|
3315
3325
|
"row-key": "id",
|
|
3316
3326
|
url: e(le).urls[e($e)],
|
|
3317
3327
|
"auto-search": "",
|
|
3318
|
-
columns:
|
|
3328
|
+
columns: v
|
|
3319
3329
|
}, null, 8, ["url"]), l(pl, {
|
|
3320
3330
|
ref_key: "formModalRef",
|
|
3321
3331
|
ref: b,
|
|
3322
3332
|
onRefresh: e(i)
|
|
3323
3333
|
}, null, 8, ["onRefresh"]), l(hl, {
|
|
3324
3334
|
ref_key: "domainTableDrawerRef",
|
|
3325
|
-
ref:
|
|
3335
|
+
ref: w
|
|
3326
3336
|
}, null, 512), l(Vl, {
|
|
3327
3337
|
ref_key: "sslTableDrawerRef",
|
|
3328
3338
|
ref: f
|
|
3329
3339
|
}, null, 512), l(yl, {
|
|
3330
3340
|
ref_key: "sslLogTableDrawerRef",
|
|
3331
|
-
ref:
|
|
3341
|
+
ref: k
|
|
3332
3342
|
}, null, 512)]),
|
|
3333
3343
|
_: 1
|
|
3334
3344
|
});
|
|
@@ -3341,10 +3351,10 @@ const ll = /* @__PURE__ */ q({
|
|
|
3341
3351
|
request: "request",
|
|
3342
3352
|
error: "error",
|
|
3343
3353
|
sql: "SQL"
|
|
3344
|
-
}, oe = K.routineApi("log", "id", xl), Ll = /* @__PURE__ */
|
|
3354
|
+
}, oe = K.routineApi("log", "id", xl), Ll = /* @__PURE__ */ T({
|
|
3345
3355
|
__name: "index",
|
|
3346
3356
|
setup(M) {
|
|
3347
|
-
const
|
|
3357
|
+
const x = {
|
|
3348
3358
|
dates: [C.getCurrentHour().format(C.DATE_VALUE_FORMAT), C.getCurrentHour(1).format(C.DATE_VALUE_FORMAT)]
|
|
3349
3359
|
}, V = [{
|
|
3350
3360
|
label: a("base.sort"),
|
|
@@ -3355,8 +3365,8 @@ const ll = /* @__PURE__ */ q({
|
|
|
3355
3365
|
prop: "time",
|
|
3356
3366
|
width: 180,
|
|
3357
3367
|
render: ({
|
|
3358
|
-
rowData:
|
|
3359
|
-
}) => l(
|
|
3368
|
+
rowData: m
|
|
3369
|
+
}) => l(Y, null, [C.formatDate(m.time)])
|
|
3360
3370
|
}, {
|
|
3361
3371
|
label: a("base.url"),
|
|
3362
3372
|
prop: "url",
|
|
@@ -3369,26 +3379,26 @@ const ll = /* @__PURE__ */ q({
|
|
|
3369
3379
|
keyword: b,
|
|
3370
3380
|
search: p,
|
|
3371
3381
|
reset: i
|
|
3372
|
-
} = F(
|
|
3373
|
-
return (
|
|
3374
|
-
const
|
|
3375
|
-
return L(),
|
|
3382
|
+
} = F(x);
|
|
3383
|
+
return (m, n) => {
|
|
3384
|
+
const w = s("el-date-picker"), u = s("el-space"), f = s("el-page-header"), c = s("el-card");
|
|
3385
|
+
return L(), q(c, {
|
|
3376
3386
|
class: "basic-card flex-full",
|
|
3377
3387
|
"body-class": "flex-1"
|
|
3378
3388
|
}, {
|
|
3379
3389
|
header: t(() => [l(f, {
|
|
3380
3390
|
class: "basic-header"
|
|
3381
3391
|
}, {
|
|
3382
|
-
title: t(() => [l(e(
|
|
3392
|
+
title: t(() => [l(e(B), {
|
|
3383
3393
|
loading: e(g),
|
|
3384
3394
|
onRefresh: e(i)
|
|
3385
3395
|
}, null, 8, ["loading", "onRefresh"])]),
|
|
3386
3396
|
content: t(() => [l(u, {
|
|
3387
3397
|
class: "search-bar"
|
|
3388
3398
|
}, {
|
|
3389
|
-
default: t(() => [l(
|
|
3399
|
+
default: t(() => [l(w, {
|
|
3390
3400
|
modelValue: e(b).dates,
|
|
3391
|
-
"onUpdate:modelValue": n[0] || (n[0] = (
|
|
3401
|
+
"onUpdate:modelValue": n[0] || (n[0] = (k) => e(b).dates = k),
|
|
3392
3402
|
class: "basic-search-datetimerange",
|
|
3393
3403
|
"value-format": e(C).DATE_HOUR_FORMAT,
|
|
3394
3404
|
format: e(C).DATE_SHOW_FORMAT,
|
|
@@ -3397,10 +3407,10 @@ const ll = /* @__PURE__ */ q({
|
|
|
3397
3407
|
"start-placeholder": e(a)("base.start_at"),
|
|
3398
3408
|
"end-placeholder": e(a)("base.end_at"),
|
|
3399
3409
|
clearable: !1,
|
|
3400
|
-
onChange: n[1] || (n[1] = (
|
|
3410
|
+
onChange: n[1] || (n[1] = (k) => e(p)())
|
|
3401
3411
|
}, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(Z), {
|
|
3402
3412
|
disabled: e(g),
|
|
3403
|
-
onSearch: n[2] || (n[2] = (
|
|
3413
|
+
onSearch: n[2] || (n[2] = (k) => e(p)())
|
|
3404
3414
|
}, null, 8, ["disabled"])]),
|
|
3405
3415
|
_: 1
|
|
3406
3416
|
})]),
|
|
@@ -3419,10 +3429,10 @@ const ll = /* @__PURE__ */ q({
|
|
|
3419
3429
|
});
|
|
3420
3430
|
};
|
|
3421
3431
|
}
|
|
3422
|
-
}), Sl = /* @__PURE__ */
|
|
3432
|
+
}), Sl = /* @__PURE__ */ T({
|
|
3423
3433
|
__name: "index",
|
|
3424
3434
|
setup(M) {
|
|
3425
|
-
const
|
|
3435
|
+
const x = {
|
|
3426
3436
|
dates: [C.getCurrentDate(-7).format(C.DATE_VALUE_FORMAT), C.getCurrentDate(0).format(C.DATE_VALUE_FORMAT)]
|
|
3427
3437
|
}, V = [{
|
|
3428
3438
|
label: a("base.sort"),
|
|
@@ -3433,8 +3443,8 @@ const ll = /* @__PURE__ */ q({
|
|
|
3433
3443
|
prop: "time",
|
|
3434
3444
|
width: 180,
|
|
3435
3445
|
render: ({
|
|
3436
|
-
rowData:
|
|
3437
|
-
}) => l(
|
|
3446
|
+
rowData: m
|
|
3447
|
+
}) => l(Y, null, [C.formatDate(m.time)])
|
|
3438
3448
|
}, {
|
|
3439
3449
|
label: a("base.url"),
|
|
3440
3450
|
prop: "url",
|
|
@@ -3447,26 +3457,26 @@ const ll = /* @__PURE__ */ q({
|
|
|
3447
3457
|
keyword: b,
|
|
3448
3458
|
search: p,
|
|
3449
3459
|
reset: i
|
|
3450
|
-
} = F(
|
|
3451
|
-
return (
|
|
3452
|
-
const
|
|
3453
|
-
return L(),
|
|
3460
|
+
} = F(x);
|
|
3461
|
+
return (m, n) => {
|
|
3462
|
+
const w = s("el-date-picker"), u = s("el-space"), f = s("el-page-header"), c = s("el-card");
|
|
3463
|
+
return L(), q(c, {
|
|
3454
3464
|
class: "basic-card flex-full",
|
|
3455
3465
|
"body-class": "flex-1"
|
|
3456
3466
|
}, {
|
|
3457
3467
|
header: t(() => [l(f, {
|
|
3458
3468
|
class: "basic-header"
|
|
3459
3469
|
}, {
|
|
3460
|
-
title: t(() => [l(e(
|
|
3470
|
+
title: t(() => [l(e(B), {
|
|
3461
3471
|
loading: e(g),
|
|
3462
3472
|
onRefresh: e(i)
|
|
3463
3473
|
}, null, 8, ["loading", "onRefresh"])]),
|
|
3464
3474
|
content: t(() => [l(u, {
|
|
3465
3475
|
class: "search-bar"
|
|
3466
3476
|
}, {
|
|
3467
|
-
default: t(() => [l(
|
|
3477
|
+
default: t(() => [l(w, {
|
|
3468
3478
|
modelValue: e(b).dates,
|
|
3469
|
-
"onUpdate:modelValue": n[0] || (n[0] = (
|
|
3479
|
+
"onUpdate:modelValue": n[0] || (n[0] = (k) => e(b).dates = k),
|
|
3470
3480
|
class: "basic-search-daterange",
|
|
3471
3481
|
"value-format": e(C).DATE_VALUE_FORMAT,
|
|
3472
3482
|
format: e(C).DATE_FORMAT,
|
|
@@ -3475,10 +3485,10 @@ const ll = /* @__PURE__ */ q({
|
|
|
3475
3485
|
"start-placeholder": e(a)("base.start_at"),
|
|
3476
3486
|
"end-placeholder": e(a)("base.end_at"),
|
|
3477
3487
|
clearable: !1,
|
|
3478
|
-
onChange: n[1] || (n[1] = (
|
|
3488
|
+
onChange: n[1] || (n[1] = (k) => e(p)())
|
|
3479
3489
|
}, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(Z), {
|
|
3480
3490
|
disabled: e(g),
|
|
3481
|
-
onSearch: n[2] || (n[2] = (
|
|
3491
|
+
onSearch: n[2] || (n[2] = (k) => e(p)())
|
|
3482
3492
|
}, null, 8, ["disabled"])]),
|
|
3483
3493
|
_: 1
|
|
3484
3494
|
})]),
|
|
@@ -3497,10 +3507,10 @@ const ll = /* @__PURE__ */ q({
|
|
|
3497
3507
|
});
|
|
3498
3508
|
};
|
|
3499
3509
|
}
|
|
3500
|
-
}),
|
|
3510
|
+
}), ql = /* @__PURE__ */ T({
|
|
3501
3511
|
__name: "index",
|
|
3502
3512
|
setup(M) {
|
|
3503
|
-
const
|
|
3513
|
+
const x = {
|
|
3504
3514
|
dates: [C.getCurrentDate(-7).format(C.DATE_VALUE_FORMAT), C.getCurrentDate().format(C.DATE_VALUE_FORMAT)]
|
|
3505
3515
|
}, V = [{
|
|
3506
3516
|
label: a("base.sort"),
|
|
@@ -3511,8 +3521,8 @@ const ll = /* @__PURE__ */ q({
|
|
|
3511
3521
|
prop: "time",
|
|
3512
3522
|
width: 180,
|
|
3513
3523
|
render: ({
|
|
3514
|
-
rowData:
|
|
3515
|
-
}) => l(
|
|
3524
|
+
rowData: m
|
|
3525
|
+
}) => l(Y, null, [C.formatDate(m.time)])
|
|
3516
3526
|
}, {
|
|
3517
3527
|
label: a("base.url"),
|
|
3518
3528
|
prop: "url",
|
|
@@ -3525,26 +3535,26 @@ const ll = /* @__PURE__ */ q({
|
|
|
3525
3535
|
keyword: b,
|
|
3526
3536
|
search: p,
|
|
3527
3537
|
reset: i
|
|
3528
|
-
} = F(
|
|
3529
|
-
return (
|
|
3530
|
-
const
|
|
3531
|
-
return L(),
|
|
3538
|
+
} = F(x);
|
|
3539
|
+
return (m, n) => {
|
|
3540
|
+
const w = s("el-date-picker"), u = s("el-space"), f = s("el-page-header"), c = s("el-card");
|
|
3541
|
+
return L(), q(c, {
|
|
3532
3542
|
class: "basic-card flex-full",
|
|
3533
3543
|
"body-class": "flex-1"
|
|
3534
3544
|
}, {
|
|
3535
3545
|
header: t(() => [l(f, {
|
|
3536
3546
|
class: "basic-header"
|
|
3537
3547
|
}, {
|
|
3538
|
-
title: t(() => [l(e(
|
|
3548
|
+
title: t(() => [l(e(B), {
|
|
3539
3549
|
loading: e(g),
|
|
3540
3550
|
onRefresh: e(i)
|
|
3541
3551
|
}, null, 8, ["loading", "onRefresh"])]),
|
|
3542
3552
|
content: t(() => [l(u, {
|
|
3543
3553
|
class: "search-bar"
|
|
3544
3554
|
}, {
|
|
3545
|
-
default: t(() => [l(
|
|
3555
|
+
default: t(() => [l(w, {
|
|
3546
3556
|
modelValue: e(b).dates,
|
|
3547
|
-
"onUpdate:modelValue": n[0] || (n[0] = (
|
|
3557
|
+
"onUpdate:modelValue": n[0] || (n[0] = (k) => e(b).dates = k),
|
|
3548
3558
|
class: "basic-search-daterange",
|
|
3549
3559
|
"value-format": e(C).DATE_HOUR_FORMAT,
|
|
3550
3560
|
format: e(C).DATE_FORMAT,
|
|
@@ -3553,10 +3563,10 @@ const ll = /* @__PURE__ */ q({
|
|
|
3553
3563
|
"start-placeholder": e(a)("base.start_at"),
|
|
3554
3564
|
"end-placeholder": e(a)("base.end_at"),
|
|
3555
3565
|
clearable: !1,
|
|
3556
|
-
onChange: n[1] || (n[1] = (
|
|
3566
|
+
onChange: n[1] || (n[1] = (k) => e(p)())
|
|
3557
3567
|
}, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(Z), {
|
|
3558
3568
|
disabled: e(g),
|
|
3559
|
-
onSearch: n[2] || (n[2] = (
|
|
3569
|
+
onSearch: n[2] || (n[2] = (k) => e(p)())
|
|
3560
3570
|
}, null, 8, ["disabled"])]),
|
|
3561
3571
|
_: 1
|
|
3562
3572
|
})]),
|
|
@@ -3575,7 +3585,7 @@ const ll = /* @__PURE__ */ q({
|
|
|
3575
3585
|
});
|
|
3576
3586
|
};
|
|
3577
3587
|
}
|
|
3578
|
-
}), Rl = () => import("./index-SHsqnbNG.js"), Ul = () => import("./index-CJMTIvHk.js"), Ml = () => import("./index-BMn8mAns.js"),
|
|
3588
|
+
}), Rl = () => import("./index-SHsqnbNG.js"), Ul = () => import("./index-CJMTIvHk.js"), Ml = () => import("./index-BMn8mAns.js"), Tl = [
|
|
3579
3589
|
{
|
|
3580
3590
|
path: ze,
|
|
3581
3591
|
name: "RequestLog",
|
|
@@ -3602,7 +3612,7 @@ const ll = /* @__PURE__ */ q({
|
|
|
3602
3612
|
}
|
|
3603
3613
|
], Ol = {
|
|
3604
3614
|
install: (M) => {
|
|
3605
|
-
Reflect.ownKeys(M._context.provides).some((
|
|
3615
|
+
Reflect.ownKeys(M._context.provides).some((x) => String(x) === "Symbol(pinia)") || console.warn("Pinia is not provided. Please install and provide Pinia in your app."), console.warn(Reflect.ownKeys(M._context.provides));
|
|
3606
3616
|
},
|
|
3607
3617
|
version: "__VERSION__"
|
|
3608
3618
|
}, Cl = /* @__PURE__ */ Object.assign({
|
|
@@ -3616,11 +3626,11 @@ export {
|
|
|
3616
3626
|
Ne as AdminsPage,
|
|
3617
3627
|
Sl as ErrorLogsPage,
|
|
3618
3628
|
We as LanguagesPage,
|
|
3619
|
-
|
|
3629
|
+
Tl as LogRoutes,
|
|
3620
3630
|
ll as MenusPage,
|
|
3621
3631
|
Ll as RequestLogsPage,
|
|
3622
3632
|
sl as RolesPage,
|
|
3623
|
-
|
|
3633
|
+
ql as SQLLogsPage,
|
|
3624
3634
|
vl as SitePage,
|
|
3625
3635
|
Cl as basicModules,
|
|
3626
3636
|
Ol as default
|