@web-utils/component 2.7.6 → 2.7.8
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/dist/chunks/{ConfigDate.vue_vue_type_template_lang.420fa897.js → ConfigDate.vue_vue_type_template_lang.116fbad4.js} +1 -1
- package/dist/chunks/{ConfigDynamic.vue_vue_type_template_lang.82d24ab0.js → ConfigDynamic.vue_vue_type_template_lang.99082e47.js} +1 -1
- package/dist/chunks/{ConfigSelect.vue_vue_type_template_lang.7db7e57f.js → ConfigSelect.vue_vue_type_template_lang.e7a9d5b7.js} +6 -6
- package/dist/chunks/{ConfigTable.vue_vue_type_template_lang.3e8136d9.js → ConfigTable.vue_vue_type_template_lang.e9060616.js} +4 -1
- package/dist/chunks/{ConfigTree.vue_vue_type_style_index_0_scoped_true_lang.3770c37e.js → ConfigTree.vue_vue_type_style_index_0_scoped_true_lang.89ec5376.js} +127 -126
- package/dist/chunks/{ConfigUpload.vue_vue_type_template_lang.531a9b2a.js → ConfigUpload.vue_vue_type_template_lang.48dd814b.js} +3 -3
- package/dist/chunks/{WidgetConfig.vue_vue_type_template_lang.b4bf56e9.js → WidgetConfig.vue_vue_type_template_lang.24a87d72.js} +73 -32
- package/dist/chunks/{WidgetForm.vue_vue_type_template_lang.82248338.js → WidgetForm.vue_vue_type_template_lang.fbb7d6b7.js} +12 -7
- package/dist/chunks/{WidgetFormGroup.vue_vue_type_template_lang.c636aabd.js → WidgetFormGroup.vue_vue_type_template_lang.47789aae.js} +8 -3
- package/dist/components/afd-column/index.js +8 -5
- package/dist/components/chat/index.js +14 -14
- package/dist/components/column-slot/index.js +25 -26
- package/dist/components/config-array/index.js +13 -11
- package/dist/components/config-color/index.js +4 -2
- package/dist/components/config-custom/index.js +3 -1
- package/dist/components/config-date/index.js +7 -5
- package/dist/components/config-dynamic/index.js +10 -8
- package/dist/components/config-event/index.js +3 -1
- package/dist/components/config-group/index.js +8 -6
- package/dist/components/config-input/index.js +8 -5
- package/dist/components/config-map/index.js +10 -8
- package/dist/components/config-number/index.js +12 -10
- package/dist/components/config-rate/index.js +4 -2
- package/dist/components/config-rate/style.css +1 -1
- package/dist/components/config-select/index.js +4 -2
- package/dist/components/config-slider/index.js +8 -6
- package/dist/components/config-switch/index.js +4 -2
- package/dist/components/config-switch/style.css +1 -1
- package/dist/components/config-table/index.js +4 -2
- package/dist/components/config-textarea/index.js +5 -3
- package/dist/components/config-title/index.js +5 -3
- package/dist/components/config-tree/index.js +5 -3
- package/dist/components/config-tree/style.css +1 -1
- package/dist/components/config-u-editor/index.js +6 -4
- package/dist/components/config-upload/index.js +5 -3
- package/dist/components/dialog-excel/index.js +3 -3
- package/dist/components/dialog-filter/index.js +1 -1
- package/dist/components/flow/index.js +4 -4
- package/dist/components/form-config/index.js +5 -3
- package/dist/components/form-temp/index.js +1 -1
- package/dist/components/fy-array/index.js +20 -20
- package/dist/components/{article → fy-article}/index.js +1 -1
- package/dist/components/{article → fy-article}/style.css +0 -0
- package/dist/components/fy-checkbox/index.js +1 -1
- package/dist/components/{code → fy-code}/index.js +1 -1
- package/dist/components/fy-curd/index.js +4 -4
- package/dist/components/fy-draggable/index.js +1 -1
- package/dist/components/fy-dynamic/index.js +42 -44
- package/dist/components/fy-form/index.js +88 -87
- package/dist/components/fy-form-design/index.js +14 -6
- package/dist/components/fy-input-tree/index.js +1 -1
- package/dist/components/{progress → fy-progress}/index.js +1 -1
- package/dist/components/fy-radio/index.js +9 -9
- package/dist/components/fy-switch/index.js +7 -7
- package/dist/components/fy-tree/index.js +1 -1
- package/dist/components/fy-u-editor/index.js +374 -0
- package/dist/components/fy-u-editor/style.css +1 -0
- package/dist/components/fy-upload/index.js +6 -6
- package/dist/components/header-search/index.js +9 -3
- package/dist/components/search/index.js +1 -1
- package/dist/components/table-page/index.js +5 -5
- package/dist/components/widget-config/index.js +21 -18
- package/dist/components/widget-form/index.js +8 -5
- package/dist/components/widget-form-group/index.js +13 -8
- package/dist/components/widget-form-table/index.js +17 -12
- package/dist/index.css +71 -62
- package/dist/index.es.js +2777 -2341
- package/package.json +4 -2
- package/web-types.json +234 -110
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var r = function() {
|
|
2
2
|
var a = this, t = a.$createElement, e = a._self._c || t;
|
|
3
|
-
return e("div", [a.data.type.indexOf("range")
|
|
3
|
+
return e("div", [a.data.type.indexOf("range") !== -1 ? [e("ElFormItem", {
|
|
4
4
|
attrs: {
|
|
5
5
|
label: "开始占位内容",
|
|
6
6
|
"label-width": "110px"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var c = function() {
|
|
2
2
|
var a = this, s = a.$createElement, t = a._self._c || s;
|
|
3
|
-
return t("div", [a.data.type
|
|
3
|
+
return t("div", [a.data.type === "select" ? t("ElFormItem", {
|
|
4
4
|
attrs: {
|
|
5
5
|
label: "占位内容"
|
|
6
6
|
}
|
|
@@ -82,7 +82,7 @@ var c = function() {
|
|
|
82
82
|
}
|
|
83
83
|
}), t("ElInput", {
|
|
84
84
|
style: {
|
|
85
|
-
"margin-right": a.data.type
|
|
85
|
+
"margin-right": a.data.type === "select" ? "5px" : "0"
|
|
86
86
|
},
|
|
87
87
|
attrs: {
|
|
88
88
|
size: "mini",
|
|
@@ -96,7 +96,7 @@ var c = function() {
|
|
|
96
96
|
},
|
|
97
97
|
expression: "item.value"
|
|
98
98
|
}
|
|
99
|
-
}), a.data.type
|
|
99
|
+
}), a.data.type === "select" ? t("ElInput", {
|
|
100
100
|
attrs: {
|
|
101
101
|
size: "mini",
|
|
102
102
|
clearable: "",
|
|
@@ -188,7 +188,7 @@ var c = function() {
|
|
|
188
188
|
label: "GET",
|
|
189
189
|
value: "get"
|
|
190
190
|
}
|
|
191
|
-
})], 1), a.data.dicMethod
|
|
191
|
+
})], 1), a.data.dicMethod === "post" ? t("p", [a._v(" 请求参数 "), t("FyDynamic", {
|
|
192
192
|
attrs: {
|
|
193
193
|
children: a.option
|
|
194
194
|
},
|
|
@@ -242,7 +242,7 @@ var c = function() {
|
|
|
242
242
|
expression: "data.props[key]"
|
|
243
243
|
}
|
|
244
244
|
})], 1);
|
|
245
|
-
}), 0)])]), a.data.dicOption
|
|
245
|
+
}), 0)])]), a.data.dicOption === "remote" ? t("ElFormItem", {
|
|
246
246
|
attrs: {
|
|
247
247
|
label: "重新请求字典(crud)",
|
|
248
248
|
"label-width": "150px"
|
|
@@ -255,7 +255,7 @@ var c = function() {
|
|
|
255
255
|
},
|
|
256
256
|
expression: "data.dicFlag"
|
|
257
257
|
}
|
|
258
|
-
})], 1) : a._e(), a.data.type
|
|
258
|
+
})], 1) : a._e(), a.data.type === "select" ? [t("ElFormItem", {
|
|
259
259
|
attrs: {
|
|
260
260
|
label: "是否多选"
|
|
261
261
|
}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
var
|
|
2
|
-
var a = this, o = a.$createElement,
|
|
3
|
-
return
|
|
1
|
+
var r = function() {
|
|
2
|
+
var a = this, o = a.$createElement, e = a._self._c || o;
|
|
3
|
+
return e("div", [e("ElFormItem", {
|
|
4
4
|
attrs: {
|
|
5
5
|
label: "占位内容"
|
|
6
6
|
}
|
|
7
|
-
}, [
|
|
7
|
+
}, [e("ElInput", {
|
|
8
8
|
attrs: {
|
|
9
9
|
clearable: "",
|
|
10
10
|
placeholder: "占位内容"
|
|
11
11
|
},
|
|
12
12
|
model: {
|
|
13
13
|
value: a.data.placeholder,
|
|
14
|
-
callback: function(
|
|
15
|
-
a.$set(a.data, "placeholder",
|
|
14
|
+
callback: function(t) {
|
|
15
|
+
a.$set(a.data, "placeholder", t);
|
|
16
16
|
},
|
|
17
17
|
expression: "data.placeholder"
|
|
18
18
|
}
|
|
19
|
-
})], 1),
|
|
19
|
+
})], 1), e("div", {
|
|
20
20
|
staticClass: "el-form-item el-form-item--small el-form--label-top"
|
|
21
|
-
}, [
|
|
21
|
+
}, [e("label", {
|
|
22
22
|
staticClass: "el-form-item__label",
|
|
23
23
|
staticStyle: {
|
|
24
24
|
padding: "0"
|
|
25
25
|
}
|
|
26
|
-
}, [a._v("字典配置:")]),
|
|
26
|
+
}, [a._v("字典配置:")]), e("div", {
|
|
27
27
|
staticClass: "el-form-item__content"
|
|
28
|
-
}, [
|
|
28
|
+
}, [e("ElTabs", {
|
|
29
29
|
attrs: {
|
|
30
30
|
stretch: ""
|
|
31
31
|
},
|
|
@@ -34,17 +34,17 @@ var d = function() {
|
|
|
34
34
|
},
|
|
35
35
|
model: {
|
|
36
36
|
value: a.data.dicOption,
|
|
37
|
-
callback: function(
|
|
38
|
-
a.$set(a.data, "dicOption",
|
|
37
|
+
callback: function(t) {
|
|
38
|
+
a.$set(a.data, "dicOption", t);
|
|
39
39
|
},
|
|
40
40
|
expression: "data.dicOption"
|
|
41
41
|
}
|
|
42
|
-
}, [
|
|
42
|
+
}, [e("ElTabPane", {
|
|
43
43
|
attrs: {
|
|
44
44
|
label: "静态数据",
|
|
45
45
|
name: "static"
|
|
46
46
|
}
|
|
47
|
-
}, [
|
|
47
|
+
}, [e("ElTree", {
|
|
48
48
|
ref: "tree",
|
|
49
49
|
attrs: {
|
|
50
50
|
data: a.data.dicData,
|
|
@@ -55,11 +55,11 @@ var d = function() {
|
|
|
55
55
|
},
|
|
56
56
|
scopedSlots: a._u([{
|
|
57
57
|
key: "default",
|
|
58
|
-
fn: function(
|
|
59
|
-
var l =
|
|
60
|
-
return
|
|
58
|
+
fn: function(t) {
|
|
59
|
+
var l = t.node, i = t.data;
|
|
60
|
+
return e("span", {
|
|
61
61
|
staticClass: "custom-tree-node"
|
|
62
|
-
}, [
|
|
62
|
+
}, [e("span", [a._v(a._s(l.label))]), e("span", [e("ElButton", {
|
|
63
63
|
attrs: {
|
|
64
64
|
type: "text",
|
|
65
65
|
size: "mini",
|
|
@@ -70,7 +70,7 @@ var d = function() {
|
|
|
70
70
|
return a.handleNodeAdd(i);
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
}),
|
|
73
|
+
}), e("ElButton", {
|
|
74
74
|
staticClass: "danger",
|
|
75
75
|
attrs: {
|
|
76
76
|
type: "text",
|
|
@@ -85,43 +85,43 @@ var d = function() {
|
|
|
85
85
|
})], 1)]);
|
|
86
86
|
}
|
|
87
87
|
}])
|
|
88
|
-
}),
|
|
88
|
+
}), e("div", {
|
|
89
89
|
staticStyle: {
|
|
90
90
|
"margin-left": "22px"
|
|
91
91
|
}
|
|
92
|
-
}, [
|
|
92
|
+
}, [e("ElButton", {
|
|
93
93
|
attrs: {
|
|
94
94
|
type: "text"
|
|
95
95
|
},
|
|
96
96
|
on: {
|
|
97
97
|
click: a.handleParentNodeAdd
|
|
98
98
|
}
|
|
99
|
-
}, [a._v(" 添加父级 ")])], 1)], 1),
|
|
99
|
+
}, [a._v(" 添加父级 ")])], 1)], 1), e("ElTabPane", {
|
|
100
100
|
attrs: {
|
|
101
101
|
label: "远端数据",
|
|
102
102
|
name: "remote"
|
|
103
103
|
}
|
|
104
|
-
}, [a._v(" 网址 "),
|
|
104
|
+
}, [a._v(" 网址 "), e("ElInput", {
|
|
105
105
|
attrs: {
|
|
106
106
|
size: "small",
|
|
107
107
|
placeholder: "远端数据字典网址"
|
|
108
108
|
},
|
|
109
109
|
model: {
|
|
110
110
|
value: a.data.dicUrl,
|
|
111
|
-
callback: function(
|
|
112
|
-
a.$set(a.data, "dicUrl",
|
|
111
|
+
callback: function(t) {
|
|
112
|
+
a.$set(a.data, "dicUrl", t);
|
|
113
113
|
},
|
|
114
114
|
expression: "data.dicUrl"
|
|
115
115
|
}
|
|
116
|
-
}), a._v(" 远程搜索 "),
|
|
116
|
+
}), a._v(" 远程搜索 "), e("ElSwitch", {
|
|
117
117
|
model: {
|
|
118
118
|
value: a.data.remote,
|
|
119
|
-
callback: function(
|
|
120
|
-
a.$set(a.data, "remote",
|
|
119
|
+
callback: function(t) {
|
|
120
|
+
a.$set(a.data, "remote", t);
|
|
121
121
|
},
|
|
122
122
|
expression: "data.remote"
|
|
123
123
|
}
|
|
124
|
-
}),
|
|
124
|
+
}), e("br"), a._v(" 请求方法 "), e("ElSelect", {
|
|
125
125
|
staticStyle: {
|
|
126
126
|
width: "100%"
|
|
127
127
|
},
|
|
@@ -131,33 +131,33 @@ var d = function() {
|
|
|
131
131
|
},
|
|
132
132
|
model: {
|
|
133
133
|
value: a.data.dicMethod,
|
|
134
|
-
callback: function(
|
|
135
|
-
a.$set(a.data, "dicMethod",
|
|
134
|
+
callback: function(t) {
|
|
135
|
+
a.$set(a.data, "dicMethod", t);
|
|
136
136
|
},
|
|
137
137
|
expression: "data.dicMethod"
|
|
138
138
|
}
|
|
139
|
-
}, [
|
|
139
|
+
}, [e("ElOption", {
|
|
140
140
|
attrs: {
|
|
141
141
|
label: "POST",
|
|
142
142
|
value: "post"
|
|
143
143
|
}
|
|
144
|
-
}),
|
|
144
|
+
}), e("ElOption", {
|
|
145
145
|
attrs: {
|
|
146
146
|
label: "GET",
|
|
147
147
|
value: "get"
|
|
148
148
|
}
|
|
149
|
-
})], 1), a.data.dicMethod === "post" ?
|
|
149
|
+
})], 1), a.data.dicMethod === "post" ? e("p", [a._v(" 请求参数 "), e("FyDynamic", {
|
|
150
150
|
attrs: {
|
|
151
151
|
children: a.option
|
|
152
152
|
},
|
|
153
153
|
model: {
|
|
154
154
|
value: a.data.dicQueryConfig,
|
|
155
|
-
callback: function(
|
|
156
|
-
a.$set(a.data, "dicQueryConfig",
|
|
155
|
+
callback: function(t) {
|
|
156
|
+
a.$set(a.data, "dicQueryConfig", t);
|
|
157
157
|
},
|
|
158
158
|
expression: "data.dicQueryConfig"
|
|
159
159
|
}
|
|
160
|
-
})], 1) : a._e(), a.data.dicUrl ?
|
|
160
|
+
})], 1) : a._e(), a.data.dicUrl ? e("p", [a._v(" 返回结构 "), e("MonacoEditor", {
|
|
161
161
|
attrs: {
|
|
162
162
|
height: "80",
|
|
163
163
|
"key-index": `dict-formatter-${a.data.prop}`,
|
|
@@ -165,28 +165,28 @@ var d = function() {
|
|
|
165
165
|
},
|
|
166
166
|
model: {
|
|
167
167
|
value: a.dicFormatter,
|
|
168
|
-
callback: function(
|
|
169
|
-
a.dicFormatter =
|
|
168
|
+
callback: function(t) {
|
|
169
|
+
a.dicFormatter = t;
|
|
170
170
|
},
|
|
171
171
|
expression: "dicFormatter"
|
|
172
172
|
}
|
|
173
|
-
})], 1) : a._e()], 1)], 1)], 1)]),
|
|
173
|
+
})], 1) : a._e()], 1)], 1)], 1)]), e("div", {
|
|
174
174
|
staticClass: "el-form-item el-form-item--small el-form--label-top"
|
|
175
|
-
}, [
|
|
175
|
+
}, [e("label", {
|
|
176
176
|
staticClass: "el-form-item__label",
|
|
177
177
|
staticStyle: {
|
|
178
178
|
padding: "0"
|
|
179
179
|
}
|
|
180
|
-
}, [a._v("字典key配置:")]),
|
|
180
|
+
}, [a._v("字典key配置:")]), e("div", {
|
|
181
181
|
staticClass: "el-form-item__content"
|
|
182
|
-
}, [
|
|
183
|
-
return
|
|
182
|
+
}, [e("ul", a._l(a.data.props, function(t, l) {
|
|
183
|
+
return e("li", {
|
|
184
184
|
key: l
|
|
185
|
-
}, [
|
|
185
|
+
}, [e("span", {
|
|
186
186
|
staticStyle: {
|
|
187
187
|
width: "50px"
|
|
188
188
|
}
|
|
189
|
-
}, [a._v(a._s(l))]),
|
|
189
|
+
}, [a._v(a._s(l))]), e("ElInput", {
|
|
190
190
|
attrs: {
|
|
191
191
|
size: "mini",
|
|
192
192
|
placeholder: "key配置"
|
|
@@ -199,28 +199,28 @@ var d = function() {
|
|
|
199
199
|
expression: "data.props[key]"
|
|
200
200
|
}
|
|
201
201
|
})], 1);
|
|
202
|
-
}), 0)])]), a.data.dicOption === "remote" ?
|
|
202
|
+
}), 0)])]), a.data.dicOption === "remote" ? e("ElFormItem", {
|
|
203
203
|
attrs: {
|
|
204
204
|
label: "重新请求字典(crud)"
|
|
205
205
|
}
|
|
206
|
-
}, [
|
|
206
|
+
}, [e("ElSwitch", {
|
|
207
207
|
model: {
|
|
208
208
|
value: a.data.dicFlag,
|
|
209
|
-
callback: function(
|
|
210
|
-
a.$set(a.data, "dicFlag",
|
|
209
|
+
callback: function(t) {
|
|
210
|
+
a.$set(a.data, "dicFlag", t);
|
|
211
211
|
},
|
|
212
212
|
expression: "data.dicFlag"
|
|
213
213
|
}
|
|
214
|
-
})], 1) : a._e(),
|
|
214
|
+
})], 1) : a._e(), e("div", {
|
|
215
215
|
staticClass: "el-form-item el-form-item--small el-form--label-top"
|
|
216
|
-
}, [
|
|
216
|
+
}, [e("label", {
|
|
217
217
|
staticClass: "el-form-item__label",
|
|
218
218
|
staticStyle: {
|
|
219
219
|
padding: "0"
|
|
220
220
|
}
|
|
221
|
-
}, [a._v("级联配置:")]),
|
|
221
|
+
}, [a._v("级联配置:")]), e("div", {
|
|
222
222
|
staticClass: "el-form-item__content"
|
|
223
|
-
}, [
|
|
223
|
+
}, [e("Draggable", {
|
|
224
224
|
attrs: {
|
|
225
225
|
tag: "ul",
|
|
226
226
|
list: a.data.cascaderItem || a.data.cascader,
|
|
@@ -230,17 +230,17 @@ var d = function() {
|
|
|
230
230
|
"ghost-class": "ghost",
|
|
231
231
|
handle: ".drag-item"
|
|
232
232
|
}
|
|
233
|
-
}, a._l(a.data.cascaderItem || a.data.cascader, function(
|
|
234
|
-
return
|
|
233
|
+
}, a._l(a.data.cascaderItem || a.data.cascader, function(t, l) {
|
|
234
|
+
return e("li", {
|
|
235
235
|
key: l
|
|
236
|
-
}, [
|
|
236
|
+
}, [e("i", {
|
|
237
237
|
staticClass: "drag-item el-icon-s-operation",
|
|
238
238
|
staticStyle: {
|
|
239
239
|
"font-size": "16px",
|
|
240
240
|
margin: "0 5px",
|
|
241
241
|
cursor: "move"
|
|
242
242
|
}
|
|
243
|
-
}),
|
|
243
|
+
}), e("ElInput", {
|
|
244
244
|
attrs: {
|
|
245
245
|
size: "mini",
|
|
246
246
|
clearable: "",
|
|
@@ -253,7 +253,7 @@ var d = function() {
|
|
|
253
253
|
},
|
|
254
254
|
expression: "data.cascader[index]"
|
|
255
255
|
}
|
|
256
|
-
}),
|
|
256
|
+
}), e("ElButton", {
|
|
257
257
|
staticStyle: {
|
|
258
258
|
padding: "4px",
|
|
259
259
|
"margin-left": "5px"
|
|
@@ -271,147 +271,167 @@ var d = function() {
|
|
|
271
271
|
}
|
|
272
272
|
}
|
|
273
273
|
})], 1);
|
|
274
|
-
}), 0),
|
|
274
|
+
}), 0), e("div", {
|
|
275
275
|
staticStyle: {
|
|
276
276
|
"margin-left": "22px"
|
|
277
277
|
}
|
|
278
|
-
}, [
|
|
278
|
+
}, [e("ElButton", {
|
|
279
279
|
attrs: {
|
|
280
280
|
type: "text"
|
|
281
281
|
},
|
|
282
282
|
on: {
|
|
283
283
|
click: a.handleAddCascaderItemFields
|
|
284
284
|
}
|
|
285
|
-
}, [a._v(" 添加列 ")])], 1)], 1)]), a.data.type
|
|
285
|
+
}, [a._v(" 添加列 ")])], 1)], 1)]), a.data.type === "tree" ? [e("ElFormItem", {
|
|
286
286
|
attrs: {
|
|
287
287
|
label: "当有子级时,是否可选择父级",
|
|
288
288
|
"label-width": "200px"
|
|
289
289
|
}
|
|
290
|
-
}, [
|
|
290
|
+
}, [e("ElSwitch", {
|
|
291
291
|
model: {
|
|
292
292
|
value: a.data.parent,
|
|
293
|
-
callback: function(
|
|
294
|
-
a.$set(a.data, "parent",
|
|
293
|
+
callback: function(t) {
|
|
294
|
+
a.$set(a.data, "parent", t);
|
|
295
295
|
},
|
|
296
296
|
expression: "data.parent"
|
|
297
297
|
}
|
|
298
|
-
})], 1)] : a._e(), a.data.type
|
|
298
|
+
})], 1)] : a._e(), a.data.type === "cascader" ? [e("ElFormItem", {
|
|
299
299
|
attrs: {
|
|
300
300
|
label: "选项分隔符",
|
|
301
301
|
"label-width": "100px"
|
|
302
302
|
}
|
|
303
|
-
}, [
|
|
303
|
+
}, [e("ElInput", {
|
|
304
304
|
attrs: {
|
|
305
305
|
clearable: "",
|
|
306
306
|
placeholder: "选项分隔符"
|
|
307
307
|
},
|
|
308
308
|
model: {
|
|
309
309
|
value: a.data.separator,
|
|
310
|
-
callback: function(
|
|
311
|
-
a.$set(a.data, "separator",
|
|
310
|
+
callback: function(t) {
|
|
311
|
+
a.$set(a.data, "separator", t);
|
|
312
312
|
},
|
|
313
313
|
expression: "data.separator"
|
|
314
314
|
}
|
|
315
|
-
})], 1),
|
|
315
|
+
})], 1), e("ElFormItem", {
|
|
316
316
|
attrs: {
|
|
317
317
|
label: "是否显示选中值的完整路径",
|
|
318
318
|
"label-width": "200px"
|
|
319
319
|
}
|
|
320
|
-
}, [
|
|
320
|
+
}, [e("ElSwitch", {
|
|
321
321
|
model: {
|
|
322
322
|
value: a.data.showAllLevels,
|
|
323
|
-
callback: function(
|
|
324
|
-
a.$set(a.data, "showAllLevels",
|
|
323
|
+
callback: function(t) {
|
|
324
|
+
a.$set(a.data, "showAllLevels", t);
|
|
325
325
|
},
|
|
326
326
|
expression: "data.showAllLevels"
|
|
327
327
|
}
|
|
328
|
-
})], 1),
|
|
328
|
+
})], 1), e("ElFormItem", {
|
|
329
329
|
attrs: {
|
|
330
330
|
label: "是否可搜索",
|
|
331
331
|
"label-width": "100px"
|
|
332
332
|
}
|
|
333
|
-
}, [
|
|
333
|
+
}, [e("ElSwitch", {
|
|
334
334
|
model: {
|
|
335
335
|
value: a.data.filterable,
|
|
336
|
-
callback: function(
|
|
337
|
-
a.$set(a.data, "filterable",
|
|
336
|
+
callback: function(t) {
|
|
337
|
+
a.$set(a.data, "filterable", t);
|
|
338
338
|
},
|
|
339
339
|
expression: "data.filterable"
|
|
340
340
|
}
|
|
341
|
-
})], 1)] : a._e(),
|
|
341
|
+
})], 1)] : a._e(), e("ElFormItem", {
|
|
342
342
|
attrs: {
|
|
343
343
|
label: "是否多选"
|
|
344
344
|
}
|
|
345
|
-
}, [
|
|
345
|
+
}, [e("ElSwitch", {
|
|
346
346
|
model: {
|
|
347
347
|
value: a.data.multiple,
|
|
348
|
-
callback: function(
|
|
349
|
-
a.$set(a.data, "multiple",
|
|
348
|
+
callback: function(t) {
|
|
349
|
+
a.$set(a.data, "multiple", t);
|
|
350
350
|
},
|
|
351
351
|
expression: "data.multiple"
|
|
352
352
|
}
|
|
353
|
-
})], 1), a.data.type
|
|
353
|
+
})], 1), a.data.type === "tree" && a.data.multiple ? e("ElFormItem", {
|
|
354
354
|
attrs: {
|
|
355
355
|
label: "勾选时,父子不关联",
|
|
356
356
|
"label-width": "160px"
|
|
357
357
|
}
|
|
358
|
-
}, [
|
|
358
|
+
}, [e("ElSwitch", {
|
|
359
359
|
model: {
|
|
360
360
|
value: a.data.checkStrictly,
|
|
361
|
-
callback: function(
|
|
362
|
-
a.$set(a.data, "checkStrictly",
|
|
361
|
+
callback: function(t) {
|
|
362
|
+
a.$set(a.data, "checkStrictly", t);
|
|
363
363
|
},
|
|
364
364
|
expression: "data.checkStrictly"
|
|
365
365
|
}
|
|
366
|
-
})], 1) : a._e(),
|
|
366
|
+
})], 1) : a._e(), e("ElementDialog", {
|
|
367
367
|
attrs: {
|
|
368
368
|
visible: a.dialogVisible,
|
|
369
369
|
rules: a.dialogRules,
|
|
370
370
|
"before-close": a.beforeClose
|
|
371
371
|
},
|
|
372
372
|
on: {
|
|
373
|
-
"update:visible": function(
|
|
374
|
-
a.dialogVisible =
|
|
373
|
+
"update:visible": function(t) {
|
|
374
|
+
a.dialogVisible = t;
|
|
375
375
|
}
|
|
376
|
-
}
|
|
377
|
-
|
|
376
|
+
},
|
|
377
|
+
scopedSlots: a._u([{
|
|
378
|
+
key: "footer",
|
|
379
|
+
fn: function() {
|
|
380
|
+
return [e("ElButton", {
|
|
381
|
+
on: {
|
|
382
|
+
click: function(t) {
|
|
383
|
+
a.dialogVisible = !1;
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
}, [a._v(" 取 消 ")]), a.dialogStatus === "add" ? e("ElButton", {
|
|
387
|
+
attrs: {
|
|
388
|
+
type: "primary"
|
|
389
|
+
},
|
|
390
|
+
on: {
|
|
391
|
+
click: a.handleDialogAdd
|
|
392
|
+
}
|
|
393
|
+
}, [a._v(" 确 定 ")]) : a._e()];
|
|
394
|
+
},
|
|
395
|
+
proxy: !0
|
|
396
|
+
}])
|
|
397
|
+
}, [e("ElForm", {
|
|
378
398
|
ref: "dialogForm",
|
|
379
399
|
attrs: {
|
|
380
400
|
model: a.dialogForm,
|
|
381
401
|
"label-width": "80px"
|
|
382
402
|
}
|
|
383
|
-
}, [
|
|
403
|
+
}, [e("ElFormItem", {
|
|
384
404
|
attrs: {
|
|
385
405
|
label: "label"
|
|
386
406
|
}
|
|
387
|
-
}, [
|
|
407
|
+
}, [e("ElInput", {
|
|
388
408
|
attrs: {
|
|
389
409
|
placeholder: "label"
|
|
390
410
|
},
|
|
391
411
|
model: {
|
|
392
412
|
value: a.dialogForm.label,
|
|
393
|
-
callback: function(
|
|
394
|
-
a.$set(a.dialogForm, "label",
|
|
413
|
+
callback: function(t) {
|
|
414
|
+
a.$set(a.dialogForm, "label", t);
|
|
395
415
|
},
|
|
396
416
|
expression: "dialogForm.label"
|
|
397
417
|
}
|
|
398
|
-
})], 1),
|
|
418
|
+
})], 1), e("ElFormItem", {
|
|
399
419
|
attrs: {
|
|
400
420
|
label: "value"
|
|
401
421
|
}
|
|
402
|
-
}, [
|
|
422
|
+
}, [e("ElInput", {
|
|
403
423
|
attrs: {
|
|
404
424
|
placeholder: "value",
|
|
405
425
|
type: a.dialogInputType
|
|
406
426
|
},
|
|
407
427
|
model: {
|
|
408
428
|
value: a.dialogForm.value,
|
|
409
|
-
callback: function(
|
|
410
|
-
a.$set(a.dialogForm, "value",
|
|
429
|
+
callback: function(t) {
|
|
430
|
+
a.$set(a.dialogForm, "value", t);
|
|
411
431
|
},
|
|
412
432
|
expression: "dialogForm.value"
|
|
413
433
|
}
|
|
414
|
-
}, [
|
|
434
|
+
}, [e("ElSelect", {
|
|
415
435
|
staticStyle: {
|
|
416
436
|
width: "100px"
|
|
417
437
|
},
|
|
@@ -422,43 +442,24 @@ var d = function() {
|
|
|
422
442
|
slot: "append",
|
|
423
443
|
model: {
|
|
424
444
|
value: a.dialogInputType,
|
|
425
|
-
callback: function(
|
|
426
|
-
a.dialogInputType =
|
|
445
|
+
callback: function(t) {
|
|
446
|
+
a.dialogInputType = t;
|
|
427
447
|
},
|
|
428
448
|
expression: "dialogInputType"
|
|
429
449
|
}
|
|
430
|
-
}, [
|
|
450
|
+
}, [e("ElOption", {
|
|
431
451
|
attrs: {
|
|
432
452
|
label: "String",
|
|
433
453
|
value: "text"
|
|
434
454
|
}
|
|
435
|
-
}),
|
|
455
|
+
}), e("ElOption", {
|
|
436
456
|
attrs: {
|
|
437
457
|
label: "Number",
|
|
438
458
|
value: "number"
|
|
439
459
|
}
|
|
440
|
-
})], 1)], 1)], 1)], 1),
|
|
441
|
-
|
|
442
|
-
attrs: {
|
|
443
|
-
slot: "footer"
|
|
444
|
-
},
|
|
445
|
-
slot: "footer"
|
|
446
|
-
}, [t("ElButton", {
|
|
447
|
-
on: {
|
|
448
|
-
click: function(e) {
|
|
449
|
-
a.dialogVisible = !1;
|
|
450
|
-
}
|
|
451
|
-
}
|
|
452
|
-
}, [a._v("取 消")]), a.dialogStatus == "add" ? t("ElButton", {
|
|
453
|
-
attrs: {
|
|
454
|
-
type: "primary"
|
|
455
|
-
},
|
|
456
|
-
on: {
|
|
457
|
-
click: a.handleDialogAdd
|
|
458
|
-
}
|
|
459
|
-
}, [a._v("确 定")]) : a._e()], 1)], 1)], 2);
|
|
460
|
-
}, r = [];
|
|
460
|
+
})], 1)], 1)], 1)], 1)], 1)], 2);
|
|
461
|
+
}, d = [];
|
|
461
462
|
export {
|
|
462
|
-
|
|
463
|
-
|
|
463
|
+
r,
|
|
464
|
+
d as s
|
|
464
465
|
};
|
|
@@ -72,7 +72,7 @@ var s = function() {
|
|
|
72
72
|
label: "七牛",
|
|
73
73
|
value: "qiniu"
|
|
74
74
|
}
|
|
75
|
-
})], 1)], 2),
|
|
75
|
+
})], 1)], 2), t("ElFormItem", {
|
|
76
76
|
attrs: {
|
|
77
77
|
label: "拖拽上传",
|
|
78
78
|
"label-width": "110px"
|
|
@@ -135,7 +135,7 @@ var s = function() {
|
|
|
135
135
|
},
|
|
136
136
|
expression: "data.drag"
|
|
137
137
|
}
|
|
138
|
-
})], 1)
|
|
138
|
+
})], 1), t("div", {
|
|
139
139
|
staticClass: "el-form-item el-form-item--small el-form--label-top"
|
|
140
140
|
}, [t("label", {
|
|
141
141
|
staticClass: "el-form-item__label",
|
|
@@ -463,7 +463,7 @@ var s = function() {
|
|
|
463
463
|
},
|
|
464
464
|
expression: "data.canvasOption.ratio"
|
|
465
465
|
}
|
|
466
|
-
})], 1)]) : a._e()],
|
|
466
|
+
})], 1)]) : a._e()], 1);
|
|
467
467
|
}, o = [];
|
|
468
468
|
export {
|
|
469
469
|
s as r,
|