@jeecg/online 3.6.2-GA → 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.
- package/AiModal-fe3988fb.mjs +84 -0
- package/AuthButtonConfig-d50a0a65.mjs +134 -0
- package/{AuthButtonTree-c2602a7c.mjs → AuthButtonTree-589395ed.mjs} +2 -2
- package/AuthDataConfig-7bb0cd85.mjs +237 -0
- package/{AuthDataTree-9dc58b20.mjs → AuthDataTree-6e3bb86f.mjs} +1 -1
- package/AuthFieldConfig-490fc0ab.mjs +139 -0
- package/{AuthFieldTree-d836be59.mjs → AuthFieldTree-b7cd091e.mjs} +1 -1
- package/AuthManagerDrawer-5e2ed5ce.mjs +118 -0
- package/AuthSetterModal-6f74449c.mjs +273 -0
- package/{CgformCopyList-86157923.mjs → CgformCopyList-8077ccc6.mjs} +47 -45
- package/{CgformModal-5cf02d51.mjs → CgformModal-36faf29a.mjs} +256 -246
- package/{CgreportModal.vue_vue_type_script_setup_true_lang-c2ceb064.mjs → CgreportModal-5a23d089.mjs} +140 -117
- package/CheckDictTable-b5cb0e2b.mjs +226 -0
- package/{CodeFileListModal-f747daae.mjs → CodeFileListModal-0e26b7e0.mjs} +2 -2
- package/{CodeFileViewModal-a9fb2900.mjs → CodeFileViewModal-9d4a5b5f.mjs} +36 -32
- package/CodeGeneratorModal-b722d976.mjs +238 -0
- package/{CustomButtonList-b9b27a93.mjs → CustomButtonList-37639061.mjs} +118 -100
- package/{DBAttributeTable-6bdcb1e8.mjs → DBAttributeTable-95dc66c1.mjs} +110 -89
- package/{DbToOnlineModal-3705e91a.mjs → DbToOnlineModal-f49b9530.mjs} +56 -50
- package/DetailForm-4aa2570b.mjs +485 -0
- package/{EnhanceJavaModal-c13de6e0.mjs → EnhanceJavaModal-98934198.mjs} +3 -3
- package/{EnhanceJsHistory-154101f0.mjs → EnhanceJsHistory-9c4acdaf.mjs} +2 -2
- package/EnhanceJsModal-247f640d.mjs +532 -0
- package/{EnhanceSqlModal-221c22dc.mjs → EnhanceSqlModal-65b74b0f.mjs} +3 -3
- package/ExtendConfigModal-00f2fb55.mjs +117 -0
- package/FieldExtendJsonModal-cc7fce26.mjs +277 -0
- package/{FileSelectModal-de40a706.mjs → FileSelectModal-38660e3c.mjs} +1 -1
- package/{ForeignKeyTable-22989042.mjs → ForeignKeyTable-a78cb5ad.mjs} +3 -3
- package/{IndexTable-833d34ff.mjs → IndexTable-1b496559.mjs} +10 -10
- package/{JModalTip-0413ad6a.mjs → JModalTip-4a83aaed.mjs} +1 -1
- package/{JOnlineSearchSelect-9ea89e13.mjs → JOnlineSearchSelect-34a37ec9.mjs} +1 -1
- package/{LeftDepart-b0a535c0.mjs → LeftDepart-8ade4bf7.mjs} +1 -1
- package/{LeftRole-22c90d6b.mjs → LeftRole-7d8c5acc.mjs} +1 -1
- package/{LeftUser-a44d63dd.mjs → LeftUser-b4d1372a.mjs} +3 -3
- package/LinkTableConfigModal-a138c85e.mjs +240 -0
- package/{LinkTableFieldConfigModal-06693eaa.mjs → LinkTableFieldConfigModal-17b413b0.mjs} +41 -41
- package/{LinkTableListPiece-46e8af51.mjs → LinkTableListPiece-2660d709.mjs} +1 -1
- package/{ModalFormDemo-d107fa87.mjs → ModalFormDemo-0544737d.mjs} +1 -1
- package/OnlCgformErpList-30e416c8.mjs +470 -0
- package/OnlCgformErpSubTable-9a876058.mjs +427 -0
- package/OnlCgformInnerSubTable-290ace5d.mjs +266 -0
- package/OnlCgformInnerTableList-f89b6687.mjs +458 -0
- package/OnlCgformTabList-7a2f2c03.mjs +408 -0
- package/OnlineAutoList-46c6c8b9.mjs +493 -0
- package/OnlineAutoModal-971bef13.mjs +236 -0
- package/{OnlineAutoTreeList-ec27d271.mjs → OnlineAutoTreeList-3b92454c.mjs} +206 -204
- package/{OnlineCustomModal-3e6792d3.mjs → OnlineCustomModal-594244f3.mjs} +15 -11
- package/{OnlineDetailModal-f40e37e1.mjs → OnlineDetailModal-2a271e0b.mjs} +74 -64
- package/OnlineForm-018981b2.mjs +924 -0
- package/OnlineForm.vue_vue_type_style_index_0_scoped_0f9f2964_lang-4ed993c7.mjs +1 -0
- package/OnlineFormDetail-e036cd11.mjs +342 -0
- package/OnlineFormUrlAdd-7fb3dcca.mjs +115 -0
- package/OnlineFormUrlDetail-b2292137.mjs +119 -0
- package/OnlineFormUrlEdit-44080fb3.mjs +113 -0
- package/OnlineFormUrlSuccess-af285b02.mjs +59 -0
- package/OnlineQueryForm-998c12a4.mjs +444 -0
- package/{OnlineSearchFormItem-fe308194.mjs → OnlineSearchFormItem-6feacae6.mjs} +2 -2
- package/{OnlineSelectCascade-abc345f9.mjs → OnlineSelectCascade-471fcc76.mjs} +1 -1
- package/{OnlineSubFormDetail-02326a8c.mjs → OnlineSubFormDetail-03f8ee5c.mjs} +29 -27
- package/OnlineTabAutoModal-7b9bcd0b.mjs +306 -0
- package/{OnlineTabDetailModal-d23bd4c9.mjs → OnlineTabDetailModal-88143301.mjs} +22 -20
- package/OnlineTabForm-9ad7d29a.mjs +805 -0
- package/OnlineTabFormDetail-bbf23caa.mjs +327 -0
- package/PageAttributeTable-6c23547b.mjs +446 -0
- package/{ProcessOnlineForm-84f4d02d.mjs → ProcessOnlineForm-b42198f5.mjs} +32 -28
- package/QueryTable-96b3dbd0.mjs +144 -0
- package/SetSwitchOptions-a452fa0f.mjs +62 -0
- package/SuperQuery-cbfba908.mjs +975 -0
- package/{auth.data-8be5c9e3.mjs → auth.data-22948e87.mjs} +56 -14
- package/{cgform.data-cbdd88c3.mjs → cgform.data-475d4984.mjs} +5 -1
- package/constant-fa63bd66.mjs +10 -0
- package/{enhance.data-efc7e155.mjs → enhance.data-3304d553.mjs} +3 -3
- package/index-173949bb.mjs +57 -0
- package/{index-0a93652b.mjs → index-581bef24.mjs} +29 -27
- package/{index-e1bda35b.mjs → index-d2abb8a0.mjs} +394 -361
- package/main.index.js +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/useCgformList-8755a94e.mjs +426 -0
- package/useExtendComponent-bb7cca20.mjs +4295 -0
- package/useFormUrl-2ee1a82d.mjs +24 -0
- package/useListButton-7ddb9a46.mjs +697 -0
- package/{useSchemas-0433a403.mjs → useSchemas-47e45edc.mjs} +167 -86
- package/{useTableSync-774c3774.mjs → useTableSync-f6089e8a.mjs} +1 -1
- package/AuthButtonConfig-f142147a.mjs +0 -125
- package/AuthDataConfig-8e5c7b0c.mjs +0 -212
- package/AuthFieldConfig-e9a45f94.mjs +0 -139
- package/AuthManagerDrawer-5b558c23.mjs +0 -114
- package/AuthSetterModal-0cc557cf.mjs +0 -267
- package/CgreportModal-2eb9c9e1.mjs +0 -13
- package/CheckDictTable-27102064.mjs +0 -211
- package/CodeGeneratorModal-3a0e9f0e.mjs +0 -233
- package/DetailForm-cdeb54e3.mjs +0 -462
- package/EnhanceJsModal-6158804c.mjs +0 -311
- package/ExtendConfigModal-0564ef83.mjs +0 -111
- package/FieldExtendJsonModal-40d961c1.mjs +0 -219
- package/LinkTableConfigModal-5edaa08d.mjs +0 -230
- package/OnlCgformErpList-4c51cdb3.mjs +0 -454
- package/OnlCgformErpSubTable-d7081b9f.mjs +0 -403
- package/OnlCgformInnerSubTable-4c3925bb.mjs +0 -253
- package/OnlCgformInnerTableList-1e5014fa.mjs +0 -444
- package/OnlCgformTabList-c59c7cc7.mjs +0 -395
- package/OnlineAutoList-a7a9de5d.mjs +0 -479
- package/OnlineAutoModal-a33f1a63.mjs +0 -207
- package/OnlineForm-fb3a2379.mjs +0 -750
- package/OnlineFormDetail-52b1c303.mjs +0 -297
- package/OnlineQueryForm-7c70734e.mjs +0 -386
- package/OnlineTabAutoModal-6d9da8b0.mjs +0 -254
- package/OnlineTabForm-29ca07f7.mjs +0 -766
- package/OnlineTabFormDetail-aa7e1144.mjs +0 -324
- package/PageAttributeTable-d82946c5.mjs +0 -404
- package/QueryTable-d4599fca.mjs +0 -115
- package/SuperQuery-07162778.mjs +0 -843
- package/constant-754f1a9d.mjs +0 -9
- package/index-73993b18.mjs +0 -56
- package/useCgformList-b135794d.mjs +0 -400
- package/useExtendComponent-f4e29152.mjs +0 -3926
- package/useListButton-4dd33e7a.mjs +0 -676
|
@@ -1,254 +0,0 @@
|
|
|
1
|
-
var A = (e, n, a) => new Promise((p, l) => {
|
|
2
|
-
var b = (t) => {
|
|
3
|
-
try {
|
|
4
|
-
r(a.next(t));
|
|
5
|
-
} catch (m) {
|
|
6
|
-
l(m);
|
|
7
|
-
}
|
|
8
|
-
}, u = (t) => {
|
|
9
|
-
try {
|
|
10
|
-
r(a.throw(t));
|
|
11
|
-
} catch (m) {
|
|
12
|
-
l(m);
|
|
13
|
-
}
|
|
14
|
-
}, r = (t) => t.done ? p(t.value) : Promise.resolve(t.value).then(b, u);
|
|
15
|
-
r((a = a.apply(e, n)).next());
|
|
16
|
-
});
|
|
17
|
-
import { defineComponent as x, ref as S, watch as ee, resolveComponent as d, openBlock as s, createBlock as h, mergeProps as te, createSlots as oe, withCtx as i, createElementBlock as w, Fragment as E, renderList as O, createTextVNode as g, toDisplayString as y, createCommentVNode as ne, createVNode as T, createElementVNode as B } from "vue";
|
|
18
|
-
import { BasicModal as ae } from "/@/components/Modal";
|
|
19
|
-
import ie from "./OnlineTabForm-29ca07f7.mjs";
|
|
20
|
-
import { b as re } from "./useExtendComponent-f4e29152.mjs";
|
|
21
|
-
import me from "/@/components/jeecg/comment/CommentPanel.vue";
|
|
22
|
-
import { T as le } from "./constant-754f1a9d.mjs";
|
|
23
|
-
import { _ as de } from "./index-73993b18.mjs";
|
|
24
|
-
import "/@/hooks/web/useMessage";
|
|
25
|
-
import "/@/components/Form/index";
|
|
26
|
-
import "/@/utils/http/axios";
|
|
27
|
-
import "lodash-es";
|
|
28
|
-
import "/@/utils";
|
|
29
|
-
import "/@/components/Loading";
|
|
30
|
-
import "/@/utils/auth";
|
|
31
|
-
import "@ant-design/icons-vue";
|
|
32
|
-
import "./useCustomHook-acb00837.mjs";
|
|
33
|
-
import "/@/utils/cache";
|
|
34
|
-
import "/@/utils/common/compUtils";
|
|
35
|
-
import "/@/store/modules/user";
|
|
36
|
-
import "/@/components/Form/src/componentMap";
|
|
37
|
-
import "/@/utils/propTypes";
|
|
38
|
-
import "/@/components/Form/src/jeecg/components/JUpload";
|
|
39
|
-
import "/@/views/system/user/user.api";
|
|
40
|
-
import "/@/utils/desform/customExpression";
|
|
41
|
-
import "/@/store/modules/permission";
|
|
42
|
-
import "/@/utils/dict/JDictSelectUtil";
|
|
43
|
-
import "/@/components/Table";
|
|
44
|
-
import "/@/hooks/system/useListPage";
|
|
45
|
-
import "vue-router";
|
|
46
|
-
import "/@/components/Form/src/utils/Area";
|
|
47
|
-
import "/@/components/Preview/index";
|
|
48
|
-
import "./LinkTableListPiece-46e8af51.mjs";
|
|
49
|
-
import "./OnlineSelectCascade-abc345f9.mjs";
|
|
50
|
-
import "./JModalTip-0413ad6a.mjs";
|
|
51
|
-
import "/@/hooks/web/useAppInject";
|
|
52
|
-
import "ant-design-vue";
|
|
53
|
-
import "@vueuse/core";
|
|
54
|
-
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
55
|
-
const se = x({
|
|
56
|
-
name: "OnlineTabAutoModal",
|
|
57
|
-
props: {
|
|
58
|
-
id: {
|
|
59
|
-
type: String,
|
|
60
|
-
default: ""
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
components: {
|
|
64
|
-
BasicModal: ae,
|
|
65
|
-
OnlineForm: ie,
|
|
66
|
-
CommentPanel: me
|
|
67
|
-
},
|
|
68
|
-
emits: ["success", "register", "formConfig"],
|
|
69
|
-
setup(e, { emit: n }) {
|
|
70
|
-
const a = S(), p = S([]), l = S("-1");
|
|
71
|
-
function b() {
|
|
72
|
-
a.value && a.value.reload();
|
|
73
|
-
}
|
|
74
|
-
const {
|
|
75
|
-
title: u,
|
|
76
|
-
modalWidth: r,
|
|
77
|
-
registerModal: t,
|
|
78
|
-
closeModal: m,
|
|
79
|
-
cgButtonList: v,
|
|
80
|
-
handleCgButtonClick: I,
|
|
81
|
-
disableSubmit: o,
|
|
82
|
-
handleSubmit: f,
|
|
83
|
-
submitLoading: V,
|
|
84
|
-
handleCancel: $,
|
|
85
|
-
handleFormConfig: L,
|
|
86
|
-
onlineFormCompRef: D,
|
|
87
|
-
formTemplate: P,
|
|
88
|
-
isTreeForm: j,
|
|
89
|
-
pidFieldName: W,
|
|
90
|
-
renderSuccess: H,
|
|
91
|
-
formRendered: U,
|
|
92
|
-
tableName: q,
|
|
93
|
-
formDataId: z,
|
|
94
|
-
enableComment: G,
|
|
95
|
-
onCloseEvent: F,
|
|
96
|
-
themeTemplate: J
|
|
97
|
-
} = re(!1, { emit: n }, b);
|
|
98
|
-
function K(c) {
|
|
99
|
-
n("success", c), m(), F(), _();
|
|
100
|
-
}
|
|
101
|
-
ee(() => e.id, Q, { immediate: !0 });
|
|
102
|
-
function Q() {
|
|
103
|
-
return A(this, null, function* () {
|
|
104
|
-
U.value = !1, e.id && (yield L(e.id, {}, (c) => {
|
|
105
|
-
const M = [], k = [], { head: R, schema: Y } = c, { properties: Z } = Y;
|
|
106
|
-
M.push({ tableName: R.tableName, tableTxt: R.tableTxt }), Object.entries(Z).forEach(([N, C]) => {
|
|
107
|
-
C.view == "tab" && k.push({ tableName: N, tableTxt: C.describe });
|
|
108
|
-
}), k.sort((N, C) => N.order - C.order), p.value = [...M, ...k];
|
|
109
|
-
}));
|
|
110
|
-
});
|
|
111
|
-
}
|
|
112
|
-
const X = (c) => String(c - 1), _ = () => {
|
|
113
|
-
setTimeout(() => {
|
|
114
|
-
l.value = "-1";
|
|
115
|
-
}, 500);
|
|
116
|
-
};
|
|
117
|
-
return {
|
|
118
|
-
title: u,
|
|
119
|
-
onlineFormCompRef: D,
|
|
120
|
-
renderSuccess: H,
|
|
121
|
-
registerModal: t,
|
|
122
|
-
handleSubmit: f,
|
|
123
|
-
handleSuccess: K,
|
|
124
|
-
handleCancel: $,
|
|
125
|
-
modalWidth: r,
|
|
126
|
-
formTemplate: P,
|
|
127
|
-
disableSubmit: o,
|
|
128
|
-
cgButtonList: v,
|
|
129
|
-
handleCgButtonClick: I,
|
|
130
|
-
isTreeForm: j,
|
|
131
|
-
pidFieldName: W,
|
|
132
|
-
submitLoading: V,
|
|
133
|
-
tableName: q,
|
|
134
|
-
formDataId: z,
|
|
135
|
-
enableComment: G,
|
|
136
|
-
commentPanelRef: a,
|
|
137
|
-
onCloseEvent: F,
|
|
138
|
-
themeTemplate: J,
|
|
139
|
-
tabNav: p,
|
|
140
|
-
tabValue: X,
|
|
141
|
-
tabIndex: l,
|
|
142
|
-
TAB: le,
|
|
143
|
-
restTabIndex: _
|
|
144
|
-
};
|
|
145
|
-
}
|
|
146
|
-
});
|
|
147
|
-
const pe = { class: "titleArea" }, ue = { class: "title" }, ce = { class: "right" };
|
|
148
|
-
function be(e, n, a, p, l, b) {
|
|
149
|
-
const u = d("a-radio-button"), r = d("a-radio-group"), t = d("a-button"), m = d("online-form"), v = d("comment-panel"), I = d("BasicModal");
|
|
150
|
-
return s(), h(I, te({
|
|
151
|
-
title: e.title,
|
|
152
|
-
onCancel: n[2] || (n[2] = () => {
|
|
153
|
-
e.onCloseEvent(), e.restTabIndex();
|
|
154
|
-
}),
|
|
155
|
-
enableComment: e.enableComment,
|
|
156
|
-
width: e.modalWidth
|
|
157
|
-
}, e.$attrs, {
|
|
158
|
-
maxHeight: 600,
|
|
159
|
-
onRegister: e.registerModal,
|
|
160
|
-
wrapClassName: "jeecg-online-modal",
|
|
161
|
-
onOk: e.handleSubmit
|
|
162
|
-
}), oe({
|
|
163
|
-
footer: i(() => [
|
|
164
|
-
(s(!0), w(E, null, O(e.cgButtonList, (o) => (s(), h(t, {
|
|
165
|
-
key: o.id,
|
|
166
|
-
type: "primary",
|
|
167
|
-
onClick: (f) => e.handleCgButtonClick(o.optType, o.buttonCode),
|
|
168
|
-
preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
|
|
169
|
-
}, {
|
|
170
|
-
default: i(() => [
|
|
171
|
-
g(y(o.buttonName), 1)
|
|
172
|
-
]),
|
|
173
|
-
_: 2
|
|
174
|
-
}, 1032, ["onClick", "preIcon"]))), 128)),
|
|
175
|
-
e.disableSubmit ? ne("", !0) : (s(), h(t, {
|
|
176
|
-
key: "submit",
|
|
177
|
-
type: "primary",
|
|
178
|
-
onClick: e.handleSubmit,
|
|
179
|
-
loading: e.submitLoading
|
|
180
|
-
}, {
|
|
181
|
-
default: i(() => [
|
|
182
|
-
g("确定")
|
|
183
|
-
]),
|
|
184
|
-
_: 1
|
|
185
|
-
}, 8, ["onClick", "loading"])),
|
|
186
|
-
T(t, {
|
|
187
|
-
key: "back",
|
|
188
|
-
onClick: n[1] || (n[1] = () => {
|
|
189
|
-
e.handleCancel(), e.restTabIndex();
|
|
190
|
-
})
|
|
191
|
-
}, {
|
|
192
|
-
default: i(() => [
|
|
193
|
-
g("关闭")
|
|
194
|
-
]),
|
|
195
|
-
_: 1
|
|
196
|
-
})
|
|
197
|
-
]),
|
|
198
|
-
comment: i(() => [
|
|
199
|
-
T(v, {
|
|
200
|
-
ref: "commentPanelRef",
|
|
201
|
-
tableName: e.tableName,
|
|
202
|
-
dataId: e.formDataId
|
|
203
|
-
}, null, 8, ["tableName", "dataId"])
|
|
204
|
-
]),
|
|
205
|
-
default: i(() => [
|
|
206
|
-
T(m, {
|
|
207
|
-
ref: "onlineFormCompRef",
|
|
208
|
-
id: e.id,
|
|
209
|
-
disabled: e.disableSubmit,
|
|
210
|
-
"form-template": e.formTemplate,
|
|
211
|
-
isTree: e.isTreeForm,
|
|
212
|
-
pidField: e.pidFieldName,
|
|
213
|
-
themeTemplate: e.themeTemplate,
|
|
214
|
-
tabIndex: e.tabIndex,
|
|
215
|
-
onRendered: e.renderSuccess,
|
|
216
|
-
onSuccess: e.handleSuccess
|
|
217
|
-
}, null, 8, ["id", "disabled", "form-template", "isTree", "pidField", "themeTemplate", "tabIndex", "onRendered", "onSuccess"])
|
|
218
|
-
]),
|
|
219
|
-
_: 2
|
|
220
|
-
}, [
|
|
221
|
-
e.themeTemplate === e.TAB ? {
|
|
222
|
-
name: "title",
|
|
223
|
-
fn: i(() => [
|
|
224
|
-
B("div", pe, [
|
|
225
|
-
B("div", ue, y(e.title), 1),
|
|
226
|
-
B("div", ce, [
|
|
227
|
-
T(r, {
|
|
228
|
-
value: e.tabIndex,
|
|
229
|
-
"onUpdate:value": n[0] || (n[0] = (o) => e.tabIndex = o)
|
|
230
|
-
}, {
|
|
231
|
-
default: i(() => [
|
|
232
|
-
(s(!0), w(E, null, O(e.tabNav, (o, f) => (s(), h(u, {
|
|
233
|
-
value: e.tabValue(f),
|
|
234
|
-
key: o.tableName
|
|
235
|
-
}, {
|
|
236
|
-
default: i(() => [
|
|
237
|
-
g(y(o.tableTxt), 1)
|
|
238
|
-
]),
|
|
239
|
-
_: 2
|
|
240
|
-
}, 1032, ["value"]))), 128))
|
|
241
|
-
]),
|
|
242
|
-
_: 1
|
|
243
|
-
}, 8, ["value"])
|
|
244
|
-
])
|
|
245
|
-
])
|
|
246
|
-
]),
|
|
247
|
-
key: "0"
|
|
248
|
-
} : void 0
|
|
249
|
-
]), 1040, ["title", "enableComment", "width", "onRegister", "onOk"]);
|
|
250
|
-
}
|
|
251
|
-
const tt = /* @__PURE__ */ de(se, [["render", be], ["__scopeId", "data-v-1b8f2c75"]]);
|
|
252
|
-
export {
|
|
253
|
-
tt as default
|
|
254
|
-
};
|