@jeecg/online 3.6.2-beta → 3.7.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 (118) hide show
  1. package/AiModal-fe3988fb.mjs +84 -0
  2. package/AuthButtonConfig-d50a0a65.mjs +134 -0
  3. package/{AuthButtonTree-3aa0ed49.mjs → AuthButtonTree-589395ed.mjs} +2 -2
  4. package/AuthDataConfig-7bb0cd85.mjs +237 -0
  5. package/{AuthDataTree-94e026e3.mjs → AuthDataTree-6e3bb86f.mjs} +1 -1
  6. package/AuthFieldConfig-490fc0ab.mjs +139 -0
  7. package/{AuthFieldTree-69864163.mjs → AuthFieldTree-b7cd091e.mjs} +1 -1
  8. package/AuthManagerDrawer-5e2ed5ce.mjs +118 -0
  9. package/AuthSetterModal-6f74449c.mjs +273 -0
  10. package/{CgformCopyList-14b76108.mjs → CgformCopyList-8077ccc6.mjs} +47 -45
  11. package/{CgformModal-eccfc38e.mjs → CgformModal-36faf29a.mjs} +256 -246
  12. package/{CgreportModal.vue_vue_type_script_setup_true_lang-c89d9222.mjs → CgreportModal-5a23d089.mjs} +154 -131
  13. package/CheckDictTable-b5cb0e2b.mjs +226 -0
  14. package/{CodeFileListModal-a6d3290d.mjs → CodeFileListModal-0e26b7e0.mjs} +2 -2
  15. package/{CodeFileViewModal-373e8058.mjs → CodeFileViewModal-9d4a5b5f.mjs} +36 -32
  16. package/CodeGeneratorModal-b722d976.mjs +238 -0
  17. package/{CustomButtonList-02e3d897.mjs → CustomButtonList-37639061.mjs} +118 -100
  18. package/{DBAttributeTable-370de07b.mjs → DBAttributeTable-95dc66c1.mjs} +110 -89
  19. package/{DbToOnlineModal-9f13956f.mjs → DbToOnlineModal-f49b9530.mjs} +57 -51
  20. package/DetailForm-4aa2570b.mjs +485 -0
  21. package/{EnhanceJavaModal-f63aa2d3.mjs → EnhanceJavaModal-98934198.mjs} +3 -3
  22. package/{EnhanceJsHistory-352b46b1.mjs → EnhanceJsHistory-9c4acdaf.mjs} +2 -2
  23. package/EnhanceJsModal-247f640d.mjs +532 -0
  24. package/{EnhanceSqlModal-5e4ae84f.mjs → EnhanceSqlModal-65b74b0f.mjs} +3 -3
  25. package/ExtendConfigModal-00f2fb55.mjs +117 -0
  26. package/FieldExtendJsonModal-cc7fce26.mjs +277 -0
  27. package/{FileSelectModal-9a02560b.mjs → FileSelectModal-38660e3c.mjs} +1 -1
  28. package/{ForeignKeyTable-6a843c4b.mjs → ForeignKeyTable-a78cb5ad.mjs} +3 -3
  29. package/{IndexTable-f8af9d44.mjs → IndexTable-1b496559.mjs} +10 -10
  30. package/{JModalTip-33c7dc44.mjs → JModalTip-4a83aaed.mjs} +1 -1
  31. package/{JOnlineSearchSelect-c287af12.mjs → JOnlineSearchSelect-34a37ec9.mjs} +1 -1
  32. package/{LeftDepart-fa85523d.mjs → LeftDepart-8ade4bf7.mjs} +1 -1
  33. package/{LeftRole-8b8dfe21.mjs → LeftRole-7d8c5acc.mjs} +1 -1
  34. package/{LeftUser-dc24ef2f.mjs → LeftUser-b4d1372a.mjs} +3 -3
  35. package/LinkTableConfigModal-a138c85e.mjs +240 -0
  36. package/{LinkTableFieldConfigModal-787bc55c.mjs → LinkTableFieldConfigModal-17b413b0.mjs} +41 -41
  37. package/{LinkTableListPiece-8499a318.mjs → LinkTableListPiece-2660d709.mjs} +1 -1
  38. package/{ModalFormDemo-977a49eb.mjs → ModalFormDemo-0544737d.mjs} +1 -1
  39. package/OnlCgformErpList-30e416c8.mjs +470 -0
  40. package/OnlCgformErpSubTable-9a876058.mjs +427 -0
  41. package/OnlCgformInnerSubTable-290ace5d.mjs +266 -0
  42. package/OnlCgformInnerTableList-f89b6687.mjs +458 -0
  43. package/OnlCgformTabList-7a2f2c03.mjs +408 -0
  44. package/OnlineAutoList-46c6c8b9.mjs +493 -0
  45. package/OnlineAutoModal-971bef13.mjs +236 -0
  46. package/{OnlineAutoTreeList-89265688.mjs → OnlineAutoTreeList-3b92454c.mjs} +206 -204
  47. package/{OnlineCustomModal-518ad33c.mjs → OnlineCustomModal-594244f3.mjs} +15 -11
  48. package/{OnlineDetailModal-9675390d.mjs → OnlineDetailModal-2a271e0b.mjs} +74 -64
  49. package/OnlineForm-018981b2.mjs +924 -0
  50. package/OnlineForm.vue_vue_type_style_index_0_scoped_0f9f2964_lang-4ed993c7.mjs +1 -0
  51. package/OnlineFormDetail-e036cd11.mjs +342 -0
  52. package/OnlineFormUrlAdd-7fb3dcca.mjs +115 -0
  53. package/OnlineFormUrlDetail-b2292137.mjs +119 -0
  54. package/OnlineFormUrlEdit-44080fb3.mjs +113 -0
  55. package/OnlineFormUrlSuccess-af285b02.mjs +59 -0
  56. package/OnlineQueryForm-998c12a4.mjs +444 -0
  57. package/{OnlineSearchFormItem-0cc85a8a.mjs → OnlineSearchFormItem-6feacae6.mjs} +2 -2
  58. package/{OnlineSelectCascade-4265c95d.mjs → OnlineSelectCascade-471fcc76.mjs} +1 -1
  59. package/{OnlineSubFormDetail-f0d2c016.mjs → OnlineSubFormDetail-03f8ee5c.mjs} +29 -27
  60. package/OnlineTabAutoModal-7b9bcd0b.mjs +306 -0
  61. package/{OnlineTabDetailModal-7356d3a8.mjs → OnlineTabDetailModal-88143301.mjs} +22 -20
  62. package/OnlineTabForm-9ad7d29a.mjs +805 -0
  63. package/OnlineTabFormDetail-bbf23caa.mjs +327 -0
  64. package/PageAttributeTable-6c23547b.mjs +446 -0
  65. package/{ProcessOnlineForm-67558898.mjs → ProcessOnlineForm-b42198f5.mjs} +32 -28
  66. package/QueryTable-96b3dbd0.mjs +144 -0
  67. package/SetSwitchOptions-a452fa0f.mjs +62 -0
  68. package/SuperQuery-cbfba908.mjs +975 -0
  69. package/{auth.data-8be5c9e3.mjs → auth.data-22948e87.mjs} +56 -14
  70. package/{cgform.data-cbdd88c3.mjs → cgform.data-475d4984.mjs} +5 -1
  71. package/constant-fa63bd66.mjs +10 -0
  72. package/{enhance.data-efc7e155.mjs → enhance.data-3304d553.mjs} +3 -3
  73. package/index-173949bb.mjs +57 -0
  74. package/{index-49508cad.mjs → index-581bef24.mjs} +29 -27
  75. package/{index-b7a05eef.mjs → index-d2abb8a0.mjs} +394 -361
  76. package/main.index.js +1 -1
  77. package/package.json +1 -1
  78. package/style.css +1 -1
  79. package/useCgformList-8755a94e.mjs +426 -0
  80. package/useExtendComponent-bb7cca20.mjs +4295 -0
  81. package/useFormUrl-2ee1a82d.mjs +24 -0
  82. package/useListButton-7ddb9a46.mjs +697 -0
  83. package/{useSchemas-0433a403.mjs → useSchemas-47e45edc.mjs} +167 -86
  84. package/{useTableSync-774c3774.mjs → useTableSync-f6089e8a.mjs} +1 -1
  85. package/AuthButtonConfig-244ec09f.mjs +0 -125
  86. package/AuthDataConfig-83891eea.mjs +0 -212
  87. package/AuthFieldConfig-6b21915c.mjs +0 -139
  88. package/AuthManagerDrawer-300dd4e4.mjs +0 -114
  89. package/AuthSetterModal-a414fb35.mjs +0 -267
  90. package/CgreportModal-2065f5a9.mjs +0 -13
  91. package/CheckDictTable-134cbb83.mjs +0 -211
  92. package/CodeGeneratorModal-f08a89cd.mjs +0 -233
  93. package/DetailForm-424638eb.mjs +0 -462
  94. package/EnhanceJsModal-05c73a59.mjs +0 -311
  95. package/ExtendConfigModal-1dde390a.mjs +0 -111
  96. package/FieldExtendJsonModal-a70a9ccd.mjs +0 -219
  97. package/LinkTableConfigModal-d4fbdef2.mjs +0 -230
  98. package/OnlCgformErpList-db45e22b.mjs +0 -454
  99. package/OnlCgformErpSubTable-54b50eec.mjs +0 -403
  100. package/OnlCgformInnerSubTable-fbca73e0.mjs +0 -253
  101. package/OnlCgformInnerTableList-782eaf04.mjs +0 -444
  102. package/OnlCgformTabList-a9e1e36a.mjs +0 -395
  103. package/OnlineAutoList-0583a910.mjs +0 -479
  104. package/OnlineAutoModal-510991eb.mjs +0 -207
  105. package/OnlineForm-1fa2d893.mjs +0 -750
  106. package/OnlineFormDetail-0e7294ca.mjs +0 -297
  107. package/OnlineQueryForm-1bfc8320.mjs +0 -386
  108. package/OnlineTabAutoModal-6f636ee2.mjs +0 -254
  109. package/OnlineTabForm-512d3951.mjs +0 -766
  110. package/OnlineTabFormDetail-5a70219d.mjs +0 -324
  111. package/PageAttributeTable-965dc58e.mjs +0 -404
  112. package/QueryTable-eb9a5b21.mjs +0 -115
  113. package/SuperQuery-5d1ca957.mjs +0 -843
  114. package/constant-754f1a9d.mjs +0 -9
  115. package/index-0e3ab3af.mjs +0 -56
  116. package/useCgformList-423282b7.mjs +0 -400
  117. package/useExtendComponent-325fe3f1.mjs +0 -3926
  118. package/useListButton-cdbab702.mjs +0 -676
