@jeecg/online 3.7.1-RC → 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 (143) 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-5c3a8e6b.mjs → AuthDataConfig-d3b7afa4.mjs} +23 -23
  13. package/{AuthDataTree-dd7a1240.mjs → AuthDataTree-f14a98d9.mjs} +43 -43
  14. package/{AuthFieldConfig-9f6fa06c.mjs → AuthFieldConfig-f1e224cc.mjs} +71 -71
  15. package/AuthFieldTree-5cc0da05.mjs +232 -0
  16. package/{AuthManagerDrawer-76f15e8d.mjs → AuthManagerDrawer-32556109.mjs} +6 -6
  17. package/{AuthSetterModal-f5d2e87f.mjs → AuthSetterModal-364f1f67.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-1131274c.mjs +260 -0
  21. package/CgformCopyList-5fba0810.mjs +252 -0
  22. package/{CgformModal-21c5c387.mjs → CgformModal-c4a4e0c2.mjs} +190 -194
  23. package/{CgreportModal-edefa8e3.mjs → CgreportModal-8a84aae5.mjs} +181 -168
  24. package/{CheckDictTable-1bc8322d.mjs → CheckDictTable-8a938e3a.mjs} +3 -3
  25. package/CodeFileListModal-a924902a.mjs +159 -0
  26. package/{CodeFileViewModal-2fe911f4.mjs → CodeFileViewModal-405e2b58.mjs} +66 -66
  27. package/CodeGeneratorModal-2e1dc13d.mjs +281 -0
  28. package/CustomButtonList-c453b654.mjs +274 -0
  29. package/{DBAttributeTable-285d40db.mjs → DBAttributeTable-1a45c7b7.mjs} +3 -3
  30. package/{DbToOnlineModal-5dcb67c3.mjs → DbToOnlineModal-f28ff0a3.mjs} +53 -54
  31. package/{DetailForm-deecbf3d.mjs → DetailForm-c592b8d8.mjs} +5 -5
  32. package/DropMenuItem-1e49abea.mjs +44 -0
  33. package/{EnhanceJavaModal-45c66cd5.mjs → EnhanceJavaModal-d5a93f2a.mjs} +62 -62
  34. package/{EnhanceJsHistory-fab3102e.mjs → EnhanceJsHistory-8ddb0657.mjs} +35 -35
  35. package/{EnhanceJsModal-175357a1.mjs → EnhanceJsModal-dc4f9ade.mjs} +104 -104
  36. package/{EnhanceSqlModal-7ea1b300.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-a89ae052.mjs → ExtendConfigModal-7d70f362.mjs} +2 -2
  40. package/{FieldExtendJsonModal-32135634.mjs → FieldExtendJsonModal-bf04d70e.mjs} +2 -2
  41. package/{FileSelectModal-1643c8b9.mjs → FileSelectModal-ffc69d4a.mjs} +23 -23
  42. package/{ForeignKeyTable-7f7e28a7.mjs → ForeignKeyTable-92decaea.mjs} +3 -3
  43. package/{IndexTable-cdcc2b48.mjs → IndexTable-2ded2014.mjs} +3 -3
  44. package/JModalTip-a927f85d.mjs +49 -0
  45. package/{JOnlineSearchSelect-22aae934.mjs → JOnlineSearchSelect-04ec87d0.mjs} +1 -1
  46. package/{LeftDepart-d5615ed9.mjs → LeftDepart-52cb6743.mjs} +1 -1
  47. package/LeftRole-b0e0b496.mjs +86 -0
  48. package/{LeftUser-22baa378.mjs → LeftUser-dd4b10e2.mjs} +30 -30
  49. package/{LinkTableConfigModal-9242d750.mjs → LinkTableConfigModal-7eeb3e58.mjs} +43 -31
  50. package/{LinkTableFieldConfigModal-24adc50c.mjs → LinkTableFieldConfigModal-b078fcef.mjs} +1 -1
  51. package/{LinkTableListPiece-f3a8e0d7.mjs → LinkTableListPiece-e016b8e6.mjs} +1 -1
  52. package/{ModalFormDemo-711418db.mjs → ModalFormDemo-aaa719a7.mjs} +1 -1
  53. package/OnlCgformErpList-5c5acdaa.mjs +488 -0
  54. package/OnlCgformErpSubTable-e1b88312.mjs +441 -0
  55. package/{OnlCgformInnerSubTable-6c23781f.mjs → OnlCgformInnerSubTable-6b6fa15a.mjs} +38 -38
  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-d5895734.mjs → OnlineDetailModal-5b412bb9.mjs} +74 -65
  63. package/OnlineForm-58282699.mjs +1012 -0
  64. package/{OnlineFormDetail-022ca117.mjs → OnlineFormDetail-fc087725.mjs} +7 -7
  65. package/{OnlineFormUrlAdd-9715d70a.mjs → OnlineFormUrlAdd-bc9105bb.mjs} +9 -9
  66. package/{OnlineFormUrlDetail-8f864b1a.mjs → OnlineFormUrlDetail-ad912560.mjs} +11 -11
  67. package/{OnlineFormUrlEdit-ac985b36.mjs → OnlineFormUrlEdit-f2fa79ff.mjs} +9 -9
  68. package/OnlineFormUrlSuccess-76813d45.mjs +59 -0
  69. package/OnlineQueryForm-9248341f.mjs +484 -0
  70. package/{OnlineSearchFormItem-6c557343.mjs → OnlineSearchFormItem-1e437bd3.mjs} +82 -82
  71. package/{OnlineSelectCascade-05c40fef.mjs → OnlineSelectCascade-d631ed72.mjs} +1 -1
  72. package/{OnlineSubFormDetail-58e896ce.mjs → OnlineSubFormDetail-8be879b9.mjs} +52 -53
  73. package/{OnlineTabAutoModal-47b18ad6.mjs → OnlineTabAutoModal-c9ca3c24.mjs} +108 -95
  74. package/{OnlineTabDetailModal-82de1465.mjs → OnlineTabDetailModal-fd4c9a72.mjs} +36 -36
  75. package/OnlineTabForm-1940e88b.mjs +814 -0
  76. package/{OnlineTabFormDetail-8d0c40c0.mjs → OnlineTabFormDetail-2aa67564.mjs} +17 -17
  77. package/{PageAttributeTable-25e3b7da.mjs → PageAttributeTable-66e7b485.mjs} +108 -108
  78. package/PhoneLoginForm-86437a9d.mjs +214 -0
  79. package/{ProcessOnlineForm-148632fe.mjs → ProcessOnlineForm-98ede18d.mjs} +32 -32
  80. package/{QueryTable-f7bfca7f.mjs → QueryTable-65d3f54f.mjs} +3 -3
  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-ea1d33d4.mjs → auth.api-53df4c33.mjs} +17 -17
  92. package/{auth.data-511e5197.mjs → auth.data-626c5083.mjs} +16 -12
  93. package/button.data-fe45d43b.mjs +12 -0
  94. package/{cgform.data-475d4984.mjs → cgform.data-0ca62d09.mjs} +4 -1
  95. package/{enhance.data-a67572e1.mjs → enhance.data-6601ff44.mjs} +1 -1
  96. package/index-19eaef11.mjs +11 -0
  97. package/index-1a2e8832.mjs +135 -0
  98. package/{index-f30613d1.mjs → index-2fb8e07f.mjs} +59 -59
  99. package/index-5e89258d.mjs +8 -0
  100. package/index-9e1e1e53.mjs +57 -0
  101. package/{index-30e0e923.mjs → index-a039036e.mjs} +272 -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-a9c75b0f.mjs → useSchemas-b074f3a1.mjs} +33 -0
  113. package/{useTableSync-d7e9f18d.mjs → useTableSync-075826a1.mjs} +1 -1
  114. package/utils-9fce7606.mjs +16 -0
  115. package/AiModal-6de335e3.mjs +0 -84
  116. package/AuthButtonConfig-89763932.mjs +0 -154
  117. package/AuthButtonTree-2d87d0b3.mjs +0 -157
  118. package/AuthFieldTree-e326fc38.mjs +0 -232
  119. package/CgformCopyList-365b3e8f.mjs +0 -251
  120. package/CodeFileListModal-24601898.mjs +0 -159
  121. package/CodeGeneratorModal-f09fe903.mjs +0 -282
  122. package/CustomButtonList-f07bc695.mjs +0 -397
  123. package/JModalTip-b055ab60.mjs +0 -49
  124. package/LeftRole-2ed8a2bf.mjs +0 -86
  125. package/OnlCgformErpList-58acdfa0.mjs +0 -470
  126. package/OnlCgformErpSubTable-9b1e1938.mjs +0 -426
  127. package/OnlCgformInnerTableList-4b5e14ed.mjs +0 -458
  128. package/OnlCgformTabList-019ad753.mjs +0 -408
  129. package/OnlineAutoList-48589d09.mjs +0 -493
  130. package/OnlineAutoModal-c2928847.mjs +0 -239
  131. package/OnlineAutoTreeList-3baa1d00.mjs +0 -503
  132. package/OnlineCustomModal-9e17b6ce.mjs +0 -232
  133. package/OnlineForm-9f1153ba.mjs +0 -985
  134. package/OnlineFormUrlSuccess-3dfc54ab.mjs +0 -59
  135. package/OnlineQueryForm-eedb9a60.mjs +0 -466
  136. package/OnlineTabForm-27655c83.mjs +0 -817
  137. package/SetSwitchOptions-b2af757f.mjs +0 -62
  138. package/SuperQuery-a8592995.mjs +0 -967
  139. package/index-1d1a6e56.mjs +0 -57
  140. package/useCgformList-f41d4dc1.mjs +0 -426
  141. package/useExtendComponent-dcae5c78.mjs +0 -4399
  142. package/useListButton-bfac4ecf.mjs +0 -697
  143. /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,426 +0,0 @@
