@web-utils/component 2.7.6 → 2.7.7

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.
Files changed (69) hide show
  1. package/dist/chunks/{ConfigDate.vue_vue_type_template_lang.420fa897.js → ConfigDate.vue_vue_type_template_lang.116fbad4.js} +1 -1
  2. package/dist/chunks/{ConfigDynamic.vue_vue_type_template_lang.82d24ab0.js → ConfigDynamic.vue_vue_type_template_lang.99082e47.js} +1 -1
  3. package/dist/chunks/{ConfigSelect.vue_vue_type_template_lang.7db7e57f.js → ConfigSelect.vue_vue_type_template_lang.e7a9d5b7.js} +6 -6
  4. package/dist/chunks/{ConfigTable.vue_vue_type_template_lang.3e8136d9.js → ConfigTable.vue_vue_type_template_lang.e9060616.js} +4 -1
  5. 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
  6. package/dist/chunks/{ConfigUpload.vue_vue_type_template_lang.531a9b2a.js → ConfigUpload.vue_vue_type_template_lang.48dd814b.js} +3 -3
  7. package/dist/chunks/{WidgetConfig.vue_vue_type_template_lang.b4bf56e9.js → WidgetConfig.vue_vue_type_template_lang.24a87d72.js} +73 -32
  8. package/dist/chunks/{WidgetForm.vue_vue_type_template_lang.82248338.js → WidgetForm.vue_vue_type_template_lang.fbb7d6b7.js} +12 -7
  9. package/dist/chunks/{WidgetFormGroup.vue_vue_type_template_lang.c636aabd.js → WidgetFormGroup.vue_vue_type_template_lang.47789aae.js} +8 -3
  10. package/dist/components/afd-column/index.js +8 -5
  11. package/dist/components/chat/index.js +14 -14
  12. package/dist/components/column-slot/index.js +25 -26
  13. package/dist/components/config-array/index.js +13 -11
  14. package/dist/components/config-color/index.js +4 -2
  15. package/dist/components/config-custom/index.js +3 -1
  16. package/dist/components/config-date/index.js +7 -5
  17. package/dist/components/config-dynamic/index.js +10 -8
  18. package/dist/components/config-event/index.js +3 -1
  19. package/dist/components/config-group/index.js +8 -6
  20. package/dist/components/config-input/index.js +8 -5
  21. package/dist/components/config-map/index.js +10 -8
  22. package/dist/components/config-number/index.js +12 -10
  23. package/dist/components/config-rate/index.js +4 -2
  24. package/dist/components/config-rate/style.css +1 -1
  25. package/dist/components/config-select/index.js +4 -2
  26. package/dist/components/config-slider/index.js +8 -6
  27. package/dist/components/config-switch/index.js +4 -2
  28. package/dist/components/config-switch/style.css +1 -1
  29. package/dist/components/config-table/index.js +4 -2
  30. package/dist/components/config-textarea/index.js +5 -3
  31. package/dist/components/config-title/index.js +5 -3
  32. package/dist/components/config-tree/index.js +5 -3
  33. package/dist/components/config-tree/style.css +1 -1
  34. package/dist/components/config-u-editor/index.js +6 -4
  35. package/dist/components/config-upload/index.js +5 -3
  36. package/dist/components/dialog-excel/index.js +3 -3
  37. package/dist/components/dialog-filter/index.js +1 -1
  38. package/dist/components/flow/index.js +4 -4
  39. package/dist/components/form-config/index.js +5 -3
  40. package/dist/components/form-temp/index.js +1 -1
  41. package/dist/components/fy-array/index.js +20 -20
  42. package/dist/components/{article → fy-article}/index.js +1 -1
  43. package/dist/components/{article → fy-article}/style.css +0 -0
  44. package/dist/components/fy-checkbox/index.js +1 -1
  45. package/dist/components/{code → fy-code}/index.js +1 -1
  46. package/dist/components/fy-curd/index.js +4 -4
  47. package/dist/components/fy-draggable/index.js +1 -1
  48. package/dist/components/fy-dynamic/index.js +42 -44
  49. package/dist/components/fy-form/index.js +88 -87
  50. package/dist/components/fy-form-design/index.js +14 -6
  51. package/dist/components/fy-input-tree/index.js +1 -1
  52. package/dist/components/{progress → fy-progress}/index.js +1 -1
  53. package/dist/components/fy-radio/index.js +4 -4
  54. package/dist/components/fy-switch/index.js +3 -3
  55. package/dist/components/fy-tree/index.js +1 -1
  56. package/dist/components/fy-u-editor/index.js +374 -0
  57. package/dist/components/fy-u-editor/style.css +1 -0
  58. package/dist/components/fy-upload/index.js +6 -6
  59. package/dist/components/header-search/index.js +9 -3
  60. package/dist/components/search/index.js +1 -1
  61. package/dist/components/table-page/index.js +5 -5
  62. package/dist/components/widget-config/index.js +21 -18
  63. package/dist/components/widget-form/index.js +8 -5
  64. package/dist/components/widget-form-group/index.js +13 -8
  65. package/dist/components/widget-form-table/index.js +17 -12
  66. package/dist/index.css +71 -62
  67. package/dist/index.es.js +2777 -2341
  68. package/package.json +4 -2
  69. 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") != -1 ? [e("ElFormItem", {
