@jeecg/online 3.6.0-beta → 3.6.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 (81) hide show
  1. package/{AuthButtonConfig-b6a674fa.mjs → AuthButtonConfig-244ec09f.mjs} +1 -1
  2. package/{AuthButtonTree-09e57bc4.mjs → AuthButtonTree-3aa0ed49.mjs} +1 -1
  3. package/{AuthDataConfig-6e7e61ec.mjs → AuthDataConfig-83891eea.mjs} +1 -1
  4. package/{AuthDataTree-e83286c5.mjs → AuthDataTree-94e026e3.mjs} +1 -1
  5. package/{AuthFieldConfig-f1ec2708.mjs → AuthFieldConfig-6b21915c.mjs} +1 -1
  6. package/{AuthFieldTree-bb72e21f.mjs → AuthFieldTree-69864163.mjs} +1 -1
  7. package/{AuthManagerDrawer-28a2d108.mjs → AuthManagerDrawer-300dd4e4.mjs} +4 -4
  8. package/{AuthSetterModal-2990d553.mjs → AuthSetterModal-a414fb35.mjs} +58 -52
  9. package/{CgformCopyList-36a4cbf0.mjs → CgformCopyList-14b76108.mjs} +39 -37
  10. package/{CgformModal-7399a5ac.mjs → CgformModal-eccfc38e.mjs} +90 -90
  11. package/{CgreportModal-2eb9c9e1.mjs → CgreportModal-2065f5a9.mjs} +1 -1
  12. package/{CgreportModal.vue_vue_type_script_setup_true_lang-c2ceb064.mjs → CgreportModal.vue_vue_type_script_setup_true_lang-c89d9222.mjs} +131 -131
  13. package/{CheckDictTable-3a8a54b3.mjs → CheckDictTable-134cbb83.mjs} +1 -1
  14. package/{CodeFileListModal-72f0d3bb.mjs → CodeFileListModal-a6d3290d.mjs} +2 -2
  15. package/{CodeFileViewModal-9eb88c47.mjs → CodeFileViewModal-373e8058.mjs} +1 -1
  16. package/{CodeGeneratorModal-a89958f5.mjs → CodeGeneratorModal-f08a89cd.mjs} +5 -5
  17. package/{CustomButtonList-c44aec5a.mjs → CustomButtonList-02e3d897.mjs} +1 -1
  18. package/{DBAttributeTable-7d285e8d.mjs → DBAttributeTable-370de07b.mjs} +1 -1
  19. package/{DbToOnlineModal-d23cbeb1.mjs → DbToOnlineModal-9f13956f.mjs} +1 -1
  20. package/{DetailForm-2901d215.mjs → DetailForm-424638eb.mjs} +32 -31
  21. package/{EnhanceJavaModal-153899a9.mjs → EnhanceJavaModal-f63aa2d3.mjs} +1 -1
  22. package/{EnhanceJsHistory-7f5db3b1.mjs → EnhanceJsHistory-352b46b1.mjs} +1 -1
  23. package/{EnhanceJsModal-c2fb75b8.mjs → EnhanceJsModal-05c73a59.mjs} +2 -2
  24. package/{EnhanceSqlModal-965e9b0a.mjs → EnhanceSqlModal-5e4ae84f.mjs} +1 -1
  25. package/{ExtendConfigModal-8f08466f.mjs → ExtendConfigModal-1dde390a.mjs} +2 -2
  26. package/{FieldExtendJsonModal-adfcf5a7.mjs → FieldExtendJsonModal-a70a9ccd.mjs} +1 -1
  27. package/{FileSelectModal-432d4521.mjs → FileSelectModal-9a02560b.mjs} +1 -1
  28. package/{ForeignKeyTable-faab7ccf.mjs → ForeignKeyTable-6a843c4b.mjs} +1 -1
  29. package/{IndexTable-0a2d3718.mjs → IndexTable-f8af9d44.mjs} +1 -1
  30. package/JModalTip-33c7dc44.mjs +49 -0
  31. package/{JOnlineSearchSelect-7e908492.mjs → JOnlineSearchSelect-c287af12.mjs} +1 -1
  32. package/{LeftDepart-54f245b3.mjs → LeftDepart-fa85523d.mjs} +1 -1
  33. package/{LeftRole-c138f892.mjs → LeftRole-8b8dfe21.mjs} +1 -1
  34. package/{LeftUser-9c812f8a.mjs → LeftUser-dc24ef2f.mjs} +1 -1
  35. package/{LinkTableConfigModal-c2c5c7e6.mjs → LinkTableConfigModal-d4fbdef2.mjs} +1 -1
  36. package/{LinkTableFieldConfigModal-a3553b1f.mjs → LinkTableFieldConfigModal-787bc55c.mjs} +1 -1
  37. package/{LinkTableListPiece-7f793b08.mjs → LinkTableListPiece-8499a318.mjs} +1 -1
  38. package/{ModalFormDemo-65685b0e.mjs → ModalFormDemo-977a49eb.mjs} +1 -1
  39. package/{OnlCgformErpList-52c87ed3.mjs → OnlCgformErpList-db45e22b.mjs} +59 -54
  40. package/OnlCgformErpSubTable-54b50eec.mjs +403 -0
  41. package/{OnlCgformInnerSubTable-f0727b8f.mjs → OnlCgformInnerSubTable-fbca73e0.mjs} +46 -41
  42. package/{OnlCgformInnerTableList-9f89c173.mjs → OnlCgformInnerTableList-782eaf04.mjs} +156 -142
  43. package/{OnlCgformTabList-15516315.mjs → OnlCgformTabList-a9e1e36a.mjs} +47 -42
  44. package/{OnlineAutoList-63a0224f.mjs → OnlineAutoList-0583a910.mjs} +185 -180
  45. package/{OnlineAutoModal-ffe19c3f.mjs → OnlineAutoModal-510991eb.mjs} +14 -13
  46. package/{OnlineAutoTreeList-317c7105.mjs → OnlineAutoTreeList-89265688.mjs} +24 -19
  47. package/{OnlineCustomModal-3939ce78.mjs → OnlineCustomModal-518ad33c.mjs} +9 -8
  48. package/{OnlineDetailModal-bfb1375f.mjs → OnlineDetailModal-9675390d.mjs} +13 -12
  49. package/{OnlineForm-069f6092.mjs → OnlineForm-1fa2d893.mjs} +8 -7
  50. package/{OnlineFormDetail-ad5735fb.mjs → OnlineFormDetail-0e7294ca.mjs} +10 -9
  51. package/{OnlineQueryForm-0771c80f.mjs → OnlineQueryForm-1bfc8320.mjs} +8 -7
  52. package/{OnlineSearchFormItem-0db5834f.mjs → OnlineSearchFormItem-0cc85a8a.mjs} +2 -2
  53. package/{OnlineSelectCascade-a05c30f4.mjs → OnlineSelectCascade-4265c95d.mjs} +1 -1
  54. package/{OnlineSubFormDetail-583d01eb.mjs → OnlineSubFormDetail-f0d2c016.mjs} +19 -18
  55. package/{OnlineTabAutoModal-747e071d.mjs → OnlineTabAutoModal-6f636ee2.mjs} +20 -19
  56. package/{OnlineTabDetailModal-887f0174.mjs → OnlineTabDetailModal-7356d3a8.mjs} +36 -35
  57. package/{OnlineTabForm-b1dcd4b4.mjs → OnlineTabForm-512d3951.mjs} +132 -131
  58. package/{OnlineTabFormDetail-8e494a96.mjs → OnlineTabFormDetail-5a70219d.mjs} +36 -35
  59. package/{PageAttributeTable-5966b201.mjs → PageAttributeTable-965dc58e.mjs} +4 -4
  60. package/{ProcessOnlineForm-4382bea7.mjs → ProcessOnlineForm-67558898.mjs} +23 -22
  61. package/{QueryTable-6e8053ad.mjs → QueryTable-eb9a5b21.mjs} +1 -1
  62. package/README.md +4 -2
  63. package/{SuperQuery-78db6998.mjs → SuperQuery-5d1ca957.mjs} +243 -241
  64. package/{SuperQueryValComponent-471110b5.mjs → SuperQueryValComponent-7ad86d4b.mjs} +1 -1
  65. package/SuperQueryValComponent.vue_vue_type_script_lang-e9196096.mjs +101 -0
  66. package/cgformState-d9f8ec42.mjs +28 -0
  67. package/index-0e3ab3af.mjs +56 -0
  68. package/{index-0a93652b.mjs → index-49508cad.mjs} +1 -1
  69. package/{index-7e9a23f2.mjs → index-b7a05eef.mjs} +43 -41
  70. package/main.index.js +1 -1
  71. package/package.json +1 -1
  72. package/style.css +1 -1
  73. package/{useCgformList-0c603af1.mjs → useCgformList-423282b7.mjs} +81 -105
  74. package/{useExtendComponent-aa1cdfc8.mjs → useExtendComponent-325fe3f1.mjs} +1558 -1549
  75. package/useListButton-cdbab702.mjs +676 -0
  76. package/{useSchemas-43429d80.mjs → useSchemas-0433a403.mjs} +94 -90
  77. package/JModalTip-e1938b49.mjs +0 -46
  78. package/OnlCgformErpSubTable-6e7fb17b.mjs +0 -398
  79. package/SuperQueryValComponent.vue_vue_type_script_lang-e3ad7ee8.mjs +0 -101
  80. package/index-b70302f2.mjs +0 -56
  81. package/useListButton-0f18bf6a.mjs +0 -671
