fec-dev-designer 5.1.2 → 5.1.3
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/es/node_modules/element-plus/{dist/locale → es/locale/lang}/zh-cn.js +0 -1
- package/es/src/components/FieldSetMapping.vue.js +245 -108
- package/es/src/components/TemplateSelector.vue.js +101 -81
- package/es/src/layout/aside/HiddenFieldDialog.vue.js +313 -0
- package/es/src/{packages/form → layout/aside}/fieldRecycleBin.vue.js +72 -64
- package/es/src/layout/aside/index.vue.js +47 -50
- package/es/src/layout/index.vue.js +81 -76
- package/es/src/packages/dialog/index.vue.js +41 -38
- package/es/src/packages/form/aside/index.js +2 -1
- package/es/src/packages/form/demo.js +8064 -0
- package/es/src/packages/form/headerBtn.vue.js +120 -99
- package/es/src/packages/form/index.vue.js +187 -171
- package/es/src/packages/table/index.vue.js +191 -155
- package/es/src/packages/table/queryModule/FixedModeConfig.vue.js +76 -77
- package/es/src/packages/table/queryModule/index.vue.js +108 -91
- package/es/src/packages/utils/common.js +33 -29
- package/es/style.css +1 -1
- package/package.json +1 -1
- package/es/src/packages/form/HiddenFieldDialog.vue.js +0 -258
- /package/es/src/{packages/form → layout/aside}/HiddenFieldDialog.vue2.js +0 -0
- /package/es/src/{packages/form → layout/aside}/fieldRecycleBin.vue2.js +0 -0
|
@@ -1,71 +1,75 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e from "../../store/index.js";
|
|
2
2
|
import o from "../../../node_modules/lodash-es/cloneDeep.js";
|
|
3
|
-
function
|
|
3
|
+
function c(t) {
|
|
4
4
|
return o(t);
|
|
5
5
|
}
|
|
6
6
|
function d(t) {
|
|
7
|
-
|
|
7
|
+
e.commit("set_edit_config_data", t);
|
|
8
8
|
}
|
|
9
9
|
function f() {
|
|
10
|
-
return
|
|
10
|
+
return e.getters.editConfigData;
|
|
11
11
|
}
|
|
12
12
|
function u(t) {
|
|
13
|
-
|
|
13
|
+
e.commit("set_selected_item", t);
|
|
14
14
|
}
|
|
15
15
|
function D(t) {
|
|
16
|
-
|
|
16
|
+
e.commit("set_hover_item", t);
|
|
17
17
|
}
|
|
18
18
|
function r(t) {
|
|
19
|
-
var
|
|
20
|
-
return ((
|
|
19
|
+
var i;
|
|
20
|
+
return ((i = e.getters.hoverItem) == null ? void 0 : i.id) == (t == null ? void 0 : t.id);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
23
|
-
var
|
|
24
|
-
return ((
|
|
22
|
+
function s(t) {
|
|
23
|
+
var i;
|
|
24
|
+
return ((i = e.getters.selectedItem) == null ? void 0 : i.id) == (t == null ? void 0 : t.id);
|
|
25
25
|
}
|
|
26
26
|
function m() {
|
|
27
|
-
return
|
|
27
|
+
return e.getters.selectedItem;
|
|
28
28
|
}
|
|
29
29
|
function C(t) {
|
|
30
30
|
return {
|
|
31
31
|
"is-hover": r(t),
|
|
32
|
-
"is-select":
|
|
32
|
+
"is-select": s(t)
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
35
|
function l(t) {
|
|
36
|
-
const
|
|
37
|
-
|
|
36
|
+
const i = e.getters.editConfigData;
|
|
37
|
+
i.dataSources = t, e.commit("set_edit_config_data", i);
|
|
38
38
|
}
|
|
39
39
|
function _() {
|
|
40
|
-
return
|
|
40
|
+
return e.getters.editConfigData.dialogs || [];
|
|
41
41
|
}
|
|
42
42
|
function p(t) {
|
|
43
|
-
const
|
|
44
|
-
|
|
45
|
-
}
|
|
46
|
-
function I() {
|
|
47
|
-
return i.getters.editConfigData.dataSources;
|
|
43
|
+
const i = e.getters.editConfigData;
|
|
44
|
+
i.dialogs = t, e.commit("set_edit_config_data", i);
|
|
48
45
|
}
|
|
49
46
|
function E() {
|
|
50
|
-
|
|
47
|
+
return e.getters.editConfigData.dataSources;
|
|
48
|
+
}
|
|
49
|
+
function I() {
|
|
50
|
+
const t = e.getters.editingType, i = e.getters.editConfigData.fieldsData;
|
|
51
51
|
switch (t) {
|
|
52
52
|
case "table":
|
|
53
|
-
return
|
|
53
|
+
return i;
|
|
54
54
|
case "form":
|
|
55
|
-
return
|
|
55
|
+
return i.map((n) => n.component);
|
|
56
56
|
}
|
|
57
|
-
return
|
|
57
|
+
return i;
|
|
58
|
+
}
|
|
59
|
+
function S() {
|
|
60
|
+
return e.getters.editingType;
|
|
58
61
|
}
|
|
59
62
|
export {
|
|
60
|
-
|
|
63
|
+
c as cloneDeep,
|
|
61
64
|
C as getCurrentClass,
|
|
62
65
|
m as getCurrentItem,
|
|
63
66
|
f as getEditConfigData,
|
|
64
|
-
|
|
65
|
-
|
|
67
|
+
I as getEditConfigDataFields,
|
|
68
|
+
E as getEditConfigDataSources,
|
|
66
69
|
_ as getEditConfigDialogs,
|
|
70
|
+
S as getEditingType,
|
|
67
71
|
r as isHoverItem,
|
|
68
|
-
|
|
72
|
+
s as isSelectedItem,
|
|
69
73
|
d as setEditConfigData,
|
|
70
74
|
l as setEditConfigDataSources,
|
|
71
75
|
p as setEditConfigDialogs,
|