@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.
Files changed (170) hide show
  1. package/{AccountLoginForm-634a76b1.mjs → AccountLoginForm-BXyvcSds.mjs} +50 -53
  2. package/{AiModal-204a2146.mjs → AiModal-BgVzn074.mjs} +18 -20
  3. package/{AppForgetPassword-f9a6258a.mjs → AppForgetPassword-B-2CvL62.mjs} +59 -63
  4. package/AppLogin-BMBmx2oq.mjs +272 -0
  5. package/AppLoginHeader-BtKXOMRR.mjs +23 -0
  6. package/{AppNameEmail-54026ea8.mjs → AppNameEmail-DCqMNjaK.mjs} +20 -24
  7. package/{AppRegister-043efc45.mjs → AppRegister-C5iH-245.mjs} +33 -37
  8. package/{AppTenant-c7bb8700.mjs → AppTenant-etPXeUcW.mjs} +49 -55
  9. package/AppThirdForm-NMob-JaS.mjs +185 -0
  10. package/AuthButtonConfig-zUioaGwn.mjs +155 -0
  11. package/AuthButtonTree-DYZwphe6.mjs +159 -0
  12. package/{AuthDataConfig-3cd10ca2.mjs → AuthDataConfig-uQ5WT7rx.mjs} +57 -62
  13. package/AuthDataTree-Cr28_YKx.mjs +134 -0
  14. package/{AuthFieldConfig-bb65f78b.mjs → AuthFieldConfig-DjdaPIXF.mjs} +95 -101
  15. package/{AuthFieldTree-3e38b12b.mjs → AuthFieldTree-DHmnDQ0I.mjs} +94 -99
  16. package/AuthManagerDrawer-DUb6QylS.mjs +108 -0
  17. package/{AuthSetterModal-f176c221.mjs → AuthSetterModal-BBFdNv1M.mjs} +89 -100
  18. package/BuiltInButtonList-Cgg5maxI.mjs +4 -0
  19. package/{BuiltInButtonList.vue_vue_type_script_setup_true_lang-07d0b7d0.mjs → BuiltInButtonList.vue_vue_type_script_setup_true_lang-5-4hU0bi.mjs} +8 -8
  20. package/{CgformAddressModal-a3903b24.mjs → CgformAddressModal-BVoww1fk.mjs} +57 -63
  21. package/CgformCopyList-7e96RMbJ.mjs +176 -0
  22. package/{CgformModal-115710a6.mjs → CgformModal-RH-Tr08S.mjs} +240 -241
  23. package/{CgreportAigcModal-3bef8abe.mjs → CgreportAigcModal-rEfIpPF9.mjs} +35 -38
  24. package/{CgreportModal-0cc48587.mjs → CgreportModal-Bajb_3ku.mjs} +49 -50
  25. package/{CheckDictTable-65157c48.mjs → CheckDictTable-BxJFrctQ.mjs} +44 -52
  26. package/{CodeFileListModal-305c1a62.mjs → CodeFileListModal-C3uqsFvi.mjs} +32 -36
  27. package/{CodeFileViewModal-320d7acf.mjs → CodeFileViewModal-bEtZDbAY.mjs} +78 -81
  28. package/CodeGeneratorModal-ZWEIXRbY.mjs +291 -0
  29. package/{CustomButtonList-98db8fd2.mjs → CustomButtonList-7wjonhtu.mjs} +82 -85
  30. package/{DBAttributeTable-56701599.mjs → DBAttributeTable-DA2XttIQ.mjs} +50 -60
  31. package/{DbToOnlineModal-a82cdeb5.mjs → DbToOnlineModal-CDVqmEJH.mjs} +43 -45
  32. package/DetailForm-CnfJBMys.mjs +472 -0
  33. package/{DropMenuItem-b3a9cd6a.mjs → DropMenuItem-D8YWMle-.mjs} +8 -11
  34. package/EnhanceJavaModal-W8_oGY-U.mjs +255 -0
  35. package/{EnhanceJsHistory-bb6ba865.mjs → EnhanceJsHistory-ZzXedCNI.mjs} +48 -49
  36. package/{EnhanceJsModal-b0527cbf.mjs → EnhanceJsModal-Djb5ItH4.mjs} +95 -104
  37. package/EnhanceSqlModal-DxPdRcQc.mjs +258 -0
  38. package/ErrorTip-BDS1uxkW.mjs +4 -0
  39. package/{ErrorTip.vue_vue_type_script_setup_true_lang-49d35987.mjs → ErrorTip.vue_vue_type_script_setup_true_lang-Bl9zMjvW.mjs} +11 -11
  40. package/ExtendConfigModal-CxJIWvV4.mjs +102 -0
  41. package/{FieldExtendJsonModal-536e6d5b.mjs → FieldExtendJsonModal-Bvmbb6yd.mjs} +27 -30
  42. package/{FileSelectModal-eb026170.mjs → FileSelectModal-DXqL5msQ.mjs} +27 -31
  43. package/{ForeignKeyTable-97a5827f.mjs → ForeignKeyTable-D6AlLbfd.mjs} +17 -25
  44. package/{IndexTable-4d350e4e.mjs → IndexTable-B7ef6Aox.mjs} +9 -17
  45. package/JModalTip-DHrn6ksJ.mjs +46 -0
  46. package/{JOnlineSearchSelect-ffeac61d.mjs → JOnlineSearchSelect-CAv2Dm9V.mjs} +21 -23
  47. package/{LeftDepart-a727aab7.mjs → LeftDepart-BC1jpYJP.mjs} +8 -11
  48. package/{LeftRole-b533dcf6.mjs → LeftRole-sq_2p6Qk.mjs} +16 -19
  49. package/{LeftUser-aaac52cb.mjs → LeftUser-CYh4PBgd.mjs} +7 -10
  50. package/{LinkTableConfigModal-4053b62d.mjs → LinkTableConfigModal-BOWs0A5-.mjs} +38 -40
  51. package/{LinkTableFieldConfigModal-93552099.mjs → LinkTableFieldConfigModal-D7FTBP3E.mjs} +50 -52
  52. package/LinkTableListPiece-Bfu6vfo0.mjs +31 -0
  53. package/{ModalFormDemo-b8478356.mjs → ModalFormDemo-C1qQT6lj.mjs} +13 -16
  54. package/{OnlCgformErpList-b0605798.mjs → OnlCgformErpList-CavWG8GK.mjs} +139 -199
  55. package/OnlCgformErpSubTable-D3QM8oWi.mjs +382 -0
  56. package/OnlCgformInnerSubTable-BqmooFqy.mjs +213 -0
  57. package/OnlCgformInnerTableList-Dr1KdoSC.mjs +421 -0
  58. package/OnlCgformTabList-DCy3oudh.mjs +371 -0
  59. package/OnlineAutoList-C4pkORGb.mjs +500 -0
  60. package/OnlineAutoModal-Cuf_wcbU.mjs +222 -0
  61. package/{OnlineAutoTreeList-624106c1.mjs → OnlineAutoTreeList-LDE9Sm7X.mjs} +124 -181
  62. package/OnlineCustomModal-Jz4MxkH0.mjs +209 -0
  63. package/OnlineDetailModal-So0YEah1.mjs +160 -0
  64. package/{OnlineForm-86b5966d.mjs → OnlineForm-CvcbzRIZ.mjs} +47 -73
  65. package/OnlineFormDetail-KaD6cV31.mjs +321 -0
  66. package/OnlineFormUrlAdd-CktstdFD.mjs +86 -0
  67. package/OnlineFormUrlDetail-C4qptuTQ.mjs +85 -0
  68. package/OnlineFormUrlEdit-C06vTiM_.mjs +84 -0
  69. package/{OnlineFormUrlSuccess-0c2431a4.mjs → OnlineFormUrlSuccess-Cvbte2lW.mjs} +27 -30
  70. package/{OnlineQueryForm-3017a4ca.mjs → OnlineQueryForm-6E1IRi95.mjs} +139 -167
  71. package/{OnlineSearchFormItem-1b54585f.mjs → OnlineSearchFormItem-CdRuXQPu.mjs} +112 -118
  72. package/{OnlineSelectCascade-fab4426d.mjs → OnlineSelectCascade-O7iXAgdH.mjs} +31 -33
  73. package/OnlineSubFormDetail-DcMpAk8Z.mjs +109 -0
  74. package/OnlineTabAutoModal-DSOVDlOz.mjs +285 -0
  75. package/OnlineTabDetailModal-OXQ_2VLI.mjs +187 -0
  76. package/{OnlineTabForm-5c04cbc5.mjs → OnlineTabForm-Cg3_IX2H.mjs} +228 -253
  77. package/OnlineTabFormDetail-BgFkUkva.mjs +299 -0
  78. package/{PageAttributeTable-18aabf81.mjs → PageAttributeTable-C803SekP.mjs} +46 -59
  79. package/{PhoneLoginForm-4a9d7869.mjs → PhoneLoginForm-8a0Uehov.mjs} +40 -43
  80. package/ProcessOnlineForm-COeEaGc8.mjs +182 -0
  81. package/{QueryTable-342fd89a.mjs → QueryTable-DHYaYbKC.mjs} +23 -31
  82. package/SetSwitchOptions-B4Q6l-54.mjs +58 -0
  83. package/ShareAddView-CxZuNTQB.mjs +11 -0
  84. package/ShareEditView-Dqdzjmpc.mjs +17 -0
  85. package/ShareView-B9TiMmkR.mjs +4 -0
  86. package/{ShareView.vue_vue_type_script_setup_true_lang-9ea579c2.mjs → ShareView.vue_vue_type_script_setup_true_lang-BCdP9KMD.mjs} +21 -21
  87. package/SingleView-BDXeMLV-.mjs +4 -0
  88. package/{SingleView.vue_vue_type_style_index_0_lang-24d417dc.mjs → SingleView.vue_vue_type_style_index_0_lang-D3QcMcYT.mjs} +27 -27
  89. package/{SuperQuery-270b0968.mjs → SuperQuery-CgkajEWI.mjs} +342 -370
  90. package/SuperQueryValComponent-UO10kRg5.mjs +4 -0
  91. package/TaskOpinionList-C8rcU6ee.mjs +10 -0
  92. package/{aiModal-e7362c3f.mjs → aiModal-DTU-w5Xx.mjs} +33 -36
  93. package/{enhance.data-6601ff44.mjs → enhance.data-DRCzy5Bx.mjs} +5 -5
  94. package/index-0kQBIHx0.mjs +58 -0
  95. package/{index-b811abb9.mjs → index-B1H394jP.mjs} +35 -38
  96. package/index-CXD6__bJ.mjs +195 -0
  97. package/{index-6d1a78e2.mjs → index-DIjQbz6A.mjs} +37 -41
  98. package/{index-e2c3e6f3.mjs → index-Dbr1qL3H.mjs} +474 -608
  99. package/{index-19eaef11.mjs → index-dmWvLQET.mjs} +2 -2
  100. package/{index-d95bb7c2.mjs → index-pGbTziKP.mjs} +32 -44
  101. package/{index-b5fe9bd4.mjs → index-siZ6JDIW.mjs} +17 -20
  102. package/main.index.js +8 -9
  103. package/online.css +1 -0
  104. package/package.json +1 -1
  105. package/{useCgformList-6d5547ff.mjs → useCgformList-_o9GP7ca.mjs} +3 -3
  106. package/useExtendComponent-P9wrWQwT.mjs +4479 -0
  107. package/{useListButton-73071548.mjs → useListButton-DyOAscwT.mjs} +7 -9
  108. package/{useSchemas-b074f3a1.mjs → useSchemas-svH7q1tm.mjs} +69 -42
  109. package/{useTableSync-dbfba20e.mjs → useTableSync-BAWujyoc.mjs} +1 -1
  110. package/{utils-9fce7606.mjs → utils-DcQ65Qmw.mjs} +1 -1
  111. package/AppLogin-bf783eab.mjs +0 -287
  112. package/AppLoginHeader-55594326.mjs +0 -27
  113. package/AppThirdForm-5e7e1144.mjs +0 -189
  114. package/AuthButtonConfig-4887be0d.mjs +0 -160
  115. package/AuthButtonTree-7e47b44b.mjs +0 -165
  116. package/AuthDataTree-714c259c.mjs +0 -139
  117. package/AuthManagerDrawer-dee39b07.mjs +0 -119
  118. package/BuiltInButtonList-bb6cf95c.mjs +0 -10
  119. package/CgformCopyList-4be1000f.mjs +0 -259
  120. package/CodeGeneratorModal-2ba18bd1.mjs +0 -298
  121. package/DetailForm-7d4f630e.mjs +0 -497
  122. package/EnhanceJavaModal-469e645e.mjs +0 -264
  123. package/EnhanceSqlModal-c6e8bce1.mjs +0 -268
  124. package/ErrorTip-bb616e32.mjs +0 -7
  125. package/ExtendConfigModal-7b00b49a.mjs +0 -117
  126. package/JModalTip-c3e6726c.mjs +0 -49
  127. package/LinkTableListPiece-0f4ca559.mjs +0 -34
  128. package/OnlCgformErpSubTable-89699bc9.mjs +0 -443
  129. package/OnlCgformInnerSubTable-f2722f77.mjs +0 -269
  130. package/OnlCgformInnerTableList-992aa7e9.mjs +0 -481
  131. package/OnlCgformTabList-882a0e0c.mjs +0 -431
  132. package/OnlineAutoList-caedb54a.mjs +0 -558
  133. package/OnlineAutoModal-a0d1a6b8.mjs +0 -260
  134. package/OnlineCustomModal-f4e17bed.mjs +0 -246
  135. package/OnlineDetailModal-35394778.mjs +0 -198
  136. package/OnlineForm.vue_vue_type_style_index_0_scoped_60bd1850_lang-4ed993c7.mjs +0 -1
  137. package/OnlineFormDetail-4b3ad130.mjs +0 -349
  138. package/OnlineFormUrlAdd-708c91fb.mjs +0 -116
  139. package/OnlineFormUrlDetail-5c8efaeb.mjs +0 -121
  140. package/OnlineFormUrlEdit-8f08474e.mjs +0 -114
  141. package/OnlineSubFormDetail-bbc48c3e.mjs +0 -147
  142. package/OnlineTabAutoModal-b0f9fce8.mjs +0 -319
  143. package/OnlineTabDetailModal-401a26ad.mjs +0 -226
  144. package/OnlineTabFormDetail-2a28febf.mjs +0 -328
  145. package/ProcessOnlineForm-0ddce4fb.mjs +0 -218
  146. package/SetSwitchOptions-e1d5a6b4.mjs +0 -62
  147. package/ShareAddView-a5154da3.mjs +0 -88
  148. package/ShareEditView-cf761cf3.mjs +0 -94
  149. package/ShareView-3b2f5457.mjs +0 -82
  150. package/SingleView-3cab20a9.mjs +0 -70
  151. package/SuperQueryValComponent-5a9ccfd4.mjs +0 -8
  152. package/TaskOpinionList-60cf4080.mjs +0 -13
  153. package/index-740b2c4a.mjs +0 -57
  154. package/index-8fd12d0f.mjs +0 -219
  155. package/style.css +0 -1
  156. package/useExtendComponent-95ce0719.mjs +0 -4460
  157. /package/{SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs → SuperQueryValComponent.vue_vue_type_script_lang-BM-iwlLi.mjs} +0 -0
  158. /package/{auth.api-53df4c33.mjs → auth.api-2QmzY0ji.mjs} +0 -0
  159. /package/{auth.data-e44c7975.mjs → auth.data-Cp8D9uZ7.mjs} +0 -0
  160. /package/{button.data-fe45d43b.mjs → button.data-CyUX77GQ.mjs} +0 -0
  161. /package/{cgform.data-0ca62d09.mjs → cgform.data-CviSPXEg.mjs} +0 -0
  162. /package/{cgformState-d9f8ec42.mjs → cgformState-CUyRXfhW.mjs} +0 -0
  163. /package/{constant-fa63bd66.mjs → constant-DnbpmwZg.mjs} +0 -0
  164. /package/{enhance.api-138e6826.mjs → enhance.api-BqHb-YGL.mjs} +0 -0
  165. /package/{index-5e89258d.mjs → index-aVGkB_J9.mjs} +0 -0
  166. /package/{shareStore-7de6c7a6.mjs → shareStore-k-kzyga5.mjs} +0 -0
  167. /package/{useCustomHook-3a17a690.mjs → useCustomHook-B35kFqDB.mjs} +0 -0
  168. /package/{useFormUrl-2ee1a82d.mjs → useFormUrl-D8ASmaz6.mjs} +0 -0
  169. /package/{useOnlinePopEvent-687070b7.mjs → useOnlinePopEvent-FOvbs0Ta.mjs} +0 -0
  170. /package/{useOnlineTest-e4bd8be3.mjs → useOnlineTest-_onDRxjY.mjs} +0 -0