1
- var L = (_, I, r) => new Promise((p, v) => {
2
- var E = (c) => {
3
- try {
4
- i(r.next(c));
5
- } catch (m) {
6
- v(m);
7
- }
8
- }, C = (c) => {
9
- try {
10
- i(r.throw(c));
11
- } catch (m) {
12
- v(m);
13
- }
14
- }, i = (c) => c.done ? p(c.value) : Promise.resolve(c.value).then(E, C);
15
- i((r = r.apply(_, I)).next());
16
- });
17
- import { ref as F, provide as Ae, watch as J, resolveComponent as z, openBlock as n, createElementBlock as g, Fragment as P, createBlock as d, unref as e, createCommentVNode as f, normalizeClass as Ke, withCtx as l, createTextVNode as h, renderList as Ne, toDisplayString as M, withDirectives as $e, vShow as Je, createElementVNode as V, createVNode as y, mergeProps as ze, toHandlers as Ve, resolveDynamicComponent as je, normalizeProps as qe, guardReactiveProps as Qe } from "vue";
18
- import { BasicTable as Ue, TableAction as We } from "/@/components/Table";
19
- import { useMessage as Ge } from "/@/hooks/web/useMessage";
20
- import Xe from "./OnlineAutoModal-c2928847.mjs";
21
- import Ye from "./OnlineCustomModal-9e17b6ce.mjs";
22
- import j from "./OnlineDetailModal-d5895734.mjs";
23
- import Ze from "/@/components/Form/src/jeecg/components/JImportModal.vue";
24
- import { u as eo, a as oo } from "./useListButton-bfac4ecf.mjs";
25
- import { u as to, a as no, O as io } from "./useExtendComponent-dcae5c78.mjs";
26
- import lo from "./OnlineQueryForm-eedb9a60.mjs";
27
- import { u as ro } from "./useOnlinePopEvent-687070b7.mjs";
28
- import { E as ao, a as q } from "./constant-fa63bd66.mjs";
29
- import { cloneDeep as co } from "lodash-es";
30
- import "/@/components/Modal";
31
- import "./OnlineForm-9f1153ba.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 "/@/store/modules/permission";
48
- import "./OnlineForm.vue_vue_type_style_index_0_scoped_4657b304_lang-4ed993c7.mjs";
49
- import "./index-1d1a6e56.mjs";
50
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
51
- import "vue-router";
52
- import "/@/components/jeecg/comment/CommentPanel.vue";
53
- import "./OnlineFormDetail-022ca117.mjs";
54
- import "./DetailForm-deecbf3d.mjs";
55
- import "/@/utils/propTypes";
56
- import "/@/utils/dict";
57
- import "/@/utils/dict/JDictSelectUtil";
58
- import "/@/utils/dict/index";
59
- import "/@/api/common/api";
60
- import "/@/components/Form/src/utils/Area";
61
- import "/@/components/Preview/index";
62
- import "/@/components/Markdown";
63
- import "./OnlineSubFormDetail-58e896ce.mjs";
64
- import "/@/router";
65
- import "/@/hooks/core/onMountedOrActivated";
66
- import "/@/store/modules/multipleTab";
67
- import "./cgformState-d9f8ec42.mjs";
68
- import "pinia";
69
- import "/@/store";
70
- import "ant-design-vue";
71
- import "/@/hooks/system/useMethods";
72
- import "/@/components/Form/src/componentMap";
73
- import "/@/components/Form/src/jeecg/components/JUpload";
74
- import "/@/views/system/user/user.api";
75
- import "/@/utils/desform/customExpression";
76
- import "/@/hooks/system/useListPage";
77
- import "./LinkTableListPiece-f3a8e0d7.mjs";
78
- import "/@/assets/images/placeholderImage.png";
79
- import "./OnlineSelectCascade-05c40fef.mjs";
80
- import "./JModalTip-b055ab60.mjs";
81
- import "@vueuse/core";
82
- import "/@/components/Form/src/jeecg/components/JRangeNumber.vue";
83
- const so = {
84
- key: 0,
85
- style: { "font-size": "12px", "font-style": "italic" }
86
- }, uo = {
87
- key: 0,
88
- style: { "font-size": "12px", "font-style": "italic" }
89
- }, po = ["src", "onClick"], mo = ["innerHTML", "onClick"], go = ["innerHTML"], fo = ["title"], xt = {
90
- __name: "OnlCgformErpSubTable",
91
- props: ["data", "mainTableSelectedRowRcord"],
92
- emits: ["getSource"],
93
- setup(_, { emit: I }) {
94
- const r = _, p = F(!1), v = {
95
- cacheKey: `online_erp_subTable_${r.data.currentTableName}`
96
- }, { createMessage: E } = Ge(), {
97
- ID: C,
98
- onlineTableContext: i,
99
- onlineQueryFormOuter: c,
100
- loading: m,
101
- reload: b,
102
- dataSource: k,
103
- pagination: x,
104
- handleSpecialConfig: Q,
105
- getColumnList: yo,
106
- handleChangeInTable: U,
107
- loadData: W,
108
- onlineExtConfigJson: D,
109
- handleFormConfig: G,
110
- registerCustomModal: X,
111
- tableReloading: Y
112
- } = eo({ code: r.data.code, themeTemplate: ao });
113
- i.isErpSubTable = !0;
114
- let { initCgEnhanceJs: Z } = to(i);
115
- const {
116
- buttonSwitch: T,
117
- cgLinkButtonList: ho,
118
- cgTopButtonList: B,
119
- importUrl: ee,
120
- registerModal: oe,
121
- handleAdd: te,
122
- handleEdit: Co,
123
- handleBatchDelete: ne,
124
- registerImportModal: ie,
125
- onImportExcel: le,
126
- onExportExcel: re,
127
- cgButtonJsHandler: ae,
128
- cgButtonActionHandler: ce,
129
- cgButtonLinkHandler: bo,
130
- handleSubmitFlow: ko,
131
- getDropDownActions: se,
132
- getActions: ue,
133
- initButtonList: de,
134
- initButtonSwitch: pe,
135
- registerDetailModal: me,
136
- registerBpmModal: So
137
- } = oo(i, D), O = F(!1);
138
- function ge() {
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: fe,
149
- actionColumn: ye,
150
- selectedKeys: H,
151
- rowSelection: he,
152
- enableScrollBar: Ce,
153
- tableScroll: be,
154
- downloadRowFile: ke,
155
- getImgView: Se,
156
- getPcaText: A,
157
- getFormatDate: _e,
158
- handleColumnResult: ve,
159
- hrefComponent: R,
160
- viewOnlineCellImage: Te,
161
- hrefMainTableId: Re,
162
- registerOnlineHrefModal: we,
163
- registerPopModal: Me,
164
- openPopModal: Ie,
165
- onlinePopModalRef: Ee,
166
- popTableId: K,
167
- handleClickFieldHref: Be
168
- } = no(i, D);
169
- Oe(co(r.data));
170
- const N = F(null), w = r.data.foreignKeys;
171
- let $;
172
- if (w != null && w.length) {
173
- const t = w[0], a = t.field;
174
- $ = t.key, i.foreignKeyField = a;
175
- } else
176
- i.foreignKeyField = null, i.foreignKeyValue = null;
177
- Ae("foreignkey", N), J(
178
- () => r.mainTableSelectedRowRcord,
179
- (t) => {
180
- var a;
181
- if (x.value.current = 1, H.value = [], (a = c.value) == null || a.clearSearch(), t) {
182
- if (i.foreignKeyField) {
183
- const s = t[$];
184
- i.foreignKeyValue = s, N.value = { field: i.foreignKeyField, value: s };
185
- }
186
- p.value = !0, m.value = !0, W().finally(() => {
187
- m.value = !1;
188
- });
189
- } else
190
- p.value = !1, k.value = [];
191
- },
192
- {
193
- immediate: !0
194
- }
195
- ), J(
196
- () => k.value,
197
- () => {
198
- I("getSource", r.data.currentTableName, k.value);
199
- },
200
- { immediate: !0 }
201
- );
202
- function Oe(t) {
203
- return L(this, null, function* () {
204
- Le(t), m.value = !1, i.execButtonEnhance("setup");
205
- });
206
- }
207
- function Le(t) {
208
- let a = Z(t.enhanceJs);
209
- i.EnhanceJS = a, de(t.cgButtonList), pe(t.hideColumns), ve(t), Q(t);
210
- }
211
- function Fe(t) {
212
- i.queryParam = t, b({ mode: "search" });
213
- }
214
- function Pe(t) {
215
- K.value = t.id;
216
- let a = {
217
- title: t.describe
218
- };
219
- t.record && t.record.id && (a.record = t.record, a.isUpdate = !0), Ie(!0, a);
220
- }
221
- ro(Pe);
222
- const xe = () => {
223
- r.data.relationType == 1 && k.value.length ? E.warning("一对一的表只能新增一条数据") : te();
224
- };
225
- return (t, a) => {
226
- const s = z("a-button"), De = z("a-modal");
227
- return n(), g(P, null, [
228
- _.mainTableSelectedRowRcord ? (n(), d(lo, {
229
- key: 0,
230
- ref_key: "onlineQueryFormOuter",
231
- ref: c,
232
- id: e(C),
233
- onSearch: Fe
234
- }, null, 8, ["id"])) : f("", !0),
235
- e(Y) ? f("", !0) : (n(), d(e(Ue), {
236
- key: 1,
237
- ref: "onlineTable",
238
- rowKey: "jeecg_row_key",
239
- canResize: !0,
240
- bordered: !0,
241
- showIndexColumn: !1,
242
- loading: e(m),
243
- columns: e(fe),
244
- dataSource: e(k),
245
- pagination: e(x),
246
- rowSelection: e(he),
247
- actionColumn: e(ye),
248
- showTableSetting: !0,
249
- clickToRowSelect: !1,
250
- scroll: e(be),
251
- onTableRedo: e(b),
252
- class: Ke({ "j-table-force-nowrap": e(Ce) }),
253
- tableSetting: v,
254
- onChange: e(U),
255
- minHeight: 300
256
- }, {
257
- tableTitle: l(() => [
258
- p.value && e(T).add ? (n(), d(s, {
259
- key: 0,
260
- preIcon: "ant-design:plus-outlined",
261
- type: "primary",
262
- onClick: xe
263
- }, {
264
- default: l(() => [
265
- h("新增")
266
- ]),
267
- _: 1
268
- })) : f("", !0),
269
- p.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"])) : f("", !0),
280
- p.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: ge
286
- }, {
287
- default: l(() => [
288
- h(" 导出")
289
- ]),
290
- _: 1
291
- }, 8, ["loading"])) : f("", !0),
292
- p.value && e(B) && e(B).length > 0 ? (n(!0), g(P, { key: 3 }, Ne(e(B), (o, u) => (n(), g(P, 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"])) : f("", !0)
314
- ], 64))), 256)) : f("", !0),
315
- e(T).batch_delete ? $e((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
- [Je, e(H).length > 0]
326
- ]) : f("", !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: (He) => e(ke)(o, u, S, e(C))
336
- }, {
337
- default: l(() => [
338
- h(" 下载 ")
339
- ]),
340
- _: 2
341
- }, 1032, ["onClick"])) : (n(), g("span", so, "无文件"))
342
- ]),
343
- imgSlot: l(({ text: o }) => [
344
- o ? (n(), g("img", {
345
- key: 1,
346
- src: e(Se)(o),
347
- alt: "图片不存在",
348
- class: "online-cell-image",
349
- onClick: (u) => e(Te)(o)
350
- }, null, 8, po)) : (n(), g("span", uo, "无图片"))
351
- ]),
352
- htmlSlot: l(({ text: o, column: u, record: S }) => [
353
- u.fieldHref ? (n(), g("a", {
354
- key: 0,
355
- innerHTML: o,
356
- onClick: (He) => e(Be)(u.fieldHref, S)
357
- }, null, 8, mo)) : (n(), g("div", {
358
- key: 1,
359
- innerHTML: o
360
- }, null, 8, go))
361
- ]),
362
- pcaSlot: l(({ text: o }) => [
363
- V("div", {
364
- title: e(A)(o)
365
- }, M(e(A)(o)), 9, fo)
366
- ]),
367
- dateSlot: l(({ text: o, column: u }) => [
368
- V("span", null, M(e(_e)(o, u)), 1)
369
- ]),
370
- action: l(({ record: o }) => [
371
- y(e(We), {
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
- y(Xe, {
379
- source: e(q),
380
- id: e(C),
381
- onRegister: e(oe),
382
- onSuccess: e(b),
383
- onFormConfig: e(G)
384
- }, null, 8, ["source", "id", "onRegister", "onSuccess", "onFormConfig"]),
385
- y(j, {
386
- source: e(q),
387
- id: e(C),
388
- onRegister: e(me)
389
- }, null, 8, ["source", "id", "onRegister"]),
390
- y(Ze, {
391
- onRegister: e(ie),
392
- url: e(ee)(),
393
- onOk: e(b),
394
- online: ""
395
- }, null, 8, ["onRegister", "url", "onOk"]),
396
- y(De, ze(e(R).model, Ve(e(R).on)), {
397
- default: l(() => [
398
- (n(), d(je(e(R).is), qe(Qe(e(R).params)), null, 16))
399
- ]),
400
- _: 1
401
- }, 16),
402
- y(Ye, {
403
- onRegister: e(X),
404
- onSuccess: e(b)
405
- }, null, 8, ["onRegister", "onSuccess"]),
406
- y(j, {
407
- id: e(Re),
408
- onRegister: e(we),
409
- defaultFullscreen: !1
410
- }, null, 8, ["id", "onRegister"]),
411
- y(io, {
412
- ref_key: "onlinePopModalRef",
413
- ref: Ee,
414
- id: e(K),
415
- onRegister: e(Me),
416
- onSuccess: e(b),
417
- request: "",
418
- topTip: ""
419
- }, null, 8, ["id", "onRegister", "onSuccess"])
420
- ], 64);
421
- };
422
- }
423
- };
424
- export {
425
- xt as default
426
- };