@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,488 +0,0 @@
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
- scopedSlots: a._u([{
276
- key: "label",
277
- fn: function() {
278
- return [t("ElLink", {
279
- attrs: {
280
- underline: !1,
281
- href: "https://avuejs.com/form/form-select.html#%E6%8B%96%E6%8B%BD",
282
- target: "_blank"
283
- }
284
- }, [a._v(" 是否可拖拽 "), t("i", {
285
- staticClass: "el-icon-question"
286
- })])];
287
- },
288
- proxy: !0
289
- }], null, !1, 2120444940)
290
- }, [t("ElSwitch", {
291
- model: {
292
- value: a.data.drag,
293
- callback: function(e) {
294
- a.$set(a.data, "drag", e);
295
- },
296
- expression: "data.drag"
297
- }
298
- })], 1) : a._e(), a.data.multiple ? t("ElFormItem", {
299
- attrs: {
300
- label: "多选数量限制",
301
- "label-width": "110px"
302
- }
303
- }, [t("ElInputNumber", {
304
- attrs: {
305
- "controls-position": "right",
306
- placeholder: "多选限制",
307
- min: 0,
308
- max: a.data.dicData.length
309
- },
310
- model: {
311
- value: a.data.limit,
312
- callback: function(e) {
313
- a.$set(a.data, "limit", e);
314
- },
315
- expression: "data.limit"
316
- }
317
- })], 1) : a._e(), t("div", {
318
- staticClass: "el-form-item el-form-item--small el-form--label-top"
319
- }, [t("label", {
320
- staticClass: "el-form-item__label",
321
- staticStyle: {
322
- padding: "0"
323
- }
324
- }, [a._v("级联配置:")]), t("div", {
325
- staticClass: "el-form-item__content"
326
- }, [t("Draggable", {
327
- attrs: {
328
- tag: "ul",
329
- list: a.data.cascaderItem || a.data.cascader,
330
- group: {
331
- name: "cascaderItem"
332
- },
333
- "ghost-class": "ghost",
334
- handle: ".drag-item"
335
- }
336
- }, a._l(a.data.cascaderItem || a.data.cascader, function(e, l) {
337
- return t("li", {
338
- key: l
339
- }, [t("i", {
340
- staticClass: "drag-item el-icon-s-operation",
341
- staticStyle: {
342
- "font-size": "16px",
343
- margin: "0 5px",
344
- cursor: "move"
345
- }
346
- }), t("ElInput", {
347
- attrs: {
348
- size: "mini",
349
- clearable: "",
350
- placeholder: "级联属性值"
351
- },
352
- model: {
353
- value: a.data.cascader[l],
354
- callback: function(i) {
355
- a.$set(a.data.cascader, l, i);
356
- },
357
- expression: "data.cascader[index]"
358
- }
359
- }), t("ElButton", {
360
- staticStyle: {
361
- padding: "4px",
362
- "margin-left": "5px"
363
- },
364
- attrs: {
365
- circle: "",
366
- plain: "",
367
- type: "danger",
368
- size: "mini",
369
- icon: "el-icon-minus"
370
- },
371
- on: {
372
- click: function(i) {
373
- return a.handleRemoveCascaderItemFields(l);
374
- }
375
- }
376
- })], 1);
377
- }), 0), t("div", {
378
- staticStyle: {
379
- "margin-left": "22px"
380
- }
381
- }, [t("ElButton", {
382
- attrs: {
383
- type: "text"
384
- },
385
- on: {
386
- click: a.handleAddCascaderItemFields
387
- }
388
- }, [a._v(" 添加列 ")])], 1)], 1)]), (a.data.cascaderItem || a.data.cascader) && (a.data.cascaderItem || a.data.cascader).length > 0 ? t("ElFormItem", {
389
- attrs: {
390
- label: "级联默认选中",
391
- "label-width": "110px"
392
- }
393
- }, [t("ElInputNumber", {
394
- attrs: {
395
- "controls-position": "right",
396
- placeholder: "级联默认选中",
397
- min: 0
398
- },
399
- model: {
400
- value: a.data.cascaderIndex,
401
- callback: function(e) {
402
- a.$set(a.data, "cascaderIndex", e);
403
- },
404
- expression: "data.cascaderIndex"
405
- }
406
- })], 1) : a._e(), t("ElFormItem", {
407
- attrs: {
408
- label: "是否可清空",
409
- "label-width": "110px"
410
- }
411
- }, [t("ElSwitch", {
412
- model: {
413
- value: a.data.clearable,
414
- callback: function(e) {
415
- a.$set(a.data, "clearable", e);
416
- },
417
- expression: "data.clearable"
418
- }
419
- })], 1), t("ElFormItem", {
420
- attrs: {
421
- label: "是否可搜索",
422
- "label-width": "110px"
423
- }
424
- }, [t("ElSwitch", {
425
- model: {
426
- value: a.data.filterable,
427
- callback: function(e) {
428
- a.$set(a.data, "filterable", e);
429
- },
430
- expression: "data.filterable"
431
- }
432
- })], 1)] : a._e(), ["radio", "checkbox"].includes(a.data.type) ? [a.data.button ? a._e() : t("ElFormItem", {
433
- attrs: {
434
- label: "边框"
435
- }
436
- }, [t("ElSwitch", {
437
- model: {
438
- value: a.data.border,
439
- callback: function(e) {
440
- a.$set(a.data, "border", e);
441
- },
442
- expression: "data.border"
443
- }
444
- })], 1), a.data.border ? a._e() : t("ElFormItem", {
445
- attrs: {
446
- label: "按钮"
447
- }
448
- }, [t("ElSwitch", {
449
- model: {
450
- value: a.data.button,
451
- callback: function(e) {
452
- a.$set(a.data, "button", e);
453
- },
454
- expression: "data.button"
455
- }
456
- })], 1)] : a._e(), a.data.border || a.data.button ? t("ElFormItem", {
457
- attrs: {
458
- label: "尺寸"
459
- }
460
- }, [t("ElRadioGroup", {
461
- attrs: {
462
- size: "mini"
463
- },
464
- model: {
465
- value: a.data.size,
466
- callback: function(e) {
467
- a.$set(a.data, "size", e);
468
- },
469
- expression: "data.size"
470
- }
471
- }, [t("ElRadioButton", {
472
- attrs: {
473
- label: "medium"
474
- }
475
- }, [a._v(" 正常 ")]), t("ElRadioButton", {
476
- attrs: {
477
- label: "small"
478
- }
479
- }, [a._v(" 小 ")]), t("ElRadioButton", {
480
- attrs: {
481
- label: "mini"
482
- }
483
- }, [a._v(" 超小 ")])], 1)], 1) : a._e()], 2);
484
- }, r = [];
485
- export {
486
- c as r,
487
- r as s
488
- };
@@ -1,99 +0,0 @@
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
- };
@@ -1,54 +0,0 @@
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
- };