@@ -1,57 +1,57 @@
1
- var ze = Object.defineProperty, Xe = Object.defineProperties;
2
- var We = Object.getOwnPropertyDescriptors;
1
+ var ze = Object.defineProperty, Ge = Object.defineProperties;
2
+ var Xe = Object.getOwnPropertyDescriptors;
3
3
  var re = Object.getOwnPropertySymbols;
4
- var Ze = Object.prototype.hasOwnProperty, ea = Object.prototype.propertyIsEnumerable;
5
- var ue = (a, l, c) => l in a ? ze(a, l, { enumerable: !0, configurable: !0, writable: !0, value: c }) : a[l] = c, P = (a, l) => {
4
+ var We = Object.prototype.hasOwnProperty, Ze = Object.prototype.propertyIsEnumerable;
5
+ var de = (a, l, c) => l in a ? ze(a, l, { enumerable: !0, configurable: !0, writable: !0, value: c }) : a[l] = c, M = (a, l) => {
6
6
  for (var c in l || (l = {}))
7
- Ze.call(l, c) && ue(a, c, l[c]);
7
+ We.call(l, c) && de(a, c, l[c]);
8
8
  if (re)
9
9
  for (var c of re(l))
10
- ea.call(l, c) && ue(a, c, l[c]);
10
+ Ze.call(l, c) && de(a, c, l[c]);
11
11
  return a;
12
- }, de = (a, l) => Xe(a, We(l));
13
- var D = (a, l, c) => new Promise((E, h) => {
14
- var g = (T) => {
12
+ }, ue = (a, l) => Ge(a, Xe(l));
13
+ var D = (a, l, c) => new Promise((A, h) => {
14
+ var y = (g) => {
15
15
  try {
16
- F(c.next(T));
16
+ C(c.next(g));
17
17
  } catch (p) {
18
18
  h(p);
19
19
  }
20
- }, w = (T) => {
20
+ }, k = (g) => {
21
21
  try {
22
- F(c.throw(T));
22
+ C(c.throw(g));
23
23
  } catch (p) {
24
24
  h(p);
25
25
  }
26
- }, F = (T) => T.done ? E(T.value) : Promise.resolve(T.value).then(g, w);
27
- F((c = c.apply(a, l)).next());
26
+ }, C = (g) => g.done ? A(g.value) : Promise.resolve(g.value).then(y, k);
27
+ C((c = c.apply(a, l)).next());
28
28
  });
29
- import { defineComponent as aa, ref as y, computed as ce, provide as be, reactive as ta, nextTick as Z, toRaw as la, resolveComponent as m, openBlock as _, createBlock as ee, mergeProps as na, withCtx as b, createElementVNode as M, createVNode as u, createTextVNode as B, createElementBlock as ae, Fragment as oa, renderList as ia, toDisplayString as sa, createCommentVNode as te } from "vue";
30
- import { Icon as ra } from "/@/components/Icon";
31
- import { BasicModal as ua, useModalInner as da, useModal as ca } from "/@/components/Modal";
32
- import { BasicForm as ba, useForm as fa } from "/@/components/Form/index";
33
- import { useMessage as ma } from "/@/hooks/web/useMessage";
34
- import { u as pa } from "./useSchemas-b074f3a1.mjs";
35
- import ga from "./DBAttributeTable-56701599.mjs";
36
- import Ta from "./PageAttributeTable-18aabf81.mjs";
37
- import ya from "./CheckDictTable-65157c48.mjs";
38
- import va from "./ForeignKeyTable-97a5827f.mjs";
39
- import ha from "./IndexTable-4d350e4e.mjs";
40
- import Fa from "./QueryTable-342fd89a.mjs";
41
- import Ca from "./ExtendConfigModal-7b00b49a.mjs";
42
- import { u as Da, E as wa, a as Ba, V as j } from "./cgform.data-0ca62d09.mjs";
29
+ import { defineComponent as ea, ref as T, computed as ce, provide as be, reactive as aa, nextTick as Z, toRaw as ta, resolveComponent as m, createBlock as ee, openBlock as _, mergeProps as la, withCtx as b, createVNode as d, createElementVNode as E, createTextVNode as F, createCommentVNode as ae, createElementBlock as te, Fragment as na, renderList as oa, toDisplayString as ia } from "vue";
30
+ import { Icon as sa } from "/@/components/Icon";
31
+ import { BasicModal as ra, useModalInner as da, useModal as ua } from "/@/components/Modal";
32
+ import { BasicForm as ca, useForm as ba } from "/@/components/Form/index";
33
+ import { useMessage as fa } from "/@/hooks/web/useMessage";
34
+ import { u as ma } from "./useSchemas-svH7q1tm.mjs";
35
+ import pa from "./DBAttributeTable-DA2XttIQ.mjs";
36
+ import ga from "./PageAttributeTable-C803SekP.mjs";
37
+ import Ta from "./CheckDictTable-BxJFrctQ.mjs";
38
+ import ya from "./ForeignKeyTable-D6AlLbfd.mjs";
39
+ import va from "./IndexTable-B7ef6Aox.mjs";
40
+ import ha from "./QueryTable-DHYaYbKC.mjs";
41
+ import Ca from "./ExtendConfigModal-CxJIWvV4.mjs";
42
+ import { u as wa, E as Da, V as j, a as ka } from "./cgform.data-CviSPXEg.mjs";
43
43
  import { defHttp as v } from "/@/utils/http/axios";
44
- import { simpleDebounce as ka } from "/@/utils/common/compUtils";
45
- import { u as Ia } from "./useOnlineTest-e4bd8be3.mjs";
44
+ import { simpleDebounce as Fa } from "/@/utils/common/compUtils";
45
+ import { u as Ia } from "./useOnlineTest-_onDRxjY.mjs";
46
46
  import { buildUUID as Ra } from "/@/utils/uuid";
47
47
  import { sleep as q } from "/@/utils";
48
- import { g as Sa } from "./useExtendComponent-95ce0719.mjs";
49
- import { p as _a } from "./utils-9fce7606.mjs";
50
- import { _ as Ea } from "./index-740b2c4a.mjs";
51
- const dt = (a) => v.get({ url: "/online/cgform/head/list", params: a }), ct = (a) => fe(a, 0), bt = (a) => v.delete(
48
+ import { g as Sa } from "./useExtendComponent-P9wrWQwT.mjs";
49
+ import { p as Na } from "./utils-DcQ65Qmw.mjs";
50
+ import { _ as _a } from "./index-0kQBIHx0.mjs";
51
+ const dt = (a) => v.get({ url: "/online/cgform/head/list", params: a }), ut = (a) => fe(a, 0), ct = (a) => v.delete(
52
52
  { url: "/online/cgform/head/removeRecord", params: { id: a } },
53
53
  { joinParamsToUrl: !0 }
54
- ), ft = (a) => fe(a, 1), mt = (a) => v.delete(
54
+ ), bt = (a) => fe(a, 1), ft = (a) => v.delete(
55
55
  { url: "/online/cgform/head/delete", params: { id: a } },
56
56
  { joinParamsToUrl: !0 }
57
57
  );
@@ -67,28 +67,28 @@ function fe(a, l) {
67
67
  { joinParamsToUrl: !0 }
68
68
  );
69
69
  }
70
- const pt = (a, l) => v.post({ url: `/online/cgform/api/doDbSynch/${a}/${l}`, timeout: 12e3, timeoutErrorMessage: "同步数据库超时,已自动刷新" }), gt = (a) => v.post({ url: `/online/cgform/head/copyOnline?code=${a}` }), Tt = (a, l, c) => v.get({ url: `/online/cgform/head/copyOnlineTable/${a}`, params: P({ tableName: l }, c) }), x = {
70
+ const mt = (a, l) => v.post({ url: `/online/cgform/api/doDbSynch/${a}/${l}`, timeout: 12e3, timeoutErrorMessage: "同步数据库超时,已自动刷新" }), pt = (a) => v.post({ url: `/online/cgform/head/copyOnline?code=${a}` }), gt = (a, l, c) => v.get({ url: `/online/cgform/head/copyOnlineTable/${a}`, params: M({ tableName: l }, c) }), K = {
71
71
  // 查询表字段 e3e3NcxzbUiGa53YYVXxWc8ADo5ISgQGx/gaZwERF91oAryDlivjqBv3wqRArgChupi+Y/Gg/swwGEyL0PuVFg==
72
- doQueryField: (a, l) => v.get({ url: "/online/cgform/field/listByHeadId", params: P({ headId: a }, l) }),
72
+ doQueryField: (a, l) => v.get({ url: "/online/cgform/field/listByHeadId", params: M({ headId: a }, l) }),
73
73
  // 查询表index配置
74
- doQueryIndexes: (a, l) => v.get({ url: "/online/cgform/index/listByHeadId", params: P({ headId: a }, l) }),
74
+ doQueryIndexes: (a, l) => v.get({ url: "/online/cgform/index/listByHeadId", params: M({ headId: a }, l) }),
75
75
  // 新增或修改
76
76
  doSaveOrUpdate: (a, l) => l ? v.put({ url: "/online/cgform/api/editAll", params: a }) : v.post({ url: "/online/cgform/api/addAll", params: a }),
77
77
  //只是修改表配置不改字段
78
78
  editHead: (a) => v.put({ url: "/online/cgform/head/edit", params: a })
79
- }, Aa = aa({
79
+ }, Aa = ea({
80
80
  name: "CgformModal",
81
81
  components: {
82
- BasicModal: ua,
83
- BasicForm: ba,
84
- DBAttributeTable: ga,
85
- PageAttributeTable: Ta,
86
- CheckDictTable: ya,
87
- ForeignKeyTable: va,
88
- IndexTable: ha,
89
- QueryTable: Fa,
82
+ BasicModal: ra,
83
+ BasicForm: ca,
84
+ DBAttributeTable: pa,
85
+ PageAttributeTable: ga,
86
+ CheckDictTable: Ta,
87
+ ForeignKeyTable: ya,
88
+ IndexTable: va,
89
+ QueryTable: ha,
90
90
  ExtendConfigModal: Ca,
91
- Icon: ra
91
+ Icon: sa
92
92
  },
93
93
  emits: ["success", "register"],
94
94
  props: {
@@ -99,190 +99,190 @@ const pt = (a, l) => v.post({ url: `/online/cgform/api/doDbSynch/${a}/${l}`, tim
99
99
  }
100
100
  },
101
101
  setup(a, { emit: l }) {
102
- const { createMessage: c } = ma(), E = y(), h = y(!1);
103
- let g = {};
104
- const w = ce(() => h.value ? "编辑" : "新增"), F = y(!0), T = y(!1), p = y("dbTable"), A = y(!0), d = {
105
- dbTable: y(),
106
- pageTable: y(),
107
- checkTable: y(),
108
- fkTable: y(),
109
- idxTable: y(),
110
- queryTable: y()
111
- }, K = ce(() => {
102
+ const { createMessage: c } = fa(), A = T(), h = T(!1);
103
+ let y = {};
104
+ const k = ce(() => h.value ? "编辑" : "新增"), C = T(!0), g = T(!1), p = T("dbTable"), B = T(!0), u = {
105
+ dbTable: T(),
106
+ pageTable: T(),
107
+ checkTable: T(),
108
+ fkTable: T(),
109
+ idxTable: T(),
110
+ queryTable: T()
111
+ }, x = ce(() => {
112
112
  var e, t;
113
- return (t = (e = E.value) == null ? void 0 : e.fullScreenRef) != null ? t : !1;
113
+ return (t = (e = A.value) == null ? void 0 : e.fullScreenRef) != null ? t : !1;
114
114
  });
115
- be("tables", d), be("fullScreenRef", K);
116
- const N = { value: {} }, k = y(""), { formSchemas: J } = pa(a, N, {
117
- onTableTypeChange: ke,
115
+ be("tables", u), be("fullScreenRef", x);
116
+ const O = { value: {} }, I = T(""), { formSchemas: J } = ma(a, O, {
117
+ onTableTypeChange: Fe,
118
118
  onIsTreeChange: Ie,
119
119
  ifShowOfSubTableStr: () => ne
120
- }), [H, R] = fa({
120
+ }), [H, S] = ba({
121
121
  schemas: J,
122
122
  showActionButtonGroup: !1,
123
123
  labelAlign: "right"
124
- }), { resetFields: L, setFieldsValue: U, validate: G } = R, [Y, { closeModal: z }] = da((e) => {
124
+ }), { resetFields: L, setFieldsValue: U, validate: Y } = S, [z, { closeModal: G }] = da((e) => {
125
125
  var t;
126
- h.value = (t = e == null ? void 0 : e.isUpdate) != null ? t : !1, h.value ? oe(e == null ? void 0 : e.record) : he();
127
- }), O = y("");
128
- let s = ta({});
129
- const X = ka(() => Re(), 150);
130
- let le = [], ne = !1, $ = !1, I = [];
131
- const { aiTestMode: me, aiTestTable: pe, aiTableList: ge, initVirtualData: Te, tableJsonGetHelper: ye, refreshCacheTableName: ve } = Ia();
132
- function he() {
126
+ h.value = (t = e == null ? void 0 : e.isUpdate) != null ? t : !1, h.value ? oe(e == null ? void 0 : e.record) : ve();
127
+ }), P = T("");
128
+ let s = aa({});
129
+ const X = Fa(() => Re(), 150);
130
+ let le = [], ne = !1, $ = !1, R = [];
131
+ const { aiTestMode: me, aiTestTable: pe, aiTableList: ge, initVirtualData: Te, refreshCacheTableName: ye } = Ia();
132
+ function ve() {
133
133
  oe({});
134
134
  }
135
135
  function oe(e) {
136
136
  return D(this, null, function* () {
137
137
  var t;
138
- if (F.value = !1, p.value = "dbTable", yield L(), g = Object.assign({}, e), we(g), k.value = "", ye(g), De(g), U(g), O.value = g.tableName, q(1, () => A.value = !1), h.value)
139
- (t = d.dbTable.value) == null || t.setDataSource([]), yield Fe(g.id), yield Ce(g.id), Sa(d.pageTable).then(() => {
140
- d.pageTable.value.changePageType(g.tableType == 3);
138
+ if (C.value = !1, p.value = "dbTable", yield L(), y = Object.assign({}, e), De(y), I.value = "", we(y), U(y), P.value = y.tableName, q(1, () => B.value = !1), h.value)
139
+ (t = u.dbTable.value) == null || t.setDataSource([]), yield he(y.id), yield Ce(y.id), Sa(u.pageTable).then(() => {
140
+ u.pageTable.value.changePageType(y.tableType == 3);
141
141
  });
142
142
  else {
143
- let { initialData: n, tempIds: o } = Da();
143
+ let { initialData: n, tempIds: o } = wa();
144
144
  yield ie(n, !0), le = o;
145
145
  }
146
146
  });
147
147
  }
148
- function Fe(e) {
148
+ function he(e) {
149
149
  return D(this, null, function* () {
150
- T.value = !0;
150
+ g.value = !0;
151
151
  try {
152
- let t = yield x.doQueryField(e);
153
- T.value = !1, yield ie(t);
152
+ let t = yield K.doQueryField(e);
153
+ g.value = !1, yield ie(t);
154
154
  } finally {
155
- T.value = !1;
155
+ g.value = !1;
156
156
  }
157
157
  });
158
158
  }
159
159
  function Ce(e) {
160
160
  return D(this, null, function* () {
161
- let t = yield x.doQueryIndexes(e);
162
- d.idxTable.value.setDataSource(t);
161
+ let t = yield K.doQueryIndexes(e);
162
+ u.idxTable.value.setDataSource(t);
163
163
  });
164
164
  }
165
- function De(e) {
166
- let t = _a(e);
167
- s = Object.assign({}, wa, t, {
165
+ function we(e) {
166
+ let t = Na(e);
167
+ s = Object.assign({}, Da, t, {
168
168
  isDesForm: e.isDesForm || "N",
169
169
  desFormCode: e.desFormCode || ""
170
- }), N.value = s;
170
+ }), O.value = s;
171
171
  }
172
- function we(e) {
172
+ function De(e) {
173
173
  $ = e.isTree == "Y", ne = e.tableType === 2;
174
174
  }
175
175
  function ie(e, t) {
176
176
  return D(this, null, function* () {
177
- const { dbTable: n, pageTable: o, checkTable: r, fkTable: i, queryTable: f } = d;
177
+ const { dbTable: n, pageTable: o, checkTable: r, fkTable: i, queryTable: f } = u;
178
178
  n.value || (yield Z(), yield q(1)), n.value.setDataSource(e, t), setTimeout(() => {
179
179
  o.value.setDataSource(e, t), r.value.setDataSource(e, t), i.value.setDataSource(e, t), f.value.setDataSource(e, t);
180
180
  }, 10);
181
181
  });
182
182
  }
183
- function Be(e) {
183
+ function ke(e) {
184
184
  if (["pageTable", "checkTable", "fkTable", "idxTable", "queryTable"].indexOf(e) !== -1) {
185
- const t = d.dbTable, n = d[e];
185
+ const t = u.dbTable, n = u[e];
186
186
  t.value.tableRef.resetScrollTop(), n.value.syncTable(t);
187
187
  }
188
188
  }
189
- function ke(e) {
190
- e === 1 && U({ themeTemplate: "normal" }), d.pageTable.value.changePageType(e == 3);
189
+ function Fe(e) {
190
+ e === 1 && U({ themeTemplate: "normal" }), u.pageTable.value.changePageType(e == 3);
191
191
  }
192
192
  function Ie(e) {
193
- e === "Y" ? Le() : Ue();
193
+ e === "Y" ? je() : Le();
194
194
  }
195
195
  function W() {
196
196
  X();
197
197
  }
198
198
  function Re() {
199
199
  return D(this, null, function* () {
200
- let { dbTable: e, pageTable: t, checkTable: n, fkTable: o, queryTable: r } = d;
200
+ let { dbTable: e, pageTable: t, checkTable: n, fkTable: o, queryTable: r } = u;
201
201
  yield t.value.syncTable(e), yield n.value.syncTable(e), yield o.value.syncTable(e), yield r.value.syncTable(e);
202
202
  });
203
203
  }
204
204
  function Se() {
205
205
  W();
206
206
  }
207
- function _e() {
207
+ function Ne() {
208
208
  W();
209
209
  }
210
- function Ee(e) {
210
+ function _e(e) {
211
211
  let { oldIndex: t, newIndex: n } = e;
212
- Ne(t, n);
212
+ Be(t, n);
213
213
  }
214
214
  function Ae(e) {
215
215
  return D(this, null, function* () {
216
- let { insertIndex: t, row: n } = e, { pageTable: o, checkTable: r, fkTable: i, queryTable: f } = d;
216
+ let { insertIndex: t, row: n } = e, { pageTable: o, checkTable: r, fkTable: i, queryTable: f } = u;
217
217
  o.value.tableRef.insertRows(n, t), r.value.tableRef.insertRows(n, t), i.value.tableRef.insertRows(n, t), f.value.tableRef.insertRows(n, t);
218
218
  });
219
219
  }
220
- function Ne(e, t) {
221
- let { pageTable: n, checkTable: o, fkTable: r, queryTable: i } = d;
220
+ function Be(e, t) {
221
+ let { pageTable: n, checkTable: o, fkTable: r, queryTable: i } = u;
222
222
  n.value.tableRef.rowResort(e, t), o.value.tableRef.rowResort(e, t), r.value.tableRef.rowResort(e, t), i.value.tableRef.rowResort(e, t);
223
223
  }
224
224
  function Oe(e) {
225
- d.pageTable.value.syncFieldShowType(e.row);
225
+ u.pageTable.value.syncFieldShowType(e.row);
226
226
  }
227
227
  function Pe(e) {
228
- d.pageTable.value.syncIsQuery(e.row);
228
+ u.pageTable.value.syncIsQuery(e.row);
229
229
  }
230
230
  function Me(e) {
231
- d.checkTable.value.syncFieldMustInput(e.row);
231
+ u.checkTable.value.syncFieldMustInput(e.row);
232
232
  }
233
- function je(e) {
234
- d.pageTable.value.enableQuery(e);
233
+ function Ee(e) {
234
+ u.pageTable.value.enableQuery(e);
235
235
  }
236
- function Le() {
236
+ function je() {
237
237
  if (!$) {
238
- let { dbTable: e, pageTable: t, checkTable: n } = d, o = Ba();
239
- o = o.filter((r) => !e.value.tableRef.getTableData().map((f) => f.dbFieldName).includes(r.dbFieldName)), I = [], o.forEach((r) => {
238
+ let { dbTable: e, pageTable: t, checkTable: n } = u, o = ka();
239
+ o = o.filter((r) => !e.value.tableRef.getTableData().map((f) => f.dbFieldName).includes(r.dbFieldName)), R = [], o.forEach((r) => {
240
240
  let i = Ra() + "__tempId";
241
- I.push(i), r.id = i;
241
+ R.push(i), r.id = i;
242
242
  }), e.value.tableRef.addRows(o, { setActive: !1 }), t.value.tableRef.addRows(o, { setActive: !1 }), n.value.tableRef.addRows(o, { setActive: !1 }), Z(() => W()), $ = !0;
243
243
  }
244
244
  Z(() => {
245
- R.setFieldsValue({
245
+ S.setFieldsValue({
246
246
  treeIdField: "has_child",
247
247
  treeParentIdField: "pid"
248
248
  });
249
249
  });
250
250
  }
251
- function Ue() {
252
- if (I && I.length > 0) {
253
- let { dbTable: e } = d;
254
- e.value.tableDeleteLines(I), I = [], $ = !1;
251
+ function Le() {
252
+ if (R && R.length > 0) {
253
+ let { dbTable: e } = u;
254
+ e.value.tableDeleteLines(R), R = [], $ = !1;
255
255
  }
256
256
  }
257
- function $e() {
257
+ function Ue() {
258
258
  let e = {};
259
259
  return new Promise((t, n) => {
260
- G().then(
260
+ Y().then(
261
261
  (o) => t({ values: o }),
262
262
  () => n(j)
263
263
  );
264
- }).then((t) => (Object.assign(e, t), Qe())).then((t) => {
264
+ }).then((t) => (Object.assign(e, t), $e())).then((t) => {
265
265
  Object.assign(e, t);
266
- let n = Ve(e);
267
- return qe(n);
266
+ let n = Qe(e);
267
+ return Ve(n);
268
268
  }).catch((t) => (t === j || (t == null ? void 0 : t.code) === j ? c.warning("校验未通过") : t != null && t.msg && c.warning(t.msg), Promise.reject(null)));
269
269
  }
270
- function Qe() {
271
- return new Promise((e, t) => D(this, null, function* () {
272
- let n = Object.keys(d), o = {};
270
+ function $e() {
271
+ return new Promise((e, t) => D(null, null, function* () {
272
+ let n = Object.keys(u), o = {};
273
273
  for (let r = 0; r < n.length; r++) {
274
- let i = n[r], f = d[i];
274
+ let i = n[r], f = u[i];
275
275
  try {
276
276
  o[i] = yield f.value.validateData(i);
277
- } catch (C) {
278
- C.code === j && (p.value = C.activeKey), t(C);
277
+ } catch (w) {
278
+ w.code === j && (p.value = w.activeKey), t(w);
279
279
  return;
280
280
  }
281
281
  }
282
282
  e(o);
283
283
  }));
284
284
  }
285
- function Ve(e) {
285
+ function Qe(e) {
286
286
  let t = {
287
287
  head: {},
288
288
  fields: [],
@@ -290,18 +290,18 @@ const pt = (a, l) => v.post({ url: `/online/cgform/api/doDbSynch/${a}/${l}`, tim
290
290
  deleteFieldIds: [],
291
291
  deleteIndexIds: []
292
292
  };
293
- return t.head = Object.assign(g, e.values), t.head.isDesForm = s.isDesForm, t.head.desFormCode = s.desFormCode, delete s.isDesForm, delete s.desFormCode, t.head.extConfigJson = JSON.stringify(s), e.dbTable.tableData.forEach((n, o) => {
293
+ return t.head = Object.assign(y, e.values), t.head.isDesForm = s.isDesForm, t.head.desFormCode = s.desFormCode, delete s.isDesForm, delete s.desFormCode, t.head.extConfigJson = JSON.stringify(s), e.dbTable.tableData.forEach((n, o) => {
294
294
  let r = n.id, i = Object.assign({}, n), f = e.pageTable.tableData[o];
295
295
  i = Object.assign(f, i);
296
- let C = e.checkTable.tableData[o];
297
- i = Object.assign(C, i);
296
+ let w = e.checkTable.tableData[o];
297
+ i = Object.assign(w, i);
298
298
  let Q = e.fkTable.tableData[o];
299
299
  i = Object.assign(Q, i);
300
300
  let V = e.queryTable.tableData[o];
301
- i = Object.assign(V, i), r == null || r === "" ? delete i.id : i.id = r, [].concat(le, I).includes(i.id) && delete i.id, t.fields.push(i);
301
+ i = Object.assign(V, i), r == null || r === "" ? delete i.id : i.id = r, [].concat(le, R).includes(i.id) && delete i.id, t.fields.push(i);
302
302
  }), t.deleteFieldIds = e.dbTable.deleteIds, t.indexs = e.idxTable.tableData, t.deleteIndexIds = e.idxTable.deleteIds, t;
303
303
  }
304
- function qe(e) {
304
+ function Ve(e) {
305
305
  return new Promise((t, n) => {
306
306
  let o = e.fields, r = !0;
307
307
  if (o && o.length > 0) {
@@ -319,55 +319,55 @@ const pt = (a, l) => v.post({ url: `/online/cgform/api/doDbSynch/${a}/${l}`, tim
319
319
  });
320
320
  });
321
321
  }
322
- function xe() {
323
- F.value = !0, $e().then(
324
- (e) => D(this, null, function* () {
322
+ function qe() {
323
+ C.value = !0, Ue().then(
324
+ (e) => D(null, null, function* () {
325
325
  var t;
326
326
  if (e.fields && e.fields.length > 0)
327
327
  for (let n of e.fields)
328
328
  n.dbFieldName = n.dbFieldName.toLowerCase().trim();
329
- (t = e.head) != null && t.tableName && (e.head.tableName = e.head.tableName.toLowerCase().trim()), yield x.doSaveOrUpdate(e, h.value), ve(O.value, e.head.tableName), l("success"), q(1, () => se());
329
+ (t = e.head) != null && t.tableName && (e.head.tableName = e.head.tableName.toLowerCase().trim()), yield K.doSaveOrUpdate(e, h.value), ye(P.value, e.head.tableName), l("success"), q(1, () => se());
330
330
  }),
331
331
  (e) => {
332
332
  }
333
333
  ).finally(() => {
334
- F.value = !1;
334
+ C.value = !1;
335
335
  });
336
336
  }
337
- const [Ke, Je] = ca();
338
- function He(e) {
337
+ const [Ke, xe] = ua();
338
+ function Je(e) {
339
339
  return D(this, null, function* () {
340
- if (N.value = e, e.joinQuery == 0 && R.validateFields(["themeTemplate"]), s = e, h.value == !0) {
341
- let t = la(s);
340
+ if (O.value = e, e.joinQuery == 0 && S.validateFields(["themeTemplate"]), s = e, h.value == !0) {
341
+ let t = ta(s);
342
342
  const n = {
343
- id: g.id,
343
+ id: y.id,
344
344
  extConfigJson: JSON.stringify(t)
345
345
  };
346
- yield x.editHead(n), l("success");
346
+ yield K.editHead(n), l("success");
347
347
  }
348
348
  });
349
349
  }
350
- function Ge() {
351
- Je.openModal(!0, {
350
+ function He() {
351
+ xe.openModal(!0, {
352
352
  extConfigJson: s
353
353
  });
354
354
  }
355
355
  function se() {
356
- A.value = !0, q(1, () => z());
356
+ B.value = !0, q(1, () => G());
357
357
  }
358
358
  const Ye = () => {
359
- const e = k.value.trim();
359
+ const e = I.value.trim();
360
360
  if (e.length) {
361
- const n = d[p.value].value.tableRef.getXTable(), o = n.getTableData().fullData, r = o.findIndex((f) => e === f.dbFieldName || e === f.dbFieldTxt);
361
+ const n = u[p.value].value.tableRef.getXTable(), o = n.getTableData().fullData, r = o.findIndex((f) => e === f.dbFieldName || e === f.dbFieldTxt);
362
362
  let i = -1;
363
- if (r == -1 ? i = o.findIndex((C) => C.dbFieldName.includes(k.value) || C.dbFieldTxt.includes(k.value)) : i = r, i != -1) {
363
+ if (r == -1 ? i = o.findIndex((w) => w.dbFieldName.includes(I.value) || w.dbFieldTxt.includes(I.value)) : i = r, i != -1) {
364
364
  const f = o[i];
365
365
  n.scrollToRow(f).then(() => {
366
- const { refTableBody: C } = n.getRefMaps(), Q = C.value, V = Q ? Q.$el : null;
366
+ const { refTableBody: w } = n.getRefMaps(), Q = w.value, V = Q ? Q.$el : null;
367
367
  if (V) {
368
- const S = V.querySelector(`[rowid="${n.getRowid(f)}"]`);
369
- S && (S.classList.add("customHighlight"), setTimeout(() => {
370
- S == null || S.classList.remove("customHighlight");
368
+ const N = V.querySelector(`[rowid="${n.getRowid(f)}"]`);
369
+ N && (N.classList.add("customHighlight"), setTimeout(() => {
370
+ N == null || N.classList.remove("customHighlight");
371
371
  }, 1e3));
372
372
  }
373
373
  });
@@ -376,28 +376,28 @@ const pt = (a, l) => v.post({ url: `/online/cgform/api/doDbSynch/${a}/${l}`, tim
376
376
  } else
377
377
  c.warning("请输入字段名称或字段备注~");
378
378
  };
379
- return de(P({}, d), {
380
- modalRef: E,
381
- title: w,
382
- confirmLoading: F,
383
- tableLoading: T,
379
+ return ue(M({}, u), {
380
+ modalRef: A,
381
+ title: k,
382
+ confirmLoading: C,
383
+ tableLoading: g,
384
384
  activeKey: p,
385
385
  onCancel: se,
386
386
  extConfigJson: s,
387
- formAction: R,
388
- hideTabs: A,
389
- onSubmit: xe,
390
- onTabsChange: Be,
387
+ formAction: S,
388
+ hideTabs: B,
389
+ onSubmit: qe,
390
+ onTabsChange: ke,
391
391
  onTableAdded: Se,
392
- onTableRemoved: _e,
393
- onTableDragged: Ee,
392
+ onTableRemoved: Ne,
393
+ onTableDragged: _e,
394
394
  onTableInserted: Ae,
395
395
  onTableSyncDbType: Oe,
396
- onTableQuery: je,
397
- onOpenExtConfig: Ge,
398
- onExtConfigOk: He,
396
+ onTableQuery: Ee,
397
+ onOpenExtConfig: He,
398
+ onExtConfigOk: Je,
399
399
  registerForm: H,
400
- registerModal: Y,
400
+ registerModal: z,
401
401
  registerExtendConfigModal: Ke,
402
402
  // hook OnlineTest
403
403
  aiTestMode: me,
@@ -407,19 +407,18 @@ const pt = (a, l) => v.post({ url: `/online/cgform/api/doDbSynch/${a}/${l}`, tim
407
407
  onTableSyncDbIsPersist: Pe,
408
408
  onTableSyncDbIsNull: Me,
409
409
  isUpdate: h,
410
- positioning: k,
410
+ positioning: I,
411
411
  handlePositioning: Ye,
412
- oldTableName: O
412
+ oldTableName: P
413
413
  });
414
414
  }
415
- });
416
- const Na = { style: { flex: "1", "text-align": "right" } }, Oa = { class: "footer-area" }, Pa = { class: "rightArea" }, Ma = { class: "leftArea" }, ja = { key: 0 }, La = {
415
+ }), Ba = { style: { flex: "1", "text-align": "right" } }, Oa = { class: "footer-area" }, Pa = { class: "rightArea" }, Ma = { class: "leftArea" }, Ea = { key: 0 }, ja = {
417
416
  key: 1,
418
417
  class: "positioning-area"
419
418
  };
420
- function Ua(a, l, c, E, h, g) {
421
- const w = m("a-button"), F = m("BasicForm"), T = m("DBAttributeTable"), p = m("a-tab-pane"), A = m("PageAttributeTable"), d = m("CheckDictTable"), K = m("ForeignKeyTable"), N = m("IndexTable"), k = m("Icon"), J = m("a-tooltip"), H = m("QueryTable"), R = m("a-tabs"), L = m("a-spin"), U = m("a-select-option"), G = m("a-select"), Y = m("a-input"), z = m("ExtendConfigModal"), O = m("BasicModal");
422
- return _(), ee(O, na({
419
+ function La(a, l, c, A, h, y) {
420
+ const k = m("a-button"), C = m("BasicForm"), g = m("DBAttributeTable"), p = m("a-tab-pane"), B = m("PageAttributeTable"), u = m("CheckDictTable"), x = m("ForeignKeyTable"), O = m("IndexTable"), I = m("Icon"), J = m("a-tooltip"), H = m("QueryTable"), S = m("a-tabs"), L = m("a-spin"), U = m("a-select-option"), Y = m("a-select"), z = m("a-input"), G = m("ExtendConfigModal"), P = m("BasicModal");
421
+ return _(), ee(P, la({
423
422
  ref: "modalRef",
424
423
  title: a.title,
425
424
  width: 1200,
@@ -431,29 +430,29 @@ function Ua(a, l, c, E, h, g) {
431
430
  onRegister: a.registerModal
432
431
  }), {
433
432
  footer: b(() => [
434
- M("div", Oa, [
435
- M("div", Pa, [
436
- u(w, { onClick: a.onCancel }, {
437
- default: b(() => l[6] || (l[6] = [
438
- B("关闭")
439
- ])),
433
+ E("div", Oa, [
434
+ E("div", Pa, [
435
+ d(k, { onClick: a.onCancel }, {
436
+ default: b(() => [...l[6] || (l[6] = [
437
+ F("关闭", -1)
438
+ ])]),
440
439
  _: 1
441
440
  }, 8, ["onClick"]),
442
- u(w, {
441
+ d(k, {
443
442
  type: "primary",
444
443
  loading: a.confirmLoading,
445
444
  preIcon: "ant-design:save",
446
445
  onClick: a.onSubmit
447
446
  }, {
448
- default: b(() => l[7] || (l[7] = [
449
- B("保存")
450
- ])),
447
+ default: b(() => [...l[7] || (l[7] = [
448
+ F("保存", -1)
449
+ ])]),
451
450
  _: 1
452
451
  }, 8, ["loading", "onClick"])
453
452
  ]),
454
- M("div", Ma, [
455
- a.aiTestMode && !a.isUpdate ? (_(), ae("div", ja, [
456
- u(G, {
453
+ E("div", Ma, [
454
+ a.aiTestMode && !a.isUpdate ? (_(), te("div", Ea, [
455
+ d(Y, {
457
456
  value: a.aiTestTable,
458
457
  "onUpdate:value": l[1] || (l[1] = (s) => a.aiTestTable = s),
459
458
  placeholder: "请选择测试的数据模型",
@@ -461,78 +460,78 @@ function Ua(a, l, c, E, h, g) {
461
460
  style: { width: "300px", margin: "0 10px 0 0", "text-align": "left" }
462
461
  }, {
463
462
  default: b(() => [
464
- (_(!0), ae(oa, null, ia(a.aiTableList, (s, X) => (_(), ee(U, {
463
+ (_(!0), te(na, null, oa(a.aiTableList, (s, X) => (_(), ee(U, {
465
464
  key: X,
466
465
  value: s.name
467
466
  }, {
468
467
  default: b(() => [
469
- B(sa(s.title + "(" + s.name + ")"), 1)
468
+ F(ia(s.title + "(" + s.name + ")"), 1)
470
469
  ]),
471
470
  _: 2
472
471
  }, 1032, ["value"]))), 128))
473
472
  ]),
474
473
  _: 1
475
474
  }, 8, ["value", "getPopupContainer"]),
476
- u(w, {
475
+ d(k, {
477
476
  type: "primary",
478
477
  ghost: "",
479
478
  onClick: a.initVirtualData
480
479
  }, {
481
- default: b(() => l[8] || (l[8] = [
482
- B("生成数据>>")
483
- ])),
480
+ default: b(() => [...l[8] || (l[8] = [
481
+ F("生成数据>>", -1)
482
+ ])]),
484
483
  _: 1
485
484
  }, 8, ["onClick"])
486
- ])) : te("", !0),
487
- a.isUpdate ? (_(), ae("div", La, [
488
- u(Y, {
485
+ ])) : ae("", !0),
486
+ a.isUpdate ? (_(), te("div", ja, [
487
+ d(z, {
489
488
  value: a.positioning,
490
489
  "onUpdate:value": l[2] || (l[2] = (s) => a.positioning = s),
491
490
  placeholder: "请输入字段名称或字段备注",
492
491
  allowClear: "",
493
492
  onPressEnter: a.handlePositioning
494
493
  }, null, 8, ["value", "onPressEnter"]),
495
- u(w, {
494
+ d(k, {
496
495
  type: "primary",
497
496
  ghost: "",
498
497
  onClick: a.handlePositioning
499
498
  }, {
500
- default: b(() => l[9] || (l[9] = [
501
- B("定位")
502
- ])),
499
+ default: b(() => [...l[9] || (l[9] = [
500
+ F("定位", -1)
501
+ ])]),
503
502
  _: 1
504
503
  }, 8, ["onClick"])
505
- ])) : te("", !0)
504
+ ])) : ae("", !0)
506
505
  ])
507
506
  ])
508
507
  ]),
509
508
  default: b(() => [
510
- u(L, {
509
+ d(L, {
511
510
  wrapperClassName: "p-2",
512
511
  spinning: a.confirmLoading
513
512
  }, {
514
513
  default: b(() => [
515
- u(F, { onRegister: a.registerForm }, {
514
+ d(C, { onRegister: a.registerForm }, {
516
515
  extConfigButton: b(() => [
517
- M("div", Na, [
518
- u(w, {
516
+ E("div", Ba, [
517
+ d(k, {
519
518
  preIcon: "ant-design:setting",
520
519
  onClick: a.onOpenExtConfig
521
520
  }, {
522
- default: b(() => l[3] || (l[3] = [
523
- B("扩展配置")
524
- ])),
521
+ default: b(() => [...l[3] || (l[3] = [
522
+ F("扩展配置", -1)
523
+ ])]),
525
524
  _: 1
526
525
  }, 8, ["onClick"])
527
526
  ])
528
527
  ]),
529
528
  _: 1
530
529
  }, 8, ["onRegister"]),
531
- u(L, {
530
+ d(L, {
532
531
  spinning: a.tableLoading || a.hideTabs
533
532
  }, {
534
533
  default: b(() => [
535
- a.hideTabs ? te("", !0) : (_(), ee(R, {
534
+ a.hideTabs ? ae("", !0) : (_(), ee(S, {
536
535
  key: 0,
537
536
  activeKey: a.activeKey,
538
537
  "onUpdate:activeKey": l[0] || (l[0] = (s) => a.activeKey = s),
@@ -540,13 +539,13 @@ function Ua(a, l, c, E, h, g) {
540
539
  onChange: a.onTabsChange
541
540
  }, {
542
541
  default: b(() => [
543
- u(p, {
542
+ d(p, {
544
543
  tab: "数据库属性",
545
544
  key: "dbTable",
546
545
  forceRender: ""
547
546
  }, {
548
547
  default: b(() => [
549
- u(T, {
548
+ d(g, {
550
549
  ref: "dbTable",
551
550
  isUpdate: a.isUpdate,
552
551
  tableName: a.oldTableName,
@@ -562,72 +561,72 @@ function Ua(a, l, c, E, h, g) {
562
561
  ]),
563
562
  _: 1
564
563
  }),
565
- u(p, {
564
+ d(p, {
566
565
  tab: "页面属性",
567
566
  key: "pageTable",
568
567
  forceRender: ""
569
568
  }, {
570
569
  default: b(() => [
571
- u(A, { ref: "pageTable" }, null, 512)
570
+ d(B, { ref: "pageTable" }, null, 512)
572
571
  ]),
573
572
  _: 1
574
573
  }),
575
- u(p, {
574
+ d(p, {
576
575
  tab: "校验字段",
577
576
  key: "checkTable",
578
577
  forceRender: ""
579
578
  }, {
580
579
  default: b(() => [
581
- u(d, { ref: "checkTable" }, null, 512)
580
+ d(u, { ref: "checkTable" }, null, 512)
582
581
  ]),
583
582
  _: 1
584
583
  }),
585
- u(p, {
584
+ d(p, {
586
585
  tab: "外键",
587
586
  key: "fkTable",
588
587
  forceRender: ""
589
588
  }, {
590
589
  default: b(() => [
591
- u(K, {
590
+ d(x, {
592
591
  ref: "fkTable",
593
592
  actionButton: a.actionButton
594
593
  }, null, 8, ["actionButton"])
595
594
  ]),
596
595
  _: 1
597
596
  }),
598
- u(p, {
597
+ d(p, {
599
598
  tab: "索引",
600
599
  key: "idxTable",
601
600
  forceRender: ""
602
601
  }, {
603
602
  default: b(() => [
604
- u(N, {
603
+ d(O, {
605
604
  ref: "idxTable",
606
605
  actionButton: a.actionButton
607
606
  }, null, 8, ["actionButton"])
608
607
  ]),
609
608
  _: 1
610
609
  }),
611
- u(p, {
610
+ d(p, {
612
611
  key: "queryTable",
613
612
  forceRender: ""
614
613
  }, {
615
614
  tab: b(() => [
616
- M("span", null, [
617
- l[5] || (l[5] = B(" 个性查询配置 ")),
618
- u(J, null, {
619
- title: b(() => l[4] || (l[4] = [
620
- B("允许自定义,查询表单字段控件类型!")
621
- ])),
615
+ E("span", null, [
616
+ l[5] || (l[5] = F(" 个性查询配置 ", -1)),
617
+ d(J, null, {
618
+ title: b(() => [...l[4] || (l[4] = [
619
+ F("允许自定义,查询表单字段控件类型!", -1)
620
+ ])]),
622
621
  default: b(() => [
623
- u(k, { icon: "bx:help-circle" })
622
+ d(I, { icon: "bx:help-circle" })
624
623
  ]),
625
624
  _: 1
626
625
  })
627
626
  ])
628
627
  ]),
629
628
  default: b(() => [
630
- u(H, {
629
+ d(H, {
631
630
  ref: "queryTable",
632
631
  onQuery: a.onTableQuery
633
632
  }, null, 8, ["onQuery"])
@@ -643,7 +642,7 @@ function Ua(a, l, c, E, h, g) {
643
642
  ]),
644
643
  _: 1
645
644
  }, 8, ["spinning"]),
646
- u(z, {
645
+ d(G, {
647
646
  onRegister: a.registerExtendConfigModal,
648
647
  parentForm: a.formAction,
649
648
  onOk: a.onExtConfigOk
@@ -652,19 +651,19 @@ function Ua(a, l, c, E, h, g) {
652
651
  _: 1
653
652
  }, 16, ["title", "confirmLoading", "onCancel", "onRegister"]);
654
653
  }
655
- const $a = /* @__PURE__ */ Ea(Aa, [["render", Ua], ["__scopeId", "data-v-d76be52c"]]), yt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
654
+ const Ua = /* @__PURE__ */ _a(Aa, [["render", La], ["__scopeId", "data-v-d76be52c"]]), Tt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
656
655
  __proto__: null,
657
- default: $a
656
+ default: Ua
658
657
  }, Symbol.toStringTag, { value: "Module" }));
659
658
  export {
660
- $a as C,
661
- pt as a,
662
- Tt as b,
663
- bt as c,
664
- gt as d,
665
- mt as e,
666
- ct as f,
667
- ft as g,
668
- yt as h,
659
+ Ua as C,
660
+ mt as a,
661
+ gt as b,
662
+ ct as c,
663
+ pt as d,
664
+ ft as e,
665
+ ut as f,
666
+ bt as g,
667
+ Tt as h,
669
668
  dt as l
670
669
  };