@jeecg/online 3.7.0-beta → 3.7.4-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 (150) hide show
  1. package/AccountLoginForm-84cbd344.mjs +254 -0
  2. package/AiModal-26903538.mjs +84 -0
  3. package/AppForgetPassword-52443f23.mjs +310 -0
  4. package/AppLogin-ecf798fa.mjs +287 -0
  5. package/AppLoginHeader-4432c584.mjs +27 -0
  6. package/AppNameEmail-3303a037.mjs +180 -0
  7. package/AppRegister-79a62c59.mjs +303 -0
  8. package/AppTenant-f0bef7ca.mjs +373 -0
  9. package/AppThirdForm-fd8b4604.mjs +189 -0
  10. package/AuthButtonConfig-d5bffca0.mjs +156 -0
  11. package/AuthButtonTree-b0bd6c40.mjs +165 -0
  12. package/{AuthDataConfig-7bb0cd85.mjs → AuthDataConfig-d3b7afa4.mjs} +30 -29
  13. package/{AuthDataTree-6e3bb86f.mjs → AuthDataTree-f14a98d9.mjs} +47 -47
  14. package/AuthFieldConfig-f1e224cc.mjs +245 -0
  15. package/AuthFieldTree-5cc0da05.mjs +232 -0
  16. package/{AuthManagerDrawer-5e2ed5ce.mjs → AuthManagerDrawer-32556109.mjs} +9 -8
  17. package/{AuthSetterModal-6f74449c.mjs → AuthSetterModal-364f1f67.mjs} +12 -11
  18. package/BuiltInButtonList-bb6cf95c.mjs +10 -0
  19. package/BuiltInButtonList.vue_vue_type_script_setup_true_lang-07d0b7d0.mjs +338 -0
  20. package/CgformAddressModal-1131274c.mjs +260 -0
  21. package/CgformCopyList-5fba0810.mjs +252 -0
  22. package/CgformModal-c4a4e0c2.mjs +667 -0
  23. package/{CgreportModal-5a23d089.mjs → CgreportModal-8a84aae5.mjs} +186 -172
  24. package/{CheckDictTable-b5cb0e2b.mjs → CheckDictTable-8a938e3a.mjs} +37 -34
  25. package/CodeFileListModal-a924902a.mjs +159 -0
  26. package/CodeFileViewModal-405e2b58.mjs +253 -0
  27. package/CodeGeneratorModal-2e1dc13d.mjs +281 -0
  28. package/CustomButtonList-c453b654.mjs +274 -0
  29. package/{DBAttributeTable-95dc66c1.mjs → DBAttributeTable-1a45c7b7.mjs} +80 -72
  30. package/DbToOnlineModal-f28ff0a3.mjs +168 -0
  31. package/{DetailForm-4aa2570b.mjs → DetailForm-c592b8d8.mjs} +50 -49
  32. package/DropMenuItem-1e49abea.mjs +44 -0
  33. package/{EnhanceJavaModal-98934198.mjs → EnhanceJavaModal-d5a93f2a.mjs} +62 -62
  34. package/{EnhanceJsHistory-9c4acdaf.mjs → EnhanceJsHistory-8ddb0657.mjs} +35 -35
  35. package/{EnhanceJsModal-247f640d.mjs → EnhanceJsModal-dc4f9ade.mjs} +154 -138
  36. package/{EnhanceSqlModal-65b74b0f.mjs → EnhanceSqlModal-984f045d.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-00f2fb55.mjs → ExtendConfigModal-7d70f362.mjs} +2 -2
  40. package/{FieldExtendJsonModal-cc7fce26.mjs → FieldExtendJsonModal-bf04d70e.mjs} +2 -2
  41. package/{FileSelectModal-38660e3c.mjs → FileSelectModal-ffc69d4a.mjs} +23 -23
  42. package/{ForeignKeyTable-a78cb5ad.mjs → ForeignKeyTable-92decaea.mjs} +3 -3
  43. package/{IndexTable-1b496559.mjs → IndexTable-2ded2014.mjs} +28 -20
  44. package/JModalTip-a927f85d.mjs +49 -0
  45. package/JOnlineSearchSelect-04ec87d0.mjs +128 -0
  46. package/{LeftDepart-8ade4bf7.mjs → LeftDepart-52cb6743.mjs} +1 -1
  47. package/LeftRole-b0e0b496.mjs +86 -0
  48. package/{LeftUser-b4d1372a.mjs → LeftUser-dd4b10e2.mjs} +30 -30
  49. package/{LinkTableConfigModal-a138c85e.mjs → LinkTableConfigModal-7eeb3e58.mjs} +43 -31
  50. package/{LinkTableFieldConfigModal-17b413b0.mjs → LinkTableFieldConfigModal-b078fcef.mjs} +1 -1
  51. package/{LinkTableListPiece-2660d709.mjs → LinkTableListPiece-e016b8e6.mjs} +1 -1
  52. package/{ModalFormDemo-0544737d.mjs → ModalFormDemo-aaa719a7.mjs} +1 -1
  53. package/OnlCgformErpList-5c5acdaa.mjs +488 -0
  54. package/OnlCgformErpSubTable-e1b88312.mjs +441 -0
  55. package/{OnlCgformInnerSubTable-290ace5d.mjs → OnlCgformInnerSubTable-6b6fa15a.mjs} +106 -107
  56. package/OnlCgformInnerTableList-b283a525.mjs +474 -0
  57. package/OnlCgformTabList-91e3dd78.mjs +424 -0
  58. package/OnlineAutoList-84475f1b.mjs +513 -0
  59. package/OnlineAutoModal-95f46901.mjs +260 -0
  60. package/OnlineAutoTreeList-20b9ce04.mjs +523 -0
  61. package/OnlineCustomModal-c8b1e780.mjs +232 -0
  62. package/{OnlineDetailModal-2a271e0b.mjs → OnlineDetailModal-5b412bb9.mjs} +74 -65
  63. package/OnlineForm-58282699.mjs +1012 -0
  64. package/{OnlineFormDetail-e036cd11.mjs → OnlineFormDetail-fc087725.mjs} +7 -7
  65. package/{OnlineFormUrlAdd-7fb3dcca.mjs → OnlineFormUrlAdd-bc9105bb.mjs} +10 -10
  66. package/{OnlineFormUrlDetail-b2292137.mjs → OnlineFormUrlDetail-ad912560.mjs} +12 -12
  67. package/{OnlineFormUrlEdit-44080fb3.mjs → OnlineFormUrlEdit-f2fa79ff.mjs} +10 -10
  68. package/OnlineFormUrlSuccess-76813d45.mjs +59 -0
  69. package/OnlineQueryForm-9248341f.mjs +484 -0
  70. package/{OnlineSearchFormItem-6feacae6.mjs → OnlineSearchFormItem-1e437bd3.mjs} +82 -82
  71. package/{OnlineSelectCascade-471fcc76.mjs → OnlineSelectCascade-d631ed72.mjs} +1 -1
  72. package/{OnlineSubFormDetail-03f8ee5c.mjs → OnlineSubFormDetail-8be879b9.mjs} +53 -54
  73. package/{OnlineTabAutoModal-7b9bcd0b.mjs → OnlineTabAutoModal-c9ca3c24.mjs} +108 -95
  74. package/{OnlineTabDetailModal-88143301.mjs → OnlineTabDetailModal-fd4c9a72.mjs} +36 -36
  75. package/OnlineTabForm-1940e88b.mjs +814 -0
  76. package/{OnlineTabFormDetail-bbf23caa.mjs → OnlineTabFormDetail-2aa67564.mjs} +17 -17
  77. package/{PageAttributeTable-6c23547b.mjs → PageAttributeTable-66e7b485.mjs} +169 -149
  78. package/PhoneLoginForm-86437a9d.mjs +214 -0
  79. package/{ProcessOnlineForm-b42198f5.mjs → ProcessOnlineForm-98ede18d.mjs} +64 -58
  80. package/{QueryTable-96b3dbd0.mjs → QueryTable-65d3f54f.mjs} +40 -37
  81. package/SetSwitchOptions-f914bc17.mjs +62 -0
  82. package/ShareAddView-657f0f8b.mjs +86 -0
  83. package/ShareEditView-1b945fd3.mjs +92 -0
  84. package/ShareView-222ed3d8.mjs +80 -0
  85. package/ShareView.vue_vue_type_script_setup_true_lang-44fbeaff.mjs +162 -0
  86. package/SingleView-23b0cb4e.mjs +68 -0
  87. package/SingleView.vue_vue_type_style_index_0_lang-e0f2f6c0.mjs +131 -0
  88. package/SuperQuery-46032e66.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-53df4c33.mjs +41 -0
  92. package/{auth.data-22948e87.mjs → auth.data-626c5083.mjs} +68 -30
  93. package/button.data-fe45d43b.mjs +12 -0
  94. package/{cgform.data-475d4984.mjs → cgform.data-0ca62d09.mjs} +4 -1
  95. package/{enhance.data-3304d553.mjs → enhance.data-6601ff44.mjs} +9 -8
  96. package/index-19eaef11.mjs +11 -0
  97. package/index-1a2e8832.mjs +135 -0
  98. package/{index-581bef24.mjs → index-2fb8e07f.mjs} +59 -59
  99. package/index-5e89258d.mjs +8 -0
  100. package/index-9e1e1e53.mjs +57 -0
  101. package/{index-d2abb8a0.mjs → index-a039036e.mjs} +273 -262
  102. package/index-c5a79b0b.mjs +219 -0
  103. package/index-cce225be.mjs +110 -0
  104. package/index-f2c2d1cf.mjs +74 -0
  105. package/main.index.js +1 -1
  106. package/package.json +1 -1
  107. package/shareStore-7de6c7a6.mjs +67 -0
  108. package/style.css +1 -1
  109. package/useCgformList-f3cb9156.mjs +378 -0
  110. package/useExtendComponent-bb98e568.mjs +4460 -0
  111. package/useListButton-98908683.mjs +719 -0
  112. package/{useSchemas-47e45edc.mjs → useSchemas-b074f3a1.mjs} +88 -46
  113. package/useTableSync-075826a1.mjs +89 -0
  114. package/utils-9fce7606.mjs +16 -0
  115. package/AiModal-fe3988fb.mjs +0 -84
  116. package/AuthButtonConfig-d50a0a65.mjs +0 -134
  117. package/AuthButtonTree-589395ed.mjs +0 -156
  118. package/AuthFieldConfig-490fc0ab.mjs +0 -139
  119. package/AuthFieldTree-b7cd091e.mjs +0 -232
  120. package/CgformCopyList-8077ccc6.mjs +0 -250
  121. package/CgformModal-36faf29a.mjs +0 -621
  122. package/CodeFileListModal-0e26b7e0.mjs +0 -158
  123. package/CodeFileViewModal-9d4a5b5f.mjs +0 -248
  124. package/CodeGeneratorModal-b722d976.mjs +0 -238
  125. package/CustomButtonList-37639061.mjs +0 -381
  126. package/DbToOnlineModal-f49b9530.mjs +0 -166
  127. package/JModalTip-4a83aaed.mjs +0 -49
  128. package/JOnlineSearchSelect-34a37ec9.mjs +0 -95
  129. package/LeftRole-7d8c5acc.mjs +0 -86
  130. package/OnlCgformErpList-30e416c8.mjs +0 -470
  131. package/OnlCgformErpSubTable-9a876058.mjs +0 -427
  132. package/OnlCgformInnerTableList-f89b6687.mjs +0 -458
  133. package/OnlCgformTabList-7a2f2c03.mjs +0 -408
  134. package/OnlineAutoList-46c6c8b9.mjs +0 -493
  135. package/OnlineAutoModal-971bef13.mjs +0 -236
  136. package/OnlineAutoTreeList-3b92454c.mjs +0 -502
  137. package/OnlineCustomModal-594244f3.mjs +0 -232
  138. package/OnlineForm-018981b2.mjs +0 -924
  139. package/OnlineFormUrlSuccess-af285b02.mjs +0 -59
  140. package/OnlineQueryForm-998c12a4.mjs +0 -444
  141. package/OnlineTabForm-9ad7d29a.mjs +0 -805
  142. package/SetSwitchOptions-a452fa0f.mjs +0 -62
  143. package/SuperQuery-cbfba908.mjs +0 -975
  144. package/auth.api-d3a6c4b3.mjs +0 -39
  145. package/index-173949bb.mjs +0 -57
  146. package/useCgformList-8755a94e.mjs +0 -426
  147. package/useExtendComponent-bb7cca20.mjs +0 -4295
  148. package/useListButton-7ddb9a46.mjs +0 -697
  149. package/useTableSync-f6089e8a.mjs +0 -87
  150. /package/{OnlineForm.vue_vue_type_style_index_0_scoped_0f9f2964_lang-4ed993c7.mjs → OnlineForm.vue_vue_type_style_index_0_scoped_3f26e7bd_lang-4ed993c7.mjs} +0 -0
