@jeecg/online 3.7.1-RC → 3.7.4

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 (142) hide show
  1. package/AccountLoginForm-d2fed52f.mjs +254 -0
  2. package/AiModal-fbe4b68a.mjs +84 -0
  3. package/AppForgetPassword-3b3bec82.mjs +310 -0
  4. package/AppLogin-cd2e2a87.mjs +287 -0
  5. package/AppLoginHeader-9b5be678.mjs +27 -0
  6. package/AppNameEmail-b4e32ae8.mjs +180 -0
  7. package/AppRegister-7117b66a.mjs +303 -0
  8. package/AppTenant-5817729b.mjs +373 -0
  9. package/AppThirdForm-d14fb5e5.mjs +189 -0
  10. package/AuthButtonConfig-5e3b6d72.mjs +156 -0
  11. package/AuthButtonTree-7b4ec967.mjs +165 -0
  12. package/{AuthDataConfig-5c3a8e6b.mjs → AuthDataConfig-48ee9228.mjs} +23 -23
  13. package/{AuthDataTree-dd7a1240.mjs → AuthDataTree-02b3ba05.mjs} +43 -43
  14. package/{AuthFieldConfig-9f6fa06c.mjs → AuthFieldConfig-562cc6b6.mjs} +71 -71
  15. package/AuthFieldTree-2d458c0c.mjs +232 -0
  16. package/{AuthManagerDrawer-76f15e8d.mjs → AuthManagerDrawer-38299230.mjs} +6 -6
  17. package/{AuthSetterModal-f5d2e87f.mjs → AuthSetterModal-78b06703.mjs} +9 -9
  18. package/BuiltInButtonList-bb6cf95c.mjs +10 -0
  19. package/BuiltInButtonList.vue_vue_type_script_setup_true_lang-07d0b7d0.mjs +338 -0
  20. package/CgformAddressModal-1b9cbe19.mjs +260 -0
  21. package/CgformCopyList-580bba0f.mjs +252 -0
  22. package/{CgformModal-21c5c387.mjs → CgformModal-12951453.mjs} +190 -194
  23. package/{CgreportModal-edefa8e3.mjs → CgreportModal-bfeb93ed.mjs} +181 -168
  24. package/{CheckDictTable-1bc8322d.mjs → CheckDictTable-3c1e59e0.mjs} +3 -3
  25. package/CodeFileListModal-71752603.mjs +159 -0
  26. package/{CodeFileViewModal-2fe911f4.mjs → CodeFileViewModal-eb803769.mjs} +66 -66
  27. package/CodeGeneratorModal-2fe1e920.mjs +281 -0
  28. package/CustomButtonList-22b5cdb3.mjs +274 -0
  29. package/{DBAttributeTable-285d40db.mjs → DBAttributeTable-eb25565c.mjs} +3 -3
  30. package/{DbToOnlineModal-5dcb67c3.mjs → DbToOnlineModal-049b4bbd.mjs} +53 -54
  31. package/{DetailForm-deecbf3d.mjs → DetailForm-c127c27f.mjs} +5 -5
  32. package/DropMenuItem-b1a8f47d.mjs +44 -0
  33. package/{EnhanceJavaModal-45c66cd5.mjs → EnhanceJavaModal-1a4d696b.mjs} +62 -62
  34. package/{EnhanceJsHistory-fab3102e.mjs → EnhanceJsHistory-48cf43ad.mjs} +35 -35
  35. package/{EnhanceJsModal-175357a1.mjs → EnhanceJsModal-0e1f15f8.mjs} +102 -102
  36. package/{EnhanceSqlModal-7ea1b300.mjs → EnhanceSqlModal-6a1aa471.mjs} +67 -67
  37. package/ErrorTip-bb616e32.mjs +7 -0
  38. package/ErrorTip.vue_vue_type_script_setup_true_lang-49d35987.mjs +60 -0
  39. package/{ExtendConfigModal-a89ae052.mjs → ExtendConfigModal-37af21a5.mjs} +2 -2
  40. package/{FieldExtendJsonModal-32135634.mjs → FieldExtendJsonModal-9441e08e.mjs} +2 -2
  41. package/{FileSelectModal-1643c8b9.mjs → FileSelectModal-04490919.mjs} +23 -23
  42. package/{ForeignKeyTable-7f7e28a7.mjs → ForeignKeyTable-06300a47.mjs} +3 -3
  43. package/{IndexTable-cdcc2b48.mjs → IndexTable-79bddd5c.mjs} +3 -3
  44. package/JModalTip-192fafa1.mjs +49 -0
  45. package/{JOnlineSearchSelect-22aae934.mjs → JOnlineSearchSelect-9abcf657.mjs} +1 -1
  46. package/{LeftDepart-d5615ed9.mjs → LeftDepart-35d78655.mjs} +1 -1
  47. package/LeftRole-9d88976d.mjs +86 -0
  48. package/{LeftUser-22baa378.mjs → LeftUser-04c89aea.mjs} +30 -30
  49. package/{LinkTableConfigModal-9242d750.mjs → LinkTableConfigModal-5f94ef13.mjs} +43 -31
  50. package/{LinkTableFieldConfigModal-24adc50c.mjs → LinkTableFieldConfigModal-40753de5.mjs} +1 -1
  51. package/{LinkTableListPiece-f3a8e0d7.mjs → LinkTableListPiece-179035c7.mjs} +1 -1
  52. package/{ModalFormDemo-711418db.mjs → ModalFormDemo-3a85920c.mjs} +1 -1
  53. package/OnlCgformErpList-8fd15fc1.mjs +488 -0
  54. package/OnlCgformErpSubTable-3515150b.mjs +441 -0
  55. package/{OnlCgformInnerSubTable-6c23781f.mjs → OnlCgformInnerSubTable-13e888c6.mjs} +38 -38
  56. package/OnlCgformInnerTableList-2e8f853c.mjs +474 -0
  57. package/OnlCgformTabList-583ac15f.mjs +424 -0
  58. package/OnlineAutoList-36ec0957.mjs +513 -0
  59. package/OnlineAutoModal-c0743caf.mjs +260 -0
  60. package/OnlineAutoTreeList-1cd718be.mjs +523 -0
  61. package/OnlineCustomModal-661ee850.mjs +232 -0
  62. package/{OnlineDetailModal-d5895734.mjs → OnlineDetailModal-785e848e.mjs} +74 -65
  63. package/OnlineForm-c1fb38eb.mjs +1012 -0
  64. package/{OnlineFormDetail-022ca117.mjs → OnlineFormDetail-50186870.mjs} +7 -7
  65. package/{OnlineFormUrlAdd-9715d70a.mjs → OnlineFormUrlAdd-905bf251.mjs} +9 -9
  66. package/{OnlineFormUrlDetail-8f864b1a.mjs → OnlineFormUrlDetail-a9dd2bfa.mjs} +11 -11
  67. package/{OnlineFormUrlEdit-ac985b36.mjs → OnlineFormUrlEdit-b8941f05.mjs} +9 -9
  68. package/OnlineFormUrlSuccess-ecaf6a21.mjs +59 -0
  69. package/OnlineQueryForm-ca6186a3.mjs +484 -0
  70. package/{OnlineSearchFormItem-6c557343.mjs → OnlineSearchFormItem-5c503a51.mjs} +82 -82
  71. package/{OnlineSelectCascade-05c40fef.mjs → OnlineSelectCascade-a3e686b3.mjs} +1 -1
  72. package/{OnlineSubFormDetail-58e896ce.mjs → OnlineSubFormDetail-be1ad3b9.mjs} +52 -53
  73. package/{OnlineTabAutoModal-47b18ad6.mjs → OnlineTabAutoModal-fb59b573.mjs} +108 -95
  74. package/{OnlineTabDetailModal-82de1465.mjs → OnlineTabDetailModal-4b9c4838.mjs} +36 -36
  75. package/OnlineTabForm-89389384.mjs +814 -0
  76. package/{OnlineTabFormDetail-8d0c40c0.mjs → OnlineTabFormDetail-72173ae4.mjs} +17 -17
  77. package/{PageAttributeTable-25e3b7da.mjs → PageAttributeTable-345b97fe.mjs} +108 -108
  78. package/PhoneLoginForm-8ca7e2d4.mjs +214 -0
  79. package/{ProcessOnlineForm-148632fe.mjs → ProcessOnlineForm-485b5679.mjs} +32 -32
  80. package/{QueryTable-f7bfca7f.mjs → QueryTable-f0a88d78.mjs} +3 -3
  81. package/SetSwitchOptions-cdcb22a1.mjs +62 -0
  82. package/ShareAddView-f713c0a5.mjs +86 -0
  83. package/ShareEditView-691764ad.mjs +92 -0
  84. package/ShareView-df344a8d.mjs +80 -0
  85. package/ShareView.vue_vue_type_script_setup_true_lang-560459c9.mjs +162 -0
  86. package/SingleView-ad0287d6.mjs +68 -0
  87. package/SingleView.vue_vue_type_style_index_0_lang-ce96670b.mjs +131 -0
  88. package/SuperQuery-2b293e3b.mjs +974 -0
  89. package/{SuperQueryValComponent-7ad86d4b.mjs → SuperQueryValComponent-5a9ccfd4.mjs} +1 -1
  90. package/{SuperQueryValComponent.vue_vue_type_script_lang-e9196096.mjs → SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs} +11 -11
  91. package/{auth.api-ea1d33d4.mjs → auth.api-53df4c33.mjs} +17 -17
  92. package/{auth.data-511e5197.mjs → auth.data-626c5083.mjs} +16 -12
  93. package/{cgform.data-475d4984.mjs → cgform.data-0ca62d09.mjs} +4 -1
  94. package/{enhance.data-a67572e1.mjs → enhance.data-6601ff44.mjs} +1 -1
  95. package/index-181f8344.mjs +219 -0
  96. package/index-19eaef11.mjs +11 -0
  97. package/{index-30e0e923.mjs → index-3c7392a4.mjs} +272 -262
  98. package/{index-f30613d1.mjs → index-3ccda826.mjs} +59 -59
  99. package/index-5e89258d.mjs +8 -0
  100. package/index-93341e02.mjs +110 -0
  101. package/index-bef7fe2d.mjs +74 -0
  102. package/index-d6f9ada7.mjs +135 -0
  103. package/index-f3683351.mjs +57 -0
  104. package/main.index.js +1 -1
  105. package/package.json +1 -1
  106. package/shareStore-7de6c7a6.mjs +67 -0
  107. package/style.css +1 -1
  108. package/useCgformList-13c8aab7.mjs +378 -0
  109. package/useExtendComponent-3f5734ca.mjs +4459 -0
  110. package/useListButton-ee23874a.mjs +719 -0
  111. package/{useSchemas-a9c75b0f.mjs → useSchemas-f1819e54.mjs} +72 -39
  112. package/{useTableSync-d7e9f18d.mjs → useTableSync-075826a1.mjs} +1 -1
  113. package/utils-9fce7606.mjs +16 -0
  114. package/AiModal-6de335e3.mjs +0 -84
  115. package/AuthButtonConfig-89763932.mjs +0 -154
  116. package/AuthButtonTree-2d87d0b3.mjs +0 -157
  117. package/AuthFieldTree-e326fc38.mjs +0 -232
  118. package/CgformCopyList-365b3e8f.mjs +0 -251
  119. package/CodeFileListModal-24601898.mjs +0 -159
  120. package/CodeGeneratorModal-f09fe903.mjs +0 -282
  121. package/CustomButtonList-f07bc695.mjs +0 -397
  122. package/JModalTip-b055ab60.mjs +0 -49
  123. package/LeftRole-2ed8a2bf.mjs +0 -86
  124. package/OnlCgformErpList-58acdfa0.mjs +0 -470
  125. package/OnlCgformErpSubTable-9b1e1938.mjs +0 -426
  126. package/OnlCgformInnerTableList-4b5e14ed.mjs +0 -458
  127. package/OnlCgformTabList-019ad753.mjs +0 -408
  128. package/OnlineAutoList-48589d09.mjs +0 -493
  129. package/OnlineAutoModal-c2928847.mjs +0 -239
  130. package/OnlineAutoTreeList-3baa1d00.mjs +0 -503
  131. package/OnlineCustomModal-9e17b6ce.mjs +0 -232
  132. package/OnlineForm-9f1153ba.mjs +0 -985
  133. package/OnlineFormUrlSuccess-3dfc54ab.mjs +0 -59
  134. package/OnlineQueryForm-eedb9a60.mjs +0 -466
  135. package/OnlineTabForm-27655c83.mjs +0 -817
  136. package/SetSwitchOptions-b2af757f.mjs +0 -62
  137. package/SuperQuery-a8592995.mjs +0 -967
  138. package/index-1d1a6e56.mjs +0 -57
  139. package/useCgformList-f41d4dc1.mjs +0 -426
  140. package/useExtendComponent-dcae5c78.mjs +0 -4399
  141. package/useListButton-bfac4ecf.mjs +0 -697
  142. /package/{OnlineForm.vue_vue_type_style_index_0_scoped_4657b304_lang-4ed993c7.mjs → OnlineForm.vue_vue_type_style_index_0_scoped_3f26e7bd_lang-4ed993c7.mjs} +0 -0
