@web-utils/component 2.7.3 → 2.7.4

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 (127) hide show
  1. package/dist/chunks/AfdColumn.vue_vue_type_template_lang.768f2ed2.js +302 -0
  2. package/dist/chunks/ConfigArray.vue_vue_type_template_lang.66483daa.js +51 -0
  3. package/dist/chunks/ConfigColor.vue_vue_type_template_lang.cd880091.js +24 -0
  4. package/dist/chunks/ConfigCustom.vue_vue_type_template_lang.6e03d7fd.js +52 -0
  5. package/dist/chunks/ConfigDate.vue_vue_type_template_lang.420fa897.js +104 -0
  6. package/dist/chunks/ConfigDynamic.vue_vue_type_template_lang.82d24ab0.js +133 -0
  7. package/dist/chunks/ConfigEvent.vue_vue_type_template_lang.5e8ed6cc.js +96 -0
  8. package/dist/chunks/ConfigGroup.vue_vue_type_template_lang.44117322.js +48 -0
  9. package/dist/chunks/ConfigInput.vue_vue_type_template_lang.cc1eb052.js +96 -0
  10. package/dist/chunks/ConfigMap.vue_vue_type_template_lang.daee4d38.js +31 -0
  11. package/dist/chunks/ConfigNumber.vue_vue_type_template_lang.d60231d7.js +130 -0
  12. package/dist/chunks/ConfigRate.vue_vue_type_style_index_0_scoped_true_lang.cf5d437d.js +125 -0
  13. package/dist/chunks/ConfigSelect.vue_vue_type_template_lang.7db7e57f.js +483 -0
  14. package/dist/chunks/ConfigSlider.vue_vue_type_template_lang.27b8cc7b.js +99 -0
  15. package/dist/chunks/ConfigSwitch.vue_vue_type_style_index_0_scoped_true_lang.4caf1bd0.js +54 -0
  16. package/dist/chunks/ConfigTable.vue_vue_type_template_lang.3e8136d9.js +341 -0
  17. package/dist/chunks/ConfigTextarea.vue_vue_type_template_lang.5cddf41c.js +88 -0
  18. package/dist/chunks/ConfigTitle.vue_vue_type_template_lang.57d9deb5.js +87 -0
  19. package/dist/chunks/ConfigTree.vue_vue_type_style_index_0_scoped_true_lang.3770c37e.js +464 -0
  20. package/dist/chunks/ConfigUEditor.vue_vue_type_template_lang.9726b4f5.js +240 -0
  21. package/dist/chunks/ConfigUpload.vue_vue_type_template_lang.531a9b2a.js +471 -0
  22. package/dist/chunks/FormConfig.vue_vue_type_template_lang.85b4ee87.js +232 -0
  23. package/dist/chunks/WidgetConfig.vue_vue_type_template_lang.f903c9b2.js +1765 -0
  24. package/dist/chunks/WidgetForm.vue_vue_type_template_lang.82248338.js +242 -0
  25. package/dist/chunks/WidgetFormGroup.vue_vue_type_template_lang.c636aabd.js +266 -0
  26. package/dist/chunks/WidgetFormItem.vue_vue_type_template_lang.48d55a5c.js +24 -0
  27. package/dist/chunks/WidgetFormTable.vue_vue_type_template_lang.30625146.js +228 -0
  28. package/dist/chunks/{dataformat.3cfcf62c.js → dataformat.d3fd2d1b.js} +25 -24
  29. package/dist/chunks/{detail.a3249549.js → detail.ac4d421a.js} +7 -7
  30. package/dist/chunks/{dic.5f7e3523.js → dic.79d9f595.js} +28 -27
  31. package/dist/chunks/{event.b76c568a.js → event.43b42228.js} +7 -6
  32. package/dist/chunks/{init.352281f5.js → init.3b47bb80.js} +8 -7
  33. package/dist/chunks/{packages.5d7a86c4.js → packages.6f252850.js} +5 -61
  34. package/dist/chunks/{util.5053d54e.js → util.80e28481.js} +37 -51
  35. package/dist/components/afd-column/index.js +54 -0
  36. package/dist/components/chat/index.js +1 -1
  37. package/dist/components/code/index.js +1 -1
  38. package/dist/components/column/index.js +8 -7
  39. package/dist/components/column-default/index.js +1 -1
  40. package/dist/components/column-dynamic/index.js +1 -1
  41. package/dist/components/column-menu/index.js +1 -1
  42. package/dist/components/column-slot/index.js +27 -26
  43. package/dist/components/config-array/index.js +26 -0
  44. package/dist/components/config-color/index.js +26 -0
  45. package/dist/components/config-custom/index.js +60 -0
  46. package/dist/components/config-date/index.js +26 -0
  47. package/dist/components/config-dynamic/index.js +26 -0
  48. package/dist/components/config-event/index.js +72 -0
  49. package/dist/components/config-group/index.js +34 -0
  50. package/dist/components/config-input/index.js +26 -0
  51. package/dist/components/config-map/index.js +26 -0
  52. package/dist/components/config-number/index.js +26 -0
  53. package/dist/components/config-rate/index.js +69 -0
  54. package/dist/components/config-rate/style.css +1 -0
  55. package/dist/components/config-select/index.js +88 -0
  56. package/dist/components/config-slider/index.js +26 -0
  57. package/dist/components/config-switch/index.js +31 -0
  58. package/dist/components/config-switch/style.css +1 -0
  59. package/dist/components/config-table/index.js +120 -0
  60. package/dist/components/config-textarea/index.js +26 -0
  61. package/dist/components/config-title/index.js +31 -0
  62. package/dist/components/config-tree/index.js +120 -0
  63. package/dist/components/config-tree/style.css +1 -0
  64. package/dist/components/config-u-editor/index.js +32 -0
  65. package/dist/components/config-upload/index.js +56 -0
  66. package/dist/components/custom-scrollbar/index.js +6 -1
  67. package/dist/components/dialog-excel/index.js +2 -2
  68. package/dist/components/dialog-filter/index.js +1 -1
  69. package/dist/components/dialog-form/index.js +8 -7
  70. package/dist/components/flex-item/index.js +4 -1
  71. package/dist/components/flow/index.js +1 -1
  72. package/dist/components/flow-node/index.js +1 -1
  73. package/dist/components/form-config/index.js +26 -0
  74. package/dist/components/form-group/index.js +1 -1
  75. package/dist/components/form-temp/index.js +2 -2
  76. package/dist/components/{array → fy-array}/index.js +5 -5
  77. package/dist/components/{array → fy-array}/style.css +0 -0
  78. package/dist/components/fy-cascader/index.js +1 -1
  79. package/dist/components/fy-checkbox/index.js +1 -1
  80. package/dist/components/fy-curd/index.js +7 -6
  81. package/dist/components/fy-date/index.js +1 -1
  82. package/dist/components/fy-dialog-form/index.js +9 -8
  83. package/dist/components/{draggable → fy-draggable}/index.js +2 -2
  84. package/dist/components/{draggable → fy-draggable}/style.css +0 -0
  85. package/dist/components/fy-dynamic/index.js +2 -2
  86. package/dist/components/{empty → fy-empty}/index.js +6 -6
  87. package/dist/components/{empty → fy-empty}/style.css +0 -0
  88. package/dist/components/fy-form/index.js +9 -8
  89. package/dist/components/fy-form-design/index.js +1371 -0
  90. package/dist/components/fy-form-design/style.css +1 -0
  91. package/dist/components/fy-input/index.js +1 -1
  92. package/dist/components/fy-input-color/index.js +1 -1
  93. package/dist/components/fy-input-icon/index.js +1 -1
  94. package/dist/components/fy-input-map/index.js +4 -4
  95. package/dist/components/fy-input-number/index.js +1 -1
  96. package/dist/components/fy-input-table/index.js +4 -4
  97. package/dist/components/fy-input-tree/index.js +2 -2
  98. package/dist/components/fy-radio/index.js +1 -1
  99. package/dist/components/fy-rate/index.js +1 -1
  100. package/dist/components/fy-select/index.js +18 -17
  101. package/dist/components/fy-slider/index.js +2 -2
  102. package/dist/components/fy-switch/index.js +1 -1
  103. package/dist/components/fy-time/index.js +2 -2
  104. package/dist/components/fy-title/index.js +1 -1
  105. package/dist/components/fy-tree/index.js +7 -6
  106. package/dist/components/fy-upload/index.js +11 -10
  107. package/dist/components/header-menu/index.js +1 -1
  108. package/dist/components/header-search/index.js +2 -2
  109. package/dist/components/license/index.js +5 -5
  110. package/dist/components/login/index.js +9 -8
  111. package/dist/components/record-video/index.js +1 -1
  112. package/dist/components/search/index.js +10 -9
  113. package/dist/components/sign/index.js +1 -1
  114. package/dist/components/table-column/index.js +4 -1
  115. package/dist/components/table-page/index.js +1 -1
  116. package/dist/components/text-ellipsis/index.js +1 -1
  117. package/dist/components/verify/index.js +1 -1
  118. package/dist/components/watermark/index.js +5 -1
  119. package/dist/components/widget-config/index.js +107 -0
  120. package/dist/components/widget-form/index.js +68 -0
  121. package/dist/components/widget-form-group/index.js +91 -0
  122. package/dist/components/widget-form-item/index.js +70 -0
  123. package/dist/components/widget-form-table/index.js +90 -0
  124. package/dist/index.css +761 -201
  125. package/dist/index.es.js +23971 -16542
  126. package/package.json +5 -3
  127. package/web-types.json +1880 -1781