@@ -2,56 +2,55 @@ var ge = Object.defineProperty, ye = Object.defineProperties;
2
2
  var Te = Object.getOwnPropertyDescriptors;
3
3
  var D = Object.getOwnPropertySymbols;
4
4
  var we = Object.prototype.hasOwnProperty, Se = Object.prototype.propertyIsEnumerable;
5
- var U = (t, n, o) => n in t ? ge(t, n, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[n] = o, S = (t, n) => {
6
- for (var o in n || (n = {}))
7
- we.call(n, o) && U(t, o, n[o]);
5
+ var U = (t, o, a) => o in t ? ge(t, o, { enumerable: !0, configurable: !0, writable: !0, value: a }) : t[o] = a, S = (t, o) => {
6
+ for (var a in o || (o = {}))
7
+ we.call(o, a) && U(t, a, o[a]);
8
8
  if (D)
9
- for (var o of D(n))
10
- Se.call(n, o) && U(t, o, n[o]);
9
+ for (var a of D(o))
10
+ Se.call(o, a) && U(t, a, o[a]);
11
11
  return t;
12
- }, C = (t, n) => ye(t, Te(n));
13
- var g = (t, n, o) => new Promise((d, p) => {
14
- var m = (l) => {
12
+ }, C = (t, o) => ye(t, Te(o));
13
+ var g = (t, o, a) => new Promise((m, p) => {
14
+ var d = (l) => {
15
15
  try {
16
- u(o.next(l));
16
+ u(a.next(l));
17
17
  } catch (s) {
18
18
  p(s);
19
19
  }
20
20
  }, i = (l) => {
21
21
  try {
22
- u(o.throw(l));
22
+ u(a.throw(l));
23
23
  } catch (s) {
24
24
  p(s);
25
25
  }
26
- }, u = (l) => l.done ? d(l.value) : Promise.resolve(l.value).then(m, i);
27
- u((o = o.apply(t, n)).next());
26
+ }, u = (l) => l.done ? m(l.value) : Promise.resolve(l.value).then(d, i);
27
+ u((a = a.apply(t, o)).next());
28
28
  });
29
29
  import { unref as Ce, isRef as Me, watch as Le, ref as k, h as y } from "vue";
30
30
  import { useRouter as ke } from "vue-router";
31
- import { RadioGroup as ve, Radio as B, Input as xe } from "ant-design-vue";
31
+ import { RadioGroup as ve, Radio as B, Input as _e } from "ant-design-vue";
32
32
  import { useModal as f } from "/@/components/Modal";
33
- import { useDrawer as _e } from "/@/components/Drawer";
33
+ import { useDrawer as xe } from "/@/components/Drawer";
34
34
  import { useListPage as De } from "/@/hooks/system/useListPage";
35
- import { l as Ue, d as Be, a as $e, b as Ne, c as Pe, e as Re, f as Ie, g as Ee } from "./CgformModal-7399a5ac.mjs";
35
+ import { l as Ue, d as Be, a as $e, b as Ne, c as Pe, e as Re, f as Ee, g as Oe } from "./CgformModal-eccfc38e.mjs";
36
36
  import $ from "clipboard";
37
- import { useMessage as Oe } from "/@/hooks/web/useMessage";
37
+ import { useMessage as Ie } from "/@/hooks/web/useMessage";
38
38
  import { buildUUID as Ae } from "/@/utils/uuid";
39
39
  import { isArray as Ye } from "/@/utils/is";
40
- import { defineStore as qe } from "pinia";
41
- import "/@/store";
40
+ import { u as qe } from "./cgformState-d9f8ec42.mjs";
42
41
  var P = /* @__PURE__ */ ((t) => (t[t.normal = 0] = "normal", t[t.copy = 1] = "copy", t))(P || {});
43
42
  const v = "copy-this-text", N = "data-clipboard-text";
44
43
  function Je() {
45
44
  return { createCopyModal: je };
46
45
  }
47
- const { createMessage: M, createConfirm: Ge } = Oe();
46
+ const { createMessage: M, createConfirm: Ge } = Ie();
48
47
  function je(t) {
49
- var p, m, i, u, l;
50
- const n = Ce(t.copyText), o = `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)
51
- VALUES ('${Ae()}', NULL, '${t.copyTitle}', '${n}', '1', NULL, NULL, 0, NULL, '1', 0.00, 0, NULL, 0, 1, 0, 0, 0, NULL, '1', 0, 0, 'admin', null, NULL, NULL, 0)`;
52
- let d = Ge(C(S({}, t), {
48
+ var p, d, i, u, l;
49
+ const o = Ce(t.copyText), a = `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)
50
+ VALUES ('${Ae()}', NULL, '${t.copyTitle}', '${o}', '1', NULL, NULL, 0, NULL, '1', 0.00, 0, NULL, 0, 1, 0, 0, 0, NULL, '1', 0, 0, 'admin', null, NULL, NULL, 0)`;
51
+ let m = Ge(C(S({}, t), {
53
52
  iconType: (p = t.iconType) != null ? p : "info",
54
- width: (m = t.width) != null ? m : 500,
53
+ width: (d = t.width) != null ? d : 500,
55
54
  title: (i = t.title) != null ? i : "复制",
56
55
  closable: !0,
57
56
  maskClosable: (u = t.maskClosable) != null ? u : !0,
@@ -59,11 +58,11 @@ function je(t) {
59
58
  okText: (l = t.okText) != null ? l : "复制URL",
60
59
  cancelButtonProps: {
61
60
  class: "copy-this-sql",
62
- "data-clipboard-text": o
61
+ "data-clipboard-text": a
63
62
  },
64
63
  okButtonProps: C(S({}, t.okButtonProps), {
65
64
  class: v,
66
- [N]: n
65
+ [N]: o
67
66
  }),
68
67
  onOk() {
69
68
  return new Promise((s) => {
@@ -87,39 +86,16 @@ function je(t) {
87
86
  }
88
87
  }));
89
88
  return Me(t.copyText) && Le(t.copyText, (s) => {
90
- d.update({
89
+ m.update({
91
90
  okButtonProps: C(S({}, t.okButtonProps), {
92
91
  class: v,
93
92
  [N]: s
94
93
  })
95
94
  });
96
- }), d;
95
+ }), m;
97
96
  }
98
- const Fe = qe({
99
- id: "cgform-state",
100
- state: () => ({
101
- changedTables: []
102
- }),
103
- getters: {},
104
- actions: {
105
- /**
106
- * 检查是否同步过数据库
107
- * @param tableId 表id
108
- */
109
- checkIsChanged(t) {
110
- return this.changedTables.includes(t);
111
- },
112
- addChangedTable(t) {
113
- this.changedTables.push(t);
114
- },
115
- removeChangedTable(t) {
116
- const n = this.changedTables.findIndex((o) => o === t);
117
- n !== -1 && this.changedTables.splice(n, 1);
118
- }
119
- }
120
- });
121
- function it(t) {
122
- const n = t.pageType === P.normal, o = ke(), d = Fe(), p = De({
97
+ function at(t) {
98
+ const o = t.pageType === P.normal, a = ke(), m = qe(), p = De({
123
99
  designScope: t.designScope,
124
100
  tableProps: {
125
101
  api: Ue,
@@ -129,20 +105,20 @@ function it(t) {
129
105
  schemas: t.formSchemas
130
106
  },
131
107
  beforeFetch: (e) => {
132
- let a = n ? 0 : 1, c = n ? void 0 : o.currentRoute.value.params.code;
133
- return Ye(e.tableType_MultiString) && (e.tableType_MultiString = e.tableType_MultiString.join(",")), Object.assign(e, { copyType: a, physicId: c });
108
+ let n = o ? 0 : 1, c = o ? void 0 : a.currentRoute.value.params.code;
109
+ return Ye(e.tableType_MultiString) && (e.tableType_MultiString = e.tableType_MultiString.join(",")), Object.assign(e, { copyType: n, physicId: c });
134
110
  }
135
111
  }
136
- }), { tableContext: m, createMessage: i, createConfirm: u } = p, [, { reload: l, setLoading: s }, { selectedRowKeys: r, selectedRows: h }] = m, [R, x] = f(), [I, E] = f(), [O, A] = f(), [Y, q] = f(), [J, G] = f(), [j, F] = f(), [Q, V] = f(), [K, X] = _e(), [z, H] = f();
112
+ }), { tableContext: d, createMessage: i, createConfirm: u } = p, [, { reload: l, setLoading: s }, { selectedRowKeys: r, selectedRows: h }] = d, [R, _] = f(), [E, O] = f(), [I, A] = f(), [Y, q] = f(), [J, G] = f(), [j, F] = f(), [Q, V] = f(), [K, X] = xe(), [z, H] = f();
137
113
  function W() {
138
- x.openModal(!0, { isUpdate: !1 });
114
+ _.openModal(!0, { isUpdate: !1 });
139
115
  }
140
116
  let b = null;
141
117
  function Z(e) {
142
- b = e, x.openModal(!0, { isUpdate: !0, record: e });
118
+ b = e, _.openModal(!0, { isUpdate: !0, record: e });
143
119
  }
144
120
  function ee() {
145
- b != null && b.id && (d.addChangedTable(b.id), b = null), l();
121
+ b != null && b.id && (m.addChangedTable(b.id), b = null), l();
146
122
  }
147
123
  function te(e) {
148
124
  return g(this, null, function* () {
@@ -154,7 +130,7 @@ function it(t) {
154
130
  yield Ne(e), l();
155
131
  });
156
132
  }
157
- function ae() {
133
+ function oe() {
158
134
  let e = r.value;
159
135
  if (e.length <= 0) {
160
136
  i.warning("请先选择一条记录!");
@@ -169,18 +145,18 @@ function it(t) {
169
145
  cancelText: "删除",
170
146
  cancelButtonProps: { danger: !0 },
171
147
  onOk: () => g(this, null, function* () {
172
- return _(Pe, e, !0);
148
+ return x(Pe, e, !0);
173
149
  }),
174
- onCancel(a) {
175
- return a != null && a.triggerCancel ? Promise.resolve() : _(Re, e, !0);
150
+ onCancel(n) {
151
+ return n != null && n.triggerCancel ? Promise.resolve() : x(Re, e, !0);
176
152
  }
177
153
  });
178
154
  }
179
- function _(e, a, c = !1) {
155
+ function x(e, n, c = !1) {
180
156
  return g(this, null, function* () {
181
157
  try {
182
158
  s(!0);
183
- const L = yield e(a);
159
+ const L = yield e(n);
184
160
  return l(), c && (r.value = []), L;
185
161
  } finally {
186
162
  s(!1);
@@ -188,7 +164,7 @@ function it(t) {
188
164
  return Promise.reject();
189
165
  });
190
166
  }
191
- function oe() {
167
+ function ae() {
192
168
  T(([e]) => q.openModal(!0, { row: e }));
193
169
  }
194
170
  function le() {
@@ -201,10 +177,10 @@ function it(t) {
201
177
  T(([e]) => V.openModal(!0, { row: e }));
202
178
  }
203
179
  function re() {
204
- E.openModal(!0, {});
180
+ O.openModal(!0, {});
205
181
  }
206
- function T(e, a = 1, c = 1) {
207
- h.value.length < a ? i.warning(`请先至少选中 ${a} 条记录`) : h.value.length > c ? i.warning(`最多只能选中 ${a} 条记录`) : e(h.value);
182
+ function T(e, n = 1, c = 1) {
183
+ h.value.length < n ? i.warning(`请先至少选中 ${n} 条记录`) : h.value.length > c ? i.warning(`最多只能选中 ${n} 条记录`) : e(h.value);
208
184
  }
209
185
  function ce() {
210
186
  if (h.value.length === 0)
@@ -218,25 +194,25 @@ function it(t) {
218
194
  }
219
195
  function ue(e) {
220
196
  if (e.isTree == "Y")
221
- o.push({ path: "/online/cgformTreeList/" + e.id });
197
+ a.push({ path: "/online/cgformTreeList/" + e.id });
222
198
  else
223
199
  switch (e.themeTemplate) {
224
200
  case "erp":
225
- o.push({ path: "/online/cgformErpList/" + e.id });
201
+ a.push({ path: "/online/cgformErpList/" + e.id });
226
202
  break;
227
203
  case "tab":
228
- o.push({ path: "/online/cgformTabList/" + e.id });
204
+ a.push({ path: "/online/cgformTabList/" + e.id });
229
205
  break;
230
206
  case "innerTable":
231
- o.push({ path: "/online/cgformInnerTableList/" + e.id });
207
+ a.push({ path: "/online/cgformInnerTableList/" + e.id });
232
208
  break;
233
209
  default:
234
- o.push({ path: "/online/cgformList/" + e.id });
210
+ a.push({ path: "/online/cgformList/" + e.id });
235
211
  break;
236
212
  }
237
213
  }
238
214
  function pe(e) {
239
- const a = k("normal"), c = k(!1), L = u({
215
+ const n = k("normal"), c = k(!1), L = u({
240
216
  iconType: "info",
241
217
  title: "同步数据库",
242
218
  content: () => y(
@@ -247,9 +223,9 @@ function it(t) {
247
223
  y(
248
224
  ve,
249
225
  {
250
- value: a.value,
226
+ value: n.value,
251
227
  disabled: c.value,
252
- "onUpdate:value": (w) => a.value = w
228
+ "onUpdate:value": (w) => n.value = w
253
229
  },
254
230
  () => [y(B, { value: "normal" }, () => "普通同步(保留表数据)"), y(B, { value: "force" }, () => "强制同步(删除表,重新生成)")]
255
231
  )
@@ -266,7 +242,7 @@ function it(t) {
266
242
  cancelButtonProps: { disabled: c.value }
267
243
  });
268
244
  try {
269
- yield Ie(e.id, a.value);
245
+ yield Ee(e.id, n.value);
270
246
  } catch (w) {
271
247
  i.warn(w.message || w);
272
248
  } finally {
@@ -277,17 +253,17 @@ function it(t) {
277
253
  });
278
254
  }
279
255
  const { createCopyModal: fe } = Je();
280
- function de(e) {
281
- let a;
282
- e.themeTemplate === "erp" ? a = `/online/cgformErpList/${e.id}` : e.themeTemplate === "innerTable" ? a = `/online/cgformInnerTableList/${e.id}` : e.themeTemplate === "tab" ? a = `/online/cgformTabList/${e.id}` : e.isTree == "Y" ? a = `/online/cgformTreeList/${e.id}` : a = `/online/cgformList/${e.id}`, fe({
256
+ function me(e) {
257
+ let n;
258
+ e.themeTemplate === "erp" ? n = `/online/cgformErpList/${e.id}` : e.themeTemplate === "innerTable" ? n = `/online/cgformInnerTableList/${e.id}` : e.themeTemplate === "tab" ? n = `/online/cgformTabList/${e.id}` : e.isTree == "Y" ? n = `/online/cgformTreeList/${e.id}` : n = `/online/cgformList/${e.id}`, fe({
283
259
  title: `菜单链接【${e.tableTxt}】`,
284
- content: a,
285
- copyText: a,
260
+ content: n,
261
+ copyText: n,
286
262
  copyTitle: `${e.tableTxt}`
287
263
  });
288
264
  }
289
- function me(e) {
290
- const a = k(e.tableName + "_copy");
265
+ function de(e) {
266
+ const n = k(e.tableName + "_copy");
291
267
  u({
292
268
  title: "复制表",
293
269
  content: () => y(
@@ -297,9 +273,9 @@ function it(t) {
297
273
  },
298
274
  [
299
275
  "请输入新表名:",
300
- y(xe, {
301
- value: a.value,
302
- "onUpdate:value": (c) => a.value = c
276
+ y(_e, {
277
+ value: n.value,
278
+ "onUpdate:value": (c) => n.value = c
303
279
  })
304
280
  ]
305
281
  ),
@@ -307,7 +283,7 @@ function it(t) {
307
283
  closable: !0,
308
284
  okText: "复制",
309
285
  onOk() {
310
- a.value ? a.value === e.tableName ? i.warning("新表名和旧表名不能一致") : Ee(e.id, a.value).then(l) : i.warning("请输入新表名");
286
+ n.value ? n.value === e.tableName ? i.warning("新表名和旧表名不能一致") : Oe(e.id, n.value).then(l) : i.warning("请输入新表名");
311
287
  }
312
288
  });
313
289
  }
@@ -324,20 +300,20 @@ function it(t) {
324
300
  {
325
301
  label: "同步数据库",
326
302
  onClick: () => pe(e),
327
- ifShow: () => n && e.isDbSynch != "Y"
303
+ ifShow: () => o && e.isDbSynch != "Y"
328
304
  },
329
305
  {
330
306
  // TODO 功能测试
331
307
  label: "功能测试",
332
308
  class: ["low-app-hide"],
333
309
  onClick: () => ue(e),
334
- ifShow: () => n ? e.isDbSynch == "Y" && e.tableType !== 3 : !0
310
+ ifShow: () => o ? e.isDbSynch == "Y" && e.tableType !== 3 : !0
335
311
  },
336
312
  {
337
313
  label: "配置地址",
338
314
  class: ["low-app-hide"],
339
- onClick: () => de(e),
340
- ifShow: () => n ? e.isDbSynch == "Y" && e.tableType !== 3 : !0
315
+ onClick: () => me(e),
316
+ ifShow: () => o ? e.isDbSynch == "Y" && e.tableType !== 3 : !0
341
317
  },
342
318
  {
343
319
  label: "权限控制",
@@ -350,8 +326,8 @@ function it(t) {
350
326
  {
351
327
  label: "视图管理",
352
328
  class: ["low-app-hide"],
353
- onClick: () => o.push(`/online/copyform/${e.id}`),
354
- ifShow: () => n && e.hascopy == 1
329
+ onClick: () => a.push(`/online/copyform/${e.id}`),
330
+ ifShow: () => o && e.hascopy == 1
355
331
  },
356
332
  {
357
333
  label: "生成视图",
@@ -367,12 +343,12 @@ function it(t) {
367
343
  });
368
344
  }
369
345
  },
370
- ifShow: () => n
346
+ ifShow: () => o
371
347
  },
372
348
  {
373
349
  label: "复制表",
374
- onClick: () => me(e),
375
- ifShow: () => n
350
+ onClick: () => de(e),
351
+ ifShow: () => o
376
352
  },
377
353
  {
378
354
  label: "移除",
@@ -389,19 +365,19 @@ function it(t) {
389
365
  placement: "left",
390
366
  confirm: () => te(e.id)
391
367
  },
392
- ifShow: () => n
368
+ ifShow: () => o
393
369
  }
394
370
  ];
395
371
  }
396
372
  return {
397
- router: o,
373
+ router: a,
398
374
  pageContext: p,
399
375
  onAdd: W,
400
376
  onSuccess: ee,
401
- onDeleteBatch: ae,
377
+ onDeleteBatch: oe,
402
378
  onImportDbTable: re,
403
379
  onGenerateCode: ce,
404
- onShowCustomButton: oe,
380
+ onShowCustomButton: ae,
405
381
  onShowEnhanceJs: le,
406
382
  onShowEnhanceSql: ie,
407
383
  onShowEnhanceJava: se,
@@ -414,11 +390,11 @@ function it(t) {
414
390
  registerAuthManagerDrawer: K,
415
391
  registerAuthSetterModal: z,
416
392
  registerCgformModal: R,
417
- registerDbToOnlineModal: I,
418
- registerCodeGeneratorModal: O
393
+ registerDbToOnlineModal: E,
394
+ registerCodeGeneratorModal: I
419
395
  };
420
396
  }
421
397
  export {
422
398
  P as C,
423
- it as u
399
+ at as u
424
400
  };