@@ -0,0 +1,260 @@
1
+ import { defineComponent as O, computed as m, ref as I, reactive as C, resolveComponent as d, openBlock as N, createElementBlock as E, Fragment as S, createVNode as a, unref as b, withCtx as t, createElementVNode as r, createTextVNode as v, createBlock as V, createCommentVNode as K, mergeProps as j } from "vue";
2
+ import { useModalInner as q, BasicModal as U } from "/@/components/Modal";
3
+ import { p as F } from "./utils-9fce7606.mjs";
4
+ import { copyTextToClipboard as P } from "/@/hooks/web/useCopyToClipboard";
5
+ import { getToken as R } from "/@/utils/auth";
6
+ import { useMessage as D } from "/@/hooks/web/useMessage";
7
+ import { buildUUID as H } from "/@/utils/uuid";
8
+ import { _ as J } from "./index-f3683351.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";
14
+ const z = { class: "content" }, Q = ["href"], G = ["href"], W = ["href"], X = /* @__PURE__ */ O({
15
+ __name: "CgformAddressModal",
16
+ setup(Y) {
17
+ const { createMessage: y } = D(), g = m(() => R()), c = I(["def"]), p = I(!1), i = C({
18
+ title: "",
19
+ content: "",
20
+ copyText: "",
21
+ copyTitle: "",
22
+ formId: ""
23
+ }), [T] = q((o) => {
24
+ Object.assign(i, o, {
25
+ formId: o.record.id
26
+ });
27
+ const e = F(o.record);
28
+ p.value = e.enableExternalLink === 1, p.value ? c.value = ["def", "external"] : c.value = ["def"];
29
+ }), l = m(() => {
30
+ const o = {};
31
+ if (p.value) {
32
+ const e = `/online/cgform/share/${i.formId}`;
33
+ o.add = `${e}/add`, o.edit = `${e}/u/{dataId}`, o.detail = `${e}/d/{dataId}`;
34
+ }
35
+ return {
36
+ list: i.content,
37
+ extLink: o
38
+ };
39
+ });
40
+ function h() {
41
+ const o = `-- 插入菜单
42
+ 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)
43
+ VALUES ('${H()}', NULL, '${i.copyTitle}', '${i.copyText}', '1', NULL, NULL, 0, NULL, '1', 0.00, 0, NULL, 0, 1, 0, 0, 0, NULL, '1', 0, 0, 'admin', null, NULL, NULL, 0)
44
+ `;
45
+ B(o);
46
+ }
47
+ function B(o) {
48
+ const e = P(o);
49
+ return e ? y.success("复制成功!") : y.error("复制失败!"), e;
50
+ }
51
+ const n = C({
52
+ base: "",
53
+ value: "",
54
+ visible: !1
55
+ }), $ = m(() => n.value ? n.base.replace(/{dataId}/, n.value) + "?token=" + g.value : void 0), w = m(() => ({
56
+ title: "请输入dataId",
57
+ minHeight: 120,
58
+ centered: !0,
59
+ canFullscreen: !1,
60
+ onOk: () => n.visible = !1,
61
+ onCancel: () => n.visible = !1
62
+ }));
63
+ function k(o) {
64
+ n.base = o, n.value = "", n.visible = !0;
65
+ }
66
+ function A() {
67
+ if (!n.value) {
68
+ y.warn("请输入dataId");
69
+ return;
70
+ }
71
+ n.visible = !1;
72
+ }
73
+ return (o, e) => {
74
+ const u = d("a-input"), f = d("a-col"), _ = d("a-row"), x = d("a-button"), L = d("a-collapse-panel"), M = d("a-collapse");
75
+ return N(), E(S, null, [
76
+ a(b(U), {
77
+ onRegister: b(T),
78
+ title: "配置地址",
79
+ width: 750,
80
+ canFullscreen: !1,
81
+ showOkBtn: !1,
82
+ cancelText: "关闭"
83
+ }, {
84
+ default: t(() => [
85
+ r("div", z, [
86
+ a(M, {
87
+ activeKey: c.value,
88
+ "onUpdate:activeKey": e[2] || (e[2] = (s) => c.value = s),
89
+ class: "j-collapse",
90
+ bordered: !1,
91
+ ghost: ""
92
+ }, {
93
+ default: t(() => [
94
+ a(L, {
95
+ key: "def",
96
+ header: "配置地址",
97
+ class: "j-collapse-panel no-header"
98
+ }, {
99
+ default: t(() => [
100
+ a(_, { style: { "margin-bottom": "8px" } }, {
101
+ default: t(() => [
102
+ a(f, { span: 24 }, {
103
+ default: t(() => [
104
+ a(u, {
105
+ readOnly: !0,
106
+ addonBefore: "数据列表地址",
107
+ value: l.value.list
108
+ }, {
109
+ addonAfter: t(() => [
110
+ r("a", {
111
+ href: l.value.list,
112
+ target: "_blank"
113
+ }, "打开", 8, Q)
114
+ ]),
115
+ _: 1
116
+ }, 8, ["value"])
117
+ ]),
118
+ _: 1
119
+ })
120
+ ]),
121
+ _: 1
122
+ }),
123
+ a(x, {
124
+ class: "copy-sql",
125
+ type: "primary",
126
+ size: "small",
127
+ onClick: h
128
+ }, {
129
+ default: t(() => e[5] || (e[5] = [
130
+ v("复制菜单SQL")
131
+ ])),
132
+ _: 1
133
+ })
134
+ ]),
135
+ _: 1
136
+ }),
137
+ p.value ? (N(), V(L, {
138
+ key: "external",
139
+ header: "外部链接"
140
+ }, {
141
+ default: t(() => [
142
+ a(_, { style: { "margin-bottom": "8px" } }, {
143
+ default: t(() => [
144
+ a(f, { span: 24 }, {
145
+ default: t(() => [
146
+ a(u, {
147
+ readOnly: !0,
148
+ addonBefore: "外部新增地址",
149
+ value: l.value.extLink.add
150
+ }, {
151
+ addonAfter: t(() => [
152
+ r("a", {
153
+ href: l.value.extLink.add + "?token=" + g.value,
154
+ target: "_blank"
155
+ }, "打开", 8, G)
156
+ ]),
157
+ _: 1
158
+ }, 8, ["value"])
159
+ ]),
160
+ _: 1
161
+ })
162
+ ]),
163
+ _: 1
164
+ }),
165
+ a(_, { style: { "margin-bottom": "8px" } }, {
166
+ default: t(() => [
167
+ a(f, { span: 24 }, {
168
+ default: t(() => [
169
+ a(u, {
170
+ readOnly: !0,
171
+ addonBefore: "外部修改地址",
172
+ value: l.value.extLink.edit
173
+ }, {
174
+ addonAfter: t(() => [
175
+ r("a", {
176
+ onClick: e[0] || (e[0] = (s) => k(l.value.extLink.edit))
177
+ }, "打开")
178
+ ]),
179
+ _: 1
180
+ }, 8, ["value"])
181
+ ]),
182
+ _: 1
183
+ })
184
+ ]),
185
+ _: 1
186
+ }),
187
+ a(_, { style: { "margin-bottom": "8px" } }, {
188
+ default: t(() => [
189
+ a(f, { span: 24 }, {
190
+ default: t(() => [
191
+ a(u, {
192
+ readOnly: !0,
193
+ addonBefore: "外部详情地址",
194
+ value: l.value.extLink.detail
195
+ }, {
196
+ addonAfter: t(() => [
197
+ r("a", {
198
+ onClick: e[1] || (e[1] = (s) => k(l.value.extLink.detail))
199
+ }, "打开")
200
+ ]),
201
+ _: 1
202
+ }, 8, ["value"])
203
+ ]),
204
+ _: 1
205
+ })
206
+ ]),
207
+ _: 1
208
+ }),
209
+ e[6] || (e[6] = r("div", { style: { "text-align": "right", color: "red" } }, [
210
+ v("注意:"),
211
+ r("span", { style: { "font-weight": "bold" } }, "{dataId}"),
212
+ v(" 为数据id")
213
+ ], -1))
214
+ ]),
215
+ _: 1
216
+ })) : K("", !0)
217
+ ]),
218
+ _: 1
219
+ }, 8, ["activeKey"])
220
+ ])
221
+ ]),
222
+ _: 1
223
+ }, 8, ["onRegister"]),
224
+ a(b(U), j({
225
+ visible: n.visible,
226
+ "onUpdate:visible": e[4] || (e[4] = (s) => n.visible = s)
227
+ }, w.value), {
228
+ footer: t(() => [
229
+ r("a", {
230
+ href: $.value,
231
+ target: "_blank"
232
+ }, [
233
+ a(x, {
234
+ type: "primary",
235
+ onClick: A
236
+ }, {
237
+ default: t(() => e[7] || (e[7] = [
238
+ v("确定")
239
+ ])),
240
+ _: 1
241
+ })
242
+ ], 8, W)
243
+ ]),
244
+ default: t(() => [
245
+ a(u, {
246
+ placeholder: "请输入dataId",
247
+ value: n.value,
248
+ "onUpdate:value": e[3] || (e[3] = (s) => n.value = s)
249
+ }, null, 8, ["value"])
250
+ ]),
251
+ _: 1
252
+ }, 16, ["visible"])
253
+ ], 64);
254
+ };
255
+ }
256
+ });
257
+ const pe = /* @__PURE__ */ J(X, [["__scopeId", "data-v-f786f675"]]);
258
+ export {
259
+ pe as default
260
+ };
@@ -0,0 +1,252 @@
1
+ import { defineComponent as B, provide as _, watch as k, resolveComponent as e, openBlock as M, createElementBlock as S, Fragment as v, createElementVNode as I, normalizeClass as q, createVNode as t, withCtx as i, createTextVNode as m, createCommentVNode as y } from "vue";
2
+ import { BasicTable as L, TableAction as N } from "/@/components/Table";
3
+ import { C as V } from "./CgformModal-12951453.mjs";
4
+ import F from "./DbToOnlineModal-049b4bbd.mjs";
5
+ import O from "./CustomButtonList-22b5cdb3.mjs";
6
+ import $ from "./EnhanceJsModal-0e1f15f8.mjs";
7
+ import P from "./EnhanceJavaModal-1a4d696b.mjs";
8
+ import z from "./EnhanceSqlModal-6a1aa471.mjs";
9
+ import Q from "./AuthManagerDrawer-38299230.mjs";
10
+ import Y from "./AuthSetterModal-78b06703.mjs";
11
+ import { C as j, u as G } from "./useCgformList-13c8aab7.mjs";
12
+ import { _ as H } from "./index-f3683351.mjs";
13
+ import "/@/components/Icon";
14
+ import "/@/components/Modal";
15
+ import "/@/components/Form/index";
16
+ import "/@/hooks/web/useMessage";
17
+ import "./useSchemas-f1819e54.mjs";
18
+ import "ant-design-vue";
19
+ import "@ant-design/icons-vue";
20
+ import "/@/utils/common/compUtils";
21
+ import "/@/hooks/web/usePermission";
22
+ import "/@/utils/helper/validator";
23
+ import "./DBAttributeTable-eb25565c.mjs";
24
+ import "/@/components/jeecg/JVxeTable/types";
25
+ import "./useTableSync-075826a1.mjs";
26
+ import "./cgform.data-0ca62d09.mjs";
27
+ import "/@/utils/dict";
28
+ import "/@/utils/dict/JDictSelectUtil";
29
+ import "/@/utils/uuid";
30
+ import "lodash-es";
31
+ import "./PageAttributeTable-345b97fe.mjs";
32
+ import "./LinkTableConfigModal-5f94ef13.mjs";
33
+ import "/@/utils/http/axios";
34
+ import "./LinkTableFieldConfigModal-40753de5.mjs";
35
+ import "./FieldExtendJsonModal-9441e08e.mjs";
36
+ import "./SetSwitchOptions-cdcb22a1.mjs";
37
+ import "/@/utils/is";
38
+ import "./constant-fa63bd66.mjs";
39
+ import "./CheckDictTable-3c1e59e0.mjs";
40
+ import "/@/components/jeecg/JPrompt";
41
+ import "/@/hooks/web/useDesign";
42
+ import "./ForeignKeyTable-06300a47.mjs";
43
+ import "./IndexTable-79bddd5c.mjs";
44
+ import "./QueryTable-f0a88d78.mjs";
45
+ import "./ExtendConfigModal-37af21a5.mjs";
46
+ import "/@/components/Form";
47
+ import "./useOnlineTest-e4bd8be3.mjs";
48
+ import "/@/utils";
49
+ import "./useExtendComponent-3f5734ca.mjs";
50
+ import "/@/components/Form/src/componentMap";
51
+ import "/@/utils/propTypes";
52
+ import "/@/components/Form/src/jeecg/components/JUpload";
53
+ import "/@/views/system/user/user.api";
54
+ import "/@/store/modules/user";
55
+ import "/@/utils/desform/customExpression";
56
+ import "/@/store/modules/permission";
57
+ import "/@/hooks/system/useListPage";
58
+ import "vue-router";
59
+ import "/@/components/Form/src/utils/Area";
60
+ import "/@/components/Preview/index";
61
+ import "./LinkTableListPiece-179035c7.mjs";
62
+ import "/@/utils/auth";
63
+ import "/@/api/common/api";
64
+ import "/@/hooks/web/useAppInject";
65
+ import "/@/assets/images/placeholderImage.png";
66
+ import "./OnlineSelectCascade-a3e686b3.mjs";
67
+ import "/@/components/Loading";
68
+ import "./JModalTip-192fafa1.mjs";
69
+ import "@vueuse/core";
70
+ import "./utils-9fce7606.mjs";
71
+ import "./BuiltInButtonList.vue_vue_type_script_setup_true_lang-07d0b7d0.mjs";
72
+ import "./EnhanceJsHistory-48cf43ad.mjs";
73
+ import "/@/utils/dateUtil";
74
+ import "/@/store";
75
+ import "pinia";
76
+ import "/@/utils/cache";
77
+ import "./enhance.api-138e6826.mjs";
78
+ import "./enhance.data-6601ff44.mjs";
79
+ import "/@/components/Drawer";
80
+ import "./AuthFieldConfig-562cc6b6.mjs";
81
+ import "./auth.api-53df4c33.mjs";
82
+ import "./auth.data-626c5083.mjs";
83
+ import "/@/utils/index";
84
+ import "./AuthButtonConfig-5e3b6d72.mjs";
85
+ import "./AuthDataConfig-48ee9228.mjs";
86
+ import "./LeftRole-9d88976d.mjs";
87
+ import "./LeftDepart-35d78655.mjs";
88
+ import "./LeftUser-04c89aea.mjs";
89
+ import "./AuthFieldTree-2d458c0c.mjs";
90
+ import "./AuthButtonTree-7b4ec967.mjs";
91
+ import "./AuthDataTree-02b3ba05.mjs";
92
+ import "./cgformState-d9f8ec42.mjs";
93
+ import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
94
+ const K = B({
95
+ name: "CgformCopyList",
96
+ components: {
97
+ BasicTable: L,
98
+ TableAction: N,
99
+ CgformModal: V,
100
+ DbToOnlineModal: F,
101
+ CustomButtonList: O,
102
+ EnhanceJsModal: $,
103
+ EnhanceJavaModal: P,
104
+ EnhanceSqlModal: z,
105
+ AuthManagerDrawer: Q,
106
+ AuthSetterModal: Y
107
+ },
108
+ setup() {
109
+ const o = j.copy;
110
+ _("cgformPageType", o);
111
+ const {
112
+ router: r,
113
+ pageContext: E,
114
+ getTableAction: A,
115
+ getDropDownAction: b,
116
+ onShowCustomButton: w,
117
+ onShowEnhanceJs: a,
118
+ onShowEnhanceSql: p,
119
+ onShowEnhanceJava: l,
120
+ registerCustomButtonModal: s,
121
+ registerEnhanceJsModal: c,
122
+ registerEnhanceSqlModal: u,
123
+ registerEnhanceJavaModal: g,
124
+ registerAuthManagerDrawer: d,
125
+ registerAuthSetterModal: h,
126
+ registerCgformModal: f,
127
+ registerDbToOnlineModal: C
128
+ } = G({
129
+ pageType: o,
130
+ designScope: "online-cgform-list",
131
+ columns: [
132
+ { title: "视图表名", dataIndex: "tableName" },
133
+ { title: "视图表描述", dataIndex: "tableTxt" },
134
+ { title: "原表版本", dataIndex: "copyVersion" },
135
+ { title: "视图版本", dataIndex: "tableVersion" }
136
+ ],
137
+ formSchemas: [{ label: "表名", field: "tableName", component: "JInput" }]
138
+ }), { prefixCls: n, tableContext: R } = E, [D, { reload: T }, { rowSelection: J }] = R;
139
+ return k(r.currentRoute, () => T()), {
140
+ prefixCls: n,
141
+ reload: T,
142
+ rowSelection: J,
143
+ getTableAction: A,
144
+ getDropDownAction: b,
145
+ onShowCustomButton: w,
146
+ onShowEnhanceJs: a,
147
+ onShowEnhanceSql: p,
148
+ onShowEnhanceJava: l,
149
+ registerCustomButtonModal: s,
150
+ registerEnhanceJsModal: c,
151
+ registerEnhanceSqlModal: u,
152
+ registerEnhanceJavaModal: g,
153
+ registerAuthManagerDrawer: d,
154
+ registerAuthSetterModal: h,
155
+ registerTable: D,
156
+ registerCgformModal: f,
157
+ registerDbToOnlineModal: C
158
+ };
159
+ }
160
+ }), U = {
161
+ key: 0,
162
+ style: { color: "limegreen" }
163
+ }, W = {
164
+ key: 1,
165
+ style: { color: "red" }
166
+ };
167
+ function X(o, r, E, A, b, w) {
168
+ const a = e("a-button"), p = e("TableAction"), l = e("BasicTable"), s = e("CgformModal"), c = e("EnhanceJsModal"), u = e("EnhanceJavaModal"), g = e("EnhanceSqlModal"), d = e("DbToOnlineModal"), h = e("CustomButtonList"), f = e("AuthManagerDrawer"), C = e("AuthSetterModal");
169
+ return M(), S(v, null, [
170
+ I("div", {
171
+ class: q(o.prefixCls)
172
+ }, [
173
+ t(l, {
174
+ onRegister: o.registerTable,
175
+ rowSelection: o.rowSelection
176
+ }, {
177
+ tableTitle: i(() => [
178
+ t(a, {
179
+ onClick: o.onShowCustomButton,
180
+ type: "primary",
181
+ preIcon: "ant-design:highlight"
182
+ }, {
183
+ default: i(() => r[0] || (r[0] = [
184
+ m("自定义按钮")
185
+ ])),
186
+ _: 1
187
+ }, 8, ["onClick"]),
188
+ t(a, {
189
+ onClick: o.onShowEnhanceJs,
190
+ type: "primary",
191
+ preIcon: "ant-design:strikethrough"
192
+ }, {
193
+ default: i(() => r[1] || (r[1] = [
194
+ m("JS增强")
195
+ ])),
196
+ _: 1
197
+ }, 8, ["onClick"]),
198
+ t(a, {
199
+ onClick: o.onShowEnhanceSql,
200
+ type: "primary",
201
+ preIcon: "ant-design:filter"
202
+ }, {
203
+ default: i(() => r[2] || (r[2] = [
204
+ m("SQL增强")
205
+ ])),
206
+ _: 1
207
+ }, 8, ["onClick"]),
208
+ t(a, {
209
+ onClick: o.onShowEnhanceJava,
210
+ type: "primary",
211
+ preIcon: "ant-design:tool"
212
+ }, {
213
+ default: i(() => r[3] || (r[3] = [
214
+ m("Java增强")
215
+ ])),
216
+ _: 1
217
+ }, 8, ["onClick"])
218
+ ]),
219
+ dbSync: i(({ text: n }) => [
220
+ n === "Y" ? (M(), S("span", U, "已同步")) : y("", !0),
221
+ n === "N" ? (M(), S("span", W, "未同步")) : y("", !0)
222
+ ]),
223
+ action: i(({ record: n }) => [
224
+ t(p, {
225
+ actions: o.getTableAction(n),
226
+ dropDownActions: o.getDropDownAction(n)
227
+ }, null, 8, ["actions", "dropDownActions"])
228
+ ]),
229
+ _: 1
230
+ }, 8, ["onRegister", "rowSelection"])
231
+ ], 2),
232
+ t(s, {
233
+ onRegister: o.registerCgformModal,
234
+ actionButton: !1,
235
+ onSuccess: o.reload
236
+ }, null, 8, ["onRegister", "onSuccess"]),
237
+ t(c, { onRegister: o.registerEnhanceJsModal }, null, 8, ["onRegister"]),
238
+ t(u, { onRegister: o.registerEnhanceJavaModal }, null, 8, ["onRegister"]),
239
+ t(g, { onRegister: o.registerEnhanceSqlModal }, null, 8, ["onRegister"]),
240
+ t(d, {
241
+ onRegister: o.registerDbToOnlineModal,
242
+ onSuccess: o.reload
243
+ }, null, 8, ["onRegister", "onSuccess"]),
244
+ t(h, { onRegister: o.registerCustomButtonModal }, null, 8, ["onRegister"]),
245
+ t(f, { onRegister: o.registerAuthManagerDrawer }, null, 8, ["onRegister"]),
246
+ t(C, { onRegister: o.registerAuthSetterModal }, null, 8, ["onRegister"])
247
+ ], 64);
248
+ }
249
+ const Ft = /* @__PURE__ */ H(K, [["render", X]]);
250
+ export {
251
+ Ft as default
252
+ };