@web-utils/component 2.7.3 → 2.7.5

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 (128) 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.fbbbff76.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/monaco.1dbdc960.js +283 -0
  34. package/dist/chunks/{packages.5d7a86c4.js → packages.6f252850.js} +5 -61
  35. package/dist/chunks/{util.5053d54e.js → util.80e28481.js} +37 -51
  36. package/dist/components/afd-column/index.js +54 -0
  37. package/dist/components/chat/index.js +1 -1
  38. package/dist/components/code/index.js +1 -1
  39. package/dist/components/column/index.js +8 -7
  40. package/dist/components/column-default/index.js +1 -1
  41. package/dist/components/column-dynamic/index.js +1 -1
  42. package/dist/components/column-menu/index.js +1 -1
  43. package/dist/components/column-slot/index.js +27 -26
  44. package/dist/components/config-array/index.js +26 -0
  45. package/dist/components/config-color/index.js +26 -0
  46. package/dist/components/config-custom/index.js +60 -0
  47. package/dist/components/config-date/index.js +26 -0
  48. package/dist/components/config-dynamic/index.js +26 -0
  49. package/dist/components/config-event/index.js +72 -0
  50. package/dist/components/config-group/index.js +34 -0
  51. package/dist/components/config-input/index.js +26 -0
  52. package/dist/components/config-map/index.js +26 -0
  53. package/dist/components/config-number/index.js +26 -0
  54. package/dist/components/config-rate/index.js +69 -0
  55. package/dist/components/config-rate/style.css +1 -0
  56. package/dist/components/config-select/index.js +88 -0
  57. package/dist/components/config-slider/index.js +26 -0
  58. package/dist/components/config-switch/index.js +31 -0
  59. package/dist/components/config-switch/style.css +1 -0
  60. package/dist/components/config-table/index.js +120 -0
  61. package/dist/components/config-textarea/index.js +26 -0
  62. package/dist/components/config-title/index.js +31 -0
  63. package/dist/components/config-tree/index.js +120 -0
  64. package/dist/components/config-tree/style.css +1 -0
  65. package/dist/components/config-u-editor/index.js +32 -0
  66. package/dist/components/config-upload/index.js +56 -0
  67. package/dist/components/custom-scrollbar/index.js +6 -1
  68. package/dist/components/dialog-excel/index.js +2 -2
  69. package/dist/components/dialog-filter/index.js +1 -1
  70. package/dist/components/dialog-form/index.js +8 -7
  71. package/dist/components/flex-item/index.js +4 -1
  72. package/dist/components/flow/index.js +1 -1
  73. package/dist/components/flow-node/index.js +1 -1
  74. package/dist/components/form-config/index.js +26 -0
  75. package/dist/components/form-group/index.js +1 -1
  76. package/dist/components/form-temp/index.js +2 -2
  77. package/dist/components/{array → fy-array}/index.js +5 -5
  78. package/dist/components/{array → fy-array}/style.css +0 -0
  79. package/dist/components/fy-cascader/index.js +1 -1
  80. package/dist/components/fy-checkbox/index.js +1 -1
  81. package/dist/components/fy-curd/index.js +7 -6
  82. package/dist/components/fy-date/index.js +1 -1
  83. package/dist/components/fy-dialog-form/index.js +9 -8
  84. package/dist/components/{draggable → fy-draggable}/index.js +2 -2
  85. package/dist/components/{draggable → fy-draggable}/style.css +0 -0
  86. package/dist/components/fy-dynamic/index.js +2 -2
  87. package/dist/components/{empty → fy-empty}/index.js +6 -6
  88. package/dist/components/{empty → fy-empty}/style.css +0 -0
  89. package/dist/components/fy-form/index.js +9 -8
  90. package/dist/components/fy-form-design/index.js +1255 -0
  91. package/dist/components/fy-form-design/style.css +1 -0
  92. package/dist/components/fy-input/index.js +1 -1
  93. package/dist/components/fy-input-color/index.js +1 -1
  94. package/dist/components/fy-input-icon/index.js +1 -1
  95. package/dist/components/fy-input-map/index.js +4 -4
  96. package/dist/components/fy-input-number/index.js +1 -1
  97. package/dist/components/fy-input-table/index.js +4 -4
  98. package/dist/components/fy-input-tree/index.js +2 -2
  99. package/dist/components/fy-radio/index.js +1 -1
  100. package/dist/components/fy-rate/index.js +1 -1
  101. package/dist/components/fy-select/index.js +18 -17
  102. package/dist/components/fy-slider/index.js +2 -2
  103. package/dist/components/fy-switch/index.js +1 -1
  104. package/dist/components/fy-time/index.js +2 -2
  105. package/dist/components/fy-title/index.js +1 -1
  106. package/dist/components/fy-tree/index.js +7 -6
  107. package/dist/components/fy-upload/index.js +11 -10
  108. package/dist/components/header-menu/index.js +1 -1
  109. package/dist/components/header-search/index.js +2 -2
  110. package/dist/components/license/index.js +5 -5
  111. package/dist/components/login/index.js +9 -8
  112. package/dist/components/record-video/index.js +1 -1
  113. package/dist/components/search/index.js +10 -9
  114. package/dist/components/sign/index.js +1 -1
  115. package/dist/components/table-column/index.js +4 -1
  116. package/dist/components/table-page/index.js +1 -1
  117. package/dist/components/text-ellipsis/index.js +1 -1
  118. package/dist/components/verify/index.js +1 -1
  119. package/dist/components/watermark/index.js +5 -1
  120. package/dist/components/widget-config/index.js +107 -0
  121. package/dist/components/widget-form/index.js +68 -0
  122. package/dist/components/widget-form-group/index.js +91 -0
  123. package/dist/components/widget-form-item/index.js +70 -0
  124. package/dist/components/widget-form-table/index.js +90 -0
  125. package/dist/index.css +761 -201
  126. package/dist/index.es.js +24100 -16510
  127. package/package.json +5 -3
  128. package/web-types.json +1880 -1781
