@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
@@ -1,427 +0,0 @@
1
- var L = (_, I, r) => new Promise((m, v) => {
2
- var B = (c) => {
3
- try {
4
- i(r.next(c));
5
- } catch (g) {
6
- v(g);
7
- }
8
- }, C = (c) => {
9
- try {
10
- i(r.throw(c));
11
- } catch (g) {
12
- v(g);
13
- }
14
- }, i = (c) => c.done ? m(c.value) : Promise.resolve(c.value).then(B, C);
15
- i((r = r.apply(_, I)).next());
16
- });
17
- import { ref as F, provide as Ne, watch as z, resolveComponent as P, openBlock as n, createElementBlock as f, Fragment as x, createBlock as d, unref as e, createCommentVNode as y, normalizeClass as $e, withCtx as l, createTextVNode as h, renderList as Je, toDisplayString as M, withDirectives as ze, vShow as Ve, createElementVNode as V, createVNode as p, mergeProps as je, toHandlers as qe, resolveDynamicComponent as Qe, normalizeProps as Ue, guardReactiveProps as Ge } from "vue";
18
- import { BasicTable as We, TableAction as Xe } from "/@/components/Table";
19
- import { useMessage as Ye } from "/@/hooks/web/useMessage";
20
- import Ze from "./OnlineAutoModal-971bef13.mjs";
21
- import eo from "./OnlineCustomModal-594244f3.mjs";
22
- import j from "./OnlineDetailModal-2a271e0b.mjs";
23
- import oo from "/@/components/Form/src/jeecg/components/JImportModal.vue";
24
- import { u as to, a as no } from "./useListButton-7ddb9a46.mjs";
25
- import { u as io, a as lo, O as ro } from "./useExtendComponent-bb7cca20.mjs";
26
- import ao from "./OnlineQueryForm-998c12a4.mjs";
27
- import { u as co } from "./useOnlinePopEvent-687070b7.mjs";
28
- import { E as so, a as q } from "./constant-fa63bd66.mjs";
29
- import { cloneDeep as uo } from "lodash-es";
30
- import "/@/components/Modal";
31
- import "./OnlineForm-018981b2.mjs";
32
- import "/@/components/Form/index";
33
- import "/@/utils/http/axios";
34
- import "/@/utils";
35
- import "/@/components/Loading";
36
- import "/@/components/jeecg/JVxeTable/types";
37
- import "/@/utils/auth";
38
- import "@ant-design/icons-vue";
39
- import "/@/hooks/core/useContext";
40
- import "/@/utils/mitt";
41
- import "./useCustomHook-acb00837.mjs";
42
- import "/@/utils/cache";
43
- import "/@/utils/common/compUtils";
44
- import "/@/store/modules/user";
45
- import "/@/hooks/web/useAppInject";
46
- import "/@/utils/is";
47
- import "./OnlineForm.vue_vue_type_style_index_0_scoped_0f9f2964_lang-4ed993c7.mjs";
48
- import "./index-173949bb.mjs";
49
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
50
- import "vue-router";
51
- import "/@/components/jeecg/comment/CommentPanel.vue";
52
- import "./OnlineFormDetail-e036cd11.mjs";
53
- import "./DetailForm-4aa2570b.mjs";
54
- import "/@/utils/propTypes";
55
- import "/@/utils/dict";
56
- import "/@/utils/dict/JDictSelectUtil";
57
- import "/@/utils/dict/index";
58
- import "/@/api/common/api";
59
- import "/@/components/Form/src/utils/Area";
60
- import "/@/components/Preview/index";
61
- import "/@/components/Markdown";
62
- import "./OnlineSubFormDetail-03f8ee5c.mjs";
63
- import "/@/router";
64
- import "/@/hooks/core/onMountedOrActivated";
65
- import "/@/store/modules/multipleTab";
66
- import "./cgformState-d9f8ec42.mjs";
67
- import "pinia";
68
- import "/@/store";
69
- import "ant-design-vue";
70
- import "/@/hooks/system/useMethods";
71
- import "/@/components/Form/src/componentMap";
72
- import "/@/components/Form/src/jeecg/components/JUpload";
73
- import "/@/views/system/user/user.api";
74
- import "/@/utils/desform/customExpression";
75
- import "/@/store/modules/permission";
76
- import "/@/hooks/system/useListPage";
77
- import "./LinkTableListPiece-2660d709.mjs";
78
- import "/@/assets/images/placeholderImage.png";
79
- import "./OnlineSelectCascade-471fcc76.mjs";
80
- import "./JModalTip-4a83aaed.mjs";
81
- import "@vueuse/core";
82
- import "/@/components/Form/src/jeecg/components/JRangeNumber.vue";
83
- const po = {
84
- key: 0,
85
- style: { "font-size": "12px", "font-style": "italic" }
86
- }, mo = {
87
- key: 0,
88
- style: { "font-size": "12px", "font-style": "italic" }
89
- }, go = ["src", "onClick"], fo = ["innerHTML", "onClick"], yo = ["innerHTML"], ho = ["title"], Dt = {
90
- __name: "OnlCgformErpSubTable",
91
- props: ["data", "mainTableSelectedRowRcord"],
92
- emits: ["getSource"],
93
- setup(_, { emit: I }) {
94
- const r = _, m = F(!1), v = {
95
- cacheKey: `online_erp_subTable_${r.data.currentTableName}`
96
- }, { createMessage: B } = Ye(), {
97
- ID: C,
98
- onlineTableContext: i,
99
- onlineQueryFormOuter: c,
100
- loading: g,
101
- reload: b,
102
- dataSource: k,
103
- pagination: D,
104
- handleSpecialConfig: Q,
105
- getColumnList: Co,
106
- handleChangeInTable: U,
107
- loadData: G,
108
- onlineExtConfigJson: H,
109
- handleFormConfig: W,
110
- registerCustomModal: X,
111
- tableReloading: Y
112
- } = to({ code: r.data.code, themeTemplate: so });
113
- i.isErpSubTable = !0;
114
- let { initCgEnhanceJs: Z } = io(i);
115
- const {
116
- buttonSwitch: T,
117
- cgLinkButtonList: bo,
118
- cgTopButtonList: E,
119
- importUrl: ee,
120
- registerModal: oe,
121
- handleAdd: te,
122
- handleEdit: ko,
123
- handleBatchDelete: ne,
124
- registerImportModal: ie,
125
- onImportExcel: le,
126
- onExportExcel: re,
127
- cgButtonJsHandler: ae,
128
- cgButtonActionHandler: ce,
129
- cgButtonLinkHandler: So,
130
- handleSubmitFlow: _o,
131
- getDropDownActions: se,
132
- getActions: ue,
133
- initButtonList: de,
134
- initButtonSwitch: pe,
135
- registerDetailModal: me,
136
- registerBpmModal: ge
137
- } = no(i, H), O = F(!1);
138
- function fe() {
139
- return L(this, null, function* () {
140
- try {
141
- O.value = !0, yield re();
142
- } finally {
143
- setTimeout(() => O.value = !1, 1500);
144
- }
145
- });
146
- }
147
- const {
148
- columns: ye,
149
- actionColumn: he,
150
- selectedKeys: A,
151
- rowSelection: Ce,
152
- enableScrollBar: be,
153
- tableScroll: ke,
154
- downloadRowFile: Se,
155
- getImgView: _e,
156
- getPcaText: K,
157
- getFormatDate: ve,
158
- handleColumnResult: Te,
159
- hrefComponent: R,
160
- viewOnlineCellImage: Re,
161
- hrefMainTableId: we,
162
- registerOnlineHrefModal: Me,
163
- registerPopModal: Ie,
164
- openPopModal: Be,
165
- onlinePopModalRef: Ee,
166
- popTableId: N,
167
- handleClickFieldHref: Oe
168
- } = lo(i, H);
169
- Le(uo(r.data));
170
- const $ = F(null), w = r.data.foreignKeys;
171
- let J;
172
- if (w != null && w.length) {
173
- const t = w[0], a = t.field;
174
- J = t.key, i.foreignKeyField = a;
175
- } else
176
- i.foreignKeyField = null, i.foreignKeyValue = null;
177
- Ne("foreignkey", $), z(
178
- () => r.mainTableSelectedRowRcord,
179
- (t) => {
180
- var a;
181
- if (D.value.current = 1, A.value = [], (a = c.value) == null || a.clearSearch(), t) {
182
- if (i.foreignKeyField) {
183
- const s = t[J];
184
- i.foreignKeyValue = s, $.value = { field: i.foreignKeyField, value: s };
185
- }
186
- m.value = !0, g.value = !0, G().finally(() => {
187
- g.value = !1;
188
- });
189
- } else
190
- m.value = !1, k.value = [];
191
- },
192
- {
193
- immediate: !0
194
- }
195
- ), z(
196
- () => k.value,
197
- () => {
198
- I("getSource", r.data.currentTableName, k.value);
199
- },
200
- { immediate: !0 }
201
- );
202
- function Le(t) {
203
- return L(this, null, function* () {
204
- Fe(t), g.value = !1, i.execButtonEnhance("setup");
205
- });
206
- }
207
- function Fe(t) {
208
- let a = Z(t.enhanceJs);
209
- i.EnhanceJS = a, de(t.cgButtonList), pe(t.hideColumns), Te(t), Q(t);
210
- }
211
- function Pe(t) {
212
- i.queryParam = t, b({ mode: "search" });
213
- }
214
- function xe(t) {
215
- N.value = t.id;
216
- let a = {
217
- title: t.describe
218
- };
219
- t.record && t.record.id && (a.record = t.record, a.isUpdate = !0), Be(!0, a);
220
- }
221
- co(xe);
222
- const De = () => {
223
- r.data.relationType == 1 && k.value.length ? B.warning("一对一的表只能新增一条数据") : te();
224
- };
225
- return (t, a) => {
226
- const s = P("a-button"), He = P("a-modal"), Ae = P("BpmGraphicModal");
227
- return n(), f(x, null, [
228
- _.mainTableSelectedRowRcord ? (n(), d(ao, {
229
- key: 0,
230
- ref_key: "onlineQueryFormOuter",
231
- ref: c,
232
- id: e(C),
233
- onSearch: Pe
234
- }, null, 8, ["id"])) : y("", !0),
235
- e(Y) ? y("", !0) : (n(), d(e(We), {
236
- key: 1,
237
- ref: "onlineTable",
238
- rowKey: "jeecg_row_key",
239
- canResize: !0,
240
- bordered: !0,
241
- showIndexColumn: !1,
242
- loading: e(g),
243
- columns: e(ye),
244
- dataSource: e(k),
245
- pagination: e(D),
246
- rowSelection: e(Ce),
247
- actionColumn: e(he),
248
- showTableSetting: !0,
249
- clickToRowSelect: !1,
250
- scroll: e(ke),
251
- onTableRedo: e(b),
252
- class: $e({ "j-table-force-nowrap": e(be) }),
253
- tableSetting: v,
254
- onChange: e(U),
255
- minHeight: 300
256
- }, {
257
- tableTitle: l(() => [
258
- m.value && e(T).add ? (n(), d(s, {
259
- key: 0,
260
- preIcon: "ant-design:plus-outlined",
261
- type: "primary",
262
- onClick: De
263
- }, {
264
- default: l(() => [
265
- h("新增")
266
- ]),
267
- _: 1
268
- })) : y("", !0),
269
- m.value && e(T).import ? (n(), d(s, {
270
- key: 1,
271
- preIcon: "ant-design:import-outlined",
272
- type: "primary",
273
- onClick: e(le)
274
- }, {
275
- default: l(() => [
276
- h("导入")
277
- ]),
278
- _: 1
279
- }, 8, ["onClick"])) : y("", !0),
280
- m.value && e(T).export ? (n(), d(s, {
281
- key: 2,
282
- preIcon: "ant-design:export-outlined",
283
- type: "primary",
284
- loading: O.value,
285
- onClick: fe
286
- }, {
287
- default: l(() => [
288
- h(" 导出")
289
- ]),
290
- _: 1
291
- }, 8, ["loading"])) : y("", !0),
292
- m.value && e(E) && e(E).length > 0 ? (n(!0), f(x, { key: 3 }, Je(e(E), (o, u) => (n(), f(x, null, [
293
- o.optType == "js" ? (n(), d(s, {
294
- key: "cgbtn" + u,
295
- onClick: (S) => e(ae)(o.buttonCode),
296
- type: "primary",
297
- preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
298
- }, {
299
- default: l(() => [
300
- h(M(o.buttonName), 1)
301
- ]),
302
- _: 2
303
- }, 1032, ["onClick", "preIcon"])) : o.optType == "action" ? (n(), d(s, {
304
- key: "cgbtn" + u,
305
- onClick: (S) => e(ce)(o.buttonCode),
306
- type: "primary",
307
- preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
308
- }, {
309
- default: l(() => [
310
- h(M(o.buttonName), 1)
311
- ]),
312
- _: 2
313
- }, 1032, ["onClick", "preIcon"])) : y("", !0)
314
- ], 64))), 256)) : y("", !0),
315
- e(T).batch_delete ? ze((n(), d(s, {
316
- key: 4,
317
- preIcon: "ant-design:delete-outlined",
318
- onClick: e(ne)
319
- }, {
320
- default: l(() => [
321
- h(" 批量删除")
322
- ]),
323
- _: 1
324
- }, 8, ["onClick"])), [
325
- [Ve, e(A).length > 0]
326
- ]) : y("", !0)
327
- ]),
328
- fileSlot: l(({ text: o, record: u, column: S }) => [
329
- o ? (n(), d(s, {
330
- key: 1,
331
- ghost: !0,
332
- type: "primary",
333
- preIcon: "ant-design:download",
334
- size: "small",
335
- onClick: (Ke) => e(Se)(o, u, S, e(C))
336
- }, {
337
- default: l(() => [
338
- h(" 下载 ")
339
- ]),
340
- _: 2
341
- }, 1032, ["onClick"])) : (n(), f("span", po, "无文件"))
342
- ]),
343
- imgSlot: l(({ text: o }) => [
344
- o ? (n(), f("img", {
345
- key: 1,
346
- src: e(_e)(o),
347
- alt: "图片不存在",
348
- class: "online-cell-image",
349
- onClick: (u) => e(Re)(o)
350
- }, null, 8, go)) : (n(), f("span", mo, "无图片"))
351
- ]),
352
- htmlSlot: l(({ text: o, column: u, record: S }) => [
353
- u.fieldHref ? (n(), f("a", {
354
- key: 0,
355
- innerHTML: o,
356
- onClick: (Ke) => e(Oe)(u.fieldHref, S)
357
- }, null, 8, fo)) : (n(), f("div", {
358
- key: 1,
359
- innerHTML: o
360
- }, null, 8, yo))
361
- ]),
362
- pcaSlot: l(({ text: o }) => [
363
- V("div", {
364
- title: e(K)(o)
365
- }, M(e(K)(o)), 9, ho)
366
- ]),
367
- dateSlot: l(({ text: o, column: u }) => [
368
- V("span", null, M(e(ve)(o, u)), 1)
369
- ]),
370
- action: l(({ record: o }) => [
371
- p(e(Xe), {
372
- actions: e(ue)(o),
373
- dropDownActions: e(se)(o)
374
- }, null, 8, ["actions", "dropDownActions"])
375
- ]),
376
- _: 1
377
- }, 8, ["loading", "columns", "dataSource", "pagination", "rowSelection", "actionColumn", "scroll", "onTableRedo", "class", "onChange"])),
378
- p(Ze, {
379
- source: e(q),
380
- id: e(C),
381
- onRegister: e(oe),
382
- onSuccess: e(b),
383
- onFormConfig: e(W)
384
- }, null, 8, ["source", "id", "onRegister", "onSuccess", "onFormConfig"]),
385
- p(j, {
386
- source: e(q),
387
- id: e(C),
388
- onRegister: e(me)
389
- }, null, 8, ["source", "id", "onRegister"]),
390
- p(oo, {
391
- onRegister: e(ie),
392
- url: e(ee)(),
393
- onOk: e(b),
394
- online: ""
395
- }, null, 8, ["onRegister", "url", "onOk"]),
396
- p(He, je(e(R).model, qe(e(R).on)), {
397
- default: l(() => [
398
- (n(), d(Qe(e(R).is), Ue(Ge(e(R).params)), null, 16))
399
- ]),
400
- _: 1
401
- }, 16),
402
- p(eo, {
403
- onRegister: e(X),
404
- onSuccess: e(b)
405
- }, null, 8, ["onRegister", "onSuccess"]),
406
- p(j, {
407
- id: e(we),
408
- onRegister: e(Me),
409
- defaultFullscreen: !1
410
- }, null, 8, ["id", "onRegister"]),
411
- p(ro, {
412
- ref_key: "onlinePopModalRef",
413
- ref: Ee,
414
- id: e(N),
415
- onRegister: e(Ie),
416
- onSuccess: e(b),
417
- request: "",
418
- topTip: ""
419
- }, null, 8, ["id", "onRegister", "onSuccess"]),
420
- p(Ae, { onRegister: e(ge) }, null, 8, ["onRegister"])
421
- ], 64);
422
- };
423
- }
424
- };
425
- export {
426
- Dt as default
427
- };