3
+ return e("div", [a.data.type.indexOf("range") !== -1 ? [e("ElFormItem", {
4
4
  attrs: {
5
5
  label: "开始占位内容",
6
6
  "label-width": "110px"
@@ -89,7 +89,7 @@ var r = function() {
89
89
  label: "表单",
90
90
  value: "form"
91
91
  }
92
- })], 1)], 1), e.data.children.type == "form" ? l("ElFormItem", {
92
+ })], 1)], 1), e.data.children.type === "form" ? l("ElFormItem", {
93
93
  attrs: {
94
94
  label: "序号"
95
95
  }
@@ -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 == "select" ? t("ElFormItem", {
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 == "select" ? "5px" : "0"
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 == "select" ? t("ElInput", {
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 == "post" ? t("p", [a._v(" 请求参数 "), t("FyDynamic", {
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 == "remote" ? t("ElFormItem", {
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 == "select" ? [t("ElFormItem", {
258
+ })], 1) : a._e(), a.data.type === "select" ? [t("ElFormItem", {
259
259
  attrs: {
260
260
  label: "是否多选"
261
261
  }
@@ -4,7 +4,10 @@ import { n as i } from "./vueComponentNormalizer.71e2aa87.js";
4
4
  const c = {
5
5
  name: "AfdColumn",
6
6
  props: {
7
- column: []
7
+ column: {
8
+ type: Array,
9
+ default: () => []
10
+ }
8
11
  },
9
12
  emits: ["submit"],
10
13
  data() {
@@ -1,31 +1,31 @@
1
- var d = function() {
2
- var a = this, o = a.$createElement, t = a._self._c || o;
3
- return t("div", [t("ElFormItem", {
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
- }, [t("ElInput", {
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(e) {
15
- a.$set(a.data, "placeholder", e);
14
+ callback: function(t) {
15
+ a.$set(a.data, "placeholder", t);
16
16
  },
17
17
  expression: "data.placeholder"
18
18
  }
19
- })], 1), t("div", {
19
+ })], 1), e("div", {
20
20
  staticClass: "el-form-item el-form-item--small el-form--label-top"
21
- }, [t("label", {
21
+ }, [e("label", {
22
22
  staticClass: "el-form-item__label",
23
23
  staticStyle: {
24
24
  padding: "0"
25
25
  }
26
- }, [a._v("字典配置:")]), t("div", {
26
+ }, [a._v("字典配置:")]), e("div", {
27
27
  staticClass: "el-form-item__content"
28
- }, [t("ElTabs", {
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(e) {
38
- a.$set(a.data, "dicOption", e);
37
+ callback: function(t) {
38
+ a.$set(a.data, "dicOption", t);
39
39
  },
40
40
  expression: "data.dicOption"
41
41
  }
42
- }, [t("ElTabPane", {
42
+ }, [e("ElTabPane", {
43
43
  attrs: {
44
44
  label: "静态数据",
45
45
  name: "static"
46
46
  }
47
- }, [t("ElTree", {
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(e) {
59
- var l = e.node, i = e.data;
60
- return t("span", {
58
+ fn: function(t) {
59
+ var l = t.node, i = t.data;
60
+ return e("span", {
61
61
  staticClass: "custom-tree-node"
62
- }, [t("span", [a._v(a._s(l.label))]), t("span", [t("ElButton", {
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
- }), t("ElButton", {
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
- }), t("div", {
88
+ }), e("div", {
89
89
  staticStyle: {
90
90
  "margin-left": "22px"
91
91
  }
92
- }, [t("ElButton", {
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), t("ElTabPane", {
99
+ }, [a._v(" 添加父级 ")])], 1)], 1), e("ElTabPane", {
100
100
  attrs: {
101
101
  label: "远端数据",
102
102
  name: "remote"
103
103
  }
104
- }, [a._v(" 网址 "), t("ElInput", {
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(e) {
112
- a.$set(a.data, "dicUrl", e);
111
+ callback: function(t) {
112
+ a.$set(a.data, "dicUrl", t);
113
113
  },
114
114
  expression: "data.dicUrl"
115
115
  }
116
- }), a._v(" 远程搜索 "), t("ElSwitch", {
116
+ }), a._v(" 远程搜索 "), e("ElSwitch", {
117
117
  model: {
118
118
  value: a.data.remote,
119
- callback: function(e) {
120
- a.$set(a.data, "remote", e);
119
+ callback: function(t) {
120
+ a.$set(a.data, "remote", t);
121
121
  },
122
122
  expression: "data.remote"
123
123
  }
124
- }), t("br"), a._v(" 请求方法 "), t("ElSelect", {
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(e) {
135
- a.$set(a.data, "dicMethod", e);
134
+ callback: function(t) {
135
+ a.$set(a.data, "dicMethod", t);
136
136
  },
137
137
  expression: "data.dicMethod"
138
138
  }
139
- }, [t("ElOption", {
139
+ }, [e("ElOption", {
140
140
  attrs: {
141
141
  label: "POST",
142
142
  value: "post"
143
143
  }
144
- }), t("ElOption", {
144
+ }), e("ElOption", {
145
145
  attrs: {
146
146
  label: "GET",
147
147
  value: "get"
148
148
  }
149
- })], 1), a.data.dicMethod === "post" ? t("p", [a._v(" 请求参数 "), t("FyDynamic", {
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(e) {
156
- a.$set(a.data, "dicQueryConfig", e);
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 ? t("p", [a._v(" 返回结构 "), t("MonacoEditor", {
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(e) {
169
- a.dicFormatter = e;
168
+ callback: function(t) {
169
+ a.dicFormatter = t;
170
170
  },
171
171
  expression: "dicFormatter"
172
172
  }
173
- })], 1) : a._e()], 1)], 1)], 1)]), t("div", {
173
+ })], 1) : a._e()], 1)], 1)], 1)]), e("div", {
174
174
  staticClass: "el-form-item el-form-item--small el-form--label-top"
175
- }, [t("label", {
175
+ }, [e("label", {
176
176
  staticClass: "el-form-item__label",
177
177
  staticStyle: {
178
178
  padding: "0"
179
179
  }
180
- }, [a._v("字典key配置:")]), t("div", {
180
+ }, [a._v("字典key配置:")]), e("div", {
181
181
  staticClass: "el-form-item__content"
182
- }, [t("ul", a._l(a.data.props, function(e, l) {
183
- return t("li", {
182
+ }, [e("ul", a._l(a.data.props, function(t, l) {
183
+ return e("li", {
184
184
  key: l
185
- }, [t("span", {
185
+ }, [e("span", {
186
186
  staticStyle: {
187
187
  width: "50px"
188
188
  }
189
- }, [a._v(a._s(l))]), t("ElInput", {
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" ? t("ElFormItem", {
202
+ }), 0)])]), a.data.dicOption === "remote" ? e("ElFormItem", {
203
203
  attrs: {
204
204
  label: "重新请求字典(crud)"
205
205
  }
206
- }, [t("ElSwitch", {
206
+ }, [e("ElSwitch", {
207
207
  model: {
208
208
  value: a.data.dicFlag,
209
- callback: function(e) {
210
- a.$set(a.data, "dicFlag", e);
209
+ callback: function(t) {
210
+ a.$set(a.data, "dicFlag", t);
211
211
  },
212
212
  expression: "data.dicFlag"
213
213
  }
214
- })], 1) : a._e(), t("div", {
214
+ })], 1) : a._e(), e("div", {
215
215
  staticClass: "el-form-item el-form-item--small el-form--label-top"
216
- }, [t("label", {
216
+ }, [e("label", {
217
217
  staticClass: "el-form-item__label",
218
218
  staticStyle: {
219
219
  padding: "0"
220
220
  }
221
- }, [a._v("级联配置:")]), t("div", {
221
+ }, [a._v("级联配置:")]), e("div", {
222
222
  staticClass: "el-form-item__content"
223
- }, [t("Draggable", {
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(e, l) {
234
- return t("li", {
233
+ }, a._l(a.data.cascaderItem || a.data.cascader, function(t, l) {
234
+ return e("li", {
235
235
  key: l
236
- }, [t("i", {
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
- }), t("ElInput", {
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
- }), t("ElButton", {
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), t("div", {
274
+ }), 0), e("div", {
275
275
  staticStyle: {
276
276
  "margin-left": "22px"
277
277
  }
278
- }, [t("ElButton", {
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 == "tree" ? [t("ElFormItem", {
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
- }, [t("ElSwitch", {
290
+ }, [e("ElSwitch", {
291
291
  model: {
292
292
  value: a.data.parent,
293
- callback: function(e) {
294
- a.$set(a.data, "parent", e);
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 == "cascader" ? [t("ElFormItem", {
298
+ })], 1)] : a._e(), a.data.type === "cascader" ? [e("ElFormItem", {
299
299
  attrs: {
300
300
  label: "选项分隔符",
301
301
  "label-width": "100px"
302
302
  }
303
- }, [t("ElInput", {
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(e) {
311
- a.$set(a.data, "separator", e);
310
+ callback: function(t) {
311
+ a.$set(a.data, "separator", t);
312
312
  },
313
313
  expression: "data.separator"
314
314
  }
315
- })], 1), t("ElFormItem", {
315
+ })], 1), e("ElFormItem", {
316
316
  attrs: {
317
317
  label: "是否显示选中值的完整路径",
318
318
  "label-width": "200px"
319
319
  }
320
- }, [t("ElSwitch", {
320
+ }, [e("ElSwitch", {
321
321
  model: {
322
322
  value: a.data.showAllLevels,
323
- callback: function(e) {
324
- a.$set(a.data, "showAllLevels", e);
323
+ callback: function(t) {
324
+ a.$set(a.data, "showAllLevels", t);
325
325
  },
326
326
  expression: "data.showAllLevels"
327
327
  }
328
- })], 1), t("ElFormItem", {
328
+ })], 1), e("ElFormItem", {
329
329
  attrs: {
330
330
  label: "是否可搜索",
331
331
  "label-width": "100px"
332
332
  }
333
- }, [t("ElSwitch", {
333
+ }, [e("ElSwitch", {
334
334
  model: {
335
335
  value: a.data.filterable,
336
- callback: function(e) {
337
- a.$set(a.data, "filterable", e);
336
+ callback: function(t) {
337
+ a.$set(a.data, "filterable", t);
338
338
  },
339
339
  expression: "data.filterable"
340
340
  }
341
- })], 1)] : a._e(), t("ElFormItem", {
341
+ })], 1)] : a._e(), e("ElFormItem", {
342
342
  attrs: {
343
343
  label: "是否多选"
344
344
  }
345
- }, [t("ElSwitch", {
345
+ }, [e("ElSwitch", {
346
346
  model: {
347
347
  value: a.data.multiple,
348
- callback: function(e) {
349
- a.$set(a.data, "multiple", e);
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 == "tree" && a.data.multiple ? t("ElFormItem", {
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
- }, [t("ElSwitch", {
358
+ }, [e("ElSwitch", {
359
359
  model: {
360
360
  value: a.data.checkStrictly,
361
- callback: function(e) {
362
- a.$set(a.data, "checkStrictly", e);
361
+ callback: function(t) {
362
+ a.$set(a.data, "checkStrictly", t);
363
363
  },
364
364
  expression: "data.checkStrictly"
365
365
  }
366
- })], 1) : a._e(), t("ElDialog", {
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(e) {
374
- a.dialogVisible = e;
373
+ "update:visible": function(t) {
374
+ a.dialogVisible = t;
375
375
  }
376
- }
377
- }, [t("ElForm", {
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
- }, [t("ElFormItem", {
403
+ }, [e("ElFormItem", {
384
404
  attrs: {
385
405
  label: "label"
386
406
  }
387
- }, [t("ElInput", {
407
+ }, [e("ElInput", {
388
408
  attrs: {
389
409
  placeholder: "label"
390
410
  },
391
411
  model: {
392
412
  value: a.dialogForm.label,
393
- callback: function(e) {
394
- a.$set(a.dialogForm, "label", e);
413
+ callback: function(t) {
414
+ a.$set(a.dialogForm, "label", t);
395
415
  },
396
416
  expression: "dialogForm.label"
397
417
  }
398
- })], 1), t("ElFormItem", {
418
+ })], 1), e("ElFormItem", {
399
419
  attrs: {
400
420
  label: "value"
401
421
  }
402
- }, [t("ElInput", {
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(e) {
410
- a.$set(a.dialogForm, "value", e);
429
+ callback: function(t) {
430
+ a.$set(a.dialogForm, "value", t);
411
431
  },
412
432
  expression: "dialogForm.value"
413
433
  }
414
- }, [t("ElSelect", {
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(e) {
426
- a.dialogInputType = e;
445
+ callback: function(t) {
446
+ a.dialogInputType = t;
427
447
  },
428
448
  expression: "dialogInputType"
429
449
  }
430
- }, [t("ElOption", {
450
+ }, [e("ElOption", {
431
451
  attrs: {
432
452
  label: "String",
433
453
  value: "text"
434
454
  }
435
- }), t("ElOption", {
455
+ }), e("ElOption", {
436
456
  attrs: {
437
457
  label: "Number",
438
458
  value: "number"
439
459
  }
440
- })], 1)], 1)], 1)], 1), t("span", {
441
- staticClass: "dialog-footer",
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
- d as r,
463
- r as s
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), [t("ElFormItem", {
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)], t("div", {
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()], 2);
466
+ })], 1)]) : a._e()], 1);
467
467
  }, o = [];
468
468
  export {
469
469
  s as r,