@jeecg/online 3.5.3-beta3 → 3.6.0-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 (163) hide show
  1. package/AuthButtonConfig-b6a674fa.mjs +125 -0
  2. package/AuthButtonTree-09e57bc4.mjs +156 -0
  3. package/AuthDataConfig-6e7e61ec.mjs +212 -0
  4. package/AuthDataTree-e83286c5.mjs +139 -0
  5. package/AuthFieldConfig-f1ec2708.mjs +139 -0
  6. package/AuthFieldTree-bb72e21f.mjs +232 -0
  7. package/AuthManagerDrawer-28a2d108.mjs +114 -0
  8. package/AuthSetterModal-2990d553.mjs +261 -0
  9. package/CgformCopyList-36a4cbf0.mjs +246 -0
  10. package/CgformModal-7399a5ac.mjs +611 -0
  11. package/CgreportModal-2eb9c9e1.mjs +13 -0
  12. package/CgreportModal.vue_vue_type_script_setup_true_lang-c2ceb064.mjs +566 -0
  13. package/CheckDictTable-3a8a54b3.mjs +211 -0
  14. package/CodeFileListModal-72f0d3bb.mjs +158 -0
  15. package/CodeFileViewModal-9eb88c47.mjs +244 -0
  16. package/CodeGeneratorModal-a89958f5.mjs +233 -0
  17. package/CustomButtonList-c44aec5a.mjs +363 -0
  18. package/DBAttributeTable-7d285e8d.mjs +473 -0
  19. package/DbToOnlineModal-d23cbeb1.mjs +160 -0
  20. package/DetailForm-2901d215.mjs +461 -0
  21. package/EnhanceJavaModal-153899a9.mjs +264 -0
  22. package/EnhanceJsHistory-7f5db3b1.mjs +184 -0
  23. package/EnhanceJsModal-c2fb75b8.mjs +311 -0
  24. package/EnhanceSqlModal-965e9b0a.mjs +268 -0
  25. package/ExtendConfigModal-8f08466f.mjs +111 -0
  26. package/FieldExtendJsonModal-adfcf5a7.mjs +219 -0
  27. package/FileSelectModal-432d4521.mjs +103 -0
  28. package/ForeignKeyTable-faab7ccf.mjs +69 -0
  29. package/IndexTable-0a2d3718.mjs +89 -0
  30. package/JModalTip-e1938b49.mjs +46 -0
  31. package/JOnlineSearchSelect-7e908492.mjs +95 -0
  32. package/LeftDepart-54f245b3.mjs +82 -0
  33. package/LeftRole-c138f892.mjs +86 -0
  34. package/LeftUser-9c812f8a.mjs +105 -0
  35. package/LinkTableConfigModal-c2c5c7e6.mjs +230 -0
  36. package/LinkTableFieldConfigModal-a3553b1f.mjs +176 -0
  37. package/LinkTableListPiece-7f793b08.mjs +34 -0
  38. package/ModalFormDemo-65685b0e.mjs +78 -0
  39. package/OnlCgformErpList-52c87ed3.mjs +449 -0
  40. package/OnlCgformErpSubTable-6e7fb17b.mjs +398 -0
  41. package/OnlCgformInnerSubTable-f0727b8f.mjs +248 -0
  42. package/OnlCgformInnerTableList-9f89c173.mjs +430 -0
  43. package/OnlCgformTabList-15516315.mjs +390 -0
  44. package/OnlineAutoList-63a0224f.mjs +474 -0
  45. package/OnlineAutoModal-ffe19c3f.mjs +206 -0
  46. package/OnlineAutoTreeList-317c7105.mjs +495 -0
  47. package/OnlineCustomModal-3939ce78.mjs +227 -0
  48. package/OnlineDetailModal-bfb1375f.mjs +177 -0
  49. package/OnlineForm-069f6092.mjs +749 -0
  50. package/OnlineFormDetail-ad5735fb.mjs +296 -0
  51. package/OnlineQueryForm-0771c80f.mjs +385 -0
  52. package/OnlineSearchFormItem-0db5834f.mjs +348 -0
  53. package/OnlineSelectCascade-a05c30f4.mjs +159 -0
  54. package/OnlineSubFormDetail-583d01eb.mjs +142 -0
  55. package/OnlineTabAutoModal-747e071d.mjs +253 -0
  56. package/OnlineTabDetailModal-887f0174.mjs +222 -0
  57. package/OnlineTabForm-b1dcd4b4.mjs +765 -0
  58. package/OnlineTabFormDetail-8e494a96.mjs +323 -0
  59. package/PageAttributeTable-5966b201.mjs +404 -0
  60. package/ProcessOnlineForm-4382bea7.mjs +177 -0
  61. package/QueryTable-6e8053ad.mjs +115 -0
  62. package/README.md +2 -1
  63. package/SuperQuery-78db6998.mjs +841 -0
  64. package/SuperQueryValComponent-471110b5.mjs +8 -0
  65. package/SuperQueryValComponent.vue_vue_type_script_lang-e3ad7ee8.mjs +101 -0
  66. package/auth.api-d3a6c4b3.mjs +39 -0
  67. package/auth.data-8be5c9e3.mjs +141 -0
  68. package/{cgform.data.js → cgform.data-cbdd88c3.mjs} +93 -62
  69. package/constant-754f1a9d.mjs +9 -0
  70. package/enhance.api-138e6826.mjs +104 -0
  71. package/enhance.data-efc7e155.mjs +175 -0
  72. package/index-0a93652b.mjs +237 -0
  73. package/index-7e9a23f2.mjs +1494 -0
  74. package/index-b70302f2.mjs +56 -0
  75. package/main.index.js +7 -1
  76. package/package.json +1 -1
  77. package/style.css +1 -1
  78. package/useCgformList-0c603af1.mjs +424 -0
  79. package/useCustomHook-acb00837.mjs +53 -0
  80. package/useExtendComponent-aa1cdfc8.mjs +3917 -0
  81. package/useListButton-0f18bf6a.mjs +671 -0
  82. package/useOnlinePopEvent-687070b7.mjs +19 -0
  83. package/useOnlineTest-e4bd8be3.mjs +42 -0
  84. package/useSchemas-43429d80.mjs +685 -0
  85. package/useTableSync-774c3774.mjs +87 -0
  86. package/AuthButtonConfig.js +0 -147
  87. package/AuthButtonTree.js +0 -183
  88. package/AuthDataConfig.js +0 -246
  89. package/AuthDataTree.js +0 -160
  90. package/AuthFieldConfig.js +0 -170
  91. package/AuthFieldTree.js +0 -281
  92. package/AuthManagerDrawer.js +0 -125
  93. package/AuthSetterModal.js +0 -316
  94. package/CgformCopyList.js +0 -266
  95. package/CgformModal.js +0 -780
  96. package/CgreportModal.js +0 -667
  97. package/CheckDictTable.js +0 -242
  98. package/CodeFileListModal.js +0 -175
  99. package/CodeFileViewModal.js +0 -325
  100. package/CodeGeneratorModal.js +0 -297
  101. package/CustomButtonList.js +0 -410
  102. package/DBAttributeTable.js +0 -526
  103. package/DbToOnlineModal.js +0 -192
  104. package/DetailForm.js +0 -608
  105. package/EnhanceJavaModal.js +0 -298
  106. package/EnhanceJsHistory.js +0 -229
  107. package/EnhanceJsModal.js +0 -293
  108. package/EnhanceSqlModal.js +0 -299
  109. package/ExtendConfigModal.js +0 -151
  110. package/FieldExtendJsonModal.js +0 -283
  111. package/FileSelectModal.js +0 -102
  112. package/ForeignKeyTable.js +0 -79
  113. package/IndexTable.js +0 -97
  114. package/JModalTip.js +0 -54
  115. package/JOnlineSearchSelect.js +0 -115
  116. package/LICENSE +0 -9
  117. package/LeftDepart.js +0 -96
  118. package/LeftRole.js +0 -98
  119. package/LeftUser.js +0 -117
  120. package/LinkTableConfigModal.js +0 -289
  121. package/LinkTableFieldConfigModal.js +0 -218
  122. package/LinkTableListPiece.js +0 -36
  123. package/ModalFormDemo.js +0 -85
  124. package/OnlineAutoList.js +0 -523
  125. package/OnlineAutoModal.js +0 -226
  126. package/OnlineAutoTreeList.js +0 -552
  127. package/OnlineCustomModal.js +0 -286
  128. package/OnlineDetailModal.js +0 -190
  129. package/OnlineForm.js +0 -1016
  130. package/OnlineFormDetail.js +0 -347
  131. package/OnlineQueryForm.js +0 -484
  132. package/OnlineSearchFormItem.js +0 -436
  133. package/OnlineSelectCascade.js +0 -228
  134. package/OnlineSubFormDetail.js +0 -166
  135. package/PageAttributeTable.js +0 -486
  136. package/ProcessOnlineForm.js +0 -208
  137. package/QueryTable.js +0 -129
  138. package/SuperQuery.js +0 -1020
  139. package/SuperQueryValComponent.js +0 -8
  140. package/SuperQueryValComponent.vue_vue_type_script_lang.js +0 -168
  141. package/_arrayPush.js +0 -278
  142. package/_baseClone.js +0 -471
  143. package/_baseSlice.js +0 -18
  144. package/_commonjsHelpers.js +0 -5
  145. package/_flatRest.js +0 -174
  146. package/auth.api.js +0 -43
  147. package/auth.data.js +0 -142
  148. package/clipboard.js +0 -565
  149. package/enhance.api.js +0 -129
  150. package/enhance.data.js +0 -196
  151. package/index.js +0 -87
  152. package/index2.js +0 -340
  153. package/index3.js +0 -264
  154. package/isArray.js +0 -47
  155. package/omit.js +0 -60
  156. package/pick.js +0 -68
  157. package/toString.js +0 -31
  158. package/useCgformList.js +0 -470
  159. package/useExtendComponent.js +0 -5205
  160. package/useListButton.js +0 -923
  161. package/useOnlineTest.js +0 -44
  162. package/useSchemas.js +0 -653
  163. package/useTableSync.js +0 -117
