@jeecg/online 3.7.4 → 3.8.2-beta

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 (113) hide show
  1. package/{AccountLoginForm-d2fed52f.mjs → AccountLoginForm-79fa7b01.mjs} +1 -1
  2. package/{AiModal-fbe4b68a.mjs → AiModal-942b59ec.mjs} +1 -1
  3. package/{AppForgetPassword-3b3bec82.mjs → AppForgetPassword-d762e5b3.mjs} +2 -2
  4. package/{AppLogin-cd2e2a87.mjs → AppLogin-41372985.mjs} +9 -9
  5. package/{AppLoginHeader-9b5be678.mjs → AppLoginHeader-3b6fa33d.mjs} +1 -1
  6. package/{AppNameEmail-b4e32ae8.mjs → AppNameEmail-8dfbad62.mjs} +2 -2
  7. package/{AppRegister-7117b66a.mjs → AppRegister-433c54db.mjs} +3 -3
  8. package/{AppTenant-5817729b.mjs → AppTenant-e49dfa9b.mjs} +2 -2
  9. package/{AppThirdForm-d14fb5e5.mjs → AppThirdForm-7b75b4fc.mjs} +1 -1
  10. package/{AuthButtonConfig-5e3b6d72.mjs → AuthButtonConfig-a0f59cb5.mjs} +50 -46
  11. package/{AuthButtonTree-7b4ec967.mjs → AuthButtonTree-f0a5cc0b.mjs} +2 -2
  12. package/{AuthDataConfig-48ee9228.mjs → AuthDataConfig-647c4a27.mjs} +2 -2
  13. package/{AuthDataTree-02b3ba05.mjs → AuthDataTree-b80a3ea5.mjs} +1 -1
  14. package/{AuthFieldConfig-562cc6b6.mjs → AuthFieldConfig-d36a1b2d.mjs} +2 -2
  15. package/{AuthFieldTree-2d458c0c.mjs → AuthFieldTree-dba6af79.mjs} +1 -1
  16. package/{AuthManagerDrawer-38299230.mjs → AuthManagerDrawer-5acbd451.mjs} +5 -5
  17. package/{AuthSetterModal-78b06703.mjs → AuthSetterModal-95b5f616.mjs} +8 -8
  18. package/CgformAddressModal-5d889870.mjs +263 -0
  19. package/CgformCopyList-cc5f76cd.mjs +259 -0
  20. package/{CgformModal-12951453.mjs → CgformModal-cebc698b.mjs} +73 -70
  21. package/CgreportAigcModal-d1e62385.mjs +211 -0
  22. package/{CgreportModal-bfeb93ed.mjs → CgreportModal-2e4421e6.mjs} +103 -103
  23. package/{CheckDictTable-3c1e59e0.mjs → CheckDictTable-8fb7299c.mjs} +2 -2
  24. package/{CodeFileListModal-71752603.mjs → CodeFileListModal-25fad54f.mjs} +2 -2
  25. package/{CodeFileViewModal-eb803769.mjs → CodeFileViewModal-12299ab5.mjs} +1 -1
  26. package/{CodeGeneratorModal-2fe1e920.mjs → CodeGeneratorModal-791b1695.mjs} +5 -5
  27. package/{CustomButtonList-22b5cdb3.mjs → CustomButtonList-26490688.mjs} +1 -1
  28. package/DBAttributeTable-dea8ab11.mjs +546 -0
  29. package/{DbToOnlineModal-049b4bbd.mjs → DbToOnlineModal-60317a16.mjs} +1 -1
  30. package/{DetailForm-c127c27f.mjs → DetailForm-b92a5e9d.mjs} +6 -6
  31. package/{DropMenuItem-b1a8f47d.mjs → DropMenuItem-82213be6.mjs} +1 -1
  32. package/{EnhanceJavaModal-1a4d696b.mjs → EnhanceJavaModal-6ebefc8b.mjs} +1 -1
  33. package/{EnhanceJsHistory-48cf43ad.mjs → EnhanceJsHistory-8d9b86ca.mjs} +2 -2
  34. package/{EnhanceJsModal-0e1f15f8.mjs → EnhanceJsModal-9439e6f8.mjs} +17 -16
  35. package/{EnhanceSqlModal-6a1aa471.mjs → EnhanceSqlModal-ea4592bf.mjs} +1 -1
  36. package/{ExtendConfigModal-37af21a5.mjs → ExtendConfigModal-f509db46.mjs} +2 -2
  37. package/{FieldExtendJsonModal-9441e08e.mjs → FieldExtendJsonModal-73bab5b5.mjs} +2 -2
  38. package/{FileSelectModal-04490919.mjs → FileSelectModal-49d6dade.mjs} +1 -1
  39. package/{ForeignKeyTable-06300a47.mjs → ForeignKeyTable-330963c1.mjs} +2 -2
  40. package/{IndexTable-79bddd5c.mjs → IndexTable-c0478faa.mjs} +2 -2
  41. package/{JModalTip-192fafa1.mjs → JModalTip-b1d19eaa.mjs} +1 -1
  42. package/{JOnlineSearchSelect-9abcf657.mjs → JOnlineSearchSelect-97662e1b.mjs} +1 -1
  43. package/{LeftDepart-35d78655.mjs → LeftDepart-4b1003f0.mjs} +1 -1
  44. package/{LeftRole-9d88976d.mjs → LeftRole-8486ba4f.mjs} +1 -1
  45. package/{LeftUser-04c89aea.mjs → LeftUser-09894a2f.mjs} +1 -1
  46. package/{LinkTableConfigModal-5f94ef13.mjs → LinkTableConfigModal-cd0980e9.mjs} +1 -1
  47. package/{LinkTableFieldConfigModal-40753de5.mjs → LinkTableFieldConfigModal-f4106ab7.mjs} +1 -1
  48. package/{LinkTableListPiece-179035c7.mjs → LinkTableListPiece-4187ad7d.mjs} +1 -1
  49. package/{ModalFormDemo-3a85920c.mjs → ModalFormDemo-4ec79769.mjs} +1 -1
  50. package/OnlCgformErpList-63089149.mjs +498 -0
  51. package/{OnlCgformErpSubTable-3515150b.mjs → OnlCgformErpSubTable-421e2051.mjs} +18 -17
  52. package/{OnlCgformInnerSubTable-13e888c6.mjs → OnlCgformInnerSubTable-9616ebf2.mjs} +16 -15
  53. package/{OnlCgformInnerTableList-2e8f853c.mjs → OnlCgformInnerTableList-5ed887e4.mjs} +160 -154
  54. package/{OnlCgformTabList-583ac15f.mjs → OnlCgformTabList-c03a1d0a.mjs} +160 -154
  55. package/OnlineAutoList-e5a61211.mjs +557 -0
  56. package/{OnlineAutoModal-c0743caf.mjs → OnlineAutoModal-38f2d522.mjs} +7 -7
  57. package/OnlineAutoTreeList-16fa962f.mjs +531 -0
  58. package/{OnlineCustomModal-661ee850.mjs → OnlineCustomModal-7e31297e.mjs} +7 -7
  59. package/{OnlineDetailModal-785e848e.mjs → OnlineDetailModal-79085ba8.mjs} +8 -8
  60. package/{OnlineForm-c1fb38eb.mjs → OnlineForm-0438f4bf.mjs} +6 -6
  61. package/{OnlineFormDetail-50186870.mjs → OnlineFormDetail-76d243ed.mjs} +89 -83
  62. package/{OnlineFormUrlAdd-905bf251.mjs → OnlineFormUrlAdd-2e05ba0f.mjs} +12 -11
  63. package/{OnlineFormUrlDetail-a9dd2bfa.mjs → OnlineFormUrlDetail-06b2d9e6.mjs} +19 -18
  64. package/{OnlineFormUrlEdit-b8941f05.mjs → OnlineFormUrlEdit-77ac4bba.mjs} +12 -11
  65. package/{OnlineFormUrlSuccess-ecaf6a21.mjs → OnlineFormUrlSuccess-cb3f7be4.mjs} +1 -1
  66. package/{OnlineQueryForm-ca6186a3.mjs → OnlineQueryForm-528af6ed.mjs} +5 -5
  67. package/{OnlineSearchFormItem-5c503a51.mjs → OnlineSearchFormItem-51eefaf4.mjs} +2 -2
  68. package/{OnlineSelectCascade-a3e686b3.mjs → OnlineSelectCascade-b218691c.mjs} +1 -1
  69. package/{OnlineSubFormDetail-be1ad3b9.mjs → OnlineSubFormDetail-a1b7f33f.mjs} +6 -6
  70. package/{OnlineTabAutoModal-fb59b573.mjs → OnlineTabAutoModal-1c7c4ed2.mjs} +7 -7
  71. package/{OnlineTabDetailModal-4b9c4838.mjs → OnlineTabDetailModal-7c45e727.mjs} +8 -8
  72. package/{OnlineTabForm-89389384.mjs → OnlineTabForm-9682158f.mjs} +7 -7
  73. package/{OnlineTabFormDetail-72173ae4.mjs → OnlineTabFormDetail-b8650175.mjs} +7 -7
  74. package/{PageAttributeTable-345b97fe.mjs → PageAttributeTable-21314341.mjs} +6 -6
  75. package/{PhoneLoginForm-8ca7e2d4.mjs → PhoneLoginForm-c3c16f16.mjs} +62 -62
  76. package/{ProcessOnlineForm-485b5679.mjs → ProcessOnlineForm-d6113dec.mjs} +7 -7
  77. package/{QueryTable-f0a88d78.mjs → QueryTable-413d1366.mjs} +2 -2
  78. package/{SetSwitchOptions-cdcb22a1.mjs → SetSwitchOptions-82fd6265.mjs} +1 -1
  79. package/{ShareAddView-f713c0a5.mjs → ShareAddView-a2dba2ef.mjs} +22 -21
  80. package/{ShareEditView-691764ad.mjs → ShareEditView-ecd590dc.mjs} +22 -21
  81. package/{ShareView-df344a8d.mjs → ShareView-84f333e7.mjs} +20 -19
  82. package/{ShareView.vue_vue_type_script_setup_true_lang-560459c9.mjs → ShareView.vue_vue_type_script_setup_true_lang-9a3a259e.mjs} +2 -2
  83. package/{SingleView-ad0287d6.mjs → SingleView-d4f29169.mjs} +15 -14
  84. package/{SingleView.vue_vue_type_style_index_0_lang-ce96670b.mjs → SingleView.vue_vue_type_style_index_0_lang-40ea7e64.mjs} +4 -4
  85. package/{SuperQuery-2b293e3b.mjs → SuperQuery-290f5080.mjs} +39 -38
  86. package/aiModal-6e338c79.mjs +175 -0
  87. package/{auth.data-626c5083.mjs → auth.data-e44c7975.mjs} +10 -9
  88. package/button.data-fe45d43b.mjs +12 -0
  89. package/{index-3c7392a4.mjs → index-254a82b7.mjs} +50 -49
  90. package/index-30c0a14f.mjs +57 -0
  91. package/{index-bef7fe2d.mjs → index-7890e2b4.mjs} +1 -1
  92. package/{index-181f8344.mjs → index-7bab525f.mjs} +3 -3
  93. package/{index-d6f9ada7.mjs → index-9bebbfe5.mjs} +2 -2
  94. package/{index-93341e02.mjs → index-bc0d747e.mjs} +2 -2
  95. package/index-c5737cbb.mjs +268 -0
  96. package/main.index.js +1 -1
  97. package/package.json +1 -1
  98. package/style.css +1 -1
  99. package/{useCgformList-13c8aab7.mjs → useCgformList-52631580.mjs} +105 -88
  100. package/{useCustomHook-acb00837.mjs → useCustomHook-3a17a690.mjs} +11 -9
  101. package/{useExtendComponent-3f5734ca.mjs → useExtendComponent-d1db211d.mjs} +252 -251
  102. package/useListButton-7f9674a0.mjs +765 -0
  103. package/{useSchemas-f1819e54.mjs → useSchemas-b074f3a1.mjs} +72 -72
  104. package/{useTableSync-075826a1.mjs → useTableSync-dbfba20e.mjs} +31 -31
  105. package/CgformAddressModal-1b9cbe19.mjs +0 -260
  106. package/CgformCopyList-580bba0f.mjs +0 -252
  107. package/DBAttributeTable-eb25565c.mjs +0 -502
  108. package/OnlCgformErpList-8fd15fc1.mjs +0 -488
  109. package/OnlineAutoList-36ec0957.mjs +0 -513
  110. package/OnlineAutoTreeList-1cd718be.mjs +0 -523
  111. package/index-3ccda826.mjs +0 -239
  112. package/index-f3683351.mjs +0 -57
  113. package/useListButton-ee23874a.mjs +0 -719
