fec-dev-designer 1.0.4 → 1.1.0
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/config-dev.js +7 -5
- package/es/node_modules/@element-plus/icons-vue/dist/index.js +126 -92
- package/es/node_modules/element-plus/es/components/result/index.js +7 -0
- package/es/node_modules/element-plus/es/components/result/src/result.js +34 -0
- package/es/node_modules/element-plus/es/components/result/src/result2.js +93 -0
- package/es/node_modules/element-plus/theme-chalk/el-result.css.js +4 -0
- package/es/src/api/index.js +5 -5
- package/es/src/components/EventConfigButton.vue.js +2 -2
- package/es/src/components/FieldSetMapping.vue.js +211 -0
- package/es/src/components/FieldSetMapping.vue2.js +4 -0
- package/es/src/components/FormulaEditorInput.vue.js +43 -38
- package/es/src/components/JsonDataDrawer.vue.js +1 -1
- package/es/src/components/OnlyFLowConfigButton.vue.js +102 -0
- package/es/src/components/OnlyFLowConfigButton.vue2.js +4 -0
- package/es/src/components/OptionConfig.vue.js +1 -1
- package/es/src/components/TemplateSelector.vue.js +45 -45
- package/es/src/components/ValueSelector.vue2.js +30 -24
- package/es/src/components/ValueSelectorPopover.vue2.js +1 -1
- package/es/src/layout/aside/index.vue.js +64 -60
- package/es/src/layout/index.vue.js +91 -54
- package/es/src/packages/dataSource/dataSource.vue.js +122 -118
- package/es/src/packages/dialog/index.vue.js +718 -0
- package/es/src/packages/dialog/index.vue2.js +4 -0
- package/es/src/packages/dialog/useDialogDialog.js +15 -0
- package/es/src/packages/event/index.vue2.js +1 -1
- package/es/src/packages/event/onlyFlow.vue.js +91 -0
- package/es/src/packages/event/onlyFlow.vue2.js +4 -0
- package/es/src/packages/event/useOnlyFlowDialog.js +15 -0
- package/es/src/packages/eventFlow/dialog/action/Dialog.vue.js +48 -0
- package/es/src/packages/eventFlow/dialog/action/Page.vue.js +29 -20
- package/es/src/packages/eventFlow/dialog/action/config.js +12 -11
- package/es/src/packages/form/PageFooterSetting.vue.js +53 -58
- package/es/src/packages/form/aside/index.js +20 -4
- package/es/src/packages/form/components/ComponentPreviewWrapper.vue.js +70 -52
- package/es/src/packages/form/default.js +20 -19
- package/es/src/packages/form/formSetting.vue.js +72 -50
- package/es/src/packages/form/headerBtn.vue.js +84 -65
- package/es/src/packages/form/index.vue.js +247 -202
- package/es/src/packages/form/property/blank.vue.js +62 -0
- package/es/src/packages/form/property/index.vue.js +21 -20
- package/es/src/packages/form/property/pageFooterBtn.vue.js +39 -39
- package/es/src/packages/form/property/subTable.vue.js +61 -52
- package/es/src/packages/form/property/widgets.vue.js +385 -200
- package/es/src/packages/table/aside/index.js +1 -0
- package/es/src/packages/table/default.js +9 -1
- package/es/src/packages/table/headerBtn.vue.js +72 -54
- package/es/src/packages/table/property/widgets.vue.js +96 -85
- package/es/src/packages/table/queryModule/FixedModeConfig.vue.js +6 -6
- package/es/src/packages/table/tablePagination.vue.js +37 -45
- package/es/src/packages/table/tableSetting.vue.js +197 -196
- package/es/src/packages/utils/common.js +44 -35
- package/es/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,65 +1,74 @@
|
|
|
1
|
-
import
|
|
1
|
+
import i from "../../store/index.js";
|
|
2
2
|
import o from "../../../node_modules/lodash-es/cloneDeep.js";
|
|
3
|
-
function
|
|
3
|
+
function g(t) {
|
|
4
4
|
return o(t);
|
|
5
5
|
}
|
|
6
|
-
function
|
|
7
|
-
|
|
6
|
+
function d(t) {
|
|
7
|
+
i.commit("set_edit_config_data", t);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
10
|
-
return
|
|
9
|
+
function f() {
|
|
10
|
+
return i.getters.editConfigData;
|
|
11
11
|
}
|
|
12
|
-
function
|
|
13
|
-
|
|
12
|
+
function u(t) {
|
|
13
|
+
i.commit("set_selected_item", t);
|
|
14
14
|
}
|
|
15
|
-
function
|
|
16
|
-
|
|
15
|
+
function D(t) {
|
|
16
|
+
i.commit("set_hover_item", t);
|
|
17
17
|
}
|
|
18
18
|
function r(t) {
|
|
19
19
|
var e;
|
|
20
|
-
return ((e =
|
|
20
|
+
return ((e = i.getters.hoverItem) == null ? void 0 : e.id) == (t == null ? void 0 : t.id);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function a(t) {
|
|
23
23
|
var e;
|
|
24
|
-
return ((e =
|
|
24
|
+
return ((e = i.getters.selectedItem) == null ? void 0 : e.id) == (t == null ? void 0 : t.id);
|
|
25
25
|
}
|
|
26
|
-
function
|
|
27
|
-
return
|
|
26
|
+
function m() {
|
|
27
|
+
return i.getters.selectedItem;
|
|
28
28
|
}
|
|
29
|
-
function
|
|
29
|
+
function C(t) {
|
|
30
30
|
return {
|
|
31
31
|
"is-hover": r(t),
|
|
32
|
-
"is-select":
|
|
32
|
+
"is-select": a(t)
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
|
-
function
|
|
36
|
-
const e =
|
|
37
|
-
e.dataSources = t,
|
|
35
|
+
function l(t) {
|
|
36
|
+
const e = i.getters.editConfigData;
|
|
37
|
+
e.dataSources = t, i.commit("set_edit_config_data", e);
|
|
38
38
|
}
|
|
39
39
|
function _() {
|
|
40
|
-
return
|
|
40
|
+
return i.getters.editConfigData.dialogs || [];
|
|
41
|
+
}
|
|
42
|
+
function p(t) {
|
|
43
|
+
const e = i.getters.editConfigData;
|
|
44
|
+
e.dialogs = t, i.commit("set_edit_config_data", e);
|
|
45
|
+
}
|
|
46
|
+
function I() {
|
|
47
|
+
return i.getters.editConfigData.dataSources;
|
|
41
48
|
}
|
|
42
|
-
function
|
|
43
|
-
const t =
|
|
49
|
+
function E() {
|
|
50
|
+
const t = i.getters.editingType, e = i.getters.editConfigData.fieldsData;
|
|
44
51
|
switch (t) {
|
|
45
52
|
case "table":
|
|
46
53
|
return e;
|
|
47
54
|
case "form":
|
|
48
|
-
return e.map((
|
|
55
|
+
return e.map((n) => n.component);
|
|
49
56
|
}
|
|
50
57
|
return e;
|
|
51
58
|
}
|
|
52
59
|
export {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
60
|
+
g as cloneDeep,
|
|
61
|
+
C as getCurrentClass,
|
|
62
|
+
m as getCurrentItem,
|
|
63
|
+
f as getEditConfigData,
|
|
64
|
+
E as getEditConfigDataFields,
|
|
65
|
+
I as getEditConfigDataSources,
|
|
66
|
+
_ as getEditConfigDialogs,
|
|
59
67
|
r as isHoverItem,
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
68
|
+
a as isSelectedItem,
|
|
69
|
+
d as setEditConfigData,
|
|
70
|
+
l as setEditConfigDataSources,
|
|
71
|
+
p as setEditConfigDialogs,
|
|
72
|
+
D as setHoverItem,
|
|
73
|
+
u as setSelectedItem
|
|
65
74
|
};
|