@@ -0,0 +1,34 @@
1
+ import { propTypes as o } from "/@/utils/propTypes";
2
+ import { openBlock as a, createElementBlock as s, createElementVNode as l, toDisplayString as p } from "vue";
3
+ import { _ as c } from "./index-b70302f2.mjs";
4
+ import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
5
+ import "/@/hooks/web/useMessage";
6
+ import "vue-router";
7
+ const d = {
8
+ name: "LinkTableListPiece",
9
+ props: {
10
+ text: o.string.def(""),
11
+ id: o.string.def("")
12
+ },
13
+ emits: ["tab"],
14
+ setup(n, { emit: e }) {
15
+ function i(t) {
16
+ t == null || t.stopPropagation(), t == null || t.preventDefault(), e("tab", n.id);
17
+ }
18
+ return {
19
+ handleClick: i
20
+ };
21
+ }
22
+ };
23
+ function _(n, e, i, t, m, f) {
24
+ return a(), s("div", {
25
+ class: "link-table-piece",
26
+ onClick: e[0] || (e[0] = (...r) => t.handleClick && t.handleClick(...r))
27
+ }, [
28
+ l("span", null, p(i.text), 1)
29
+ ]);
30
+ }
31
+ const v = /* @__PURE__ */ c(d, [["render", _], ["__scopeId", "data-v-ade036b6"]]);
32
+ export {
33
+ v as default
34
+ };
@@ -0,0 +1,78 @@
1
+ import { defineComponent as i, resolveComponent as p, openBlock as a, createElementBlock as c, createVNode as l } from "vue";
2
+ import { BasicForm as d, useForm as u } from "/@/components/Form/index";
3
+ import { defHttp as f } from "/@/utils/http/axios";
4
+ import { pick as _ } from "lodash-es";
5
+ import { _ as g } from "./index-b70302f2.mjs";
6
+ import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
7
+ import "/@/hooks/web/useMessage";
8
+ import "vue-router";
9
+ const h = () => [
10
+ {
11
+ field: "name",
12
+ component: "Input",
13
+ label: "名称"
14
+ },
15
+ {
16
+ field: "age",
17
+ component: "InputNumber",
18
+ label: "年龄",
19
+ componentProps: {
20
+ style: {
21
+ width: "100%"
22
+ }
23
+ }
24
+ },
25
+ {
26
+ field: "sex",
27
+ label: "性别",
28
+ component: "JDictSelectTag",
29
+ componentProps: {
30
+ dictCode: "sex"
31
+ }
32
+ },
33
+ {
34
+ field: "birthday",
35
+ component: "DatePicker",
36
+ label: "生日",
37
+ componentProps: {
38
+ valueFormat: "YYYY-MM-DD",
39
+ style: {
40
+ width: "100%"
41
+ }
42
+ }
43
+ },
44
+ {
45
+ field: "email",
46
+ component: "Input",
47
+ label: "邮箱"
48
+ }
49
+ ], b = i({
50
+ components: { BasicForm: d },
51
+ props: ["id"],
52
+ setup(e) {
53
+ const [t, { setFieldsValue: r }] = u({
54
+ schemas: h(),
55
+ showActionButtonGroup: !1,
56
+ baseColProps: { span: 24 }
57
+ });
58
+ let n = { id: e.id };
59
+ return f.get({ url: "/test/jeecgDemo/queryById", params: n }, { isTransformResponse: !1 }).then((o) => {
60
+ if (o.success) {
61
+ let s = _(o.result, "name", "age", "birthday", "sex", "email");
62
+ r(s);
63
+ }
64
+ }), {
65
+ registerForm: t
66
+ };
67
+ }
68
+ }), F = { style: { margin: "50px auto", width: "800px" } };
69
+ function x(e, t, r, n, o, s) {
70
+ const m = p("BasicForm");
71
+ return a(), c("div", F, [
72
+ l(m, { onRegister: e.registerForm }, null, 8, ["onRegister"])
73
+ ]);
74
+ }
75
+ const I = /* @__PURE__ */ g(b, [["render", x]]);
76
+ export {
77
+ I as default
78
+ };
@@ -0,0 +1,449 @@
1
+ var T = (K, _, d) => new Promise((b, S) => {
2
+ var w = (l) => {
3
+ try {
4
+ u(d.next(l));
5
+ } catch (h) {
6
+ S(h);
7
+ }
8
+ }, L = (l) => {
9
+ try {
10
+ u(d.throw(l));
11
+ } catch (h) {
12
+ S(h);
13
+ }
14
+ }, u = (l) => l.done ? b(l.value) : Promise.resolve(l.value).then(w, L);
15
+ u((d = d.apply(K, _)).next());
16
+ });
17
+ import { ref as k, watch as $, resolveComponent as I, openBlock as i, createElementBlock as m, createElementVNode as E, createVNode as c, unref as e, createBlock as s, normalizeClass as Ne, withCtx as r, createTextVNode as g, createCommentVNode as p, Fragment as F, renderList as j, toDisplayString as M, withDirectives as $e, vShow as je, mergeProps as Ve, toHandlers as qe, resolveDynamicComponent as Ue, normalizeProps as Ge, guardReactiveProps as We } from "vue";
18
+ import { BasicTable as Xe, TableAction as Ye } from "/@/components/Table";
19
+ import { useMessage as Ze } from "/@/hooks/web/useMessage";
20
+ import eo from "./OnlineAutoModal-ffe19c3f.mjs";
21
+ import oo from "./OnlineCustomModal-3939ce78.mjs";
22
+ import V from "./OnlineDetailModal-bfb1375f.mjs";
23
+ import to from "/@/components/Form/src/jeecg/components/JImportModal.vue";
24
+ import { u as no, a as lo } from "./useListButton-0f18bf6a.mjs";
25
+ import { u as io, a as ro, O as ao, g as so } from "./useExtendComponent-aa1cdfc8.mjs";
26
+ import co from "./OnlineQueryForm-0771c80f.mjs";
27
+ import uo from "./SuperQuery-78db6998.mjs";
28
+ import { u as po } from "./useOnlinePopEvent-687070b7.mjs";
29
+ import mo from "./OnlCgformErpSubTable-6e7fb17b.mjs";
30
+ import { E as q } from "./constant-754f1a9d.mjs";
31
+ import { cloneDeep as go } from "lodash-es";
32
+ import "/@/components/Modal";
33
+ import "./OnlineForm-069f6092.mjs";
34
+ import "/@/components/Form/index";
35
+ import "/@/utils/http/axios";
36
+ import "/@/utils";
37
+ import "/@/components/Loading";
38
+ import "/@/components/jeecg/JVxeTable/types";
39
+ import "/@/utils/auth";
40
+ import "@ant-design/icons-vue";
41
+ import "/@/hooks/core/useContext";
42
+ import "/@/utils/mitt";
43
+ import "./useCustomHook-acb00837.mjs";
44
+ import "/@/utils/cache";
45
+ import "/@/utils/common/compUtils";
46
+ import "/@/store/modules/user";
47
+ import "./index-b70302f2.mjs";
48
+ import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
49
+ import "vue-router";
50
+ import "/@/components/jeecg/comment/CommentPanel.vue";
51
+ import "./OnlineFormDetail-ad5735fb.mjs";
52
+ import "./DetailForm-2901d215.mjs";
53
+ import "/@/utils/propTypes";
54
+ import "/@/utils/dict";
55
+ import "/@/utils/dict/JDictSelectUtil";
56
+ import "/@/utils/dict/index";
57
+ import "/@/api/common/api";
58
+ import "/@/components/Form/src/utils/Area";
59
+ import "/@/components/Preview/index";
60
+ import "/@/components/Markdown";
61
+ import "./OnlineSubFormDetail-583d01eb.mjs";
62
+ import "/@/router";
63
+ import "/@/hooks/core/onMountedOrActivated";
64
+ import "ant-design-vue";
65
+ import "/@/hooks/system/useMethods";
66
+ import "/@/components/Form/src/componentMap";
67
+ import "/@/components/Form/src/jeecg/components/JUpload";
68
+ import "/@/views/system/user/user.api";
69
+ import "/@/utils/desform/customExpression";
70
+ import "/@/store/modules/permission";
71
+ import "/@/hooks/system/useListPage";
72
+ import "./LinkTableListPiece-7f793b08.mjs";
73
+ import "./OnlineSelectCascade-a05c30f4.mjs";
74
+ import "./JModalTip-e1938b49.mjs";
75
+ import "@vueuse/core";
76
+ import "./SuperQueryValComponent.vue_vue_type_script_lang-e3ad7ee8.mjs";
77
+ import "/@/utils/is";
78
+ const fo = { class: "p-2 cgformErpList" }, yo = { class: "content" }, _o = {
79
+ key: 0,
80
+ style: { "font-size": "12px", "font-style": "italic" }
81
+ }, bo = {
82
+ key: 0,
83
+ style: { "font-size": "12px", "font-style": "italic" }
84
+ }, ho = ["src", "onClick"], Co = ["innerHTML"], vo = ["title"], Pt = {
85
+ __name: "OnlCgformErpList",
86
+ setup(K) {
87
+ const _ = k([]), d = k(0), b = k(null), { createMessage: S } = Ze(), w = k({}), L = (t, n) => {
88
+ w.value[t] = n;
89
+ }, {
90
+ ID: u,
91
+ onlineTableContext: l,
92
+ onlineQueryFormOuter: h,
93
+ loading: O,
94
+ reload: f,
95
+ dataSource: Q,
96
+ pagination: U,
97
+ handleSpecialConfig: G,
98
+ getColumnList: W,
99
+ handleChangeInTable: X,
100
+ loadData: Y,
101
+ superQueryButtonRef: x,
102
+ superQueryStatus: Z,
103
+ handleSuperQuery: ee,
104
+ onlineExtConfigJson: J,
105
+ handleFormConfig: oe,
106
+ registerCustomModal: te,
107
+ tableReloading: ne
108
+ } = no({ themeTemplate: q });
109
+ if (!u.value)
110
+ throw S.warning("地址错误, 配置ID不存在!"), new Error("地址错误, 配置ID不存在!");
111
+ let { initCgEnhanceJs: le } = io(l);
112
+ const {
113
+ buttonSwitch: C,
114
+ cgLinkButtonList: ko,
115
+ cgTopButtonList: B,
116
+ importUrl: ie,
117
+ registerModal: re,
118
+ handleAdd: ae,
119
+ handleEdit: So,
120
+ handleBatchDelete: se,
121
+ registerImportModal: ce,
122
+ onImportExcel: ue,
123
+ onExportExcel: pe,
124
+ cgButtonJsHandler: de,
125
+ cgButtonActionHandler: me,
126
+ cgButtonLinkHandler: wo,
127
+ handleSubmitFlow: Ro,
128
+ getDropDownActions: ge,
129
+ getActions: fe,
130
+ initButtonList: ye,
131
+ initButtonSwitch: _e,
132
+ registerDetailModal: be,
133
+ registerBpmModal: To
134
+ } = lo(l, J, {
135
+ singleDelCallback: (t) => {
136
+ Array.isArray(l.selectedRowKeys) && l.selectedRowKeys.includes(t) && l.clearSelectedRow();
137
+ },
138
+ editClickCallback: (t, n) => {
139
+ Array.isArray(l.selectedRowKeys) && l.selectedRowKeys.includes(t) && n.stopPropagation();
140
+ }
141
+ }), D = k(!1);
142
+ function he() {
143
+ return T(this, null, function* () {
144
+ try {
145
+ D.value = !0, yield pe();
146
+ } finally {
147
+ setTimeout(() => D.value = !1, 1500);
148
+ }
149
+ });
150
+ }
151
+ const {
152
+ columns: Ce,
153
+ actionColumn: ve,
154
+ selectedKeys: v,
155
+ rowSelection: ke,
156
+ enableScrollBar: Se,
157
+ tableScroll: we,
158
+ downloadRowFile: Re,
159
+ getImgView: Te,
160
+ getPcaText: H,
161
+ getFormatDate: Ie,
162
+ handleColumnResult: Ee,
163
+ hrefComponent: R,
164
+ viewOnlineCellImage: Me,
165
+ hrefMainTableId: Le,
166
+ registerOnlineHrefModal: Oe,
167
+ registerPopModal: xe,
168
+ openPopModal: Be,
169
+ onlinePopModalRef: De,
170
+ popTableId: z
171
+ } = ro(l, J);
172
+ $(
173
+ v,
174
+ (t) => {
175
+ var n;
176
+ (n = v.value) != null && n.length ? b.value = Q.value.find((a) => a.id === v.value[0]) : b.value = null;
177
+ },
178
+ {
179
+ immediate: !0
180
+ }
181
+ ), $(
182
+ u,
183
+ () => {
184
+ Pe();
185
+ },
186
+ { immediate: !0 }
187
+ );
188
+ function Pe() {
189
+ return T(this, null, function* () {
190
+ O.value = !0;
191
+ let t = yield W(q);
192
+ Ae(t.main), _.value = t.subList, yield Y(), O.value = !1, l.execButtonEnhance("setup");
193
+ });
194
+ }
195
+ function Ae(t) {
196
+ let n = le(t.enhanceJs);
197
+ l.EnhanceJS = n, ye(t.cgButtonList), _e(t.hideColumns), Ee(t, "radio"), G(t);
198
+ }
199
+ function Fe(t) {
200
+ l.queryParam = t, f();
201
+ }
202
+ function Ke() {
203
+ return T(this, arguments, function* (t = {}) {
204
+ yield so(x);
205
+ const n = go(t), { properties: a = {} } = n;
206
+ Object.entries(a).forEach(([P, A]) => {
207
+ A.view == "table" && delete a[P];
208
+ }), x.value.init(n);
209
+ });
210
+ }
211
+ function Qe(t) {
212
+ z.value = t.id;
213
+ let n = {
214
+ title: t.describe
215
+ };
216
+ t.record && t.record.id && (n.record = t.record, n.isUpdate = !0), Be(!0, n);
217
+ }
218
+ po(Qe);
219
+ const Je = (t, n) => {
220
+ ee(t, n), v.value = [];
221
+ };
222
+ return (t, n) => {
223
+ var N;
224
+ const a = I("a-button"), P = I("a-tab-pane"), A = I("a-tabs"), He = I("a-modal");
225
+ return i(), m("div", fo, [
226
+ E("div", yo, [
227
+ c(co, {
228
+ ref_key: "onlineQueryFormOuter",
229
+ ref: h,
230
+ id: e(u),
231
+ onSearch: Fe,
232
+ onLoaded: Ke
233
+ }, null, 8, ["id"]),
234
+ e(ne) ? p("", !0) : (i(), s(e(Xe), {
235
+ key: 0,
236
+ ref: "onlineTable",
237
+ rowKey: "jeecg_row_key",
238
+ canResize: !0,
239
+ bordered: !0,
240
+ showIndexColumn: !1,
241
+ loading: e(O),
242
+ columns: e(Ce),
243
+ dataSource: e(Q),
244
+ pagination: e(U),
245
+ rowSelection: e(ke),
246
+ actionColumn: e(ve),
247
+ showTableSetting: !0,
248
+ clickToRowSelect: !0,
249
+ scroll: e(we),
250
+ onTableRedo: e(f),
251
+ class: Ne({ "j-table-force-nowrap": e(Se) }),
252
+ onChange: e(X)
253
+ }, {
254
+ tableTitle: r(() => [
255
+ e(C).add ? (i(), s(a, {
256
+ key: 0,
257
+ preIcon: "ant-design:plus-outlined",
258
+ type: "primary",
259
+ onClick: e(ae)
260
+ }, {
261
+ default: r(() => [
262
+ g("新增")
263
+ ]),
264
+ _: 1
265
+ }, 8, ["onClick"])) : p("", !0),
266
+ e(C).import ? (i(), s(a, {
267
+ key: 1,
268
+ preIcon: "ant-design:import-outlined",
269
+ type: "primary",
270
+ onClick: e(ue)
271
+ }, {
272
+ default: r(() => [
273
+ g("导入")
274
+ ]),
275
+ _: 1
276
+ }, 8, ["onClick"])) : p("", !0),
277
+ e(C).export ? (i(), s(a, {
278
+ key: 2,
279
+ preIcon: "ant-design:export-outlined",
280
+ type: "primary",
281
+ loading: D.value,
282
+ onClick: he
283
+ }, {
284
+ default: r(() => [
285
+ g(" 导出")
286
+ ]),
287
+ _: 1
288
+ }, 8, ["loading"])) : p("", !0),
289
+ e(B) && e(B).length > 0 ? (i(!0), m(F, { key: 3 }, j(e(B), (o, y) => (i(), m(F, null, [
290
+ o.optType == "js" ? (i(), s(a, {
291
+ key: "cgbtn" + y,
292
+ onClick: (ze) => e(de)(o.buttonCode),
293
+ type: "primary",
294
+ preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
295
+ }, {
296
+ default: r(() => [
297
+ g(M(o.buttonName), 1)
298
+ ]),
299
+ _: 2
300
+ }, 1032, ["onClick", "preIcon"])) : o.optType == "action" ? (i(), s(a, {
301
+ key: "cgbtn" + y,
302
+ onClick: (ze) => e(me)(o.buttonCode),
303
+ type: "primary",
304
+ preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
305
+ }, {
306
+ default: r(() => [
307
+ g(M(o.buttonName), 1)
308
+ ]),
309
+ _: 2
310
+ }, 1032, ["onClick", "preIcon"])) : p("", !0)
311
+ ], 64))), 256)) : p("", !0),
312
+ e(C).batch_delete ? $e((i(), s(a, {
313
+ key: 4,
314
+ preIcon: "ant-design:delete-outlined",
315
+ onClick: e(se)
316
+ }, {
317
+ default: r(() => [
318
+ g(" 批量删除")
319
+ ]),
320
+ _: 1
321
+ }, 8, ["onClick"])), [
322
+ [je, e(v).length > 0]
323
+ ]) : p("", !0),
324
+ e(C).super_query ? (i(), s(uo, {
325
+ key: 5,
326
+ ref_key: "superQueryButtonRef",
327
+ ref: x,
328
+ online: "",
329
+ status: e(Z),
330
+ onSearch: Je
331
+ }, null, 8, ["status"])) : p("", !0)
332
+ ]),
333
+ fileSlot: r(({ text: o }) => [
334
+ o ? (i(), s(a, {
335
+ key: 1,
336
+ ghost: !0,
337
+ type: "primary",
338
+ preIcon: "ant-design:download",
339
+ size: "small",
340
+ onClick: (y) => e(Re)(o)
341
+ }, {
342
+ default: r(() => [
343
+ g(" 下载 ")
344
+ ]),
345
+ _: 2
346
+ }, 1032, ["onClick"])) : (i(), m("span", _o, "无文件"))
347
+ ]),
348
+ imgSlot: r(({ text: o }) => [
349
+ o ? (i(), m("img", {
350
+ key: 1,
351
+ src: e(Te)(o),
352
+ alt: "图片不存在",
353
+ class: "online-cell-image",
354
+ onClick: (y) => e(Me)(o)
355
+ }, null, 8, ho)) : (i(), m("span", bo, "无图片"))
356
+ ]),
357
+ htmlSlot: r(({ text: o }) => [
358
+ E("div", { innerHTML: o }, null, 8, Co)
359
+ ]),
360
+ pcaSlot: r(({ text: o }) => [
361
+ E("div", {
362
+ title: e(H)(o)
363
+ }, M(e(H)(o)), 9, vo)
364
+ ]),
365
+ dateSlot: r(({ text: o }) => [
366
+ E("span", null, M(e(Ie)(o)), 1)
367
+ ]),
368
+ action: r(({ record: o }) => [
369
+ c(e(Ye), {
370
+ actions: e(fe)(o),
371
+ dropDownActions: e(ge)(o)
372
+ }, null, 8, ["actions", "dropDownActions"])
373
+ ]),
374
+ _: 1
375
+ }, 8, ["loading", "columns", "dataSource", "pagination", "rowSelection", "actionColumn", "scroll", "onTableRedo", "class", "onChange"])),
376
+ (N = _.value) != null && N.length ? (i(), s(A, {
377
+ key: 1,
378
+ animated: "",
379
+ activeKey: d.value,
380
+ "onUpdate:activeKey": n[0] || (n[0] = (o) => d.value = o),
381
+ style: { margin: "10px" }
382
+ }, {
383
+ default: r(() => [
384
+ (i(!0), m(F, null, j(_.value, (o, y) => (i(), s(P, {
385
+ tab: o.description,
386
+ key: y,
387
+ forceRender: ""
388
+ }, {
389
+ default: r(() => [
390
+ c(mo, {
391
+ data: o,
392
+ mainTableSelectedRowRcord: b.value,
393
+ onGetSource: L
394
+ }, null, 8, ["data", "mainTableSelectedRowRcord"])
395
+ ]),
396
+ _: 2
397
+ }, 1032, ["tab"]))), 128))
398
+ ]),
399
+ _: 1
400
+ }, 8, ["activeKey"])) : p("", !0),
401
+ c(eo, {
402
+ id: e(u),
403
+ subTableSource: w.value,
404
+ onRegister: e(re),
405
+ onSuccess: e(f),
406
+ onFormConfig: e(oe)
407
+ }, null, 8, ["id", "subTableSource", "onRegister", "onSuccess", "onFormConfig"]),
408
+ c(V, {
409
+ id: e(u),
410
+ onRegister: e(be)
411
+ }, null, 8, ["id", "onRegister"]),
412
+ c(to, {
413
+ onRegister: e(ce),
414
+ url: e(ie)(),
415
+ onOk: e(f),
416
+ online: ""
417
+ }, null, 8, ["onRegister", "url", "onOk"]),
418
+ c(He, Ve(e(R).model, qe(e(R).on)), {
419
+ default: r(() => [
420
+ (i(), s(Ue(e(R).is), Ge(We(e(R).params)), null, 16))
421
+ ]),
422
+ _: 1
423
+ }, 16),
424
+ c(oo, {
425
+ onRegister: e(te),
426
+ onSuccess: e(f)
427
+ }, null, 8, ["onRegister", "onSuccess"]),
428
+ c(V, {
429
+ id: e(Le),
430
+ onRegister: e(Oe),
431
+ defaultFullscreen: !1
432
+ }, null, 8, ["id", "onRegister"]),
433
+ c(ao, {
434
+ ref_key: "onlinePopModalRef",
435
+ ref: De,
436
+ id: e(z),
437
+ onRegister: e(xe),
438
+ onSuccess: e(f),
439
+ request: "",
440
+ topTip: ""
441
+ }, null, 8, ["id", "onRegister", "onSuccess"])
442
+ ])
443
+ ]);
444
+ };
445
+ }
446
+ };
447
+ export {
448
+ Pt as default
449
+ };