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