@jeecg/online 3.7.0-beta → 3.7.1-RC
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 → AiModal-6de335e3.mjs} +1 -1
- package/AuthButtonConfig-89763932.mjs +154 -0
- package/{AuthButtonTree-589395ed.mjs → AuthButtonTree-2d87d0b3.mjs} +6 -5
- package/{AuthDataConfig-7bb0cd85.mjs → AuthDataConfig-5c3a8e6b.mjs} +11 -10
- package/{AuthDataTree-6e3bb86f.mjs → AuthDataTree-dd7a1240.mjs} +6 -6
- package/AuthFieldConfig-9f6fa06c.mjs +245 -0
- package/{AuthFieldTree-b7cd091e.mjs → AuthFieldTree-e326fc38.mjs} +2 -2
- package/{AuthManagerDrawer-5e2ed5ce.mjs → AuthManagerDrawer-76f15e8d.mjs} +9 -8
- package/{AuthSetterModal-6f74449c.mjs → AuthSetterModal-f5d2e87f.mjs} +12 -11
- package/{CgformCopyList-8077ccc6.mjs → CgformCopyList-365b3e8f.mjs} +43 -42
- package/CgformModal-21c5c387.mjs +671 -0
- package/{CgreportModal-5a23d089.mjs → CgreportModal-edefa8e3.mjs} +15 -14
- package/{CheckDictTable-b5cb0e2b.mjs → CheckDictTable-1bc8322d.mjs} +36 -33
- package/{CodeFileListModal-0e26b7e0.mjs → CodeFileListModal-24601898.mjs} +5 -4
- package/{CodeFileViewModal-9d4a5b5f.mjs → CodeFileViewModal-2fe911f4.mjs} +89 -84
- package/CodeGeneratorModal-f09fe903.mjs +282 -0
- package/{CustomButtonList-37639061.mjs → CustomButtonList-f07bc695.mjs} +108 -92
- package/{DBAttributeTable-95dc66c1.mjs → DBAttributeTable-285d40db.mjs} +79 -71
- package/DbToOnlineModal-5dcb67c3.mjs +169 -0
- package/{DetailForm-4aa2570b.mjs → DetailForm-deecbf3d.mjs} +50 -49
- package/{EnhanceJavaModal-98934198.mjs → EnhanceJavaModal-45c66cd5.mjs} +2 -2
- package/{EnhanceJsHistory-9c4acdaf.mjs → EnhanceJsHistory-fab3102e.mjs} +1 -1
- package/{EnhanceJsModal-247f640d.mjs → EnhanceJsModal-175357a1.mjs} +119 -103
- package/{EnhanceSqlModal-65b74b0f.mjs → EnhanceSqlModal-7ea1b300.mjs} +2 -2
- package/{ExtendConfigModal-00f2fb55.mjs → ExtendConfigModal-a89ae052.mjs} +2 -2
- package/{FieldExtendJsonModal-cc7fce26.mjs → FieldExtendJsonModal-32135634.mjs} +2 -2
- package/{FileSelectModal-38660e3c.mjs → FileSelectModal-1643c8b9.mjs} +1 -1
- package/{ForeignKeyTable-a78cb5ad.mjs → ForeignKeyTable-7f7e28a7.mjs} +2 -2
- package/{IndexTable-1b496559.mjs → IndexTable-cdcc2b48.mjs} +27 -19
- package/{JModalTip-4a83aaed.mjs → JModalTip-b055ab60.mjs} +1 -1
- package/JOnlineSearchSelect-22aae934.mjs +128 -0
- package/{LeftDepart-8ade4bf7.mjs → LeftDepart-d5615ed9.mjs} +1 -1
- package/{LeftRole-7d8c5acc.mjs → LeftRole-2ed8a2bf.mjs} +1 -1
- package/{LeftUser-b4d1372a.mjs → LeftUser-22baa378.mjs} +1 -1
- package/{LinkTableConfigModal-a138c85e.mjs → LinkTableConfigModal-9242d750.mjs} +1 -1
- package/{LinkTableFieldConfigModal-17b413b0.mjs → LinkTableFieldConfigModal-24adc50c.mjs} +1 -1
- package/{LinkTableListPiece-2660d709.mjs → LinkTableListPiece-f3a8e0d7.mjs} +1 -1
- package/{ModalFormDemo-0544737d.mjs → ModalFormDemo-711418db.mjs} +1 -1
- package/{OnlCgformErpList-30e416c8.mjs → OnlCgformErpList-58acdfa0.mjs} +121 -121
- package/{OnlCgformErpSubTable-9a876058.mjs → OnlCgformErpSubTable-9b1e1938.mjs} +149 -150
- package/{OnlCgformInnerSubTable-290ace5d.mjs → OnlCgformInnerSubTable-6c23781f.mjs} +96 -97
- package/{OnlCgformInnerTableList-f89b6687.mjs → OnlCgformInnerTableList-4b5e14ed.mjs} +156 -156
- package/{OnlCgformTabList-7a2f2c03.mjs → OnlCgformTabList-019ad753.mjs} +138 -138
- package/{OnlineAutoList-46c6c8b9.mjs → OnlineAutoList-48589d09.mjs} +90 -90
- package/{OnlineAutoModal-971bef13.mjs → OnlineAutoModal-c2928847.mjs} +64 -61
- package/{OnlineAutoTreeList-3b92454c.mjs → OnlineAutoTreeList-3baa1d00.mjs} +20 -19
- package/{OnlineCustomModal-594244f3.mjs → OnlineCustomModal-9e17b6ce.mjs} +8 -8
- package/{OnlineDetailModal-2a271e0b.mjs → OnlineDetailModal-d5895734.mjs} +8 -8
- package/OnlineForm-9f1153ba.mjs +985 -0
- package/{OnlineFormDetail-e036cd11.mjs → OnlineFormDetail-022ca117.mjs} +7 -7
- package/{OnlineFormUrlAdd-7fb3dcca.mjs → OnlineFormUrlAdd-9715d70a.mjs} +10 -10
- package/{OnlineFormUrlDetail-b2292137.mjs → OnlineFormUrlDetail-8f864b1a.mjs} +12 -12
- package/{OnlineFormUrlEdit-44080fb3.mjs → OnlineFormUrlEdit-ac985b36.mjs} +10 -10
- package/{OnlineFormUrlSuccess-af285b02.mjs → OnlineFormUrlSuccess-3dfc54ab.mjs} +1 -1
- package/OnlineQueryForm-eedb9a60.mjs +466 -0
- package/{OnlineSearchFormItem-6feacae6.mjs → OnlineSearchFormItem-6c557343.mjs} +2 -2
- package/{OnlineSelectCascade-471fcc76.mjs → OnlineSelectCascade-05c40fef.mjs} +1 -1
- package/{OnlineSubFormDetail-03f8ee5c.mjs → OnlineSubFormDetail-58e896ce.mjs} +7 -7
- package/{OnlineTabAutoModal-7b9bcd0b.mjs → OnlineTabAutoModal-47b18ad6.mjs} +7 -7
- package/{OnlineTabDetailModal-88143301.mjs → OnlineTabDetailModal-82de1465.mjs} +8 -8
- package/{OnlineTabForm-9ad7d29a.mjs → OnlineTabForm-27655c83.mjs} +236 -224
- package/{OnlineTabFormDetail-bbf23caa.mjs → OnlineTabFormDetail-8d0c40c0.mjs} +7 -7
- package/{PageAttributeTable-6c23547b.mjs → PageAttributeTable-25e3b7da.mjs} +156 -136
- package/{ProcessOnlineForm-b42198f5.mjs → ProcessOnlineForm-148632fe.mjs} +61 -55
- package/{QueryTable-96b3dbd0.mjs → QueryTable-f7bfca7f.mjs} +39 -36
- package/{SetSwitchOptions-a452fa0f.mjs → SetSwitchOptions-b2af757f.mjs} +1 -1
- package/SuperQuery-a8592995.mjs +967 -0
- package/auth.api-ea1d33d4.mjs +41 -0
- package/{auth.data-22948e87.mjs → auth.data-511e5197.mjs} +62 -28
- package/{enhance.data-3304d553.mjs → enhance.data-a67572e1.mjs} +8 -7
- package/index-1d1a6e56.mjs +57 -0
- package/{index-d2abb8a0.mjs → index-30e0e923.mjs} +48 -47
- package/{index-581bef24.mjs → index-f30613d1.mjs} +2 -2
- package/main.index.js +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/{useCgformList-8755a94e.mjs → useCgformList-f41d4dc1.mjs} +1 -1
- package/useExtendComponent-dcae5c78.mjs +4399 -0
- package/{useListButton-7ddb9a46.mjs → useListButton-bfac4ecf.mjs} +45 -45
- package/{useSchemas-47e45edc.mjs → useSchemas-a9c75b0f.mjs} +55 -46
- package/useTableSync-d7e9f18d.mjs +89 -0
- package/AuthButtonConfig-d50a0a65.mjs +0 -134
- package/AuthFieldConfig-490fc0ab.mjs +0 -139
- package/CgformModal-36faf29a.mjs +0 -621
- package/CodeGeneratorModal-b722d976.mjs +0 -238
- package/DbToOnlineModal-f49b9530.mjs +0 -166
- package/JOnlineSearchSelect-34a37ec9.mjs +0 -95
- package/OnlineForm-018981b2.mjs +0 -924
- package/OnlineQueryForm-998c12a4.mjs +0 -444
- package/SuperQuery-cbfba908.mjs +0 -975
- package/auth.api-d3a6c4b3.mjs +0 -39
- package/index-173949bb.mjs +0 -57
- package/useExtendComponent-bb7cca20.mjs +0 -4295
- package/useTableSync-f6089e8a.mjs +0 -87
- /package/{OnlineForm.vue_vue_type_style_index_0_scoped_0f9f2964_lang-4ed993c7.mjs → OnlineForm.vue_vue_type_style_index_0_scoped_4657b304_lang-4ed993c7.mjs} +0 -0
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
var h = (i, p, o) => new Promise((t, n) => {
|
|
2
|
+
var u = (a) => {
|
|
3
|
+
try {
|
|
4
|
+
e(o.next(a));
|
|
5
|
+
} catch (s) {
|
|
6
|
+
n(s);
|
|
7
|
+
}
|
|
8
|
+
}, c = (a) => {
|
|
9
|
+
try {
|
|
10
|
+
e(o.throw(a));
|
|
11
|
+
} catch (s) {
|
|
12
|
+
n(s);
|
|
13
|
+
}
|
|
14
|
+
}, e = (a) => a.done ? t(a.value) : Promise.resolve(a.value).then(u, c);
|
|
15
|
+
e((o = o.apply(i, p)).next());
|
|
16
|
+
});
|
|
17
|
+
import { useDebounceFn as O } from "@vueuse/core";
|
|
18
|
+
import { defHttp as P } from "/@/utils/http/axios";
|
|
19
|
+
import { useMessage as k } from "/@/hooks/web/useMessage";
|
|
20
|
+
import { ref as m, watch as S, resolveComponent as _, openBlock as g, createBlock as y, withCtx as w, createElementBlock as B, Fragment as D, renderList as H, createTextVNode as I, toDisplayString as q } from "vue";
|
|
21
|
+
import { _ as L } from "./index-1d1a6e56.mjs";
|
|
22
|
+
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
23
|
+
import "vue-router";
|
|
24
|
+
const { createMessage: N } = k(), T = {
|
|
25
|
+
name: "JOnlineSearchSelect",
|
|
26
|
+
props: {
|
|
27
|
+
placeholder: {
|
|
28
|
+
type: String,
|
|
29
|
+
default: "",
|
|
30
|
+
required: !1
|
|
31
|
+
},
|
|
32
|
+
value: {
|
|
33
|
+
type: String,
|
|
34
|
+
required: !1
|
|
35
|
+
},
|
|
36
|
+
// online CgReport item id
|
|
37
|
+
fieldId: {
|
|
38
|
+
type: String,
|
|
39
|
+
required: !0
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
emits: ["update:value"],
|
|
43
|
+
setup(i, { emit: p }) {
|
|
44
|
+
let o = m(""), t = m([]), n = !0, u = !1, c = "";
|
|
45
|
+
const e = m(1);
|
|
46
|
+
S(
|
|
47
|
+
() => i.value,
|
|
48
|
+
(l) => {
|
|
49
|
+
l ? o.value = l : o.value = void 0;
|
|
50
|
+
},
|
|
51
|
+
{ immediate: !0 }
|
|
52
|
+
), S(
|
|
53
|
+
() => i.fieldId,
|
|
54
|
+
() => {
|
|
55
|
+
v();
|
|
56
|
+
},
|
|
57
|
+
{ immediate: !0 }
|
|
58
|
+
);
|
|
59
|
+
const a = O((l) => {
|
|
60
|
+
c = l, e.value = 1, n = !0, s(l);
|
|
61
|
+
}, 800);
|
|
62
|
+
function s(l = "") {
|
|
63
|
+
return h(this, null, function* () {
|
|
64
|
+
let d = {
|
|
65
|
+
keyword: l,
|
|
66
|
+
fieldId: i.fieldId,
|
|
67
|
+
pageSize: 10,
|
|
68
|
+
pageNo: e.value
|
|
69
|
+
}, f = "/online/cgreport/api/getReportDictList";
|
|
70
|
+
yield P.get({ url: f, params: d }, { isTransformResponse: !1 }).then((r) => {
|
|
71
|
+
r.success ? r.result && r.result.length > 0 ? (e.value == 1 ? t.value = [...r.result] : t.value.push(...r.result), e.value++) : (e.value == 1 && (t.value = []), n = !1) : N.warning(r.message);
|
|
72
|
+
}).catch(() => {
|
|
73
|
+
e.value != 1 && e.value--;
|
|
74
|
+
});
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
function C(l) {
|
|
78
|
+
p("update:value", l), (!l || l == "") && v();
|
|
79
|
+
}
|
|
80
|
+
function v() {
|
|
81
|
+
t.value = [], e.value = 1, n = !0, c = "", s();
|
|
82
|
+
}
|
|
83
|
+
return {
|
|
84
|
+
selectOptions: t,
|
|
85
|
+
handleSearch: a,
|
|
86
|
+
handleChange: C,
|
|
87
|
+
selected: o,
|
|
88
|
+
handlePopupScroll: (l) => h(this, null, function* () {
|
|
89
|
+
const { target: d } = l, { scrollTop: f, scrollHeight: r, clientHeight: x } = d;
|
|
90
|
+
!u && n && f + x >= r - 10 && (u = !0, s(c).finally(() => {
|
|
91
|
+
u = !1;
|
|
92
|
+
}));
|
|
93
|
+
})
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
function F(i, p, o, t, n, u) {
|
|
98
|
+
const c = _("a-select-option"), e = _("a-select");
|
|
99
|
+
return g(), y(e, {
|
|
100
|
+
value: t.selected,
|
|
101
|
+
placeholder: o.placeholder,
|
|
102
|
+
"show-search": "",
|
|
103
|
+
"default-active-first-option": !1,
|
|
104
|
+
"show-arrow": !0,
|
|
105
|
+
"filter-option": !1,
|
|
106
|
+
"not-found-content": null,
|
|
107
|
+
onSearch: t.handleSearch,
|
|
108
|
+
onChange: t.handleChange,
|
|
109
|
+
onPopupScroll: t.handlePopupScroll,
|
|
110
|
+
allowClear: ""
|
|
111
|
+
}, {
|
|
112
|
+
default: w(() => [
|
|
113
|
+
(g(!0), B(D, null, H(t.selectOptions, (a) => (g(), y(c, {
|
|
114
|
+
key: a.value
|
|
115
|
+
}, {
|
|
116
|
+
default: w(() => [
|
|
117
|
+
I(q(a.text), 1)
|
|
118
|
+
]),
|
|
119
|
+
_: 2
|
|
120
|
+
}, 1024))), 128))
|
|
121
|
+
]),
|
|
122
|
+
_: 1
|
|
123
|
+
}, 8, ["value", "placeholder", "onSearch", "onChange", "onPopupScroll"]);
|
|
124
|
+
}
|
|
125
|
+
const G = /* @__PURE__ */ L(T, [["render", F]]);
|
|
126
|
+
export {
|
|
127
|
+
G as default
|
|
128
|
+
};
|
|
@@ -16,7 +16,7 @@ var f = (n, r, o) => new Promise((s, c) => {
|
|
|
16
16
|
});
|
|
17
17
|
import { defineComponent as h, ref as u, resolveComponent as m, openBlock as y, createElementBlock as K, createBlock as _, withCtx as D, createVNode as v, normalizeStyle as S, createCommentVNode as k } from "vue";
|
|
18
18
|
import { queryTreeList as x } from "/@/api/common/api";
|
|
19
|
-
import { _ as C } from "./index-
|
|
19
|
+
import { _ as C } from "./index-1d1a6e56.mjs";
|
|
20
20
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
21
21
|
import "/@/hooks/web/useMessage";
|
|
22
22
|
import "vue-router";
|
|
@@ -18,7 +18,7 @@ import { defineComponent as g, resolveComponent as _, openBlock as w, createBloc
|
|
|
18
18
|
import { defHttp as h } from "/@/utils/http/axios";
|
|
19
19
|
import { BasicTable as C } from "/@/components/Table";
|
|
20
20
|
import { useListPage as R } from "/@/hooks/system/useListPage";
|
|
21
|
-
import { _ as x } from "./index-
|
|
21
|
+
import { _ as x } from "./index-1d1a6e56.mjs";
|
|
22
22
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
23
23
|
import "/@/hooks/web/useMessage";
|
|
24
24
|
import "vue-router";
|
|
@@ -18,7 +18,7 @@ import { defineComponent as g, resolveComponent as w, openBlock as _, createBloc
|
|
|
18
18
|
import { defHttp as T } from "/@/utils/http/axios";
|
|
19
19
|
import { BasicTable as C } from "/@/components/Table";
|
|
20
20
|
import { useListPage as x } from "/@/hooks/system/useListPage";
|
|
21
|
-
import { _ as B } from "./index-
|
|
21
|
+
import { _ as B } from "./index-1d1a6e56.mjs";
|
|
22
22
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
23
23
|
import "/@/hooks/web/useMessage";
|
|
24
24
|
import "vue-router";
|
|
@@ -31,7 +31,7 @@ import { BasicForm as z, useForm as D } from "/@/components/Form/index";
|
|
|
31
31
|
import { defHttp as E } from "/@/utils/http/axios";
|
|
32
32
|
import { omit as Q } from "lodash-es";
|
|
33
33
|
import { useMessage as U } from "/@/hooks/web/useMessage";
|
|
34
|
-
import { _ as W } from "./index-
|
|
34
|
+
import { _ as W } from "./index-1d1a6e56.mjs";
|
|
35
35
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
36
36
|
import "vue-router";
|
|
37
37
|
const X = {
|
|
@@ -31,7 +31,7 @@ import { BasicForm as $, useForm as j } from "/@/components/Form/index";
|
|
|
31
31
|
import { defHttp as G } from "/@/utils/http/axios";
|
|
32
32
|
import { omit as z } from "lodash-es";
|
|
33
33
|
import { useMessage as D } from "/@/hooks/web/useMessage";
|
|
34
|
-
import { _ as E } from "./index-
|
|
34
|
+
import { _ as E } from "./index-1d1a6e56.mjs";
|
|
35
35
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
36
36
|
import "vue-router";
|
|
37
37
|
const Q = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { propTypes as o } from "/@/utils/propTypes";
|
|
2
2
|
import { openBlock as a, createElementBlock as s, createElementVNode as l, toDisplayString as p } from "vue";
|
|
3
|
-
import { _ as c } from "./index-
|
|
3
|
+
import { _ as c } from "./index-1d1a6e56.mjs";
|
|
4
4
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
5
5
|
import "/@/hooks/web/useMessage";
|
|
6
6
|
import "vue-router";
|
|
@@ -2,7 +2,7 @@ import { defineComponent as i, resolveComponent as p, openBlock as a, createElem
|
|
|
2
2
|
import { BasicForm as d, useForm as u } from "/@/components/Form/index";
|
|
3
3
|
import { defHttp as f } from "/@/utils/http/axios";
|
|
4
4
|
import { pick as _ } from "lodash-es";
|
|
5
|
-
import { _ as g } from "./index-
|
|
5
|
+
import { _ as g } from "./index-1d1a6e56.mjs";
|
|
6
6
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
7
7
|
import "/@/hooks/web/useMessage";
|
|
8
8
|
import "vue-router";
|