@@ -0,0 +1,302 @@
1
+ const o = [
2
+ {
3
+ label: "输入框",
4
+ value: "input"
5
+ },
6
+ {
7
+ label: "选择框",
8
+ value: "select"
9
+ },
10
+ {
11
+ label: "密码框",
12
+ value: "password"
13
+ },
14
+ {
15
+ label: "数字框",
16
+ value: "number"
17
+ },
18
+ {
19
+ label: "上传框",
20
+ value: "upload"
21
+ },
22
+ {
23
+ label: "颜色选择器",
24
+ value: "color"
25
+ },
26
+ {
27
+ label: "地图选择器",
28
+ value: "map"
29
+ },
30
+ {
31
+ label: "图标选择器",
32
+ value: "icon"
33
+ },
34
+ {
35
+ label: "树型下拉框",
36
+ value: "tree"
37
+ },
38
+ {
39
+ label: "单选框",
40
+ value: "radio"
41
+ },
42
+ {
43
+ label: "多选",
44
+ value: "checkbox"
45
+ },
46
+ {
47
+ label: "开关框",
48
+ value: "switch"
49
+ },
50
+ {
51
+ label: "文本框",
52
+ value: "textarea"
53
+ },
54
+ {
55
+ label: "时间框",
56
+ value: "time"
57
+ },
58
+ {
59
+ label: "时间范围",
60
+ value: "timerange"
61
+ },
62
+ {
63
+ label: "级联框",
64
+ value: "cascader"
65
+ },
66
+ {
67
+ label: "日期框",
68
+ value: "date"
69
+ },
70
+ {
71
+ label: "日期时间框",
72
+ value: "datetime"
73
+ },
74
+ {
75
+ label: "日期时间范围",
76
+ value: "datetimerange"
77
+ },
78
+ {
79
+ label: "多个日期",
80
+ value: "dates"
81
+ },
82
+ {
83
+ label: "月",
84
+ value: "month"
85
+ },
86
+ {
87
+ label: "周",
88
+ value: "week"
89
+ },
90
+ {
91
+ label: "年",
92
+ value: "year"
93
+ }
94
+ ];
95
+ var u = function() {
96
+ var e = this, n = e.$createElement, l = e._self._c || n;
97
+ return l("ElDrawer", {
98
+ attrs: {
99
+ visible: e.visible,
100
+ size: "80%",
101
+ "append-to-body": ""
102
+ },
103
+ on: {
104
+ "update:visible": function(t) {
105
+ e.visible = t;
106
+ }
107
+ }
108
+ }, [l("ElTable", {
109
+ attrs: {
110
+ data: e.list,
111
+ border: ""
112
+ }
113
+ }, [l("ElTableColumn", {
114
+ attrs: {
115
+ align: "center",
116
+ width: "60"
117
+ },
118
+ scopedSlots: e._u([{
119
+ key: "header",
120
+ fn: function() {
121
+ return [l("ElButton", {
122
+ attrs: {
123
+ icon: "el-icon-plus",
124
+ type: "primary",
125
+ circle: "",
126
+ size: "mini"
127
+ },
128
+ on: {
129
+ click: function(t) {
130
+ return e.list.push({});
131
+ }
132
+ }
133
+ })];
134
+ },
135
+ proxy: !0
136
+ }, {
137
+ key: "default",
138
+ fn: function(t) {
139
+ var a = t.$index;
140
+ return [l("ElButton", {
141
+ attrs: {
142
+ icon: "el-icon-minus",
143
+ type: "danger",
144
+ circle: "",
145
+ size: "mini"
146
+ },
147
+ on: {
148
+ click: function(r) {
149
+ return e.list.splice(a, 1);
150
+ }
151
+ }
152
+ })];
153
+ }
154
+ }])
155
+ }), l("ElTableColumn", {
156
+ attrs: {
157
+ label: "字段名",
158
+ prop: "label",
159
+ align: "center"
160
+ },
161
+ scopedSlots: e._u([{
162
+ key: "default",
163
+ fn: function(t) {
164
+ var a = t.row;
165
+ return [l("ElInput", {
166
+ attrs: {
167
+ placeholder: "请输入 字段名"
168
+ },
169
+ model: {
170
+ value: a.label,
171
+ callback: function(r) {
172
+ e.$set(a, "label", r);
173
+ },
174
+ expression: "row.label"
175
+ }
176
+ })];
177
+ }
178
+ }])
179
+ }), l("ElTableColumn", {
180
+ attrs: {
181
+ label: "Prop",
182
+ prop: "prop",
183
+ align: "center"
184
+ },
185
+ scopedSlots: e._u([{
186
+ key: "default",
187
+ fn: function(t) {
188
+ var a = t.row;
189
+ return [l("ElInput", {
190
+ attrs: {
191
+ placeholder: "请输入 prop"
192
+ },
193
+ model: {
194
+ value: a.prop,
195
+ callback: function(r) {
196
+ e.$set(a, "prop", r);
197
+ },
198
+ expression: "row.prop"
199
+ }
200
+ })];
201
+ }
202
+ }])
203
+ }), l("ElTableColumn", {
204
+ attrs: {
205
+ label: "类型",
206
+ prop: "type",
207
+ align: "center"
208
+ },
209
+ scopedSlots: e._u([{
210
+ key: "default",
211
+ fn: function(t) {
212
+ var a = t.row;
213
+ return [l("ElSelect", {
214
+ staticStyle: {
215
+ width: "100%"
216
+ },
217
+ attrs: {
218
+ placeholder: "请选择 类型",
219
+ filterable: ""
220
+ },
221
+ model: {
222
+ value: a.type,
223
+ callback: function(r) {
224
+ e.$set(a, "type", r);
225
+ },
226
+ expression: "row.type"
227
+ }
228
+ }, e._l(e.fields, function(r) {
229
+ return l("ElOption", {
230
+ key: r.value,
231
+ attrs: {
232
+ label: r.value,
233
+ value: r.value
234
+ }
235
+ });
236
+ }), 1)];
237
+ }
238
+ }])
239
+ }), l("ElTableColumn", {
240
+ attrs: {
241
+ label: "搜索",
242
+ prop: "search",
243
+ align: "center"
244
+ },
245
+ scopedSlots: e._u([{
246
+ key: "default",
247
+ fn: function(t) {
248
+ var a = t.row;
249
+ return [l("ElSwitch", {
250
+ model: {
251
+ value: a.search,
252
+ callback: function(r) {
253
+ e.$set(a, "search", r);
254
+ },
255
+ expression: "row.search"
256
+ }
257
+ })];
258
+ }
259
+ }])
260
+ }), l("ElTableColumn", {
261
+ attrs: {
262
+ label: "操作",
263
+ align: "center"
264
+ },
265
+ scopedSlots: e._u([{
266
+ key: "default",
267
+ fn: function(t) {
268
+ var a = t.row;
269
+ return [["select", "cascader", "tree", "radio", "checkbox"].includes(a.type) ? [l("ElButton", {
270
+ attrs: {
271
+ type: "text"
272
+ },
273
+ on: {
274
+ click: function(r) {
275
+ return e.handleDic(a);
276
+ }
277
+ }
278
+ }, [e._v(" 字典配置 ")])] : e._e()];
279
+ }
280
+ }])
281
+ })], 1), l("span", {
282
+ staticClass: "afd-drawer-foot"
283
+ }, [l("ElButton", {
284
+ attrs: {
285
+ type: "primary"
286
+ },
287
+ on: {
288
+ click: e.handleSubmit
289
+ }
290
+ }, [e._v("确定")]), l("ElButton", {
291
+ on: {
292
+ click: function(t) {
293
+ e.visible = !1;
294
+ }
295
+ }
296
+ }, [e._v("取消")])], 1)], 1);
297
+ }, c = [];
298
+ export {
299
+ o as f,
300
+ u as r,
301
+ c as s
302
+ };
@@ -0,0 +1,51 @@
1
+ var r = function() {
2
+ var a = this, l = a.$createElement, e = a._self._c || l;
3
+ return e("div", [e("ElFormItem", {
4
+ attrs: {
5
+ label: "占位内容"
6
+ }
7
+ }, [e("ElInput", {
8
+ attrs: {
9
+ clearable: "",
10
+ placeholder: "占位内容"
11
+ },
12
+ model: {
13
+ value: a.data.placeholder,
14
+ callback: function(t) {
15
+ a.$set(a.data, "placeholder", t);
16
+ },
17
+ expression: "data.placeholder"
18
+ }
19
+ })], 1), e("ElFormItem", {
20
+ attrs: {
21
+ label: "尺寸"
22
+ }
23
+ }, [e("ElRadioGroup", {
24
+ attrs: {
25
+ size: "mini"
26
+ },
27
+ model: {
28
+ value: a.data.size,
29
+ callback: function(t) {
30
+ a.$set(a.data, "size", t);
31
+ },
32
+ expression: "data.size"
33
+ }
34
+ }, [e("ElRadioButton", {
35
+ attrs: {
36
+ label: "medium"
37
+ }
38
+ }, [a._v(" 正常 ")]), e("ElRadioButton", {
39
+ attrs: {
40
+ label: "small"
41
+ }
42
+ }, [a._v(" 小 ")]), e("ElRadioButton", {
43
+ attrs: {
44
+ label: "mini"
45
+ }
46
+ }, [a._v(" 超小 ")])], 1)], 1)], 1);
47
+ }, s = [];
48
+ export {
49
+ r,
50
+ s
51
+ };
@@ -0,0 +1,24 @@
1
+ var t = function() {
2
+ var e = this, r = e.$createElement, a = e._self._c || r;
3
+ return a("div", [a("ElFormItem", {
4
+ attrs: {
5
+ label: "占位内容"
6
+ }
7
+ }, [a("ElInput", {
8
+ attrs: {
9
+ clearable: "",
10
+ placeholder: "占位内容"
11
+ },
12
+ model: {
13
+ value: e.data.placeholder,
14
+ callback: function(l) {
15
+ e.$set(e.data, "placeholder", l);
16
+ },
17
+ expression: "data.placeholder"
18
+ }
19
+ })], 1)], 1);
20
+ }, c = [];
21
+ export {
22
+ t as r,
23
+ c as s
24
+ };
@@ -0,0 +1,52 @@
1
+ var s = function() {
2
+ var e = this, l = e.$createElement, t = e._self._c || l;
3
+ return t("div", [t("div", {
4
+ staticClass: "el-form-item el-form-item--small el-form--label-top"
5
+ }, [t("label", {
6
+ staticClass: "el-form-item__label",
7
+ staticStyle: {
8
+ padding: "0"
9
+ }
10
+ }, [e._v("自定义属性:")]), t("div", {
11
+ staticClass: "el-form-item__content"
12
+ }, [t("MonacoEditor", {
13
+ attrs: {
14
+ height: "300",
15
+ "key-index": e.data.prop,
16
+ options: e.options
17
+ },
18
+ model: {
19
+ value: e.params,
20
+ callback: function(a) {
21
+ e.params = a;
22
+ },
23
+ expression: "params"
24
+ }
25
+ })], 1)]), t("div", {
26
+ staticClass: "el-form-item el-form-item--small el-form--label-top"
27
+ }, [t("label", {
28
+ staticClass: "el-form-item__label",
29
+ staticStyle: {
30
+ padding: "0"
31
+ }
32
+ }, [e._v("自定义事件:")]), t("div", {
33
+ staticClass: "el-form-item__content"
34
+ }, [t("MonacoEditor", {
35
+ attrs: {
36
+ height: "300",
37
+ "key-index": e.data.prop,
38
+ options: e.options
39
+ },
40
+ model: {
41
+ value: e.event,
42
+ callback: function(a) {
43
+ e.event = a;
44
+ },
45
+ expression: "event"
46
+ }
47
+ })], 1)])]);
48
+ }, i = [];
49
+ export {
50
+ s as r,
51
+ i as s
52
+ };
@@ -0,0 +1,104 @@
1
+ var r = function() {
2
+ var a = this, t = a.$createElement, e = a._self._c || t;
3
+ return e("div", [a.data.type.indexOf("range") != -1 ? [e("ElFormItem", {
4
+ attrs: {
5
+ label: "开始占位内容",
6
+ "label-width": "110px"
7
+ }
8
+ }, [e("ElInput", {
9
+ attrs: {
10
+ clearable: "",
11
+ placeholder: "开始占位内容"
12
+ },
13
+ model: {
14
+ value: a.data.startPlaceholder,
15
+ callback: function(l) {
16
+ a.$set(a.data, "startPlaceholder", l);
17
+ },
18
+ expression: "data.startPlaceholder"
19
+ }
20
+ })], 1), e("ElFormItem", {
21
+ attrs: {
22
+ label: "结束占位内容",
23
+ "label-width": "110px"
24
+ }
25
+ }, [e("ElInput", {
26
+ attrs: {
27
+ clearable: "",
28
+ placeholder: "结束占位内容"
29
+ },
30
+ model: {
31
+ value: a.data.endPlaceholder,
32
+ callback: function(l) {
33
+ a.$set(a.data, "endPlaceholder", l);
34
+ },
35
+ expression: "data.endPlaceholder"
36
+ }
37
+ })], 1)] : e("ElFormItem", {
38
+ attrs: {
39
+ label: "占位内容"
40
+ }
41
+ }, [e("ElInput", {
42
+ attrs: {
43
+ clearable: "",
44
+ placeholder: "占位内容"
45
+ },
46
+ model: {
47
+ value: a.data.placeholder,
48
+ callback: function(l) {
49
+ a.$set(a.data, "placeholder", l);
50
+ },
51
+ expression: "data.placeholder"
52
+ }
53
+ })], 1), e("ElFormItem", {
54
+ attrs: {
55
+ label: "显示格式化",
56
+ "label-width": "100px"
57
+ }
58
+ }, [e("ElInput", {
59
+ attrs: {
60
+ clearable: "",
61
+ placeholder: "显示格式化"
62
+ },
63
+ model: {
64
+ value: a.data.format,
65
+ callback: function(l) {
66
+ a.$set(a.data, "format", l);
67
+ },
68
+ expression: "data.format"
69
+ }
70
+ })], 1), e("ElFormItem", {
71
+ attrs: {
72
+ label: "值格式化"
73
+ }
74
+ }, [e("ElInput", {
75
+ attrs: {
76
+ clearable: "",
77
+ placeholder: "值格式化"
78
+ },
79
+ model: {
80
+ value: a.data.valueFormat,
81
+ callback: function(l) {
82
+ a.$set(a.data, "valueFormat", l);
83
+ },
84
+ expression: "data.valueFormat"
85
+ }
86
+ })], 1), ["timerange", "daterange", "datetimerange"].includes(a.data.type) ? e("ElFormItem", {
87
+ attrs: {
88
+ label: "取消范围联动",
89
+ "label-width": "110px"
90
+ }
91
+ }, [e("ElSwitch", {
92
+ model: {
93
+ value: a.data.unlinkPanels,
94
+ callback: function(l) {
95
+ a.$set(a.data, "unlinkPanels", l);
96
+ },
97
+ expression: "data.unlinkPanels"
98
+ }
99
+ })], 1) : a._e()], 2);
100
+ }, d = [];
101
+ export {
102
+ r,
103
+ d as s
104
+ };
@@ -0,0 +1,133 @@
1
+ var r = function() {
2
+ var e = this, t = e.$createElement, l = e._self._c || t;
3
+ return l("div", [l("ElFormItem", {
4
+ attrs: {
5
+ label: "对齐方式"
6
+ }
7
+ }, [l("ElSelect", {
8
+ attrs: {
9
+ placeholder: "对齐方式",
10
+ clearable: ""
11
+ },
12
+ model: {
13
+ value: e.data.children.align,
14
+ callback: function(a) {
15
+ e.$set(e.data.children, "align", a);
16
+ },
17
+ expression: "data.children.align"
18
+ }
19
+ }, [l("ElOption", {
20
+ attrs: {
21
+ label: "居左",
22
+ value: "left"
23
+ }
24
+ }), l("ElOption", {
25
+ attrs: {
26
+ label: "居中",
27
+ value: "center"
28
+ }
29
+ }), l("ElOption", {
30
+ attrs: {
31
+ label: "居右",
32
+ value: "right"
33
+ }
34
+ })], 1)], 1), l("ElFormItem", {
35
+ attrs: {
36
+ label: "头部对齐方式",
37
+ "label-width": "110px"
38
+ }
39
+ }, [l("ElSelect", {
40
+ attrs: {
41
+ placeholder: "对齐方式",
42
+ clearable: ""
43
+ },
44
+ model: {
45
+ value: e.data.children.headerAlign,
46
+ callback: function(a) {
47
+ e.$set(e.data.children, "headerAlign", a);
48
+ },
49
+ expression: "data.children.headerAlign"
50
+ }
51
+ }, [l("ElOption", {
52
+ attrs: {
53
+ label: "居左",
54
+ value: "left"
55
+ }
56
+ }), l("ElOption", {
57
+ attrs: {
58
+ label: "居中",
59
+ value: "center"
60
+ }
61
+ }), l("ElOption", {
62
+ attrs: {
63
+ label: "居右",
64
+ value: "right"
65
+ }
66
+ })], 1)], 1), l("ElFormItem", {
67
+ attrs: {
68
+ label: "表单格式"
69
+ }
70
+ }, [l("ElSelect", {
71
+ attrs: {
72
+ placeholder: "表单格式",
73
+ clearable: ""
74
+ },
75
+ model: {
76
+ value: e.data.children.type,
77
+ callback: function(a) {
78
+ e.$set(e.data.children, "type", a);
79
+ },
80
+ expression: "data.children.type"
81
+ }
82
+ }, [l("ElOption", {
83
+ attrs: {
84
+ label: "表格",
85
+ value: ""
86
+ }
87
+ }), l("ElOption", {
88
+ attrs: {
89
+ label: "表单",
90
+ value: "form"
91
+ }
92
+ })], 1)], 1), e.data.children.type == "form" ? l("ElFormItem", {
93
+ attrs: {
94
+ label: "序号"
95
+ }
96
+ }, [l("ElSwitch", {
97
+ model: {
98
+ value: e.data.children.index,
99
+ callback: function(a) {
100
+ e.$set(e.data.children, "index", a);
101
+ },
102
+ expression: "data.children.index"
103
+ }
104
+ })], 1) : e._e(), l("ElFormItem", {
105
+ attrs: {
106
+ label: "添加按钮"
107
+ }
108
+ }, [l("ElSwitch", {
109
+ model: {
110
+ value: e.data.children.addBtn,
111
+ callback: function(a) {
112
+ e.$set(e.data.children, "addBtn", a);
113
+ },
114
+ expression: "data.children.addBtn"
115
+ }
116
+ })], 1), l("ElFormItem", {
117
+ attrs: {
118
+ label: "删除按钮"
119
+ }
120
+ }, [l("ElSwitch", {
121
+ model: {
122
+ value: e.data.children.delBtn,
123
+ callback: function(a) {
124
+ e.$set(e.data.children, "delBtn", a);
125
+ },
126
+ expression: "data.children.delBtn"
127
+ }
128
+ })], 1)], 1);
129
+ }, n = [];
130
+ export {
131
+ r,
132
+ n as s
133
+ };