@jeecg/online 3.7.1-RC → 3.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (142) hide show
  1. package/AccountLoginForm-d2fed52f.mjs +254 -0
  2. package/AiModal-fbe4b68a.mjs +84 -0
  3. package/AppForgetPassword-3b3bec82.mjs +310 -0
  4. package/AppLogin-cd2e2a87.mjs +287 -0
  5. package/AppLoginHeader-9b5be678.mjs +27 -0
  6. package/AppNameEmail-b4e32ae8.mjs +180 -0
  7. package/AppRegister-7117b66a.mjs +303 -0
  8. package/AppTenant-5817729b.mjs +373 -0
  9. package/AppThirdForm-d14fb5e5.mjs +189 -0
  10. package/AuthButtonConfig-5e3b6d72.mjs +156 -0
  11. package/AuthButtonTree-7b4ec967.mjs +165 -0
  12. package/{AuthDataConfig-5c3a8e6b.mjs → AuthDataConfig-48ee9228.mjs} +23 -23
  13. package/{AuthDataTree-dd7a1240.mjs → AuthDataTree-02b3ba05.mjs} +43 -43
  14. package/{AuthFieldConfig-9f6fa06c.mjs → AuthFieldConfig-562cc6b6.mjs} +71 -71
  15. package/AuthFieldTree-2d458c0c.mjs +232 -0
  16. package/{AuthManagerDrawer-76f15e8d.mjs → AuthManagerDrawer-38299230.mjs} +6 -6
  17. package/{AuthSetterModal-f5d2e87f.mjs → AuthSetterModal-78b06703.mjs} +9 -9
  18. package/BuiltInButtonList-bb6cf95c.mjs +10 -0
  19. package/BuiltInButtonList.vue_vue_type_script_setup_true_lang-07d0b7d0.mjs +338 -0
  20. package/CgformAddressModal-1b9cbe19.mjs +260 -0
  21. package/CgformCopyList-580bba0f.mjs +252 -0
  22. package/{CgformModal-21c5c387.mjs → CgformModal-12951453.mjs} +190 -194
  23. package/{CgreportModal-edefa8e3.mjs → CgreportModal-bfeb93ed.mjs} +181 -168
  24. package/{CheckDictTable-1bc8322d.mjs → CheckDictTable-3c1e59e0.mjs} +3 -3
  25. package/CodeFileListModal-71752603.mjs +159 -0
  26. package/{CodeFileViewModal-2fe911f4.mjs → CodeFileViewModal-eb803769.mjs} +66 -66
  27. package/CodeGeneratorModal-2fe1e920.mjs +281 -0
  28. package/CustomButtonList-22b5cdb3.mjs +274 -0
  29. package/{DBAttributeTable-285d40db.mjs → DBAttributeTable-eb25565c.mjs} +3 -3
  30. package/{DbToOnlineModal-5dcb67c3.mjs → DbToOnlineModal-049b4bbd.mjs} +53 -54
  31. package/{DetailForm-deecbf3d.mjs → DetailForm-c127c27f.mjs} +5 -5
  32. package/DropMenuItem-b1a8f47d.mjs +44 -0
  33. package/{EnhanceJavaModal-45c66cd5.mjs → EnhanceJavaModal-1a4d696b.mjs} +62 -62
  34. package/{EnhanceJsHistory-fab3102e.mjs → EnhanceJsHistory-48cf43ad.mjs} +35 -35
  35. package/{EnhanceJsModal-175357a1.mjs → EnhanceJsModal-0e1f15f8.mjs} +102 -102
  36. package/{EnhanceSqlModal-7ea1b300.mjs → EnhanceSqlModal-6a1aa471.mjs} +67 -67
  37. package/ErrorTip-bb616e32.mjs +7 -0
  38. package/ErrorTip.vue_vue_type_script_setup_true_lang-49d35987.mjs +60 -0
  39. package/{ExtendConfigModal-a89ae052.mjs → ExtendConfigModal-37af21a5.mjs} +2 -2
  40. package/{FieldExtendJsonModal-32135634.mjs → FieldExtendJsonModal-9441e08e.mjs} +2 -2
  41. package/{FileSelectModal-1643c8b9.mjs → FileSelectModal-04490919.mjs} +23 -23
  42. package/{ForeignKeyTable-7f7e28a7.mjs → ForeignKeyTable-06300a47.mjs} +3 -3
  43. package/{IndexTable-cdcc2b48.mjs → IndexTable-79bddd5c.mjs} +3 -3
  44. package/JModalTip-192fafa1.mjs +49 -0
  45. package/{JOnlineSearchSelect-22aae934.mjs → JOnlineSearchSelect-9abcf657.mjs} +1 -1
  46. package/{LeftDepart-d5615ed9.mjs → LeftDepart-35d78655.mjs} +1 -1
  47. package/LeftRole-9d88976d.mjs +86 -0
  48. package/{LeftUser-22baa378.mjs → LeftUser-04c89aea.mjs} +30 -30
  49. package/{LinkTableConfigModal-9242d750.mjs → LinkTableConfigModal-5f94ef13.mjs} +43 -31
  50. package/{LinkTableFieldConfigModal-24adc50c.mjs → LinkTableFieldConfigModal-40753de5.mjs} +1 -1
  51. package/{LinkTableListPiece-f3a8e0d7.mjs → LinkTableListPiece-179035c7.mjs} +1 -1
  52. package/{ModalFormDemo-711418db.mjs → ModalFormDemo-3a85920c.mjs} +1 -1
  53. package/OnlCgformErpList-8fd15fc1.mjs +488 -0
  54. package/OnlCgformErpSubTable-3515150b.mjs +441 -0
  55. package/{OnlCgformInnerSubTable-6c23781f.mjs → OnlCgformInnerSubTable-13e888c6.mjs} +38 -38
  56. package/OnlCgformInnerTableList-2e8f853c.mjs +474 -0
  57. package/OnlCgformTabList-583ac15f.mjs +424 -0
  58. package/OnlineAutoList-36ec0957.mjs +513 -0
  59. package/OnlineAutoModal-c0743caf.mjs +260 -0
  60. package/OnlineAutoTreeList-1cd718be.mjs +523 -0
  61. package/OnlineCustomModal-661ee850.mjs +232 -0
  62. package/{OnlineDetailModal-d5895734.mjs → OnlineDetailModal-785e848e.mjs} +74 -65
  63. package/OnlineForm-c1fb38eb.mjs +1012 -0
  64. package/{OnlineFormDetail-022ca117.mjs → OnlineFormDetail-50186870.mjs} +7 -7
  65. package/{OnlineFormUrlAdd-9715d70a.mjs → OnlineFormUrlAdd-905bf251.mjs} +9 -9
  66. package/{OnlineFormUrlDetail-8f864b1a.mjs → OnlineFormUrlDetail-a9dd2bfa.mjs} +11 -11
  67. package/{OnlineFormUrlEdit-ac985b36.mjs → OnlineFormUrlEdit-b8941f05.mjs} +9 -9
  68. package/OnlineFormUrlSuccess-ecaf6a21.mjs +59 -0
  69. package/OnlineQueryForm-ca6186a3.mjs +484 -0
  70. package/{OnlineSearchFormItem-6c557343.mjs → OnlineSearchFormItem-5c503a51.mjs} +82 -82
  71. package/{OnlineSelectCascade-05c40fef.mjs → OnlineSelectCascade-a3e686b3.mjs} +1 -1
  72. package/{OnlineSubFormDetail-58e896ce.mjs → OnlineSubFormDetail-be1ad3b9.mjs} +52 -53
  73. package/{OnlineTabAutoModal-47b18ad6.mjs → OnlineTabAutoModal-fb59b573.mjs} +108 -95
  74. package/{OnlineTabDetailModal-82de1465.mjs → OnlineTabDetailModal-4b9c4838.mjs} +36 -36
  75. package/OnlineTabForm-89389384.mjs +814 -0
  76. package/{OnlineTabFormDetail-8d0c40c0.mjs → OnlineTabFormDetail-72173ae4.mjs} +17 -17
  77. package/{PageAttributeTable-25e3b7da.mjs → PageAttributeTable-345b97fe.mjs} +108 -108
  78. package/PhoneLoginForm-8ca7e2d4.mjs +214 -0
  79. package/{ProcessOnlineForm-148632fe.mjs → ProcessOnlineForm-485b5679.mjs} +32 -32
  80. package/{QueryTable-f7bfca7f.mjs → QueryTable-f0a88d78.mjs} +3 -3
  81. package/SetSwitchOptions-cdcb22a1.mjs +62 -0
  82. package/ShareAddView-f713c0a5.mjs +86 -0
  83. package/ShareEditView-691764ad.mjs +92 -0
  84. package/ShareView-df344a8d.mjs +80 -0
  85. package/ShareView.vue_vue_type_script_setup_true_lang-560459c9.mjs +162 -0
  86. package/SingleView-ad0287d6.mjs +68 -0
  87. package/SingleView.vue_vue_type_style_index_0_lang-ce96670b.mjs +131 -0
  88. package/SuperQuery-2b293e3b.mjs +974 -0
  89. package/{SuperQueryValComponent-7ad86d4b.mjs → SuperQueryValComponent-5a9ccfd4.mjs} +1 -1
  90. package/{SuperQueryValComponent.vue_vue_type_script_lang-e9196096.mjs → SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs} +11 -11
  91. package/{auth.api-ea1d33d4.mjs → auth.api-53df4c33.mjs} +17 -17
  92. package/{auth.data-511e5197.mjs → auth.data-626c5083.mjs} +16 -12
  93. package/{cgform.data-475d4984.mjs → cgform.data-0ca62d09.mjs} +4 -1
  94. package/{enhance.data-a67572e1.mjs → enhance.data-6601ff44.mjs} +1 -1
  95. package/index-181f8344.mjs +219 -0
  96. package/index-19eaef11.mjs +11 -0
  97. package/{index-30e0e923.mjs → index-3c7392a4.mjs} +272 -262
  98. package/{index-f30613d1.mjs → index-3ccda826.mjs} +59 -59
  99. package/index-5e89258d.mjs +8 -0
  100. package/index-93341e02.mjs +110 -0
  101. package/index-bef7fe2d.mjs +74 -0
  102. package/index-d6f9ada7.mjs +135 -0
  103. package/index-f3683351.mjs +57 -0
  104. package/main.index.js +1 -1
  105. package/package.json +1 -1
  106. package/shareStore-7de6c7a6.mjs +67 -0
  107. package/style.css +1 -1
  108. package/useCgformList-13c8aab7.mjs +378 -0
  109. package/useExtendComponent-3f5734ca.mjs +4459 -0
  110. package/useListButton-ee23874a.mjs +719 -0
  111. package/{useSchemas-a9c75b0f.mjs → useSchemas-f1819e54.mjs} +72 -39
  112. package/{useTableSync-d7e9f18d.mjs → useTableSync-075826a1.mjs} +1 -1
  113. package/utils-9fce7606.mjs +16 -0
  114. package/AiModal-6de335e3.mjs +0 -84
  115. package/AuthButtonConfig-89763932.mjs +0 -154
  116. package/AuthButtonTree-2d87d0b3.mjs +0 -157
  117. package/AuthFieldTree-e326fc38.mjs +0 -232
  118. package/CgformCopyList-365b3e8f.mjs +0 -251
  119. package/CodeFileListModal-24601898.mjs +0 -159
  120. package/CodeGeneratorModal-f09fe903.mjs +0 -282
  121. package/CustomButtonList-f07bc695.mjs +0 -397
  122. package/JModalTip-b055ab60.mjs +0 -49
  123. package/LeftRole-2ed8a2bf.mjs +0 -86
  124. package/OnlCgformErpList-58acdfa0.mjs +0 -470
  125. package/OnlCgformErpSubTable-9b1e1938.mjs +0 -426
  126. package/OnlCgformInnerTableList-4b5e14ed.mjs +0 -458
  127. package/OnlCgformTabList-019ad753.mjs +0 -408
  128. package/OnlineAutoList-48589d09.mjs +0 -493
  129. package/OnlineAutoModal-c2928847.mjs +0 -239
  130. package/OnlineAutoTreeList-3baa1d00.mjs +0 -503
  131. package/OnlineCustomModal-9e17b6ce.mjs +0 -232
  132. package/OnlineForm-9f1153ba.mjs +0 -985
  133. package/OnlineFormUrlSuccess-3dfc54ab.mjs +0 -59
  134. package/OnlineQueryForm-eedb9a60.mjs +0 -466
  135. package/OnlineTabForm-27655c83.mjs +0 -817
  136. package/SetSwitchOptions-b2af757f.mjs +0 -62
  137. package/SuperQuery-a8592995.mjs +0 -967
  138. package/index-1d1a6e56.mjs +0 -57
  139. package/useCgformList-f41d4dc1.mjs +0 -426
  140. package/useExtendComponent-dcae5c78.mjs +0 -4399
  141. package/useListButton-bfac4ecf.mjs +0 -697
  142. /package/{OnlineForm.vue_vue_type_style_index_0_scoped_4657b304_lang-4ed993c7.mjs → OnlineForm.vue_vue_type_style_index_0_scoped_3f26e7bd_lang-4ed993c7.mjs} +0 -0
