auto-vue-basic 0.0.73 → 0.0.75
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 +270 -271
- package/dist/auto-vue-basic.umd.js +1 -1
- package/dist/index.css +1 -1
- package/dist/types/api/language.d.ts +6 -4
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as O, createElementBlock as B, openBlock as L, createElementVNode as N, toRef as
|
|
1
|
+
import { defineComponent as O, createElementBlock as B, openBlock as L, createElementVNode as N, toRef as ne, resolveComponent as s, createBlock as T, unref as e, isRef as P, withCtx as o, createVNode as l, normalizeClass as ve, toDisplayString as z, ref as I, Fragment as G, withKeys as ge, renderList as ae, isVNode as we, reactive as Ne, onMounted as Pe, watch as xe, nextTick as Be, createCommentVNode as je, createTextVNode as Z, onBeforeMount as Ke } from "vue";
|
|
2
2
|
import { ApiUtils as W, useLoading as E, useSelect as re, Translate as a, InlineRefreshButton as pe, useForm as J, FormDialog as ee, useCrudPage as F, DEFAULT_STATUS_KEY as Re, ModifyButton as le, DEFAULT_REMOVE_KEY as We, ProTable as me, DEFAULT_PAGE_KEY as he, SearchButton as oe, RefreshButton as K, OpenButton as j, useCacheStore as Ye, RequestButton as Q, BasicDrawer as ce, BasicRadioButton as De, RulesUtils as Ge, BasicAvatar as He, TimeUtils as $, ProTableList as de, AssetsUtils as Se, notification as Qe, DEFAULT_LIST_URL as Je, REQUEST_LOG_URL as Xe, ERROR_LOG_URL as Ze, SQL_LOG_URL as el } from "auto-vue-manual";
|
|
3
3
|
const ll = {
|
|
4
4
|
tops: "tops",
|
|
@@ -19,7 +19,7 @@ var al = /* @__PURE__ */ O({
|
|
|
19
19
|
})
|
|
20
20
|
]));
|
|
21
21
|
}
|
|
22
|
-
}), ol = al,
|
|
22
|
+
}), ol = al, tl = /* @__PURE__ */ O({
|
|
23
23
|
name: "Search",
|
|
24
24
|
__name: "search",
|
|
25
25
|
setup(x) {
|
|
@@ -33,7 +33,7 @@ var al = /* @__PURE__ */ O({
|
|
|
33
33
|
})
|
|
34
34
|
]));
|
|
35
35
|
}
|
|
36
|
-
}),
|
|
36
|
+
}), nl = tl;
|
|
37
37
|
const rl = /* @__PURE__ */ O({
|
|
38
38
|
__name: "TopMenuSelect",
|
|
39
39
|
props: {
|
|
@@ -57,8 +57,8 @@ const rl = /* @__PURE__ */ O({
|
|
|
57
57
|
options: c,
|
|
58
58
|
change: i,
|
|
59
59
|
refresh: p,
|
|
60
|
-
filterOptions:
|
|
61
|
-
} = re(
|
|
60
|
+
filterOptions: n
|
|
61
|
+
} = re(ne(h, "modelValue"), k, {
|
|
62
62
|
key: "TOP_MENU_LIST",
|
|
63
63
|
api: Y,
|
|
64
64
|
url: Y.urls.tops,
|
|
@@ -75,7 +75,7 @@ const rl = /* @__PURE__ */ O({
|
|
|
75
75
|
disabled: e(V),
|
|
76
76
|
placeholder: e(a)("placeholder.select"),
|
|
77
77
|
filterable: "",
|
|
78
|
-
filterOptions: e(
|
|
78
|
+
filterOptions: e(n),
|
|
79
79
|
onChange: e(i)
|
|
80
80
|
}, {
|
|
81
81
|
prefix: o(() => [l(e(pe), {
|
|
@@ -163,15 +163,15 @@ const rl = /* @__PURE__ */ O({
|
|
|
163
163
|
trigger: "blur"
|
|
164
164
|
}
|
|
165
165
|
]
|
|
166
|
-
}, { modal: c, title: i, form: p, formData:
|
|
166
|
+
}, { modal: c, title: i, form: p, formData: n, requesting: v, executing: u, open: f, modify: g, submit: _, closed: A } = J(h, V, Y);
|
|
167
167
|
return U({
|
|
168
168
|
open: f,
|
|
169
169
|
modify: g
|
|
170
|
-
}), (w,
|
|
170
|
+
}), (w, t) => {
|
|
171
171
|
const d = s("el-form-item"), r = s("el-col"), y = s("el-input-number"), m = s("el-row"), S = s("el-input"), M = s("el-switch"), q = s("el-form");
|
|
172
172
|
return L(), T(e(ee), {
|
|
173
173
|
modelValue: e(c),
|
|
174
|
-
"onUpdate:modelValue":
|
|
174
|
+
"onUpdate:modelValue": t[17] || (t[17] = (R) => P(c) ? c.value = R : null),
|
|
175
175
|
title: e(i)(),
|
|
176
176
|
width: "1000px",
|
|
177
177
|
executing: e(u),
|
|
@@ -182,7 +182,7 @@ const rl = /* @__PURE__ */ O({
|
|
|
182
182
|
l(q, {
|
|
183
183
|
ref_key: "form",
|
|
184
184
|
ref: p,
|
|
185
|
-
model: e(
|
|
185
|
+
model: e(n),
|
|
186
186
|
"label-width": "auto",
|
|
187
187
|
rules: b,
|
|
188
188
|
disabled: e(v) || e(u)
|
|
@@ -202,8 +202,8 @@ const rl = /* @__PURE__ */ O({
|
|
|
202
202
|
}, {
|
|
203
203
|
default: o(() => [
|
|
204
204
|
l(rl, {
|
|
205
|
-
modelValue: e(
|
|
206
|
-
"onUpdate:modelValue":
|
|
205
|
+
modelValue: e(n).menu_id,
|
|
206
|
+
"onUpdate:modelValue": t[0] || (t[0] = (R) => e(n).menu_id = R)
|
|
207
207
|
}, null, 8, ["modelValue"])
|
|
208
208
|
]),
|
|
209
209
|
_: 1
|
|
@@ -221,8 +221,8 @@ const rl = /* @__PURE__ */ O({
|
|
|
221
221
|
default: o(() => [
|
|
222
222
|
l(y, {
|
|
223
223
|
class: "w-full",
|
|
224
|
-
modelValue: e(
|
|
225
|
-
"onUpdate:modelValue":
|
|
224
|
+
modelValue: e(n).sort,
|
|
225
|
+
"onUpdate:modelValue": t[1] || (t[1] = (R) => e(n).sort = R),
|
|
226
226
|
min: 0,
|
|
227
227
|
placeholder: e(a)("placeholder.input")
|
|
228
228
|
}, null, 8, ["modelValue", "placeholder"])
|
|
@@ -241,8 +241,8 @@ const rl = /* @__PURE__ */ O({
|
|
|
241
241
|
}, {
|
|
242
242
|
default: o(() => [
|
|
243
243
|
l(S, {
|
|
244
|
-
modelValue: e(
|
|
245
|
-
"onUpdate:modelValue":
|
|
244
|
+
modelValue: e(n).module,
|
|
245
|
+
"onUpdate:modelValue": t[2] || (t[2] = (R) => e(n).module = R),
|
|
246
246
|
placeholder: e(a)("placeholder.input")
|
|
247
247
|
}, null, 8, ["modelValue", "placeholder"])
|
|
248
248
|
]),
|
|
@@ -254,8 +254,8 @@ const rl = /* @__PURE__ */ O({
|
|
|
254
254
|
}, {
|
|
255
255
|
default: o(() => [
|
|
256
256
|
l(S, {
|
|
257
|
-
modelValue: e(
|
|
258
|
-
"onUpdate:modelValue":
|
|
257
|
+
modelValue: e(n).name,
|
|
258
|
+
"onUpdate:modelValue": t[3] || (t[3] = (R) => e(n).name = R),
|
|
259
259
|
placeholder: e(a)("placeholder.input")
|
|
260
260
|
}, null, 8, ["modelValue", "placeholder"])
|
|
261
261
|
]),
|
|
@@ -267,8 +267,8 @@ const rl = /* @__PURE__ */ O({
|
|
|
267
267
|
}, {
|
|
268
268
|
default: o(() => [
|
|
269
269
|
l(S, {
|
|
270
|
-
modelValue: e(
|
|
271
|
-
"onUpdate:modelValue":
|
|
270
|
+
modelValue: e(n).en_name,
|
|
271
|
+
"onUpdate:modelValue": t[4] || (t[4] = (R) => e(n).en_name = R),
|
|
272
272
|
placeholder: e(a)("placeholder.input")
|
|
273
273
|
}, null, 8, ["modelValue", "placeholder"])
|
|
274
274
|
]),
|
|
@@ -280,8 +280,8 @@ const rl = /* @__PURE__ */ O({
|
|
|
280
280
|
}, {
|
|
281
281
|
default: o(() => [
|
|
282
282
|
l(S, {
|
|
283
|
-
modelValue: e(
|
|
284
|
-
"onUpdate:modelValue":
|
|
283
|
+
modelValue: e(n).component,
|
|
284
|
+
"onUpdate:modelValue": t[5] || (t[5] = (R) => e(n).component = R),
|
|
285
285
|
placeholder: e(a)("placeholder.input")
|
|
286
286
|
}, null, 8, ["modelValue", "placeholder"])
|
|
287
287
|
]),
|
|
@@ -293,8 +293,8 @@ const rl = /* @__PURE__ */ O({
|
|
|
293
293
|
}, {
|
|
294
294
|
default: o(() => [
|
|
295
295
|
l(S, {
|
|
296
|
-
modelValue: e(
|
|
297
|
-
"onUpdate:modelValue":
|
|
296
|
+
modelValue: e(n).url,
|
|
297
|
+
"onUpdate:modelValue": t[6] || (t[6] = (R) => e(n).url = R),
|
|
298
298
|
placeholder: e(a)("placeholder.input")
|
|
299
299
|
}, null, 8, ["modelValue", "placeholder"])
|
|
300
300
|
]),
|
|
@@ -306,8 +306,8 @@ const rl = /* @__PURE__ */ O({
|
|
|
306
306
|
}, {
|
|
307
307
|
default: o(() => [
|
|
308
308
|
l(S, {
|
|
309
|
-
modelValue: e(
|
|
310
|
-
"onUpdate:modelValue":
|
|
309
|
+
modelValue: e(n).remark,
|
|
310
|
+
"onUpdate:modelValue": t[7] || (t[7] = (R) => e(n).remark = R),
|
|
311
311
|
placeholder: e(a)("placeholder.input")
|
|
312
312
|
}, null, 8, ["modelValue", "placeholder"])
|
|
313
313
|
]),
|
|
@@ -324,16 +324,16 @@ const rl = /* @__PURE__ */ O({
|
|
|
324
324
|
}, {
|
|
325
325
|
default: o(() => [
|
|
326
326
|
l(S, {
|
|
327
|
-
modelValue: e(
|
|
328
|
-
"onUpdate:modelValue":
|
|
327
|
+
modelValue: e(n).icon,
|
|
328
|
+
"onUpdate:modelValue": t[8] || (t[8] = (R) => e(n).icon = R),
|
|
329
329
|
placeholder: e(a)("placeholder.input"),
|
|
330
|
-
onInput:
|
|
331
|
-
e(
|
|
330
|
+
onInput: t[9] || (t[9] = (R) => {
|
|
331
|
+
e(n).meta.icon = R;
|
|
332
332
|
})
|
|
333
333
|
}, {
|
|
334
334
|
prepend: o(() => [
|
|
335
335
|
N("span", {
|
|
336
|
-
class: ve("iconfont " + e(
|
|
336
|
+
class: ve("iconfont " + e(n).icon)
|
|
337
337
|
}, null, 2)
|
|
338
338
|
]),
|
|
339
339
|
_: 1
|
|
@@ -347,8 +347,8 @@ const rl = /* @__PURE__ */ O({
|
|
|
347
347
|
}, {
|
|
348
348
|
default: o(() => [
|
|
349
349
|
l(S, {
|
|
350
|
-
modelValue: e(
|
|
351
|
-
"onUpdate:modelValue":
|
|
350
|
+
modelValue: e(n).meta.title,
|
|
351
|
+
"onUpdate:modelValue": t[10] || (t[10] = (R) => e(n).meta.title = R),
|
|
352
352
|
placeholder: e(a)("placeholder.input")
|
|
353
353
|
}, null, 8, ["modelValue", "placeholder"])
|
|
354
354
|
]),
|
|
@@ -360,8 +360,8 @@ const rl = /* @__PURE__ */ O({
|
|
|
360
360
|
}, {
|
|
361
361
|
default: o(() => [
|
|
362
362
|
l(S, {
|
|
363
|
-
modelValue: e(
|
|
364
|
-
"onUpdate:modelValue":
|
|
363
|
+
modelValue: e(n).meta.active,
|
|
364
|
+
"onUpdate:modelValue": t[11] || (t[11] = (R) => e(n).meta.active = R),
|
|
365
365
|
placeholder: e(a)("placeholder.input")
|
|
366
366
|
}, null, 8, ["modelValue", "placeholder"])
|
|
367
367
|
]),
|
|
@@ -377,8 +377,8 @@ const rl = /* @__PURE__ */ O({
|
|
|
377
377
|
}, {
|
|
378
378
|
default: o(() => [
|
|
379
379
|
l(M, {
|
|
380
|
-
modelValue: e(
|
|
381
|
-
"onUpdate:modelValue":
|
|
380
|
+
modelValue: e(n).meta.link,
|
|
381
|
+
"onUpdate:modelValue": t[12] || (t[12] = (R) => e(n).meta.link = R)
|
|
382
382
|
}, null, 8, ["modelValue"])
|
|
383
383
|
]),
|
|
384
384
|
_: 1
|
|
@@ -394,8 +394,8 @@ const rl = /* @__PURE__ */ O({
|
|
|
394
394
|
}, {
|
|
395
395
|
default: o(() => [
|
|
396
396
|
l(M, {
|
|
397
|
-
modelValue: e(
|
|
398
|
-
"onUpdate:modelValue":
|
|
397
|
+
modelValue: e(n).meta.keep_alive,
|
|
398
|
+
"onUpdate:modelValue": t[13] || (t[13] = (R) => e(n).meta.keep_alive = R)
|
|
399
399
|
}, null, 8, ["modelValue"])
|
|
400
400
|
]),
|
|
401
401
|
_: 1
|
|
@@ -411,8 +411,8 @@ const rl = /* @__PURE__ */ O({
|
|
|
411
411
|
}, {
|
|
412
412
|
default: o(() => [
|
|
413
413
|
l(M, {
|
|
414
|
-
modelValue: e(
|
|
415
|
-
"onUpdate:modelValue":
|
|
414
|
+
modelValue: e(n).meta.hide,
|
|
415
|
+
"onUpdate:modelValue": t[14] || (t[14] = (R) => e(n).meta.hide = R)
|
|
416
416
|
}, null, 8, ["modelValue"])
|
|
417
417
|
]),
|
|
418
418
|
_: 1
|
|
@@ -428,8 +428,8 @@ const rl = /* @__PURE__ */ O({
|
|
|
428
428
|
}, {
|
|
429
429
|
default: o(() => [
|
|
430
430
|
l(M, {
|
|
431
|
-
modelValue: e(
|
|
432
|
-
"onUpdate:modelValue":
|
|
431
|
+
modelValue: e(n).meta.full,
|
|
432
|
+
"onUpdate:modelValue": t[15] || (t[15] = (R) => e(n).meta.full = R)
|
|
433
433
|
}, null, 8, ["modelValue"])
|
|
434
434
|
]),
|
|
435
435
|
_: 1
|
|
@@ -445,8 +445,8 @@ const rl = /* @__PURE__ */ O({
|
|
|
445
445
|
}, {
|
|
446
446
|
default: o(() => [
|
|
447
447
|
l(M, {
|
|
448
|
-
modelValue: e(
|
|
449
|
-
"onUpdate:modelValue":
|
|
448
|
+
modelValue: e(n).meta.affix,
|
|
449
|
+
"onUpdate:modelValue": t[16] || (t[16] = (R) => e(n).meta.affix = R)
|
|
450
450
|
}, null, 8, ["modelValue"])
|
|
451
451
|
]),
|
|
452
452
|
_: 1
|
|
@@ -494,8 +494,8 @@ const rl = /* @__PURE__ */ O({
|
|
|
494
494
|
options: c,
|
|
495
495
|
change: i,
|
|
496
496
|
refresh: p,
|
|
497
|
-
filterOptions:
|
|
498
|
-
} = re(
|
|
497
|
+
filterOptions: n
|
|
498
|
+
} = re(ne(h, "modelValue"), k, {
|
|
499
499
|
key: "MENU_LIST",
|
|
500
500
|
api: Y,
|
|
501
501
|
isArray: !0
|
|
@@ -511,7 +511,7 @@ const rl = /* @__PURE__ */ O({
|
|
|
511
511
|
disabled: e(V),
|
|
512
512
|
placeholder: e(a)("placeholder.select"),
|
|
513
513
|
filterable: "",
|
|
514
|
-
filterOptions: e(
|
|
514
|
+
filterOptions: e(n),
|
|
515
515
|
onChange: e(i)
|
|
516
516
|
}, {
|
|
517
517
|
prefix: o(() => [l(e(pe), {
|
|
@@ -580,15 +580,15 @@ const rl = /* @__PURE__ */ O({
|
|
|
580
580
|
trigger: "blur"
|
|
581
581
|
}
|
|
582
582
|
]
|
|
583
|
-
}, { modal: c, title: i, form: p, formData:
|
|
583
|
+
}, { modal: c, title: i, form: p, formData: n, requesting: v, executing: u, open: f, modify: g, submit: _, closed: A } = J(h, V, Le);
|
|
584
584
|
return U({
|
|
585
585
|
open: f,
|
|
586
586
|
modify: g
|
|
587
|
-
}), (w,
|
|
587
|
+
}), (w, t) => {
|
|
588
588
|
const d = s("el-form-item"), r = s("el-input-number"), y = s("el-input"), m = s("el-col"), S = s("el-row"), M = s("el-form");
|
|
589
589
|
return L(), T(e(ee), {
|
|
590
590
|
modelValue: e(c),
|
|
591
|
-
"onUpdate:modelValue":
|
|
591
|
+
"onUpdate:modelValue": t[6] || (t[6] = (q) => P(c) ? c.value = q : null),
|
|
592
592
|
title: e(i)("menu.rules"),
|
|
593
593
|
width: "1000px",
|
|
594
594
|
executing: e(u),
|
|
@@ -599,7 +599,7 @@ const rl = /* @__PURE__ */ O({
|
|
|
599
599
|
l(M, {
|
|
600
600
|
ref_key: "form",
|
|
601
601
|
ref: p,
|
|
602
|
-
model: e(
|
|
602
|
+
model: e(n),
|
|
603
603
|
"label-width": "auto",
|
|
604
604
|
rules: b,
|
|
605
605
|
disabled: e(v) || e(u)
|
|
@@ -615,8 +615,8 @@ const rl = /* @__PURE__ */ O({
|
|
|
615
615
|
}, {
|
|
616
616
|
default: o(() => [
|
|
617
617
|
l(sl, {
|
|
618
|
-
modelValue: e(
|
|
619
|
-
"onUpdate:modelValue":
|
|
618
|
+
modelValue: e(n).menu_id,
|
|
619
|
+
"onUpdate:modelValue": t[0] || (t[0] = (q) => e(n).menu_id = q)
|
|
620
620
|
}, null, 8, ["modelValue"])
|
|
621
621
|
]),
|
|
622
622
|
_: 1
|
|
@@ -628,8 +628,8 @@ const rl = /* @__PURE__ */ O({
|
|
|
628
628
|
default: o(() => [
|
|
629
629
|
l(r, {
|
|
630
630
|
class: "w-full",
|
|
631
|
-
modelValue: e(
|
|
632
|
-
"onUpdate:modelValue":
|
|
631
|
+
modelValue: e(n).sort,
|
|
632
|
+
"onUpdate:modelValue": t[1] || (t[1] = (q) => e(n).sort = q),
|
|
633
633
|
min: 0,
|
|
634
634
|
placeholder: e(a)("placeholder.input")
|
|
635
635
|
}, null, 8, ["modelValue", "placeholder"])
|
|
@@ -642,8 +642,8 @@ const rl = /* @__PURE__ */ O({
|
|
|
642
642
|
}, {
|
|
643
643
|
default: o(() => [
|
|
644
644
|
l(y, {
|
|
645
|
-
modelValue: e(
|
|
646
|
-
"onUpdate:modelValue":
|
|
645
|
+
modelValue: e(n).name,
|
|
646
|
+
"onUpdate:modelValue": t[2] || (t[2] = (q) => e(n).name = q),
|
|
647
647
|
placeholder: e(a)("placeholder.input")
|
|
648
648
|
}, null, 8, ["modelValue", "placeholder"])
|
|
649
649
|
]),
|
|
@@ -655,8 +655,8 @@ const rl = /* @__PURE__ */ O({
|
|
|
655
655
|
}, {
|
|
656
656
|
default: o(() => [
|
|
657
657
|
l(y, {
|
|
658
|
-
modelValue: e(
|
|
659
|
-
"onUpdate:modelValue":
|
|
658
|
+
modelValue: e(n).en_name,
|
|
659
|
+
"onUpdate:modelValue": t[3] || (t[3] = (q) => e(n).en_name = q),
|
|
660
660
|
placeholder: e(a)("placeholder.input")
|
|
661
661
|
}, null, 8, ["modelValue", "placeholder"])
|
|
662
662
|
]),
|
|
@@ -668,8 +668,8 @@ const rl = /* @__PURE__ */ O({
|
|
|
668
668
|
}, {
|
|
669
669
|
default: o(() => [
|
|
670
670
|
l(y, {
|
|
671
|
-
modelValue: e(
|
|
672
|
-
"onUpdate:modelValue":
|
|
671
|
+
modelValue: e(n).remark,
|
|
672
|
+
"onUpdate:modelValue": t[4] || (t[4] = (q) => e(n).remark = q),
|
|
673
673
|
placeholder: e(a)("placeholder.input")
|
|
674
674
|
}, null, 8, ["modelValue", "placeholder"])
|
|
675
675
|
]),
|
|
@@ -686,8 +686,8 @@ const rl = /* @__PURE__ */ O({
|
|
|
686
686
|
}, {
|
|
687
687
|
default: o(() => [
|
|
688
688
|
l(y, {
|
|
689
|
-
modelValue: e(
|
|
690
|
-
"onUpdate:modelValue":
|
|
689
|
+
modelValue: e(n).urls,
|
|
690
|
+
"onUpdate:modelValue": t[5] || (t[5] = (q) => e(n).urls = q),
|
|
691
691
|
type: "textarea",
|
|
692
692
|
rows: 11,
|
|
693
693
|
placeholder: e(a)("placeholder.input")
|
|
@@ -730,9 +730,9 @@ const Nl = /* @__PURE__ */ O({
|
|
|
730
730
|
prop: "icon",
|
|
731
731
|
width: 60,
|
|
732
732
|
render: ({
|
|
733
|
-
row:
|
|
733
|
+
row: t
|
|
734
734
|
}) => l("span", {
|
|
735
|
-
class: "iconfont " +
|
|
735
|
+
class: "iconfont " + t.icon,
|
|
736
736
|
style: "font-size: 16px;"
|
|
737
737
|
}, null)
|
|
738
738
|
},
|
|
@@ -746,10 +746,10 @@ const Nl = /* @__PURE__ */ O({
|
|
|
746
746
|
prop: "parent",
|
|
747
747
|
width: 120,
|
|
748
748
|
render: ({
|
|
749
|
-
row:
|
|
749
|
+
row: t
|
|
750
750
|
}) => {
|
|
751
751
|
var d;
|
|
752
|
-
return l(G, null, [(d =
|
|
752
|
+
return l(G, null, [(d = t.menu) == null ? void 0 : d.translate]);
|
|
753
753
|
}
|
|
754
754
|
},
|
|
755
755
|
{
|
|
@@ -776,11 +776,11 @@ const Nl = /* @__PURE__ */ O({
|
|
|
776
776
|
width: 0,
|
|
777
777
|
align: "left",
|
|
778
778
|
render: ({
|
|
779
|
-
row:
|
|
779
|
+
row: t
|
|
780
780
|
}) => l(s("el-space"), null, {
|
|
781
781
|
default: () => {
|
|
782
782
|
var d;
|
|
783
|
-
return [(d =
|
|
783
|
+
return [(d = t.rules) == null ? void 0 : d.map((r) => l(s("el-popover"), {
|
|
784
784
|
visible: k.value === r.key,
|
|
785
785
|
title: a("message.warning"),
|
|
786
786
|
placement: "top-end",
|
|
@@ -799,7 +799,7 @@ const Nl = /* @__PURE__ */ O({
|
|
|
799
799
|
}),
|
|
800
800
|
default: () => {
|
|
801
801
|
let y, m;
|
|
802
|
-
return l("div", null, [l("p", null, null), l("p", null, [`${a("base.confirm base.space base.delete base.space menu.rules")}: ${
|
|
802
|
+
return l("div", null, [l("p", null, null), l("p", null, [`${a("base.confirm base.space base.delete base.space menu.rules")}: ${t.translate}-${r.translate} ?`]), l("div", {
|
|
803
803
|
style: "text-align: right; margin: 0"
|
|
804
804
|
}, [l(s("el-button"), {
|
|
805
805
|
size: "small",
|
|
@@ -837,11 +837,11 @@ const Nl = /* @__PURE__ */ O({
|
|
|
837
837
|
width: 60,
|
|
838
838
|
align: "center",
|
|
839
839
|
render: ({
|
|
840
|
-
row:
|
|
840
|
+
row: t
|
|
841
841
|
}) => l(le, {
|
|
842
842
|
size: "default",
|
|
843
843
|
onModify: () => f({
|
|
844
|
-
id:
|
|
844
|
+
id: t.id
|
|
845
845
|
})
|
|
846
846
|
}, null)
|
|
847
847
|
}
|
|
@@ -852,7 +852,7 @@ const Nl = /* @__PURE__ */ O({
|
|
|
852
852
|
formModalRef: c,
|
|
853
853
|
keyword: i,
|
|
854
854
|
search: p,
|
|
855
|
-
refresh:
|
|
855
|
+
refresh: n,
|
|
856
856
|
reset: v,
|
|
857
857
|
openFormModal: u,
|
|
858
858
|
editFormModal: f
|
|
@@ -860,14 +860,14 @@ const Nl = /* @__PURE__ */ O({
|
|
|
860
860
|
formModalRef: g,
|
|
861
861
|
openFormModal: _,
|
|
862
862
|
editFormModal: A
|
|
863
|
-
} = F(), w = (
|
|
863
|
+
} = F(), w = (t) => {
|
|
864
864
|
Le[We]({
|
|
865
|
-
key:
|
|
865
|
+
key: t
|
|
866
866
|
}).then(() => {
|
|
867
|
-
k.value = "",
|
|
867
|
+
k.value = "", n();
|
|
868
868
|
});
|
|
869
869
|
};
|
|
870
|
-
return (
|
|
870
|
+
return (t, d) => {
|
|
871
871
|
const r = s("el-button"), y = s("el-input"), m = s("el-radio-button"), S = s("el-radio-group"), M = s("el-space"), q = s("el-page-header"), R = s("el-card");
|
|
872
872
|
return L(), T(R, {
|
|
873
873
|
class: "basic-card flex-full",
|
|
@@ -928,11 +928,11 @@ const Nl = /* @__PURE__ */ O({
|
|
|
928
928
|
}, null, 8, ["url", "search-param"]), l(dl, {
|
|
929
929
|
ref_key: "formModalRef",
|
|
930
930
|
ref: c,
|
|
931
|
-
onRefresh: e(
|
|
931
|
+
onRefresh: e(n)
|
|
932
932
|
}, null, 8, ["onRefresh"]), l(ul, {
|
|
933
933
|
ref_key: "ruleFormModalRef",
|
|
934
934
|
ref: g,
|
|
935
|
-
onRefresh: e(
|
|
935
|
+
onRefresh: e(n)
|
|
936
936
|
}, null, 8, ["onRefresh"])]),
|
|
937
937
|
_: 1
|
|
938
938
|
});
|
|
@@ -952,59 +952,59 @@ const Nl = /* @__PURE__ */ O({
|
|
|
952
952
|
MenuAll: {},
|
|
953
953
|
MenuList: {},
|
|
954
954
|
MenuIndeterminate: {}
|
|
955
|
-
}), { options: p, refresh:
|
|
955
|
+
}), { options: p, refresh: n } = re(ne(V, "modelValue"), b, { key: "RULE_CHECK", api: Y, url: Y.urls.rules, isArray: !0 }, { autoRefresh: !1 });
|
|
956
956
|
function v() {
|
|
957
957
|
p.value.forEach((w) => {
|
|
958
|
-
var
|
|
959
|
-
(
|
|
958
|
+
var t;
|
|
959
|
+
(t = w.rules) != null && t.length && (i.MenuAll[w.id] = !1, i.MenuIndeterminate[w.id] = !1, i.MenuList[w.id] = []);
|
|
960
960
|
});
|
|
961
961
|
}
|
|
962
962
|
function u(w) {
|
|
963
|
-
p.value.forEach((
|
|
963
|
+
p.value.forEach((t) => {
|
|
964
964
|
var d;
|
|
965
|
-
(d =
|
|
965
|
+
(d = t.rules) != null && d.length && (i.MenuList[t.id] = w ? t.rules.map((r) => r.key) : []);
|
|
966
966
|
}), g();
|
|
967
967
|
}
|
|
968
|
-
function f(w,
|
|
969
|
-
const d = p.value.find((r) => r.id ===
|
|
970
|
-
i.MenuList[
|
|
968
|
+
function f(w, t) {
|
|
969
|
+
const d = p.value.find((r) => r.id === t);
|
|
970
|
+
i.MenuList[t] = w && d ? d.rules.map((r) => r.key) : [], g();
|
|
971
971
|
}
|
|
972
972
|
function g() {
|
|
973
973
|
p.value.forEach((w) => {
|
|
974
974
|
var r, y;
|
|
975
|
-
const
|
|
976
|
-
i.MenuAll[w.id] = d ===
|
|
975
|
+
const t = ((r = w.rules) == null ? void 0 : r.length) || 0, d = ((y = i.MenuList[w.id]) == null ? void 0 : y.length) || 0;
|
|
976
|
+
i.MenuAll[w.id] = d === t && t > 0, i.MenuIndeterminate[w.id] = d > 0 && d < t;
|
|
977
977
|
}), i.checkAll = Object.values(i.MenuAll).every(Boolean), i.indeterminate = !i.checkAll && Object.values(i.MenuList).some((w) => w.length > 0), b("update:modelValue", Object.values(i.MenuList).flat());
|
|
978
978
|
}
|
|
979
979
|
function _() {
|
|
980
980
|
i.checkAll = !1, i.indeterminate = !1, i.MenuAll = {}, i.MenuList = {}, i.MenuIndeterminate = {}, v(), b("update:modelValue", []), c.value = !1;
|
|
981
981
|
}
|
|
982
982
|
function A(w) {
|
|
983
|
-
var
|
|
983
|
+
var t;
|
|
984
984
|
if (Array.isArray(p.value) && p.value.length > 0) {
|
|
985
985
|
for (let d of p.value)
|
|
986
986
|
if (Array.isArray(d.rules) && d.rules.length > 0)
|
|
987
987
|
for (let r of d.rules)
|
|
988
|
-
w.some((y) => y === r.key) && (i.MenuList[d.id] = (((
|
|
988
|
+
w.some((y) => y === r.key) && (i.MenuList[d.id] = (((t = i.MenuList) == null ? void 0 : t[d.id]) || []).concat([r.key]));
|
|
989
989
|
g(), c.value = !0;
|
|
990
990
|
}
|
|
991
991
|
}
|
|
992
992
|
return Pe(async () => {
|
|
993
993
|
var w;
|
|
994
|
-
(w = p.value) != null && w.length || await
|
|
994
|
+
(w = p.value) != null && w.length || await n(), !c.value && V.modelValue && A(V.modelValue);
|
|
995
995
|
}), xe(
|
|
996
996
|
() => V.modelValue,
|
|
997
997
|
(w) => {
|
|
998
998
|
Be(() => {
|
|
999
|
-
var
|
|
1000
|
-
c.value || !((
|
|
999
|
+
var t;
|
|
1000
|
+
c.value || !((t = p.value) != null && t.length) || w && w.length > 0 && A(w);
|
|
1001
1001
|
});
|
|
1002
1002
|
},
|
|
1003
1003
|
{ deep: !0, immediate: !0 }
|
|
1004
1004
|
), U({
|
|
1005
1005
|
generateOption: A,
|
|
1006
1006
|
cleanChecked: _
|
|
1007
|
-
}), (w,
|
|
1007
|
+
}), (w, t) => {
|
|
1008
1008
|
const d = s("el-checkbox"), r = s("el-space"), y = s("el-text"), m = s("el-divider"), S = s("el-checkbox-group");
|
|
1009
1009
|
return L(), B("div", il, [
|
|
1010
1010
|
l(r, { style: { "margin-bottom": "6px" } }, {
|
|
@@ -1016,7 +1016,7 @@ const Nl = /* @__PURE__ */ O({
|
|
|
1016
1016
|
disabled: x.disabled,
|
|
1017
1017
|
onChange: u
|
|
1018
1018
|
}, {
|
|
1019
|
-
default: o(() => [...
|
|
1019
|
+
default: o(() => [...t[1] || (t[1] = [
|
|
1020
1020
|
N("span", null, "全选", -1)
|
|
1021
1021
|
])]),
|
|
1022
1022
|
_: 1
|
|
@@ -1025,7 +1025,7 @@ const Nl = /* @__PURE__ */ O({
|
|
|
1025
1025
|
loading: e(h),
|
|
1026
1026
|
text: "",
|
|
1027
1027
|
size: "small",
|
|
1028
|
-
onRefresh:
|
|
1028
|
+
onRefresh: t[0] || (t[0] = (M) => e(n)(!0))
|
|
1029
1029
|
}, null, 8, ["loading"])
|
|
1030
1030
|
]),
|
|
1031
1031
|
_: 1
|
|
@@ -1125,7 +1125,7 @@ const Nl = /* @__PURE__ */ O({
|
|
|
1125
1125
|
trigger: "blur"
|
|
1126
1126
|
}
|
|
1127
1127
|
]
|
|
1128
|
-
}, { modal: i, title: p, form:
|
|
1128
|
+
}, { modal: i, title: p, form: n, formData: v, requesting: u, executing: f, open: g, modify: _, submit: A, closed: w } = J(h, b, Ve), t = () => {
|
|
1129
1129
|
var d;
|
|
1130
1130
|
(d = V.value) == null || d.cleanChecked(), w();
|
|
1131
1131
|
};
|
|
@@ -1140,13 +1140,13 @@ const Nl = /* @__PURE__ */ O({
|
|
|
1140
1140
|
title: e(p)(),
|
|
1141
1141
|
width: "1000px",
|
|
1142
1142
|
executing: e(f),
|
|
1143
|
-
onClosed:
|
|
1143
|
+
onClosed: t,
|
|
1144
1144
|
onSubmit: e(A)
|
|
1145
1145
|
}, {
|
|
1146
1146
|
default: o(() => [
|
|
1147
1147
|
l(R, {
|
|
1148
1148
|
ref_key: "form",
|
|
1149
|
-
ref:
|
|
1149
|
+
ref: n,
|
|
1150
1150
|
model: e(v),
|
|
1151
1151
|
"label-width": "auto",
|
|
1152
1152
|
rules: c,
|
|
@@ -1286,7 +1286,7 @@ const Nl = /* @__PURE__ */ O({
|
|
|
1286
1286
|
width: 0
|
|
1287
1287
|
},
|
|
1288
1288
|
{
|
|
1289
|
-
label: a("
|
|
1289
|
+
label: a("time.created_at"),
|
|
1290
1290
|
prop: "created_at",
|
|
1291
1291
|
width: 180
|
|
1292
1292
|
},
|
|
@@ -1312,13 +1312,13 @@ const Nl = /* @__PURE__ */ O({
|
|
|
1312
1312
|
keyword: c,
|
|
1313
1313
|
search: i,
|
|
1314
1314
|
reset: p,
|
|
1315
|
-
refresh:
|
|
1315
|
+
refresh: n,
|
|
1316
1316
|
openFormModal: v,
|
|
1317
1317
|
editFormModal: u
|
|
1318
1318
|
} = F(U);
|
|
1319
1319
|
return (f, g) => {
|
|
1320
|
-
const _ = s("el-input"), A = s("el-space"), w = s("el-page-header"),
|
|
1321
|
-
return L(), T(
|
|
1320
|
+
const _ = s("el-input"), A = s("el-space"), w = s("el-page-header"), t = s("el-card");
|
|
1321
|
+
return L(), T(t, {
|
|
1322
1322
|
class: "basic-card flex-full",
|
|
1323
1323
|
"body-class": "flex-1"
|
|
1324
1324
|
}, {
|
|
@@ -1360,17 +1360,16 @@ const Nl = /* @__PURE__ */ O({
|
|
|
1360
1360
|
}, null, 8, ["url", "search-param"]), l(fl, {
|
|
1361
1361
|
ref_key: "formModalRef",
|
|
1362
1362
|
ref: b,
|
|
1363
|
-
onRefresh: e(
|
|
1363
|
+
onRefresh: e(n)
|
|
1364
1364
|
}, null, 8, ["onRefresh"])]),
|
|
1365
1365
|
_: 1
|
|
1366
1366
|
});
|
|
1367
1367
|
};
|
|
1368
1368
|
}
|
|
1369
1369
|
}), H = W.routineApi("I18N", "uuid", {
|
|
1370
|
-
gen: "gen",
|
|
1371
1370
|
modules: "modules",
|
|
1372
1371
|
languages: "languages"
|
|
1373
|
-
}, {}, ["I18N_MODULES"]),
|
|
1372
|
+
}, { gen: "gen" }, ["I18N_MODULES"]), te = W.routineApi("I18N_template", "uuid", {
|
|
1374
1373
|
apps: "apps"
|
|
1375
1374
|
}), qe = /* @__PURE__ */ O({
|
|
1376
1375
|
__name: "ModuleSelect",
|
|
@@ -1400,8 +1399,8 @@ const Nl = /* @__PURE__ */ O({
|
|
|
1400
1399
|
options: c,
|
|
1401
1400
|
change: i,
|
|
1402
1401
|
refresh: p,
|
|
1403
|
-
filterOptions:
|
|
1404
|
-
} = re(
|
|
1402
|
+
filterOptions: n
|
|
1403
|
+
} = re(ne(h, "modelValue"), k, {
|
|
1405
1404
|
key: "I18N_MODULES",
|
|
1406
1405
|
url: H.urls.modules,
|
|
1407
1406
|
api: H,
|
|
@@ -1421,7 +1420,7 @@ const Nl = /* @__PURE__ */ O({
|
|
|
1421
1420
|
"allow-create": "",
|
|
1422
1421
|
"default-first-option": "",
|
|
1423
1422
|
placeholder: e(a)("placeholder.select"),
|
|
1424
|
-
filterOptions: e(
|
|
1423
|
+
filterOptions: e(n),
|
|
1425
1424
|
onChange: e(i)
|
|
1426
1425
|
}, {
|
|
1427
1426
|
prefix: o(() => [l(e(pe), {
|
|
@@ -1493,20 +1492,20 @@ const Nl = /* @__PURE__ */ O({
|
|
|
1493
1492
|
});
|
|
1494
1493
|
}
|
|
1495
1494
|
p();
|
|
1496
|
-
const { modal:
|
|
1495
|
+
const { modal: n, title: v, form: u, formData: f, requesting: g, executing: _, open: A, modify: w, submit: t, closed: d } = J(h, V, H);
|
|
1497
1496
|
return U({
|
|
1498
1497
|
open: A,
|
|
1499
1498
|
modify: w
|
|
1500
1499
|
}), (r, y) => {
|
|
1501
1500
|
const m = s("el-form-item"), S = s("el-input"), M = s("el-space"), q = s("el-form");
|
|
1502
1501
|
return L(), T(e(ee), {
|
|
1503
|
-
modelValue: e(
|
|
1504
|
-
"onUpdate:modelValue": y[3] || (y[3] = (R) => P(
|
|
1502
|
+
modelValue: e(n),
|
|
1503
|
+
"onUpdate:modelValue": y[3] || (y[3] = (R) => P(n) ? n.value = R : null),
|
|
1505
1504
|
title: e(v)(),
|
|
1506
1505
|
width: "600px",
|
|
1507
1506
|
executing: e(_),
|
|
1508
1507
|
onClosed: e(d),
|
|
1509
|
-
onSubmit: e(
|
|
1508
|
+
onSubmit: e(t)
|
|
1510
1509
|
}, {
|
|
1511
1510
|
default: o(() => [
|
|
1512
1511
|
l(q, {
|
|
@@ -1660,14 +1659,14 @@ const Te = /* @__PURE__ */ O({
|
|
|
1660
1659
|
text: !0,
|
|
1661
1660
|
type: "danger",
|
|
1662
1661
|
loading: p.value,
|
|
1663
|
-
onClick: () =>
|
|
1662
|
+
onClick: () => t(y.uuid)
|
|
1664
1663
|
}, null)]
|
|
1665
1664
|
})
|
|
1666
1665
|
}], {
|
|
1667
1666
|
requesting: i,
|
|
1668
1667
|
executing: p
|
|
1669
1668
|
} = E(H), {
|
|
1670
|
-
tableRef:
|
|
1669
|
+
tableRef: n,
|
|
1671
1670
|
formModalRef: v,
|
|
1672
1671
|
keyword: u,
|
|
1673
1672
|
search: f,
|
|
@@ -1676,7 +1675,7 @@ const Te = /* @__PURE__ */ O({
|
|
|
1676
1675
|
openFormModal: A,
|
|
1677
1676
|
editFormModal: w
|
|
1678
1677
|
} = F(b);
|
|
1679
|
-
function
|
|
1678
|
+
function t(y) {
|
|
1680
1679
|
return H.remove({
|
|
1681
1680
|
uuid: y
|
|
1682
1681
|
}).finally(() => {
|
|
@@ -1749,7 +1748,7 @@ const Te = /* @__PURE__ */ O({
|
|
|
1749
1748
|
})]),
|
|
1750
1749
|
default: o(() => [l(e(me), {
|
|
1751
1750
|
ref_key: "tableRef",
|
|
1752
|
-
ref:
|
|
1751
|
+
ref: n,
|
|
1753
1752
|
columns: c,
|
|
1754
1753
|
url: e(H).urls[e(he)],
|
|
1755
1754
|
"search-param": e(u),
|
|
@@ -1771,10 +1770,10 @@ const Te = /* @__PURE__ */ O({
|
|
|
1771
1770
|
const { formModalRef: h, openFormModal: V } = F(), b = k, c = I("600px"), i = I({
|
|
1772
1771
|
"zh-CN": "primary",
|
|
1773
1772
|
"en-US": "success"
|
|
1774
|
-
}), p = I({}),
|
|
1773
|
+
}), p = I({}), n = {
|
|
1775
1774
|
uuid: "",
|
|
1776
1775
|
app: 1,
|
|
1777
|
-
keys:
|
|
1776
|
+
keys: "",
|
|
1778
1777
|
values: [],
|
|
1779
1778
|
remark: ""
|
|
1780
1779
|
}, v = {
|
|
@@ -1799,7 +1798,7 @@ const Te = /* @__PURE__ */ O({
|
|
|
1799
1798
|
trigger: "change"
|
|
1800
1799
|
}
|
|
1801
1800
|
]
|
|
1802
|
-
}, { modal: u, title: f, form: g, formData: _, requesting: A, executing: w, open:
|
|
1801
|
+
}, { modal: u, title: f, form: g, formData: _, requesting: A, executing: w, open: t, modify: d, submit: r, closed: y } = J(b, n, te);
|
|
1803
1802
|
function m() {
|
|
1804
1803
|
c.value = "1080px", V();
|
|
1805
1804
|
}
|
|
@@ -1808,7 +1807,7 @@ const Te = /* @__PURE__ */ O({
|
|
|
1808
1807
|
}
|
|
1809
1808
|
function M(R) {
|
|
1810
1809
|
let C = R.module.toLowerCase() + "." + R.key.toLowerCase();
|
|
1811
|
-
_.keys
|
|
1810
|
+
_.keys = C, _.values.push(C);
|
|
1812
1811
|
for (const D in R.language)
|
|
1813
1812
|
p.value[D] || (p.value[D] = []), p.value[D].push(R.language[D]);
|
|
1814
1813
|
}
|
|
@@ -1821,7 +1820,7 @@ const Te = /* @__PURE__ */ O({
|
|
|
1821
1820
|
return xe(() => u.value, (R) => {
|
|
1822
1821
|
R ? q() : y();
|
|
1823
1822
|
}), U({
|
|
1824
|
-
open:
|
|
1823
|
+
open: t,
|
|
1825
1824
|
modify: d
|
|
1826
1825
|
}), (R, C) => {
|
|
1827
1826
|
const D = s("el-page-header"), fe = s("el-form-item"), Fe = s("el-button"), Ue = s("el-input"), Ee = s("el-tag"), ze = s("el-space"), Ie = s("el-form");
|
|
@@ -1872,7 +1871,7 @@ const Te = /* @__PURE__ */ O({
|
|
|
1872
1871
|
"onUpdate:modelValue": C[0] || (C[0] = (X) => e(_).app = X),
|
|
1873
1872
|
"cache-key": "I18NAPPS",
|
|
1874
1873
|
hidden: [0],
|
|
1875
|
-
url: e(
|
|
1874
|
+
url: e(te).urls.apps
|
|
1876
1875
|
}, null, 8, ["modelValue", "url"])
|
|
1877
1876
|
]),
|
|
1878
1877
|
_: 1
|
|
@@ -1890,7 +1889,7 @@ const Te = /* @__PURE__ */ O({
|
|
|
1890
1889
|
}, {
|
|
1891
1890
|
append: o(() => [
|
|
1892
1891
|
l(Fe, {
|
|
1893
|
-
icon: e(
|
|
1892
|
+
icon: e(nl),
|
|
1894
1893
|
onClick: m
|
|
1895
1894
|
}, null, 8, ["icon"])
|
|
1896
1895
|
]),
|
|
@@ -2007,7 +2006,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2007
2006
|
props: {
|
|
2008
2007
|
activeValue: 1,
|
|
2009
2008
|
inactiveValue: 2,
|
|
2010
|
-
api:
|
|
2009
|
+
api: te.urls[Re],
|
|
2011
2010
|
refresh: !0
|
|
2012
2011
|
}
|
|
2013
2012
|
}, {
|
|
@@ -2015,11 +2014,11 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2015
2014
|
prop: "remark",
|
|
2016
2015
|
width: 0
|
|
2017
2016
|
}, {
|
|
2018
|
-
label: a("
|
|
2017
|
+
label: a("time.created_at"),
|
|
2019
2018
|
prop: "created_at",
|
|
2020
2019
|
width: 160
|
|
2021
2020
|
}, {
|
|
2022
|
-
label: a("
|
|
2021
|
+
label: a("time.updated_at"),
|
|
2023
2022
|
prop: "updated_at",
|
|
2024
2023
|
width: 160
|
|
2025
2024
|
}, {
|
|
@@ -2047,13 +2046,13 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2047
2046
|
}], {
|
|
2048
2047
|
requesting: h,
|
|
2049
2048
|
executing: V
|
|
2050
|
-
} = E(
|
|
2049
|
+
} = E(te), {
|
|
2051
2050
|
formModalRef: b,
|
|
2052
2051
|
openFormModal: c
|
|
2053
2052
|
} = F(), {
|
|
2054
2053
|
tableRef: i,
|
|
2055
2054
|
formModalRef: p,
|
|
2056
|
-
keyword:
|
|
2055
|
+
keyword: n,
|
|
2057
2056
|
search: v,
|
|
2058
2057
|
reset: u,
|
|
2059
2058
|
refresh: f,
|
|
@@ -2061,7 +2060,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2061
2060
|
editFormModal: _
|
|
2062
2061
|
} = F(U);
|
|
2063
2062
|
function A(d) {
|
|
2064
|
-
return
|
|
2063
|
+
return te.remove({
|
|
2065
2064
|
uuid: d
|
|
2066
2065
|
}).finally(() => {
|
|
2067
2066
|
f();
|
|
@@ -2072,7 +2071,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2072
2071
|
f();
|
|
2073
2072
|
});
|
|
2074
2073
|
}
|
|
2075
|
-
function
|
|
2074
|
+
function t() {
|
|
2076
2075
|
hl.gen().finally(() => {
|
|
2077
2076
|
f();
|
|
2078
2077
|
});
|
|
@@ -2105,7 +2104,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2105
2104
|
icon: "icon-translate",
|
|
2106
2105
|
plain: !1,
|
|
2107
2106
|
loading: e(V),
|
|
2108
|
-
onClick:
|
|
2107
|
+
onClick: t
|
|
2109
2108
|
}, null, 8, ["loading"]), l(y, {
|
|
2110
2109
|
direction: "vertical"
|
|
2111
2110
|
}), l(e(j), {
|
|
@@ -2117,21 +2116,21 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2117
2116
|
}, {
|
|
2118
2117
|
default: o(() => [l(m, {
|
|
2119
2118
|
class: "basic-search-input",
|
|
2120
|
-
modelValue: e(
|
|
2121
|
-
"onUpdate:modelValue": r[0] || (r[0] = (D) => e(
|
|
2119
|
+
modelValue: e(n).keyword,
|
|
2120
|
+
"onUpdate:modelValue": r[0] || (r[0] = (D) => e(n).keyword = D),
|
|
2122
2121
|
placeholder: e(a)("placeholder.keyword"),
|
|
2123
2122
|
clearable: "",
|
|
2124
2123
|
onKeyup: r[1] || (r[1] = ge((D) => e(v)(), ["enter"])),
|
|
2125
2124
|
onClear: r[2] || (r[2] = (D) => e(v)())
|
|
2126
2125
|
}, null, 8, ["modelValue", "placeholder"]), l(e(De), {
|
|
2127
|
-
modelValue: e(
|
|
2128
|
-
"onUpdate:modelValue": r[3] || (r[3] = (D) => e(
|
|
2126
|
+
modelValue: e(n).app,
|
|
2127
|
+
"onUpdate:modelValue": r[3] || (r[3] = (D) => e(n).app = D),
|
|
2129
2128
|
"cache-key": "I18NAPPS",
|
|
2130
|
-
url: e(
|
|
2129
|
+
url: e(te).urls.apps,
|
|
2131
2130
|
onChange: r[4] || (r[4] = (D) => e(v)())
|
|
2132
2131
|
}, null, 8, ["modelValue", "url"]), l(M, {
|
|
2133
|
-
modelValue: e(
|
|
2134
|
-
"onUpdate:modelValue": r[5] || (r[5] = (D) => e(
|
|
2132
|
+
modelValue: e(n).status,
|
|
2133
|
+
"onUpdate:modelValue": r[5] || (r[5] = (D) => e(n).status = D),
|
|
2135
2134
|
onChange: r[6] || (r[6] = (D) => e(v)())
|
|
2136
2135
|
}, {
|
|
2137
2136
|
default: o(() => [(L(), B(G, null, ae([0, 1, 2], (D) => l(S, {
|
|
@@ -2152,8 +2151,8 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2152
2151
|
ref_key: "tableRef",
|
|
2153
2152
|
ref: i,
|
|
2154
2153
|
columns: k,
|
|
2155
|
-
url: e(
|
|
2156
|
-
"search-param": e(
|
|
2154
|
+
url: e(te).urls[e(he)],
|
|
2155
|
+
"search-param": e(n),
|
|
2157
2156
|
"auto-search": ""
|
|
2158
2157
|
}, null, 8, ["url", "search-param"]), l(Te, {
|
|
2159
2158
|
ref_key: "I18nTableDrawerRef",
|
|
@@ -2181,7 +2180,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2181
2180
|
language: "zh-CN",
|
|
2182
2181
|
remark: "",
|
|
2183
2182
|
roles: []
|
|
2184
|
-
}, { modal: b, title: c, form: i, formData: p, requesting:
|
|
2183
|
+
}, { modal: b, title: c, form: i, formData: p, requesting: n, executing: v, open: u, modify: f, submit: g, closed: _ } = J(h, V, ke), A = {
|
|
2185
2184
|
username: [
|
|
2186
2185
|
{
|
|
2187
2186
|
required: !0,
|
|
@@ -2226,12 +2225,12 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2226
2225
|
trigger: "change"
|
|
2227
2226
|
}
|
|
2228
2227
|
]
|
|
2229
|
-
}, w = I([]),
|
|
2228
|
+
}, w = I([]), t = async () => {
|
|
2230
2229
|
const d = await Ve.list();
|
|
2231
2230
|
w.value = Array.isArray(d == null ? void 0 : d.data) ? d.data : [];
|
|
2232
2231
|
};
|
|
2233
2232
|
return Ke(async () => {
|
|
2234
|
-
await
|
|
2233
|
+
await t();
|
|
2235
2234
|
}), U({
|
|
2236
2235
|
open: u,
|
|
2237
2236
|
modify: f
|
|
@@ -2253,7 +2252,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2253
2252
|
model: e(p),
|
|
2254
2253
|
"label-width": "auto",
|
|
2255
2254
|
rules: A,
|
|
2256
|
-
disabled: e(
|
|
2255
|
+
disabled: e(n) || e(v)
|
|
2257
2256
|
}, {
|
|
2258
2257
|
default: o(() => [
|
|
2259
2258
|
l(m, {
|
|
@@ -2426,11 +2425,11 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2426
2425
|
prop: "login_at",
|
|
2427
2426
|
width: 160
|
|
2428
2427
|
}, {
|
|
2429
|
-
label: a("
|
|
2428
|
+
label: a("time.created_at"),
|
|
2430
2429
|
prop: "created_at",
|
|
2431
2430
|
width: 160
|
|
2432
2431
|
}, {
|
|
2433
|
-
label: a("
|
|
2432
|
+
label: a("time.updated_at"),
|
|
2434
2433
|
prop: "updated_at",
|
|
2435
2434
|
width: 160
|
|
2436
2435
|
}, {
|
|
@@ -2453,13 +2452,13 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2453
2452
|
keyword: c,
|
|
2454
2453
|
search: i,
|
|
2455
2454
|
reset: p,
|
|
2456
|
-
refresh:
|
|
2455
|
+
refresh: n,
|
|
2457
2456
|
openFormModal: v,
|
|
2458
2457
|
editFormModal: u
|
|
2459
2458
|
} = F(U);
|
|
2460
2459
|
return (f, g) => {
|
|
2461
|
-
const _ = s("el-input"), A = s("el-space"), w = s("el-page-header"),
|
|
2462
|
-
return L(), T(
|
|
2460
|
+
const _ = s("el-input"), A = s("el-space"), w = s("el-page-header"), t = s("el-card");
|
|
2461
|
+
return L(), T(t, {
|
|
2463
2462
|
class: "basic-card flex-full",
|
|
2464
2463
|
"body-class": "flex-1"
|
|
2465
2464
|
}, {
|
|
@@ -2502,7 +2501,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2502
2501
|
}, null, 8, ["url", "search-param"]), l(yl, {
|
|
2503
2502
|
ref_key: "formModalRef",
|
|
2504
2503
|
ref: b,
|
|
2505
|
-
onRefresh: e(
|
|
2504
|
+
onRefresh: e(n)
|
|
2506
2505
|
}, null, 8, ["onRefresh"])]),
|
|
2507
2506
|
_: 1
|
|
2508
2507
|
});
|
|
@@ -2533,8 +2532,8 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2533
2532
|
key: c,
|
|
2534
2533
|
options: i,
|
|
2535
2534
|
refresh: p,
|
|
2536
|
-
change:
|
|
2537
|
-
} = re(
|
|
2535
|
+
change: n
|
|
2536
|
+
} = re(ne(V, "modelValue"), h, {
|
|
2538
2537
|
key: "DOMAIN_LIST",
|
|
2539
2538
|
api: _e,
|
|
2540
2539
|
isArray: !0
|
|
@@ -2549,7 +2548,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2549
2548
|
options: e(i),
|
|
2550
2549
|
disabled: x.disabled || e(b),
|
|
2551
2550
|
placeholder: e(a)("base.select config.domain"),
|
|
2552
|
-
onChange: e(
|
|
2551
|
+
onChange: e(n)
|
|
2553
2552
|
}, {
|
|
2554
2553
|
prefix: o(() => [l(e(pe), {
|
|
2555
2554
|
loading: e(b),
|
|
@@ -2578,15 +2577,15 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2578
2577
|
prefix: [{ required: !0, message: a("placeholder.input base.prefix"), trigger: "blur" }],
|
|
2579
2578
|
name: [{ required: !0, message: a("placeholder.input base.name"), trigger: "blur" }],
|
|
2580
2579
|
en_name: [{ required: !0, message: a("placeholder.input base.en_name"), trigger: "blur" }]
|
|
2581
|
-
}, { modal: c, title: i, form: p, formData:
|
|
2580
|
+
}, { modal: c, title: i, form: p, formData: n, requesting: v, executing: u, open: f, modify: g, submit: _, closed: A } = J(h, V, se);
|
|
2582
2581
|
return U({
|
|
2583
2582
|
open: f,
|
|
2584
2583
|
modify: g
|
|
2585
|
-
}), (w,
|
|
2584
|
+
}), (w, t) => {
|
|
2586
2585
|
const d = s("el-form-item"), r = s("el-input"), y = s("el-form");
|
|
2587
2586
|
return L(), T(e(ee), {
|
|
2588
2587
|
modelValue: e(c),
|
|
2589
|
-
"onUpdate:modelValue":
|
|
2588
|
+
"onUpdate:modelValue": t[7] || (t[7] = (m) => P(c) ? c.value = m : null),
|
|
2590
2589
|
title: e(i)("config.site"),
|
|
2591
2590
|
width: "600px",
|
|
2592
2591
|
executing: e(u),
|
|
@@ -2597,7 +2596,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2597
2596
|
l(y, {
|
|
2598
2597
|
ref_key: "form",
|
|
2599
2598
|
ref: p,
|
|
2600
|
-
model: e(
|
|
2599
|
+
model: e(n),
|
|
2601
2600
|
"label-width": "auto",
|
|
2602
2601
|
rules: b,
|
|
2603
2602
|
disabled: e(v) || e(u)
|
|
@@ -2609,8 +2608,8 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2609
2608
|
}, {
|
|
2610
2609
|
default: o(() => [
|
|
2611
2610
|
l(Oe, {
|
|
2612
|
-
modelValue: e(
|
|
2613
|
-
"onUpdate:modelValue":
|
|
2611
|
+
modelValue: e(n).domain_id,
|
|
2612
|
+
"onUpdate:modelValue": t[0] || (t[0] = (m) => e(n).domain_id = m),
|
|
2614
2613
|
disabled: e(u)
|
|
2615
2614
|
}, null, 8, ["modelValue", "disabled"])
|
|
2616
2615
|
]),
|
|
@@ -2622,8 +2621,8 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2622
2621
|
}, {
|
|
2623
2622
|
default: o(() => [
|
|
2624
2623
|
l(r, {
|
|
2625
|
-
modelValue: e(
|
|
2626
|
-
"onUpdate:modelValue":
|
|
2624
|
+
modelValue: e(n).prefix,
|
|
2625
|
+
"onUpdate:modelValue": t[1] || (t[1] = (m) => e(n).prefix = m),
|
|
2627
2626
|
disabled: e(u),
|
|
2628
2627
|
placeholder: e(a)("placeholder.input")
|
|
2629
2628
|
}, null, 8, ["modelValue", "disabled", "placeholder"])
|
|
@@ -2636,8 +2635,8 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2636
2635
|
}, {
|
|
2637
2636
|
default: o(() => [
|
|
2638
2637
|
l(r, {
|
|
2639
|
-
modelValue: e(
|
|
2640
|
-
"onUpdate:modelValue":
|
|
2638
|
+
modelValue: e(n).name,
|
|
2639
|
+
"onUpdate:modelValue": t[2] || (t[2] = (m) => e(n).name = m),
|
|
2641
2640
|
disabled: e(u),
|
|
2642
2641
|
placeholder: e(a)("placeholder.input")
|
|
2643
2642
|
}, null, 8, ["modelValue", "disabled", "placeholder"])
|
|
@@ -2650,8 +2649,8 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2650
2649
|
}, {
|
|
2651
2650
|
default: o(() => [
|
|
2652
2651
|
l(r, {
|
|
2653
|
-
modelValue: e(
|
|
2654
|
-
"onUpdate:modelValue":
|
|
2652
|
+
modelValue: e(n).en_name,
|
|
2653
|
+
"onUpdate:modelValue": t[3] || (t[3] = (m) => e(n).en_name = m),
|
|
2655
2654
|
disabled: e(u),
|
|
2656
2655
|
placeholder: e(a)("placeholder.input")
|
|
2657
2656
|
}, null, 8, ["modelValue", "disabled", "placeholder"])
|
|
@@ -2664,8 +2663,8 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2664
2663
|
}, {
|
|
2665
2664
|
default: o(() => [
|
|
2666
2665
|
l(r, {
|
|
2667
|
-
modelValue: e(
|
|
2668
|
-
"onUpdate:modelValue":
|
|
2666
|
+
modelValue: e(n).dns,
|
|
2667
|
+
"onUpdate:modelValue": t[4] || (t[4] = (m) => e(n).dns = m),
|
|
2669
2668
|
disabled: e(u),
|
|
2670
2669
|
placeholder: e(a)("placeholder.input")
|
|
2671
2670
|
}, null, 8, ["modelValue", "disabled", "placeholder"])
|
|
@@ -2678,8 +2677,8 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2678
2677
|
}, {
|
|
2679
2678
|
default: o(() => [
|
|
2680
2679
|
l(r, {
|
|
2681
|
-
modelValue: e(
|
|
2682
|
-
"onUpdate:modelValue":
|
|
2680
|
+
modelValue: e(n).git,
|
|
2681
|
+
"onUpdate:modelValue": t[5] || (t[5] = (m) => e(n).git = m),
|
|
2683
2682
|
disabled: e(u),
|
|
2684
2683
|
placeholder: e(a)("placeholder.input")
|
|
2685
2684
|
}, null, 8, ["modelValue", "disabled", "placeholder"])
|
|
@@ -2692,8 +2691,8 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2692
2691
|
}, {
|
|
2693
2692
|
default: o(() => [
|
|
2694
2693
|
l(r, {
|
|
2695
|
-
modelValue: e(
|
|
2696
|
-
"onUpdate:modelValue":
|
|
2694
|
+
modelValue: e(n).remark,
|
|
2695
|
+
"onUpdate:modelValue": t[6] || (t[6] = (m) => e(n).remark = m),
|
|
2697
2696
|
disabled: e(u),
|
|
2698
2697
|
placeholder: e(a)("placeholder.input")
|
|
2699
2698
|
}, null, 8, ["modelValue", "disabled", "placeholder"])
|
|
@@ -2731,8 +2730,8 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2731
2730
|
key: c,
|
|
2732
2731
|
options: i,
|
|
2733
2732
|
refresh: p,
|
|
2734
|
-
change:
|
|
2735
|
-
} = re(
|
|
2733
|
+
change: n
|
|
2734
|
+
} = re(ne(V, "modelValue"), h, {
|
|
2736
2735
|
key: "DOMAIN_PROVIDER_LIST",
|
|
2737
2736
|
api: be,
|
|
2738
2737
|
isArray: !0
|
|
@@ -2747,7 +2746,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2747
2746
|
options: e(i),
|
|
2748
2747
|
disabled: x.disabled || e(b),
|
|
2749
2748
|
placeholder: e(a)("base.select config.domain config.provider"),
|
|
2750
|
-
onChange: e(
|
|
2749
|
+
onChange: e(n)
|
|
2751
2750
|
}, {
|
|
2752
2751
|
prefix: o(() => [l(e(pe), {
|
|
2753
2752
|
loading: e(b),
|
|
@@ -2771,15 +2770,15 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2771
2770
|
}, b = {
|
|
2772
2771
|
provider_id: [{ required: !0, message: a("placeholder.input config.domain config.provider"), trigger: "blur" }],
|
|
2773
2772
|
name: [{ required: !0, message: a("placeholder.input base.name"), trigger: "blur" }]
|
|
2774
|
-
}, { modal: c, title: i, form: p, formData:
|
|
2773
|
+
}, { modal: c, title: i, form: p, formData: n, requesting: v, executing: u, open: f, modify: g, submit: _, closed: A } = J(h, V, _e);
|
|
2775
2774
|
return U({
|
|
2776
2775
|
open: f,
|
|
2777
2776
|
modify: g
|
|
2778
|
-
}), (w,
|
|
2777
|
+
}), (w, t) => {
|
|
2779
2778
|
const d = s("el-form-item"), r = s("el-input"), y = s("el-date-picker"), m = s("el-form");
|
|
2780
2779
|
return L(), T(e(ee), {
|
|
2781
2780
|
modelValue: e(c),
|
|
2782
|
-
"onUpdate:modelValue":
|
|
2781
|
+
"onUpdate:modelValue": t[4] || (t[4] = (S) => P(c) ? c.value = S : null),
|
|
2783
2782
|
title: e(i)("config.domain"),
|
|
2784
2783
|
width: "600px",
|
|
2785
2784
|
executing: e(u),
|
|
@@ -2790,7 +2789,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2790
2789
|
l(m, {
|
|
2791
2790
|
ref_key: "form",
|
|
2792
2791
|
ref: p,
|
|
2793
|
-
model: e(
|
|
2792
|
+
model: e(n),
|
|
2794
2793
|
"label-width": "auto",
|
|
2795
2794
|
rules: b,
|
|
2796
2795
|
disabled: e(v) || e(u)
|
|
@@ -2802,8 +2801,8 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2802
2801
|
}, {
|
|
2803
2802
|
default: o(() => [
|
|
2804
2803
|
l(wl, {
|
|
2805
|
-
modelValue: e(
|
|
2806
|
-
"onUpdate:modelValue":
|
|
2804
|
+
modelValue: e(n).provider_id,
|
|
2805
|
+
"onUpdate:modelValue": t[0] || (t[0] = (S) => e(n).provider_id = S),
|
|
2807
2806
|
disabled: e(u)
|
|
2808
2807
|
}, null, 8, ["modelValue", "disabled"])
|
|
2809
2808
|
]),
|
|
@@ -2815,8 +2814,8 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2815
2814
|
}, {
|
|
2816
2815
|
default: o(() => [
|
|
2817
2816
|
l(r, {
|
|
2818
|
-
modelValue: e(
|
|
2819
|
-
"onUpdate:modelValue":
|
|
2817
|
+
modelValue: e(n).name,
|
|
2818
|
+
"onUpdate:modelValue": t[1] || (t[1] = (S) => e(n).name = S),
|
|
2820
2819
|
disabled: e(u),
|
|
2821
2820
|
placeholder: e(a)("placeholder.input")
|
|
2822
2821
|
}, null, 8, ["modelValue", "disabled", "placeholder"])
|
|
@@ -2826,14 +2825,14 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2826
2825
|
l(d, {
|
|
2827
2826
|
prop: "expired_at",
|
|
2828
2827
|
required: "",
|
|
2829
|
-
label: e(a)("
|
|
2828
|
+
label: e(a)("time.expired_at")
|
|
2830
2829
|
}, {
|
|
2831
2830
|
default: o(() => [
|
|
2832
2831
|
l(y, {
|
|
2833
2832
|
type: "date",
|
|
2834
2833
|
style: { width: "100%" },
|
|
2835
|
-
modelValue: e(
|
|
2836
|
-
"onUpdate:modelValue":
|
|
2834
|
+
modelValue: e(n).expired_at,
|
|
2835
|
+
"onUpdate:modelValue": t[2] || (t[2] = (S) => e(n).expired_at = S),
|
|
2837
2836
|
disabled: e(u),
|
|
2838
2837
|
"value-format": e($).DATE_VALUE_FORMAT,
|
|
2839
2838
|
format: e($).DATE_FORMAT,
|
|
@@ -2848,8 +2847,8 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2848
2847
|
}, {
|
|
2849
2848
|
default: o(() => [
|
|
2850
2849
|
l(r, {
|
|
2851
|
-
modelValue: e(
|
|
2852
|
-
"onUpdate:modelValue":
|
|
2850
|
+
modelValue: e(n).remark,
|
|
2851
|
+
"onUpdate:modelValue": t[3] || (t[3] = (S) => e(n).remark = S),
|
|
2853
2852
|
disabled: e(u),
|
|
2854
2853
|
placeholder: e(a)("placeholder.input")
|
|
2855
2854
|
}, null, 8, ["modelValue", "disabled", "placeholder"])
|
|
@@ -2889,8 +2888,8 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2889
2888
|
key: c,
|
|
2890
2889
|
options: i,
|
|
2891
2890
|
refresh: p,
|
|
2892
|
-
change:
|
|
2893
|
-
} = re(
|
|
2891
|
+
change: n
|
|
2892
|
+
} = re(ne(V, "modelValue"), h, {
|
|
2894
2893
|
key: "SITE_LIST",
|
|
2895
2894
|
api: se,
|
|
2896
2895
|
isArray: !0
|
|
@@ -2914,7 +2913,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2914
2913
|
options: e(i),
|
|
2915
2914
|
disabled: x.disabled || e(b),
|
|
2916
2915
|
placeholder: e(a)("base.select config.domain"),
|
|
2917
|
-
onChange: e(
|
|
2916
|
+
onChange: e(n)
|
|
2918
2917
|
}, {
|
|
2919
2918
|
prefix: o(() => [l(e(pe), {
|
|
2920
2919
|
loading: e(b),
|
|
@@ -2945,16 +2944,16 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2945
2944
|
path: [{ required: !0, message: a("placeholder.input base.path"), trigger: "blur" }],
|
|
2946
2945
|
email: [{ required: !0, message: a("placeholder.input base.email"), trigger: "blur" }],
|
|
2947
2946
|
encryption: [{ required: !0, message: a("placeholder.input config.encryption"), trigger: "blur" }]
|
|
2948
|
-
}, { modal: c, title: i, form: p, formData:
|
|
2947
|
+
}, { modal: c, title: i, form: p, formData: n, requesting: v, executing: u, open: f, modify: g, submit: _, closed: A } = J(h, V, ue);
|
|
2949
2948
|
return U({
|
|
2950
2949
|
open: f,
|
|
2951
2950
|
modify: g,
|
|
2952
|
-
formData:
|
|
2953
|
-
}), (w,
|
|
2951
|
+
formData: n
|
|
2952
|
+
}), (w, t) => {
|
|
2954
2953
|
const d = s("el-form-item"), r = s("el-radio-button"), y = s("el-radio-group"), m = s("el-input"), S = s("el-form");
|
|
2955
2954
|
return L(), T(e(ee), {
|
|
2956
2955
|
modelValue: e(c),
|
|
2957
|
-
"onUpdate:modelValue":
|
|
2956
|
+
"onUpdate:modelValue": t[8] || (t[8] = (M) => P(c) ? c.value = M : null),
|
|
2958
2957
|
title: e(i)("ssl.ssl"),
|
|
2959
2958
|
width: "600px",
|
|
2960
2959
|
executing: e(u),
|
|
@@ -2965,7 +2964,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2965
2964
|
l(S, {
|
|
2966
2965
|
ref_key: "form",
|
|
2967
2966
|
ref: p,
|
|
2968
|
-
model: e(
|
|
2967
|
+
model: e(n),
|
|
2969
2968
|
"label-width": "auto",
|
|
2970
2969
|
rules: b,
|
|
2971
2970
|
disabled: e(v) || e(u)
|
|
@@ -2977,8 +2976,8 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2977
2976
|
}, {
|
|
2978
2977
|
default: o(() => [
|
|
2979
2978
|
l(Oe, {
|
|
2980
|
-
modelValue: e(
|
|
2981
|
-
"onUpdate:modelValue":
|
|
2979
|
+
modelValue: e(n).domain_id,
|
|
2980
|
+
"onUpdate:modelValue": t[0] || (t[0] = (M) => e(n).domain_id = M),
|
|
2982
2981
|
disabled: e(u)
|
|
2983
2982
|
}, null, 8, ["modelValue", "disabled"])
|
|
2984
2983
|
]),
|
|
@@ -2990,8 +2989,8 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2990
2989
|
}, {
|
|
2991
2990
|
default: o(() => [
|
|
2992
2991
|
l(y, {
|
|
2993
|
-
modelValue: e(
|
|
2994
|
-
"onUpdate:modelValue":
|
|
2992
|
+
modelValue: e(n).client,
|
|
2993
|
+
"onUpdate:modelValue": t[1] || (t[1] = (M) => e(n).client = M)
|
|
2995
2994
|
}, {
|
|
2996
2995
|
default: o(() => [
|
|
2997
2996
|
l(r, {
|
|
@@ -3010,8 +3009,8 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3010
3009
|
}, {
|
|
3011
3010
|
default: o(() => [
|
|
3012
3011
|
l(Ul, {
|
|
3013
|
-
modelValue: e(
|
|
3014
|
-
"onUpdate:modelValue":
|
|
3012
|
+
modelValue: e(n).site_id,
|
|
3013
|
+
"onUpdate:modelValue": t[2] || (t[2] = (M) => e(n).site_id = M),
|
|
3015
3014
|
disabled: e(u)
|
|
3016
3015
|
}, null, 8, ["modelValue", "disabled"])
|
|
3017
3016
|
]),
|
|
@@ -3023,8 +3022,8 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3023
3022
|
}, {
|
|
3024
3023
|
default: o(() => [
|
|
3025
3024
|
l(m, {
|
|
3026
|
-
modelValue: e(
|
|
3027
|
-
"onUpdate:modelValue":
|
|
3025
|
+
modelValue: e(n).name,
|
|
3026
|
+
"onUpdate:modelValue": t[3] || (t[3] = (M) => e(n).name = M),
|
|
3028
3027
|
disabled: e(u),
|
|
3029
3028
|
placeholder: e(a)("placeholder.input")
|
|
3030
3029
|
}, null, 8, ["modelValue", "disabled", "placeholder"])
|
|
@@ -3037,8 +3036,8 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3037
3036
|
}, {
|
|
3038
3037
|
default: o(() => [
|
|
3039
3038
|
l(m, {
|
|
3040
|
-
modelValue: e(
|
|
3041
|
-
"onUpdate:modelValue":
|
|
3039
|
+
modelValue: e(n).path,
|
|
3040
|
+
"onUpdate:modelValue": t[4] || (t[4] = (M) => e(n).path = M),
|
|
3042
3041
|
disabled: e(u),
|
|
3043
3042
|
placeholder: e(a)("placeholder.input")
|
|
3044
3043
|
}, null, 8, ["modelValue", "disabled", "placeholder"])
|
|
@@ -3051,8 +3050,8 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3051
3050
|
}, {
|
|
3052
3051
|
default: o(() => [
|
|
3053
3052
|
l(m, {
|
|
3054
|
-
modelValue: e(
|
|
3055
|
-
"onUpdate:modelValue":
|
|
3053
|
+
modelValue: e(n).email,
|
|
3054
|
+
"onUpdate:modelValue": t[5] || (t[5] = (M) => e(n).email = M),
|
|
3056
3055
|
disabled: e(u),
|
|
3057
3056
|
placeholder: e(a)("placeholder.input")
|
|
3058
3057
|
}, null, 8, ["modelValue", "disabled", "placeholder"])
|
|
@@ -3065,8 +3064,8 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3065
3064
|
}, {
|
|
3066
3065
|
default: o(() => [
|
|
3067
3066
|
l(y, {
|
|
3068
|
-
modelValue: e(
|
|
3069
|
-
"onUpdate:modelValue":
|
|
3067
|
+
modelValue: e(n).encryption,
|
|
3068
|
+
"onUpdate:modelValue": t[6] || (t[6] = (M) => e(n).encryption = M)
|
|
3070
3069
|
}, {
|
|
3071
3070
|
default: o(() => [
|
|
3072
3071
|
l(r, {
|
|
@@ -3085,8 +3084,8 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3085
3084
|
}, {
|
|
3086
3085
|
default: o(() => [
|
|
3087
3086
|
l(m, {
|
|
3088
|
-
modelValue: e(
|
|
3089
|
-
"onUpdate:modelValue":
|
|
3087
|
+
modelValue: e(n).remark,
|
|
3088
|
+
"onUpdate:modelValue": t[7] || (t[7] = (M) => e(n).remark = M),
|
|
3090
3089
|
disabled: e(u),
|
|
3091
3090
|
placeholder: e(a)("placeholder.input")
|
|
3092
3091
|
}, null, 8, ["modelValue", "disabled", "placeholder"])
|
|
@@ -3120,15 +3119,15 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3120
3119
|
key: { required: !0, message: a("placeholder.input base.key"), trigger: "blur" },
|
|
3121
3120
|
secret: { required: !0, message: a("placeholder.input config.secret"), trigger: "blur" },
|
|
3122
3121
|
end_point: { required: !0, message: a("placeholder.input config.endpoint"), trigger: "blur" }
|
|
3123
|
-
}, { modal: c, title: i, form: p, formData:
|
|
3122
|
+
}, { modal: c, title: i, form: p, formData: n, requesting: v, executing: u, open: f, modify: g, submit: _, closed: A } = J(h, V, be);
|
|
3124
3123
|
return U({
|
|
3125
3124
|
open: f,
|
|
3126
3125
|
modify: g
|
|
3127
|
-
}), (w,
|
|
3126
|
+
}), (w, t) => {
|
|
3128
3127
|
const d = s("el-input"), r = s("el-form-item"), y = s("el-form");
|
|
3129
3128
|
return L(), T(e(ee), {
|
|
3130
3129
|
modelValue: e(c),
|
|
3131
|
-
"onUpdate:modelValue":
|
|
3130
|
+
"onUpdate:modelValue": t[6] || (t[6] = (m) => P(c) ? c.value = m : null),
|
|
3132
3131
|
title: e(i)("config.domain"),
|
|
3133
3132
|
width: "600px",
|
|
3134
3133
|
executing: e(u),
|
|
@@ -3139,7 +3138,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3139
3138
|
l(y, {
|
|
3140
3139
|
ref_key: "form",
|
|
3141
3140
|
ref: p,
|
|
3142
|
-
model: e(
|
|
3141
|
+
model: e(n),
|
|
3143
3142
|
"label-width": "auto",
|
|
3144
3143
|
rules: b,
|
|
3145
3144
|
disabled: e(v) || e(u)
|
|
@@ -3151,8 +3150,8 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3151
3150
|
}, {
|
|
3152
3151
|
default: o(() => [
|
|
3153
3152
|
l(d, {
|
|
3154
|
-
modelValue: e(
|
|
3155
|
-
"onUpdate:modelValue":
|
|
3153
|
+
modelValue: e(n).name,
|
|
3154
|
+
"onUpdate:modelValue": t[0] || (t[0] = (m) => e(n).name = m),
|
|
3156
3155
|
disabled: e(u),
|
|
3157
3156
|
placeholder: e(a)("placeholder.input")
|
|
3158
3157
|
}, null, 8, ["modelValue", "disabled", "placeholder"])
|
|
@@ -3165,8 +3164,8 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3165
3164
|
}, {
|
|
3166
3165
|
default: o(() => [
|
|
3167
3166
|
l(d, {
|
|
3168
|
-
modelValue: e(
|
|
3169
|
-
"onUpdate:modelValue":
|
|
3167
|
+
modelValue: e(n).en_name,
|
|
3168
|
+
"onUpdate:modelValue": t[1] || (t[1] = (m) => e(n).en_name = m),
|
|
3170
3169
|
disabled: e(u),
|
|
3171
3170
|
placeholder: e(a)("placeholder.input")
|
|
3172
3171
|
}, null, 8, ["modelValue", "disabled", "placeholder"])
|
|
@@ -3179,8 +3178,8 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3179
3178
|
}, {
|
|
3180
3179
|
default: o(() => [
|
|
3181
3180
|
l(d, {
|
|
3182
|
-
modelValue: e(
|
|
3183
|
-
"onUpdate:modelValue":
|
|
3181
|
+
modelValue: e(n).key,
|
|
3182
|
+
"onUpdate:modelValue": t[2] || (t[2] = (m) => e(n).key = m),
|
|
3184
3183
|
disabled: e(u),
|
|
3185
3184
|
placeholder: e(a)("placeholder.input")
|
|
3186
3185
|
}, null, 8, ["modelValue", "disabled", "placeholder"])
|
|
@@ -3193,8 +3192,8 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3193
3192
|
}, {
|
|
3194
3193
|
default: o(() => [
|
|
3195
3194
|
l(d, {
|
|
3196
|
-
modelValue: e(
|
|
3197
|
-
"onUpdate:modelValue":
|
|
3195
|
+
modelValue: e(n).secret,
|
|
3196
|
+
"onUpdate:modelValue": t[3] || (t[3] = (m) => e(n).secret = m),
|
|
3198
3197
|
disabled: e(u),
|
|
3199
3198
|
placeholder: e(a)("placeholder.input")
|
|
3200
3199
|
}, null, 8, ["modelValue", "disabled", "placeholder"])
|
|
@@ -3207,8 +3206,8 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3207
3206
|
}, {
|
|
3208
3207
|
default: o(() => [
|
|
3209
3208
|
l(d, {
|
|
3210
|
-
modelValue: e(
|
|
3211
|
-
"onUpdate:modelValue":
|
|
3209
|
+
modelValue: e(n).end_point,
|
|
3210
|
+
"onUpdate:modelValue": t[4] || (t[4] = (m) => e(n).end_point = m),
|
|
3212
3211
|
disabled: e(u),
|
|
3213
3212
|
placeholder: e(a)("placeholder.input")
|
|
3214
3213
|
}, null, 8, ["modelValue", "disabled", "placeholder"])
|
|
@@ -3221,8 +3220,8 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3221
3220
|
}, {
|
|
3222
3221
|
default: o(() => [
|
|
3223
3222
|
l(d, {
|
|
3224
|
-
modelValue: e(
|
|
3225
|
-
"onUpdate:modelValue":
|
|
3223
|
+
modelValue: e(n).remark,
|
|
3224
|
+
"onUpdate:modelValue": t[5] || (t[5] = (m) => e(n).remark = m),
|
|
3226
3225
|
disabled: e(u),
|
|
3227
3226
|
placeholder: e(a)("placeholder.input")
|
|
3228
3227
|
}, null, 8, ["modelValue", "disabled", "placeholder"])
|
|
@@ -3250,7 +3249,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3250
3249
|
refresh: c,
|
|
3251
3250
|
openFormModal: i,
|
|
3252
3251
|
editFormModal: p
|
|
3253
|
-
} = F({}),
|
|
3252
|
+
} = F({}), n = [{
|
|
3254
3253
|
prop: "name",
|
|
3255
3254
|
label: a("base.name"),
|
|
3256
3255
|
width: 0,
|
|
@@ -3309,7 +3308,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3309
3308
|
size: "small",
|
|
3310
3309
|
"row-key": "id",
|
|
3311
3310
|
url: e(be).urls.list,
|
|
3312
|
-
columns:
|
|
3311
|
+
columns: n,
|
|
3313
3312
|
loading: e(k)
|
|
3314
3313
|
}, null, 8, ["url", "loading"]), l(Ml, {
|
|
3315
3314
|
ref_key: "formModalRef",
|
|
@@ -3334,7 +3333,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3334
3333
|
openFormModal: i,
|
|
3335
3334
|
editFormModal: p
|
|
3336
3335
|
} = F(), {
|
|
3337
|
-
formModalRef:
|
|
3336
|
+
formModalRef: n,
|
|
3338
3337
|
openFormModal: v,
|
|
3339
3338
|
editFormModal: u
|
|
3340
3339
|
} = F(), {
|
|
@@ -3348,8 +3347,8 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3348
3347
|
rowData: w
|
|
3349
3348
|
}) => l(s("el-text"), null, {
|
|
3350
3349
|
default: () => {
|
|
3351
|
-
var
|
|
3352
|
-
return [(
|
|
3350
|
+
var t;
|
|
3351
|
+
return [(t = w.provider) == null ? void 0 : t.name];
|
|
3353
3352
|
}
|
|
3354
3353
|
})
|
|
3355
3354
|
}, {
|
|
@@ -3359,7 +3358,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3359
3358
|
minWidth: 120
|
|
3360
3359
|
}, {
|
|
3361
3360
|
prop: "expired_text",
|
|
3362
|
-
label: a("
|
|
3361
|
+
label: a("time.expired_at"),
|
|
3363
3362
|
width: 160
|
|
3364
3363
|
}, {
|
|
3365
3364
|
prop: "actions",
|
|
@@ -3381,10 +3380,10 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3381
3380
|
size: "small",
|
|
3382
3381
|
link: !0,
|
|
3383
3382
|
onOpen: () => {
|
|
3384
|
-
var
|
|
3383
|
+
var t;
|
|
3385
3384
|
w.ssl && w.ssl.id ? u({
|
|
3386
|
-
id: (
|
|
3387
|
-
}) : (
|
|
3385
|
+
id: (t = w.ssl) == null ? void 0 : t.id
|
|
3386
|
+
}) : (n.value.formData.domain_id = w.id, n.value.formData.site_id = 0, v());
|
|
3388
3387
|
}
|
|
3389
3388
|
}, null)]
|
|
3390
3389
|
})
|
|
@@ -3393,11 +3392,11 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3393
3392
|
open: () => {
|
|
3394
3393
|
h.value = !0;
|
|
3395
3394
|
}
|
|
3396
|
-
}), (w,
|
|
3395
|
+
}), (w, t) => {
|
|
3397
3396
|
const d = s("el-space"), r = s("el-page-header");
|
|
3398
3397
|
return L(), T(e(ce), {
|
|
3399
3398
|
modelValue: h.value,
|
|
3400
|
-
"onUpdate:modelValue":
|
|
3399
|
+
"onUpdate:modelValue": t[0] || (t[0] = (y) => h.value = y),
|
|
3401
3400
|
width: "600px",
|
|
3402
3401
|
"show-close": !1,
|
|
3403
3402
|
class: "basic-drawer"
|
|
@@ -3439,7 +3438,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3439
3438
|
onRefresh: e(c)
|
|
3440
3439
|
}, null, 8, ["onRefresh"]), l($e, {
|
|
3441
3440
|
ref_key: "sslFormModalRef",
|
|
3442
|
-
ref:
|
|
3441
|
+
ref: n,
|
|
3443
3442
|
onRefresh: e(c)
|
|
3444
3443
|
}, null, 8, ["onRefresh"]), l(Al, {
|
|
3445
3444
|
ref_key: "providerTableDrawerRef",
|
|
@@ -3461,7 +3460,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3461
3460
|
tableRef: c,
|
|
3462
3461
|
formModalRef: i,
|
|
3463
3462
|
refresh: p,
|
|
3464
|
-
openFormModal:
|
|
3463
|
+
openFormModal: n,
|
|
3465
3464
|
editFormModal: v
|
|
3466
3465
|
} = F(), u = [
|
|
3467
3466
|
{
|
|
@@ -3542,15 +3541,15 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3542
3541
|
};
|
|
3543
3542
|
function _(A) {
|
|
3544
3543
|
const w = Se.getDownloadUrl(A.path + ".zip");
|
|
3545
|
-
fetch(w).then((
|
|
3546
|
-
let d = URL.createObjectURL(
|
|
3547
|
-
r.style.display = "none", r.href = d, r.download = A.name + ".zip", r.click(), URL.revokeObjectURL(
|
|
3544
|
+
fetch(w).then((t) => t.blob()).then((t) => {
|
|
3545
|
+
let d = URL.createObjectURL(t), r = document.createElement("a");
|
|
3546
|
+
r.style.display = "none", r.href = d, r.download = A.name + ".zip", r.click(), URL.revokeObjectURL(t);
|
|
3548
3547
|
});
|
|
3549
3548
|
}
|
|
3550
3549
|
return U({
|
|
3551
3550
|
open: f
|
|
3552
3551
|
}), (A, w) => {
|
|
3553
|
-
const
|
|
3552
|
+
const t = s("el-page-header");
|
|
3554
3553
|
return L(), T(e(ce), {
|
|
3555
3554
|
modelValue: b.value,
|
|
3556
3555
|
"onUpdate:modelValue": w[0] || (w[0] = (d) => b.value = d),
|
|
@@ -3558,7 +3557,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3558
3557
|
"show-close": !1,
|
|
3559
3558
|
class: "basic-drawer"
|
|
3560
3559
|
}, {
|
|
3561
|
-
title: o(() => [l(
|
|
3560
|
+
title: o(() => [l(t, {
|
|
3562
3561
|
icon: ""
|
|
3563
3562
|
}, {
|
|
3564
3563
|
title: o(() => [N("span", null, z(e(a)("ssl.ssl")), 1)]),
|
|
@@ -3567,7 +3566,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3567
3566
|
size: "default",
|
|
3568
3567
|
loading: e(k)
|
|
3569
3568
|
}, null, 8, ["onRefresh", "loading"]), l(e(j), {
|
|
3570
|
-
onOpen: e(
|
|
3569
|
+
onOpen: e(n)
|
|
3571
3570
|
}, null, 8, ["onOpen"])]),
|
|
3572
3571
|
_: 1
|
|
3573
3572
|
})]),
|
|
@@ -3621,7 +3620,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3621
3620
|
prop: "result",
|
|
3622
3621
|
label: a("base.result"),
|
|
3623
3622
|
width: 0
|
|
3624
|
-
}],
|
|
3623
|
+
}], n = () => {
|
|
3625
3624
|
b.value = !0;
|
|
3626
3625
|
};
|
|
3627
3626
|
function v() {
|
|
@@ -3639,7 +3638,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3639
3638
|
});
|
|
3640
3639
|
}
|
|
3641
3640
|
return U({
|
|
3642
|
-
open:
|
|
3641
|
+
open: n
|
|
3643
3642
|
}), (f, g) => {
|
|
3644
3643
|
const _ = s("el-page-header");
|
|
3645
3644
|
return L(), T(e(ce), {
|
|
@@ -3700,7 +3699,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3700
3699
|
reset: c,
|
|
3701
3700
|
refresh: i,
|
|
3702
3701
|
openFormModal: p,
|
|
3703
|
-
editFormModal:
|
|
3702
|
+
editFormModal: n
|
|
3704
3703
|
} = F(), {
|
|
3705
3704
|
formModalRef: v,
|
|
3706
3705
|
openFormModal: u
|
|
@@ -3731,7 +3730,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3731
3730
|
type: "copy"
|
|
3732
3731
|
}, {
|
|
3733
3732
|
prop: "expired_at",
|
|
3734
|
-
label: a("
|
|
3733
|
+
label: a("time.expired_at"),
|
|
3735
3734
|
align: "center",
|
|
3736
3735
|
width: 140,
|
|
3737
3736
|
cellRenderer: ({
|
|
@@ -3771,7 +3770,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3771
3770
|
default: () => [l(le, {
|
|
3772
3771
|
icon: "icon-edit",
|
|
3773
3772
|
t: "",
|
|
3774
|
-
onModify: () =>
|
|
3773
|
+
onModify: () => n({
|
|
3775
3774
|
id: r.id
|
|
3776
3775
|
})
|
|
3777
3776
|
}, null), l(Q, {
|
|
@@ -3780,17 +3779,17 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3780
3779
|
size: "small",
|
|
3781
3780
|
link: !0,
|
|
3782
3781
|
disabled: h.value,
|
|
3783
|
-
loading:
|
|
3782
|
+
loading: t.value == r.id && h.value,
|
|
3784
3783
|
onClick: () => d(r)
|
|
3785
3784
|
}, null)]
|
|
3786
3785
|
})
|
|
3787
|
-
}],
|
|
3788
|
-
|
|
3786
|
+
}], t = I(0), d = (r) => {
|
|
3787
|
+
t.value = r.id, se.check({
|
|
3789
3788
|
id: r.id
|
|
3790
3789
|
}).then((y) => {
|
|
3791
3790
|
y.data && (Qe(y), i());
|
|
3792
3791
|
}).finally(() => {
|
|
3793
|
-
|
|
3792
|
+
t.value = 0;
|
|
3794
3793
|
});
|
|
3795
3794
|
};
|
|
3796
3795
|
return (r, y) => {
|
|
@@ -3856,7 +3855,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3856
3855
|
});
|
|
3857
3856
|
};
|
|
3858
3857
|
}
|
|
3859
|
-
}), ql = /* @__PURE__ */ Ce(Cl, [["__scopeId", "data-v-
|
|
3858
|
+
}), ql = /* @__PURE__ */ Ce(Cl, [["__scopeId", "data-v-17c31592"]]), Tl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3860
3859
|
__proto__: null,
|
|
3861
3860
|
default: ql
|
|
3862
3861
|
}, Symbol.toStringTag, { value: "Module" })), Ol = {
|
|
@@ -3892,7 +3891,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3892
3891
|
search: c,
|
|
3893
3892
|
reset: i
|
|
3894
3893
|
} = F(U);
|
|
3895
|
-
return (p,
|
|
3894
|
+
return (p, n) => {
|
|
3896
3895
|
const v = s("el-date-picker"), u = s("el-space"), f = s("el-page-header"), g = s("el-card");
|
|
3897
3896
|
return L(), T(g, {
|
|
3898
3897
|
class: "basic-card flex-full",
|
|
@@ -3910,7 +3909,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3910
3909
|
}, {
|
|
3911
3910
|
default: o(() => [l(v, {
|
|
3912
3911
|
modelValue: e(b).dates,
|
|
3913
|
-
"onUpdate:modelValue":
|
|
3912
|
+
"onUpdate:modelValue": n[0] || (n[0] = (_) => e(b).dates = _),
|
|
3914
3913
|
class: "basic-search-datetimerange",
|
|
3915
3914
|
"value-format": e($).DATE_VALUE_FORMAT,
|
|
3916
3915
|
format: e($).DATE_SHOW_FORMAT,
|
|
@@ -3919,10 +3918,10 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3919
3918
|
"start-placeholder": e(a)("base.start_at"),
|
|
3920
3919
|
"end-placeholder": e(a)("base.end_at"),
|
|
3921
3920
|
clearable: !1,
|
|
3922
|
-
onChange:
|
|
3921
|
+
onChange: n[1] || (n[1] = (_) => e(c)())
|
|
3923
3922
|
}, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(oe), {
|
|
3924
3923
|
disabled: e(h),
|
|
3925
|
-
onSearch:
|
|
3924
|
+
onSearch: n[2] || (n[2] = (_) => e(c)())
|
|
3926
3925
|
}, null, 8, ["disabled"])]),
|
|
3927
3926
|
_: 1
|
|
3928
3927
|
})]),
|
|
@@ -3970,7 +3969,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3970
3969
|
search: c,
|
|
3971
3970
|
reset: i
|
|
3972
3971
|
} = F(U);
|
|
3973
|
-
return (p,
|
|
3972
|
+
return (p, n) => {
|
|
3974
3973
|
const v = s("el-date-picker"), u = s("el-space"), f = s("el-page-header"), g = s("el-card");
|
|
3975
3974
|
return L(), T(g, {
|
|
3976
3975
|
class: "basic-card flex-full",
|
|
@@ -3988,7 +3987,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3988
3987
|
}, {
|
|
3989
3988
|
default: o(() => [l(v, {
|
|
3990
3989
|
modelValue: e(b).dates,
|
|
3991
|
-
"onUpdate:modelValue":
|
|
3990
|
+
"onUpdate:modelValue": n[0] || (n[0] = (_) => e(b).dates = _),
|
|
3992
3991
|
class: "basic-search-daterange",
|
|
3993
3992
|
"value-format": e($).DATE_FORMAT,
|
|
3994
3993
|
format: e($).DATE_FORMAT,
|
|
@@ -3997,10 +3996,10 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3997
3996
|
"start-placeholder": e(a)("base.start_at"),
|
|
3998
3997
|
"end-placeholder": e(a)("base.end_at"),
|
|
3999
3998
|
clearable: !1,
|
|
4000
|
-
onChange:
|
|
3999
|
+
onChange: n[1] || (n[1] = (_) => e(c)())
|
|
4001
4000
|
}, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(oe), {
|
|
4002
4001
|
disabled: e(h),
|
|
4003
|
-
onSearch:
|
|
4002
|
+
onSearch: n[2] || (n[2] = (_) => e(c)())
|
|
4004
4003
|
}, null, 8, ["disabled"])]),
|
|
4005
4004
|
_: 1
|
|
4006
4005
|
})]),
|
|
@@ -4048,7 +4047,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
4048
4047
|
search: c,
|
|
4049
4048
|
reset: i
|
|
4050
4049
|
} = F(U);
|
|
4051
|
-
return (p,
|
|
4050
|
+
return (p, n) => {
|
|
4052
4051
|
const v = s("el-date-picker"), u = s("el-space"), f = s("el-page-header"), g = s("el-card");
|
|
4053
4052
|
return L(), T(g, {
|
|
4054
4053
|
class: "basic-card flex-full",
|
|
@@ -4066,7 +4065,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
4066
4065
|
}, {
|
|
4067
4066
|
default: o(() => [l(v, {
|
|
4068
4067
|
modelValue: e(b).dates,
|
|
4069
|
-
"onUpdate:modelValue":
|
|
4068
|
+
"onUpdate:modelValue": n[0] || (n[0] = (_) => e(b).dates = _),
|
|
4070
4069
|
class: "basic-search-daterange",
|
|
4071
4070
|
"value-format": e($).DATE_FORMAT,
|
|
4072
4071
|
format: e($).DATE_FORMAT,
|
|
@@ -4075,10 +4074,10 @@ const Bl = /* @__PURE__ */ O({
|
|
|
4075
4074
|
"start-placeholder": e(a)("base.start_at"),
|
|
4076
4075
|
"end-placeholder": e(a)("base.end_at"),
|
|
4077
4076
|
clearable: !1,
|
|
4078
|
-
onChange:
|
|
4077
|
+
onChange: n[1] || (n[1] = (_) => e(c)())
|
|
4079
4078
|
}, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(oe), {
|
|
4080
4079
|
disabled: e(h),
|
|
4081
|
-
onSearch:
|
|
4080
|
+
onSearch: n[2] || (n[2] = (_) => e(c)())
|
|
4082
4081
|
}, null, 8, ["disabled"])]),
|
|
4083
4082
|
_: 1
|
|
4084
4083
|
})]),
|