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,138 +1,157 @@
|
|
|
1
1
|
import "../../../node_modules/element-plus/theme-chalk/base.css.js";
|
|
2
|
-
import { ref as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { useDataSourceDialog as
|
|
6
|
-
import { useAdvancedFilterDialog as
|
|
7
|
-
import { useDataLinkageDialog as
|
|
8
|
-
import { useJsonDataDrawer as
|
|
9
|
-
import
|
|
10
|
-
import {
|
|
2
|
+
import { ref as d, openBlock as J, createElementBlock as q, createElementVNode as a, unref as e, createVNode as n, withCtx as u, isRef as t } from "vue";
|
|
3
|
+
import I from "../event/index.vue2.js";
|
|
4
|
+
import N from "../event/pageEvent.vue.js";
|
|
5
|
+
import { useDataSourceDialog as P } from "../dataSource/useDataSourceDialog.js";
|
|
6
|
+
import { useAdvancedFilterDialog as j } from "../advancedFilter/useAdvancedFilterDialog.js";
|
|
7
|
+
import { useDataLinkageDialog as M } from "../dataLinkage/useDataLinkageDialog.js";
|
|
8
|
+
import { useJsonDataDrawer as R } from "../../components/useJsonDataDrawer.js";
|
|
9
|
+
import y from "./HiddenFieldDialog.vue.js";
|
|
10
|
+
import { useDialogDialog as z } from "../dialog/useDialogDialog.js";
|
|
11
|
+
import { Connection as G, Management as K, Link as O, ChatLineSquare as Q, Hide as T, Document as W } from "../../../node_modules/@element-plus/icons-vue/dist/index.js";
|
|
11
12
|
import "./headerBtn.vue2.js";
|
|
12
|
-
import
|
|
13
|
-
import { ElIcon as
|
|
14
|
-
const
|
|
13
|
+
import X from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
14
|
+
import { ElIcon as Y } from "../../../node_modules/element-plus/es/components/icon/index.js";
|
|
15
|
+
const Z = { class: "header-btns" }, $ = {
|
|
15
16
|
__name: "headerBtn",
|
|
16
|
-
setup(
|
|
17
|
-
const { dataSourceDialogVisible: m, openDataSourceDialog:
|
|
18
|
-
function
|
|
19
|
-
r.value = !0;
|
|
20
|
-
}
|
|
21
|
-
const p = u(!1), s = u(!1);
|
|
22
|
-
function U() {
|
|
17
|
+
setup(_) {
|
|
18
|
+
const { dataSourceDialogVisible: m, openDataSourceDialog: v, DataSourceDialog: E } = P(), { jsonDataDrawerVisible: f, openJsonDrawer: b, JsonDataDrawer: F } = R(), s = d(!1);
|
|
19
|
+
function L() {
|
|
23
20
|
s.value = !0;
|
|
24
21
|
}
|
|
25
|
-
const
|
|
22
|
+
const p = d(!1), r = d(!1);
|
|
23
|
+
function w() {
|
|
24
|
+
r.value = !0;
|
|
25
|
+
}
|
|
26
|
+
const S = d({
|
|
26
27
|
operator: "and",
|
|
27
28
|
conditions: [],
|
|
28
29
|
groups: []
|
|
29
30
|
}), {
|
|
30
31
|
advancedFilterDialogVisible: g,
|
|
31
|
-
openAdvancedFilterDialog:
|
|
32
|
-
AdvancedFilterDialog:
|
|
33
|
-
} =
|
|
34
|
-
function
|
|
35
|
-
console.log("advancedConfirm",
|
|
32
|
+
openAdvancedFilterDialog: c,
|
|
33
|
+
AdvancedFilterDialog: x
|
|
34
|
+
} = j();
|
|
35
|
+
function B(U) {
|
|
36
|
+
console.log("advancedConfirm", U);
|
|
36
37
|
}
|
|
37
|
-
const { dataLinkageDialogVisible: D, openDataLinkageDialog:
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
const { dataLinkageDialogVisible: D, openDataLinkageDialog: C, DataLinkageDialog: H } = M();
|
|
39
|
+
d(!1);
|
|
40
|
+
const { dialogDialogVisible: V, openDialogDialog: k, DialogDialog: A } = z();
|
|
41
|
+
return (U, l) => {
|
|
42
|
+
const i = Y;
|
|
43
|
+
return J(), q("div", Z, [
|
|
41
44
|
a("div", {
|
|
42
45
|
class: "btn-item",
|
|
43
|
-
onClick: l[0] || (l[0] = (...o) => e(
|
|
46
|
+
onClick: l[0] || (l[0] = (...o) => e(v) && e(v)(...o))
|
|
44
47
|
}, [
|
|
45
48
|
n(i, null, {
|
|
46
|
-
default:
|
|
47
|
-
n(e(
|
|
49
|
+
default: u(() => [
|
|
50
|
+
n(e(G))
|
|
48
51
|
]),
|
|
49
52
|
_: 1
|
|
50
53
|
}),
|
|
51
|
-
l[
|
|
54
|
+
l[12] || (l[12] = a("span", null, "数据源", -1))
|
|
52
55
|
]),
|
|
53
|
-
n(e(
|
|
56
|
+
n(e(E), {
|
|
54
57
|
modelValue: e(m),
|
|
55
58
|
"onUpdate:modelValue": l[1] || (l[1] = (o) => t(m) ? m.value = o : null)
|
|
56
59
|
}, null, 8, ["modelValue"]),
|
|
57
|
-
n(e(
|
|
60
|
+
n(e(I), {
|
|
58
61
|
modelValue: e(p),
|
|
59
62
|
"onUpdate:modelValue": l[2] || (l[2] = (o) => t(p) ? p.value = o : null)
|
|
60
63
|
}, null, 8, ["modelValue"]),
|
|
61
64
|
a("div", {
|
|
62
65
|
class: "btn-item",
|
|
63
|
-
onClick:
|
|
66
|
+
onClick: w
|
|
64
67
|
}, [
|
|
65
68
|
n(i, null, {
|
|
66
|
-
default:
|
|
67
|
-
n(e(
|
|
69
|
+
default: u(() => [
|
|
70
|
+
n(e(K))
|
|
68
71
|
]),
|
|
69
72
|
_: 1
|
|
70
73
|
}),
|
|
71
|
-
l[
|
|
74
|
+
l[13] || (l[13] = a("span", null, "全局事件", -1))
|
|
72
75
|
]),
|
|
73
|
-
n(
|
|
74
|
-
modelValue: e(
|
|
75
|
-
"onUpdate:modelValue": l[3] || (l[3] = (o) => t(
|
|
76
|
+
n(N, {
|
|
77
|
+
modelValue: e(r),
|
|
78
|
+
"onUpdate:modelValue": l[3] || (l[3] = (o) => t(r) ? r.value = o : null)
|
|
76
79
|
}, null, 8, ["modelValue"]),
|
|
77
|
-
n(e(
|
|
80
|
+
n(e(x), {
|
|
78
81
|
modelValue: e(g),
|
|
79
82
|
"onUpdate:modelValue": l[4] || (l[4] = (o) => t(g) ? g.value = o : null),
|
|
80
|
-
filterConfig: e(
|
|
81
|
-
onConfirm:
|
|
83
|
+
filterConfig: e(S),
|
|
84
|
+
onConfirm: B,
|
|
82
85
|
title: "条件表达式配置"
|
|
83
86
|
}, null, 8, ["modelValue", "filterConfig"]),
|
|
84
87
|
a("div", {
|
|
85
88
|
class: "btn-item",
|
|
86
|
-
onClick: l[5] || (l[5] = (...o) => e(
|
|
89
|
+
onClick: l[5] || (l[5] = (...o) => e(C) && e(C)(...o))
|
|
87
90
|
}, [
|
|
88
91
|
n(i, null, {
|
|
89
|
-
default:
|
|
90
|
-
n(e(
|
|
92
|
+
default: u(() => [
|
|
93
|
+
n(e(O))
|
|
91
94
|
]),
|
|
92
95
|
_: 1
|
|
93
96
|
}),
|
|
94
|
-
l[
|
|
97
|
+
l[14] || (l[14] = a("span", null, "联动配置", -1))
|
|
95
98
|
]),
|
|
96
|
-
n(e(
|
|
99
|
+
n(e(H), {
|
|
97
100
|
modelValue: e(D),
|
|
98
101
|
"onUpdate:modelValue": l[6] || (l[6] = (o) => t(D) ? D.value = o : null)
|
|
99
102
|
}, null, 8, ["modelValue"]),
|
|
100
103
|
a("div", {
|
|
101
104
|
class: "btn-item",
|
|
102
|
-
onClick:
|
|
105
|
+
onClick: l[7] || (l[7] = (...o) => e(k) && e(k)(...o))
|
|
103
106
|
}, [
|
|
104
107
|
n(i, null, {
|
|
105
|
-
default:
|
|
106
|
-
n(e(
|
|
108
|
+
default: u(() => [
|
|
109
|
+
n(e(Q))
|
|
107
110
|
]),
|
|
108
111
|
_: 1
|
|
109
112
|
}),
|
|
110
|
-
l[
|
|
113
|
+
l[15] || (l[15] = a("span", null, "弹层配置", -1))
|
|
111
114
|
]),
|
|
112
|
-
n(
|
|
113
|
-
modelValue: e(
|
|
114
|
-
"onUpdate:modelValue": l[
|
|
115
|
+
n(e(A), {
|
|
116
|
+
modelValue: e(V),
|
|
117
|
+
"onUpdate:modelValue": l[8] || (l[8] = (o) => t(V) ? V.value = o : null)
|
|
115
118
|
}, null, 8, ["modelValue"]),
|
|
116
119
|
a("div", {
|
|
117
120
|
class: "btn-item",
|
|
118
|
-
onClick:
|
|
121
|
+
onClick: L
|
|
119
122
|
}, [
|
|
120
123
|
n(i, null, {
|
|
121
|
-
default:
|
|
122
|
-
n(e(
|
|
124
|
+
default: u(() => [
|
|
125
|
+
n(e(T))
|
|
123
126
|
]),
|
|
124
127
|
_: 1
|
|
125
128
|
}),
|
|
126
|
-
l[
|
|
129
|
+
l[16] || (l[16] = a("span", null, "隐藏域", -1))
|
|
127
130
|
]),
|
|
128
|
-
n(
|
|
131
|
+
n(y, {
|
|
132
|
+
modelValue: e(s),
|
|
133
|
+
"onUpdate:modelValue": l[9] || (l[9] = (o) => t(s) ? s.value = o : null)
|
|
134
|
+
}, null, 8, ["modelValue"]),
|
|
135
|
+
a("div", {
|
|
136
|
+
class: "btn-item",
|
|
137
|
+
onClick: l[10] || (l[10] = (...o) => e(b) && e(b)(...o))
|
|
138
|
+
}, [
|
|
139
|
+
n(i, null, {
|
|
140
|
+
default: u(() => [
|
|
141
|
+
n(e(W))
|
|
142
|
+
]),
|
|
143
|
+
_: 1
|
|
144
|
+
}),
|
|
145
|
+
l[17] || (l[17] = a("span", null, "数据结构", -1))
|
|
146
|
+
]),
|
|
147
|
+
n(e(F), {
|
|
129
148
|
modelValue: e(f),
|
|
130
|
-
"onUpdate:modelValue": l[
|
|
149
|
+
"onUpdate:modelValue": l[11] || (l[11] = (o) => t(f) ? f.value = o : null)
|
|
131
150
|
}, null, 8, ["modelValue"])
|
|
132
151
|
]);
|
|
133
152
|
};
|
|
134
153
|
}
|
|
135
|
-
},
|
|
154
|
+
}, pl = /* @__PURE__ */ X($, [["__scopeId", "data-v-90b76c88"]]);
|
|
136
155
|
export {
|
|
137
|
-
|
|
156
|
+
pl as default
|
|
138
157
|
};
|