@jeecg/online 3.5.3-vite4 → 3.6.2-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/{AuthButtonConfig-2f71787c.mjs → AuthButtonConfig-244ec09f.mjs} +1 -1
- package/{AuthButtonTree-d73bccf5.mjs → AuthButtonTree-3aa0ed49.mjs} +1 -1
- package/{AuthDataConfig-32cf23d2.mjs → AuthDataConfig-83891eea.mjs} +1 -1
- package/{AuthDataTree-03d62d3f.mjs → AuthDataTree-94e026e3.mjs} +1 -1
- package/{AuthFieldConfig-b1217a0c.mjs → AuthFieldConfig-6b21915c.mjs} +1 -1
- package/{AuthFieldTree-888e04a9.mjs → AuthFieldTree-69864163.mjs} +1 -1
- package/{AuthManagerDrawer-f127b8a2.mjs → AuthManagerDrawer-300dd4e4.mjs} +4 -4
- package/{AuthSetterModal-37da78ed.mjs → AuthSetterModal-a414fb35.mjs} +58 -52
- package/{CgformCopyList-3adab58f.mjs → CgformCopyList-14b76108.mjs} +42 -39
- package/CgformModal-eccfc38e.mjs +611 -0
- package/{CgreportModal-77ec8c17.mjs → CgreportModal-2065f5a9.mjs} +2 -1
- package/{CgreportModal.vue_vue_type_script_setup_true_lang-52dcec5e.mjs → CgreportModal.vue_vue_type_script_setup_true_lang-c89d9222.mjs} +170 -171
- package/{CheckDictTable-414313f2.mjs → CheckDictTable-134cbb83.mjs} +3 -3
- package/{CodeFileListModal-4831ce3d.mjs → CodeFileListModal-a6d3290d.mjs} +2 -2
- package/{CodeFileViewModal-5990dac4.mjs → CodeFileViewModal-373e8058.mjs} +2 -2
- package/{CodeGeneratorModal-7df9e25d.mjs → CodeGeneratorModal-f08a89cd.mjs} +5 -6
- package/{CustomButtonList-1c9bd859.mjs → CustomButtonList-02e3d897.mjs} +2 -2
- package/{DBAttributeTable-cd1c41e5.mjs → DBAttributeTable-370de07b.mjs} +2 -2
- package/{DbToOnlineModal-dc5d2030.mjs → DbToOnlineModal-9f13956f.mjs} +35 -35
- package/{DetailForm-e4538e7a.mjs → DetailForm-424638eb.mjs} +179 -163
- package/{EnhanceJavaModal-7f53d2ca.mjs → EnhanceJavaModal-f63aa2d3.mjs} +17 -13
- package/{EnhanceJsHistory-c30805ce.mjs → EnhanceJsHistory-352b46b1.mjs} +1 -1
- package/EnhanceJsModal-05c73a59.mjs +311 -0
- package/{EnhanceSqlModal-33a94c83.mjs → EnhanceSqlModal-5e4ae84f.mjs} +55 -46
- package/{ExtendConfigModal-60f2cf86.mjs → ExtendConfigModal-1dde390a.mjs} +2 -2
- package/FieldExtendJsonModal-a70a9ccd.mjs +219 -0
- package/FileSelectModal-9a02560b.mjs +103 -0
- package/{ForeignKeyTable-cb1abd1d.mjs → ForeignKeyTable-6a843c4b.mjs} +2 -2
- package/{IndexTable-4e94cd1f.mjs → IndexTable-f8af9d44.mjs} +2 -2
- package/JModalTip-33c7dc44.mjs +49 -0
- package/{JOnlineSearchSelect-5608a5cf.mjs → JOnlineSearchSelect-c287af12.mjs} +17 -16
- package/{LeftDepart-ca7a7375.mjs → LeftDepart-fa85523d.mjs} +1 -1
- package/{LeftRole-d0fa8398.mjs → LeftRole-8b8dfe21.mjs} +1 -1
- package/{LeftUser-0c88c240.mjs → LeftUser-dc24ef2f.mjs} +1 -1
- package/{LinkTableConfigModal-77d7c0b9.mjs → LinkTableConfigModal-d4fbdef2.mjs} +23 -23
- package/{LinkTableFieldConfigModal-c5689ab0.mjs → LinkTableFieldConfigModal-787bc55c.mjs} +44 -46
- package/LinkTableListPiece-8499a318.mjs +34 -0
- package/{ModalFormDemo-0eeea994.mjs → ModalFormDemo-977a49eb.mjs} +1 -1
- package/OnlCgformErpList-db45e22b.mjs +454 -0
- package/OnlCgformErpSubTable-54b50eec.mjs +403 -0
- package/OnlCgformInnerSubTable-fbca73e0.mjs +253 -0
- package/OnlCgformInnerTableList-782eaf04.mjs +444 -0
- package/OnlCgformTabList-a9e1e36a.mjs +395 -0
- package/OnlineAutoList-0583a910.mjs +479 -0
- package/{OnlineAutoModal-2a146238.mjs → OnlineAutoModal-510991eb.mjs} +59 -58
- package/{OnlineAutoTreeList-f8d0e100.mjs → OnlineAutoTreeList-89265688.mjs} +158 -153
- package/{OnlineCustomModal-456a85a6.mjs → OnlineCustomModal-518ad33c.mjs} +67 -66
- package/{OnlineDetailModal-f967f080.mjs → OnlineDetailModal-9675390d.mjs} +40 -39
- package/OnlineForm-1fa2d893.mjs +750 -0
- package/{OnlineFormDetail-1b216792.mjs → OnlineFormDetail-0e7294ca.mjs} +56 -55
- package/OnlineQueryForm-1bfc8320.mjs +386 -0
- package/{OnlineSearchFormItem-7c2ea9ed.mjs → OnlineSearchFormItem-0cc85a8a.mjs} +83 -87
- package/{OnlineSelectCascade-c7baf52b.mjs → OnlineSelectCascade-4265c95d.mjs} +31 -32
- package/{OnlineSubFormDetail-0aa4966c.mjs → OnlineSubFormDetail-f0d2c016.mjs} +53 -50
- package/OnlineTabAutoModal-6f636ee2.mjs +254 -0
- package/OnlineTabDetailModal-7356d3a8.mjs +223 -0
- package/OnlineTabForm-512d3951.mjs +766 -0
- package/OnlineTabFormDetail-5a70219d.mjs +324 -0
- package/{PageAttributeTable-811185fd.mjs → PageAttributeTable-965dc58e.mjs} +20 -20
- package/{ProcessOnlineForm-27be6f6f.mjs → ProcessOnlineForm-67558898.mjs} +39 -38
- package/{QueryTable-4ba771ef.mjs → QueryTable-eb9a5b21.mjs} +2 -2
- package/README.md +5 -2
- package/{SuperQuery-3821f984.mjs → SuperQuery-5d1ca957.mjs} +171 -173
- 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/constant-754f1a9d.mjs +9 -0
- package/index-0e3ab3af.mjs +56 -0
- package/{index-074b92e5.mjs → index-49508cad.mjs} +4 -3
- package/index-b7a05eef.mjs +1496 -0
- package/main.index.js +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/useCgformList-423282b7.mjs +400 -0
- package/useCustomHook-acb00837.mjs +53 -0
- package/useExtendComponent-325fe3f1.mjs +3926 -0
- package/useListButton-cdbab702.mjs +676 -0
- package/useOnlinePopEvent-687070b7.mjs +19 -0
- package/useOnlineTest-e4bd8be3.mjs +42 -0
- package/{useSchemas-fc8d97ce.mjs → useSchemas-0433a403.mjs} +129 -109
- package/{useTableSync-dc333087.mjs → useTableSync-774c3774.mjs} +17 -13
- package/CgformModal-6938d8c2.mjs +0 -613
- package/EnhanceJsModal-0b133341.mjs +0 -233
- package/FieldExtendJsonModal-48f7d67f.mjs +0 -220
- package/FileSelectModal-64aaf623.mjs +0 -91
- package/JModalTip-abe1515a.mjs +0 -46
- package/LinkTableListPiece-34266919.mjs +0 -34
- package/OnlCgformErpList-7a0388d8.mjs +0 -425
- package/OnlCgformErpSubTable-fc6ade76.mjs +0 -388
- package/OnlineAutoList-85e6a30d.mjs +0 -472
- package/OnlineForm-630a22c2.mjs +0 -778
- package/OnlineQueryForm-1c5949a7.mjs +0 -378
- package/SuperQueryValComponent.vue_vue_type_script_lang-e3ad7ee8.mjs +0 -101
- package/constant-fe20103a.mjs +0 -6
- package/index-6a09a912.mjs +0 -58
- package/index-9d32ae88.mjs +0 -313
- package/useCgformList-2d6a5955.mjs +0 -388
- package/useExtendComponent-48d37d9b.mjs +0 -3919
- package/useListButton-cef1371a.mjs +0 -656
- package/useOnlinePopEvent-e9a042f8.mjs +0 -19
- package/useOnlineTest-0df0ae86.mjs +0 -43
|
@@ -20,7 +20,7 @@ import { BasicModal as z, useModalInner as H } from "/@/components/Modal";
|
|
|
20
20
|
import { InfoCircleTwoTone as U } from "@ant-design/icons-vue";
|
|
21
21
|
import { message as Y } from "ant-design-vue";
|
|
22
22
|
import { JCodeEditor as Q } from "/@/components/Form";
|
|
23
|
-
import { _ as X } from "./index-
|
|
23
|
+
import { _ as X } from "./index-0e3ab3af.mjs";
|
|
24
24
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
25
25
|
import "/@/hooks/web/useMessage";
|
|
26
26
|
import "vue-router";
|
|
@@ -48,7 +48,7 @@ const Z = O({
|
|
|
48
48
|
a.length == 1 ? e(a[0]) : a.length > 1 && n.push(d);
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
|
-
e(o),
|
|
51
|
+
e(o), m.value = n, setTimeout(() => {
|
|
52
52
|
M(o);
|
|
53
53
|
}, 300);
|
|
54
54
|
}
|
|
@@ -19,16 +19,16 @@ import { defHttp as k } from "/@/utils/http/axios";
|
|
|
19
19
|
import { BasicForm as re, useForm as se } from "/@/components/Form";
|
|
20
20
|
import { BasicModal as ce, useModalInner as me, useModal as B } from "/@/components/Modal";
|
|
21
21
|
import { JVxeTypes as N } from "/@/components/jeecg/JVxeTable/types";
|
|
22
|
-
import { b as ue } from "./useSchemas-
|
|
22
|
+
import { b as ue } from "./useSchemas-0433a403.mjs";
|
|
23
23
|
import { underLine2CamelCase as O } from "/@/utils/common/compUtils";
|
|
24
|
-
import pe from "./CodeFileListModal-
|
|
25
|
-
import de from "./FileSelectModal-
|
|
26
|
-
import { _ as fe } from "./index-
|
|
24
|
+
import pe from "./CodeFileListModal-a6d3290d.mjs";
|
|
25
|
+
import de from "./FileSelectModal-9a02560b.mjs";
|
|
26
|
+
import { _ as fe } from "./index-0e3ab3af.mjs";
|
|
27
27
|
import "ant-design-vue";
|
|
28
28
|
import "@ant-design/icons-vue";
|
|
29
29
|
import "/@/hooks/web/usePermission";
|
|
30
30
|
import "/@/utils/helper/validator";
|
|
31
|
-
import "./CodeFileViewModal-
|
|
31
|
+
import "./CodeFileViewModal-373e8058.mjs";
|
|
32
32
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
33
33
|
import "/@/hooks/web/useMessage";
|
|
34
34
|
import "vue-router";
|
|
@@ -126,7 +126,6 @@ const ge = ee({
|
|
|
126
126
|
tableName: e.tableName_tmp
|
|
127
127
|
}), j();
|
|
128
128
|
} catch (e) {
|
|
129
|
-
console.error(e);
|
|
130
129
|
} finally {
|
|
131
130
|
s.value = !1;
|
|
132
131
|
}
|
|
@@ -26,13 +26,13 @@ var _ = (e, o, t) => new Promise((C, f) => {
|
|
|
26
26
|
s((t = t.apply(e, o)).next());
|
|
27
27
|
});
|
|
28
28
|
import { defineComponent as Q, ref as A, reactive as W, computed as X, nextTick as Y, resolveComponent as r, openBlock as M, createBlock as P, withCtx as l, createVNode as a, createTextVNode as B, createElementBlock as Z, createCommentVNode as S, normalizeProps as ee, guardReactiveProps as oe } from "vue";
|
|
29
|
-
import { u as te } from "./useOnlineTest-
|
|
29
|
+
import { u as te } from "./useOnlineTest-e4bd8be3.mjs";
|
|
30
30
|
import { useListPage as ne } from "/@/hooks/system/useListPage";
|
|
31
31
|
import { BasicTable as le, TableAction as ae } from "/@/components/Table";
|
|
32
32
|
import { BasicModal as ie, useModalInner as re, useModal as se } from "/@/components/Modal";
|
|
33
33
|
import { BasicForm as ce, useForm as ue } from "/@/components/Form";
|
|
34
34
|
import { defHttp as v } from "/@/utils/http/axios";
|
|
35
|
-
import { _ as de } from "./index-
|
|
35
|
+
import { _ as de } from "./index-0e3ab3af.mjs";
|
|
36
36
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
37
37
|
import "/@/hooks/web/useMessage";
|
|
38
38
|
import "vue-router";
|
|
@@ -12,8 +12,8 @@ var c = (e, t, d) => t in e ? Y(e, t, { enumerable: !0, configurable: !0, writab
|
|
|
12
12
|
}, O = (e, t) => $(e, k(t));
|
|
13
13
|
import { defineComponent as W, getCurrentInstance as X, ref as b, resolveComponent as Q, openBlock as q, createBlock as J, mergeProps as Z } from "vue";
|
|
14
14
|
import { JVxeTypes as i } from "/@/components/jeecg/JVxeTable/types";
|
|
15
|
-
import { u as z } from "./useTableSync-
|
|
16
|
-
import { _ as j } from "./index-
|
|
15
|
+
import { u as z } from "./useTableSync-774c3774.mjs";
|
|
16
|
+
import { _ as j } from "./index-0e3ab3af.mjs";
|
|
17
17
|
import "./cgform.data-cbdd88c3.mjs";
|
|
18
18
|
import "/@/utils/dict";
|
|
19
19
|
import "/@/utils/dict/JDictSelectUtil";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { defineComponent as F, ref as i, resolveComponent as m, openBlock as k, createBlock as E, withCtx as
|
|
1
|
+
import { defineComponent as F, ref as i, resolveComponent as m, openBlock as k, createBlock as E, withCtx as l, createVNode as f, createTextVNode as g, createElementVNode as C } from "vue";
|
|
2
2
|
import { defHttp as v } from "/@/utils/http/axios";
|
|
3
3
|
import { BasicTable as R } from "/@/components/Table";
|
|
4
4
|
import { BasicModal as S, useModalInner as D } from "/@/components/Modal";
|
|
5
5
|
import { useListTable as I } from "/@/hooks/system/useListPage";
|
|
6
6
|
import { useMessage as N } from "/@/hooks/web/useMessage";
|
|
7
|
-
import { _ as $ } from "./index-
|
|
7
|
+
import { _ as $ } from "./index-0e3ab3af.mjs";
|
|
8
8
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
9
9
|
import "vue-router";
|
|
10
10
|
const A = F({
|
|
11
11
|
name: "TransDb2Online",
|
|
12
12
|
components: { BasicModal: S, BasicTable: R },
|
|
13
13
|
emits: ["success", "register"],
|
|
14
|
-
setup(
|
|
15
|
-
const { createMessage: p } = N(),
|
|
16
|
-
r.value = !1,
|
|
14
|
+
setup(e, { emit: h }) {
|
|
15
|
+
const { createMessage: p } = N(), t = i("暂无数据"), u = i(!1), r = i(!1), o = i([]), a = i([]), [c, { closeModal: d }] = D(() => {
|
|
16
|
+
r.value = !1, t.value = "暂无数据", s.value = [], b();
|
|
17
17
|
}), [T, { setPagination: w }, { rowSelection: _, selectedRowKeys: s }] = I({
|
|
18
18
|
bordered: !0,
|
|
19
19
|
columns: [{ title: "表名", align: "left", dataIndex: "id" }],
|
|
20
20
|
dataSource: a,
|
|
21
21
|
maxHeight: 300,
|
|
22
|
-
locale: { emptyText:
|
|
22
|
+
locale: { emptyText: t },
|
|
23
23
|
pagination: {
|
|
24
24
|
showQuickJumper: !1,
|
|
25
25
|
showSizeChanger: !1
|
|
@@ -36,7 +36,7 @@ const A = F({
|
|
|
36
36
|
componentProps: {
|
|
37
37
|
style: { width: "100%" },
|
|
38
38
|
placeholder: "请输入表名以模糊筛选",
|
|
39
|
-
onChange: (
|
|
39
|
+
onChange: (n) => L(n.target.value)
|
|
40
40
|
},
|
|
41
41
|
disabledLabelWidth: !0,
|
|
42
42
|
itemProps: {
|
|
@@ -59,16 +59,16 @@ const A = F({
|
|
|
59
59
|
errorMessageMode: "none"
|
|
60
60
|
}
|
|
61
61
|
).then(
|
|
62
|
-
(
|
|
63
|
-
(
|
|
64
|
-
|
|
62
|
+
(n) => (a.value = n, o.value = [...n], n),
|
|
63
|
+
(n) => {
|
|
64
|
+
n.message == "noadminauth" && (t.value = "非admin用户无权限操作!", p.warn(t.value)), a.value = [], o.value = [];
|
|
65
65
|
}
|
|
66
66
|
).finally(() => {
|
|
67
67
|
u.value = !1;
|
|
68
68
|
});
|
|
69
69
|
}
|
|
70
|
-
function L(
|
|
71
|
-
|
|
70
|
+
function L(n) {
|
|
71
|
+
o.value.length !== 0 && (n ? (a.value = o.value.filter((y) => y.id.toLowerCase().includes(n.toLowerCase())), t.value = a.value.length === 0 ? "无筛选结果" : "暂无数据") : a.value = [...o.value], w({ current: 1 }));
|
|
72
72
|
}
|
|
73
73
|
function M() {
|
|
74
74
|
d();
|
|
@@ -79,17 +79,17 @@ const A = F({
|
|
|
79
79
|
return;
|
|
80
80
|
} else {
|
|
81
81
|
r.value = !0;
|
|
82
|
-
let
|
|
83
|
-
v.post({ url: "/online/cgform/head/transTables/" +
|
|
82
|
+
let n = s.value.join(",");
|
|
83
|
+
v.post({ url: "/online/cgform/head/transTables/" + n }).then(() => {
|
|
84
84
|
d(), h("success");
|
|
85
85
|
}).finally(() => r.value = !1);
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
return {
|
|
89
|
-
emptyText:
|
|
89
|
+
emptyText: t,
|
|
90
90
|
confirmLoading: u,
|
|
91
91
|
btnLoading: r,
|
|
92
|
-
metaSource:
|
|
92
|
+
metaSource: o,
|
|
93
93
|
handleTrans: B,
|
|
94
94
|
handleCancel: M,
|
|
95
95
|
queryTables: b,
|
|
@@ -106,43 +106,43 @@ const A = F({
|
|
|
106
106
|
target: "_blank"
|
|
107
107
|
}, " 参考文档")
|
|
108
108
|
], -1);
|
|
109
|
-
function q(
|
|
110
|
-
const
|
|
109
|
+
function q(e, h, p, t, u, r) {
|
|
110
|
+
const o = m("BasicTable"), a = m("a-spin"), c = m("a-button"), d = m("BasicModal");
|
|
111
111
|
return k(), E(d, {
|
|
112
|
-
onRegister:
|
|
112
|
+
onRegister: e.registerModal,
|
|
113
113
|
width: 500,
|
|
114
114
|
title: "从数据库导入表单",
|
|
115
|
-
confirmLoading:
|
|
116
|
-
onCancel:
|
|
115
|
+
confirmLoading: e.confirmLoading,
|
|
116
|
+
onCancel: e.handleCancel
|
|
117
117
|
}, {
|
|
118
|
-
footer:
|
|
119
|
-
f(c, { onClick:
|
|
120
|
-
default:
|
|
118
|
+
footer: l(() => [
|
|
119
|
+
f(c, { onClick: e.handleCancel }, {
|
|
120
|
+
default: l(() => [
|
|
121
121
|
g("关闭")
|
|
122
122
|
]),
|
|
123
123
|
_: 1
|
|
124
124
|
}, 8, ["onClick"]),
|
|
125
125
|
f(c, {
|
|
126
|
-
onClick:
|
|
126
|
+
onClick: e.handleTrans,
|
|
127
127
|
type: "primary",
|
|
128
128
|
preIcon: "ant-design:swap",
|
|
129
|
-
loading:
|
|
129
|
+
loading: e.confirmLoading || e.btnLoading
|
|
130
130
|
}, {
|
|
131
|
-
default:
|
|
131
|
+
default: l(() => [
|
|
132
132
|
g(" 生成表单 ")
|
|
133
133
|
]),
|
|
134
134
|
_: 1
|
|
135
135
|
}, 8, ["onClick", "loading"])
|
|
136
136
|
]),
|
|
137
|
-
default:
|
|
138
|
-
f(a, { spinning:
|
|
139
|
-
default:
|
|
140
|
-
f(
|
|
141
|
-
onRegister:
|
|
142
|
-
rowSelection:
|
|
143
|
-
onTableRedo:
|
|
137
|
+
default: l(() => [
|
|
138
|
+
f(a, { spinning: e.confirmLoading }, {
|
|
139
|
+
default: l(() => [
|
|
140
|
+
f(o, {
|
|
141
|
+
onRegister: e.registerTable,
|
|
142
|
+
rowSelection: e.rowSelection,
|
|
143
|
+
onTableRedo: e.queryTables
|
|
144
144
|
}, {
|
|
145
|
-
tableTitle:
|
|
145
|
+
tableTitle: l(() => [
|
|
146
146
|
P
|
|
147
147
|
]),
|
|
148
148
|
_: 1
|