@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
@@ -1,24 +1,24 @@
1
- import { defineComponent as D, ref as i, resolveComponent as d, openBlock as H, createBlock as I, withCtx as l, createVNode as m, createTextVNode as g, createElementVNode as _ } from "vue";
2
- import { defHttp as T } from "/@/utils/http/axios";
1
+ import { defineComponent as D, ref as u, resolveComponent as c, openBlock as H, createBlock as I, withCtx as s, createVNode as f, createTextVNode as h, createElementVNode as T } from "vue";
2
+ import { defHttp as M } from "/@/utils/http/axios";
3
3
  import { BasicTable as $ } from "/@/components/Table";
4
4
  import { BasicModal as A, useModalInner as P } from "/@/components/Modal";
5
5
  import { useListTable as q } from "/@/hooks/system/useListPage";
6
6
  import { useMessage as O } from "/@/hooks/web/useMessage";
7
7
  import { useDesign as V } from "/@/hooks/web/useDesign";
8
- import { _ as j } from "./index-1d1a6e56.mjs";
8
+ import { _ as j } from "./index-f3683351.mjs";
9
9
  import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
10
10
  import "vue-router";
11
11
  const x = D({
12
12
  name: "TransDb2Online",
13
13
  components: { BasicModal: A, BasicTable: $ },
14
14
  emits: ["success", "register"],
15
- setup(o, { emit: h }) {
16
- const { createMessage: f } = O(), t = i("暂无数据"), u = i(!1), s = i(!1), n = i([]), a = i([]), { prefixCls: c } = V("online-db-import-form-modal"), p = c, C = document.documentElement.clientHeight, b = C - 180, M = b > 690 ? 690 : b, [L, { setPagination: y, getForm: B }, { rowSelection: F, selectedRowKeys: r }] = q({
15
+ setup(o, { emit: n }) {
16
+ const { createMessage: p } = O(), l = u("暂无数据"), m = u(!1), r = u(!1), a = u([]), t = u([]), { prefixCls: d } = V("online-db-import-form-modal"), g = d, C = document.documentElement.clientHeight, b = C - 180, _ = b > 690 ? 690 : b, [L, { setPagination: y, getForm: B }, { rowSelection: F, selectedRowKeys: i }] = q({
17
17
  bordered: !0,
18
18
  columns: [{ title: "表名", align: "left", dataIndex: "id" }],
19
- dataSource: a,
19
+ dataSource: t,
20
20
  maxHeight: C - 400,
21
- locale: { emptyText: t },
21
+ locale: { emptyText: l },
22
22
  pagination: {
23
23
  showQuickJumper: !1,
24
24
  showSizeChanger: !1
@@ -49,10 +49,10 @@ const x = D({
49
49
  }
50
50
  }), [E, { closeModal: v }] = P(() => {
51
51
  var e;
52
- (e = B()) == null || e.resetFields(), s.value = !1, t.value = "暂无数据", r.value = [], w();
52
+ (e = B()) == null || e.resetFields(), r.value = !1, l.value = "暂无数据", i.value = [], w();
53
53
  });
54
54
  function w() {
55
- return u.value = !0, T.get(
55
+ return m.value = !0, M.get(
56
56
  {
57
57
  url: "/online/cgform/head/queryTables"
58
58
  /* query */
@@ -61,61 +61,54 @@ const x = D({
61
61
  errorMessageMode: "none"
62
62
  }
63
63
  ).then(
64
- (e) => (a.value = e, n.value = [...e], e),
64
+ (e) => (t.value = e, a.value = [...e], e),
65
65
  (e) => {
66
- e.message == "noadminauth" && (t.value = "非admin用户无权限操作!", f.warn(t.value)), a.value = [], n.value = [];
66
+ e.message == "noadminauth" && (l.value = "非admin用户无权限操作!", p.warn(l.value)), t.value = [], a.value = [];
67
67
  }
68
68
  ).finally(() => {
69
- u.value = !1;
69
+ m.value = !1;
70
70
  });
71
71
  }
72
72
  function N(e) {
73
- n.value.length !== 0 && (e ? (a.value = n.value.filter((S) => S.id.toLowerCase().includes(e.toLowerCase())), t.value = a.value.length === 0 ? "无筛选结果" : "暂无数据") : a.value = [...n.value], y({ current: 1 }));
73
+ a.value.length !== 0 && (e ? (t.value = a.value.filter((S) => S.id.toLowerCase().includes(e.toLowerCase())), l.value = t.value.length === 0 ? "无筛选结果" : "暂无数据") : t.value = [...a.value], y({ current: 1 }));
74
74
  }
75
75
  function k() {
76
76
  v();
77
77
  }
78
78
  function R() {
79
- if (!r.value || r.value.length == 0) {
80
- f.warning("请选择一张表");
79
+ if (!i.value || i.value.length == 0) {
80
+ p.warning("请选择一张表");
81
81
  return;
82
82
  } else {
83
- s.value = !0;
84
- let e = r.value.join(",");
85
- T.post({ url: "/online/cgform/head/transTables/" + e }, { errorMessageMode: "modal" }).then(() => {
83
+ r.value = !0;
84
+ let e = i.value.join(",");
85
+ M.post({ url: "/online/cgform/head/transTables/" + e }, { errorMessageMode: "modal" }).then(() => {
86
86
  v();
87
87
  }).finally(() => {
88
- s.value = !1, h("success");
88
+ r.value = !1, n("success");
89
89
  });
90
90
  }
91
91
  }
92
92
  return {
93
- emptyText: t,
94
- confirmLoading: u,
95
- btnLoading: s,
96
- metaSource: n,
93
+ emptyText: l,
94
+ confirmLoading: m,
95
+ btnLoading: r,
96
+ metaSource: a,
97
97
  handleTrans: R,
98
98
  handleCancel: k,
99
99
  queryTables: w,
100
100
  registerModal: E,
101
101
  registerTable: L,
102
102
  rowSelection: F,
103
- selectedRowKeys: r,
104
- wrapClassName: p,
105
- modalHeight: M
103
+ selectedRowKeys: i,
104
+ wrapClassName: g,
105
+ modalHeight: _
106
106
  };
107
107
  }
108
108
  });
109
- const z = /* @__PURE__ */ _("div", null, [
110
- /* @__PURE__ */ g(" 注:导入表会排除配置前缀表 "),
111
- /* @__PURE__ */ _("a", {
112
- href: "http://doc.jeecg.com/2043924",
113
- target: "_blank"
114
- }, " 参考文档")
115
- ], -1);
116
- function G(o, h, f, t, u, s) {
117
- const n = d("BasicTable"), a = d("a-spin"), c = d("a-button"), p = d("BasicModal");
118
- return H(), I(p, {
109
+ function z(o, n, p, l, m, r) {
110
+ const a = c("BasicTable"), t = c("a-spin"), d = c("a-button"), g = c("BasicModal");
111
+ return H(), I(g, {
119
112
  onRegister: o.registerModal,
120
113
  height: o.modalHeight,
121
114
  width: 500,
@@ -124,36 +117,42 @@ function G(o, h, f, t, u, s) {
124
117
  onCancel: o.handleCancel,
125
118
  wrapClassName: o.wrapClassName
126
119
  }, {
127
- footer: l(() => [
128
- m(c, { onClick: o.handleCancel }, {
129
- default: l(() => [
130
- g("关闭")
131
- ]),
120
+ footer: s(() => [
121
+ f(d, { onClick: o.handleCancel }, {
122
+ default: s(() => n[1] || (n[1] = [
123
+ h("关闭")
124
+ ])),
132
125
  _: 1
133
126
  }, 8, ["onClick"]),
134
- m(c, {
127
+ f(d, {
135
128
  onClick: o.handleTrans,
136
129
  type: "primary",
137
130
  preIcon: "ant-design:swap",
138
131
  loading: o.confirmLoading || o.btnLoading
139
132
  }, {
140
- default: l(() => [
141
- g(" 生成表单 ")
142
- ]),
133
+ default: s(() => n[2] || (n[2] = [
134
+ h(" 生成表单 ")
135
+ ])),
143
136
  _: 1
144
137
  }, 8, ["onClick", "loading"])
145
138
  ]),
146
- default: l(() => [
147
- m(a, { spinning: o.confirmLoading }, {
148
- default: l(() => [
149
- m(n, {
139
+ default: s(() => [
140
+ f(t, { spinning: o.confirmLoading }, {
141
+ default: s(() => [
142
+ f(a, {
150
143
  onRegister: o.registerTable,
151
144
  rowSelection: o.rowSelection,
152
145
  onTableRedo: o.queryTables
153
146
  }, {
154
- tableTitle: l(() => [
155
- z
156
- ]),
147
+ tableTitle: s(() => n[0] || (n[0] = [
148
+ T("div", null, [
149
+ h(" 注:导入表会排除配置前缀表 "),
150
+ T("a", {
151
+ href: "http://doc.jeecg.com/2043924",
152
+ target: "_blank"
153
+ }, " 参考文档")
154
+ ], -1)
155
+ ])),
157
156
  _: 1
158
157
  }, 8, ["onRegister", "rowSelection", "onTableRedo"])
159
158
  ]),
@@ -163,7 +162,7 @@ function G(o, h, f, t, u, s) {
163
162
  _: 1
164
163
  }, 8, ["onRegister", "height", "confirmLoading", "onCancel", "wrapClassName"]);
165
164
  }
166
- const ne = /* @__PURE__ */ j(x, [["render", G]]);
165
+ const oe = /* @__PURE__ */ j(x, [["render", z]]);
167
166
  export {
168
- ne as default
167
+ oe as default
169
168
  };
@@ -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-dcae5c78.mjs";
40
+ import { L as De } from "./useExtendComponent-3f5734ca.mjs";
41
41
  import { MarkdownViewer as Fe } from "/@/components/Markdown";
42
42
  import { getWeekMonthQuarterYear as Ce } from "/@/utils";
43
- import { _ as be } from "./index-1d1a6e56.mjs";
43
+ import { _ as be } from "./index-f3683351.mjs";
44
44
  import "/@/components/Form/src/componentMap";
45
45
  import "/@/components/Modal";
46
46
  import "/@/components/Form/index";
@@ -55,14 +55,14 @@ import "/@/store/modules/permission";
55
55
  import "/@/components/Table";
56
56
  import "/@/hooks/system/useListPage";
57
57
  import "vue-router";
58
- import "./LinkTableListPiece-f3a8e0d7.mjs";
58
+ import "./LinkTableListPiece-179035c7.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-05c40fef.mjs";
63
+ import "./OnlineSelectCascade-a3e686b3.mjs";
64
64
  import "/@/components/Loading";
65
- import "./JModalTip-b055ab60.mjs";
65
+ import "./JModalTip-192fafa1.mjs";
66
66
  import "ant-design-vue";
67
67
  import "@vueuse/core";
68
68
  function xe(a) {
@@ -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-f3683351.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-a67572e1.mjs";
35
- import { a as _e, b as he, d as L } from "./enhance.api-138e6826.mjs";
36
- import { _ as be } from "./index-1d1a6e56.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-f3683351.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
  };