@web-utils/component 2.7.20 → 2.7.22

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 (290) hide show
  1. package/dist/chunks/{config.46422d7f.js → config.7dec2bf2.js} +2 -2
  2. package/dist/chunks/confirmable-mixin.35bd1934.js +104 -0
  3. package/dist/chunks/dataformat.9cc4428a.js +158 -0
  4. package/dist/chunks/dayjs.ed2e1b73.js +247 -0
  5. package/dist/chunks/detail.d47a021c.js +29 -0
  6. package/dist/chunks/dic.9de2fe5a.js +135 -0
  7. package/dist/chunks/{event.dd6f522d.js → event.fc358074.js} +31 -31
  8. package/dist/chunks/{form-input-mixin.ff5b58f7.js → form-input-mixin.760cd65d.js} +6 -6
  9. package/dist/chunks/form-item-mixin.fa314b67.js +139 -0
  10. package/dist/chunks/{form-pick-mixin.61ad06b2.js → form-pick-mixin.c4e0391b.js} +2 -2
  11. package/dist/chunks/init.e0133910.js +122 -0
  12. package/dist/chunks/{input-number-mixin.41a066be.js → input-number-mixin.6849fa63.js} +4 -4
  13. package/dist/chunks/{mixins.5a78e0db.js → mixins.6a394a6c.js} +4 -4
  14. package/dist/chunks/{packages.1fc9ccba.js → packages.419bde01.js} +7 -7
  15. package/dist/chunks/permission.07c49abf.js +16 -0
  16. package/dist/chunks/slot.a7387ecc.js +27 -0
  17. package/dist/chunks/tab-mixin.9d568df9.js +81 -0
  18. package/dist/chunks/util.89913643.js +261 -0
  19. package/dist/chunks/utils.d7f73f8d.js +185 -0
  20. package/dist/chunks/utils.f44207f4.js +26 -0
  21. package/dist/chunks/vueComponentNormalizer.77ec6792.js +32 -0
  22. package/dist/components/address-input/index.js +36 -36
  23. package/dist/components/affix/index.js +39 -39
  24. package/dist/components/aside-menu/index.js +29 -29
  25. package/dist/components/avatar/index.js +43 -43
  26. package/dist/components/awesome-button/index.js +64 -34
  27. package/dist/components/base.css +1 -1
  28. package/dist/components/capsule-tab/index.js +26 -26
  29. package/dist/components/card/index.js +49 -49
  30. package/dist/components/carousel/index.js +35 -35
  31. package/dist/components/chat/index.js +203 -203
  32. package/dist/components/chunk-file-uploader/index.js +46 -46
  33. package/dist/components/chunk-file-uploader-button/index.js +22 -22
  34. package/dist/components/chunk-file-uploader-drop/index.js +47 -29
  35. package/dist/components/chunk-file-uploader-file/index.js +119 -119
  36. package/dist/components/chunk-file-uploader-files/index.js +27 -27
  37. package/dist/components/chunk-file-uploader-list/index.js +27 -27
  38. package/dist/components/chunk-file-uploader-un-support/index.js +27 -27
  39. package/dist/components/code-mirror-editor/index.js +136 -136
  40. package/dist/components/color-picker/index.js +57 -39
  41. package/dist/components/column/index.js +66 -66
  42. package/dist/components/column-default/index.js +54 -54
  43. package/dist/components/column-dynamic/index.js +54 -54
  44. package/dist/components/column-menu/index.js +128 -128
  45. package/dist/components/column-slot/index.js +168 -168
  46. package/dist/components/comment/index.js +33 -33
  47. package/dist/components/confirm-button/index.js +18 -18
  48. package/dist/components/confirmable/index.js +17 -17
  49. package/dist/components/context-menu/index.js +89 -89
  50. package/dist/components/count-up/index.js +50 -39
  51. package/dist/components/custom-scrollbar/index.js +62 -49
  52. package/dist/components/data-box/index.js +41 -41
  53. package/dist/components/data-card/index.js +38 -38
  54. package/dist/components/data-cardtext/index.js +33 -33
  55. package/dist/components/data-display/index.js +37 -37
  56. package/dist/components/data-icons/index.js +40 -40
  57. package/dist/components/data-imgtext/index.js +44 -44
  58. package/dist/components/data-operatext/index.js +44 -44
  59. package/dist/components/data-panel/index.js +38 -38
  60. package/dist/components/data-pay/index.js +60 -60
  61. package/dist/components/data-price/index.js +38 -38
  62. package/dist/components/data-progress/index.js +39 -39
  63. package/dist/components/data-rotate/index.js +39 -39
  64. package/dist/components/data-table-picker/index.js +151 -53
  65. package/dist/components/data-tabs/index.js +39 -39
  66. package/dist/components/data-tabs/style.css +1 -1
  67. package/dist/components/dialog-column/index.js +50 -50
  68. package/dist/components/dialog-excel/index.js +68 -68
  69. package/dist/components/dialog-filter/index.js +84 -84
  70. package/dist/components/dialog-form/index.js +89 -89
  71. package/dist/components/dynamic-table/index.js +71 -71
  72. package/dist/components/e-charts/index.js +95 -94
  73. package/dist/components/easy-popup/index.js +87 -0
  74. package/dist/components/easy-popup/style.css +1 -0
  75. package/dist/components/editable-progress/index.js +48 -48
  76. package/dist/components/editable-tree/index.js +701 -348
  77. package/dist/components/egd-collapse/index.js +29 -29
  78. package/dist/components/egd-collapse-item/index.js +51 -51
  79. package/dist/components/element-dialog/index.js +74 -65
  80. package/dist/components/empty-view/index.js +26 -26
  81. package/dist/components/error-view/index.js +25 -25
  82. package/dist/components/flex-column/index.js +31 -19
  83. package/dist/components/flex-item/index.js +32 -20
  84. package/dist/components/flex-row/index.js +31 -19
  85. package/dist/components/flex-scroller/index.js +24 -24
  86. package/dist/components/flex-scroller/style.css +1 -1
  87. package/dist/components/flow/index.js +100 -100
  88. package/dist/components/flow-node/index.js +37 -37
  89. package/dist/components/flow-viewer/index.js +162 -0
  90. package/dist/components/flow-viewer/style.css +1 -0
  91. package/dist/components/form-button/index.js +32 -32
  92. package/dist/components/form-cascader/index.js +73 -61
  93. package/dist/components/form-checkbox-group/index.js +72 -61
  94. package/dist/components/form-date-picker/index.js +71 -62
  95. package/dist/components/form-group/index.js +38 -38
  96. package/dist/components/form-holder/index.js +50 -32
  97. package/dist/components/form-input/index.js +61 -50
  98. package/dist/components/form-input-email/index.js +55 -44
  99. package/dist/components/form-input-id-card/index.js +60 -49
  100. package/dist/components/form-input-number/index.js +60 -49
  101. package/dist/components/form-input-phone-number/index.js +56 -45
  102. package/dist/components/form-input-time/index.js +59 -48
  103. package/dist/components/form-item/index.js +107 -79
  104. package/dist/components/form-item-config-provider/index.js +19 -19
  105. package/dist/components/form-item-group/index.js +65 -65
  106. package/dist/components/form-radio-group/index.js +72 -61
  107. package/dist/components/form-select/index.js +63 -52
  108. package/dist/components/form-switch/index.js +56 -45
  109. package/dist/components/form-temp/index.js +50 -50
  110. package/dist/components/form-textarea/index.js +55 -44
  111. package/dist/components/form-view/index.js +172 -149
  112. package/dist/components/fy-array/index.js +64 -64
  113. package/dist/components/fy-article/index.js +34 -34
  114. package/dist/components/fy-cascader/index.js +52 -52
  115. package/dist/components/fy-checkbox/index.js +52 -52
  116. package/dist/components/fy-code/index.js +30 -30
  117. package/dist/components/fy-curd/index.js +317 -317
  118. package/dist/components/fy-date/index.js +45 -45
  119. package/dist/components/fy-dialog-form/index.js +115 -115
  120. package/dist/components/fy-draggable/index.js +120 -120
  121. package/dist/components/fy-draggable/style.css +1 -1
  122. package/dist/components/fy-dynamic/index.js +126 -126
  123. package/dist/components/fy-empty/index.js +26 -26
  124. package/dist/components/fy-form/index.js +384 -366
  125. package/dist/components/fy-form-design/index.js +6956 -459
  126. package/dist/components/fy-form-design/style.css +1 -1
  127. package/dist/components/fy-form-menu/index.js +45 -45
  128. package/dist/components/fy-input/index.js +61 -61
  129. package/dist/components/fy-input-color/index.js +41 -41
  130. package/dist/components/fy-input-icon/index.js +70 -70
  131. package/dist/components/fy-input-map/index.js +102 -102
  132. package/dist/components/fy-input-number/index.js +39 -39
  133. package/dist/components/fy-input-table/index.js +70 -70
  134. package/dist/components/fy-input-tree/index.js +105 -105
  135. package/dist/components/fy-progress/index.js +25 -25
  136. package/dist/components/fy-radio/index.js +36 -36
  137. package/dist/components/fy-rate/index.js +40 -40
  138. package/dist/components/fy-select/index.js +101 -101
  139. package/dist/components/fy-slider/index.js +42 -42
  140. package/dist/components/fy-switch/index.js +37 -37
  141. package/dist/components/fy-tabs/index.js +35 -35
  142. package/dist/components/fy-time/index.js +47 -47
  143. package/dist/components/fy-title/index.js +23 -23
  144. package/dist/components/fy-tree/index.js +157 -157
  145. package/dist/components/fy-u-editor/index.js +138 -105
  146. package/dist/components/fy-upload/index.js +270 -270
  147. package/dist/components/guide-steps/index.js +41 -41
  148. package/dist/components/header-menu/index.js +94 -94
  149. package/dist/components/header-search/index.js +121 -121
  150. package/dist/components/highlight-j-s/index.js +76 -0
  151. package/dist/components/highlight-j-s/style.css +1 -0
  152. package/dist/components/icon-card/index.js +28 -28
  153. package/dist/components/icon-temp/index.js +24 -24
  154. package/dist/components/iframe-window/index.js +24 -24
  155. package/dist/components/iframe-window/style.css +1 -1
  156. package/dist/components/image-cropper/index.js +128 -119
  157. package/dist/components/image-preview/index.js +140 -130
  158. package/dist/components/image-viewer/index.js +35 -35
  159. package/dist/components/input-number/index.js +116 -116
  160. package/dist/components/input-number-range/index.js +37 -37
  161. package/dist/components/j-s-x-component/index.js +4 -4
  162. package/dist/components/keep-view-alive/index.js +71 -71
  163. package/dist/components/keyboard/index.js +182 -182
  164. package/dist/components/keyboard/style.css +1 -1
  165. package/dist/components/license/index.js +54 -54
  166. package/dist/components/loading-view/index.js +25 -25
  167. package/dist/components/login/index.js +94 -94
  168. package/dist/components/name-avatar/index.js +26 -26
  169. package/dist/components/nav-bar/index.js +22 -22
  170. package/dist/components/not-implement/index.js +22 -22
  171. package/dist/components/notice/index.js +55 -55
  172. package/dist/components/page/index.js +20 -20
  173. package/dist/components/page-header/index.js +28 -28
  174. package/dist/components/page-index/index.js +86 -62
  175. package/dist/components/page-index-top/index.js +73 -51
  176. package/dist/components/page-skeleton/index.js +28 -28
  177. package/dist/components/page-skeleton-new/index.js +38 -38
  178. package/dist/components/pageable-table/index.js +206 -161
  179. package/dist/components/pageable-table/style.css +1 -1
  180. package/dist/components/pageable-view/index.js +169 -124
  181. package/dist/components/pageable-view/style.css +1 -1
  182. package/dist/components/photo-swipe/index.js +88 -66
  183. package/dist/components/process-designer/index.js +4668 -0
  184. package/dist/components/process-designer/style.css +1 -0
  185. package/dist/components/properties-panel/index.js +4791 -0
  186. package/dist/components/properties-panel/style.css +1 -0
  187. package/dist/components/queue/index.js +24 -24
  188. package/dist/components/record-video/index.js +55 -55
  189. package/dist/components/resize-observer/index.js +26 -26
  190. package/dist/components/search/index.js +64 -64
  191. package/dist/components/search-popover/index.js +119 -99
  192. package/dist/components/sign/index.js +66 -66
  193. package/dist/components/sign-panel/index.js +78 -78
  194. package/dist/components/sign-panel/style.css +1 -1
  195. package/dist/components/skeleton/index.js +35 -35
  196. package/dist/components/split-pane/index.js +108 -90
  197. package/dist/components/stateful/index.js +29 -29
  198. package/dist/components/static-pageable-table/index.js +30 -30
  199. package/dist/components/swiper/index.js +93 -73
  200. package/dist/components/tab/index.js +47 -47
  201. package/dist/components/tab-item/index.js +29 -29
  202. package/dist/components/table-column/index.js +37 -27
  203. package/dist/components/table-page/index.js +51 -51
  204. package/dist/components/table-view/index.js +175 -148
  205. package/dist/components/tag-render/index.js +50 -39
  206. package/dist/components/text-ellipsis/index.js +40 -40
  207. package/dist/components/tinymce-editor/index.js +85 -67
  208. package/dist/components/tinymce-wrapper/index.js +88 -78
  209. package/dist/components/toolbar/index.js +52 -52
  210. package/dist/components/toolbar-button/index.js +56 -38
  211. package/dist/components/trigger/index.js +27 -27
  212. package/dist/components/verify/index.js +33 -33
  213. package/dist/components/vue-tags-input/index.js +137 -137
  214. package/dist/components/watermark/index.js +37 -27
  215. package/dist/components/watermark/style.css +1 -1
  216. package/dist/index.css +1983 -228
  217. package/dist/index.es.js +23132 -12684
  218. package/package.json +18 -6
  219. package/web-types.json +307 -1
  220. package/dist/chunks/AfdColumn.vue_vue_type_template_lang.768f2ed2.js +0 -302
  221. package/dist/chunks/ConfigArray.vue_vue_type_template_lang.66483daa.js +0 -51
  222. package/dist/chunks/ConfigColor.vue_vue_type_template_lang.cd880091.js +0 -24
  223. package/dist/chunks/ConfigCustom.vue_vue_type_template_lang.6e03d7fd.js +0 -52
  224. package/dist/chunks/ConfigDate.vue_vue_type_template_lang.116fbad4.js +0 -104
  225. package/dist/chunks/ConfigDynamic.vue_vue_type_template_lang.99082e47.js +0 -133
  226. package/dist/chunks/ConfigEvent.vue_vue_type_template_lang.5e8ed6cc.js +0 -96
  227. package/dist/chunks/ConfigGroup.vue_vue_type_template_lang.44117322.js +0 -48
  228. package/dist/chunks/ConfigInput.vue_vue_type_template_lang.cc1eb052.js +0 -96
  229. package/dist/chunks/ConfigMap.vue_vue_type_template_lang.daee4d38.js +0 -31
  230. package/dist/chunks/ConfigNumber.vue_vue_type_template_lang.d60231d7.js +0 -130
  231. package/dist/chunks/ConfigRate.vue_vue_type_style_index_0_scoped_true_lang.cf5d437d.js +0 -125
  232. package/dist/chunks/ConfigSelect.vue_vue_type_template_lang.dfc91f07.js +0 -488
  233. package/dist/chunks/ConfigSlider.vue_vue_type_template_lang.27b8cc7b.js +0 -99
  234. package/dist/chunks/ConfigSwitch.vue_vue_type_style_index_0_scoped_true_lang.4caf1bd0.js +0 -54
  235. package/dist/chunks/ConfigTable.vue_vue_type_template_lang.b27540fd.js +0 -344
  236. package/dist/chunks/ConfigTextarea.vue_vue_type_template_lang.5cddf41c.js +0 -88
  237. package/dist/chunks/ConfigTitle.vue_vue_type_template_lang.57d9deb5.js +0 -87
  238. package/dist/chunks/ConfigTree.vue_vue_type_style_index_0_scoped_true_lang.89ec5376.js +0 -465
  239. package/dist/chunks/ConfigUEditor.vue_vue_type_template_lang.9726b4f5.js +0 -240
  240. package/dist/chunks/ConfigUpload.vue_vue_type_template_lang.129c0ced.js +0 -476
  241. package/dist/chunks/FormConfig.vue_vue_type_template_lang.82463ce5.js +0 -220
  242. package/dist/chunks/WidgetConfig.vue_vue_type_template_lang.3cc74fe8.js +0 -1821
  243. package/dist/chunks/WidgetForm.vue_vue_type_template_lang.d4b05679.js +0 -247
  244. package/dist/chunks/WidgetFormGroup.vue_vue_type_template_lang.bdcb6d37.js +0 -271
  245. package/dist/chunks/WidgetFormItem.vue_vue_type_template_lang.48d55a5c.js +0 -24
  246. package/dist/chunks/WidgetFormTable.vue_vue_type_template_lang.e2b788ba.js +0 -229
  247. package/dist/chunks/confirmable-mixin.3a79781b.js +0 -75
  248. package/dist/chunks/dataformat.65b92bfe.js +0 -158
  249. package/dist/chunks/detail.d67573b1.js +0 -28
  250. package/dist/chunks/dic.70feb9b4.js +0 -135
  251. package/dist/chunks/form-item-mixin.79f6eaff.js +0 -128
  252. package/dist/chunks/init.7c58eb34.js +0 -122
  253. package/dist/chunks/monaco.cefcb9f5.js +0 -290
  254. package/dist/chunks/permission.ce5d2121.js +0 -16
  255. package/dist/chunks/slot.4b391395.js +0 -27
  256. package/dist/chunks/tab-mixin.8c0142e0.js +0 -81
  257. package/dist/chunks/util.23fe58fb.js +0 -261
  258. package/dist/chunks/utils.97652d86.js +0 -26
  259. package/dist/chunks/utils.fa73de78.js +0 -185
  260. package/dist/chunks/vueComponentNormalizer.71e2aa87.js +0 -32
  261. package/dist/components/afd-column/index.js +0 -57
  262. package/dist/components/config-array/index.js +0 -28
  263. package/dist/components/config-color/index.js +0 -28
  264. package/dist/components/config-custom/index.js +0 -62
  265. package/dist/components/config-date/index.js +0 -28
  266. package/dist/components/config-dynamic/index.js +0 -28
  267. package/dist/components/config-event/index.js +0 -74
  268. package/dist/components/config-group/index.js +0 -36
  269. package/dist/components/config-input/index.js +0 -29
  270. package/dist/components/config-map/index.js +0 -28
  271. package/dist/components/config-number/index.js +0 -28
  272. package/dist/components/config-rate/index.js +0 -71
  273. package/dist/components/config-rate/style.css +0 -1
  274. package/dist/components/config-select/index.js +0 -90
  275. package/dist/components/config-slider/index.js +0 -28
  276. package/dist/components/config-switch/index.js +0 -33
  277. package/dist/components/config-switch/style.css +0 -1
  278. package/dist/components/config-table/index.js +0 -122
  279. package/dist/components/config-textarea/index.js +0 -28
  280. package/dist/components/config-title/index.js +0 -33
  281. package/dist/components/config-tree/index.js +0 -122
  282. package/dist/components/config-tree/style.css +0 -1
  283. package/dist/components/config-u-editor/index.js +0 -34
  284. package/dist/components/config-upload/index.js +0 -58
  285. package/dist/components/form-config/index.js +0 -28
  286. package/dist/components/widget-config/index.js +0 -110
  287. package/dist/components/widget-form/index.js +0 -71
  288. package/dist/components/widget-form-group/index.js +0 -96
  289. package/dist/components/widget-form-item/index.js +0 -71
  290. package/dist/components/widget-form-table/index.js +0 -95