@@ -1,403 +0,0 @@
1
- var O = (R, w, c) => new Promise((I, u) => {
2
- var h = (r) => {
3
- try {
4
- C(c.next(r));
5
- } catch (s) {
6
- u(s);
7
- }
8
- }, n = (r) => {
9
- try {
10
- C(c.throw(r));
11
- } catch (s) {
12
- u(s);
13
- }
14
- }, C = (r) => r.done ? I(r.value) : Promise.resolve(r.value).then(h, n);
15
- C((c = c.apply(R, w)).next());
16
- });
17
- import { ref as B, provide as Fe, watch as K, resolveComponent as J, openBlock as i, createElementBlock as y, Fragment as x, createVNode as p, unref as e, createBlock as d, normalizeClass as De, withCtx as l, createTextVNode as g, createCommentVNode as f, renderList as Le, toDisplayString as T, withDirectives as Pe, vShow as Ae, createElementVNode as F, mergeProps as He, toHandlers as Ke, resolveDynamicComponent as Je, normalizeProps as Ne, guardReactiveProps as ze } from "vue";
18
- import { BasicTable as Ve, TableAction as $e } from "/@/components/Table";
19
- import "/@/hooks/web/useMessage";
20
- import je from "./OnlineAutoModal-510991eb.mjs";
21
- import qe from "./OnlineCustomModal-518ad33c.mjs";
22
- import N from "./OnlineDetailModal-9675390d.mjs";
23
- import Qe from "/@/components/Form/src/jeecg/components/JImportModal.vue";
24
- import { u as Ue, a as We } from "./useListButton-cdbab702.mjs";
25
- import { u as Ge, a as Xe, O as Ye } from "./useExtendComponent-325fe3f1.mjs";
26
- import Ze from "./OnlineQueryForm-1bfc8320.mjs";
27
- import { u as eo } from "./useOnlinePopEvent-687070b7.mjs";
28
- import { E as oo } from "./constant-754f1a9d.mjs";
29
- import { cloneDeep as to } from "lodash-es";
30
- import "/@/components/Modal";
31
- import "./OnlineForm-1fa2d893.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 "./index-0e3ab3af.mjs";
46
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
47
- import "vue-router";
48
- import "/@/components/jeecg/comment/CommentPanel.vue";
49
- import "./OnlineFormDetail-0e7294ca.mjs";
50
- import "./DetailForm-424638eb.mjs";
51
- import "/@/utils/propTypes";
52
- import "/@/utils/dict";
53
- import "/@/utils/dict/JDictSelectUtil";
54
- import "/@/utils/dict/index";
55
- import "/@/api/common/api";
56
- import "/@/components/Form/src/utils/Area";
57
- import "/@/components/Preview/index";
58
- import "/@/components/Markdown";
59
- import "./OnlineSubFormDetail-f0d2c016.mjs";
60
- import "/@/router";
61
- import "/@/hooks/core/onMountedOrActivated";
62
- import "/@/store/modules/multipleTab";
63
- import "./cgformState-d9f8ec42.mjs";
64
- import "pinia";
65
- import "/@/store";
66
- import "ant-design-vue";
67
- import "/@/hooks/system/useMethods";
68
- import "/@/components/Form/src/componentMap";
69
- import "/@/components/Form/src/jeecg/components/JUpload";
70
- import "/@/views/system/user/user.api";
71
- import "/@/utils/desform/customExpression";
72
- import "/@/store/modules/permission";
73
- import "/@/hooks/system/useListPage";
74
- import "./LinkTableListPiece-8499a318.mjs";
75
- import "./OnlineSelectCascade-4265c95d.mjs";
76
- import "./JModalTip-33c7dc44.mjs";
77
- import "/@/hooks/web/useAppInject";
78
- import "@vueuse/core";
79
- const no = {
80
- key: 0,
81
- style: { "font-size": "12px", "font-style": "italic" }
82
- }, io = {
83
- key: 0,
84
- style: { "font-size": "12px", "font-style": "italic" }
85
- }, lo = ["src", "onClick"], ro = ["innerHTML"], ao = ["title"], Tt = {
86
- __name: "OnlCgformErpSubTable",
87
- props: ["data", "mainTableSelectedRowRcord"],
88
- emits: ["getSource"],
89
- setup(R, { emit: w }) {
90
- const c = R, I = w, u = B(!1), {
91
- ID: h,
92
- onlineTableContext: n,
93
- onlineQueryFormOuter: C,
94
- loading: r,
95
- reload: s,
96
- dataSource: b,
97
- pagination: z,
98
- handleSpecialConfig: V,
99
- getColumnList: co,
100
- handleChangeInTable: $,
101
- loadData: j,
102
- onlineExtConfigJson: D,
103
- handleFormConfig: q,
104
- registerCustomModal: Q,
105
- tableReloading: U
106
- } = Ue({ code: c.data.code, themeTemplate: oo });
107
- n.isErpSubTable = !0;
108
- let { initCgEnhanceJs: W } = Ge(n);
109
- const {
110
- buttonSwitch: k,
111
- cgLinkButtonList: so,
112
- cgTopButtonList: M,
113
- importUrl: G,
114
- registerModal: X,
115
- handleAdd: Y,
116
- handleEdit: uo,
117
- handleBatchDelete: Z,
118
- registerImportModal: ee,
119
- onImportExcel: oe,
120
- onExportExcel: te,
121
- cgButtonJsHandler: ne,
122
- cgButtonActionHandler: ie,
123
- cgButtonLinkHandler: po,
124
- handleSubmitFlow: mo,
125
- getDropDownActions: le,
126
- getActions: re,
127
- initButtonList: ae,
128
- initButtonSwitch: ce,
129
- registerDetailModal: se,
130
- registerBpmModal: go
131
- } = We(n, D), E = B(!1);
132
- function ue() {
133
- return O(this, null, function* () {
134
- try {
135
- E.value = !0, yield te();
136
- } finally {
137
- setTimeout(() => E.value = !1, 1500);
138
- }
139
- });
140
- }
141
- const {
142
- columns: pe,
143
- actionColumn: de,
144
- selectedKeys: me,
145
- rowSelection: ge,
146
- enableScrollBar: fe,
147
- tableScroll: ye,
148
- downloadRowFile: he,
149
- getImgView: Ce,
150
- getPcaText: L,
151
- getFormatDate: be,
152
- handleColumnResult: ke,
153
- hrefComponent: S,
154
- viewOnlineCellImage: Se,
155
- hrefMainTableId: _e,
156
- registerOnlineHrefModal: ve,
157
- registerPopModal: Te,
158
- openPopModal: Re,
159
- onlinePopModalRef: we,
160
- popTableId: P
161
- } = Xe(n, D);
162
- Ie(to(c.data));
163
- const A = B(null), _ = c.data.foreignKeys;
164
- let H;
165
- if (_ != null && _.length) {
166
- const t = _[0], a = t.field;
167
- H = t.key, n.foreignKeyField = a;
168
- } else
169
- n.foreignKeyField = null, n.foreignKeyValue = null;
170
- Fe("foreignkey", A), K(
171
- () => c.mainTableSelectedRowRcord,
172
- (t) => {
173
- if (t) {
174
- if (n.foreignKeyField) {
175
- const a = t[H];
176
- n.foreignKeyValue = a, A.value = { field: n.foreignKeyField, value: a };
177
- }
178
- u.value = !0, r.value = !0, j().finally(() => {
179
- r.value = !1;
180
- });
181
- } else
182
- u.value = !1, b.value = [];
183
- },
184
- {
185
- immediate: !0
186
- }
187
- ), K(
188
- () => b.value,
189
- () => {
190
- I("getSource", c.data.currentTableName, b.value);
191
- },
192
- { immediate: !0 }
193
- );
194
- function Ie(t) {
195
- return O(this, null, function* () {
196
- Me(t), r.value = !1, n.execButtonEnhance("setup");
197
- });
198
- }
199
- function Me(t) {
200
- let a = W(t.enhanceJs);
201
- n.EnhanceJS = a, ae(t.cgButtonList), ce(t.hideColumns), ke(t), V(t);
202
- }
203
- function Ee(t) {
204
- n.queryParam = t, s({ mode: "search" });
205
- }
206
- function Oe(t) {
207
- P.value = t.id;
208
- let a = {
209
- title: t.describe
210
- };
211
- t.record && t.record.id && (a.record = t.record, a.isUpdate = !0), Re(!0, a);
212
- }
213
- return eo(Oe), (t, a) => {
214
- const m = J("a-button"), Be = J("a-modal");
215
- return i(), y(x, null, [
216
- p(Ze, {
217
- ref_key: "onlineQueryFormOuter",
218
- ref: C,
219
- id: e(h),
220
- onSearch: Ee
221
- }, null, 8, ["id"]),
222
- e(U) ? f("", !0) : (i(), d(e(Ve), {
223
- key: 0,
224
- ref: "onlineTable",
225
- rowKey: "jeecg_row_key",
226
- canResize: !0,
227
- bordered: !0,
228
- showIndexColumn: !1,
229
- loading: e(r),
230
- columns: e(pe),
231
- dataSource: e(b),
232
- pagination: e(z),
233
- rowSelection: e(ge),
234
- actionColumn: e(de),
235
- showTableSetting: !0,
236
- clickToRowSelect: !1,
237
- scroll: e(ye),
238
- onTableRedo: e(s),
239
- class: De({ "j-table-force-nowrap": e(fe) }),
240
- onChange: e($),
241
- minHeight: 300
242
- }, {
243
- tableTitle: l(() => [
244
- u.value && e(k).add ? (i(), d(m, {
245
- key: 0,
246
- preIcon: "ant-design:plus-outlined",
247
- type: "primary",
248
- onClick: e(Y)
249
- }, {
250
- default: l(() => [
251
- g("新增")
252
- ]),
253
- _: 1
254
- }, 8, ["onClick"])) : f("", !0),
255
- u.value && e(k).import ? (i(), d(m, {
256
- key: 1,
257
- preIcon: "ant-design:import-outlined",
258
- type: "primary",
259
- onClick: e(oe)
260
- }, {
261
- default: l(() => [
262
- g("导入")
263
- ]),
264
- _: 1
265
- }, 8, ["onClick"])) : f("", !0),
266
- u.value && e(k).export ? (i(), d(m, {
267
- key: 2,
268
- preIcon: "ant-design:export-outlined",
269
- type: "primary",
270
- loading: E.value,
271
- onClick: ue
272
- }, {
273
- default: l(() => [
274
- g(" 导出")
275
- ]),
276
- _: 1
277
- }, 8, ["loading"])) : f("", !0),
278
- u.value && e(M) && e(M).length > 0 ? (i(!0), y(x, { key: 3 }, Le(e(M), (o, v) => (i(), y(x, null, [
279
- o.optType == "js" ? (i(), d(m, {
280
- key: "cgbtn" + v,
281
- onClick: (xe) => e(ne)(o.buttonCode),
282
- type: "primary",
283
- preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
284
- }, {
285
- default: l(() => [
286
- g(T(o.buttonName), 1)
287
- ]),
288
- _: 2
289
- }, 1032, ["onClick", "preIcon"])) : o.optType == "action" ? (i(), d(m, {
290
- key: "cgbtn" + v,
291
- onClick: (xe) => e(ie)(o.buttonCode),
292
- type: "primary",
293
- preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
294
- }, {
295
- default: l(() => [
296
- g(T(o.buttonName), 1)
297
- ]),
298
- _: 2
299
- }, 1032, ["onClick", "preIcon"])) : f("", !0)
300
- ], 64))), 256)) : f("", !0),
301
- e(k).batch_delete ? Pe((i(), d(m, {
302
- key: 4,
303
- preIcon: "ant-design:delete-outlined",
304
- onClick: e(Z)
305
- }, {
306
- default: l(() => [
307
- g(" 批量删除")
308
- ]),
309
- _: 1
310
- }, 8, ["onClick"])), [
311
- [Ae, e(me).length > 0]
312
- ]) : f("", !0)
313
- ]),
314
- fileSlot: l(({ text: o }) => [
315
- o ? (i(), d(m, {
316
- key: 1,
317
- ghost: !0,
318
- type: "primary",
319
- preIcon: "ant-design:download",
320
- size: "small",
321
- onClick: (v) => e(he)(o)
322
- }, {
323
- default: l(() => [
324
- g(" 下载 ")
325
- ]),
326
- _: 2
327
- }, 1032, ["onClick"])) : (i(), y("span", no, "无文件"))
328
- ]),
329
- imgSlot: l(({ text: o }) => [
330
- o ? (i(), y("img", {
331
- key: 1,
332
- src: e(Ce)(o),
333
- alt: "图片不存在",
334
- class: "online-cell-image",
335
- onClick: (v) => e(Se)(o)
336
- }, null, 8, lo)) : (i(), y("span", io, "无图片"))
337
- ]),
338
- htmlSlot: l(({ text: o }) => [
339
- F("div", { innerHTML: o }, null, 8, ro)
340
- ]),
341
- pcaSlot: l(({ text: o }) => [
342
- F("div", {
343
- title: e(L)(o)
344
- }, T(e(L)(o)), 9, ao)
345
- ]),
346
- dateSlot: l(({ text: o }) => [
347
- F("span", null, T(e(be)(o)), 1)
348
- ]),
349
- action: l(({ record: o }) => [
350
- p(e($e), {
351
- actions: e(re)(o),
352
- dropDownActions: e(le)(o)
353
- }, null, 8, ["actions", "dropDownActions"])
354
- ]),
355
- _: 1
356
- }, 8, ["loading", "columns", "dataSource", "pagination", "rowSelection", "actionColumn", "scroll", "onTableRedo", "class", "onChange"])),
357
- p(je, {
358
- id: e(h),
359
- onRegister: e(X),
360
- onSuccess: e(s),
361
- onFormConfig: e(q)
362
- }, null, 8, ["id", "onRegister", "onSuccess", "onFormConfig"]),
363
- p(N, {
364
- id: e(h),
365
- onRegister: e(se)
366
- }, null, 8, ["id", "onRegister"]),
367
- p(Qe, {
368
- onRegister: e(ee),
369
- url: e(G)(),
370
- onOk: e(s),
371
- online: ""
372
- }, null, 8, ["onRegister", "url", "onOk"]),
373
- p(Be, He(e(S).model, Ke(e(S).on)), {
374
- default: l(() => [
375
- (i(), d(Je(e(S).is), Ne(ze(e(S).params)), null, 16))
376
- ]),
377
- _: 1
378
- }, 16),
379
- p(qe, {
380
- onRegister: e(Q),
381
- onSuccess: e(s)
382
- }, null, 8, ["onRegister", "onSuccess"]),
383
- p(N, {
384
- id: e(_e),
385
- onRegister: e(ve),
386
- defaultFullscreen: !1
387
- }, null, 8, ["id", "onRegister"]),
388
- p(Ye, {
389
- ref_key: "onlinePopModalRef",
390
- ref: we,
391
- id: e(P),
392
- onRegister: e(Te),
393
- onSuccess: e(s),
394
- request: "",
395
- topTip: ""
396
- }, null, 8, ["id", "onRegister", "onSuccess"])
397
- ], 64);
398
- };
399
- }
400
- };
401
- export {
402
- Tt as default
403
- };
@@ -1,253 +0,0 @@
1
- var M = (h, c, a) => new Promise((d, n) => {
2
- var u = (i) => {
3
- try {
4
- g(a.next(i));
5
- } catch (f) {
6
- n(f);
7
- }
8
- }, s = (i) => {
9
- try {
10
- g(a.throw(i));
11
- } catch (f) {
12
- n(f);
13
- }
14
- }, g = (i) => i.done ? d(i.value) : Promise.resolve(i.value).then(u, s);
15
- g((a = a.apply(h, c)).next());
16
- });
17
- import { watch as ne, resolveComponent as w, openBlock as l, createElementBlock as _, Fragment as ie, unref as e, createBlock as C, normalizeClass as le, withCtx as r, createTextVNode as re, createElementVNode as T, toDisplayString as y, createCommentVNode as ae, createVNode as p, mergeProps as se, toHandlers as me, resolveDynamicComponent as pe, normalizeProps as ce, guardReactiveProps as de } from "vue";
18
- import { BasicTable as ue } from "/@/components/Table";
19
- import { useMessage as ge } from "/@/hooks/web/useMessage";
20
- import fe from "./OnlineCustomModal-518ad33c.mjs";
21
- import k from "./OnlineDetailModal-9675390d.mjs";
22
- import be from "/@/components/Form/src/jeecg/components/JImportModal.vue";
23
- import { u as _e, a as he } from "./useListButton-cdbab702.mjs";
24
- import { u as Ce, a as Te, O as Se } from "./useExtendComponent-325fe3f1.mjs";
25
- import { u as Re } from "./useOnlinePopEvent-687070b7.mjs";
26
- import { I as Ie } from "./constant-754f1a9d.mjs";
27
- import "/@/components/Table/src/const";
28
- import "/@/components/Modal";
29
- import "/@/utils/http/axios";
30
- import "./OnlineForm-1fa2d893.mjs";
31
- import "/@/components/Form/index";
32
- import "lodash-es";
33
- import "/@/utils";
34
- import "/@/components/Loading";
35
- import "/@/components/jeecg/JVxeTable/types";
36
- import "/@/utils/auth";
37
- import "@ant-design/icons-vue";
38
- import "/@/hooks/core/useContext";
39
- import "/@/utils/mitt";
40
- import "./useCustomHook-acb00837.mjs";
41
- import "/@/utils/cache";
42
- import "/@/utils/common/compUtils";
43
- import "/@/store/modules/user";
44
- import "./index-0e3ab3af.mjs";
45
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
46
- import "vue-router";
47
- import "./OnlineFormDetail-0e7294ca.mjs";
48
- import "./DetailForm-424638eb.mjs";
49
- import "/@/utils/propTypes";
50
- import "/@/utils/dict";
51
- import "/@/utils/dict/JDictSelectUtil";
52
- import "/@/utils/dict/index";
53
- import "/@/api/common/api";
54
- import "/@/components/Form/src/utils/Area";
55
- import "/@/components/Preview/index";
56
- import "/@/components/Markdown";
57
- import "./OnlineSubFormDetail-f0d2c016.mjs";
58
- import "/@/components/jeecg/comment/CommentPanel.vue";
59
- import "/@/router";
60
- import "/@/hooks/core/onMountedOrActivated";
61
- import "/@/store/modules/multipleTab";
62
- import "./cgformState-d9f8ec42.mjs";
63
- import "pinia";
64
- import "/@/store";
65
- import "ant-design-vue";
66
- import "/@/hooks/system/useMethods";
67
- import "/@/components/Form/src/componentMap";
68
- import "/@/components/Form/src/jeecg/components/JUpload";
69
- import "/@/views/system/user/user.api";
70
- import "/@/utils/desform/customExpression";
71
- import "/@/store/modules/permission";
72
- import "/@/hooks/system/useListPage";
73
- import "./LinkTableListPiece-8499a318.mjs";
74
- import "./OnlineSelectCascade-4265c95d.mjs";
75
- import "./JModalTip-33c7dc44.mjs";
76
- import "/@/hooks/web/useAppInject";
77
- import "@vueuse/core";
78
- const Me = {
79
- key: 0,
80
- style: { "font-size": "12px", "font-style": "italic" }
81
- }, we = {
82
- key: 0,
83
- style: { "font-size": "12px", "font-style": "italic" }
84
- }, ye = ["src", "onClick"], ke = ["innerHTML"], ve = ["title"], Vo = {
85
- __name: "OnlCgformInnerSubTable",
86
- props: ["subTableId", "subTableName", "mTableSelectedRcordId"],
87
- setup(h) {
88
- const c = h, { createMessage: a } = ge(), {
89
- ID: d,
90
- onlineTableContext: n,
91
- loading: u,
92
- reload: s,
93
- dataSource: g,
94
- handleSpecialConfig: i,
95
- getColumnList: f,
96
- handleChangeInTable: v,
97
- loadData: O,
98
- onlineExtConfigJson: S,
99
- registerCustomModal: B,
100
- tableReloading: P
101
- } = _e({ code: c.subTableId });
102
- n.isInnerSubTable = !0, n.innerSubTableName = c.subTableName, n.mTableSelectedRcordId = c.mTableSelectedRcordId, d.value || a.warning("地址错误, 配置ID不存在!");
103
- let { initCgEnhanceJs: E } = Ce(n);
104
- const {
105
- importUrl: x,
106
- registerImportModal: L,
107
- initButtonList: N,
108
- initButtonSwitch: D,
109
- registerDetailModal: z,
110
- registerBpmModal: Oe
111
- } = he(n, S), {
112
- columns: J,
113
- enableScrollBar: V,
114
- tableScroll: F,
115
- downloadRowFile: H,
116
- getImgView: A,
117
- getPcaText: R,
118
- getFormatDate: $,
119
- handleColumnResult: j,
120
- hrefComponent: b,
121
- viewOnlineCellImage: U,
122
- hrefMainTableId: q,
123
- registerOnlineHrefModal: K,
124
- registerPopModal: G,
125
- openPopModal: Q,
126
- onlinePopModalRef: W,
127
- popTableId: I
128
- } = Te(n, S);
129
- ne(
130
- d,
131
- () => {
132
- X();
133
- },
134
- { immediate: !0 }
135
- );
136
- function X() {
137
- return M(this, null, function* () {
138
- u.value = !0;
139
- let o = yield f(Ie);
140
- Y(o), yield O(), u.value = !1, n.execButtonEnhance("setup");
141
- });
142
- }
143
- function Y(o) {
144
- let m = E(o.enhanceJs);
145
- n.EnhanceJS = m, N(o.cgButtonList), D(o.hideColumns), j(o), i(o);
146
- }
147
- function Z(o) {
148
- I.value = o.id;
149
- let m = {
150
- title: o.describe
151
- };
152
- o.record && o.record.id && (m.record = o.record, m.isUpdate = !0), Q(!0, m);
153
- }
154
- return Re(Z), (o, m) => {
155
- const ee = w("a-button"), oe = w("a-modal");
156
- return l(), _(ie, null, [
157
- e(P) ? ae("", !0) : (l(), C(e(ue), {
158
- key: 0,
159
- ref: "onlineTable",
160
- rowKey: "jeecg_row_key",
161
- canResize: !0,
162
- bordered: !0,
163
- showIndexColumn: !1,
164
- loading: e(u),
165
- columns: e(J),
166
- dataSource: e(g),
167
- pagination: !1,
168
- showActionColumn: !1,
169
- showTableSetting: !1,
170
- clickToRowSelect: !1,
171
- scroll: e(F),
172
- onTableRedo: e(s),
173
- class: le({ "j-table-force-nowrap": e(V) }),
174
- onChange: e(v)
175
- }, {
176
- fileSlot: r(({ text: t }) => [
177
- t ? (l(), C(ee, {
178
- key: 1,
179
- ghost: !0,
180
- type: "primary",
181
- preIcon: "ant-design:download",
182
- size: "small",
183
- onClick: (te) => e(H)(t)
184
- }, {
185
- default: r(() => [
186
- re(" 下载 ")
187
- ]),
188
- _: 2
189
- }, 1032, ["onClick"])) : (l(), _("span", Me, "无文件"))
190
- ]),
191
- imgSlot: r(({ text: t }) => [
192
- t ? (l(), _("img", {
193
- key: 1,
194
- src: e(A)(t),
195
- alt: "图片不存在",
196
- class: "online-cell-image",
197
- onClick: (te) => e(U)(t)
198
- }, null, 8, ye)) : (l(), _("span", we, "无图片"))
199
- ]),
200
- htmlSlot: r(({ text: t }) => [
201
- T("div", { innerHTML: t }, null, 8, ke)
202
- ]),
203
- pcaSlot: r(({ text: t }) => [
204
- T("div", {
205
- title: e(R)(t)
206
- }, y(e(R)(t)), 9, ve)
207
- ]),
208
- dateSlot: r(({ text: t }) => [
209
- T("span", null, y(e($)(t)), 1)
210
- ]),
211
- _: 1
212
- }, 8, ["loading", "columns", "dataSource", "scroll", "onTableRedo", "class", "onChange"])),
213
- p(k, {
214
- id: e(d),
215
- onRegister: e(z)
216
- }, null, 8, ["id", "onRegister"]),
217
- p(be, {
218
- onRegister: e(L),
219
- url: e(x)(),
220
- onOk: e(s),
221
- online: ""
222
- }, null, 8, ["onRegister", "url", "onOk"]),
223
- p(oe, se(e(b).model, me(e(b).on)), {
224
- default: r(() => [
225
- (l(), C(pe(e(b).is), ce(de(e(b).params)), null, 16))
226
- ]),
227
- _: 1
228
- }, 16),
229
- p(fe, {
230
- onRegister: e(B),
231
- onSuccess: e(s)
232
- }, null, 8, ["onRegister", "onSuccess"]),
233
- p(k, {
234
- id: e(q),
235
- onRegister: e(K),
236
- defaultFullscreen: !1
237
- }, null, 8, ["id", "onRegister"]),
238
- p(Se, {
239
- ref_key: "onlinePopModalRef",
240
- ref: W,
241
- id: e(I),
242
- onRegister: e(G),
243
- onSuccess: e(s),
244
- request: "",
245
- topTip: ""
246
- }, null, 8, ["id", "onRegister", "onSuccess"])
247
- ], 64);
248
- };
249
- }
250
- };
251
- export {
252
- Vo as default
253
- };