@@ -0,0 +1,441 @@
1
+ var D = (T, M, c) => new Promise((E, p) => {
2
+ var O = (n) => {
3
+ try {
4
+ m(c.next(n));
5
+ } catch (C) {
6
+ p(C);
7
+ }
8
+ }, F = (n) => {
9
+ try {
10
+ m(c.throw(n));
11
+ } catch (C) {
12
+ p(C);
13
+ }
14
+ }, m = (n) => n.done ? E(n.value) : Promise.resolve(n.value).then(O, F);
15
+ m((c = c.apply(T, M)).next());
16
+ });
17
+ import { ref as H, provide as Qe, watch as U, resolveComponent as N, openBlock as l, createElementBlock as g, Fragment as A, unref as e, createBlock as s, createCommentVNode as d, withDirectives as W, vShow as G, normalizeClass as je, withCtx as i, createElementVNode as k, toDisplayString as f, renderList as Ue, createTextVNode as K, createVNode as b, mergeProps as We, toHandlers as Ge, resolveDynamicComponent as Xe, normalizeProps as Ye, guardReactiveProps as Ze } from "vue";
18
+ import { BasicTable as eo, TableAction as oo } from "/@/components/Table";
19
+ import { useMessage as to } from "/@/hooks/web/useMessage";
20
+ import no from "./OnlineAutoModal-c0743caf.mjs";
21
+ import lo from "./OnlineCustomModal-661ee850.mjs";
22
+ import X from "./OnlineDetailModal-785e848e.mjs";
23
+ import io from "/@/components/Form/src/jeecg/components/JImportModal.vue";
24
+ import { u as ro, a as ao } from "./useListButton-ee23874a.mjs";
25
+ import { u as co, a as so, O as uo } from "./useExtendComponent-3f5734ca.mjs";
26
+ import po from "./OnlineQueryForm-ca6186a3.mjs";
27
+ import { u as mo } from "./useOnlinePopEvent-687070b7.mjs";
28
+ import { E as go, a as Y } from "./constant-fa63bd66.mjs";
29
+ import { cloneDeep as fo } from "lodash-es";
30
+ import "/@/components/Modal";
31
+ import "./OnlineForm-c1fb38eb.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_3f26e7bd_lang-4ed993c7.mjs";
49
+ import "./index-f3683351.mjs";
50
+ import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
51
+ import "vue-router";
52
+ import "/@/components/jeecg/comment/CommentPanel.vue";
53
+ import "./OnlineFormDetail-50186870.mjs";
54
+ import "./DetailForm-c127c27f.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-be1ad3b9.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-179035c7.mjs";
78
+ import "/@/assets/images/placeholderImage.png";
79
+ import "./OnlineSelectCascade-a3e686b3.mjs";
80
+ import "./JModalTip-192fafa1.mjs";
81
+ import "@vueuse/core";
82
+ import "/@/components/Form/src/jeecg/components/JRangeNumber.vue";
83
+ const bo = {
84
+ key: 0,
85
+ style: { "font-size": "12px", "font-style": "italic" }
86
+ }, yo = {
87
+ key: 0,
88
+ style: { "font-size": "12px", "font-style": "italic" }
89
+ }, Co = ["src", "onClick"], ho = ["innerHTML", "onClick"], ko = ["innerHTML"], So = ["title"], $t = {
90
+ __name: "OnlCgformErpSubTable",
91
+ props: ["data", "mainTableSelectedRowRcord"],
92
+ emits: ["getSource"],
93
+ setup(T, { emit: M }) {
94
+ const c = T, E = M, p = H(!1), O = {
95
+ cacheKey: `online_erp_subTable_${c.data.currentTableName}`
96
+ }, { createMessage: F } = to(), {
97
+ ID: m,
98
+ onlineTableContext: n,
99
+ onlineQueryFormOuter: C,
100
+ loading: B,
101
+ reload: h,
102
+ dataSource: S,
103
+ pagination: $,
104
+ handleSpecialConfig: Z,
105
+ getColumnList: _o,
106
+ handleChangeInTable: ee,
107
+ loadData: oe,
108
+ onlineExtConfigJson: J,
109
+ handleFormConfig: te,
110
+ registerCustomModal: ne,
111
+ tableReloading: L
112
+ } = ro({ code: c.data.code, themeTemplate: go });
113
+ n.isErpSubTable = !0;
114
+ let { initCgEnhanceJs: le } = co(n);
115
+ const {
116
+ buttonSwitch: _,
117
+ cgLinkButtonList: vo,
118
+ cgBIBtnMap: r,
119
+ getQueryButtonCfg: ie,
120
+ getResetButtonCfg: re,
121
+ getFormConfirmButtonCfg: ae,
122
+ cgTopButtonList: x,
123
+ importUrl: ce,
124
+ registerModal: se,
125
+ handleAdd: ue,
126
+ handleEdit: To,
127
+ handleBatchDelete: pe,
128
+ registerImportModal: de,
129
+ onImportExcel: me,
130
+ onExportExcel: ge,
131
+ cgButtonJsHandler: fe,
132
+ cgButtonActionHandler: be,
133
+ cgButtonLinkHandler: Bo,
134
+ handleSubmitFlow: Io,
135
+ getDropDownActions: ye,
136
+ getActions: Ce,
137
+ initButtonList: he,
138
+ initButtonSwitch: ke,
139
+ registerDetailModal: Se,
140
+ registerBpmModal: Ro
141
+ } = ao(n, J), P = H(!1);
142
+ function _e() {
143
+ return D(this, null, function* () {
144
+ try {
145
+ P.value = !0, yield ge();
146
+ } finally {
147
+ setTimeout(() => P.value = !1, 1500);
148
+ }
149
+ });
150
+ }
151
+ const {
152
+ columns: ve,
153
+ actionColumn: Te,
154
+ selectedKeys: z,
155
+ rowSelection: Be,
156
+ enableScrollBar: Ie,
157
+ tableScroll: Re,
158
+ downloadRowFile: we,
159
+ getImgView: Me,
160
+ getPcaText: V,
161
+ getFormatDate: Ee,
162
+ handleColumnResult: Oe,
163
+ hrefComponent: I,
164
+ viewOnlineCellImage: Fe,
165
+ hrefMainTableId: Le,
166
+ registerOnlineHrefModal: xe,
167
+ registerPopModal: Pe,
168
+ openPopModal: De,
169
+ onlinePopModalRef: He,
170
+ popTableId: q,
171
+ handleClickFieldHref: Ne
172
+ } = so(n, J);
173
+ Ae(fo(c.data));
174
+ const Q = H(null), R = c.data.foreignKeys;
175
+ let j;
176
+ if (R != null && R.length) {
177
+ const t = R[0], a = t.field;
178
+ j = t.key, n.foreignKeyField = a;
179
+ } else
180
+ n.foreignKeyField = null, n.foreignKeyValue = null;
181
+ Qe("foreignkey", Q), U(
182
+ () => c.mainTableSelectedRowRcord,
183
+ (t) => {
184
+ var a;
185
+ if ($.value.current = 1, z.value = [], (a = C.value) == null || a.clearSearch(), t) {
186
+ if (n.foreignKeyField) {
187
+ const w = t[j];
188
+ n.foreignKeyValue = w, Q.value = { field: n.foreignKeyField, value: w };
189
+ }
190
+ p.value = !0, B.value = !0, oe().finally(() => {
191
+ B.value = !1;
192
+ });
193
+ } else
194
+ p.value = !1, S.value = [];
195
+ },
196
+ {
197
+ immediate: !0
198
+ }
199
+ ), U(
200
+ () => S.value,
201
+ () => {
202
+ E("getSource", c.data.currentTableName, S.value);
203
+ },
204
+ { immediate: !0 }
205
+ );
206
+ function Ae(t) {
207
+ return D(this, null, function* () {
208
+ Ke(t), B.value = !1, n.execButtonEnhance("setup");
209
+ });
210
+ }
211
+ function Ke(t) {
212
+ let a = le(t.enhanceJs);
213
+ n.EnhanceJS = a, he(t.cgButtonList), ke(t.hideColumns), Oe(t), Z(t);
214
+ }
215
+ function $e(t) {
216
+ n.queryParam = t, h({ mode: "search" });
217
+ }
218
+ function Je(t) {
219
+ q.value = t.id;
220
+ let a = {
221
+ title: t.describe
222
+ };
223
+ t.record && t.record.id && (a.record = t.record, a.isUpdate = !0), De(!0, a);
224
+ }
225
+ mo(Je);
226
+ const ze = () => {
227
+ c.data.relationType == 1 && S.value.length ? F.warning("一对一的表只能新增一条数据") : ue();
228
+ };
229
+ return (t, a) => {
230
+ const w = N("a-skeleton"), y = N("a-button"), Ve = N("a-modal");
231
+ return l(), g(A, null, [
232
+ e(L) ? (l(), s(w, {
233
+ key: 0,
234
+ active: ""
235
+ })) : d("", !0),
236
+ T.mainTableSelectedRowRcord ? W((l(), s(po, {
237
+ key: 1,
238
+ ref_key: "onlineQueryFormOuter",
239
+ ref: C,
240
+ id: e(m),
241
+ queryBtnCfg: e(ie),
242
+ resetBtnCfg: e(re),
243
+ onSearch: $e
244
+ }, null, 8, ["id", "queryBtnCfg", "resetBtnCfg"])), [
245
+ [G, !e(L)]
246
+ ]) : d("", !0),
247
+ e(L) ? d("", !0) : (l(), s(e(eo), {
248
+ key: 2,
249
+ ref: "onlineTable",
250
+ rowKey: "jeecg_row_key",
251
+ canResize: !0,
252
+ bordered: !0,
253
+ showIndexColumn: !1,
254
+ loading: e(B),
255
+ columns: e(ve),
256
+ dataSource: e(S),
257
+ pagination: e($),
258
+ rowSelection: e(Be),
259
+ actionColumn: e(Te),
260
+ showTableSetting: !0,
261
+ clickToRowSelect: !1,
262
+ scroll: e(Re),
263
+ onTableRedo: e(h),
264
+ class: je({ "j-table-force-nowrap": e(Ie) }),
265
+ tableSetting: O,
266
+ onChange: e(ee),
267
+ minHeight: 300
268
+ }, {
269
+ tableTitle: i(() => [
270
+ p.value && e(_).add && e(r).add.enabled ? (l(), s(y, {
271
+ key: 0,
272
+ type: "primary",
273
+ preIcon: e(r).add.buttonIcon,
274
+ onClick: ze
275
+ }, {
276
+ default: i(() => [
277
+ k("span", null, f(e(r).add.buttonName), 1)
278
+ ]),
279
+ _: 1
280
+ }, 8, ["preIcon"])) : d("", !0),
281
+ p.value && e(_).import && e(r).import.enabled ? (l(), s(y, {
282
+ key: 1,
283
+ type: "primary",
284
+ preIcon: e(r).import.buttonIcon,
285
+ onClick: e(me)
286
+ }, {
287
+ default: i(() => [
288
+ k("span", null, f(e(r).import.buttonName), 1)
289
+ ]),
290
+ _: 1
291
+ }, 8, ["preIcon", "onClick"])) : d("", !0),
292
+ p.value && e(_).export && e(r).export.enabled ? (l(), s(y, {
293
+ key: 2,
294
+ type: "primary",
295
+ preIcon: e(r).export.buttonIcon,
296
+ loading: P.value,
297
+ onClick: _e
298
+ }, {
299
+ default: i(() => [
300
+ k("span", null, f(e(r).export.buttonName), 1)
301
+ ]),
302
+ _: 1
303
+ }, 8, ["preIcon", "loading"])) : d("", !0),
304
+ p.value && e(x) && e(x).length > 0 ? (l(!0), g(A, { key: 3 }, Ue(e(x), (o, u) => (l(), g(A, null, [
305
+ o.optType == "js" ? (l(), s(y, {
306
+ key: "cgbtn" + u,
307
+ onClick: (v) => e(fe)(o.buttonCode),
308
+ type: "primary",
309
+ preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
310
+ }, {
311
+ default: i(() => [
312
+ K(f(o.buttonName), 1)
313
+ ]),
314
+ _: 2
315
+ }, 1032, ["onClick", "preIcon"])) : o.optType == "action" ? (l(), s(y, {
316
+ key: "cgbtn" + u,
317
+ onClick: (v) => e(be)(o.buttonCode),
318
+ type: "primary",
319
+ preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
320
+ }, {
321
+ default: i(() => [
322
+ K(f(o.buttonName), 1)
323
+ ]),
324
+ _: 2
325
+ }, 1032, ["onClick", "preIcon"])) : d("", !0)
326
+ ], 64))), 256)) : d("", !0),
327
+ e(_).batch_delete && e(r).batch_delete.enabled ? W((l(), s(y, {
328
+ key: 4,
329
+ preIcon: e(r).batch_delete.buttonIcon,
330
+ onClick: e(pe)
331
+ }, {
332
+ default: i(() => [
333
+ k("span", null, f(e(r).batch_delete.buttonName), 1)
334
+ ]),
335
+ _: 1
336
+ }, 8, ["preIcon", "onClick"])), [
337
+ [G, e(z).length > 0]
338
+ ]) : d("", !0)
339
+ ]),
340
+ fileSlot: i(({ text: o, record: u, column: v }) => [
341
+ o ? (l(), s(y, {
342
+ key: 1,
343
+ ghost: !0,
344
+ type: "primary",
345
+ preIcon: "ant-design:download",
346
+ size: "small",
347
+ onClick: (qe) => e(we)(o, u, v, e(m))
348
+ }, {
349
+ default: i(() => a[0] || (a[0] = [
350
+ K(" 下载 ")
351
+ ])),
352
+ _: 2
353
+ }, 1032, ["onClick"])) : (l(), g("span", bo, "无文件"))
354
+ ]),
355
+ imgSlot: i(({ text: o }) => [
356
+ o ? (l(), g("img", {
357
+ key: 1,
358
+ src: e(Me)(o),
359
+ alt: "图片不存在",
360
+ class: "online-cell-image",
361
+ onClick: (u) => e(Fe)(o)
362
+ }, null, 8, Co)) : (l(), g("span", yo, "无图片"))
363
+ ]),
364
+ htmlSlot: i(({ text: o, column: u, record: v }) => [
365
+ u.fieldHref ? (l(), g("a", {
366
+ key: 0,
367
+ innerHTML: o,
368
+ onClick: (qe) => e(Ne)(u.fieldHref, v)
369
+ }, null, 8, ho)) : (l(), g("div", {
370
+ key: 1,
371
+ innerHTML: o
372
+ }, null, 8, ko))
373
+ ]),
374
+ pcaSlot: i(({ text: o }) => [
375
+ k("div", {
376
+ title: e(V)(o)
377
+ }, f(e(V)(o)), 9, So)
378
+ ]),
379
+ dateSlot: i(({ text: o, column: u }) => [
380
+ k("span", null, f(e(Ee)(o, u)), 1)
381
+ ]),
382
+ action: i(({ record: o }) => [
383
+ b(e(oo), {
384
+ actions: e(Ce)(o),
385
+ dropDownActions: e(ye)(o)
386
+ }, null, 8, ["actions", "dropDownActions"])
387
+ ]),
388
+ _: 1
389
+ }, 8, ["loading", "columns", "dataSource", "pagination", "rowSelection", "actionColumn", "scroll", "onTableRedo", "class", "onChange"])),
390
+ b(no, {
391
+ onRegister: e(se),
392
+ id: e(m),
393
+ source: e(Y),
394
+ cgBIBtnMap: e(r),
395
+ buttonSwitch: e(_),
396
+ confirmBtnCfg: e(ae),
397
+ onSuccess: e(h),
398
+ onFormConfig: e(te)
399
+ }, null, 8, ["onRegister", "id", "source", "cgBIBtnMap", "buttonSwitch", "confirmBtnCfg", "onSuccess", "onFormConfig"]),
400
+ b(X, {
401
+ source: e(Y),
402
+ id: e(m),
403
+ onRegister: e(Se)
404
+ }, null, 8, ["source", "id", "onRegister"]),
405
+ b(io, {
406
+ onRegister: e(de),
407
+ url: e(ce)(),
408
+ onOk: e(h),
409
+ online: ""
410
+ }, null, 8, ["onRegister", "url", "onOk"]),
411
+ b(Ve, We(e(I).model, Ge(e(I).on)), {
412
+ default: i(() => [
413
+ (l(), s(Xe(e(I).is), Ye(Ze(e(I).params)), null, 16))
414
+ ]),
415
+ _: 1
416
+ }, 16),
417
+ b(lo, {
418
+ onRegister: e(ne),
419
+ onSuccess: e(h)
420
+ }, null, 8, ["onRegister", "onSuccess"]),
421
+ b(X, {
422
+ id: e(Le),
423
+ onRegister: e(xe),
424
+ defaultFullscreen: !1
425
+ }, null, 8, ["id", "onRegister"]),
426
+ b(uo, {
427
+ ref_key: "onlinePopModalRef",
428
+ ref: He,
429
+ id: e(q),
430
+ onRegister: e(Pe),
431
+ onSuccess: e(h),
432
+ request: "",
433
+ topTip: ""
434
+ }, null, 8, ["id", "onRegister", "onSuccess"])
435
+ ], 64);
436
+ };
437
+ }
438
+ };
439
+ export {
440
+ $t as default
441
+ };
@@ -1,33 +1,33 @@
1
- var I = (T, g, p) => new Promise((a, n) => {
2
- var f = (i) => {
1
+ var I = (h, g, p) => new Promise((a, n) => {
2
+ var f = (l) => {
3
3
  try {
4
- b(p.next(i));
4
+ b(p.next(l));
5
5
  } catch (_) {
6
6
  n(_);
7
7
  }
8
- }, c = (i) => {
8
+ }, c = (l) => {
9
9
  try {
10
- b(p.throw(i));
10
+ b(p.throw(l));
11
11
  } catch (_) {
12
12
  n(_);
13
13
  }
14
- }, b = (i) => i.done ? a(i.value) : Promise.resolve(i.value).then(f, c);
15
- b((p = p.apply(T, g)).next());
14
+ }, b = (l) => l.done ? a(l.value) : Promise.resolve(l.value).then(f, c);
15
+ b((p = p.apply(h, g)).next());
16
16
  });
17
17
  import { watch as re, resolveComponent as M, openBlock as r, createElementBlock as d, Fragment as ae, unref as e, createBlock as S, normalizeClass as se, withCtx as m, createTextVNode as me, createElementVNode as w, toDisplayString as v, createCommentVNode as pe, createVNode as u, mergeProps as ce, toHandlers as de, resolveDynamicComponent as ue, normalizeProps as ge, guardReactiveProps as fe } from "vue";
18
18
  import { BasicTable as be } from "/@/components/Table";
19
19
  import { useMessage as _e } from "/@/hooks/web/useMessage";
20
- import he from "./OnlineCustomModal-9e17b6ce.mjs";
21
- import O from "./OnlineDetailModal-d5895734.mjs";
22
- import Te from "/@/components/Form/src/jeecg/components/JImportModal.vue";
23
- import { u as Ce, a as Se } from "./useListButton-bfac4ecf.mjs";
24
- import { u as Re, a as ke, O as ye } from "./useExtendComponent-dcae5c78.mjs";
20
+ import Te from "./OnlineCustomModal-661ee850.mjs";
21
+ import O from "./OnlineDetailModal-785e848e.mjs";
22
+ import he from "/@/components/Form/src/jeecg/components/JImportModal.vue";
23
+ import { u as Ce, a as Se } from "./useListButton-ee23874a.mjs";
24
+ import { u as Re, a as ke, O as ye } from "./useExtendComponent-3f5734ca.mjs";
25
25
  import { u as Ie } from "./useOnlinePopEvent-687070b7.mjs";
26
26
  import { I as Me } from "./constant-fa63bd66.mjs";
27
27
  import "/@/components/Table/src/const";
28
28
  import "/@/components/Modal";
29
29
  import "/@/utils/http/axios";
30
- import "./OnlineForm-9f1153ba.mjs";
30
+ import "./OnlineForm-c1fb38eb.mjs";
31
31
  import "/@/components/Form/index";
32
32
  import "lodash-es";
33
33
  import "/@/utils";
@@ -44,12 +44,12 @@ import "/@/store/modules/user";
44
44
  import "/@/hooks/web/useAppInject";
45
45
  import "/@/utils/is";
46
46
  import "/@/store/modules/permission";
47
- import "./OnlineForm.vue_vue_type_style_index_0_scoped_4657b304_lang-4ed993c7.mjs";
48
- import "./index-1d1a6e56.mjs";
47
+ import "./OnlineForm.vue_vue_type_style_index_0_scoped_3f26e7bd_lang-4ed993c7.mjs";
48
+ import "./index-f3683351.mjs";
49
49
  import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
50
50
  import "vue-router";
51
- import "./OnlineFormDetail-022ca117.mjs";
52
- import "./DetailForm-deecbf3d.mjs";
51
+ import "./OnlineFormDetail-50186870.mjs";
52
+ import "./DetailForm-c127c27f.mjs";
53
53
  import "/@/utils/propTypes";
54
54
  import "/@/utils/dict";
55
55
  import "/@/utils/dict/JDictSelectUtil";
@@ -58,7 +58,7 @@ import "/@/api/common/api";
58
58
  import "/@/components/Form/src/utils/Area";
59
59
  import "/@/components/Preview/index";
60
60
  import "/@/components/Markdown";
61
- import "./OnlineSubFormDetail-58e896ce.mjs";
61
+ import "./OnlineSubFormDetail-be1ad3b9.mjs";
62
62
  import "/@/components/jeecg/comment/CommentPanel.vue";
63
63
  import "/@/router";
64
64
  import "/@/hooks/core/onMountedOrActivated";
@@ -73,10 +73,10 @@ import "/@/components/Form/src/jeecg/components/JUpload";
73
73
  import "/@/views/system/user/user.api";
74
74
  import "/@/utils/desform/customExpression";
75
75
  import "/@/hooks/system/useListPage";
76
- import "./LinkTableListPiece-f3a8e0d7.mjs";
76
+ import "./LinkTableListPiece-179035c7.mjs";
77
77
  import "/@/assets/images/placeholderImage.png";
78
- import "./OnlineSelectCascade-05c40fef.mjs";
79
- import "./JModalTip-b055ab60.mjs";
78
+ import "./OnlineSelectCascade-a3e686b3.mjs";
79
+ import "./JModalTip-192fafa1.mjs";
80
80
  import "@vueuse/core";
81
81
  const we = {
82
82
  key: 0,
@@ -87,14 +87,14 @@ const we = {
87
87
  }, Oe = ["src", "onClick"], Be = ["innerHTML", "onClick"], Pe = ["innerHTML"], Ee = ["title"], Uo = {
88
88
  __name: "OnlCgformInnerSubTable",
89
89
  props: ["subTableId", "subTableName", "mTableSelectedRcordId"],
90
- setup(T) {
91
- const g = T, { createMessage: p } = _e(), {
90
+ setup(h) {
91
+ const g = h, { createMessage: p } = _e(), {
92
92
  ID: a,
93
93
  onlineTableContext: n,
94
94
  loading: f,
95
95
  reload: c,
96
96
  dataSource: b,
97
- handleSpecialConfig: i,
97
+ handleSpecialConfig: l,
98
98
  getColumnList: _,
99
99
  handleChangeInTable: B,
100
100
  loadData: P,
@@ -120,7 +120,7 @@ const we = {
120
120
  getPcaText: k,
121
121
  getFormatDate: j,
122
122
  handleColumnResult: U,
123
- hrefComponent: h,
123
+ hrefComponent: T,
124
124
  viewOnlineCellImage: q,
125
125
  hrefMainTableId: G,
126
126
  registerOnlineHrefModal: Q,
@@ -139,24 +139,24 @@ const we = {
139
139
  );
140
140
  function ee() {
141
141
  return I(this, null, function* () {
142
- var l;
142
+ var i;
143
143
  f.value = !0;
144
144
  let o = yield _(Me);
145
- oe(o), (l = o.foreignKeys) != null && l.length && (n.innerSubTableFk = o.foreignKeys[0].field), yield P(), f.value = !1, n.execButtonEnhance("setup");
145
+ oe(o), (i = o.foreignKeys) != null && i.length && (n.innerSubTableFk = o.foreignKeys[0].field), yield P(), f.value = !1, n.execButtonEnhance("setup");
146
146
  });
147
147
  }
148
148
  function oe(o) {
149
- let l = H(o.enhanceJs);
150
- n.EnhanceJS = l, D(o.cgButtonList), z(o.hideColumns), U(o), i(o);
149
+ let i = H(o.enhanceJs);
150
+ n.EnhanceJS = i, D(o.cgButtonList), z(o.hideColumns), U(o), l(o);
151
151
  }
152
152
  function te(o) {
153
153
  y.value = o.id;
154
- let l = {
154
+ let i = {
155
155
  title: o.describe
156
156
  };
157
- o.record && o.record.id && (l.record = o.record, l.isUpdate = !0), X(!0, l);
157
+ o.record && o.record.id && (i.record = o.record, i.isUpdate = !0), X(!0, i);
158
158
  }
159
- return Ie(te), (o, l) => {
159
+ return Ie(te), (o, i) => {
160
160
  const ne = M("a-button"), ie = M("a-modal");
161
161
  return r(), d(ae, null, [
162
162
  e(L) ? pe("", !0) : (r(), S(e(be), {
@@ -187,9 +187,9 @@ const we = {
187
187
  size: "small",
188
188
  onClick: (le) => e(A)(t, s, C, e(a))
189
189
  }, {
190
- default: m(() => [
190
+ default: m(() => i[0] || (i[0] = [
191
191
  me(" 下载 ")
192
- ]),
192
+ ])),
193
193
  _: 2
194
194
  }, 1032, ["onClick"])) : (r(), d("span", we, "无文件"))
195
195
  ]),
@@ -226,19 +226,19 @@ const we = {
226
226
  id: e(a),
227
227
  onRegister: e(F)
228
228
  }, null, 8, ["id", "onRegister"]),
229
- u(Te, {
229
+ u(he, {
230
230
  onRegister: e(x),
231
231
  url: e(N)(),
232
232
  onOk: e(c),
233
233
  online: ""
234
234
  }, null, 8, ["onRegister", "url", "onOk"]),
235
- u(ie, ce(e(h).model, de(e(h).on)), {
235
+ u(ie, ce(e(T).model, de(e(T).on)), {
236
236
  default: m(() => [
237
- (r(), S(ue(e(h).is), ge(fe(e(h).params)), null, 16))
237
+ (r(), S(ue(e(T).is), ge(fe(e(T).params)), null, 16))
238
238
  ]),
239
239
  _: 1
240
240
  }, 16),
241
- u(he, {
241
+ u(Te, {
242
242
  onRegister: e(E),
243
243
  onSuccess: e(c)
244
244
  }, null, 8, ["onRegister", "onSuccess"]),