@@ -1,476 +0,0 @@
1
- var s = function() {
2
- var a = this, e = a.$createElement, t = a._self._c || e;
3
- return t("div", [a.data.oss ? a._e() : t("ElFormItem", {
4
- attrs: {
5
- label: "上传地址"
6
- }
7
- }, [t("ElInput", {
8
- attrs: {
9
- clearable: "",
10
- placeholder: "上传地址"
11
- },
12
- model: {
13
- value: a.data.action,
14
- callback: function(l) {
15
- a.$set(a.data, "action", l);
16
- },
17
- expression: "data.action"
18
- }
19
- })], 1), a.data.oss ? a._e() : t("ElFormItem", {
20
- attrs: {
21
- label: "接受文件类型",
22
- "label-width": "110px"
23
- }
24
- }, [t("ElInput", {
25
- attrs: {
26
- clearable: "",
27
- placeholder: "接受文件类型,如:image/png,image/jpg"
28
- },
29
- model: {
30
- value: a.data.accept,
31
- callback: function(l) {
32
- a.$set(a.data, "accept", l);
33
- },
34
- expression: "data.accept"
35
- }
36
- })], 1), t("ElFormItem", {
37
- attrs: {
38
- label: "OSS"
39
- },
40
- scopedSlots: a._u([{
41
- key: "label",
42
- fn: function() {
43
- return [t("ElLink", {
44
- attrs: {
45
- underline: !1,
46
- href: "https://avuejs.com/form/form-upload.html#%E9%98%BF%E9%87%8C%E4%BA%91oss%E4%B8%8A%E4%BC%A0",
47
- target: "_blank"
48
- }
49
- }, [a._v(" OSS "), t("i", {
50
- staticClass: "el-icon-question"
51
- })])];
52
- },
53
- proxy: !0
54
- }])
55
- }, [t("ElSelect", {
56
- staticStyle: {
57
- width: "100%"
58
- },
59
- attrs: {
60
- placeholder: "oss不写则为普通上传",
61
- clearable: ""
62
- },
63
- model: {
64
- value: a.data.oss,
65
- callback: function(l) {
66
- a.$set(a.data, "oss", l);
67
- },
68
- expression: "data.oss"
69
- }
70
- }, [t("ElOption", {
71
- attrs: {
72
- label: "阿里",
73
- value: "ali"
74
- }
75
- }), t("ElOption", {
76
- attrs: {
77
- label: "七牛",
78
- value: "qiniu"
79
- }
80
- })], 1)], 1), t("ElFormItem", {
81
- attrs: {
82
- label: "拖拽上传",
83
- "label-width": "110px"
84
- }
85
- }, [t("ElSwitch", {
86
- model: {
87
- value: a.data.dragFile,
88
- callback: function(l) {
89
- a.$set(a.data, "dragFile", l);
90
- },
91
- expression: "data.dragFile"
92
- }
93
- })], 1), a.data.dragFile ? a._e() : t("ElFormItem", {
94
- attrs: {
95
- label: "文件列表类型",
96
- "label-width": "110px"
97
- }
98
- }, [t("ElSelect", {
99
- attrs: {
100
- placeholder: "文件列表类型",
101
- clearable: ""
102
- },
103
- model: {
104
- value: a.data.listType,
105
- callback: function(l) {
106
- a.$set(a.data, "listType", l);
107
- },
108
- expression: "data.listType"
109
- }
110
- }, [t("ElOption", {
111
- attrs: {
112
- label: "附件",
113
- value: "text"
114
- }
115
- }), t("ElOption", {
116
- attrs: {
117
- label: "照片墙",
118
- value: "picture-card"
119
- }
120
- }), t("ElOption", {
121
- attrs: {
122
- label: "头像",
123
- value: "picture-img"
124
- }
125
- }), t("ElOption", {
126
- attrs: {
127
- label: "缩略图",
128
- value: "picture"
129
- }
130
- })], 1)], 1), t("ElFormItem", {
131
- attrs: {
132
- label: "拖拽排序",
133
- "label-width": "110px"
134
- }
135
- }, [t("ElSwitch", {
136
- model: {
137
- value: a.data.drag,
138
- callback: function(l) {
139
- a.$set(a.data, "drag", l);
140
- },
141
- expression: "data.drag"
142
- }
143
- })], 1), t("div", {
144
- staticClass: "el-form-item el-form-item--small el-form--label-top"
145
- }, [t("label", {
146
- staticClass: "el-form-item__label",
147
- staticStyle: {
148
- padding: "0"
149
- }
150
- }, [a._v("参数设置:")]), t("div", {
151
- staticClass: "el-form-item__content"
152
- }, [a._v(" 请求头 "), t("FyDynamic", {
153
- attrs: {
154
- children: a.option
155
- },
156
- model: {
157
- value: a.data.headersConfig,
158
- callback: function(l) {
159
- a.$set(a.data, "headersConfig", l);
160
- },
161
- expression: "data.headersConfig"
162
- }
163
- }), a._v(" 请求体 "), t("FyDynamic", {
164
- attrs: {
165
- children: a.option
166
- },
167
- model: {
168
- value: a.data.dataConfig,
169
- callback: function(l) {
170
- a.$set(a.data, "dataConfig", l);
171
- },
172
- expression: "data.dataConfig"
173
- }
174
- })], 1)]), t("div", {
175
- staticClass: "el-form-item el-form-item--small el-form--label-top"
176
- }, [t("label", {
177
- staticClass: "el-form-item__label",
178
- staticStyle: {
179
- padding: "0"
180
- }
181
- }, [t("ElLink", {
182
- attrs: {
183
- underline: !1,
184
- href: "https://avuejs.com/form/form-upload.html",
185
- target: "_blank"
186
- }
187
- }, [a._v("上传参数设置 "), t("i", {
188
- staticClass: "el-icon-question"
189
- })])], 1), t("div", {
190
- staticClass: "el-form-item__content"
191
- }, [a._v(" 上传成功返回结构体的图片地址 "), t("ElInput", {
192
- attrs: {
193
- size: "small",
194
- placeholder: "上传成功返回结构体的图片地址"
195
- },
196
- model: {
197
- value: a.data.propsHttp.url,
198
- callback: function(l) {
199
- a.$set(a.data.propsHttp, "url", l);
200
- },
201
- expression: "data.propsHttp.url"
202
- }
203
- }), a._v(" 上传成功返回结构体的图片的姓名 "), t("ElInput", {
204
- attrs: {
205
- size: "small",
206
- placeholder: "上传成功返回结构体的图片的姓名"
207
- },
208
- model: {
209
- value: a.data.propsHttp.name,
210
- callback: function(l) {
211
- a.$set(a.data.propsHttp, "name", l);
212
- },
213
- expression: "data.propsHttp.name"
214
- }
215
- }), a._v(" 返回结构体的层次 "), t("ElInput", {
216
- attrs: {
217
- size: "small",
218
- placeholder: "返回结构体的层次"
219
- },
220
- model: {
221
- value: a.data.propsHttp.res,
222
- callback: function(l) {
223
- a.$set(a.data.propsHttp, "res", l);
224
- },
225
- expression: "data.propsHttp.res"
226
- }
227
- }), a._v(" 文件名称 "), t("ElInput", {
228
- attrs: {
229
- size: "small",
230
- placeholder: "文件名称,默认file"
231
- },
232
- model: {
233
- value: a.data.propsHttp.fileName,
234
- callback: function(l) {
235
- a.$set(a.data.propsHttp, "fileName", l);
236
- },
237
- expression: "data.propsHttp.fileName"
238
- }
239
- })], 1)]), t("ElFormItem", {
240
- attrs: {
241
- label: "是否显示已上传文件列表",
242
- "label-width": "180px"
243
- }
244
- }, [t("ElSwitch", {
245
- model: {
246
- value: a.data.showFileList,
247
- callback: function(l) {
248
- a.$set(a.data, "showFileList", l);
249
- },
250
- expression: "data.showFileList"
251
- }
252
- })], 1), t("ElFormItem", {
253
- attrs: {
254
- label: "文件大小"
255
- }
256
- }, [t("ElInputNumber", {
257
- staticStyle: {
258
- width: "100%"
259
- },
260
- attrs: {
261
- "controls-position": "right",
262
- placeholder: "文件大小限制(字节)",
263
- min: 0
264
- },
265
- model: {
266
- value: a.data.fileSize,
267
- callback: function(l) {
268
- a.$set(a.data, "fileSize", l);
269
- },
270
- expression: "data.fileSize"
271
- }
272
- })], 1), t("ElFormItem", {
273
- attrs: {
274
- label: "上传限制提示",
275
- "label-width": "110px"
276
- }
277
- }, [t("ElInput", {
278
- attrs: {
279
- clearable: "",
280
- placeholder: "上传限制提示"
281
- },
282
- model: {
283
- value: a.data.tip,
284
- callback: function(l) {
285
- a.$set(a.data, "tip", l);
286
- },
287
- expression: "data.tip"
288
- }
289
- })], 1), t("ElFormItem", {
290
- attrs: {
291
- label: "上传中提示",
292
- "label-width": "110px"
293
- }
294
- }, [t("ElInput", {
295
- attrs: {
296
- clearable: "",
297
- placeholder: "上传中提示"
298
- },
299
- model: {
300
- value: a.data.loadText,
301
- callback: function(l) {
302
- a.$set(a.data, "loadText", l);
303
- },
304
- expression: "data.loadText"
305
- }
306
- })], 1), t("ElFormItem", {
307
- attrs: {
308
- label: "是否多文件上传",
309
- "label-width": "130px"
310
- }
311
- }, [t("ElSwitch", {
312
- model: {
313
- value: a.data.multiple,
314
- callback: function(l) {
315
- a.$set(a.data, "multiple", l);
316
- },
317
- expression: "data.multiple"
318
- }
319
- })], 1), a.data.multiple ? t("ElFormItem", {
320
- attrs: {
321
- label: "多文件数量限制",
322
- "label-width": "130px"
323
- }
324
- }, [t("ElInputNumber", {
325
- staticStyle: {
326
- width: "100%"
327
- },
328
- attrs: {
329
- "controls-position": "right",
330
- placeholder: "多文件上传数量限制",
331
- min: 1
332
- },
333
- model: {
334
- value: a.data.limit,
335
- callback: function(l) {
336
- a.$set(a.data, "limit", l);
337
- },
338
- expression: "data.limit"
339
- }
340
- })], 1) : a._e(), t("ElFormItem", {
341
- attrs: {
342
- label: "水印配置,开启后只能上传图片",
343
- "label-width": "230px"
344
- }
345
- }, [t("ElSwitch", {
346
- model: {
347
- value: a.data.showCanvas,
348
- callback: function(l) {
349
- a.$set(a.data, "showCanvas", l);
350
- },
351
- expression: "data.showCanvas"
352
- }
353
- })], 1), a.data.canvasOption ? t("div", {
354
- staticClass: "el-form-item el-form-item--small el-form--label-top"
355
- }, [t("label", {
356
- staticClass: "el-form-item__label",
357
- staticStyle: {
358
- padding: "0"
359
- }
360
- }, [a._v("水印设置:")]), t("div", {
361
- staticClass: "el-form-item__content"
362
- }, [a._v(" 水印文字 "), t("ElInput", {
363
- attrs: {
364
- size: "small",
365
- clearable: "",
366
- placeholder: "水印文字"
367
- },
368
- model: {
369
- value: a.data.canvasOption.text,
370
- callback: function(l) {
371
- a.$set(a.data.canvasOption, "text", l);
372
- },
373
- expression: "data.canvasOption.text"
374
- }
375
- }), a._v(" 字体类型 "), t("ElInput", {
376
- attrs: {
377
- size: "small",
378
- clearable: "",
379
- placeholder: "字体类型"
380
- },
381
- model: {
382
- value: a.data.canvasOption.fontFamily,
383
- callback: function(l) {
384
- a.$set(a.data.canvasOption, "fontFamily", l);
385
- },
386
- expression: "data.canvasOption.fontFamily"
387
- }
388
- }), a._v(" 字体颜色 "), t("FyInputColor", {
389
- attrs: {
390
- size: "small",
391
- placeholder: "字体颜色"
392
- },
393
- model: {
394
- value: a.data.canvasOption.color,
395
- callback: function(l) {
396
- a.$set(a.data.canvasOption, "color", l);
397
- },
398
- expression: "data.canvasOption.color"
399
- }
400
- }), a._v(" 字体大小 "), t("ElInputNumber", {
401
- attrs: {
402
- size: "small",
403
- "controls-position": "right",
404
- placeholder: "字体大小"
405
- },
406
- model: {
407
- value: a.data.canvasOption.fontSize,
408
- callback: function(l) {
409
- a.$set(a.data.canvasOption, "fontSize", l);
410
- },
411
- expression: "data.canvasOption.fontSize"
412
- }
413
- }), a._v(" 文字的透明度 "), t("ElInputNumber", {
414
- attrs: {
415
- size: "small",
416
- "controls-position": "right",
417
- placeholder: "文字的透明度",
418
- step: 10,
419
- min: 10,
420
- max: 100
421
- },
422
- model: {
423
- value: a.data.canvasOption.opacity,
424
- callback: function(l) {
425
- a.$set(a.data.canvasOption, "opacity", l);
426
- },
427
- expression: "data.canvasOption.opacity"
428
- }
429
- }), a._v(" 文字距离图片底部的距离"), t("br"), t("ElInputNumber", {
430
- attrs: {
431
- "controls-position": "right",
432
- placeholder: "文字距离图片底部的距离",
433
- size: "small"
434
- },
435
- model: {
436
- value: a.data.canvasOption.bottom,
437
- callback: function(l) {
438
- a.$set(a.data.canvasOption, "bottom", l);
439
- },
440
- expression: "data.canvasOption.bottom"
441
- }
442
- }), a._v(" 文字距离图片右边的距离"), t("br"), t("ElInputNumber", {
443
- attrs: {
444
- "controls-position": "right",
445
- placeholder: "文字距离图片右边的距离",
446
- size: "small"
447
- },
448
- model: {
449
- value: a.data.canvasOption.right,
450
- callback: function(l) {
451
- a.$set(a.data.canvasOption, "right", l);
452
- },
453
- expression: "data.canvasOption.right"
454
- }
455
- }), a._v(" 压缩图片比率"), t("br"), t("ElInputNumber", {
456
- attrs: {
457
- "controls-position": "right",
458
- placeholder: "压缩图片比率",
459
- step: 0.1,
460
- min: 0,
461
- max: 1,
462
- size: "small"
463
- },
464
- model: {
465
- value: a.data.canvasOption.ratio,
466
- callback: function(l) {
467
- a.$set(a.data.canvasOption, "ratio", l);
468
- },
469
- expression: "data.canvasOption.ratio"
470
- }
471
- })], 1)]) : a._e()], 1);
472
- }, o = [];
473
- export {
474
- s as r,
475
- o as s
476
- };
@@ -1,220 +0,0 @@
1
- var s = function() {
2
- var t = this, l = t.$createElement, a = t._self._c || l;
3
- return a("div", {
4
- staticClass: "form-config-container"
5
- }, [a("ElForm", {
6
- attrs: {
7
- "label-position": "left",
8
- "label-suffix": ":",
9
- "label-width": "130px",
10
- size: "small"
11
- }
12
- }, [a("ElFormItem", {
13
- attrs: {
14
- label: "标签对齐方式"
15
- }
16
- }, [a("ElSelect", {
17
- attrs: {
18
- placeholder: "标签对齐方式"
19
- },
20
- model: {
21
- value: t.data.labelPosition,
22
- callback: function(e) {
23
- t.$set(t.data, "labelPosition", e);
24
- },
25
- expression: "data.labelPosition"
26
- }
27
- }, [a("ElOption", {
28
- attrs: {
29
- label: "左对齐",
30
- value: "left"
31
- }
32
- }), a("ElOption", {
33
- attrs: {
34
- label: "右对齐",
35
- value: "right"
36
- }
37
- }), a("ElOption", {
38
- attrs: {
39
- label: "顶部对齐",
40
- value: "top"
41
- }
42
- })], 1)], 1), a("ElFormItem", {
43
- attrs: {
44
- label: "标签宽度"
45
- }
46
- }, [a("ElInputNumber", {
47
- staticStyle: {
48
- width: "100%"
49
- },
50
- attrs: {
51
- min: 80,
52
- max: 200,
53
- step: 10,
54
- "controls-position": "right",
55
- placeholder: "标签宽度"
56
- },
57
- model: {
58
- value: t.data.labelWidth,
59
- callback: function(e) {
60
- t.$set(t.data, "labelWidth", e);
61
- },
62
- expression: "data.labelWidth"
63
- }
64
- })], 1), a("ElFormItem", {
65
- attrs: {
66
- label: "标签后缀"
67
- }
68
- }, [a("ElInput", {
69
- attrs: {
70
- placeholder: "标签后缀"
71
- },
72
- model: {
73
- value: t.data.labelSuffix,
74
- callback: function(e) {
75
- t.$set(t.data, "labelSuffix", e);
76
- },
77
- expression: "data.labelSuffix"
78
- }
79
- })], 1), a("ElFormItem", {
80
- attrs: {
81
- label: "项之间的间隔"
82
- }
83
- }, [a("ElInputNumber", {
84
- staticStyle: {
85
- width: "100%"
86
- },
87
- attrs: {
88
- min: 0,
89
- max: 60,
90
- step: 5,
91
- "controls-position": "right",
92
- placeholder: "项之间的间隔"
93
- },
94
- model: {
95
- value: t.data.gutter,
96
- callback: function(e) {
97
- t.$set(t.data, "gutter", e);
98
- },
99
- expression: "data.gutter"
100
- }
101
- })], 1), a("ElFormItem", {
102
- attrs: {
103
- label: "多分组转标签"
104
- }
105
- }, [a("ElSwitch", {
106
- model: {
107
- value: t.data.tabs,
108
- callback: function(e) {
109
- t.$set(t.data, "tabs", e);
110
- },
111
- expression: "data.tabs"
112
- }
113
- })], 1), a("ElFormItem", {
114
- attrs: {
115
- label: "详情模式"
116
- }
117
- }, [a("ElSwitch", {
118
- model: {
119
- value: t.data.detail,
120
- callback: function(e) {
121
- t.$set(t.data, "detail", e);
122
- },
123
- expression: "data.detail"
124
- }
125
- })], 1), a("ElFormItem", {
126
- attrs: {
127
- label: "显示按钮"
128
- }
129
- }, [a("ElSwitch", {
130
- model: {
131
- value: t.data.menuBtn,
132
- callback: function(e) {
133
- t.$set(t.data, "menuBtn", e);
134
- },
135
- expression: "data.menuBtn"
136
- }
137
- })], 1), t.data.menuBtn ? a("ElFormItem", {
138
- attrs: {
139
- label: "显示提交按钮"
140
- }
141
- }, [a("ElSwitch", {
142
- model: {
143
- value: t.data.submitBtn,
144
- callback: function(e) {
145
- t.$set(t.data, "submitBtn", e);
146
- },
147
- expression: "data.submitBtn"
148
- }
149
- })], 1) : t._e(), t.data.menuBtn && t.data.submitBtn ? a("ElFormItem", {
150
- attrs: {
151
- label: "提交按钮的文字"
152
- }
153
- }, [a("ElInput", {
154
- attrs: {
155
- placeholder: "提交按钮的文字"
156
- },
157
- model: {
158
- value: t.data.submitText,
159
- callback: function(e) {
160
- t.$set(t.data, "submitText", e);
161
- },
162
- expression: "data.submitText"
163
- }
164
- })], 1) : t._e(), t.data.menuBtn ? a("ElFormItem", {
165
- attrs: {
166
- label: "显示清空按钮"
167
- }
168
- }, [a("ElSwitch", {
169
- model: {
170
- value: t.data.emptyBtn,
171
- callback: function(e) {
172
- t.$set(t.data, "emptyBtn", e);
173
- },
174
- expression: "data.emptyBtn"
175
- }
176
- })], 1) : t._e(), t.data.menuBtn && t.data.emptyBtn ? a("ElFormItem", {
177
- attrs: {
178
- label: "清空按钮的文字"
179
- }
180
- }, [a("ElInput", {
181
- attrs: {
182
- placeholder: "提交按钮的文字"
183
- },
184
- model: {
185
- value: t.data.emptyText,
186
- callback: function(e) {
187
- t.$set(t.data, "emptyText", e);
188
- },
189
- expression: "data.emptyText"
190
- }
191
- })], 1) : t._e(), a("ElFormItem", {
192
- attrs: {
193
- label: "全局只读"
194
- }
195
- }, [a("ElSwitch", {
196
- model: {
197
- value: t.data.readonly,
198
- callback: function(e) {
199
- t.$set(t.data, "readonly", e);
200
- },
201
- expression: "data.readonly"
202
- }
203
- })], 1), a("ElFormItem", {
204
- attrs: {
205
- label: "全局禁用"
206
- }
207
- }, [a("ElSwitch", {
208
- model: {
209
- value: t.data.disabled,
210
- callback: function(e) {
211
- t.$set(t.data, "disabled", e);
212
- },
213
- expression: "data.disabled"
214
- }
215
- })], 1)], 1)], 1);
216
- }, n = [];
217
- export {
218
- s as r,
219
- n as s
220
- };