@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,21 +1,16 @@
1
- import { defineComponent as S, computed as v, ref as b, reactive as N, resolveComponent as i, openBlock as O, createElementBlock as V, Fragment as K, createVNode as o, unref as L, withCtx as a, createElementVNode as r, createTextVNode as g, createBlock as j, createCommentVNode as q, mergeProps as D } from "vue";
1
+ import { defineComponent as S, computed as v, ref as b, reactive as N, resolveComponent as i, createElementBlock as V, openBlock as O, Fragment as K, createVNode as l, unref as L, withCtx as a, createElementVNode as r, createBlock as j, createCommentVNode as q, createTextVNode as g, mergeProps as D } from "vue";
2
2
  import { useModalInner as F, BasicModal as U } from "/@/components/Modal";
3
- import { p as P } from "./utils-9fce7606.mjs";
3
+ import { p as P } from "./utils-DcQ65Qmw.mjs";
4
4
  import { copyTextToClipboard as R } from "/@/hooks/web/useCopyToClipboard";
5
5
  import { getToken as H } from "/@/utils/auth";
6
6
  import { useMessage as J } from "/@/hooks/web/useMessage";
7
7
  import { buildUUID as z } from "/@/utils/uuid";
8
- import { _ as Q } from "./index-740b2c4a.mjs";
9
- import "./cgform.data-0ca62d09.mjs";
10
- import "/@/utils/dict";
11
- import "/@/utils/dict/JDictSelectUtil";
12
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
13
- import "vue-router";
8
+ import { _ as Q } from "./index-0kQBIHx0.mjs";
14
9
  const Y = { class: "content" }, G = ["href"], W = ["href"], X = ["href"], Z = /* @__PURE__ */ S({
15
10
  __name: "CgformAddressModal",
16
11
  emits: ["register"],
17
12
  setup(ee, { emit: te }) {
18
- const { createMessage: y } = J(), k = v(() => H()), p = b(["def"]), f = b(!1), d = b("normal"), x = b(!1), u = N({
13
+ const { createMessage: y } = J(), k = v(() => H()), f = b(["def"]), p = b(!1), d = b("normal"), x = b(!1), u = N({
19
14
  title: "",
20
15
  content: "",
21
16
  copyText: "",
@@ -26,10 +21,10 @@ const Y = { class: "content" }, G = ["href"], W = ["href"], X = ["href"], Z = /*
26
21
  formId: t.record.id
27
22
  });
28
23
  const e = P(t.record);
29
- f.value = e.enableExternalLink === 1, d.value = t.record.themeTemplate, x.value = t.record.isTree === "Y", f.value ? p.value = ["def", "external"] : p.value = ["def"];
24
+ p.value = e.enableExternalLink === 1, d.value = t.record.themeTemplate, x.value = t.record.isTree === "Y", p.value ? f.value = ["def", "external"] : f.value = ["def"];
30
25
  }), n = v(() => {
31
26
  const t = {};
32
- if (f.value) {
27
+ if (p.value) {
33
28
  const e = `/online/cgform/share/${u.formId}`;
34
29
  t.add = `${e}/add`, t.edit = `${e}/u/{dataId}`, t.detail = `${e}/d/{dataId}`;
35
30
  }
@@ -38,45 +33,45 @@ const Y = { class: "content" }, G = ["href"], W = ["href"], X = ["href"], Z = /*
38
33
  extLink: t
39
34
  };
40
35
  });
41
- function A() {
36
+ function $() {
42
37
  let t = "OnlineAutoList";
43
38
  d.value === "normal" ? t = "OnlineAutoList" : d.value === "erp" ? t = "CgformErpList" : d.value === "innerTable" ? t = "OnlCgformInnerTableList" : d.value === "tab" && (t = "OnlCgformTabList"), x.value && (t = "DefaultOnlineList");
44
39
  const e = `-- 插入菜单
45
40
  INSERT INTO sys_permission(id, parent_id, name, url, component, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_route, is_leaf, keep_alive, hidden, hide_tab, description, status, del_flag, rule_flag, create_by, create_time, update_by, update_time, internal_or_external)
46
41
  VALUES ('${z()}', NULL, '${u.copyTitle}', '${u.copyText}', '1', '${t}', NULL, 0, NULL, '1', 0.00, 0, NULL, 0, 1, 0, 0, 0, NULL, '1', 0, 0, 'admin', null, NULL, NULL, 0)
47
42
  `;
48
- $(e);
43
+ A(e);
49
44
  }
50
- function $(t) {
45
+ function A(t) {
51
46
  const e = R(t);
52
47
  return e ? y.success("复制成功!") : y.error("复制失败!"), e;
53
48
  }
54
- const l = N({
49
+ const o = N({
55
50
  base: "",
56
51
  value: "",
57
52
  visible: !1
58
- }), B = v(() => l.value ? l.base.replace(/{dataId}/, l.value) + "?token=" + k.value : void 0), w = v(() => ({
53
+ }), B = v(() => o.value ? o.base.replace(/{dataId}/, o.value) + "?token=" + k.value : void 0), w = v(() => ({
59
54
  title: "请输入dataId",
60
55
  minHeight: 120,
61
56
  centered: !0,
62
57
  canFullscreen: !1,
63
- onOk: () => l.visible = !1,
64
- onCancel: () => l.visible = !1
58
+ onOk: () => o.visible = !1,
59
+ onCancel: () => o.visible = !1
65
60
  }));
66
- function C(t) {
67
- l.base = t, l.value = "", l.visible = !0;
61
+ function I(t) {
62
+ o.base = t, o.value = "", o.visible = !0;
68
63
  }
69
- function M() {
70
- if (!l.value) {
64
+ function E() {
65
+ if (!o.value) {
71
66
  y.warn("请输入dataId");
72
67
  return;
73
68
  }
74
- l.visible = !1;
69
+ o.visible = !1;
75
70
  }
76
71
  return (t, e) => {
77
- const c = i("a-input"), m = i("a-col"), _ = i("a-row"), I = i("a-button"), T = i("a-collapse-panel"), E = i("a-collapse");
72
+ const c = i("a-input"), m = i("a-col"), _ = i("a-row"), T = i("a-button"), C = i("a-collapse-panel"), M = i("a-collapse");
78
73
  return O(), V(K, null, [
79
- o(L(U), {
74
+ l(L(U), {
80
75
  onRegister: L(h),
81
76
  title: "配置地址",
82
77
  width: 750,
@@ -86,25 +81,25 @@ VALUES ('${z()}', NULL, '${u.copyTitle}', '${u.copyText}', '1', '${t}', NULL, 0,
86
81
  }, {
87
82
  default: a(() => [
88
83
  r("div", Y, [
89
- o(E, {
90
- activeKey: p.value,
91
- "onUpdate:activeKey": e[2] || (e[2] = (s) => p.value = s),
84
+ l(M, {
85
+ activeKey: f.value,
86
+ "onUpdate:activeKey": e[2] || (e[2] = (s) => f.value = s),
92
87
  class: "j-collapse",
93
88
  bordered: !1,
94
89
  ghost: ""
95
90
  }, {
96
91
  default: a(() => [
97
- o(T, {
92
+ l(C, {
98
93
  key: "def",
99
94
  header: "配置地址",
100
95
  class: "j-collapse-panel no-header"
101
96
  }, {
102
97
  default: a(() => [
103
- o(_, { style: { "margin-bottom": "8px" } }, {
98
+ l(_, { style: { "margin-bottom": "8px" } }, {
104
99
  default: a(() => [
105
- o(m, { span: 24 }, {
100
+ l(m, { span: 24 }, {
106
101
  default: a(() => [
107
- o(c, {
102
+ l(c, {
108
103
  readOnly: !0,
109
104
  addonBefore: "数据列表地址",
110
105
  value: n.value.list
@@ -123,30 +118,30 @@ VALUES ('${z()}', NULL, '${u.copyTitle}', '${u.copyText}', '1', '${t}', NULL, 0,
123
118
  ]),
124
119
  _: 1
125
120
  }),
126
- o(I, {
121
+ l(T, {
127
122
  class: "copy-sql",
128
123
  type: "primary",
129
124
  size: "small",
130
- onClick: A
125
+ onClick: $
131
126
  }, {
132
- default: a(() => e[5] || (e[5] = [
133
- g("复制菜单SQL")
134
- ])),
127
+ default: a(() => [...e[5] || (e[5] = [
128
+ g("复制菜单SQL", -1)
129
+ ])]),
135
130
  _: 1
136
131
  })
137
132
  ]),
138
133
  _: 1
139
134
  }),
140
- f.value ? (O(), j(T, {
135
+ p.value ? (O(), j(C, {
141
136
  key: "external",
142
137
  header: "外部链接"
143
138
  }, {
144
139
  default: a(() => [
145
- o(_, { style: { "margin-bottom": "8px" } }, {
140
+ l(_, { style: { "margin-bottom": "8px" } }, {
146
141
  default: a(() => [
147
- o(m, { span: 24 }, {
142
+ l(m, { span: 24 }, {
148
143
  default: a(() => [
149
- o(c, {
144
+ l(c, {
150
145
  readOnly: !0,
151
146
  addonBefore: "外部新增地址",
152
147
  value: n.value.extLink.add
@@ -165,18 +160,18 @@ VALUES ('${z()}', NULL, '${u.copyTitle}', '${u.copyText}', '1', '${t}', NULL, 0,
165
160
  ]),
166
161
  _: 1
167
162
  }),
168
- o(_, { style: { "margin-bottom": "8px" } }, {
163
+ l(_, { style: { "margin-bottom": "8px" } }, {
169
164
  default: a(() => [
170
- o(m, { span: 24 }, {
165
+ l(m, { span: 24 }, {
171
166
  default: a(() => [
172
- o(c, {
167
+ l(c, {
173
168
  readOnly: !0,
174
169
  addonBefore: "外部修改地址",
175
170
  value: n.value.extLink.edit
176
171
  }, {
177
172
  addonAfter: a(() => [
178
173
  r("a", {
179
- onClick: e[0] || (e[0] = (s) => C(n.value.extLink.edit))
174
+ onClick: e[0] || (e[0] = (s) => I(n.value.extLink.edit))
180
175
  }, "打开")
181
176
  ]),
182
177
  _: 1
@@ -187,18 +182,18 @@ VALUES ('${z()}', NULL, '${u.copyTitle}', '${u.copyText}', '1', '${t}', NULL, 0,
187
182
  ]),
188
183
  _: 1
189
184
  }),
190
- o(_, { style: { "margin-bottom": "8px" } }, {
185
+ l(_, { style: { "margin-bottom": "8px" } }, {
191
186
  default: a(() => [
192
- o(m, { span: 24 }, {
187
+ l(m, { span: 24 }, {
193
188
  default: a(() => [
194
- o(c, {
189
+ l(c, {
195
190
  readOnly: !0,
196
191
  addonBefore: "外部详情地址",
197
192
  value: n.value.extLink.detail
198
193
  }, {
199
194
  addonAfter: a(() => [
200
195
  r("a", {
201
- onClick: e[1] || (e[1] = (s) => C(n.value.extLink.detail))
196
+ onClick: e[1] || (e[1] = (s) => I(n.value.extLink.detail))
202
197
  }, "打开")
203
198
  ]),
204
199
  _: 1
@@ -224,31 +219,31 @@ VALUES ('${z()}', NULL, '${u.copyTitle}', '${u.copyText}', '1', '${t}', NULL, 0,
224
219
  ]),
225
220
  _: 1
226
221
  }, 8, ["onRegister"]),
227
- o(L(U), D({
228
- visible: l.visible,
229
- "onUpdate:visible": e[4] || (e[4] = (s) => l.visible = s)
222
+ l(L(U), D({
223
+ visible: o.visible,
224
+ "onUpdate:visible": e[4] || (e[4] = (s) => o.visible = s)
230
225
  }, w.value), {
231
226
  footer: a(() => [
232
227
  r("a", {
233
228
  href: B.value,
234
229
  target: "_blank"
235
230
  }, [
236
- o(I, {
231
+ l(T, {
237
232
  type: "primary",
238
- onClick: M
233
+ onClick: E
239
234
  }, {
240
- default: a(() => e[7] || (e[7] = [
241
- g("确定")
242
- ])),
235
+ default: a(() => [...e[7] || (e[7] = [
236
+ g("确定", -1)
237
+ ])]),
243
238
  _: 1
244
239
  })
245
240
  ], 8, X)
246
241
  ]),
247
242
  default: a(() => [
248
- o(c, {
243
+ l(c, {
249
244
  placeholder: "请输入dataId",
250
- value: l.value,
251
- "onUpdate:value": e[3] || (e[3] = (s) => l.value = s)
245
+ value: o.value,
246
+ "onUpdate:value": e[3] || (e[3] = (s) => o.value = s)
252
247
  }, null, 8, ["value"])
253
248
  ]),
254
249
  _: 1
@@ -256,8 +251,7 @@ VALUES ('${z()}', NULL, '${u.copyTitle}', '${u.copyText}', '1', '${t}', NULL, 0,
256
251
  ], 64);
257
252
  };
258
253
  }
259
- });
260
- const _e = /* @__PURE__ */ Q(Z, [["__scopeId", "data-v-066eeacc"]]);
254
+ }), ue = /* @__PURE__ */ Q(Z, [["__scopeId", "data-v-066eeacc"]]);
261
255
  export {
262
- _e as default
256
+ ue as default
263
257
  };
@@ -0,0 +1,176 @@
1
+ import { defineComponent as k, provide as B, watch as v, resolveComponent as n, createElementBlock as S, openBlock as b, Fragment as I, createElementVNode as q, createVNode as o, normalizeClass as L, withCtx as a, createCommentVNode as y, createTextVNode as l } from "vue";
2
+ import { TableAction as N, BasicTable as V } from "/@/components/Table";
3
+ import { C as O } from "./CgformModal-RH-Tr08S.mjs";
4
+ import $ from "./DbToOnlineModal-CDVqmEJH.mjs";
5
+ import P from "./CustomButtonList-7wjonhtu.mjs";
6
+ import z from "./EnhanceJsModal-Djb5ItH4.mjs";
7
+ import F from "./EnhanceJavaModal-W8_oGY-U.mjs";
8
+ import Q from "./EnhanceSqlModal-DxPdRcQc.mjs";
9
+ import Y from "./AuthManagerDrawer-DUb6QylS.mjs";
10
+ import j from "./AuthSetterModal-BBFdNv1M.mjs";
11
+ import G from "./CgformAddressModal-BVoww1fk.mjs";
12
+ import { C as H, u as K } from "./useCgformList-_o9GP7ca.mjs";
13
+ import { _ as U } from "./index-0kQBIHx0.mjs";
14
+ const W = k({
15
+ name: "CgformCopyList",
16
+ components: {
17
+ BasicTable: V,
18
+ TableAction: N,
19
+ CgformModal: O,
20
+ DbToOnlineModal: $,
21
+ CustomButtonList: P,
22
+ EnhanceJsModal: z,
23
+ EnhanceJavaModal: F,
24
+ EnhanceSqlModal: Q,
25
+ AuthManagerDrawer: Y,
26
+ AuthSetterModal: j,
27
+ CgformAddressModal: G
28
+ },
29
+ setup() {
30
+ const e = H.copy;
31
+ B("cgformPageType", e);
32
+ const {
33
+ router: t,
34
+ pageContext: A,
35
+ getTableAction: w,
36
+ getDropDownAction: E,
37
+ onShowCustomButton: R,
38
+ onShowEnhanceJs: s,
39
+ onShowEnhanceSql: i,
40
+ onShowEnhanceJava: c,
41
+ registerCustomButtonModal: d,
42
+ registerEnhanceJsModal: m,
43
+ registerEnhanceSqlModal: g,
44
+ registerEnhanceJavaModal: p,
45
+ registerAuthManagerDrawer: u,
46
+ registerAuthSetterModal: f,
47
+ registerCgformModal: h,
48
+ registerDbToOnlineModal: M,
49
+ registerAddressModal: C
50
+ } = K({
51
+ pageType: e,
52
+ designScope: "online-cgform-list",
53
+ columns: [
54
+ { title: "视图表名", dataIndex: "tableName" },
55
+ { title: "视图表描述", dataIndex: "tableTxt" },
56
+ { title: "原表版本", dataIndex: "copyVersion" },
57
+ { title: "视图版本", dataIndex: "tableVersion" }
58
+ ],
59
+ formSchemas: [{ label: "表名", field: "tableName", component: "JInput" }]
60
+ }), { prefixCls: r, tableContext: J } = A, [D, { reload: T }, { rowSelection: _ }] = J;
61
+ return v(t.currentRoute, () => T()), {
62
+ prefixCls: r,
63
+ reload: T,
64
+ rowSelection: _,
65
+ getTableAction: w,
66
+ getDropDownAction: E,
67
+ onShowCustomButton: R,
68
+ onShowEnhanceJs: s,
69
+ onShowEnhanceSql: i,
70
+ onShowEnhanceJava: c,
71
+ registerCustomButtonModal: d,
72
+ registerEnhanceJsModal: m,
73
+ registerEnhanceSqlModal: g,
74
+ registerEnhanceJavaModal: p,
75
+ registerAuthManagerDrawer: u,
76
+ registerAuthSetterModal: f,
77
+ registerTable: D,
78
+ registerCgformModal: h,
79
+ registerDbToOnlineModal: M,
80
+ registerAddressModal: C
81
+ };
82
+ }
83
+ }), X = {
84
+ key: 0,
85
+ style: { color: "limegreen" }
86
+ }, Z = {
87
+ key: 1,
88
+ style: { color: "red" }
89
+ };
90
+ function x(e, t, A, w, E, R) {
91
+ const s = n("a-button"), i = n("TableAction"), c = n("BasicTable"), d = n("CgformModal"), m = n("EnhanceJsModal"), g = n("EnhanceJavaModal"), p = n("EnhanceSqlModal"), u = n("DbToOnlineModal"), f = n("CustomButtonList"), h = n("AuthManagerDrawer"), M = n("AuthSetterModal"), C = n("CgformAddressModal");
92
+ return b(), S(I, null, [
93
+ q("div", {
94
+ class: L(e.prefixCls)
95
+ }, [
96
+ o(c, {
97
+ onRegister: e.registerTable,
98
+ rowSelection: e.rowSelection
99
+ }, {
100
+ tableTitle: a(() => [
101
+ o(s, {
102
+ onClick: e.onShowCustomButton,
103
+ type: "primary",
104
+ preIcon: "ant-design:highlight"
105
+ }, {
106
+ default: a(() => [...t[0] || (t[0] = [
107
+ l("自定义按钮", -1)
108
+ ])]),
109
+ _: 1
110
+ }, 8, ["onClick"]),
111
+ o(s, {
112
+ onClick: e.onShowEnhanceJs,
113
+ type: "primary",
114
+ preIcon: "ant-design:strikethrough"
115
+ }, {
116
+ default: a(() => [...t[1] || (t[1] = [
117
+ l("JS增强", -1)
118
+ ])]),
119
+ _: 1
120
+ }, 8, ["onClick"]),
121
+ o(s, {
122
+ onClick: e.onShowEnhanceSql,
123
+ type: "primary",
124
+ preIcon: "ant-design:filter"
125
+ }, {
126
+ default: a(() => [...t[2] || (t[2] = [
127
+ l("SQL增强", -1)
128
+ ])]),
129
+ _: 1
130
+ }, 8, ["onClick"]),
131
+ o(s, {
132
+ onClick: e.onShowEnhanceJava,
133
+ type: "primary",
134
+ preIcon: "ant-design:tool"
135
+ }, {
136
+ default: a(() => [...t[3] || (t[3] = [
137
+ l("Java增强", -1)
138
+ ])]),
139
+ _: 1
140
+ }, 8, ["onClick"])
141
+ ]),
142
+ dbSync: a(({ text: r }) => [
143
+ r === "Y" ? (b(), S("span", X, "已同步")) : y("", !0),
144
+ r === "N" ? (b(), S("span", Z, "未同步")) : y("", !0)
145
+ ]),
146
+ action: a(({ record: r }) => [
147
+ o(i, {
148
+ actions: e.getTableAction(r),
149
+ dropDownActions: e.getDropDownAction(r)
150
+ }, null, 8, ["actions", "dropDownActions"])
151
+ ]),
152
+ _: 1
153
+ }, 8, ["onRegister", "rowSelection"])
154
+ ], 2),
155
+ o(d, {
156
+ onRegister: e.registerCgformModal,
157
+ actionButton: !1,
158
+ onSuccess: e.reload
159
+ }, null, 8, ["onRegister", "onSuccess"]),
160
+ o(m, { onRegister: e.registerEnhanceJsModal }, null, 8, ["onRegister"]),
161
+ o(g, { onRegister: e.registerEnhanceJavaModal }, null, 8, ["onRegister"]),
162
+ o(p, { onRegister: e.registerEnhanceSqlModal }, null, 8, ["onRegister"]),
163
+ o(u, {
164
+ onRegister: e.registerDbToOnlineModal,
165
+ onSuccess: e.reload
166
+ }, null, 8, ["onRegister", "onSuccess"]),
167
+ o(f, { onRegister: e.registerCustomButtonModal }, null, 8, ["onRegister"]),
168
+ o(h, { onRegister: e.registerAuthManagerDrawer }, null, 8, ["onRegister"]),
169
+ o(M, { onRegister: e.registerAuthSetterModal }, null, 8, ["onRegister"]),
170
+ o(C, { onRegister: e.registerAddressModal }, null, 8, ["onRegister"])
171
+ ], 64);
172
+ }
173
+ const pe = /* @__PURE__ */ U(W, [["render", x]]);
174
+ export {
175
+ pe as default
176
+ };