@jeecg/online 3.6.0-beta → 3.6.2-GA
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/{AuthButtonConfig-b6a674fa.mjs → AuthButtonConfig-f142147a.mjs} +1 -1
- package/{AuthButtonTree-09e57bc4.mjs → AuthButtonTree-c2602a7c.mjs} +1 -1
- package/{AuthDataConfig-6e7e61ec.mjs → AuthDataConfig-8e5c7b0c.mjs} +1 -1
- package/{AuthDataTree-e83286c5.mjs → AuthDataTree-9dc58b20.mjs} +1 -1
- package/{AuthFieldConfig-f1ec2708.mjs → AuthFieldConfig-e9a45f94.mjs} +1 -1
- package/{AuthFieldTree-bb72e21f.mjs → AuthFieldTree-d836be59.mjs} +1 -1
- package/{AuthManagerDrawer-28a2d108.mjs → AuthManagerDrawer-5b558c23.mjs} +4 -4
- package/{AuthSetterModal-2990d553.mjs → AuthSetterModal-0cc557cf.mjs} +58 -52
- package/{CgformCopyList-36a4cbf0.mjs → CgformCopyList-86157923.mjs} +39 -37
- package/{CgformModal-7399a5ac.mjs → CgformModal-5cf02d51.mjs} +90 -90
- package/{CheckDictTable-3a8a54b3.mjs → CheckDictTable-27102064.mjs} +1 -1
- package/{CodeFileListModal-72f0d3bb.mjs → CodeFileListModal-f747daae.mjs} +2 -2
- package/{CodeFileViewModal-9eb88c47.mjs → CodeFileViewModal-a9fb2900.mjs} +1 -1
- package/{CodeGeneratorModal-a89958f5.mjs → CodeGeneratorModal-3a0e9f0e.mjs} +5 -5
- package/{CustomButtonList-c44aec5a.mjs → CustomButtonList-b9b27a93.mjs} +1 -1
- package/{DBAttributeTable-7d285e8d.mjs → DBAttributeTable-6bdcb1e8.mjs} +1 -1
- package/{DbToOnlineModal-d23cbeb1.mjs → DbToOnlineModal-3705e91a.mjs} +2 -2
- package/{DetailForm-2901d215.mjs → DetailForm-cdeb54e3.mjs} +32 -31
- package/{EnhanceJavaModal-153899a9.mjs → EnhanceJavaModal-c13de6e0.mjs} +1 -1
- package/{EnhanceJsHistory-7f5db3b1.mjs → EnhanceJsHistory-154101f0.mjs} +1 -1
- package/{EnhanceJsModal-c2fb75b8.mjs → EnhanceJsModal-6158804c.mjs} +2 -2
- package/{EnhanceSqlModal-965e9b0a.mjs → EnhanceSqlModal-221c22dc.mjs} +1 -1
- package/{ExtendConfigModal-8f08466f.mjs → ExtendConfigModal-0564ef83.mjs} +2 -2
- package/{FieldExtendJsonModal-adfcf5a7.mjs → FieldExtendJsonModal-40d961c1.mjs} +1 -1
- package/{FileSelectModal-432d4521.mjs → FileSelectModal-de40a706.mjs} +1 -1
- package/{ForeignKeyTable-faab7ccf.mjs → ForeignKeyTable-22989042.mjs} +1 -1
- package/{IndexTable-0a2d3718.mjs → IndexTable-833d34ff.mjs} +1 -1
- package/JModalTip-0413ad6a.mjs +49 -0
- package/{JOnlineSearchSelect-7e908492.mjs → JOnlineSearchSelect-9ea89e13.mjs} +1 -1
- package/{LeftDepart-54f245b3.mjs → LeftDepart-b0a535c0.mjs} +1 -1
- package/{LeftRole-c138f892.mjs → LeftRole-22c90d6b.mjs} +1 -1
- package/{LeftUser-9c812f8a.mjs → LeftUser-a44d63dd.mjs} +1 -1
- package/{LinkTableConfigModal-c2c5c7e6.mjs → LinkTableConfigModal-5edaa08d.mjs} +1 -1
- package/{LinkTableFieldConfigModal-a3553b1f.mjs → LinkTableFieldConfigModal-06693eaa.mjs} +1 -1
- package/{LinkTableListPiece-7f793b08.mjs → LinkTableListPiece-46e8af51.mjs} +1 -1
- package/{ModalFormDemo-65685b0e.mjs → ModalFormDemo-d107fa87.mjs} +1 -1
- package/{OnlCgformErpList-52c87ed3.mjs → OnlCgformErpList-4c51cdb3.mjs} +59 -54
- package/{OnlCgformErpSubTable-6e7fb17b.mjs → OnlCgformErpSubTable-d7081b9f.mjs} +39 -34
- package/{OnlCgformInnerSubTable-f0727b8f.mjs → OnlCgformInnerSubTable-4c3925bb.mjs} +46 -41
- package/{OnlCgformInnerTableList-9f89c173.mjs → OnlCgformInnerTableList-1e5014fa.mjs} +156 -142
- package/{OnlCgformTabList-15516315.mjs → OnlCgformTabList-c59c7cc7.mjs} +47 -42
- package/{OnlineAutoList-63a0224f.mjs → OnlineAutoList-a7a9de5d.mjs} +185 -180
- package/{OnlineAutoModal-ffe19c3f.mjs → OnlineAutoModal-a33f1a63.mjs} +14 -13
- package/{OnlineAutoTreeList-317c7105.mjs → OnlineAutoTreeList-ec27d271.mjs} +24 -19
- package/{OnlineCustomModal-3939ce78.mjs → OnlineCustomModal-3e6792d3.mjs} +9 -8
- package/{OnlineDetailModal-bfb1375f.mjs → OnlineDetailModal-f40e37e1.mjs} +13 -12
- package/{OnlineForm-069f6092.mjs → OnlineForm-fb3a2379.mjs} +8 -7
- package/{OnlineFormDetail-ad5735fb.mjs → OnlineFormDetail-52b1c303.mjs} +10 -9
- package/{OnlineQueryForm-0771c80f.mjs → OnlineQueryForm-7c70734e.mjs} +8 -7
- package/{OnlineSearchFormItem-0db5834f.mjs → OnlineSearchFormItem-fe308194.mjs} +2 -2
- package/{OnlineSelectCascade-a05c30f4.mjs → OnlineSelectCascade-abc345f9.mjs} +1 -1
- package/{OnlineSubFormDetail-583d01eb.mjs → OnlineSubFormDetail-02326a8c.mjs} +19 -18
- package/{OnlineTabAutoModal-747e071d.mjs → OnlineTabAutoModal-6d9da8b0.mjs} +20 -19
- package/{OnlineTabDetailModal-887f0174.mjs → OnlineTabDetailModal-d23bd4c9.mjs} +36 -35
- package/{OnlineTabForm-b1dcd4b4.mjs → OnlineTabForm-29ca07f7.mjs} +132 -131
- package/{OnlineTabFormDetail-8e494a96.mjs → OnlineTabFormDetail-aa7e1144.mjs} +36 -35
- package/{PageAttributeTable-5966b201.mjs → PageAttributeTable-d82946c5.mjs} +4 -4
- package/{ProcessOnlineForm-4382bea7.mjs → ProcessOnlineForm-84f4d02d.mjs} +23 -22
- package/{QueryTable-6e8053ad.mjs → QueryTable-d4599fca.mjs} +1 -1
- package/README.md +4 -2
- package/{SuperQuery-78db6998.mjs → SuperQuery-07162778.mjs} +243 -241
- package/{SuperQueryValComponent-471110b5.mjs → SuperQueryValComponent-7ad86d4b.mjs} +1 -1
- package/SuperQueryValComponent.vue_vue_type_script_lang-e9196096.mjs +101 -0
- package/cgformState-d9f8ec42.mjs +28 -0
- package/index-73993b18.mjs +56 -0
- package/{index-7e9a23f2.mjs → index-e1bda35b.mjs} +43 -41
- package/main.index.js +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/{useCgformList-0c603af1.mjs → useCgformList-b135794d.mjs} +81 -105
- package/{useExtendComponent-aa1cdfc8.mjs → useExtendComponent-f4e29152.mjs} +666 -657
- package/useListButton-4dd33e7a.mjs +676 -0
- package/{useSchemas-43429d80.mjs → useSchemas-0433a403.mjs} +94 -90
- package/JModalTip-e1938b49.mjs +0 -46
- package/SuperQueryValComponent.vue_vue_type_script_lang-e3ad7ee8.mjs +0 -101
- package/index-b70302f2.mjs +0 -56
- package/useListButton-0f18bf6a.mjs +0 -671
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var F = (e, o, a) => new Promise((
|
|
1
|
+
var F = (e, o, a) => new Promise((s, i) => {
|
|
2
2
|
var u = (t) => {
|
|
3
3
|
try {
|
|
4
4
|
n(a.next(t));
|
|
@@ -11,22 +11,22 @@ var F = (e, o, a) => new Promise((d, i) => {
|
|
|
11
11
|
} catch (r) {
|
|
12
12
|
i(r);
|
|
13
13
|
}
|
|
14
|
-
}, n = (t) => t.done ?
|
|
14
|
+
}, n = (t) => t.done ? s(t.value) : Promise.resolve(t.value).then(u, p);
|
|
15
15
|
n((a = a.apply(e, o)).next());
|
|
16
16
|
});
|
|
17
|
-
import { defineComponent as
|
|
18
|
-
import { BasicModal as
|
|
19
|
-
import
|
|
20
|
-
import { b as ee } from "./useExtendComponent-
|
|
17
|
+
import { defineComponent as z, ref as C, watch as G, resolveComponent as d, openBlock as I, createBlock as M, mergeProps as J, withCtx as m, createElementVNode as N, toDisplayString as R, createVNode as c, createElementBlock as K, Fragment as Q, renderList as X, createTextVNode as S } from "vue";
|
|
18
|
+
import { BasicModal as Y } from "/@/components/Modal";
|
|
19
|
+
import Z from "./OnlineTabFormDetail-aa7e1144.mjs";
|
|
20
|
+
import { b as ee } from "./useExtendComponent-f4e29152.mjs";
|
|
21
21
|
import te from "/@/components/jeecg/comment/CommentPanel.vue";
|
|
22
22
|
import { T as oe } from "./constant-754f1a9d.mjs";
|
|
23
|
-
import { _ as ae } from "./index-
|
|
23
|
+
import { _ as ae } from "./index-73993b18.mjs";
|
|
24
24
|
import "/@/hooks/web/useMessage";
|
|
25
25
|
import "/@/components/Loading";
|
|
26
26
|
import "/@/utils/auth";
|
|
27
27
|
import "/@/utils";
|
|
28
28
|
import "@ant-design/icons-vue";
|
|
29
|
-
import "./DetailForm-
|
|
29
|
+
import "./DetailForm-cdeb54e3.mjs";
|
|
30
30
|
import "/@/utils/propTypes";
|
|
31
31
|
import "/@/utils/dict";
|
|
32
32
|
import "/@/utils/dict/JDictSelectUtil";
|
|
@@ -37,7 +37,7 @@ import "/@/components/Form/src/utils/Area";
|
|
|
37
37
|
import "/@/utils/common/compUtils";
|
|
38
38
|
import "/@/components/Preview/index";
|
|
39
39
|
import "/@/components/Markdown";
|
|
40
|
-
import "./OnlineSubFormDetail-
|
|
40
|
+
import "./OnlineSubFormDetail-02326a8c.mjs";
|
|
41
41
|
import "/@/components/Form/index";
|
|
42
42
|
import "/@/components/Form/src/componentMap";
|
|
43
43
|
import "lodash-es";
|
|
@@ -49,13 +49,14 @@ import "/@/store/modules/permission";
|
|
|
49
49
|
import "/@/components/Table";
|
|
50
50
|
import "/@/hooks/system/useListPage";
|
|
51
51
|
import "vue-router";
|
|
52
|
-
import "./LinkTableListPiece-
|
|
53
|
-
import "./OnlineSelectCascade-
|
|
54
|
-
import "./JModalTip-
|
|
52
|
+
import "./LinkTableListPiece-46e8af51.mjs";
|
|
53
|
+
import "./OnlineSelectCascade-abc345f9.mjs";
|
|
54
|
+
import "./JModalTip-0413ad6a.mjs";
|
|
55
|
+
import "/@/hooks/web/useAppInject";
|
|
55
56
|
import "ant-design-vue";
|
|
56
57
|
import "@vueuse/core";
|
|
57
58
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
58
|
-
const ne =
|
|
59
|
+
const ne = z({
|
|
59
60
|
name: "OnlineTabDetailModal",
|
|
60
61
|
props: {
|
|
61
62
|
id: {
|
|
@@ -65,13 +66,13 @@ const ne = H({
|
|
|
65
66
|
}
|
|
66
67
|
},
|
|
67
68
|
components: {
|
|
68
|
-
BasicModal:
|
|
69
|
-
OnlineFormDetail:
|
|
69
|
+
BasicModal: Y,
|
|
70
|
+
OnlineFormDetail: Z,
|
|
70
71
|
CommentPanel: te
|
|
71
72
|
},
|
|
72
73
|
emits: ["success", "register", "formConfig"],
|
|
73
74
|
setup(e, { emit: o }) {
|
|
74
|
-
const a = C(),
|
|
75
|
+
const a = C(), s = C([]), i = C("-1");
|
|
75
76
|
function u() {
|
|
76
77
|
a.value && a.value.reload();
|
|
77
78
|
}
|
|
@@ -80,7 +81,7 @@ const ne = H({
|
|
|
80
81
|
modalWidth: n,
|
|
81
82
|
registerModal: t,
|
|
82
83
|
cgButtonList: r,
|
|
83
|
-
handleCgButtonClick:
|
|
84
|
+
handleCgButtonClick: f,
|
|
84
85
|
disableSubmit: h,
|
|
85
86
|
handleSubmit: l,
|
|
86
87
|
submitLoading: _,
|
|
@@ -98,14 +99,14 @@ const ne = H({
|
|
|
98
99
|
enableComment: W,
|
|
99
100
|
themeTemplate: q
|
|
100
101
|
} = ee(!1, { emit: o }, u);
|
|
101
|
-
|
|
102
|
-
function
|
|
102
|
+
G(() => e.id, H, { immediate: !0 });
|
|
103
|
+
function H() {
|
|
103
104
|
return F(this, null, function* () {
|
|
104
105
|
P.value = !1, e.id && (yield D(e.id, {}, (g) => {
|
|
105
|
-
const w = [], T = [], { head: B, schema:
|
|
106
|
-
w.push({ tableName: B.tableName, tableTxt: B.tableTxt }), Object.entries(
|
|
106
|
+
const w = [], T = [], { head: B, schema: U } = g, { properties: x } = U;
|
|
107
|
+
w.push({ tableName: B.tableName, tableTxt: B.tableTxt }), Object.entries(x).forEach(([v, b]) => {
|
|
107
108
|
b.view == "tab" && T.push({ tableName: v, tableTxt: b.describe });
|
|
108
|
-
}), T.sort((v, b) => v.order - b.order),
|
|
109
|
+
}), T.sort((v, b) => v.order - b.order), s.value = [...w, ...T];
|
|
109
110
|
}));
|
|
110
111
|
});
|
|
111
112
|
}
|
|
@@ -120,7 +121,7 @@ const ne = H({
|
|
|
120
121
|
formTemplate: V,
|
|
121
122
|
disableSubmit: h,
|
|
122
123
|
cgButtonList: r,
|
|
123
|
-
handleCgButtonClick:
|
|
124
|
+
handleCgButtonClick: f,
|
|
124
125
|
isTreeForm: O,
|
|
125
126
|
pidFieldName: $,
|
|
126
127
|
submitLoading: _,
|
|
@@ -130,7 +131,7 @@ const ne = H({
|
|
|
130
131
|
enableComment: W,
|
|
131
132
|
commentPanelRef: a,
|
|
132
133
|
themeTemplate: q,
|
|
133
|
-
tabNav:
|
|
134
|
+
tabNav: s,
|
|
134
135
|
tabValue: (g) => String(g - 1),
|
|
135
136
|
tabIndex: i,
|
|
136
137
|
TAB: oe,
|
|
@@ -143,15 +144,15 @@ const ne = H({
|
|
|
143
144
|
}
|
|
144
145
|
});
|
|
145
146
|
const re = { class: "titleArea" }, me = { class: "title" }, ie = { class: "right" };
|
|
146
|
-
function le(e, o, a,
|
|
147
|
-
const p =
|
|
148
|
-
return I(), M(h,
|
|
147
|
+
function le(e, o, a, s, i, u) {
|
|
148
|
+
const p = d("a-radio-button"), n = d("a-radio-group"), t = d("a-button"), r = d("online-form-detail"), f = d("comment-panel"), h = d("BasicModal");
|
|
149
|
+
return I(), M(h, J({
|
|
149
150
|
title: e.title,
|
|
150
151
|
onCancel: o[2] || (o[2] = () => {
|
|
151
152
|
e.restTabIndex();
|
|
152
153
|
}),
|
|
153
154
|
width: e.modalWidth,
|
|
154
|
-
|
|
155
|
+
maxHeight: 600,
|
|
155
156
|
enableComment: e.enableComment,
|
|
156
157
|
defaultFullscreen: !1
|
|
157
158
|
}, e.$attrs, {
|
|
@@ -162,12 +163,12 @@ function le(e, o, a, d, i, u) {
|
|
|
162
163
|
N("div", re, [
|
|
163
164
|
N("div", me, R(e.title), 1),
|
|
164
165
|
N("div", ie, [
|
|
165
|
-
|
|
166
|
+
c(n, {
|
|
166
167
|
value: e.tabIndex,
|
|
167
168
|
"onUpdate:value": o[0] || (o[0] = (l) => e.tabIndex = l)
|
|
168
169
|
}, {
|
|
169
170
|
default: m(() => [
|
|
170
|
-
(I(!0), Q
|
|
171
|
+
(I(!0), K(Q, null, X(e.tabNav, (l, _) => (I(), M(p, {
|
|
171
172
|
value: e.tabValue(_),
|
|
172
173
|
key: l.tableName
|
|
173
174
|
}, {
|
|
@@ -183,7 +184,7 @@ function le(e, o, a, d, i, u) {
|
|
|
183
184
|
])
|
|
184
185
|
]),
|
|
185
186
|
footer: m(() => [
|
|
186
|
-
|
|
187
|
+
c(t, {
|
|
187
188
|
key: "back",
|
|
188
189
|
onClick: o[1] || (o[1] = () => {
|
|
189
190
|
e.handleCancel(), e.restTabIndex();
|
|
@@ -196,14 +197,14 @@ function le(e, o, a, d, i, u) {
|
|
|
196
197
|
})
|
|
197
198
|
]),
|
|
198
199
|
comment: m(() => [
|
|
199
|
-
f
|
|
200
|
+
c(f, {
|
|
200
201
|
ref: "commentPanelRef",
|
|
201
202
|
tableName: e.tableName,
|
|
202
203
|
dataId: e.formDataId
|
|
203
204
|
}, null, 8, ["tableName", "dataId"])
|
|
204
205
|
]),
|
|
205
206
|
default: m(() => [
|
|
206
|
-
|
|
207
|
+
c(r, {
|
|
207
208
|
ref: "onlineFormCompRef",
|
|
208
209
|
id: e.id,
|
|
209
210
|
"form-template": e.formTemplate,
|
|
@@ -216,7 +217,7 @@ function le(e, o, a, d, i, u) {
|
|
|
216
217
|
_: 1
|
|
217
218
|
}, 16, ["title", "width", "enableComment", "onRegister"]);
|
|
218
219
|
}
|
|
219
|
-
const
|
|
220
|
+
const tt = /* @__PURE__ */ ae(ne, [["render", le], ["__scopeId", "data-v-341d8c57"]]);
|
|
220
221
|
export {
|
|
221
|
-
|
|
222
|
+
tt as default
|
|
222
223
|
};
|