@@ -9,26 +9,26 @@ var W = (a, s, d) => s in a ? ie(a, s, { enumerable: !0, configurable: !0, writa
9
9
  ne.call(s, d) && W(a, d, s[d]);
10
10
  return a;
11
11
  };
12
- var _ = (a, s, d) => new Promise((k, C) => {
12
+ var _ = (a, s, d) => new Promise((k, b) => {
13
13
  var L = (m) => {
14
14
  try {
15
15
  w(d.next(m));
16
16
  } catch (D) {
17
- C(D);
17
+ b(D);
18
18
  }
19
19
  }, x = (m) => {
20
20
  try {
21
21
  w(d.throw(m));
22
22
  } catch (D) {
23
- C(D);
23
+ b(D);
24
24
  }
25
25
  }, w = (m) => m.done ? k(m.value) : Promise.resolve(m.value).then(L, x);
26
26
  w((d = d.apply(a, s)).next());
27
27
  });
28
- import { ref as ae, computed as re, watch as oe, defineComponent as se, resolveComponent as T, openBlock as f, createElementBlock as u, normalizeClass as j, createVNode as $, withCtx as q, Fragment as S, renderList as B, createBlock as K, createElementVNode as p, toDisplayString as V } from "vue";
28
+ import { ref as ae, computed as re, watch as oe, defineComponent as se, resolveComponent as T, openBlock as f, createElementBlock as u, normalizeClass as j, createVNode as $, withCtx as q, Fragment as S, renderList as V, createBlock as K, createElementVNode as p, toDisplayString as B } from "vue";
29
29
  import { propTypes as J } from "/@/utils/propTypes";
30
30
  import { getDictItemsByCode as de } from "/@/utils/dict";
31
- import { filterMultiDictText as I, filterDictText as ce } from "/@/utils/dict/JDictSelectUtil";
31
+ import { filterMultiDictText as O, filterDictText as ce } from "/@/utils/dict/JDictSelectUtil";
32
32
  import { initDictOptions as H } from "/@/utils/dict/index";
33
33
  import { loadDictItem as fe, queryDepartTreeSync as ue, getUserList as pe } from "/@/api/common/api";
34
34
  import { defHttp as me } from "/@/utils/http/axios";
@@ -37,10 +37,10 @@ import { getFileAccessHttpUrl as he } from "/@/utils/common/compUtils";
37
37
  import { createImgPreview as ge } from "/@/components/Preview/index";
38
38
  import { useMessage as ve } from "/@/hooks/web/useMessage";
39
39
  import { DownloadOutlined as we, EyeOutlined as ye, PaperClipOutlined as ke } from "@ant-design/icons-vue";
40
- import { L as De } from "./useExtendComponent-bb7cca20.mjs";
40
+ import { L as De } from "./useExtendComponent-bb98e568.mjs";
41
41
  import { MarkdownViewer as Fe } from "/@/components/Markdown";
42
- import { getWeekMonthQuarterYear as be } from "/@/utils";
43
- import { _ as Ce } from "./index-173949bb.mjs";
42
+ import { getWeekMonthQuarterYear as Ce } from "/@/utils";
43
+ import { _ as be } from "./index-9e1e1e53.mjs";
44
44
  import "/@/components/Form/src/componentMap";
45
45
  import "/@/components/Modal";
46
46
  import "/@/components/Form/index";
@@ -55,18 +55,18 @@ import "/@/store/modules/permission";
55
55
  import "/@/components/Table";
56
56
  import "/@/hooks/system/useListPage";
57
57
  import "vue-router";
58
- import "./LinkTableListPiece-2660d709.mjs";
58
+ import "./LinkTableListPiece-e016b8e6.mjs";
59
59
  import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
60
60
  import "/@/utils/auth";
61
61
  import "/@/hooks/web/useAppInject";
62
62
  import "/@/assets/images/placeholderImage.png";
63
- import "./OnlineSelectCascade-471fcc76.mjs";
63
+ import "./OnlineSelectCascade-d631ed72.mjs";
64
64
  import "/@/components/Loading";
65
- import "./JModalTip-4a83aaed.mjs";
65
+ import "./JModalTip-a927f85d.mjs";
66
66
  import "ant-design-vue";
67
67
  import "@vueuse/core";
68
68
  function xe(a) {
69
- const s = {}, d = [], k = ae({}), { createMessage: C } = ve(), L = re(() => a.containerClass ? `jeecg-detail-form ${a.containerClass}` : "jeecg-detail-form");
69
+ const s = {}, d = [], k = ae({}), { createMessage: b } = ve(), L = re(() => a.containerClass ? `jeecg-detail-form ${a.containerClass}` : "jeecg-detail-form");
70
70
  oe(
71
71
  () => a.data,
72
72
  (e) => _(this, null, function* () {
@@ -98,7 +98,7 @@ function xe(a) {
98
98
  else if (t == "sel_search")
99
99
  i = yield D(e, n);
100
100
  else if (t == "cat_tree")
101
- i = yield O(e, n);
101
+ i = yield E(e, n);
102
102
  else if (t == "link_table")
103
103
  i = yield ee(e, n);
104
104
  else if (t == "sel_depart")
@@ -112,7 +112,7 @@ function xe(a) {
112
112
  else if (t == "sel_tree")
113
113
  i = yield h(e, n);
114
114
  else if (t == "switch")
115
- i = yield E(e, n);
115
+ i = yield I(e, n);
116
116
  else if (t == "image" || t == "file")
117
117
  i = Y(e, n);
118
118
  else if (t == "popup_dict") {
@@ -120,7 +120,7 @@ function xe(a) {
120
120
  o !== void 0 && (i = o);
121
121
  } else if (d.indexOf(e.field) >= 0) {
122
122
  let o = s[e.field];
123
- o && o.length > 0 && (i = I(o, l));
123
+ o && o.length > 0 && (i = O(o, l));
124
124
  }
125
125
  return i;
126
126
  }
@@ -134,11 +134,11 @@ function xe(a) {
134
134
  return i;
135
135
  let t = de(l);
136
136
  if (t && t.length > 0)
137
- return I(t, i);
137
+ return O(t, i);
138
138
  {
139
139
  let o = [];
140
140
  if (s[l] ? o = s[l] : o = (yield H(l)) || [], o && o.length > 0)
141
- return s[l] = o, I(o, i);
141
+ return s[l] = o, O(o, i);
142
142
  }
143
143
  return "";
144
144
  });
@@ -156,7 +156,7 @@ function xe(a) {
156
156
  return s[l + i] ? t = s[l + i] : t = (yield me.get({ url: `/sys/dict/loadDictItem/${l}`, params: { key: i } })) || [], t && t.length > 0 ? (s[l + i] = t, t.join(",")) : "";
157
157
  });
158
158
  }
159
- function O(e, n) {
159
+ function E(e, n) {
160
160
  return _(this, null, function* () {
161
161
  let l = n[e.field];
162
162
  if (!l)
@@ -173,8 +173,8 @@ function xe(a) {
173
173
  let i = r(e), t = i.store || "id", o = i.text || "departName", g = (yield ue({ ids: l, primaryKey: t })) || [];
174
174
  if (g && g.length > 0) {
175
175
  let y = [];
176
- for (let b of g)
177
- b[o] ? y.push(b[o]) : y.push(b.title);
176
+ for (let C of g)
177
+ C[o] ? y.push(C[o]) : y.push(C.title);
178
178
  return y.join(",");
179
179
  }
180
180
  return "";
@@ -189,10 +189,10 @@ function xe(a) {
189
189
  [i.store || "username"]: l
190
190
  }, y = ((yield pe(o)) || {}).records || [];
191
191
  if (y && y.length > 0) {
192
- let b = [], M = i.text || "realname";
192
+ let C = [], M = i.text || "realname";
193
193
  for (let N of y)
194
- b.push(N[M]);
195
- return b.join(",");
194
+ C.push(N[M]);
195
+ return C.join(",");
196
196
  }
197
197
  return "";
198
198
  });
@@ -215,7 +215,7 @@ function xe(a) {
215
215
  else if (l) {
216
216
  let o = JSON.parse(l);
217
217
  if (o) {
218
- let { table: g, txt: y, key: b, linkField: M } = o, N = `${g},${y},${b}`;
218
+ let { table: g, txt: y, key: C, linkField: M } = o, N = `${g},${y},${C}`;
219
219
  if (t = [...(yield H(N)) || []], t && t.length > 0 && (s[i] = t, M)) {
220
220
  let te = M.split(",");
221
221
  for (let U of te)
@@ -225,7 +225,7 @@ function xe(a) {
225
225
  }
226
226
  if (t && t.length > 0) {
227
227
  let o = n[i];
228
- return I(t, o);
228
+ return O(t, o);
229
229
  }
230
230
  return "";
231
231
  });
@@ -235,12 +235,12 @@ function xe(a) {
235
235
  let { dict: l, field: i } = e, t = [];
236
236
  if (s[i] ? t = s[i] : l && (t = yield H(l)), t && t.length > 0) {
237
237
  let o = n[i];
238
- return I(t, o);
238
+ return O(t, o);
239
239
  }
240
240
  return "";
241
241
  });
242
242
  }
243
- function E(e, n) {
243
+ function I(e, n) {
244
244
  return _(this, null, function* () {
245
245
  let { fieldExtendJson: l, field: i } = e, t = ["Y", "N"];
246
246
  l && (t = JSON.parse(l));
@@ -273,7 +273,7 @@ function xe(a) {
273
273
  function Q(e) {
274
274
  let n = k.value[e];
275
275
  if (!n || n.length == 0) {
276
- C.warning("无图片!");
276
+ b.warning("无图片!");
277
277
  return;
278
278
  }
279
279
  ge({ imageList: n });
@@ -319,12 +319,12 @@ const Te = se({
319
319
  containerClass: J.string.def("")
320
320
  },
321
321
  setup(a) {
322
- const { formContainerClass: s, detailFormData: d, getItemSpan: k, handleDownloadFile: C, handleViewImage: L, getFilename: x, getLabelWidthClass: w } = xe(a);
322
+ const { formContainerClass: s, detailFormData: d, getItemSpan: k, handleDownloadFile: b, handleViewImage: L, getFilename: x, getLabelWidthClass: w } = xe(a);
323
323
  return {
324
324
  formContainerClass: s,
325
325
  detailFormData: d,
326
326
  getItemSpan: k,
327
- handleDownloadFile: C,
327
+ handleDownloadFile: b,
328
328
  handleViewImage: L,
329
329
  getFilename: x,
330
330
  getLabelWidthClass: w,
@@ -341,7 +341,7 @@ const Te = se({
341
341
  if (!c)
342
342
  return "";
343
343
  let v = r.fieldExtendJson;
344
- return v && (v = JSON.parse(v), v.picker && v.picker != "default") ? be(c)[v.picker] : c.split(" ").shift();
344
+ return v && (v = JSON.parse(v), v.picker && v.picker != "default") ? Ce(c)[v.picker] : c.split(" ").shift();
345
345
  } else
346
346
  return c;
347
347
  },
@@ -366,24 +366,24 @@ const Le = {
366
366
  }, Ne = { class: "ant-upload-list ant-upload-list-picture-card" }, je = {
367
367
  class: "ant-upload-list-picture-card-container",
368
368
  style: { "margin-top": "8px" }
369
- }, Be = {
369
+ }, Ve = {
370
370
  class: "ant-upload-list-item ant-upload-list-item-done ant-upload-list-item-list-type-picture-card",
371
371
  "data-has-actions": "true"
372
- }, Ve = { class: "ant-upload-list-item-info" }, He = ["src"], Ue = { class: "ant-upload-list-item-actions" }, Ae = {
372
+ }, Be = { class: "ant-upload-list-item-info" }, He = ["src", "onClick"], Ue = { class: "ant-upload-list-item-actions" }, Ae = {
373
373
  key: 5,
374
374
  class: "item-content"
375
375
  }, We = { class: "ant-upload-list ant-upload-list-text" }, Re = { class: "" }, qe = { class: "ant-upload-list-item ant-upload-list-item-done ant-upload-list-item-list-type-text" }, Ke = { class: "ant-upload-list-item-info" }, Pe = { class: "ant-upload-span" }, Ye = { class: "ant-upload-text-icon" }, ze = ["href"], Qe = { class: "ant-upload-list-item-card-actions" }, Ge = {
376
376
  key: 6,
377
377
  class: "item-content"
378
378
  };
379
- function Xe(a, s, d, k, C, L) {
380
- const x = T("MarkdownViewer"), w = T("link-table-card"), m = T("download-outlined"), D = T("eye-outlined"), O = T("paper-clip-outlined"), c = T("a-col"), F = T("a-row");
379
+ function Xe(a, s, d, k, b, L) {
380
+ const x = T("MarkdownViewer"), w = T("link-table-card"), m = T("download-outlined"), D = T("eye-outlined"), E = T("paper-clip-outlined"), c = T("a-col"), F = T("a-row");
381
381
  return f(), u("div", {
382
382
  class: j(a.formContainerClass)
383
383
  }, [
384
384
  $(F, null, {
385
385
  default: q(() => [
386
- (f(!0), u(S, null, B(a.schemas, (r, v) => (f(), K(c, {
386
+ (f(!0), u(S, null, V(a.schemas, (r, v) => (f(), K(c, {
387
387
  key: v,
388
388
  span: a.getItemSpan(r)
389
389
  }, {
@@ -392,7 +392,7 @@ function Xe(a, s, d, k, C, L) {
392
392
  p("div", {
393
393
  class: j(["item-title", a.getLabelWidthClass(r)]),
394
394
  title: r.label
395
- }, V(a.filterLable(r)) + ": ", 11, $e),
395
+ }, B(a.filterLable(r)) + ": ", 11, $e),
396
396
  r.view === "markdown" ? (f(), u("div", Ie, [
397
397
  $(x, {
398
398
  value: a.detailFormData[r.field],
@@ -420,22 +420,23 @@ function Xe(a, s, d, k, C, L) {
420
420
  }, null, 8, ["value", "valueField", "textField", "tableName", "multi"])) : (f(), u("span", Se))
421
421
  ])) : r.isImage ? (f(), u("div", Je, [
422
422
  p("div", Ne, [
423
- (f(!0), u(S, null, B(a.detailFormData[r.field], (h) => (f(), u("div", je, [
423
+ (f(!0), u(S, null, V(a.detailFormData[r.field], (h) => (f(), u("div", je, [
424
424
  p("span", null, [
425
- p("div", Be, [
426
- p("div", Ve, [
425
+ p("div", Ve, [
426
+ p("div", Be, [
427
427
  p("img", {
428
428
  src: h,
429
429
  alt: "图片不存在",
430
- class: "ant-upload-list-item-image"
430
+ class: "ant-upload-list-item-image",
431
+ onClick: (I) => a.handleViewImage(r.field)
431
432
  }, null, 8, He)
432
433
  ]),
433
434
  p("span", Ue, [
434
435
  $(m, {
435
- onClick: (E) => a.handleDownloadFile(h)
436
+ onClick: (I) => a.handleDownloadFile(h)
436
437
  }, null, 8, ["onClick"]),
437
438
  $(D, {
438
- onClick: (E) => a.handleViewImage(r.field)
439
+ onClick: (I) => a.handleViewImage(r.field)
439
440
  }, null, 8, ["onClick"])
440
441
  ])
441
442
  ])
@@ -444,23 +445,23 @@ function Xe(a, s, d, k, C, L) {
444
445
  ])
445
446
  ])) : r.isFile ? (f(), u("div", Ae, [
446
447
  p("div", We, [
447
- (f(!0), u(S, null, B(a.detailFormData[r.field], (h) => (f(), u("div", Re, [
448
+ (f(!0), u(S, null, V(a.detailFormData[r.field], (h) => (f(), u("div", Re, [
448
449
  p("span", null, [
449
450
  p("div", qe, [
450
451
  p("div", Ke, [
451
452
  p("span", Pe, [
452
453
  p("div", Ye, [
453
- $(O)
454
+ $(E)
454
455
  ]),
455
456
  p("a", {
456
457
  href: h,
457
458
  target: "_blank",
458
459
  rel: "noopener noreferrer",
459
460
  class: "ant-upload-list-item-name"
460
- }, V(a.getFilename(h)), 9, ze),
461
+ }, B(a.getFilename(h)), 9, ze),
461
462
  p("span", Qe, [
462
463
  $(m, {
463
- onClick: (E) => a.handleDownloadFile(h)
464
+ onClick: (I) => a.handleDownloadFile(h)
464
465
  }, null, 8, ["onClick"])
465
466
  ])
466
467
  ])
@@ -469,7 +470,7 @@ function Xe(a, s, d, k, C, L) {
469
470
  ])
470
471
  ]))), 256))
471
472
  ])
472
- ])) : (f(), u("div", Ge, V(a.filter(a.detailFormData[r.field], r.view, r)), 1))
473
+ ])) : (f(), u("div", Ge, B(a.filter(a.detailFormData[r.field], r.view, r)), 1))
473
474
  ]))
474
475
  ]),
475
476
  _: 2
@@ -479,7 +480,7 @@ function Xe(a, s, d, k, C, L) {
479
480
  })
480
481
  ], 2);
481
482
  }
482
- const Ut = /* @__PURE__ */ Ce(Te, [["render", Xe], ["__scopeId", "data-v-176992bf"]]);
483
+ const Ut = /* @__PURE__ */ be(Te, [["render", Xe], ["__scopeId", "data-v-05ca0a61"]]);
483
484
  export {
484
485
  Ut as default
485
486
  };
@@ -0,0 +1,44 @@
1
+ import { Menu as a } from "ant-design-vue";
2
+ import { defineComponent as u, getCurrentInstance as l, computed as f, resolveComponent as m, openBlock as _, createBlock as d, withCtx as I, createElementVNode as p, createVNode as y, toDisplayString as K } from "vue";
3
+ import M from "/@/components/Icon/index";
4
+ import { propTypes as r } from "/@/utils/propTypes";
5
+ import { _ as g } from "./index-9e1e1e53.mjs";
6
+ import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
7
+ import "/@/hooks/web/useMessage";
8
+ import "vue-router";
9
+ const x = u({
10
+ name: "DropdownMenuItem",
11
+ components: { MenuItem: a.Item, Icon: M },
12
+ props: {
13
+ // 【issues/6855】
14
+ itemKey: r.string,
15
+ text: r.string,
16
+ icon: r.string
17
+ },
18
+ setup(e) {
19
+ const t = l();
20
+ return { itemKey: f(() => {
21
+ var o, n;
22
+ return e.itemKey || ((n = (o = t == null ? void 0 : t.vnode) == null ? void 0 : o.props) == null ? void 0 : n.itemKey);
23
+ }) };
24
+ }
25
+ }), C = { class: "flex items-center" };
26
+ function $(e, t, s, o, n, h) {
27
+ const c = m("Icon"), i = m("MenuItem");
28
+ return _(), d(i, { key: e.itemKey }, {
29
+ default: I(() => [
30
+ p("span", C, [
31
+ y(c, {
32
+ icon: e.icon,
33
+ class: "mr-1"
34
+ }, null, 8, ["icon"]),
35
+ p("span", null, K(e.text), 1)
36
+ ])
37
+ ]),
38
+ _: 1
39
+ });
40
+ }
41
+ const S = /* @__PURE__ */ g(x, [["render", $]]);
42
+ export {
43
+ S as default
44
+ };
@@ -1,29 +1,29 @@
1
1
  var W = Object.defineProperty;
2
2
  var A = Object.getOwnPropertySymbols;
3
3
  var X = Object.prototype.hasOwnProperty, Y = Object.prototype.propertyIsEnumerable;
4
- var E = (e, t, o) => t in e ? W(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o, R = (e, t) => {
5
- for (var o in t || (t = {}))
6
- X.call(t, o) && E(e, o, t[o]);
4
+ var E = (e, o, n) => o in e ? W(e, o, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[o] = n, R = (e, o) => {
5
+ for (var n in o || (o = {}))
6
+ X.call(o, n) && E(e, n, o[n]);
7
7
  if (A)
8
- for (var o of A(t))
9
- Y.call(t, o) && E(e, o, t[o]);
8
+ for (var n of A(o))
9
+ Y.call(o, n) && E(e, n, o[n]);
10
10
  return e;
11
11
  };
12
- var p = (e, t, o) => new Promise((_, f) => {
13
- var h = (r) => {
12
+ var p = (e, o, n) => new Promise((b, f) => {
13
+ var C = (r) => {
14
14
  try {
15
- l(o.next(r));
15
+ l(n.next(r));
16
16
  } catch (u) {
17
17
  f(u);
18
18
  }
19
19
  }, c = (r) => {
20
20
  try {
21
- l(o.throw(r));
21
+ l(n.throw(r));
22
22
  } catch (u) {
23
23
  f(u);
24
24
  }
25
- }, l = (r) => r.done ? _(r.value) : Promise.resolve(r.value).then(h, c);
26
- l((o = o.apply(e, t)).next());
25
+ }, l = (r) => r.done ? b(r.value) : Promise.resolve(r.value).then(C, c);
26
+ l((n = n.apply(e, o)).next());
27
27
  });
28
28
  import { defineComponent as Z, ref as k, reactive as x, computed as ee, nextTick as oe, resolveComponent as s, openBlock as D, createBlock as J, withCtx as a, createVNode as i, createTextVNode as g, createElementBlock as ne, createCommentVNode as S, normalizeProps as te, guardReactiveProps as ae } from "vue";
29
29
  import { BasicModal as ie, useModalInner as re, useModal as se } from "/@/components/Modal";
@@ -31,10 +31,10 @@ import { BasicForm as le, useForm as ce } from "/@/components/Form";
31
31
  import { BasicTable as ue, TableAction as me } from "/@/components/Table";
32
32
  import { useListPage as de } from "/@/hooks/system/useListPage";
33
33
  import { u as pe } from "./useOnlineTest-e4bd8be3.mjs";
34
- import { u as fe, a as ge } from "./enhance.data-3304d553.mjs";
35
- import { a as _e, b as he, d as L } from "./enhance.api-138e6826.mjs";
36
- import { _ as be } from "./index-173949bb.mjs";
37
- import "./cgform.data-475d4984.mjs";
34
+ import { u as fe, a as ge } from "./enhance.data-6601ff44.mjs";
35
+ import { a as be, b as Ce, d as L } from "./enhance.api-138e6826.mjs";
36
+ import { _ as ve } from "./index-9e1e1e53.mjs";
37
+ import "./cgform.data-0ca62d09.mjs";
38
38
  import "/@/utils/dict";
39
39
  import "/@/utils/dict/JDictSelectUtil";
40
40
  import "/@/utils/uuid";
@@ -43,28 +43,28 @@ import "/@/utils/is";
43
43
  import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
44
44
  import "/@/hooks/web/useMessage";
45
45
  import "vue-router";
46
- const Ce = Z({
46
+ const we = Z({
47
47
  name: "EnhanceJavaModal",
48
48
  components: { BasicModal: ie, BasicTable: ue, BasicForm: le, TableAction: me },
49
49
  emits: ["register"],
50
50
  setup() {
51
- const e = k(""), t = k([]), { columns: o } = ge(t), { doRequest: _, doDeleteRecord: f, tableContext: h } = de({
51
+ const e = k(""), o = k([]), { columns: n } = ge(o), { doRequest: b, doDeleteRecord: f, tableContext: C } = de({
52
52
  tableProps: {
53
- api: (n) => p(this, null, function* () {
54
- let { dataSource: b, btnList: Q } = yield _e(e.value, n);
55
- return t.value = Q, b;
53
+ api: (t) => p(this, null, function* () {
54
+ let { dataSource: v, btnList: Q } = yield be(e.value, t);
55
+ return o.value = Q, v;
56
56
  }),
57
- columns: o,
57
+ columns: n,
58
58
  canResize: !1,
59
59
  useSearchForm: !1,
60
- beforeFetch(n) {
61
- return Object.assign(n, { column: "orderNum", order: "asc" });
60
+ beforeFetch(t) {
61
+ return Object.assign(t, { column: "orderNum", order: "asc" });
62
62
  }
63
63
  }
64
- }), [c, { reload: l }, { rowSelection: r, selectedRowKeys: u }] = h, [C, { closeModal: v }] = re((n) => p(this, null, function* () {
65
- e.value = n.row.id, l();
66
- })), { aiTestMode: w, genEnhanceJavaData: y } = pe(), [M, d] = se(), m = k(!1), B = x({
67
- onRegister: M,
64
+ }), [c, { reload: l }, { rowSelection: r, selectedRowKeys: u }] = C, [w, { closeModal: _ }] = re((t) => p(this, null, function* () {
65
+ e.value = t.row.id, l();
66
+ })), { aiTestMode: y, genEnhanceJavaData: M } = pe(), [h, d] = se(), m = k(!1), B = x({
67
+ onRegister: h,
68
68
  title: ee(() => m != null && m.value ? "修改" : "新增"),
69
69
  width: 800,
70
70
  confirmLoading: !1,
@@ -73,7 +73,7 @@ const Ce = Z({
73
73
  onCancel: d.closeModal
74
74
  });
75
75
  let F = {};
76
- const { formSchemas: P } = fe(t), [V, { resetFields: $, setFieldsValue: N, validate: O }] = ce({
76
+ const { formSchemas: P } = fe(o), [V, { resetFields: $, setFieldsValue: N, validate: O }] = ce({
77
77
  schemas: P,
78
78
  showActionButtonGroup: !1,
79
79
  // update-begin--author:liaozhiyang---date:20231017---for:【issues/790】弹窗内文本框不居中问题
@@ -82,55 +82,55 @@ const Ce = Z({
82
82
  // update-end--author:liaozhiyang---date:20231017---for:【issues/790】弹窗内文本框不居中问题
83
83
  });
84
84
  function G() {
85
- v();
85
+ _();
86
86
  }
87
- function T(n) {
87
+ function T(t) {
88
88
  return p(this, null, function* () {
89
- var b;
90
- m.value = n.isUpdate, F = R({}, (b = n.record) != null ? b : {}), d.openModal(), yield oe(), yield $(), N(F);
89
+ var v;
90
+ m.value = t.isUpdate, F = R({}, (v = t.record) != null ? v : {}), d.openModal(), yield oe(), yield $(), N(F);
91
91
  });
92
92
  }
93
93
  function j() {
94
94
  T({ isUpdate: !1 });
95
95
  }
96
- function z(n) {
97
- T({ isUpdate: !0, record: n });
96
+ function z(t) {
97
+ T({ isUpdate: !0, record: t });
98
98
  }
99
99
  function I() {
100
- y(e.value);
100
+ M(e.value);
101
101
  }
102
102
  function K() {
103
103
  return p(this, null, function* () {
104
- _(() => L(u.value));
104
+ b(() => L(u.value));
105
105
  });
106
106
  }
107
107
  function U() {
108
108
  return p(this, null, function* () {
109
109
  try {
110
110
  B.confirmLoading = !0;
111
- let n = yield O();
112
- n = Object.assign({}, F, n), yield he(e.value, n, m.value), l(), d.closeModal();
111
+ let t = yield O();
112
+ t = Object.assign({}, F, t), yield Ce(e.value, t, m.value), l(), d.closeModal();
113
113
  } finally {
114
114
  B.confirmLoading = !1;
115
115
  }
116
116
  });
117
117
  }
118
- function q(n) {
118
+ function q(t) {
119
119
  return [
120
120
  {
121
121
  label: "编辑",
122
- onClick: () => z(n)
122
+ onClick: () => z(t)
123
123
  }
124
124
  ];
125
125
  }
126
- function H(n) {
126
+ function H(t) {
127
127
  return [
128
128
  {
129
129
  label: "删除",
130
130
  popConfirm: {
131
131
  title: "确定删除吗?",
132
132
  placement: "left",
133
- confirm: () => f(() => L([n.id]))
133
+ confirm: () => f(() => L([t.id]))
134
134
  }
135
135
  }
136
136
  ];
@@ -138,7 +138,7 @@ const Ce = Z({
138
138
  return {
139
139
  rowSelection: r,
140
140
  selectedRowKeys: u,
141
- aiTestMode: w,
141
+ aiTestMode: y,
142
142
  onCancel: G,
143
143
  onAdd: j,
144
144
  onGenEnhanceJavaData: I,
@@ -146,7 +146,7 @@ const Ce = Z({
146
146
  getTableAction: q,
147
147
  getDropDownAction: H,
148
148
  formModalProps: B,
149
- registerModal: C,
149
+ registerModal: w,
150
150
  registerTable: c,
151
151
  registerForm: V
152
152
  };
@@ -158,12 +158,12 @@ const Ce = Z({
158
158
  };
159
159
  }
160
160
  }
161
- }), ve = {
161
+ }), _e = {
162
162
  key: 0,
163
163
  style: { float: "left" }
164
164
  };
165
- function we(e, t, o, _, f, h) {
166
- const c = s("a-button"), l = s("a-icon"), r = s("a-menu-item"), u = s("a-menu"), C = s("a-dropdown"), v = s("TableAction"), w = s("BasicTable"), y = s("BasicForm"), M = s("a-spin"), d = s("BasicModal");
165
+ function ye(e, o, n, b, f, C) {
166
+ const c = s("a-button"), l = s("a-icon"), r = s("a-menu-item"), u = s("a-menu"), w = s("a-dropdown"), _ = s("TableAction"), y = s("BasicTable"), M = s("BasicForm"), h = s("a-spin"), d = s("BasicModal");
167
167
  return D(), J(d, {
168
168
  onRegister: e.registerModal,
169
169
  title: "JAVA增强",
@@ -173,22 +173,22 @@ function we(e, t, o, _, f, h) {
173
173
  }, {
174
174
  footer: a(() => [
175
175
  i(c, { onClick: e.onCancel }, {
176
- default: a(() => [
176
+ default: a(() => o[3] || (o[3] = [
177
177
  g("关闭")
178
- ]),
178
+ ])),
179
179
  _: 1
180
180
  }, 8, ["onClick"]),
181
- e.aiTestMode ? (D(), ne("div", ve, [
181
+ e.aiTestMode ? (D(), ne("div", _e, [
182
182
  i(c, { onClick: e.onGenEnhanceJavaData }, {
183
- default: a(() => [
183
+ default: a(() => o[4] || (o[4] = [
184
184
  g("生成测试数据")
185
- ]),
185
+ ])),
186
186
  _: 1
187
187
  }, 8, ["onClick"])
188
188
  ])) : S("", !0)
189
189
  ]),
190
190
  default: a(() => [
191
- i(w, {
191
+ i(y, {
192
192
  onRegister: e.registerTable,
193
193
  rowSelection: e.rowSelection
194
194
  }, {
@@ -198,12 +198,12 @@ function we(e, t, o, _, f, h) {
198
198
  type: "primary",
199
199
  preIcon: "ant-design:plus"
200
200
  }, {
201
- default: a(() => [
201
+ default: a(() => o[0] || (o[0] = [
202
202
  g("新增")
203
- ]),
203
+ ])),
204
204
  _: 1
205
205
  }, 8, ["onClick"]),
206
- e.selectedRowKeys.length > 0 ? (D(), J(C, { key: 0 }, {
206
+ e.selectedRowKeys.length > 0 ? (D(), J(w, { key: 0 }, {
207
207
  overlay: a(() => [
208
208
  i(u, null, {
209
209
  default: a(() => [
@@ -213,7 +213,7 @@ function we(e, t, o, _, f, h) {
213
213
  }, {
214
214
  default: a(() => [
215
215
  i(l, { type: "delete" }),
216
- g(" 删除 ")
216
+ o[1] || (o[1] = g(" 删除 "))
217
217
  ]),
218
218
  _: 1
219
219
  }, 8, ["onClick"])
@@ -224,7 +224,7 @@ function we(e, t, o, _, f, h) {
224
224
  default: a(() => [
225
225
  i(c, { style: { "margin-left": "8px" } }, {
226
226
  default: a(() => [
227
- g(" 批量操作 "),
227
+ o[2] || (o[2] = g(" 批量操作 ")),
228
228
  i(l, { type: "down" })
229
229
  ]),
230
230
  _: 1
@@ -234,7 +234,7 @@ function we(e, t, o, _, f, h) {
234
234
  })) : S("", !0)
235
235
  ]),
236
236
  action: a(({ record: m }) => [
237
- i(v, {
237
+ i(_, {
238
238
  actions: e.getTableAction(m),
239
239
  dropDownActions: e.getDropDownAction(m)
240
240
  }, null, 8, ["actions", "dropDownActions"])
@@ -243,11 +243,11 @@ function we(e, t, o, _, f, h) {
243
243
  }, 8, ["onRegister", "rowSelection"]),
244
244
  i(d, te(ae(e.formModalProps)), {
245
245
  default: a(() => [
246
- i(M, {
246
+ i(h, {
247
247
  spinning: e.formModalProps.confirmLoading
248
248
  }, {
249
249
  default: a(() => [
250
- i(y, { onRegister: e.registerForm }, null, 8, ["onRegister"])
250
+ i(M, { onRegister: e.registerForm }, null, 8, ["onRegister"])
251
251
  ]),
252
252
  _: 1
253
253
  }, 8, ["spinning"])
@@ -258,7 +258,7 @@ function we(e, t, o, _, f, h) {
258
258
  _: 1
259
259
  }, 8, ["onRegister", "onCancel"]);
260
260
  }
261
- const je = /* @__PURE__ */ be(Ce, [["render", we]]);
261
+ const je = /* @__PURE__ */ ve(we, [["render", ye]]);
262
262
  export {
263
263
  je as default
264
264
  };