@@ -0,0 +1,263 @@
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";
2
+ import { useModalInner as F, BasicModal as U } from "/@/components/Modal";
3
+ import { p as P } from "./utils-9fce7606.mjs";
4
+ import { copyTextToClipboard as R } from "/@/hooks/web/useCopyToClipboard";
5
+ import { getToken as H } from "/@/utils/auth";
6
+ import { useMessage as J } from "/@/hooks/web/useMessage";
7
+ import { buildUUID as z } from "/@/utils/uuid";
8
+ import { _ as Q } from "./index-30c0a14f.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 Y = { class: "content" }, G = ["href"], W = ["href"], X = ["href"], Z = /* @__PURE__ */ S({
15
+ __name: "CgformAddressModal",
16
+ emits: ["register"],
17
+ 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({
19
+ title: "",
20
+ content: "",
21
+ copyText: "",
22
+ copyTitle: "",
23
+ formId: ""
24
+ }), [h] = F((t) => {
25
+ Object.assign(u, t, {
26
+ formId: t.record.id
27
+ });
28
+ 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"];
30
+ }), n = v(() => {
31
+ const t = {};
32
+ if (f.value) {
33
+ const e = `/online/cgform/share/${u.formId}`;
34
+ t.add = `${e}/add`, t.edit = `${e}/u/{dataId}`, t.detail = `${e}/d/{dataId}`;
35
+ }
36
+ return {
37
+ list: u.content,
38
+ extLink: t
39
+ };
40
+ });
41
+ function A() {
42
+ let t = "OnlineAutoList";
43
+ 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
+ const e = `-- 插入菜单
45
+ 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
+ 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
+ `;
48
+ $(e);
49
+ }
50
+ function $(t) {
51
+ const e = R(t);
52
+ return e ? y.success("复制成功!") : y.error("复制失败!"), e;
53
+ }
54
+ const l = N({
55
+ base: "",
56
+ value: "",
57
+ visible: !1
58
+ }), B = v(() => l.value ? l.base.replace(/{dataId}/, l.value) + "?token=" + k.value : void 0), w = v(() => ({
59
+ title: "请输入dataId",
60
+ minHeight: 120,
61
+ centered: !0,
62
+ canFullscreen: !1,
63
+ onOk: () => l.visible = !1,
64
+ onCancel: () => l.visible = !1
65
+ }));
66
+ function C(t) {
67
+ l.base = t, l.value = "", l.visible = !0;
68
+ }
69
+ function M() {
70
+ if (!l.value) {
71
+ y.warn("请输入dataId");
72
+ return;
73
+ }
74
+ l.visible = !1;
75
+ }
76
+ 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");
78
+ return O(), V(K, null, [
79
+ o(L(U), {
80
+ onRegister: L(h),
81
+ title: "配置地址",
82
+ width: 750,
83
+ canFullscreen: !1,
84
+ showOkBtn: !1,
85
+ cancelText: "关闭"
86
+ }, {
87
+ default: a(() => [
88
+ r("div", Y, [
89
+ o(E, {
90
+ activeKey: p.value,
91
+ "onUpdate:activeKey": e[2] || (e[2] = (s) => p.value = s),
92
+ class: "j-collapse",
93
+ bordered: !1,
94
+ ghost: ""
95
+ }, {
96
+ default: a(() => [
97
+ o(T, {
98
+ key: "def",
99
+ header: "配置地址",
100
+ class: "j-collapse-panel no-header"
101
+ }, {
102
+ default: a(() => [
103
+ o(_, { style: { "margin-bottom": "8px" } }, {
104
+ default: a(() => [
105
+ o(m, { span: 24 }, {
106
+ default: a(() => [
107
+ o(c, {
108
+ readOnly: !0,
109
+ addonBefore: "数据列表地址",
110
+ value: n.value.list
111
+ }, {
112
+ addonAfter: a(() => [
113
+ r("a", {
114
+ href: n.value.list,
115
+ target: "_blank"
116
+ }, "打开", 8, G)
117
+ ]),
118
+ _: 1
119
+ }, 8, ["value"])
120
+ ]),
121
+ _: 1
122
+ })
123
+ ]),
124
+ _: 1
125
+ }),
126
+ o(I, {
127
+ class: "copy-sql",
128
+ type: "primary",
129
+ size: "small",
130
+ onClick: A
131
+ }, {
132
+ default: a(() => e[5] || (e[5] = [
133
+ g("复制菜单SQL")
134
+ ])),
135
+ _: 1
136
+ })
137
+ ]),
138
+ _: 1
139
+ }),
140
+ f.value ? (O(), j(T, {
141
+ key: "external",
142
+ header: "外部链接"
143
+ }, {
144
+ default: a(() => [
145
+ o(_, { style: { "margin-bottom": "8px" } }, {
146
+ default: a(() => [
147
+ o(m, { span: 24 }, {
148
+ default: a(() => [
149
+ o(c, {
150
+ readOnly: !0,
151
+ addonBefore: "外部新增地址",
152
+ value: n.value.extLink.add
153
+ }, {
154
+ addonAfter: a(() => [
155
+ r("a", {
156
+ href: n.value.extLink.add + "?token=" + k.value,
157
+ target: "_blank"
158
+ }, "打开", 8, W)
159
+ ]),
160
+ _: 1
161
+ }, 8, ["value"])
162
+ ]),
163
+ _: 1
164
+ })
165
+ ]),
166
+ _: 1
167
+ }),
168
+ o(_, { style: { "margin-bottom": "8px" } }, {
169
+ default: a(() => [
170
+ o(m, { span: 24 }, {
171
+ default: a(() => [
172
+ o(c, {
173
+ readOnly: !0,
174
+ addonBefore: "外部修改地址",
175
+ value: n.value.extLink.edit
176
+ }, {
177
+ addonAfter: a(() => [
178
+ r("a", {
179
+ onClick: e[0] || (e[0] = (s) => C(n.value.extLink.edit))
180
+ }, "打开")
181
+ ]),
182
+ _: 1
183
+ }, 8, ["value"])
184
+ ]),
185
+ _: 1
186
+ })
187
+ ]),
188
+ _: 1
189
+ }),
190
+ o(_, { style: { "margin-bottom": "8px" } }, {
191
+ default: a(() => [
192
+ o(m, { span: 24 }, {
193
+ default: a(() => [
194
+ o(c, {
195
+ readOnly: !0,
196
+ addonBefore: "外部详情地址",
197
+ value: n.value.extLink.detail
198
+ }, {
199
+ addonAfter: a(() => [
200
+ r("a", {
201
+ onClick: e[1] || (e[1] = (s) => C(n.value.extLink.detail))
202
+ }, "打开")
203
+ ]),
204
+ _: 1
205
+ }, 8, ["value"])
206
+ ]),
207
+ _: 1
208
+ })
209
+ ]),
210
+ _: 1
211
+ }),
212
+ e[6] || (e[6] = r("div", { style: { "text-align": "right", color: "red" } }, [
213
+ g("注意:"),
214
+ r("span", { style: { "font-weight": "bold" } }, "{dataId}"),
215
+ g(" 为数据id")
216
+ ], -1))
217
+ ]),
218
+ _: 1
219
+ })) : q("", !0)
220
+ ]),
221
+ _: 1
222
+ }, 8, ["activeKey"])
223
+ ])
224
+ ]),
225
+ _: 1
226
+ }, 8, ["onRegister"]),
227
+ o(L(U), D({
228
+ visible: l.visible,
229
+ "onUpdate:visible": e[4] || (e[4] = (s) => l.visible = s)
230
+ }, w.value), {
231
+ footer: a(() => [
232
+ r("a", {
233
+ href: B.value,
234
+ target: "_blank"
235
+ }, [
236
+ o(I, {
237
+ type: "primary",
238
+ onClick: M
239
+ }, {
240
+ default: a(() => e[7] || (e[7] = [
241
+ g("确定")
242
+ ])),
243
+ _: 1
244
+ })
245
+ ], 8, X)
246
+ ]),
247
+ default: a(() => [
248
+ o(c, {
249
+ placeholder: "请输入dataId",
250
+ value: l.value,
251
+ "onUpdate:value": e[3] || (e[3] = (s) => l.value = s)
252
+ }, null, 8, ["value"])
253
+ ]),
254
+ _: 1
255
+ }, 16, ["visible"])
256
+ ], 64);
257
+ };
258
+ }
259
+ });
260
+ const _e = /* @__PURE__ */ Q(Z, [["__scopeId", "data-v-066eeacc"]]);
261
+ export {
262
+ _e as default
263
+ };
@@ -0,0 +1,259 @@
1
+ import { defineComponent as _, provide as k, watch as v, resolveComponent as e, openBlock as S, createElementBlock as A, Fragment as I, createElementVNode as q, normalizeClass as L, createVNode as t, withCtx as i, createTextVNode as a, createCommentVNode as y } from "vue";
2
+ import { BasicTable as N, TableAction as V } from "/@/components/Table";
3
+ import { C as F } from "./CgformModal-cebc698b.mjs";
4
+ import O from "./DbToOnlineModal-60317a16.mjs";
5
+ import $ from "./CustomButtonList-26490688.mjs";
6
+ import P from "./EnhanceJsModal-9439e6f8.mjs";
7
+ import z from "./EnhanceJavaModal-6ebefc8b.mjs";
8
+ import Q from "./EnhanceSqlModal-ea4592bf.mjs";
9
+ import Y from "./AuthManagerDrawer-5acbd451.mjs";
10
+ import j from "./AuthSetterModal-95b5f616.mjs";
11
+ import G from "./CgformAddressModal-5d889870.mjs";
12
+ import { C as H, u as K } from "./useCgformList-52631580.mjs";
13
+ import { _ as U } from "./index-30c0a14f.mjs";
14
+ import "/@/components/Icon";
15
+ import "/@/components/Modal";
16
+ import "/@/components/Form/index";
17
+ import "/@/hooks/web/useMessage";
18
+ import "./useSchemas-b074f3a1.mjs";
19
+ import "ant-design-vue";
20
+ import "@ant-design/icons-vue";
21
+ import "/@/utils/common/compUtils";
22
+ import "/@/hooks/web/usePermission";
23
+ import "/@/utils/helper/validator";
24
+ import "./DBAttributeTable-dea8ab11.mjs";
25
+ import "/@/components/jeecg/JVxeTable/types";
26
+ import "./useTableSync-dbfba20e.mjs";
27
+ import "./cgform.data-0ca62d09.mjs";
28
+ import "/@/utils/dict";
29
+ import "/@/utils/dict/JDictSelectUtil";
30
+ import "/@/utils/uuid";
31
+ import "lodash-es";
32
+ import "./aiModal-6e338c79.mjs";
33
+ import "/@/utils/http/axios";
34
+ import "./PageAttributeTable-21314341.mjs";
35
+ import "./LinkTableConfigModal-cd0980e9.mjs";
36
+ import "./LinkTableFieldConfigModal-f4106ab7.mjs";
37
+ import "./FieldExtendJsonModal-73bab5b5.mjs";
38
+ import "./SetSwitchOptions-82fd6265.mjs";
39
+ import "/@/utils/is";
40
+ import "./constant-fa63bd66.mjs";
41
+ import "./CheckDictTable-8fb7299c.mjs";
42
+ import "/@/components/jeecg/JPrompt";
43
+ import "/@/hooks/web/useDesign";
44
+ import "./ForeignKeyTable-330963c1.mjs";
45
+ import "./IndexTable-c0478faa.mjs";
46
+ import "./QueryTable-413d1366.mjs";
47
+ import "./ExtendConfigModal-f509db46.mjs";
48
+ import "/@/components/Form";
49
+ import "./useOnlineTest-e4bd8be3.mjs";
50
+ import "/@/utils";
51
+ import "./useExtendComponent-d1db211d.mjs";
52
+ import "/@/components/Form/src/componentMap";
53
+ import "/@/utils/propTypes";
54
+ import "/@/components/Form/src/jeecg/components/JUpload";
55
+ import "/@/views/system/user/user.api";
56
+ import "/@/store/modules/user";
57
+ import "/@/utils/desform/customExpression";
58
+ import "/@/store/modules/permission";
59
+ import "/@/hooks/system/useListPage";
60
+ import "vue-router";
61
+ import "/@/components/Form/src/utils/Area";
62
+ import "/@/components/Preview/index";
63
+ import "./LinkTableListPiece-4187ad7d.mjs";
64
+ import "/@/utils/auth";
65
+ import "/@/api/common/api";
66
+ import "/@/hooks/web/useAppInject";
67
+ import "/@/assets/images/placeholderImage.png";
68
+ import "./OnlineSelectCascade-b218691c.mjs";
69
+ import "/@/components/Loading";
70
+ import "./JModalTip-b1d19eaa.mjs";
71
+ import "@vueuse/core";
72
+ import "./utils-9fce7606.mjs";
73
+ import "./BuiltInButtonList.vue_vue_type_script_setup_true_lang-07d0b7d0.mjs";
74
+ import "./EnhanceJsHistory-8d9b86ca.mjs";
75
+ import "/@/utils/dateUtil";
76
+ import "/@/store";
77
+ import "pinia";
78
+ import "/@/utils/cache";
79
+ import "./enhance.api-138e6826.mjs";
80
+ import "./enhance.data-6601ff44.mjs";
81
+ import "/@/components/Drawer";
82
+ import "./AuthFieldConfig-d36a1b2d.mjs";
83
+ import "./auth.api-53df4c33.mjs";
84
+ import "./auth.data-e44c7975.mjs";
85
+ import "/@/utils/index";
86
+ import "./AuthButtonConfig-a0f59cb5.mjs";
87
+ import "./AuthDataConfig-647c4a27.mjs";
88
+ import "./LeftRole-8486ba4f.mjs";
89
+ import "./LeftDepart-4b1003f0.mjs";
90
+ import "./LeftUser-09894a2f.mjs";
91
+ import "./AuthFieldTree-dba6af79.mjs";
92
+ import "./AuthButtonTree-f0a5cc0b.mjs";
93
+ import "./AuthDataTree-b80a3ea5.mjs";
94
+ import "/@/hooks/web/useCopyToClipboard";
95
+ import "./cgformState-d9f8ec42.mjs";
96
+ import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
97
+ const W = _({
98
+ name: "CgformCopyList",
99
+ components: {
100
+ BasicTable: N,
101
+ TableAction: V,
102
+ CgformModal: F,
103
+ DbToOnlineModal: O,
104
+ CustomButtonList: $,
105
+ EnhanceJsModal: P,
106
+ EnhanceJavaModal: z,
107
+ EnhanceSqlModal: Q,
108
+ AuthManagerDrawer: Y,
109
+ AuthSetterModal: j,
110
+ CgformAddressModal: G
111
+ },
112
+ setup() {
113
+ const o = H.copy;
114
+ k("cgformPageType", o);
115
+ const {
116
+ router: r,
117
+ pageContext: E,
118
+ getTableAction: b,
119
+ getDropDownAction: w,
120
+ onShowCustomButton: R,
121
+ onShowEnhanceJs: m,
122
+ onShowEnhanceSql: p,
123
+ onShowEnhanceJava: s,
124
+ registerCustomButtonModal: l,
125
+ registerEnhanceJsModal: c,
126
+ registerEnhanceSqlModal: d,
127
+ registerEnhanceJavaModal: u,
128
+ registerAuthManagerDrawer: g,
129
+ registerAuthSetterModal: f,
130
+ registerCgformModal: h,
131
+ registerDbToOnlineModal: C,
132
+ registerAddressModal: M
133
+ } = K({
134
+ pageType: o,
135
+ designScope: "online-cgform-list",
136
+ columns: [
137
+ { title: "视图表名", dataIndex: "tableName" },
138
+ { title: "视图表描述", dataIndex: "tableTxt" },
139
+ { title: "原表版本", dataIndex: "copyVersion" },
140
+ { title: "视图版本", dataIndex: "tableVersion" }
141
+ ],
142
+ formSchemas: [{ label: "表名", field: "tableName", component: "JInput" }]
143
+ }), { prefixCls: n, tableContext: D } = E, [J, { reload: T }, { rowSelection: B }] = D;
144
+ return v(r.currentRoute, () => T()), {
145
+ prefixCls: n,
146
+ reload: T,
147
+ rowSelection: B,
148
+ getTableAction: b,
149
+ getDropDownAction: w,
150
+ onShowCustomButton: R,
151
+ onShowEnhanceJs: m,
152
+ onShowEnhanceSql: p,
153
+ onShowEnhanceJava: s,
154
+ registerCustomButtonModal: l,
155
+ registerEnhanceJsModal: c,
156
+ registerEnhanceSqlModal: d,
157
+ registerEnhanceJavaModal: u,
158
+ registerAuthManagerDrawer: g,
159
+ registerAuthSetterModal: f,
160
+ registerTable: J,
161
+ registerCgformModal: h,
162
+ registerDbToOnlineModal: C,
163
+ registerAddressModal: M
164
+ };
165
+ }
166
+ }), X = {
167
+ key: 0,
168
+ style: { color: "limegreen" }
169
+ }, Z = {
170
+ key: 1,
171
+ style: { color: "red" }
172
+ };
173
+ function x(o, r, E, b, w, R) {
174
+ const m = e("a-button"), p = e("TableAction"), s = e("BasicTable"), l = e("CgformModal"), c = e("EnhanceJsModal"), d = e("EnhanceJavaModal"), u = e("EnhanceSqlModal"), g = e("DbToOnlineModal"), f = e("CustomButtonList"), h = e("AuthManagerDrawer"), C = e("AuthSetterModal"), M = e("CgformAddressModal");
175
+ return S(), A(I, null, [
176
+ q("div", {
177
+ class: L(o.prefixCls)
178
+ }, [
179
+ t(s, {
180
+ onRegister: o.registerTable,
181
+ rowSelection: o.rowSelection
182
+ }, {
183
+ tableTitle: i(() => [
184
+ t(m, {
185
+ onClick: o.onShowCustomButton,
186
+ type: "primary",
187
+ preIcon: "ant-design:highlight"
188
+ }, {
189
+ default: i(() => r[0] || (r[0] = [
190
+ a("自定义按钮")
191
+ ])),
192
+ _: 1
193
+ }, 8, ["onClick"]),
194
+ t(m, {
195
+ onClick: o.onShowEnhanceJs,
196
+ type: "primary",
197
+ preIcon: "ant-design:strikethrough"
198
+ }, {
199
+ default: i(() => r[1] || (r[1] = [
200
+ a("JS增强")
201
+ ])),
202
+ _: 1
203
+ }, 8, ["onClick"]),
204
+ t(m, {
205
+ onClick: o.onShowEnhanceSql,
206
+ type: "primary",
207
+ preIcon: "ant-design:filter"
208
+ }, {
209
+ default: i(() => r[2] || (r[2] = [
210
+ a("SQL增强")
211
+ ])),
212
+ _: 1
213
+ }, 8, ["onClick"]),
214
+ t(m, {
215
+ onClick: o.onShowEnhanceJava,
216
+ type: "primary",
217
+ preIcon: "ant-design:tool"
218
+ }, {
219
+ default: i(() => r[3] || (r[3] = [
220
+ a("Java增强")
221
+ ])),
222
+ _: 1
223
+ }, 8, ["onClick"])
224
+ ]),
225
+ dbSync: i(({ text: n }) => [
226
+ n === "Y" ? (S(), A("span", X, "已同步")) : y("", !0),
227
+ n === "N" ? (S(), A("span", Z, "未同步")) : y("", !0)
228
+ ]),
229
+ action: i(({ record: n }) => [
230
+ t(p, {
231
+ actions: o.getTableAction(n),
232
+ dropDownActions: o.getDropDownAction(n)
233
+ }, null, 8, ["actions", "dropDownActions"])
234
+ ]),
235
+ _: 1
236
+ }, 8, ["onRegister", "rowSelection"])
237
+ ], 2),
238
+ t(l, {
239
+ onRegister: o.registerCgformModal,
240
+ actionButton: !1,
241
+ onSuccess: o.reload
242
+ }, null, 8, ["onRegister", "onSuccess"]),
243
+ t(c, { onRegister: o.registerEnhanceJsModal }, null, 8, ["onRegister"]),
244
+ t(d, { onRegister: o.registerEnhanceJavaModal }, null, 8, ["onRegister"]),
245
+ t(u, { onRegister: o.registerEnhanceSqlModal }, null, 8, ["onRegister"]),
246
+ t(g, {
247
+ onRegister: o.registerDbToOnlineModal,
248
+ onSuccess: o.reload
249
+ }, null, 8, ["onRegister", "onSuccess"]),
250
+ t(f, { onRegister: o.registerCustomButtonModal }, null, 8, ["onRegister"]),
251
+ t(h, { onRegister: o.registerAuthManagerDrawer }, null, 8, ["onRegister"]),
252
+ t(C, { onRegister: o.registerAuthSetterModal }, null, 8, ["onRegister"]),
253
+ t(M, { onRegister: o.registerAddressModal }, null, 8, ["onRegister"])
254
+ ], 64);
255
+ }
256
+ const Qt = /* @__PURE__ */ U(W, [["render", x]]);
257
+ export {
258
+ Qt as default
259
+ };