fec-dev-designer 1.0.5 → 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/node_modules/@element-plus/icons-vue/dist/index.js +112 -93
- 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/TemplateSelector.vue.js +45 -45
- package/es/src/components/ValueSelectorPopover.vue2.js +1 -2
- 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 +1 -1
- 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 +3 -1
- package/es/src/packages/form/components/ComponentPreviewWrapper.vue.js +70 -56
- package/es/src/packages/form/default.js +19 -19
- package/es/src/packages/form/headerBtn.vue.js +84 -65
- package/es/src/packages/form/property/pageFooterBtn.vue.js +39 -39
- package/es/src/packages/form/property/widgets.vue.js +339 -261
- package/es/src/packages/table/default.js +9 -1
- package/es/src/packages/table/headerBtn.vue.js +72 -54
- package/es/src/packages/table/tableSetting.vue.js +197 -195
- package/es/src/packages/utils/common.js +44 -35
- package/es/style.css +1 -1
- package/package.json +1 -1
|
@@ -17,25 +17,26 @@ import "../../../../node_modules/element-plus/theme-chalk/el-date-picker-panel.c
|
|
|
17
17
|
import "../../../../node_modules/element-plus/theme-chalk/el-input.css.js";
|
|
18
18
|
import "../../../../node_modules/element-plus/theme-chalk/el-button.css.js";
|
|
19
19
|
import "../../../../node_modules/element-plus/theme-chalk/el-tooltip.css.js";
|
|
20
|
-
import { computed as
|
|
20
|
+
import { computed as q, openBlock as t, createElementBlock as d, createBlock as o, createSlots as k, withCtx as a, normalizeProps as u, mergeProps as l, unref as i, createVNode as W, createTextVNode as D, toDisplayString as s, createCommentVNode as c, Fragment as h, renderList as x, createElementVNode as b } from "vue";
|
|
21
21
|
import "./ComponentPreviewWrapper.vue2.js";
|
|
22
|
-
import
|
|
23
|
-
import { ElTooltip as
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
|
|
22
|
+
import I from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
23
|
+
import { ElTooltip as L } from "../../../../node_modules/element-plus/es/components/tooltip/index.js";
|
|
24
|
+
import { ElButton as z } from "../../../../node_modules/element-plus/es/components/button/index.js";
|
|
25
|
+
import { ElInput as F } from "../../../../node_modules/element-plus/es/components/input/index.js";
|
|
26
|
+
import { ElDatePicker as G } from "../../../../node_modules/element-plus/es/components/date-picker/index.js";
|
|
27
|
+
import { ElSelect as O } from "../../../../node_modules/element-plus/es/components/select/index.js";
|
|
28
|
+
import { ElRadio as R, ElRadioGroup as j } from "../../../../node_modules/element-plus/es/components/radio/index.js";
|
|
29
|
+
import { ElCheckbox as J, ElCheckboxGroup as M } from "../../../../node_modules/element-plus/es/components/checkbox/index.js";
|
|
30
|
+
import { ElSwitch as Z } from "../../../../node_modules/element-plus/es/components/switch/index.js";
|
|
31
|
+
import { ElDivider as A } from "../../../../node_modules/element-plus/es/components/divider/index.js";
|
|
32
|
+
import { ElFormItem as H } from "../../../../node_modules/element-plus/es/components/form/index.js";
|
|
33
|
+
const K = { class: "component-preview" }, Q = {
|
|
33
34
|
key: 0,
|
|
34
35
|
class: "iconfont icon-iconZheng credit-icon"
|
|
35
|
-
},
|
|
36
|
+
}, U = {
|
|
36
37
|
key: 1,
|
|
37
38
|
class: "iconfont icon-iconJian regulation-icon"
|
|
38
|
-
},
|
|
39
|
+
}, X = {
|
|
39
40
|
__name: "ComponentPreviewWrapper",
|
|
40
41
|
props: {
|
|
41
42
|
componentData: {
|
|
@@ -44,7 +45,7 @@ const M = { class: "component-preview" }, Z = {
|
|
|
44
45
|
}
|
|
45
46
|
},
|
|
46
47
|
setup(e) {
|
|
47
|
-
const p = e, n =
|
|
48
|
+
const p = e, n = q(() => ({
|
|
48
49
|
disabled: p.componentData.disabled,
|
|
49
50
|
readonly: p.componentData.readOnly,
|
|
50
51
|
placeholder: p.componentData.placeholder || "",
|
|
@@ -52,93 +53,106 @@ const M = { class: "component-preview" }, Z = {
|
|
|
52
53
|
maxlength: p.componentData.maxLength,
|
|
53
54
|
showWordLimit: p.componentData.showWordCount || !1
|
|
54
55
|
}));
|
|
55
|
-
return (
|
|
56
|
-
const
|
|
57
|
-
return t(),
|
|
56
|
+
return (Y, y) => {
|
|
57
|
+
const v = L, T = z, f = F, g = G, E = O, w = R, B = j, C = J, N = M, P = Z, V = A, S = H;
|
|
58
|
+
return t(), d("div", K, [
|
|
58
59
|
e.componentData.fieldType != "blank" ? (t(), o(S, {
|
|
59
60
|
key: 0,
|
|
60
61
|
placeholder: e.componentData.placeholder,
|
|
61
62
|
required: e.componentData.required,
|
|
62
63
|
class: "preview-form-item"
|
|
63
|
-
},
|
|
64
|
-
default:
|
|
65
|
-
e.componentData.fieldType == "text" ? (t(), o(f,
|
|
64
|
+
}, k({
|
|
65
|
+
default: a(() => [
|
|
66
|
+
e.componentData.fieldType == "text" ? (t(), o(f, u(l({ key: 0 }, i(n))), k({ _: 2 }, [
|
|
67
|
+
e.componentData.suffixButton && e.componentData.suffixButton != "none" ? {
|
|
68
|
+
name: "append",
|
|
69
|
+
fn: a(() => [
|
|
70
|
+
W(T, { class: "suffixButton" }, {
|
|
71
|
+
default: a(() => [
|
|
72
|
+
D(s(e.componentData.suffixButton == "dialog" ? e.componentData.suffixDialogName ? e.componentData.suffixDialogName : "选择" : e.componentData.suffixButtonName), 1)
|
|
73
|
+
]),
|
|
74
|
+
_: 1
|
|
75
|
+
})
|
|
76
|
+
]),
|
|
77
|
+
key: "0"
|
|
78
|
+
} : void 0
|
|
79
|
+
]), 1040)) : e.componentData.fieldType == "textarea" ? (t(), o(f, l({
|
|
66
80
|
key: 1,
|
|
67
81
|
rows: 4,
|
|
68
82
|
type: "textarea"
|
|
69
|
-
},
|
|
83
|
+
}, i(n), {
|
|
70
84
|
resize: "none",
|
|
71
85
|
style: { height: "100%" }
|
|
72
|
-
}), null, 16)) :
|
|
73
|
-
e.componentData.fieldType == "number" ? (t(), o(f,
|
|
86
|
+
}), null, 16)) : c("", !0),
|
|
87
|
+
e.componentData.fieldType == "number" ? (t(), o(f, l({ key: 2 }, i(n), { controls: !1 }), null, 16)) : e.componentData.fieldType == "date" ? (t(), o(g, l({ key: 3 }, i(n), {
|
|
74
88
|
type: "date",
|
|
75
89
|
style: { width: "100%" }
|
|
76
|
-
}), null, 16)) : e.componentData.fieldType == "select" || e.componentData.fieldType == "multipleSelection" || e.componentData.fieldType == "cascader" || e.componentData.fieldType == "area" || e.componentData.fieldType == "industry" ? (t(), o(
|
|
77
|
-
default:
|
|
78
|
-
var
|
|
90
|
+
}), null, 16)) : e.componentData.fieldType == "select" || e.componentData.fieldType == "multipleSelection" || e.componentData.fieldType == "cascader" || e.componentData.fieldType == "area" || e.componentData.fieldType == "industry" ? (t(), o(E, u(l({ key: 4 }, i(n))), null, 16)) : e.componentData.fieldType == "radio" ? (t(), o(B, u(l({ key: 5 }, i(n))), {
|
|
91
|
+
default: a(() => {
|
|
92
|
+
var m;
|
|
79
93
|
return [
|
|
80
|
-
(t(!0),
|
|
81
|
-
key:
|
|
82
|
-
value:
|
|
94
|
+
(t(!0), d(h, null, x(((m = e.componentData.optionConfig) == null ? void 0 : m.options) || [], (r) => (t(), o(w, {
|
|
95
|
+
key: r.value,
|
|
96
|
+
value: r.value
|
|
83
97
|
}, {
|
|
84
|
-
default:
|
|
85
|
-
|
|
98
|
+
default: a(() => [
|
|
99
|
+
D(s(r.label), 1)
|
|
86
100
|
]),
|
|
87
101
|
_: 2
|
|
88
102
|
}, 1032, ["value"]))), 128))
|
|
89
103
|
];
|
|
90
104
|
}),
|
|
91
105
|
_: 1
|
|
92
|
-
}, 16)) : e.componentData.fieldType == "checkbox" ? (t(), o(
|
|
93
|
-
default:
|
|
94
|
-
var
|
|
106
|
+
}, 16)) : e.componentData.fieldType == "checkbox" ? (t(), o(N, u(l({ key: 6 }, i(n))), {
|
|
107
|
+
default: a(() => {
|
|
108
|
+
var m;
|
|
95
109
|
return [
|
|
96
|
-
(t(!0),
|
|
97
|
-
key:
|
|
98
|
-
value:
|
|
110
|
+
(t(!0), d(h, null, x(((m = e.componentData.optionConfig) == null ? void 0 : m.options) || [], (r) => (t(), o(C, {
|
|
111
|
+
key: r.value,
|
|
112
|
+
value: r.value
|
|
99
113
|
}, {
|
|
100
|
-
default:
|
|
101
|
-
|
|
114
|
+
default: a(() => [
|
|
115
|
+
D(s(r.label), 1)
|
|
102
116
|
]),
|
|
103
117
|
_: 2
|
|
104
118
|
}, 1032, ["value"]))), 128))
|
|
105
119
|
];
|
|
106
120
|
}),
|
|
107
121
|
_: 1
|
|
108
|
-
}, 16)) :
|
|
109
|
-
e.componentData.fieldType == "switch" ? (t(), o(
|
|
110
|
-
e.componentData.fieldType == "upload" ? (t(), o(f,
|
|
111
|
-
e.componentData.fieldType == "divider" ? (t(), o(
|
|
122
|
+
}, 16)) : c("", !0),
|
|
123
|
+
e.componentData.fieldType == "switch" ? (t(), o(P, u(l({ key: 7 }, i(n))), null, 16)) : c("", !0),
|
|
124
|
+
e.componentData.fieldType == "upload" ? (t(), o(f, u(l({ key: 8 }, i(n))), null, 16)) : c("", !0),
|
|
125
|
+
e.componentData.fieldType == "divider" ? (t(), o(V, { key: 9 })) : c("", !0)
|
|
112
126
|
]),
|
|
113
127
|
_: 2
|
|
114
128
|
}, [
|
|
115
129
|
e.componentData.labelMode != "input" ? {
|
|
116
130
|
name: "label",
|
|
117
|
-
fn:
|
|
118
|
-
var
|
|
131
|
+
fn: a(() => {
|
|
132
|
+
var m;
|
|
119
133
|
return [
|
|
120
|
-
e.componentData.credit ? (t(),
|
|
121
|
-
e.componentData.regulation ? (t(),
|
|
122
|
-
|
|
123
|
-
(
|
|
134
|
+
e.componentData.credit ? (t(), d("i", Q)) : c("", !0),
|
|
135
|
+
e.componentData.regulation ? (t(), d("i", U)) : c("", !0),
|
|
136
|
+
b("span", null, s(e.componentData.label), 1),
|
|
137
|
+
(m = e.componentData.tooltip) != null && m.trim() ? (t(), o(v, {
|
|
124
138
|
key: 2,
|
|
125
139
|
content: e.componentData.tooltip,
|
|
126
140
|
placement: "top"
|
|
127
141
|
}, {
|
|
128
|
-
default:
|
|
129
|
-
|
|
142
|
+
default: a(() => [...y[0] || (y[0] = [
|
|
143
|
+
b("i", { class: "iconfont icon-tooltip info-icon" }, null, -1)
|
|
130
144
|
])]),
|
|
131
145
|
_: 1
|
|
132
|
-
}, 8, ["content"])) :
|
|
146
|
+
}, 8, ["content"])) : c("", !0)
|
|
133
147
|
];
|
|
134
148
|
}),
|
|
135
149
|
key: "0"
|
|
136
150
|
} : void 0
|
|
137
|
-
]), 1032, ["placeholder", "required"])) :
|
|
151
|
+
]), 1032, ["placeholder", "required"])) : c("", !0)
|
|
138
152
|
]);
|
|
139
153
|
};
|
|
140
154
|
}
|
|
141
|
-
},
|
|
155
|
+
}, Ve = /* @__PURE__ */ I(X, [["__scopeId", "data-v-823b4942"]]);
|
|
142
156
|
export {
|
|
143
|
-
|
|
157
|
+
Ve as default
|
|
144
158
|
};
|
|
@@ -6,25 +6,25 @@ const e = {
|
|
|
6
6
|
labelPosition: "right",
|
|
7
7
|
dataSources: [],
|
|
8
8
|
linkedConfig: {},
|
|
9
|
-
buttonConfig: {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
},
|
|
9
|
+
// buttonConfig: {
|
|
10
|
+
// showButtons: true,
|
|
11
|
+
// buttons: [
|
|
12
|
+
// {
|
|
13
|
+
// id: 'btn_save',
|
|
14
|
+
// text: '保存',
|
|
15
|
+
// action: 'save',
|
|
16
|
+
// icon: '',
|
|
17
|
+
// enabled: true
|
|
18
|
+
// },
|
|
19
|
+
// {
|
|
20
|
+
// id: 'btn_cancel',
|
|
21
|
+
// text: '返回',
|
|
22
|
+
// action: 'cancel',
|
|
23
|
+
// icon: '',
|
|
24
|
+
// enabled: true
|
|
25
|
+
// }
|
|
26
|
+
// ]
|
|
27
|
+
// },
|
|
28
28
|
pageHeaderConfig: {
|
|
29
29
|
enabled: !0,
|
|
30
30
|
canBack: !0,
|
|
@@ -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
|
};
|
|
@@ -2,34 +2,34 @@ import "../../../../node_modules/element-plus/theme-chalk/base.css.js";
|
|
|
2
2
|
import "../../../../node_modules/element-plus/theme-chalk/el-collapse.css.js";
|
|
3
3
|
import "../../../../node_modules/element-plus/theme-chalk/el-collapse-item.css.js";
|
|
4
4
|
import "../../../../node_modules/element-plus/theme-chalk/el-form.css.js";
|
|
5
|
+
import "../../../../node_modules/element-plus/theme-chalk/el-input.css.js";
|
|
6
|
+
import "../../../../node_modules/element-plus/theme-chalk/el-form-item.css.js";
|
|
5
7
|
import "../../../../node_modules/element-plus/theme-chalk/el-tag.css.js";
|
|
6
8
|
import "../../../../node_modules/element-plus/theme-chalk/el-option.css.js";
|
|
7
9
|
import "../../../../node_modules/element-plus/theme-chalk/el-option-group.css.js";
|
|
8
10
|
import "../../../../node_modules/element-plus/theme-chalk/el-scrollbar.css.js";
|
|
9
11
|
import "../../../../node_modules/element-plus/theme-chalk/el-popper.css.js";
|
|
10
12
|
import "../../../../node_modules/element-plus/theme-chalk/el-select.css.js";
|
|
11
|
-
import "../../../../node_modules/element-plus/theme-chalk/el-form-item.css.js";
|
|
12
|
-
import "../../../../node_modules/element-plus/theme-chalk/el-input.css.js";
|
|
13
13
|
import { computed as V, ref as b, openBlock as v, createBlock as C, unref as l, isRef as E, withCtx as m, createVNode as e } from "vue";
|
|
14
14
|
import g from "../../../components/EventConfigButton.vue.js";
|
|
15
15
|
import { getCurrentItem as I } from "../../utils/common.js";
|
|
16
|
-
import {
|
|
17
|
-
import { ElFormItem as
|
|
18
|
-
import {
|
|
19
|
-
import { ElCollapseItem as
|
|
16
|
+
import { ElOption as B, ElSelect as U } from "../../../../node_modules/element-plus/es/components/select/index.js";
|
|
17
|
+
import { ElFormItem as x, ElForm as y } from "../../../../node_modules/element-plus/es/components/form/index.js";
|
|
18
|
+
import { ElInput as F } from "../../../../node_modules/element-plus/es/components/input/index.js";
|
|
19
|
+
import { ElCollapseItem as k, ElCollapse as w } from "../../../../node_modules/element-plus/es/components/collapse/index.js";
|
|
20
20
|
const Y = {
|
|
21
21
|
__name: "pageFooterBtn",
|
|
22
|
-
setup(
|
|
23
|
-
const o = V(() => I()),
|
|
24
|
-
function d(
|
|
25
|
-
o.value.eventConfig =
|
|
22
|
+
setup(N) {
|
|
23
|
+
const o = V(() => I()), p = b(["common"]);
|
|
24
|
+
function d(a) {
|
|
25
|
+
o.value.eventConfig = a;
|
|
26
26
|
}
|
|
27
|
-
return (
|
|
28
|
-
const i = B,
|
|
27
|
+
return (a, t) => {
|
|
28
|
+
const i = B, f = U, r = x, u = F, _ = y, s = k, c = w;
|
|
29
29
|
return v(), C(c, {
|
|
30
30
|
class: "setting",
|
|
31
|
-
modelValue: l(
|
|
32
|
-
"onUpdate:modelValue": t[3] || (t[3] = (n) => E(
|
|
31
|
+
modelValue: l(p),
|
|
32
|
+
"onUpdate:modelValue": t[3] || (t[3] = (n) => E(p) ? p.value = n : null)
|
|
33
33
|
}, {
|
|
34
34
|
default: m(() => [
|
|
35
35
|
e(s, {
|
|
@@ -43,48 +43,48 @@ const Y = {
|
|
|
43
43
|
model: l(o)
|
|
44
44
|
}, {
|
|
45
45
|
default: m(() => [
|
|
46
|
+
e(r, { label: "按钮类型" }, {
|
|
47
|
+
default: m(() => [
|
|
48
|
+
e(f, {
|
|
49
|
+
modelValue: l(o).btnType,
|
|
50
|
+
"onUpdate:modelValue": t[0] || (t[0] = (n) => l(o).btnType = n)
|
|
51
|
+
}, {
|
|
52
|
+
default: m(() => [
|
|
53
|
+
e(i, {
|
|
54
|
+
label: "自定义",
|
|
55
|
+
value: "primary"
|
|
56
|
+
}),
|
|
57
|
+
e(i, {
|
|
58
|
+
label: "返回",
|
|
59
|
+
value: "default"
|
|
60
|
+
})
|
|
61
|
+
]),
|
|
62
|
+
_: 1
|
|
63
|
+
}, 8, ["modelValue"])
|
|
64
|
+
]),
|
|
65
|
+
_: 1
|
|
66
|
+
}),
|
|
46
67
|
e(r, {
|
|
47
68
|
label: "按钮名称",
|
|
48
69
|
required: ""
|
|
49
70
|
}, {
|
|
50
71
|
default: m(() => [
|
|
51
|
-
e(
|
|
72
|
+
e(u, {
|
|
52
73
|
modelValue: l(o).label,
|
|
53
|
-
"onUpdate:modelValue": t[
|
|
74
|
+
"onUpdate:modelValue": t[1] || (t[1] = (n) => l(o).label = n)
|
|
54
75
|
}, null, 8, ["modelValue"])
|
|
55
76
|
]),
|
|
56
77
|
_: 1
|
|
57
78
|
}),
|
|
58
79
|
e(r, { label: "权限标识" }, {
|
|
59
80
|
default: m(() => [
|
|
60
|
-
e(
|
|
81
|
+
e(u, {
|
|
61
82
|
modelValue: l(o).permission,
|
|
62
|
-
"onUpdate:modelValue": t[
|
|
83
|
+
"onUpdate:modelValue": t[2] || (t[2] = (n) => l(o).permission = n)
|
|
63
84
|
}, null, 8, ["modelValue"])
|
|
64
85
|
]),
|
|
65
86
|
_: 1
|
|
66
87
|
}),
|
|
67
|
-
e(r, { label: "风格" }, {
|
|
68
|
-
default: m(() => [
|
|
69
|
-
e(f, {
|
|
70
|
-
modelValue: l(o).btnStyle,
|
|
71
|
-
"onUpdate:modelValue": t[2] || (t[2] = (n) => l(o).btnStyle = n)
|
|
72
|
-
}, {
|
|
73
|
-
default: m(() => [
|
|
74
|
-
e(u, {
|
|
75
|
-
label: "默认",
|
|
76
|
-
value: "default"
|
|
77
|
-
}),
|
|
78
|
-
e(u, {
|
|
79
|
-
label: "主要",
|
|
80
|
-
value: "primary"
|
|
81
|
-
})
|
|
82
|
-
]),
|
|
83
|
-
_: 1
|
|
84
|
-
}, 8, ["modelValue"])
|
|
85
|
-
]),
|
|
86
|
-
_: 1
|
|
87
|
-
}),
|
|
88
88
|
e(r, { label: "事件配置" }, {
|
|
89
89
|
default: m(() => [
|
|
90
90
|
e(g, {
|