@jeecg/online 3.9.0-beta2 → 3.9.1-RC
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/{AccountLoginForm-634a76b1.mjs → AccountLoginForm-BXyvcSds.mjs} +50 -53
- package/{AiModal-204a2146.mjs → AiModal-BgVzn074.mjs} +18 -20
- package/{AppForgetPassword-f9a6258a.mjs → AppForgetPassword-B-2CvL62.mjs} +59 -63
- package/AppLogin-BMBmx2oq.mjs +272 -0
- package/AppLoginHeader-BtKXOMRR.mjs +23 -0
- package/{AppNameEmail-54026ea8.mjs → AppNameEmail-DCqMNjaK.mjs} +20 -24
- package/{AppRegister-043efc45.mjs → AppRegister-C5iH-245.mjs} +33 -37
- package/{AppTenant-c7bb8700.mjs → AppTenant-etPXeUcW.mjs} +49 -55
- package/AppThirdForm-NMob-JaS.mjs +185 -0
- package/AuthButtonConfig-zUioaGwn.mjs +155 -0
- package/AuthButtonTree-DYZwphe6.mjs +159 -0
- package/{AuthDataConfig-3cd10ca2.mjs → AuthDataConfig-uQ5WT7rx.mjs} +57 -62
- package/AuthDataTree-Cr28_YKx.mjs +134 -0
- package/{AuthFieldConfig-bb65f78b.mjs → AuthFieldConfig-DjdaPIXF.mjs} +95 -101
- package/{AuthFieldTree-3e38b12b.mjs → AuthFieldTree-DHmnDQ0I.mjs} +94 -99
- package/AuthManagerDrawer-DUb6QylS.mjs +108 -0
- package/{AuthSetterModal-f176c221.mjs → AuthSetterModal-BBFdNv1M.mjs} +89 -100
- package/BuiltInButtonList-Cgg5maxI.mjs +4 -0
- package/{BuiltInButtonList.vue_vue_type_script_setup_true_lang-07d0b7d0.mjs → BuiltInButtonList.vue_vue_type_script_setup_true_lang-5-4hU0bi.mjs} +8 -8
- package/{CgformAddressModal-a3903b24.mjs → CgformAddressModal-BVoww1fk.mjs} +57 -63
- package/CgformCopyList-7e96RMbJ.mjs +176 -0
- package/{CgformModal-115710a6.mjs → CgformModal-RH-Tr08S.mjs} +240 -241
- package/{CgreportAigcModal-3bef8abe.mjs → CgreportAigcModal-rEfIpPF9.mjs} +35 -38
- package/{CgreportModal-0cc48587.mjs → CgreportModal-Bajb_3ku.mjs} +49 -50
- package/{CheckDictTable-65157c48.mjs → CheckDictTable-BxJFrctQ.mjs} +44 -52
- package/{CodeFileListModal-305c1a62.mjs → CodeFileListModal-C3uqsFvi.mjs} +32 -36
- package/{CodeFileViewModal-320d7acf.mjs → CodeFileViewModal-bEtZDbAY.mjs} +78 -81
- package/CodeGeneratorModal-ZWEIXRbY.mjs +291 -0
- package/{CustomButtonList-98db8fd2.mjs → CustomButtonList-7wjonhtu.mjs} +82 -85
- package/{DBAttributeTable-56701599.mjs → DBAttributeTable-DA2XttIQ.mjs} +50 -60
- package/{DbToOnlineModal-a82cdeb5.mjs → DbToOnlineModal-CDVqmEJH.mjs} +43 -45
- package/DetailForm-CnfJBMys.mjs +472 -0
- package/{DropMenuItem-b3a9cd6a.mjs → DropMenuItem-D8YWMle-.mjs} +8 -11
- package/EnhanceJavaModal-W8_oGY-U.mjs +255 -0
- package/{EnhanceJsHistory-bb6ba865.mjs → EnhanceJsHistory-ZzXedCNI.mjs} +48 -49
- package/{EnhanceJsModal-b0527cbf.mjs → EnhanceJsModal-Djb5ItH4.mjs} +95 -104
- package/EnhanceSqlModal-DxPdRcQc.mjs +258 -0
- package/ErrorTip-BDS1uxkW.mjs +4 -0
- package/{ErrorTip.vue_vue_type_script_setup_true_lang-49d35987.mjs → ErrorTip.vue_vue_type_script_setup_true_lang-Bl9zMjvW.mjs} +11 -11
- package/ExtendConfigModal-CxJIWvV4.mjs +102 -0
- package/{FieldExtendJsonModal-536e6d5b.mjs → FieldExtendJsonModal-Bvmbb6yd.mjs} +27 -30
- package/{FileSelectModal-eb026170.mjs → FileSelectModal-DXqL5msQ.mjs} +27 -31
- package/{ForeignKeyTable-97a5827f.mjs → ForeignKeyTable-D6AlLbfd.mjs} +17 -25
- package/{IndexTable-4d350e4e.mjs → IndexTable-B7ef6Aox.mjs} +9 -17
- package/JModalTip-DHrn6ksJ.mjs +46 -0
- package/{JOnlineSearchSelect-ffeac61d.mjs → JOnlineSearchSelect-CAv2Dm9V.mjs} +21 -23
- package/{LeftDepart-a727aab7.mjs → LeftDepart-BC1jpYJP.mjs} +8 -11
- package/{LeftRole-b533dcf6.mjs → LeftRole-sq_2p6Qk.mjs} +16 -19
- package/{LeftUser-aaac52cb.mjs → LeftUser-CYh4PBgd.mjs} +7 -10
- package/{LinkTableConfigModal-4053b62d.mjs → LinkTableConfigModal-BOWs0A5-.mjs} +38 -40
- package/{LinkTableFieldConfigModal-93552099.mjs → LinkTableFieldConfigModal-D7FTBP3E.mjs} +50 -52
- package/LinkTableListPiece-Bfu6vfo0.mjs +31 -0
- package/{ModalFormDemo-b8478356.mjs → ModalFormDemo-C1qQT6lj.mjs} +13 -16
- package/{OnlCgformErpList-b0605798.mjs → OnlCgformErpList-CavWG8GK.mjs} +139 -199
- package/OnlCgformErpSubTable-D3QM8oWi.mjs +382 -0
- package/OnlCgformInnerSubTable-BqmooFqy.mjs +213 -0
- package/OnlCgformInnerTableList-Dr1KdoSC.mjs +421 -0
- package/OnlCgformTabList-DCy3oudh.mjs +371 -0
- package/OnlineAutoList-C4pkORGb.mjs +500 -0
- package/OnlineAutoModal-Cuf_wcbU.mjs +222 -0
- package/{OnlineAutoTreeList-624106c1.mjs → OnlineAutoTreeList-LDE9Sm7X.mjs} +124 -181
- package/OnlineCustomModal-Jz4MxkH0.mjs +209 -0
- package/OnlineDetailModal-So0YEah1.mjs +160 -0
- package/{OnlineForm-86b5966d.mjs → OnlineForm-CvcbzRIZ.mjs} +47 -73
- package/OnlineFormDetail-KaD6cV31.mjs +321 -0
- package/OnlineFormUrlAdd-CktstdFD.mjs +86 -0
- package/OnlineFormUrlDetail-C4qptuTQ.mjs +85 -0
- package/OnlineFormUrlEdit-C06vTiM_.mjs +84 -0
- package/{OnlineFormUrlSuccess-0c2431a4.mjs → OnlineFormUrlSuccess-Cvbte2lW.mjs} +27 -30
- package/{OnlineQueryForm-3017a4ca.mjs → OnlineQueryForm-6E1IRi95.mjs} +139 -167
- package/{OnlineSearchFormItem-1b54585f.mjs → OnlineSearchFormItem-CdRuXQPu.mjs} +112 -118
- package/{OnlineSelectCascade-fab4426d.mjs → OnlineSelectCascade-O7iXAgdH.mjs} +31 -33
- package/OnlineSubFormDetail-DcMpAk8Z.mjs +109 -0
- package/OnlineTabAutoModal-DSOVDlOz.mjs +285 -0
- package/OnlineTabDetailModal-OXQ_2VLI.mjs +187 -0
- package/{OnlineTabForm-5c04cbc5.mjs → OnlineTabForm-Cg3_IX2H.mjs} +228 -253
- package/OnlineTabFormDetail-BgFkUkva.mjs +299 -0
- package/{PageAttributeTable-18aabf81.mjs → PageAttributeTable-C803SekP.mjs} +46 -59
- package/{PhoneLoginForm-4a9d7869.mjs → PhoneLoginForm-8a0Uehov.mjs} +40 -43
- package/ProcessOnlineForm-COeEaGc8.mjs +182 -0
- package/{QueryTable-342fd89a.mjs → QueryTable-DHYaYbKC.mjs} +23 -31
- package/SetSwitchOptions-B4Q6l-54.mjs +58 -0
- package/ShareAddView-CxZuNTQB.mjs +11 -0
- package/ShareEditView-Dqdzjmpc.mjs +17 -0
- package/ShareView-B9TiMmkR.mjs +4 -0
- package/{ShareView.vue_vue_type_script_setup_true_lang-9ea579c2.mjs → ShareView.vue_vue_type_script_setup_true_lang-BCdP9KMD.mjs} +21 -21
- package/SingleView-BDXeMLV-.mjs +4 -0
- package/{SingleView.vue_vue_type_style_index_0_lang-24d417dc.mjs → SingleView.vue_vue_type_style_index_0_lang-D3QcMcYT.mjs} +27 -27
- package/{SuperQuery-270b0968.mjs → SuperQuery-CgkajEWI.mjs} +342 -370
- package/SuperQueryValComponent-UO10kRg5.mjs +4 -0
- package/TaskOpinionList-C8rcU6ee.mjs +10 -0
- package/{aiModal-e7362c3f.mjs → aiModal-DTU-w5Xx.mjs} +33 -36
- package/{enhance.data-6601ff44.mjs → enhance.data-DRCzy5Bx.mjs} +5 -5
- package/index-0kQBIHx0.mjs +58 -0
- package/{index-b811abb9.mjs → index-B1H394jP.mjs} +35 -38
- package/index-CXD6__bJ.mjs +195 -0
- package/{index-6d1a78e2.mjs → index-DIjQbz6A.mjs} +37 -41
- package/{index-e2c3e6f3.mjs → index-Dbr1qL3H.mjs} +474 -608
- package/{index-19eaef11.mjs → index-dmWvLQET.mjs} +2 -2
- package/{index-d95bb7c2.mjs → index-pGbTziKP.mjs} +32 -44
- package/{index-b5fe9bd4.mjs → index-siZ6JDIW.mjs} +17 -20
- package/main.index.js +8 -9
- package/online.css +1 -0
- package/package.json +1 -1
- package/{useCgformList-6d5547ff.mjs → useCgformList-_o9GP7ca.mjs} +3 -3
- package/useExtendComponent-P9wrWQwT.mjs +4479 -0
- package/{useListButton-73071548.mjs → useListButton-DyOAscwT.mjs} +7 -9
- package/{useSchemas-b074f3a1.mjs → useSchemas-svH7q1tm.mjs} +69 -42
- package/{useTableSync-dbfba20e.mjs → useTableSync-BAWujyoc.mjs} +1 -1
- package/{utils-9fce7606.mjs → utils-DcQ65Qmw.mjs} +1 -1
- package/AppLogin-bf783eab.mjs +0 -287
- package/AppLoginHeader-55594326.mjs +0 -27
- package/AppThirdForm-5e7e1144.mjs +0 -189
- package/AuthButtonConfig-4887be0d.mjs +0 -160
- package/AuthButtonTree-7e47b44b.mjs +0 -165
- package/AuthDataTree-714c259c.mjs +0 -139
- package/AuthManagerDrawer-dee39b07.mjs +0 -119
- package/BuiltInButtonList-bb6cf95c.mjs +0 -10
- package/CgformCopyList-4be1000f.mjs +0 -259
- package/CodeGeneratorModal-2ba18bd1.mjs +0 -298
- package/DetailForm-7d4f630e.mjs +0 -497
- package/EnhanceJavaModal-469e645e.mjs +0 -264
- package/EnhanceSqlModal-c6e8bce1.mjs +0 -268
- package/ErrorTip-bb616e32.mjs +0 -7
- package/ExtendConfigModal-7b00b49a.mjs +0 -117
- package/JModalTip-c3e6726c.mjs +0 -49
- package/LinkTableListPiece-0f4ca559.mjs +0 -34
- package/OnlCgformErpSubTable-89699bc9.mjs +0 -443
- package/OnlCgformInnerSubTable-f2722f77.mjs +0 -269
- package/OnlCgformInnerTableList-992aa7e9.mjs +0 -481
- package/OnlCgformTabList-882a0e0c.mjs +0 -431
- package/OnlineAutoList-caedb54a.mjs +0 -558
- package/OnlineAutoModal-a0d1a6b8.mjs +0 -260
- package/OnlineCustomModal-f4e17bed.mjs +0 -246
- package/OnlineDetailModal-35394778.mjs +0 -198
- package/OnlineForm.vue_vue_type_style_index_0_scoped_60bd1850_lang-4ed993c7.mjs +0 -1
- package/OnlineFormDetail-4b3ad130.mjs +0 -349
- package/OnlineFormUrlAdd-708c91fb.mjs +0 -116
- package/OnlineFormUrlDetail-5c8efaeb.mjs +0 -121
- package/OnlineFormUrlEdit-8f08474e.mjs +0 -114
- package/OnlineSubFormDetail-bbc48c3e.mjs +0 -147
- package/OnlineTabAutoModal-b0f9fce8.mjs +0 -319
- package/OnlineTabDetailModal-401a26ad.mjs +0 -226
- package/OnlineTabFormDetail-2a28febf.mjs +0 -328
- package/ProcessOnlineForm-0ddce4fb.mjs +0 -218
- package/SetSwitchOptions-e1d5a6b4.mjs +0 -62
- package/ShareAddView-a5154da3.mjs +0 -88
- package/ShareEditView-cf761cf3.mjs +0 -94
- package/ShareView-3b2f5457.mjs +0 -82
- package/SingleView-3cab20a9.mjs +0 -70
- package/SuperQueryValComponent-5a9ccfd4.mjs +0 -8
- package/TaskOpinionList-60cf4080.mjs +0 -13
- package/index-740b2c4a.mjs +0 -57
- package/index-8fd12d0f.mjs +0 -219
- package/style.css +0 -1
- package/useExtendComponent-95ce0719.mjs +0 -4460
- /package/{SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs → SuperQueryValComponent.vue_vue_type_script_lang-BM-iwlLi.mjs} +0 -0
- /package/{auth.api-53df4c33.mjs → auth.api-2QmzY0ji.mjs} +0 -0
- /package/{auth.data-e44c7975.mjs → auth.data-Cp8D9uZ7.mjs} +0 -0
- /package/{button.data-fe45d43b.mjs → button.data-CyUX77GQ.mjs} +0 -0
- /package/{cgform.data-0ca62d09.mjs → cgform.data-CviSPXEg.mjs} +0 -0
- /package/{cgformState-d9f8ec42.mjs → cgformState-CUyRXfhW.mjs} +0 -0
- /package/{constant-fa63bd66.mjs → constant-DnbpmwZg.mjs} +0 -0
- /package/{enhance.api-138e6826.mjs → enhance.api-BqHb-YGL.mjs} +0 -0
- /package/{index-5e89258d.mjs → index-aVGkB_J9.mjs} +0 -0
- /package/{shareStore-7de6c7a6.mjs → shareStore-k-kzyga5.mjs} +0 -0
- /package/{useCustomHook-3a17a690.mjs → useCustomHook-B35kFqDB.mjs} +0 -0
- /package/{useFormUrl-2ee1a82d.mjs → useFormUrl-D8ASmaz6.mjs} +0 -0
- /package/{useOnlinePopEvent-687070b7.mjs → useOnlinePopEvent-FOvbs0Ta.mjs} +0 -0
- /package/{useOnlineTest-e4bd8be3.mjs → useOnlineTest-_onDRxjY.mjs} +0 -0
|
@@ -1,30 +1,27 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var T = (o, a, f) => new Promise((y, C) => {
|
|
2
|
+
var x = (r) => {
|
|
3
3
|
try {
|
|
4
4
|
c(f.next(r));
|
|
5
5
|
} catch (s) {
|
|
6
6
|
C(s);
|
|
7
7
|
}
|
|
8
|
-
},
|
|
8
|
+
}, F = (r) => {
|
|
9
9
|
try {
|
|
10
10
|
c(f.throw(r));
|
|
11
11
|
} catch (s) {
|
|
12
12
|
C(s);
|
|
13
13
|
}
|
|
14
|
-
}, c = (r) => r.done ? y(r.value) : Promise.resolve(r.value).then(
|
|
14
|
+
}, c = (r) => r.done ? y(r.value) : Promise.resolve(r.value).then(x, F);
|
|
15
15
|
c((f = f.apply(o, a)).next());
|
|
16
16
|
});
|
|
17
|
-
import { defineComponent as Y, ref as
|
|
17
|
+
import { defineComponent as Y, ref as m, reactive as H, resolveComponent as g, createBlock as W, openBlock as D, withCtx as w, createElementVNode as M, createVNode as N, normalizeStyle as V, createCommentVNode as Q, createTextVNode as $ } from "vue";
|
|
18
18
|
import { defHttp as Z } from "/@/utils/http/axios";
|
|
19
19
|
import { BasicModal as ee, useModalInner as te } from "/@/components/Modal";
|
|
20
20
|
import { InfoCircleTwoTone as ne } from "@ant-design/icons-vue";
|
|
21
|
-
import { message as
|
|
21
|
+
import { message as A } from "ant-design-vue";
|
|
22
22
|
import { JCodeEditor as oe } from "/@/components/Form";
|
|
23
23
|
import { useDesign as le } from "/@/hooks/web/useDesign";
|
|
24
|
-
import { _ as ie } from "./index-
|
|
25
|
-
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
26
|
-
import "/@/hooks/web/useMessage";
|
|
27
|
-
import "vue-router";
|
|
24
|
+
import { _ as ie } from "./index-0kQBIHx0.mjs";
|
|
28
25
|
const ae = Y({
|
|
29
26
|
name: "CodeFileViewModal",
|
|
30
27
|
components: {
|
|
@@ -34,19 +31,19 @@ const ae = Y({
|
|
|
34
31
|
},
|
|
35
32
|
emits: ["download", "register", "close"],
|
|
36
33
|
setup(o, { emit: a }) {
|
|
37
|
-
const f =
|
|
38
|
-
let s =
|
|
39
|
-
const [
|
|
40
|
-
s =
|
|
41
|
-
})), { prefixCls:
|
|
42
|
-
function
|
|
34
|
+
const f = m([]), y = m(""), C = m([]), x = m(!1), F = window.innerHeight - 142, c = m("java"), r = m("");
|
|
35
|
+
let s = H({});
|
|
36
|
+
const [R, { closeModal: b }] = te((t) => T(null, null, function* () {
|
|
37
|
+
s = H({}), r.value = "", f.value = t.codeList, y.value = t.pathKey, B(), U(), x.value = !0;
|
|
38
|
+
})), { prefixCls: _ } = le("online-codeFileViewModal");
|
|
39
|
+
function B() {
|
|
43
40
|
let t = I(), l = t[0];
|
|
44
41
|
z(l, t);
|
|
45
42
|
let n = [];
|
|
46
|
-
const e = function(
|
|
47
|
-
if (
|
|
48
|
-
let i =
|
|
49
|
-
i.length == 1 ? e(i[0]) : i.length > 1 && n.push(
|
|
43
|
+
const e = function(u) {
|
|
44
|
+
if (u.children) {
|
|
45
|
+
let i = u.children;
|
|
46
|
+
i.length == 1 ? e(i[0]) : i.length > 1 && n.push(u);
|
|
50
47
|
}
|
|
51
48
|
};
|
|
52
49
|
e(l), C.value = n, setTimeout(() => {
|
|
@@ -54,7 +51,7 @@ const ae = Y({
|
|
|
54
51
|
}, 300);
|
|
55
52
|
}
|
|
56
53
|
function G(t) {
|
|
57
|
-
return
|
|
54
|
+
return T(this, null, function* () {
|
|
58
55
|
const l = function(e) {
|
|
59
56
|
if (e.isLeaf === !0)
|
|
60
57
|
return e;
|
|
@@ -64,7 +61,7 @@ const ae = Y({
|
|
|
64
61
|
let n = l(t);
|
|
65
62
|
if (n && n.isLeaf === !0) {
|
|
66
63
|
let e = n.path;
|
|
67
|
-
s[e] || (yield
|
|
64
|
+
s[e] || (yield X(e)), c.value = S(e), r.value = s[e];
|
|
68
65
|
}
|
|
69
66
|
});
|
|
70
67
|
}
|
|
@@ -72,7 +69,7 @@ const ae = Y({
|
|
|
72
69
|
for (let n of l)
|
|
73
70
|
t.key == n.pid && (t.children || (t.children = []), t.children.push(n), z(n, l));
|
|
74
71
|
}
|
|
75
|
-
function
|
|
72
|
+
function K(t, l) {
|
|
76
73
|
let n = 0, e = "";
|
|
77
74
|
for (; n <= l; )
|
|
78
75
|
e += t[n], n++;
|
|
@@ -81,21 +78,21 @@ const ae = Y({
|
|
|
81
78
|
function I() {
|
|
82
79
|
let t = [], l = [], n = f.value;
|
|
83
80
|
for (let e of n) {
|
|
84
|
-
let
|
|
85
|
-
if (
|
|
86
|
-
let i =
|
|
87
|
-
for (let
|
|
88
|
-
let h = i[
|
|
81
|
+
let u = e.replace(new RegExp("\\\\", "g"), "/").replace("生成成功:", "").trim();
|
|
82
|
+
if (u) {
|
|
83
|
+
let i = u.split("/");
|
|
84
|
+
for (let d = 0; d < i.length; d++) {
|
|
85
|
+
let h = i[d], v = K(i, d);
|
|
89
86
|
if (h) {
|
|
90
|
-
let
|
|
87
|
+
let p = {
|
|
91
88
|
title: h,
|
|
92
89
|
key: v
|
|
93
90
|
};
|
|
94
91
|
if (h != 0) {
|
|
95
|
-
let
|
|
96
|
-
|
|
92
|
+
let k = K(i, d - 1);
|
|
93
|
+
k && (p.pid = k);
|
|
97
94
|
}
|
|
98
|
-
|
|
95
|
+
d == i.length - 1 && (p.isLeaf = !0, p.path = u), (l.indexOf(v) < 0 || d == i.length - 1) && (t.push(p), l.push(v));
|
|
99
96
|
}
|
|
100
97
|
}
|
|
101
98
|
}
|
|
@@ -103,24 +100,24 @@ const ae = Y({
|
|
|
103
100
|
return t;
|
|
104
101
|
}
|
|
105
102
|
function J() {
|
|
106
|
-
|
|
103
|
+
b(), a("close");
|
|
107
104
|
}
|
|
108
105
|
function O() {
|
|
109
106
|
a("download");
|
|
110
107
|
}
|
|
111
|
-
function
|
|
108
|
+
function S(t) {
|
|
112
109
|
return t.endsWith("xml") ? "application/xml" : t.endsWith("sql") ? "text/x-sql" : t.endsWith("vue") ? "text/x-vue" : t.endsWith("ts") ? "text/typescript" : "text/x-java";
|
|
113
110
|
}
|
|
114
111
|
function P(t, l) {
|
|
115
|
-
return
|
|
112
|
+
return T(this, null, function* () {
|
|
116
113
|
let n = l.node.dataRef;
|
|
117
114
|
if (n.isLeaf) {
|
|
118
115
|
let e = n.path;
|
|
119
|
-
s[e] || (yield
|
|
116
|
+
s[e] || (yield X(e)), c.value = S(e), r.value = s[e];
|
|
120
117
|
}
|
|
121
118
|
});
|
|
122
119
|
}
|
|
123
|
-
function
|
|
120
|
+
function X(t) {
|
|
124
121
|
return new Promise((l) => {
|
|
125
122
|
let n = {
|
|
126
123
|
path: encodeURI(t),
|
|
@@ -128,35 +125,35 @@ const ae = Y({
|
|
|
128
125
|
};
|
|
129
126
|
Z.get({ url: "/online/cgform/api/codeView", params: n }, { isTransformResponse: !1 }).then((e) => {
|
|
130
127
|
if (!e || e.size === 0) {
|
|
131
|
-
|
|
128
|
+
A.warning("文件下载失败");
|
|
132
129
|
return;
|
|
133
130
|
} else if (e.message) {
|
|
134
|
-
|
|
131
|
+
A.warning(e.message);
|
|
135
132
|
return;
|
|
136
133
|
}
|
|
137
|
-
let
|
|
138
|
-
i.readAsText(
|
|
139
|
-
let
|
|
140
|
-
s[t] =
|
|
134
|
+
let u = new Blob([e]), i = new FileReader();
|
|
135
|
+
i.readAsText(u, "utf8"), i.onload = function() {
|
|
136
|
+
let d = this.result;
|
|
137
|
+
s[t] = d, l(1);
|
|
141
138
|
};
|
|
142
139
|
});
|
|
143
140
|
});
|
|
144
141
|
}
|
|
145
|
-
const
|
|
142
|
+
const E = m(24), j = m(14), q = m(30);
|
|
146
143
|
function U() {
|
|
147
144
|
let t = document.getElementsByClassName("resize"), l = document.getElementsByClassName("code-gen"), n = document.getElementsByClassName("left");
|
|
148
145
|
for (let e = 0; e < t.length; e++)
|
|
149
|
-
t[e].onmousedown = function(
|
|
150
|
-
let i = l[e].offsetWidth,
|
|
146
|
+
t[e].onmousedown = function(u) {
|
|
147
|
+
let i = l[e].offsetWidth, d = n[e].offsetWidth, h = u.clientX;
|
|
151
148
|
return document.onmousemove = function(v) {
|
|
152
|
-
let
|
|
153
|
-
if (
|
|
154
|
-
let
|
|
155
|
-
parseFloat("100") -
|
|
149
|
+
let p = v.clientX, k = Math.abs(p - h);
|
|
150
|
+
if (p > h) {
|
|
151
|
+
let L = parseFloat(((d + k) / i * 100).toFixed(4));
|
|
152
|
+
parseFloat("100") - L > q.value && (E.value = L);
|
|
156
153
|
}
|
|
157
|
-
if (
|
|
158
|
-
let
|
|
159
|
-
|
|
154
|
+
if (p < h) {
|
|
155
|
+
let L = parseFloat(((d - k) / i * 100).toFixed(4));
|
|
156
|
+
L > j.value && (E.value = L);
|
|
160
157
|
}
|
|
161
158
|
}, document.onmouseup = function(v) {
|
|
162
159
|
document.onmousemove = null, document.onmouseup = null, t[e].releaseCapture && t[e].releaseCapture();
|
|
@@ -164,25 +161,25 @@ const ae = Y({
|
|
|
164
161
|
};
|
|
165
162
|
}
|
|
166
163
|
return {
|
|
167
|
-
registerModal:
|
|
164
|
+
registerModal: R,
|
|
168
165
|
codeList: f,
|
|
169
166
|
onDownloadGenerateCode: O,
|
|
170
167
|
handleClose: J,
|
|
171
168
|
treeData: C,
|
|
172
169
|
showCodeContent: P,
|
|
173
170
|
activeCodeContent: r,
|
|
174
|
-
expandStatus:
|
|
175
|
-
height:
|
|
171
|
+
expandStatus: x,
|
|
172
|
+
height: F,
|
|
176
173
|
language: c,
|
|
177
|
-
prefixCls:
|
|
174
|
+
prefixCls: _,
|
|
178
175
|
modalHeight: 1e3,
|
|
179
|
-
defaultLeftWidthRate:
|
|
176
|
+
defaultLeftWidthRate: E
|
|
180
177
|
};
|
|
181
178
|
}
|
|
182
179
|
});
|
|
183
|
-
function re(o, a, f, y, C,
|
|
184
|
-
const
|
|
185
|
-
return
|
|
180
|
+
function re(o, a, f, y, C, x) {
|
|
181
|
+
const F = g("info-circle-two-tone"), c = g("a-directory-tree"), r = g("JCodeEditor"), s = g("a-empty"), R = g("a-row"), b = g("a-button"), _ = g("BasicModal");
|
|
182
|
+
return D(), W(_, {
|
|
186
183
|
height: o.modalHeight,
|
|
187
184
|
onRegister: o.registerModal,
|
|
188
185
|
okText: "",
|
|
@@ -194,38 +191,38 @@ function re(o, a, f, y, C, F) {
|
|
|
194
191
|
wrapClassName: o.prefixCls
|
|
195
192
|
}, {
|
|
196
193
|
title: w(() => [
|
|
197
|
-
|
|
198
|
-
a[1] || (a[1] =
|
|
194
|
+
N(F),
|
|
195
|
+
a[1] || (a[1] = $(" 代码在线预览 ", -1))
|
|
199
196
|
]),
|
|
200
197
|
footer: w(() => [
|
|
201
|
-
|
|
202
|
-
default: w(() => a[3] || (a[3] = [
|
|
203
|
-
|
|
204
|
-
])),
|
|
198
|
+
N(b, { onClick: o.handleClose }, {
|
|
199
|
+
default: w(() => [...a[3] || (a[3] = [
|
|
200
|
+
$("关闭", -1)
|
|
201
|
+
])]),
|
|
205
202
|
_: 1
|
|
206
203
|
}, 8, ["onClick"]),
|
|
207
|
-
|
|
204
|
+
N(b, {
|
|
208
205
|
type: "primary",
|
|
209
206
|
onClick: o.onDownloadGenerateCode
|
|
210
207
|
}, {
|
|
211
|
-
default: w(() => a[4] || (a[4] = [
|
|
212
|
-
|
|
213
|
-
])),
|
|
208
|
+
default: w(() => [...a[4] || (a[4] = [
|
|
209
|
+
$("下载到本地", -1)
|
|
210
|
+
])]),
|
|
214
211
|
_: 1
|
|
215
212
|
}, 8, ["onClick"])
|
|
216
213
|
]),
|
|
217
214
|
default: w(() => [
|
|
218
215
|
M("div", null, [
|
|
219
|
-
|
|
216
|
+
N(R, { class: "code-gen" }, {
|
|
220
217
|
default: w(() => [
|
|
221
218
|
M("div", {
|
|
222
219
|
class: "left",
|
|
223
|
-
style:
|
|
220
|
+
style: V([{ "border-right": "1px solid #eee" }, { width: `calc(${o.defaultLeftWidthRate}% - 2px)` }])
|
|
224
221
|
}, [
|
|
225
222
|
M("div", {
|
|
226
|
-
style:
|
|
223
|
+
style: V({ height: o.height + "px", overflowY: "auto" })
|
|
227
224
|
}, [
|
|
228
|
-
o.treeData.length ? (
|
|
225
|
+
o.treeData.length ? (D(), W(c, {
|
|
229
226
|
key: 0,
|
|
230
227
|
defaultExpandAll: !0,
|
|
231
228
|
"tree-data": o.treeData,
|
|
@@ -236,12 +233,12 @@ function re(o, a, f, y, C, F) {
|
|
|
236
233
|
a[2] || (a[2] = M("div", { class: "resize" }, null, -1)),
|
|
237
234
|
M("div", {
|
|
238
235
|
class: "right",
|
|
239
|
-
style:
|
|
236
|
+
style: V({ width: `calc(100% - ${o.defaultLeftWidthRate}% - 2px)` })
|
|
240
237
|
}, [
|
|
241
|
-
o.activeCodeContent ? (
|
|
238
|
+
o.activeCodeContent ? (D(), W(r, {
|
|
242
239
|
key: 0,
|
|
243
240
|
value: o.activeCodeContent,
|
|
244
|
-
"onUpdate:value": a[0] || (a[0] = (
|
|
241
|
+
"onUpdate:value": a[0] || (a[0] = (B) => o.activeCodeContent = B),
|
|
245
242
|
theme: "idea",
|
|
246
243
|
language: o.language,
|
|
247
244
|
fullScreen: !1,
|
|
@@ -249,7 +246,7 @@ function re(o, a, f, y, C, F) {
|
|
|
249
246
|
height: o.height + "px",
|
|
250
247
|
disabled: !0,
|
|
251
248
|
"language-change": !0
|
|
252
|
-
}, null, 8, ["value", "language", "height"])) : (
|
|
249
|
+
}, null, 8, ["value", "language", "height"])) : (D(), W(s, {
|
|
253
250
|
key: 1,
|
|
254
251
|
style: { "margin-top": "50px" },
|
|
255
252
|
description: "请选择左侧文件,显示详细代码"
|
|
@@ -263,7 +260,7 @@ function re(o, a, f, y, C, F) {
|
|
|
263
260
|
_: 1
|
|
264
261
|
}, 8, ["height", "onRegister", "onOk", "wrapClassName"]);
|
|
265
262
|
}
|
|
266
|
-
const
|
|
263
|
+
const ve = /* @__PURE__ */ ie(ae, [["render", re]]);
|
|
267
264
|
export {
|
|
268
|
-
|
|
265
|
+
ve as default
|
|
269
266
|
};
|
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
var F = (t, a, d) => new Promise((_, u) => {
|
|
2
|
+
var T = (s) => {
|
|
3
|
+
try {
|
|
4
|
+
l(d.next(s));
|
|
5
|
+
} catch (g) {
|
|
6
|
+
u(g);
|
|
7
|
+
}
|
|
8
|
+
}, f = (s) => {
|
|
9
|
+
try {
|
|
10
|
+
l(d.throw(s));
|
|
11
|
+
} catch (g) {
|
|
12
|
+
u(g);
|
|
13
|
+
}
|
|
14
|
+
}, l = (s) => s.done ? _(s.value) : Promise.resolve(s.value).then(T, f);
|
|
15
|
+
l((d = d.apply(t, a)).next());
|
|
16
|
+
});
|
|
17
|
+
import { defineComponent as ce, ref as M, computed as $, reactive as R, nextTick as me, h as E, resolveComponent as c, createElementBlock as pe, openBlock as k, Fragment as de, createVNode as m, withCtx as i, createBlock as I, createCommentVNode as D, createTextVNode as A, createElementVNode as U, mergeProps as ue } from "vue";
|
|
18
|
+
import { defHttp as H } from "/@/utils/http/axios";
|
|
19
|
+
import { BasicForm as fe, useForm as ge } from "/@/components/Form";
|
|
20
|
+
import { BasicModal as be, useModalInner as ve, useModal as q } from "/@/components/Modal";
|
|
21
|
+
import { JVxeTypes as J } from "/@/components/jeecg/JVxeTable/types";
|
|
22
|
+
import { b as _e } from "./useSchemas-svH7q1tm.mjs";
|
|
23
|
+
import { underLine2CamelCase as K } from "/@/utils/common/compUtils";
|
|
24
|
+
import Ne from "./CodeFileListModal-C3uqsFvi.mjs";
|
|
25
|
+
import Ce from "./FileSelectModal-DXqL5msQ.mjs";
|
|
26
|
+
import { message as Me } from "ant-design-vue";
|
|
27
|
+
import { useDesign as ye } from "/@/hooks/web/useDesign";
|
|
28
|
+
import { createLocalStorage as he } from "/@/utils/cache";
|
|
29
|
+
import { useMessage as Te } from "/@/hooks/web/useMessage";
|
|
30
|
+
import { _ as we } from "./index-0kQBIHx0.mjs";
|
|
31
|
+
const Se = he(), { notification: je } = Te(), Pe = ce({
|
|
32
|
+
name: "CodeGenerator",
|
|
33
|
+
components: { BasicForm: fe, BasicModal: be, FileSelectModal: Ce, CodeFileListModal: Ne },
|
|
34
|
+
emits: ["register"],
|
|
35
|
+
setup(t) {
|
|
36
|
+
const a = "JEECG_ONL_PROJECT_PATH", d = "JEECG_ONL_PROJECT_NAME", _ = M(!0), u = M(), T = $(() => _.value ? 800 : 1200), f = M("代码生成"), l = M(!1), { prefixCls: s } = ye("code-generator-modal"), g = s, y = M(""), w = R({
|
|
37
|
+
projectPath: "",
|
|
38
|
+
packageStyle: "service",
|
|
39
|
+
jspMode: "",
|
|
40
|
+
jformType: "1",
|
|
41
|
+
tableName_tmp: "",
|
|
42
|
+
ftlDescription: "",
|
|
43
|
+
entityName: "",
|
|
44
|
+
codeTypes: "controller,service,dao,mapper,entity,vue"
|
|
45
|
+
}), o = R({}), h = M([]), N = R({
|
|
46
|
+
dataSource: [],
|
|
47
|
+
columns: [
|
|
48
|
+
{
|
|
49
|
+
title: "子表名",
|
|
50
|
+
key: "tableName",
|
|
51
|
+
type: J.input,
|
|
52
|
+
disabled: !0,
|
|
53
|
+
validateRules: [{ required: !0, message: "请输入${title}" }]
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
title: "子表实体",
|
|
57
|
+
key: "entityName",
|
|
58
|
+
type: J.input,
|
|
59
|
+
validateRules: [{ required: !0, message: "请输入${title}" }]
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
title: "功能说明",
|
|
63
|
+
key: "ftlDescription",
|
|
64
|
+
type: J.input,
|
|
65
|
+
validateRules: [{ required: !0, message: "请输入${title}" }]
|
|
66
|
+
}
|
|
67
|
+
]
|
|
68
|
+
}), S = $(() => N.dataSource.length > 0), { formSchemas: C } = _e(
|
|
69
|
+
t,
|
|
70
|
+
{
|
|
71
|
+
onProjectPathChange: ie,
|
|
72
|
+
onProjectPathSearch: oe,
|
|
73
|
+
jspModeOptions: h
|
|
74
|
+
},
|
|
75
|
+
_
|
|
76
|
+
), [j, { resetFields: L, setFieldsValue: O, validate: W }] = ge({
|
|
77
|
+
schemas: C,
|
|
78
|
+
showActionButtonGroup: !1,
|
|
79
|
+
labelAlign: "right"
|
|
80
|
+
}), [x, { closeModal: V }] = ve((e) => F(null, null, function* () {
|
|
81
|
+
yield L(), y.value = e.code, l.value = !1, N.dataSource = [], h.value = [], ne(), Object.assign(o, w), z();
|
|
82
|
+
}));
|
|
83
|
+
function z() {
|
|
84
|
+
return F(this, null, function* () {
|
|
85
|
+
let { main: e, sub: n, jspModeList: b, projectPath: p } = yield H.get({
|
|
86
|
+
url: "/online/cgform/head/tableInfo",
|
|
87
|
+
params: { code: y.value }
|
|
88
|
+
}), r = [];
|
|
89
|
+
for (let v of b) {
|
|
90
|
+
const { code: G, note: re } = v;
|
|
91
|
+
G == "many" || r.push({
|
|
92
|
+
label: re,
|
|
93
|
+
value: G
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
h.value = r, e.isTree == "Y" ? o.jspMode = "tree" : r.find((v) => v.value === e.themeTemplate) ? o.jspMode = e.themeTemplate : o.jspMode = r[0].value, _.value = e.tableType == 1, f.value = "代码生成【" + e.tableName + "】", o.projectPath || (o.projectPath = p, window.localStorage.setItem(a, p));
|
|
97
|
+
const P = localStorage.getItem(d);
|
|
98
|
+
P && (o.entityPackage = P), o.jformType = e.tableType + "", o.tableName_tmp = e.tableName, o.ftlDescription = e.tableTxt;
|
|
99
|
+
let B = K(e.tableName);
|
|
100
|
+
o.entityName = B.substring(0, 1).toUpperCase() + B.substring(1), yield me(), O(o), n && n.length > 0 && (N.dataSource = n.map((v) => ({
|
|
101
|
+
tableName: v.tableName,
|
|
102
|
+
entityName: se(v.tableName),
|
|
103
|
+
ftlDescription: v.tableTxt
|
|
104
|
+
})));
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
const [Q, { openModal: Y }] = q();
|
|
108
|
+
function X() {
|
|
109
|
+
return F(this, null, function* () {
|
|
110
|
+
try {
|
|
111
|
+
const e = yield W();
|
|
112
|
+
let n = Object.assign({}, e, { code: y.value, tableName: e.tableName_tmp });
|
|
113
|
+
if (S.value) {
|
|
114
|
+
if (yield u.value.validateTable())
|
|
115
|
+
return;
|
|
116
|
+
n.subList = u.value.getTableData();
|
|
117
|
+
}
|
|
118
|
+
l.value = !0;
|
|
119
|
+
let b = yield Z(n);
|
|
120
|
+
Y(!0, {
|
|
121
|
+
codeList: b.codeList,
|
|
122
|
+
pathKey: b.pathKey,
|
|
123
|
+
tableName: e.tableName_tmp
|
|
124
|
+
}), b.codeList.some(
|
|
125
|
+
(r) => r.includes("src/views/") || r.includes("src\\views\\")
|
|
126
|
+
) ? Se.set(
|
|
127
|
+
"code.genenrate.success.msg",
|
|
128
|
+
`表【${e.tableName_tmp}】代码生成成功!前端代码已自动刷新,Java后台需重启生效!`,
|
|
129
|
+
15
|
|
130
|
+
) : je.success({
|
|
131
|
+
message: `表【${e.tableName_tmp}】代码生成成功`,
|
|
132
|
+
description: E("div", [
|
|
133
|
+
"1. 前端代码请迁移到 VUE3项目",
|
|
134
|
+
E("br"),
|
|
135
|
+
"2. 菜单SQL放到jeecg-system-start的flyway目录",
|
|
136
|
+
E("br"),
|
|
137
|
+
"3. Java 后台需重启生效"
|
|
138
|
+
]),
|
|
139
|
+
duration: 5
|
|
140
|
+
}), V(), localStorage.setItem(d, e.entityPackage);
|
|
141
|
+
} catch (e) {
|
|
142
|
+
} finally {
|
|
143
|
+
l.value = !1;
|
|
144
|
+
}
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
function Z(e) {
|
|
148
|
+
return new Promise((n, b) => {
|
|
149
|
+
H.post({ url: "/online/cgform/api/codeGenerate", params: e }, { isTransformResponse: !1 }).then((p) => {
|
|
150
|
+
if (p.success) {
|
|
151
|
+
let r = p.result, P = p.message;
|
|
152
|
+
n({
|
|
153
|
+
codeList: r,
|
|
154
|
+
pathKey: P
|
|
155
|
+
});
|
|
156
|
+
} else
|
|
157
|
+
Me.error(p.message), b(p.message);
|
|
158
|
+
});
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
function ee() {
|
|
162
|
+
V();
|
|
163
|
+
}
|
|
164
|
+
const [te, ae] = q();
|
|
165
|
+
function oe() {
|
|
166
|
+
ae.openModal(!0, {});
|
|
167
|
+
}
|
|
168
|
+
function le(e) {
|
|
169
|
+
window.localStorage.setItem(a, e), O({ projectPath: e });
|
|
170
|
+
}
|
|
171
|
+
function se(e) {
|
|
172
|
+
let n = K(e);
|
|
173
|
+
return n.substring(0, 1).toUpperCase() + n.substring(1);
|
|
174
|
+
}
|
|
175
|
+
function ne() {
|
|
176
|
+
let e = window.localStorage.getItem(a);
|
|
177
|
+
e && (w.projectPath = e);
|
|
178
|
+
}
|
|
179
|
+
function ie(e) {
|
|
180
|
+
e.target.value && window.localStorage.setItem(a, e.target.value);
|
|
181
|
+
}
|
|
182
|
+
return {
|
|
183
|
+
title: f,
|
|
184
|
+
modalWidth: T,
|
|
185
|
+
confirmLoading: l,
|
|
186
|
+
subTable: N,
|
|
187
|
+
showSubTable: S,
|
|
188
|
+
onSubmit: X,
|
|
189
|
+
onCancel: ee,
|
|
190
|
+
onFileSelect: le,
|
|
191
|
+
registerFileSelectModal: te,
|
|
192
|
+
subTableRef: u,
|
|
193
|
+
registerForm: j,
|
|
194
|
+
registerModal: x,
|
|
195
|
+
registerCodeFileListModal: Q,
|
|
196
|
+
wrapClassName: g
|
|
197
|
+
};
|
|
198
|
+
}
|
|
199
|
+
});
|
|
200
|
+
function Fe(t, a, d, _, u, T) {
|
|
201
|
+
const f = c("a-radio"), l = c("a-tooltip"), s = c("a-radio-group"), g = c("BasicForm"), y = c("JVxeTable"), w = c("a-card"), o = c("a-spin"), h = c("BasicModal"), N = c("FileSelectModal"), S = c("code-file-list-modal");
|
|
202
|
+
return k(), pe(de, null, [
|
|
203
|
+
m(h, {
|
|
204
|
+
onRegister: t.registerModal,
|
|
205
|
+
title: t.title,
|
|
206
|
+
width: t.modalWidth,
|
|
207
|
+
confirmLoading: t.confirmLoading,
|
|
208
|
+
okText: "开始生成",
|
|
209
|
+
cancelText: "取消",
|
|
210
|
+
onOk: t.onSubmit,
|
|
211
|
+
onCancel: t.onCancel,
|
|
212
|
+
wrapClassName: t.wrapClassName
|
|
213
|
+
}, {
|
|
214
|
+
default: i(() => [
|
|
215
|
+
m(o, { spinning: t.confirmLoading }, {
|
|
216
|
+
default: i(() => [
|
|
217
|
+
m(g, { onRegister: t.registerForm }, {
|
|
218
|
+
pageCode: i(({ model: C, field: j }) => [
|
|
219
|
+
m(s, {
|
|
220
|
+
value: C[j],
|
|
221
|
+
"onUpdate:value": (L) => C[j] = L
|
|
222
|
+
}, {
|
|
223
|
+
default: i(() => [
|
|
224
|
+
m(l, { placement: "top" }, {
|
|
225
|
+
title: i(() => [...a[0] || (a[0] = [
|
|
226
|
+
U("span", null, "深度封装表单,用户只需定义字段json即可渲染表单,优点简单便捷,缺点扩展有难度", -1)
|
|
227
|
+
])]),
|
|
228
|
+
default: i(() => [
|
|
229
|
+
m(f, { value: "vue3" }, {
|
|
230
|
+
default: i(() => [...a[1] || (a[1] = [
|
|
231
|
+
A("封装表单(BasicForm)", -1)
|
|
232
|
+
])]),
|
|
233
|
+
_: 1
|
|
234
|
+
})
|
|
235
|
+
]),
|
|
236
|
+
_: 1
|
|
237
|
+
}),
|
|
238
|
+
m(l, { placement: "top" }, {
|
|
239
|
+
title: i(() => [...a[2] || (a[2] = [
|
|
240
|
+
U("span", null, "antd的原生表单,所有字段都需要硬编码,缺点编码繁琐,优点扩展容易", -1)
|
|
241
|
+
])]),
|
|
242
|
+
default: i(() => [
|
|
243
|
+
C.jspMode == "innerTable" || C.jspMode == "tab" ? D("", !0) : (k(), I(f, {
|
|
244
|
+
key: 0,
|
|
245
|
+
value: "vue3Native"
|
|
246
|
+
}, {
|
|
247
|
+
default: i(() => [...a[3] || (a[3] = [
|
|
248
|
+
A("原生表单(a-form)", -1)
|
|
249
|
+
])]),
|
|
250
|
+
_: 1
|
|
251
|
+
}))
|
|
252
|
+
]),
|
|
253
|
+
_: 2
|
|
254
|
+
}, 1024)
|
|
255
|
+
]),
|
|
256
|
+
_: 2
|
|
257
|
+
}, 1032, ["value", "onUpdate:value"])
|
|
258
|
+
]),
|
|
259
|
+
_: 1
|
|
260
|
+
}, 8, ["onRegister"]),
|
|
261
|
+
t.showSubTable ? (k(), I(w, {
|
|
262
|
+
key: 0,
|
|
263
|
+
title: "子表信息",
|
|
264
|
+
size: "small"
|
|
265
|
+
}, {
|
|
266
|
+
default: i(() => [
|
|
267
|
+
m(y, ue({
|
|
268
|
+
ref: "subTableRef",
|
|
269
|
+
rowNumber: "",
|
|
270
|
+
maxHeight: 580
|
|
271
|
+
}, t.subTable), null, 16)
|
|
272
|
+
]),
|
|
273
|
+
_: 1
|
|
274
|
+
})) : D("", !0)
|
|
275
|
+
]),
|
|
276
|
+
_: 1
|
|
277
|
+
}, 8, ["spinning"])
|
|
278
|
+
]),
|
|
279
|
+
_: 1
|
|
280
|
+
}, 8, ["onRegister", "title", "width", "confirmLoading", "onOk", "onCancel", "wrapClassName"]),
|
|
281
|
+
m(N, {
|
|
282
|
+
onRegister: t.registerFileSelectModal,
|
|
283
|
+
onSelect: t.onFileSelect
|
|
284
|
+
}, null, 8, ["onRegister", "onSelect"]),
|
|
285
|
+
m(S, { onRegister: t.registerCodeFileListModal }, null, 8, ["onRegister"])
|
|
286
|
+
], 64);
|
|
287
|
+
}
|
|
288
|
+
const qe = /* @__PURE__ */ we(Pe, [["render", Fe]]);
|
|
289
|
+
export {
|
|
290
|
+
qe as default
|
|
291
|
+
};
|