@@ -0,0 +1,483 @@
1
+ var c = function() {
2
+ var a = this, s = a.$createElement, t = a._self._c || s;
3
+ return t("div", [a.data.type == "select" ? t("ElFormItem", {
4
+ attrs: {
5
+ label: "占位内容"
6
+ }
7
+ }, [t("ElInput", {
8
+ attrs: {
9
+ clearable: "",
10
+ placeholder: "占位内容"
11
+ },
12
+ model: {
13
+ value: a.data.placeholder,
14
+ callback: function(e) {
15
+ a.$set(a.data, "placeholder", e);
16
+ },
17
+ expression: "data.placeholder"
18
+ }
19
+ })], 1) : a._e(), t("div", {
20
+ staticClass: "el-form-item el-form-item--small el-form--label-top"
21
+ }, [t("label", {
22
+ staticClass: "el-form-item__label",
23
+ staticStyle: {
24
+ padding: "0"
25
+ }
26
+ }, [a._v("字典配置:")]), t("div", {
27
+ staticClass: "el-form-item__content"
28
+ }, [t("ElTabs", {
29
+ attrs: {
30
+ stretch: ""
31
+ },
32
+ on: {
33
+ "tab-click": a.handleTabClick
34
+ },
35
+ model: {
36
+ value: a.data.dicOption,
37
+ callback: function(e) {
38
+ a.$set(a.data, "dicOption", e);
39
+ },
40
+ expression: "data.dicOption"
41
+ }
42
+ }, [t("ElTabPane", {
43
+ attrs: {
44
+ label: "静态数据",
45
+ name: "static"
46
+ }
47
+ }, [t("Draggable", {
48
+ attrs: {
49
+ tag: "ul",
50
+ list: a.data.dicData,
51
+ group: {
52
+ name: "dic"
53
+ },
54
+ "ghost-class": "ghost",
55
+ handle: ".drag-item"
56
+ }
57
+ }, a._l(a.data.dicData, function(e, l) {
58
+ return t("li", {
59
+ key: l
60
+ }, [t("i", {
61
+ staticClass: "drag-item el-icon-s-operation",
62
+ staticStyle: {
63
+ "font-size": "16px",
64
+ margin: "0 5px",
65
+ cursor: "move"
66
+ }
67
+ }), t("ElInput", {
68
+ staticStyle: {
69
+ "margin-right": "5px"
70
+ },
71
+ attrs: {
72
+ size: "mini",
73
+ clearable: "",
74
+ placeholder: "label"
75
+ },
76
+ model: {
77
+ value: e.label,
78
+ callback: function(i) {
79
+ a.$set(e, "label", i);
80
+ },
81
+ expression: "item.label"
82
+ }
83
+ }), t("ElInput", {
84
+ style: {
85
+ "margin-right": a.data.type == "select" ? "5px" : "0"
86
+ },
87
+ attrs: {
88
+ size: "mini",
89
+ clearable: "",
90
+ placeholder: "value"
91
+ },
92
+ model: {
93
+ value: e.value,
94
+ callback: function(i) {
95
+ a.$set(e, "value", i);
96
+ },
97
+ expression: "item.value"
98
+ }
99
+ }), a.data.type == "select" ? t("ElInput", {
100
+ attrs: {
101
+ size: "mini",
102
+ clearable: "",
103
+ placeholder: "描述"
104
+ },
105
+ model: {
106
+ value: e.desc,
107
+ callback: function(i) {
108
+ a.$set(e, "desc", i);
109
+ },
110
+ expression: "item.desc"
111
+ }
112
+ }) : a._e(), t("ElButton", {
113
+ staticStyle: {
114
+ padding: "4px",
115
+ "margin-left": "5px"
116
+ },
117
+ attrs: {
118
+ circle: "",
119
+ plain: "",
120
+ type: "danger",
121
+ size: "mini",
122
+ icon: "el-icon-minus"
123
+ },
124
+ on: {
125
+ click: function(i) {
126
+ return a.handleRemoveFields(l);
127
+ }
128
+ }
129
+ })], 1);
130
+ }), 0), t("div", {
131
+ staticStyle: {
132
+ "margin-left": "22px"
133
+ }
134
+ }, [t("ElButton", {
135
+ attrs: {
136
+ type: "text"
137
+ },
138
+ on: {
139
+ click: a.handleAddFields
140
+ }
141
+ }, [a._v(" 添加列 ")])], 1)], 1), t("ElTabPane", {
142
+ attrs: {
143
+ label: "远端数据",
144
+ name: "remote"
145
+ }
146
+ }, [a._v(" 网址 "), t("ElInput", {
147
+ attrs: {
148
+ size: "small",
149
+ placeholder: "远端数据字典网址"
150
+ },
151
+ model: {
152
+ value: a.data.dicUrl,
153
+ callback: function(e) {
154
+ a.$set(a.data, "dicUrl", e);
155
+ },
156
+ expression: "data.dicUrl"
157
+ }
158
+ }), a._v(" 远程搜索 "), t("ElSwitch", {
159
+ model: {
160
+ value: a.data.remote,
161
+ callback: function(e) {
162
+ a.$set(a.data, "remote", e);
163
+ },
164
+ expression: "data.remote"
165
+ }
166
+ }), t("br"), a._v(" 请求方法 "), t("ElSelect", {
167
+ staticStyle: {
168
+ width: "100%"
169
+ },
170
+ attrs: {
171
+ placeholder: "请求方法",
172
+ size: "small"
173
+ },
174
+ model: {
175
+ value: a.data.dicMethod,
176
+ callback: function(e) {
177
+ a.$set(a.data, "dicMethod", e);
178
+ },
179
+ expression: "data.dicMethod"
180
+ }
181
+ }, [t("ElOption", {
182
+ attrs: {
183
+ label: "POST",
184
+ value: "post"
185
+ }
186
+ }), t("ElOption", {
187
+ attrs: {
188
+ label: "GET",
189
+ value: "get"
190
+ }
191
+ })], 1), a.data.dicMethod == "post" ? t("p", [a._v(" 请求参数 "), t("FyDynamic", {
192
+ attrs: {
193
+ children: a.option
194
+ },
195
+ model: {
196
+ value: a.data.dicQueryConfig,
197
+ callback: function(e) {
198
+ a.$set(a.data, "dicQueryConfig", e);
199
+ },
200
+ expression: "data.dicQueryConfig"
201
+ }
202
+ })], 1) : a._e(), a.data.dicUrl ? t("p", [a._v(" 返回结构 "), t("MonacoEditor", {
203
+ attrs: {
204
+ height: "80",
205
+ "key-index": `dict-formatter-${a.data.prop}`,
206
+ options: a.options
207
+ },
208
+ model: {
209
+ value: a.dicFormatter,
210
+ callback: function(e) {
211
+ a.dicFormatter = e;
212
+ },
213
+ expression: "dicFormatter"
214
+ }
215
+ })], 1) : a._e()], 1)], 1)], 1)]), t("div", {
216
+ staticClass: "el-form-item el-form-item--small el-form--label-top"
217
+ }, [t("label", {
218
+ staticClass: "el-form-item__label",
219
+ staticStyle: {
220
+ padding: "0"
221
+ }
222
+ }, [a._v("字典key配置:")]), t("div", {
223
+ staticClass: "el-form-item__content"
224
+ }, [t("ul", a._l(a.data.props, function(e, l) {
225
+ return t("li", {
226
+ key: l
227
+ }, [t("span", {
228
+ staticStyle: {
229
+ width: "50px"
230
+ }
231
+ }, [a._v(a._s(l))]), t("ElInput", {
232
+ attrs: {
233
+ size: "mini",
234
+ clearable: "",
235
+ placeholder: "key配置"
236
+ },
237
+ model: {
238
+ value: a.data.props[l],
239
+ callback: function(i) {
240
+ a.$set(a.data.props, l, i);
241
+ },
242
+ expression: "data.props[key]"
243
+ }
244
+ })], 1);
245
+ }), 0)])]), a.data.dicOption == "remote" ? t("ElFormItem", {
246
+ attrs: {
247
+ label: "重新请求字典(crud)",
248
+ "label-width": "150px"
249
+ }
250
+ }, [t("ElSwitch", {
251
+ model: {
252
+ value: a.data.dicFlag,
253
+ callback: function(e) {
254
+ a.$set(a.data, "dicFlag", e);
255
+ },
256
+ expression: "data.dicFlag"
257
+ }
258
+ })], 1) : a._e(), a.data.type == "select" ? [t("ElFormItem", {
259
+ attrs: {
260
+ label: "是否多选"
261
+ }
262
+ }, [t("ElSwitch", {
263
+ model: {
264
+ value: a.data.multiple,
265
+ callback: function(e) {
266
+ a.$set(a.data, "multiple", e);
267
+ },
268
+ expression: "data.multiple"
269
+ }
270
+ })], 1), a.data.multiple ? t("ElFormItem", {
271
+ attrs: {
272
+ label: "是否可拖拽",
273
+ "label-width": "110px"
274
+ }
275
+ }, [t("template", {
276
+ slot: "label"
277
+ }, [t("ElLink", {
278
+ attrs: {
279
+ underline: !1,
280
+ href: "https://avuejs.com/form/form-select.html#%E6%8B%96%E6%8B%BD",
281
+ target: "_blank"
282
+ }
283
+ }, [a._v(" 是否可拖拽 "), t("i", {
284
+ staticClass: "el-icon-question"
285
+ })])], 1), t("ElSwitch", {
286
+ model: {
287
+ value: a.data.drag,
288
+ callback: function(e) {
289
+ a.$set(a.data, "drag", e);
290
+ },
291
+ expression: "data.drag"
292
+ }
293
+ })], 2) : a._e(), a.data.multiple ? t("ElFormItem", {
294
+ attrs: {
295
+ label: "多选数量限制",
296
+ "label-width": "110px"
297
+ }
298
+ }, [t("ElInputNumber", {
299
+ attrs: {
300
+ "controls-position": "right",
301
+ placeholder: "多选限制",
302
+ min: 0,
303
+ max: a.data.dicData.length
304
+ },
305
+ model: {
306
+ value: a.data.limit,
307
+ callback: function(e) {
308
+ a.$set(a.data, "limit", e);
309
+ },
310
+ expression: "data.limit"
311
+ }
312
+ })], 1) : a._e(), t("div", {
313
+ staticClass: "el-form-item el-form-item--small el-form--label-top"
314
+ }, [t("label", {
315
+ staticClass: "el-form-item__label",
316
+ staticStyle: {
317
+ padding: "0"
318
+ }
319
+ }, [a._v("级联配置:")]), t("div", {
320
+ staticClass: "el-form-item__content"
321
+ }, [t("Draggable", {
322
+ attrs: {
323
+ tag: "ul",
324
+ list: a.data.cascaderItem || a.data.cascader,
325
+ group: {
326
+ name: "cascaderItem"
327
+ },
328
+ "ghost-class": "ghost",
329
+ handle: ".drag-item"
330
+ }
331
+ }, a._l(a.data.cascaderItem || a.data.cascader, function(e, l) {
332
+ return t("li", {
333
+ key: l
334
+ }, [t("i", {
335
+ staticClass: "drag-item el-icon-s-operation",
336
+ staticStyle: {
337
+ "font-size": "16px",
338
+ margin: "0 5px",
339
+ cursor: "move"
340
+ }
341
+ }), t("ElInput", {
342
+ attrs: {
343
+ size: "mini",
344
+ clearable: "",
345
+ placeholder: "级联属性值"
346
+ },
347
+ model: {
348
+ value: a.data.cascader[l],
349
+ callback: function(i) {
350
+ a.$set(a.data.cascader, l, i);
351
+ },
352
+ expression: "data.cascader[index]"
353
+ }
354
+ }), t("ElButton", {
355
+ staticStyle: {
356
+ padding: "4px",
357
+ "margin-left": "5px"
358
+ },
359
+ attrs: {
360
+ circle: "",
361
+ plain: "",
362
+ type: "danger",
363
+ size: "mini",
364
+ icon: "el-icon-minus"
365
+ },
366
+ on: {
367
+ click: function(i) {
368
+ return a.handleRemoveCascaderItemFields(l);
369
+ }
370
+ }
371
+ })], 1);
372
+ }), 0), t("div", {
373
+ staticStyle: {
374
+ "margin-left": "22px"
375
+ }
376
+ }, [t("ElButton", {
377
+ attrs: {
378
+ type: "text"
379
+ },
380
+ on: {
381
+ click: a.handleAddCascaderItemFields
382
+ }
383
+ }, [a._v(" 添加列 ")])], 1)], 1)]), (a.data.cascaderItem || a.data.cascader) && (a.data.cascaderItem || a.data.cascader).length > 0 ? t("ElFormItem", {
384
+ attrs: {
385
+ label: "级联默认选中",
386
+ "label-width": "110px"
387
+ }
388
+ }, [t("ElInputNumber", {
389
+ attrs: {
390
+ "controls-position": "right",
391
+ placeholder: "级联默认选中",
392
+ min: 0
393
+ },
394
+ model: {
395
+ value: a.data.cascaderIndex,
396
+ callback: function(e) {
397
+ a.$set(a.data, "cascaderIndex", e);
398
+ },
399
+ expression: "data.cascaderIndex"
400
+ }
401
+ })], 1) : a._e(), t("ElFormItem", {
402
+ attrs: {
403
+ label: "是否可清空",
404
+ "label-width": "110px"
405
+ }
406
+ }, [t("ElSwitch", {
407
+ model: {
408
+ value: a.data.clearable,
409
+ callback: function(e) {
410
+ a.$set(a.data, "clearable", e);
411
+ },
412
+ expression: "data.clearable"
413
+ }
414
+ })], 1), t("ElFormItem", {
415
+ attrs: {
416
+ label: "是否可搜索",
417
+ "label-width": "110px"
418
+ }
419
+ }, [t("ElSwitch", {
420
+ model: {
421
+ value: a.data.filterable,
422
+ callback: function(e) {
423
+ a.$set(a.data, "filterable", e);
424
+ },
425
+ expression: "data.filterable"
426
+ }
427
+ })], 1)] : a._e(), ["radio", "checkbox"].includes(a.data.type) ? [a.data.button ? a._e() : t("ElFormItem", {
428
+ attrs: {
429
+ label: "边框"
430
+ }
431
+ }, [t("ElSwitch", {
432
+ model: {
433
+ value: a.data.border,
434
+ callback: function(e) {
435
+ a.$set(a.data, "border", e);
436
+ },
437
+ expression: "data.border"
438
+ }
439
+ })], 1), a.data.border ? a._e() : t("ElFormItem", {
440
+ attrs: {
441
+ label: "按钮"
442
+ }
443
+ }, [t("ElSwitch", {
444
+ model: {
445
+ value: a.data.button,
446
+ callback: function(e) {
447
+ a.$set(a.data, "button", e);
448
+ },
449
+ expression: "data.button"
450
+ }
451
+ })], 1)] : a._e(), a.data.border || a.data.button ? t("ElFormItem", {
452
+ attrs: {
453
+ label: "尺寸"
454
+ }
455
+ }, [t("ElRadioGroup", {
456
+ attrs: {
457
+ size: "mini"
458
+ },
459
+ model: {
460
+ value: a.data.size,
461
+ callback: function(e) {
462
+ a.$set(a.data, "size", e);
463
+ },
464
+ expression: "data.size"
465
+ }
466
+ }, [t("ElRadioButton", {
467
+ attrs: {
468
+ label: "medium"
469
+ }
470
+ }, [a._v(" 正常 ")]), t("ElRadioButton", {
471
+ attrs: {
472
+ label: "small"
473
+ }
474
+ }, [a._v(" 小 ")]), t("ElRadioButton", {
475
+ attrs: {
476
+ label: "mini"
477
+ }
478
+ }, [a._v(" 超小 ")])], 1)], 1) : a._e()], 2);
479
+ }, d = [];
480
+ export {
481
+ c as r,
482
+ d as s
483
+ };
@@ -0,0 +1,99 @@
1
+ var s = function() {
2
+ var a = this, l = a.$createElement, t = a._self._c || l;
3
+ return t("div", [t("ElFormItem", {
4
+ attrs: {
5
+ label: "最小值"
6
+ }
7
+ }, [t("ElInputNumber", {
8
+ attrs: {
9
+ "controls-position": "right",
10
+ placeholder: "最小值",
11
+ max: a.data.max - 1,
12
+ min: 0
13
+ },
14
+ model: {
15
+ value: a.data.min,
16
+ callback: function(e) {
17
+ a.$set(a.data, "min", e);
18
+ },
19
+ expression: "data.min"
20
+ }
21
+ })], 1), t("ElFormItem", {
22
+ attrs: {
23
+ label: "最大值"
24
+ }
25
+ }, [t("ElInputNumber", {
26
+ attrs: {
27
+ "controls-position": "right",
28
+ placeholder: "最大值",
29
+ min: a.data.min + 1
30
+ },
31
+ model: {
32
+ value: a.data.max,
33
+ callback: function(e) {
34
+ a.$set(a.data, "max", e);
35
+ },
36
+ expression: "data.max"
37
+ }
38
+ })], 1), t("ElFormItem", {
39
+ attrs: {
40
+ label: "步长"
41
+ }
42
+ }, [t("ElInputNumber", {
43
+ attrs: {
44
+ "controls-position": "right",
45
+ placeholder: "步长",
46
+ min: 1,
47
+ max: a.data.max - a.data.min
48
+ },
49
+ model: {
50
+ value: a.data.step,
51
+ callback: function(e) {
52
+ a.$set(a.data, "step", e);
53
+ },
54
+ expression: "data.step"
55
+ }
56
+ })], 1), t("ElFormItem", {
57
+ attrs: {
58
+ label: "显示间隔点",
59
+ "label-width": "100px"
60
+ }
61
+ }, [t("ElSwitch", {
62
+ model: {
63
+ value: a.data.showStops,
64
+ callback: function(e) {
65
+ a.$set(a.data, "showStops", e);
66
+ },
67
+ expression: "data.showStops"
68
+ }
69
+ })], 1), t("ElFormItem", {
70
+ attrs: {
71
+ label: "显示输入框",
72
+ "label-width": "100px"
73
+ }
74
+ }, [t("ElSwitch", {
75
+ model: {
76
+ value: a.data.showInput,
77
+ callback: function(e) {
78
+ a.$set(a.data, "showInput", e);
79
+ },
80
+ expression: "data.showInput"
81
+ }
82
+ })], 1), t("ElFormItem", {
83
+ attrs: {
84
+ label: "范围"
85
+ }
86
+ }, [t("ElSwitch", {
87
+ model: {
88
+ value: a.data.range,
89
+ callback: function(e) {
90
+ a.$set(a.data, "range", e);
91
+ },
92
+ expression: "data.range"
93
+ }
94
+ })], 1)], 1);
95
+ }, o = [];
96
+ export {
97
+ s as r,
98
+ o as s
99
+ };
@@ -0,0 +1,54 @@
1
+ var s = 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("ElButton", {
8
+ staticClass: "danger",
9
+ attrs: {
10
+ type: "text"
11
+ },
12
+ on: {
13
+ click: e.handleDicClear
14
+ }
15
+ }, [e._v(" 清空 ")]), e._l(e.data.dicData, function(t, n) {
16
+ return a("div", {
17
+ key: n,
18
+ staticClass: "dic"
19
+ }, [a("ElInput", {
20
+ staticStyle: {
21
+ "margin-right": "5px"
22
+ },
23
+ attrs: {
24
+ size: "mini",
25
+ placeholder: "自定义文字",
26
+ clearable: ""
27
+ },
28
+ model: {
29
+ value: t.label,
30
+ callback: function(l) {
31
+ e.$set(t, "label", l);
32
+ },
33
+ expression: "item.label"
34
+ }
35
+ }), a("ElInput", {
36
+ attrs: {
37
+ size: "mini",
38
+ clearable: "",
39
+ placeholder: "自定义值"
40
+ },
41
+ model: {
42
+ value: t.value,
43
+ callback: function(l) {
44
+ e.$set(t, "value", l);
45
+ },
46
+ expression: "item.value"
47
+ }
48
+ })], 1);
49
+ })], 2)], 1);
50
+ }, c = [];
51
+ export {
52
+ s as r,
53
+ c as s
54
+ };