@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,1821 +0,0 @@
1
- import { M as MonacoEditor } from "./monaco.cefcb9f5.js";
2
- import { s as staticRenderFns$1, r as render$1 } from "./ConfigCustom.vue_vue_type_template_lang.6e03d7fd.js";
3
- import { n as normalizeComponent } from "./vueComponentNormalizer.71e2aa87.js";
4
- import { s as staticRenderFns$2, r as render$2 } from "./ConfigInput.vue_vue_type_template_lang.cc1eb052.js";
5
- import { s as staticRenderFns$3, r as render$3 } from "./ConfigTextarea.vue_vue_type_template_lang.5cddf41c.js";
6
- import { s as staticRenderFns$4, r as render$4 } from "./ConfigNumber.vue_vue_type_template_lang.d60231d7.js";
7
- import { s as staticRenderFns$5, r as render$5 } from "./ConfigDynamic.vue_vue_type_template_lang.99082e47.js";
8
- import { s as staticRenderFns$6, r as render$6 } from "./ConfigSwitch.vue_vue_type_style_index_0_scoped_true_lang.4caf1bd0.js";
9
- import { s as staticRenderFns$7, r as render$7 } from "./ConfigRate.vue_vue_type_style_index_0_scoped_true_lang.cf5d437d.js";
10
- import { s as staticRenderFns$8, r as render$8 } from "./ConfigSlider.vue_vue_type_template_lang.27b8cc7b.js";
11
- import { s as staticRenderFns$9, r as render$9 } from "./ConfigColor.vue_vue_type_template_lang.cd880091.js";
12
- import Draggable from "vuedraggable";
13
- import { s as staticRenderFns$a, r as render$a } from "./ConfigSelect.vue_vue_type_template_lang.dfc91f07.js";
14
- import { s as staticRenderFns$b, r as render$b } from "./ConfigTree.vue_vue_type_style_index_0_scoped_true_lang.89ec5376.js";
15
- import { s as staticRenderFns$c, r as render$c } from "./ConfigDate.vue_vue_type_template_lang.116fbad4.js";
16
- import { s as staticRenderFns$d, r as render$d } from "./ConfigUpload.vue_vue_type_template_lang.129c0ced.js";
17
- import { s as staticRenderFns$e, r as render$e } from "./ConfigUEditor.vue_vue_type_template_lang.9726b4f5.js";
18
- import { s as staticRenderFns$f, r as render$f } from "./ConfigMap.vue_vue_type_template_lang.daee4d38.js";
19
- import { s as staticRenderFns$g, r as render$g } from "./ConfigGroup.vue_vue_type_template_lang.44117322.js";
20
- import { s as staticRenderFns$h, r as render$h } from "./ConfigArray.vue_vue_type_template_lang.66483daa.js";
21
- import { s as staticRenderFns$i, r as render$i } from "./ConfigTitle.vue_vue_type_template_lang.57d9deb5.js";
22
- import { s as staticRenderFns$j, r as render$j } from "./ConfigEvent.vue_vue_type_template_lang.5e8ed6cc.js";
23
- import { s as staticRenderFns$k, r as render$k, A as AfdColumn } from "./ConfigTable.vue_vue_type_template_lang.b27540fd.js";
24
- const fields = [
25
- {
26
- title: "布局字段",
27
- list: [{
28
- type: "group",
29
- label: "分组",
30
- icon: "icon-group",
31
- display: !0,
32
- arrow: !1,
33
- collapse: !0,
34
- children: {
35
- column: []
36
- }
37
- }, {
38
- type: "dynamic",
39
- label: "子表单",
40
- icon: "icon-table",
41
- span: 24,
42
- display: !0,
43
- children: {
44
- align: "center",
45
- headerAlign: "center",
46
- index: !1,
47
- addBtn: !0,
48
- delBtn: !0,
49
- column: []
50
- }
51
- }, {
52
- type: "title",
53
- icon: "icon-title",
54
- span: 24,
55
- display: !0,
56
- styles: {
57
- fontSize: "18px",
58
- color: "#000"
59
- },
60
- label: "标题",
61
- labelWidth: "0px",
62
- value: "标题"
63
- }]
64
- },
65
- {
66
- title: "输入字段",
67
- list: [{
68
- type: "input",
69
- label: "单行文本",
70
- icon: "icon-input",
71
- span: 24,
72
- display: !0
73
- }, {
74
- type: "password",
75
- label: "密码",
76
- icon: "icon-password",
77
- span: 24,
78
- display: !0
79
- }, {
80
- type: "textarea",
81
- label: "多行文本",
82
- icon: "icon-textarea",
83
- span: 24,
84
- display: !0
85
- }, {
86
- type: "number",
87
- label: "计数器",
88
- icon: "icon-number",
89
- controls: !0,
90
- span: 24,
91
- display: !0
92
- }, {
93
- type: "url",
94
- label: "超链接",
95
- icon: "icon-url",
96
- span: 24,
97
- display: !0
98
- }, {
99
- type: "array",
100
- label: "数组",
101
- icon: "icon-array",
102
- span: 24,
103
- display: !0
104
- }, {
105
- type: "img",
106
- label: "图片",
107
- icon: "icon-img",
108
- span: 24,
109
- display: !0
110
- }, {
111
- type: "map",
112
- component: "fy-input-map",
113
- label: "地图选择器",
114
- icon: "icon-map",
115
- span: 24,
116
- display: !0
117
- }]
118
- },
119
- {
120
- title: "选择字段",
121
- list: [{
122
- type: "radio",
123
- label: "单选框组",
124
- icon: "icon-radio",
125
- dicData: [
126
- { label: "选项一", value: "0" },
127
- { label: "选项二", value: "1" },
128
- { label: "选项三", value: "2" }
129
- ],
130
- span: 24,
131
- display: !0,
132
- dicOption: "static",
133
- props: {
134
- label: "label",
135
- value: "value"
136
- }
137
- }, {
138
- type: "checkbox",
139
- label: "多选框组",
140
- icon: "icon-checkbox",
141
- dicData: [
142
- { label: "选项一", value: "0" },
143
- { label: "选项二", value: "1" },
144
- { label: "选项三", value: "2" }
145
- ],
146
- span: 24,
147
- display: !0,
148
- dicOption: "static",
149
- props: {
150
- label: "label",
151
- value: "value"
152
- }
153
- }, {
154
- type: "select",
155
- label: "下拉选择器",
156
- icon: "icon-select",
157
- dicData: [
158
- { label: "选项一", value: "0" },
159
- { label: "选项二", value: "1" },
160
- { label: "选项三", value: "2" }
161
- ],
162
- // 用于做级联配置
163
- cascaderItem: [],
164
- span: 24,
165
- display: !0,
166
- dicOption: "static",
167
- props: {
168
- label: "label",
169
- value: "value",
170
- desc: "desc"
171
- }
172
- }, {
173
- type: "cascader",
174
- label: "级联选择器",
175
- icon: "icon-link",
176
- span: 24,
177
- display: !0,
178
- dicData: [
179
- {
180
- label: "选项一",
181
- value: 0,
182
- children: [{
183
- label: "选项1-1",
184
- value: 11
185
- }, {
186
- label: "选项1-2",
187
- value: 12
188
- }]
189
- },
190
- { label: "选项二", value: "1" },
191
- { label: "选项三", value: "2" }
192
- ],
193
- cascaderIndex: 1,
194
- // 用于做级联配置
195
- cascaderItem: [],
196
- showAllLevels: !0,
197
- dicOption: "static",
198
- separator: "/",
199
- props: {
200
- label: "label",
201
- value: "value",
202
- desc: "desc"
203
- }
204
- }, {
205
- type: "tree",
206
- label: "树形选择器",
207
- icon: "icon-tree",
208
- span: 24,
209
- display: !0,
210
- dicOption: "static",
211
- dicData: [
212
- {
213
- label: "选项一",
214
- value: 0,
215
- children: [{
216
- label: "选项1-1",
217
- value: "11"
218
- }, {
219
- label: "选项1-2",
220
- value: "12"
221
- }]
222
- },
223
- { label: "选项二", value: "1" },
224
- { label: "选项三", value: "2" }
225
- ],
226
- parent: !0,
227
- // 用于做级联配置
228
- cascaderItem: [],
229
- props: {
230
- label: "label",
231
- value: "value",
232
- desc: "desc"
233
- }
234
- }, {
235
- type: "table",
236
- label: "表格选择器",
237
- icon: "icon-table",
238
- display: !0,
239
- span: 24,
240
- children: {
241
- border: !0,
242
- searchMenuSpan: 6,
243
- searchIcon: !0,
244
- column: [],
245
- props: {
246
- url: "",
247
- method: "get",
248
- rowKey: "id",
249
- needPage: !0,
250
- currentPageKey: "current",
251
- pageSizeKey: "size",
252
- totalKey: "total",
253
- recordsKey: "records",
254
- resKey: "data.data",
255
- auto: !0
256
- }
257
- },
258
- formatter: (t) => t.name,
259
- props: {
260
- label: "name",
261
- value: "id"
262
- }
263
- }]
264
- },
265
- {
266
- title: "上传字段",
267
- list: [{
268
- type: "upload",
269
- label: "上传",
270
- icon: "icon-upload",
271
- span: 24,
272
- display: !0,
273
- showFileList: !0,
274
- multiple: !0,
275
- limit: 10,
276
- // props: {},
277
- propsHttp: {},
278
- headersConfig: [],
279
- dataConfig: []
280
- }]
281
- },
282
- {
283
- title: "日期时间字段",
284
- list: [{
285
- type: "year",
286
- label: "年",
287
- icon: "icon-year",
288
- span: 24,
289
- display: !0,
290
- format: "yyyy",
291
- valueFormat: "yyyy"
292
- }, {
293
- type: "month",
294
- label: "月",
295
- icon: "icon-month",
296
- span: 24,
297
- display: !0,
298
- format: "MM",
299
- valueFormat: "MM"
300
- }, {
301
- type: "week",
302
- label: "周",
303
- icon: "icon-week",
304
- span: 24,
305
- display: !0,
306
- format: "yyyy 第 WW 周"
307
- }, {
308
- type: "date",
309
- label: "日期",
310
- icon: "icon-date",
311
- span: 24,
312
- display: !0,
313
- format: "yyyy-MM-dd",
314
- valueFormat: "yyyy-MM-dd"
315
- }, {
316
- type: "time",
317
- label: "时间",
318
- icon: "icon-time",
319
- span: 24,
320
- display: !0,
321
- format: "HH:mm:ss",
322
- valueFormat: "HH:mm:ss"
323
- }, {
324
- type: "datetime",
325
- label: "日期时间",
326
- icon: "icon-datetime",
327
- span: 24,
328
- display: !0,
329
- format: "yyyy-MM-dd HH:mm:ss",
330
- valueFormat: "yyyy-MM-dd HH:mm:ss"
331
- }, {
332
- type: "daterange",
333
- label: "日期范围",
334
- icon: "icon-date-range",
335
- span: 24,
336
- display: !0,
337
- format: "yyyy-MM-dd",
338
- valueFormat: "yyyy-MM-dd"
339
- }, {
340
- type: "timerange",
341
- label: "时间范围",
342
- icon: "icon-time-range",
343
- span: 24,
344
- display: !0,
345
- format: "HH:mm:ss",
346
- valueFormat: "HH:mm:ss"
347
- }, {
348
- type: "datetimerange",
349
- label: "日期时间范围",
350
- icon: "icon-datetime-range",
351
- span: 24,
352
- display: !0,
353
- format: "yyyy-MM-dd HH:mm:ss",
354
- valueFormat: "yyyy-MM-dd HH:mm:ss"
355
- }]
356
- },
357
- {
358
- title: "插件字段(需单独引入依赖)",
359
- list: [{
360
- type: "u-editor",
361
- component: "fy-u-editor",
362
- label: "富文本",
363
- icon: "icon-richtext",
364
- span: 24,
365
- display: !0,
366
- options: {
367
- action: "",
368
- oss: "",
369
- props: {},
370
- ali: {},
371
- qiniu: {}
372
- }
373
- }]
374
- },
375
- {
376
- title: "其他字段",
377
- list: [{
378
- type: "icon",
379
- label: "图标",
380
- component: "fy-input-icon",
381
- icon: "icon-icon",
382
- span: 24,
383
- display: !0,
384
- params: {
385
- iconList: [{
386
- label: "基本图标",
387
- list: ["el-icon-info", "el-icon-error", "el-icon-error", "el-icon-success", "el-icon-warning", "el-icon-question"]
388
- }, {
389
- label: "方向图标",
390
- list: ["el-icon-info", "el-icon-back", "el-icon-arrow-left", "el-icon-arrow-down", "el-icon-arrow-right", "el-icon-arrow-up"]
391
- }, {
392
- label: "符号图标",
393
- list: ["el-icon-plus", "el-icon-minus", "el-icon-close", "el-icon-check"]
394
- }]
395
- }
396
- }, {
397
- type: "switch",
398
- label: "开关",
399
- icon: "icon-switch",
400
- span: 24,
401
- display: !0,
402
- value: "0",
403
- dicData: [{ label: "", value: "0" }, { label: "", value: "1" }]
404
- }, {
405
- type: "rate",
406
- label: "评价",
407
- icon: "icon-star",
408
- span: 24,
409
- display: !0,
410
- max: 5,
411
- value: 0,
412
- texts: ["极差", "失望", "一般", "满意", "惊喜"],
413
- colors: ["#99A9BF", "#F7BA2A", "#FF9900"]
414
- }, {
415
- type: "slider",
416
- label: "滑块",
417
- icon: "icon-slider",
418
- span: 24,
419
- display: !0,
420
- min: 0,
421
- max: 10
422
- }, {
423
- type: "color",
424
- label: "颜色选择器",
425
- icon: "icon-color",
426
- span: 24,
427
- display: !0
428
- }]
429
- }
430
- ], __vue2_script$j = {
431
- name: "ConfigCustom",
432
- components: { MonacoEditor },
433
- props: {
434
- data: Object
435
- },
436
- data() {
437
- return {
438
- params: this.data.params || {},
439
- event: this.data.event || {},
440
- options: {
441
- fullScreen: !0,
442
- minimap: {
443
- enabled: !1
444
- }
445
- }
446
- };
447
- },
448
- watch: {
449
- "data.params"(t) {
450
- this.params = t || {};
451
- },
452
- "data.event"(t) {
453
- this.event = t || {};
454
- },
455
- params(val) {
456
- try {
457
- this.data.params = eval(`(${val})`);
458
- } catch (t) {
459
- }
460
- },
461
- event(val) {
462
- try {
463
- this.data.event = eval(`(${val})`);
464
- } catch (t) {
465
- }
466
- }
467
- }
468
- }, __cssModules$j = {};
469
- var __component__$j = /* @__PURE__ */ normalizeComponent(
470
- __vue2_script$j,
471
- render$1,
472
- staticRenderFns$1,
473
- !1,
474
- __vue2_injectStyles$j,
475
- null,
476
- null,
477
- null
478
- );
479
- function __vue2_injectStyles$j(t) {
480
- for (let l in __cssModules$j)
481
- this[l] = __cssModules$j[l];
482
- }
483
- const ConfigCustom = /* @__PURE__ */ function() {
484
- return __component__$j.exports;
485
- }(), __vue2_script$i = {
486
- name: "ConfigInput",
487
- props: {
488
- data: Object,
489
- defaultValues: Object
490
- }
491
- }, __cssModules$i = {};
492
- var __component__$i = /* @__PURE__ */ normalizeComponent(
493
- __vue2_script$i,
494
- render$2,
495
- staticRenderFns$2,
496
- !1,
497
- __vue2_injectStyles$i,
498
- null,
499
- null,
500
- null
501
- );
502
- function __vue2_injectStyles$i(t) {
503
- for (let l in __cssModules$i)
504
- this[l] = __cssModules$i[l];
505
- }
506
- const ConfigInput = /* @__PURE__ */ function() {
507
- return __component__$i.exports;
508
- }(), __vue2_script$h = {
509
- name: "ConfigTextarea",
510
- props: {
511
- data: Object
512
- }
513
- }, __cssModules$h = {};
514
- var __component__$h = /* @__PURE__ */ normalizeComponent(
515
- __vue2_script$h,
516
- render$3,
517
- staticRenderFns$3,
518
- !1,
519
- __vue2_injectStyles$h,
520
- null,
521
- null,
522
- null
523
- );
524
- function __vue2_injectStyles$h(t) {
525
- for (let l in __cssModules$h)
526
- this[l] = __cssModules$h[l];
527
- }
528
- const ConfigTextarea = /* @__PURE__ */ function() {
529
- return __component__$h.exports;
530
- }(), __vue2_script$g = {
531
- name: "ConfigNumber",
532
- props: {
533
- data: Object
534
- }
535
- }, __cssModules$g = {};
536
- var __component__$g = /* @__PURE__ */ normalizeComponent(
537
- __vue2_script$g,
538
- render$4,
539
- staticRenderFns$4,
540
- !1,
541
- __vue2_injectStyles$g,
542
- null,
543
- null,
544
- null
545
- );
546
- function __vue2_injectStyles$g(t) {
547
- for (let l in __cssModules$g)
548
- this[l] = __cssModules$g[l];
549
- }
550
- const ConfigNumber = /* @__PURE__ */ function() {
551
- return __component__$g.exports;
552
- }(), __vue2_script$f = {
553
- name: "ConfigDynamic",
554
- props: {
555
- data: Object
556
- }
557
- }, __cssModules$f = {};
558
- var __component__$f = /* @__PURE__ */ normalizeComponent(
559
- __vue2_script$f,
560
- render$5,
561
- staticRenderFns$5,
562
- !1,
563
- __vue2_injectStyles$f,
564
- null,
565
- null,
566
- null
567
- );
568
- function __vue2_injectStyles$f(t) {
569
- for (let l in __cssModules$f)
570
- this[l] = __cssModules$f[l];
571
- }
572
- const ConfigDynamic = /* @__PURE__ */ function() {
573
- return __component__$f.exports;
574
- }(), __vue2_script$e = {
575
- name: "ConfigSwitch",
576
- props: {
577
- data: Object
578
- },
579
- methods: {
580
- handleDicClear() {
581
- this.data.dicData = [{ label: "", value: "0" }, { label: "", value: "1" }];
582
- }
583
- }
584
- }, __cssModules$e = {};
585
- var __component__$e = /* @__PURE__ */ normalizeComponent(
586
- __vue2_script$e,
587
- render$6,
588
- staticRenderFns$6,
589
- !1,
590
- __vue2_injectStyles$e,
591
- "2c9c8280",
592
- null,
593
- null
594
- );
595
- function __vue2_injectStyles$e(t) {
596
- for (let l in __cssModules$e)
597
- this[l] = __cssModules$e[l];
598
- }
599
- const ConfigSwitch = /* @__PURE__ */ function() {
600
- return __component__$e.exports;
601
- }(), __vue2_script$d = {
602
- name: "ConfigRate",
603
- props: {
604
- data: Object
605
- },
606
- data() {
607
- return {
608
- textVisible: !1,
609
- textValue: "",
610
- colorVisible: !1,
611
- colorValue: "",
612
- iconVisible: !1,
613
- iconValue: ""
614
- };
615
- },
616
- methods: {
617
- handleTextClose(t) {
618
- this.data.texts.splice(this.data.texts.indexOf(t), 1);
619
- },
620
- showTextInput() {
621
- this.textVisible = !0, this.$nextTick(() => {
622
- this.$refs.textTag.$refs.input.focus();
623
- });
624
- },
625
- handleTextConfirm() {
626
- this.textValue && this.data.texts.push(this.textValue), this.textVisible = !1, this.textValue = "";
627
- },
628
- handleColorClose(t) {
629
- this.data.colors.splice(this.data.colors.indexOf(t), 1);
630
- },
631
- handleColorConfirm() {
632
- this.colorValue && this.data.colors.push(this.colorValue), this.colorValue = "";
633
- }
634
- // handleIconClose(tag) {
635
- // this.data.iconClasses.splice(this.data.iconClasses.indexOf(tag), 1);
636
- // },
637
- // showIconInput() {
638
- // this.iconVisible = true;
639
- // this.$nextTick(() => {
640
- // this.$refs.iconTag.$refs.input.focus();
641
- // });
642
- // },
643
- // handleIconConfirm() {
644
- // if (this.iconValue) this.data.iconClasses.push(this.iconValue);
645
- // this.iconVisible = false;
646
- // this.iconValue = '';
647
- // }
648
- }
649
- }, __cssModules$d = {};
650
- var __component__$d = /* @__PURE__ */ normalizeComponent(
651
- __vue2_script$d,
652
- render$7,
653
- staticRenderFns$7,
654
- !1,
655
- __vue2_injectStyles$d,
656
- "64e64f97",
657
- null,
658
- null
659
- );
660
- function __vue2_injectStyles$d(t) {
661
- for (let l in __cssModules$d)
662
- this[l] = __cssModules$d[l];
663
- }
664
- const ConfigRate = /* @__PURE__ */ function() {
665
- return __component__$d.exports;
666
- }(), __vue2_script$c = {
667
- name: "ConfigSlider",
668
- props: {
669
- data: Object
670
- }
671
- }, __cssModules$c = {};
672
- var __component__$c = /* @__PURE__ */ normalizeComponent(
673
- __vue2_script$c,
674
- render$8,
675
- staticRenderFns$8,
676
- !1,
677
- __vue2_injectStyles$c,
678
- null,
679
- null,
680
- null
681
- );
682
- function __vue2_injectStyles$c(t) {
683
- for (let l in __cssModules$c)
684
- this[l] = __cssModules$c[l];
685
- }
686
- const ConfigSlider = /* @__PURE__ */ function() {
687
- return __component__$c.exports;
688
- }(), __vue2_script$b = {
689
- name: "ConfigColor",
690
- props: {
691
- data: Object
692
- }
693
- }, __cssModules$b = {};
694
- var __component__$b = /* @__PURE__ */ normalizeComponent(
695
- __vue2_script$b,
696
- render$9,
697
- staticRenderFns$9,
698
- !1,
699
- __vue2_injectStyles$b,
700
- null,
701
- null,
702
- null
703
- );
704
- function __vue2_injectStyles$b(t) {
705
- for (let l in __cssModules$b)
706
- this[l] = __cssModules$b[l];
707
- }
708
- const ConfigColor = /* @__PURE__ */ function() {
709
- return __component__$b.exports;
710
- }(), __vue2_script$a = {
711
- name: "ConfigSelect",
712
- components: { Draggable, MonacoEditor },
713
- props: {
714
- data: Object
715
- },
716
- data() {
717
- return {
718
- option: {
719
- column: [{
720
- type: "input",
721
- prop: "key",
722
- label: "key"
723
- }, {
724
- type: "input",
725
- prop: "value",
726
- label: "value"
727
- }]
728
- },
729
- options: {
730
- fullScreen: !0,
731
- minimap: {
732
- enabled: !1
733
- }
734
- },
735
- dicFormatter: ""
736
- };
737
- },
738
- watch: {
739
- "data.prop": {
740
- handler() {
741
- const { dicFormatter: t } = this.data;
742
- this.dicFormatter = t ? `${t}` : `(res) => {\r
743
- return res.data\r
744
- }`;
745
- },
746
- immediate: !0
747
- },
748
- dicFormatter: {
749
- handler(val) {
750
- try {
751
- this.data.dicFormatter = eval(val);
752
- } catch (t) {
753
- }
754
- }
755
- }
756
- },
757
- methods: {
758
- handleRemoveFields(t) {
759
- this.data.dicData.splice(t, 1);
760
- },
761
- handleAddFields() {
762
- const t = Math.ceil(Math.random() * 99999);
763
- this.data.dicData.push({ label: `字段${t}`, value: `col_${t}` });
764
- },
765
- handleRemoveCascaderItemFields(t) {
766
- this.data.cascader.splice(t, 1);
767
- },
768
- handleAddCascaderItemFields() {
769
- this.data.cascader || (this.$set(this.data, "cascader", []), delete this.data.cascaderItem), this.data.cascader.push("");
770
- },
771
- handleTabClick({ name: t }) {
772
- t == "remote" && !this.data.dicQueryConfig && (this.data.dicQueryConfig = []);
773
- }
774
- }
775
- }, __cssModules$a = {};
776
- var __component__$a = /* @__PURE__ */ normalizeComponent(
777
- __vue2_script$a,
778
- render$a,
779
- staticRenderFns$a,
780
- !1,
781
- __vue2_injectStyles$a,
782
- null,
783
- null,
784
- null
785
- );
786
- function __vue2_injectStyles$a(t) {
787
- for (let l in __cssModules$a)
788
- this[l] = __cssModules$a[l];
789
- }
790
- const ConfigSelect = /* @__PURE__ */ function() {
791
- return __component__$a.exports;
792
- }(), __vue2_script$9 = {
793
- name: "ConfigTree",
794
- components: { MonacoEditor, Draggable },
795
- props: {
796
- data: Object
797
- },
798
- data() {
799
- return {
800
- dialogForm: {},
801
- dialogVisible: !1,
802
- dialogRules: {
803
- label: { required: !0, message: "请输入label" },
804
- value: { required: !0, message: "请输入value" }
805
- },
806
- dialogStatus: "add",
807
- selectData: void 0,
808
- dialogInputType: "text",
809
- option: {
810
- column: [{
811
- type: "input",
812
- prop: "key",
813
- label: "key"
814
- }, {
815
- type: "input",
816
- prop: "value",
817
- label: "value"
818
- }]
819
- },
820
- options: {
821
- fullScreen: !0,
822
- minimap: {
823
- enabled: !1
824
- }
825
- },
826
- dicFormatter: ""
827
- };
828
- },
829
- watch: {
830
- "data.prop": {
831
- handler() {
832
- this.$set(this.data, "cascader", this.data.cascaderItem), this.$delete(this.data, "cascaderItem");
833
- const { dicFormatter: t } = this.data;
834
- this.dicFormatter = t ? `${t}` : `(res) => {\r
835
- return res.data\r
836
- }`;
837
- },
838
- immediate: !0
839
- },
840
- dicFormatter: {
841
- handler(val) {
842
- try {
843
- this.data.dicFormatter = eval(val);
844
- } catch (t) {
845
- }
846
- }
847
- }
848
- },
849
- methods: {
850
- handleRemoveCascaderItemFields(t) {
851
- this.data.cascader.splice(t, 1);
852
- },
853
- handleAddCascaderItemFields() {
854
- this.data.cascader || (this.$set(this.data, "cascader", []), delete this.data.cascaderItem), this.data.cascader.push("");
855
- },
856
- handleTabClick({ name: t }) {
857
- t == "remote" && !this.data.dicQueryConfig && (this.data.dicQueryConfig = []);
858
- },
859
- handleParentNodeAdd() {
860
- this.selectData = void 0, this.dialogStatus = "add", this.dialogVisible = !0;
861
- },
862
- handleNodeAdd(t) {
863
- this.selectData = t, this.dialogStatus = "add", this.dialogVisible = !0;
864
- },
865
- handleNodeRemove(t, l) {
866
- const a = t.parent, s = a.data.children || a.data, n = s.findIndex((o) => o.id === l.id);
867
- s.splice(n, 1);
868
- },
869
- handleDialogAdd() {
870
- this.$refs.dialogForm.validate((t) => {
871
- if (t) {
872
- const { label: l, value: a } = this.dialogForm;
873
- if (this.$refs.tree.getNode(a))
874
- this.$message.error("value重复");
875
- else {
876
- const n = this.selectData, o = {
877
- label: l,
878
- value: this.dialogInputType == "number" ? new Number(a) : a
879
- };
880
- n ? (n.children || this.$set(n, "children", []), n.children.push(o)) : this.$set(this.data.dicData, this.data.dicData.length, o), this.beforeClose();
881
- }
882
- }
883
- });
884
- },
885
- beforeClose() {
886
- this.$refs.dialogForm.clearValidate(), this.dialogForm = {}, this.dialogVisible = !1;
887
- }
888
- }
889
- }, __cssModules$9 = {};
890
- var __component__$9 = /* @__PURE__ */ normalizeComponent(
891
- __vue2_script$9,
892
- render$b,
893
- staticRenderFns$b,
894
- !1,
895
- __vue2_injectStyles$9,
896
- "42ed5e40",
897
- null,
898
- null
899
- );
900
- function __vue2_injectStyles$9(t) {
901
- for (let l in __cssModules$9)
902
- this[l] = __cssModules$9[l];
903
- }
904
- const ConfigTree = /* @__PURE__ */ function() {
905
- return __component__$9.exports;
906
- }(), __vue2_script$8 = {
907
- name: "ConfigDate",
908
- props: {
909
- data: Object
910
- }
911
- }, __cssModules$8 = {};
912
- var __component__$8 = /* @__PURE__ */ normalizeComponent(
913
- __vue2_script$8,
914
- render$c,
915
- staticRenderFns$c,
916
- !1,
917
- __vue2_injectStyles$8,
918
- null,
919
- null,
920
- null
921
- );
922
- function __vue2_injectStyles$8(t) {
923
- for (let l in __cssModules$8)
924
- this[l] = __cssModules$8[l];
925
- }
926
- const ConfigDate = /* @__PURE__ */ function() {
927
- return __component__$8.exports;
928
- }(), __vue2_script$7 = {
929
- name: "ConfigUpload",
930
- props: {
931
- data: Object
932
- },
933
- data() {
934
- return {
935
- option: {
936
- column: [{
937
- type: "input",
938
- prop: "key",
939
- label: "key"
940
- }, {
941
- type: "input",
942
- prop: "value",
943
- label: "value"
944
- }]
945
- }
946
- };
947
- },
948
- watch: {
949
- "data.prop": {
950
- handler() {
951
- },
952
- immediate: !0
953
- },
954
- "data.drag": function() {
955
- },
956
- "data.dragFile": function(t) {
957
- t && this.$delete(this.data, "listType");
958
- },
959
- "data.showCanvas"(t) {
960
- t ? (this.$set(this.data, "canvasOption", {}), this.$set(this.data, "accept", "image/*")) : this.$delete(this.data, "canvasOption");
961
- }
962
- }
963
- }, __cssModules$7 = {};
964
- var __component__$7 = /* @__PURE__ */ normalizeComponent(
965
- __vue2_script$7,
966
- render$d,
967
- staticRenderFns$d,
968
- !1,
969
- __vue2_injectStyles$7,
970
- null,
971
- null,
972
- null
973
- );
974
- function __vue2_injectStyles$7(t) {
975
- for (let l in __cssModules$7)
976
- this[l] = __cssModules$7[l];
977
- }
978
- const ConfigUpload = /* @__PURE__ */ function() {
979
- return __component__$7.exports;
980
- }(), __vue2_script$6 = {
981
- name: "ConfigUEditor",
982
- props: {
983
- data: Object
984
- },
985
- watch: {
986
- "data.options.oss": function(t) {
987
- debugger;
988
- t === "ali" ? this.data.options.qiniu = {} : t === "qiniu" && (this.data.options.ali = {});
989
- }
990
- }
991
- }, __cssModules$6 = {};
992
- var __component__$6 = /* @__PURE__ */ normalizeComponent(
993
- __vue2_script$6,
994
- render$e,
995
- staticRenderFns$e,
996
- !1,
997
- __vue2_injectStyles$6,
998
- null,
999
- null,
1000
- null
1001
- );
1002
- function __vue2_injectStyles$6(t) {
1003
- for (let l in __cssModules$6)
1004
- this[l] = __cssModules$6[l];
1005
- }
1006
- const ConfigUEditor = /* @__PURE__ */ function() {
1007
- return __component__$6.exports;
1008
- }(), __vue2_script$5 = {
1009
- name: "ConfigMap",
1010
- props: {
1011
- data: Object
1012
- }
1013
- }, __cssModules$5 = {};
1014
- var __component__$5 = /* @__PURE__ */ normalizeComponent(
1015
- __vue2_script$5,
1016
- render$f,
1017
- staticRenderFns$f,
1018
- !1,
1019
- __vue2_injectStyles$5,
1020
- null,
1021
- null,
1022
- null
1023
- );
1024
- function __vue2_injectStyles$5(t) {
1025
- for (let l in __cssModules$5)
1026
- this[l] = __cssModules$5[l];
1027
- }
1028
- const ConfigMap = /* @__PURE__ */ function() {
1029
- return __component__$5.exports;
1030
- }(), __vue2_script$4 = {
1031
- name: "ConfigGroup",
1032
- props: {
1033
- data: Object
1034
- },
1035
- data() {
1036
- return {
1037
- iconList: [{
1038
- label: "element-ui",
1039
- list: ["el-icon-info", "el-icon-error", "el-icon-success", "el-icon-warning", "el-icon-question"]
1040
- }]
1041
- };
1042
- }
1043
- }, __cssModules$4 = {};
1044
- var __component__$4 = /* @__PURE__ */ normalizeComponent(
1045
- __vue2_script$4,
1046
- render$g,
1047
- staticRenderFns$g,
1048
- !1,
1049
- __vue2_injectStyles$4,
1050
- null,
1051
- null,
1052
- null
1053
- );
1054
- function __vue2_injectStyles$4(t) {
1055
- for (let l in __cssModules$4)
1056
- this[l] = __cssModules$4[l];
1057
- }
1058
- const ConfigGroup = /* @__PURE__ */ function() {
1059
- return __component__$4.exports;
1060
- }(), __vue2_script$3 = {
1061
- name: "ConfigArray",
1062
- props: {
1063
- data: Object
1064
- }
1065
- }, __cssModules$3 = {};
1066
- var __component__$3 = /* @__PURE__ */ normalizeComponent(
1067
- __vue2_script$3,
1068
- render$h,
1069
- staticRenderFns$h,
1070
- !1,
1071
- __vue2_injectStyles$3,
1072
- null,
1073
- null,
1074
- null
1075
- );
1076
- function __vue2_injectStyles$3(t) {
1077
- for (let l in __cssModules$3)
1078
- this[l] = __cssModules$3[l];
1079
- }
1080
- const ConfigArray = /* @__PURE__ */ function() {
1081
- return __component__$3.exports;
1082
- }(), __vue2_script$2 = {
1083
- name: "ConfigTitle",
1084
- props: {
1085
- data: Object
1086
- },
1087
- data() {
1088
- return {
1089
- options: ["100", "200", "300", "400", "500", "600", "700", "800", "900", "blod", "bloder", "inherit", "initial", "lighter", "normal", "revert", "unset"]
1090
- };
1091
- }
1092
- }, __cssModules$2 = {};
1093
- var __component__$2 = /* @__PURE__ */ normalizeComponent(
1094
- __vue2_script$2,
1095
- render$i,
1096
- staticRenderFns$i,
1097
- !1,
1098
- __vue2_injectStyles$2,
1099
- null,
1100
- null,
1101
- null
1102
- );
1103
- function __vue2_injectStyles$2(t) {
1104
- for (let l in __cssModules$2)
1105
- this[l] = __cssModules$2[l];
1106
- }
1107
- const ConfigTitle = /* @__PURE__ */ function() {
1108
- return __component__$2.exports;
1109
- }(), __vue2_script$1 = {
1110
- name: "ConfigEvent",
1111
- components: { MonacoEditor },
1112
- props: {
1113
- data: Object
1114
- },
1115
- data() {
1116
- return {
1117
- change: "",
1118
- click: "",
1119
- focus: "",
1120
- blur: "",
1121
- options: {
1122
- fullScreen: !0,
1123
- minimap: {
1124
- enabled: !1
1125
- }
1126
- }
1127
- };
1128
- },
1129
- watch: {
1130
- "data.prop": {
1131
- handler() {
1132
- const { change: t, click: l, focus: a, blur: s } = this.data;
1133
- this.$set(this, "change", t ? `${t}` : `({value}) => {\r
1134
- \r
1135
- }`), this.$set(this, "click", l ? `${l}` : `({value}) => {\r
1136
- \r
1137
- }`), this.$set(this, "focus", a ? `${a}` : `({value}) => {\r
1138
- \r
1139
- }`), this.$set(this, "blur", s ? `${s}` : `({value}) => {\r
1140
- \r
1141
- }`);
1142
- },
1143
- immediate: !0
1144
- }
1145
- },
1146
- mounted() {
1147
- this.$nextTick(() => {
1148
- const event = ["change", "click", "focus", "blur"];
1149
- event.forEach((e) => {
1150
- this.$watch(`${e}`, (val) => {
1151
- try {
1152
- this.$set(this.data, e, eval(val));
1153
- } catch (t) {
1154
- }
1155
- });
1156
- });
1157
- });
1158
- }
1159
- }, __cssModules$1 = {};
1160
- var __component__$1 = /* @__PURE__ */ normalizeComponent(
1161
- __vue2_script$1,
1162
- render$j,
1163
- staticRenderFns$j,
1164
- !1,
1165
- __vue2_injectStyles$1,
1166
- null,
1167
- null,
1168
- null
1169
- );
1170
- function __vue2_injectStyles$1(t) {
1171
- for (let l in __cssModules$1)
1172
- this[l] = __cssModules$1[l];
1173
- }
1174
- const ConfigEvent = /* @__PURE__ */ function() {
1175
- return __component__$1.exports;
1176
- }(), __vue2_script = {
1177
- name: "ConfigTable",
1178
- components: { MonacoEditor, AfdColumn },
1179
- props: {
1180
- data: Object
1181
- },
1182
- data() {
1183
- return {
1184
- options: {
1185
- fullScreen: !0,
1186
- minimap: {
1187
- enabled: !1
1188
- }
1189
- },
1190
- onLoad: "",
1191
- formatter: ""
1192
- };
1193
- },
1194
- watch: {
1195
- "data.prop": {
1196
- handler() {
1197
- const { onLoad: t, formatter: l } = this.data;
1198
- this.onLoad = t ? `${t}` : "", this.formatter = l ? `${l}` : "";
1199
- },
1200
- immediate: !0
1201
- },
1202
- "data.children.props": {
1203
- handler(t) {
1204
- this.handleOnLoad(t);
1205
- },
1206
- deep: !0
1207
- },
1208
- onLoad: {
1209
- handler(val) {
1210
- try {
1211
- this.data.onLoad = eval(val);
1212
- } catch (t) {
1213
- console.error(t);
1214
- }
1215
- }
1216
- }
1217
- },
1218
- methods: {
1219
- handleColumn(t) {
1220
- this.data.children.column = t;
1221
- },
1222
- handleOnLoad(t) {
1223
- const { url: l, method: a, needPage: s, currentPageKey: n, pageSizeKey: o, totalKey: c, recordsKey: d, resKey: u, auto: p } = t;
1224
- if (!p)
1225
- return;
1226
- if (!l) {
1227
- this.onLoad = "(res, cb) => { }";
1228
- return;
1229
- }
1230
- let { props: r } = this.data;
1231
- r || (r = { label: "label", value: "value" });
1232
- const { value: i } = r, _ = `(res, cb) => {
1233
- let { page, value, data } = res
1234
- if (!page) page = { currentPage: 1, pageSize: 10 }
1235
- const { currentPage, pageSize } = page
1236
- let params = { ...data, ${n || "current"}: currentPage, ${o || "page"}: pageSize }
1237
-
1238
- if (value) params['${i}'] = value
1239
-
1240
- if ('${a || "get"}' == 'get') params = { params: { ...params } }
1241
-
1242
- this.$axios['${a}']('${l}', params).then(res => {
1243
- const response = this.getAsVal(res, '${u || "data.data"}')
1244
- if (!response) this.$message.error('未查询到数据或者返回层级配置错误')
1245
-
1246
- let result = {}
1247
- if (${s}) {
1248
- const total = this.getAsVal(response, '${c || "total"}')
1249
- if (total || total == 0) {
1250
- result.total = total
1251
- } else {
1252
- this.$message.error('总条数配置错误')
1253
- return
1254
- }
1255
- const records = this.getAsVal(response, '${d || "records"}')
1256
- if (records) {
1257
- result.data = records
1258
- } else {
1259
- this.$message.error('列表配置错误')
1260
- return
1261
- }
1262
- } else result = { total: response.length, data: response }
1263
-
1264
- if (value) {
1265
- const records = result.data
1266
- if (records && records.length > 0) cb(records[0])
1267
- else this.$message.error('根据${i}: ' + value + ' 查询不到结果')
1268
- } else cb(result)
1269
- })
1270
- }`;
1271
- this.onLoad = _;
1272
- }
1273
- }
1274
- }, __cssModules = {};
1275
- var __component__ = /* @__PURE__ */ normalizeComponent(
1276
- __vue2_script,
1277
- render$k,
1278
- staticRenderFns$k,
1279
- !1,
1280
- __vue2_injectStyles,
1281
- null,
1282
- null,
1283
- null
1284
- );
1285
- function __vue2_injectStyles(t) {
1286
- for (let l in __cssModules)
1287
- this[l] = __cssModules[l];
1288
- }
1289
- const ConfigTable = /* @__PURE__ */ function() {
1290
- return __component__.exports;
1291
- }();
1292
- var render = function() {
1293
- var t = this, l = t.$createElement, a = t._self._c || l;
1294
- return a("div", {
1295
- staticClass: "widget-config"
1296
- }, [t.data && Object.keys(t.data).length > 0 ? a("ElForm", {
1297
- attrs: {
1298
- "label-suffix": ":",
1299
- "label-position": "left",
1300
- "label-width": "90px",
1301
- size: "small"
1302
- }
1303
- }, [a("ElCollapse", {
1304
- model: {
1305
- value: t.collapse,
1306
- callback: function(s) {
1307
- t.collapse = s;
1308
- },
1309
- expression: "collapse"
1310
- }
1311
- }, [a("ElCollapseItem", {
1312
- attrs: {
1313
- name: "1",
1314
- title: "基本属性"
1315
- }
1316
- }, [t.data.type && !t.data.component ? a("ElFormItem", {
1317
- attrs: {
1318
- label: "类型"
1319
- }
1320
- }, [a("ElSelect", {
1321
- staticStyle: {
1322
- width: "100%"
1323
- },
1324
- attrs: {
1325
- placeholder: "请选择类型"
1326
- },
1327
- on: {
1328
- change: t.handleChangeType
1329
- },
1330
- model: {
1331
- value: t.data.type,
1332
- callback: function(s) {
1333
- t.$set(t.data, "type", s);
1334
- },
1335
- expression: "data.type"
1336
- }
1337
- }, t._l(t.fields, function(s) {
1338
- return a("ElOptionGroup", {
1339
- key: s.title,
1340
- attrs: {
1341
- label: s.title
1342
- }
1343
- }, t._l(s.list, function(n) {
1344
- return a("ElOption", {
1345
- key: n.type,
1346
- attrs: {
1347
- label: n.label,
1348
- value: n.type
1349
- }
1350
- });
1351
- }), 1);
1352
- }), 1)], 1) : t._e(), a("ElFormItem", {
1353
- attrs: {
1354
- label: "属性值"
1355
- }
1356
- }, [a("ElInput", {
1357
- attrs: {
1358
- clearable: "",
1359
- placeholder: "属性值"
1360
- },
1361
- model: {
1362
- value: t.data.prop,
1363
- callback: function(s) {
1364
- t.$set(t.data, "prop", s);
1365
- },
1366
- expression: "data.prop"
1367
- }
1368
- })], 1), a("ElFormItem", {
1369
- attrs: {
1370
- label: "标题"
1371
- }
1372
- }, [a("ElInput", {
1373
- attrs: {
1374
- clearable: "",
1375
- placeholder: "标题"
1376
- },
1377
- model: {
1378
- value: t.data.label,
1379
- callback: function(s) {
1380
- t.$set(t.data, "label", s);
1381
- },
1382
- expression: "data.label"
1383
- }
1384
- })], 1), ["group", "dynamic", "title"].includes(t.data.type) ? t._e() : a("ElFormItem", {
1385
- attrs: {
1386
- label: "标题宽度"
1387
- }
1388
- }, [a("ElInputNumber", {
1389
- staticStyle: {
1390
- width: "100%"
1391
- },
1392
- attrs: {
1393
- min: 80,
1394
- step: 10,
1395
- "controls-position": "right",
1396
- placeholder: "标签宽度"
1397
- },
1398
- model: {
1399
- value: t.data.labelWidth,
1400
- callback: function(s) {
1401
- t.$set(t.data, "labelWidth", s);
1402
- },
1403
- expression: "data.labelWidth"
1404
- }
1405
- })], 1), t.data.subfield ? t._e() : a("ElFormItem", {
1406
- attrs: {
1407
- label: "标签位置"
1408
- }
1409
- }, [a("ElSelect", {
1410
- attrs: {
1411
- placeholder: "标签位置",
1412
- clearable: ""
1413
- },
1414
- model: {
1415
- value: t.data.labelPosition,
1416
- callback: function(s) {
1417
- t.$set(t.data, "labelPosition", s);
1418
- },
1419
- expression: "data.labelPosition"
1420
- }
1421
- }, [a("ElOption", {
1422
- attrs: {
1423
- label: "上",
1424
- value: "top"
1425
- }
1426
- }), a("ElOption", {
1427
- attrs: {
1428
- label: "左",
1429
- value: "left"
1430
- }
1431
- }), a("ElOption", {
1432
- attrs: {
1433
- label: "右",
1434
- value: "right"
1435
- }
1436
- })], 1)], 1), t.data.subfield ? a("ElFormItem", {
1437
- attrs: {
1438
- label: "宽度"
1439
- }
1440
- }, [a("ElInputNumber", {
1441
- staticStyle: {
1442
- width: "100%"
1443
- },
1444
- attrs: {
1445
- "controls-position": "right",
1446
- placeholder: "宽度",
1447
- min: 100
1448
- },
1449
- model: {
1450
- value: t.data.width,
1451
- callback: function(s) {
1452
- t.$set(t.data, "width", s);
1453
- },
1454
- expression: "data.width"
1455
- }
1456
- })], 1) : t._e(), !t.data.subfield && !["group"].includes(t.data.type) ? a("ElFormItem", {
1457
- attrs: {
1458
- label: "表单栅格"
1459
- }
1460
- }, [a("ElInputNumber", {
1461
- staticStyle: {
1462
- width: "100%"
1463
- },
1464
- attrs: {
1465
- "controls-position": "right",
1466
- placeholder: "表单栅格",
1467
- min: 2,
1468
- max: 24
1469
- },
1470
- model: {
1471
- value: t.data.span,
1472
- callback: function(s) {
1473
- t.$set(t.data, "span", s);
1474
- },
1475
- expression: "data.span"
1476
- }
1477
- })], 1) : t._e(), ["cascader", "checkbox", "radio", "select", "tree", "upload", "img", "array", "slider", "timerange", "daterange", "datetimerange"].includes(t.data.type) ? a("ElFormItem", {
1478
- attrs: {
1479
- label: "数据类型"
1480
- },
1481
- scopedSlots: t._u([{
1482
- key: "label",
1483
- fn: function() {
1484
- return [a("ElLink", {
1485
- attrs: {
1486
- underline: !1,
1487
- href: "https://avuejs.com/docs/datatype.html",
1488
- target: "_blank"
1489
- }
1490
- }, [t._v(" 数据类型 "), a("i", {
1491
- staticClass: "el-icon-question"
1492
- })])];
1493
- },
1494
- proxy: !0
1495
- }], null, !1, 3051713203)
1496
- }, [a("ElSelect", {
1497
- attrs: {
1498
- placeholder: "数据类型",
1499
- clearable: ""
1500
- },
1501
- model: {
1502
- value: t.data.dataType,
1503
- callback: function(s) {
1504
- t.$set(t.data, "dataType", s);
1505
- },
1506
- expression: "data.dataType"
1507
- }
1508
- }, [a("ElOption", {
1509
- attrs: {
1510
- label: "String",
1511
- value: "string"
1512
- }
1513
- }), a("ElOption", {
1514
- attrs: {
1515
- label: "Number",
1516
- value: "number"
1517
- }
1518
- }), a("ElOption", {
1519
- attrs: {
1520
- label: "Array",
1521
- value: "array"
1522
- }
1523
- })], 1)], 1) : t._e(), a("ElFormItem", {
1524
- attrs: {
1525
- label: "字段提示"
1526
- },
1527
- scopedSlots: t._u([{
1528
- key: "label",
1529
- fn: function() {
1530
- return [a("ElLink", {
1531
- attrs: {
1532
- underline: !1,
1533
- href: "https://avuejs.com/form/form-tip.html",
1534
- target: "_blank"
1535
- }
1536
- }, [t._v(" 字段提示 "), a("i", {
1537
- staticClass: "el-icon-question"
1538
- })])];
1539
- },
1540
- proxy: !0
1541
- }], null, !1, 708991366)
1542
- }, [a("ElInput", {
1543
- attrs: {
1544
- clearable: "",
1545
- placeholder: "字段提示"
1546
- },
1547
- model: {
1548
- value: t.data.tip,
1549
- callback: function(s) {
1550
- t.$set(t.data, "tip", s);
1551
- },
1552
- expression: "data.tip"
1553
- }
1554
- })], 1), t.data.tip && !["upload"].includes(t.data.type) ? a("ElFormItem", {
1555
- attrs: {
1556
- label: "字段提示位置",
1557
- "label-width": "110px"
1558
- }
1559
- }, [a("ElSelect", {
1560
- attrs: {
1561
- placeholder: "字段提示位置",
1562
- clearable: ""
1563
- },
1564
- model: {
1565
- value: t.data.tipPlacement,
1566
- callback: function(s) {
1567
- t.$set(t.data, "tipPlacement", s);
1568
- },
1569
- expression: "data.tipPlacement"
1570
- }
1571
- }, [a("ElOption", {
1572
- attrs: {
1573
- label: "上",
1574
- value: "top"
1575
- }
1576
- }), a("ElOption", {
1577
- attrs: {
1578
- label: "下",
1579
- value: "bottom"
1580
- }
1581
- }), a("ElOption", {
1582
- attrs: {
1583
- label: "左",
1584
- value: "left"
1585
- }
1586
- }), a("ElOption", {
1587
- attrs: {
1588
- label: "右",
1589
- value: "right"
1590
- }
1591
- })], 1)], 1) : t._e(), a("ElFormItem", {
1592
- attrs: {
1593
- label: "标题提示"
1594
- },
1595
- scopedSlots: t._u([{
1596
- key: "label",
1597
- fn: function() {
1598
- return [a("ElLink", {
1599
- attrs: {
1600
- underline: !1,
1601
- href: "https://avuejs.com/form/form-tip.html",
1602
- target: "_blank"
1603
- }
1604
- }, [t._v(" 标题提示 "), a("i", {
1605
- staticClass: "el-icon-question"
1606
- })])];
1607
- },
1608
- proxy: !0
1609
- }], null, !1, 1033131739)
1610
- }, [a("ElInput", {
1611
- attrs: {
1612
- clearable: "",
1613
- placeholder: "标题提示"
1614
- },
1615
- model: {
1616
- value: t.data.labelTip,
1617
- callback: function(s) {
1618
- t.$set(t.data, "labelTip", s);
1619
- },
1620
- expression: "data.labelTip"
1621
- }
1622
- })], 1), t.data.labelTip && !["upload"].includes(t.data.type) ? a("ElFormItem", {
1623
- attrs: {
1624
- label: "标题提示位置",
1625
- "label-width": "110px"
1626
- }
1627
- }, [a("ElSelect", {
1628
- attrs: {
1629
- placeholder: "标题提示位置",
1630
- clearable: ""
1631
- },
1632
- model: {
1633
- value: t.data.labelTipPlacement,
1634
- callback: function(s) {
1635
- t.$set(t.data, "labelTipPlacement", s);
1636
- },
1637
- expression: "data.labelTipPlacement"
1638
- }
1639
- }, [a("ElOption", {
1640
- attrs: {
1641
- label: "上",
1642
- value: "top"
1643
- }
1644
- }), a("ElOption", {
1645
- attrs: {
1646
- label: "下",
1647
- value: "bottom"
1648
- }
1649
- }), a("ElOption", {
1650
- attrs: {
1651
- label: "左",
1652
- value: "left"
1653
- }
1654
- }), a("ElOption", {
1655
- attrs: {
1656
- label: "右",
1657
- value: "right"
1658
- }
1659
- })], 1)], 1) : t._e(), ["color", "dynamic", "group", "ueditor", "upload", "map"].includes(t.data.type) ? t._e() : a("ElFormItem", {
1660
- attrs: {
1661
- label: "默认值"
1662
- }
1663
- }, [t.defaultValues && t.defaultValues[t.data.type] ? [a("ElSelect", {
1664
- attrs: {
1665
- "allow-create": "",
1666
- clearable: "",
1667
- filterable: "",
1668
- placeholder: "默认值"
1669
- },
1670
- model: {
1671
- value: t.data.value,
1672
- callback: function(s) {
1673
- t.$set(t.data, "value", s);
1674
- },
1675
- expression: "data.value"
1676
- }
1677
- }, t._l(t.defaultValues[t.data.type], function(s) {
1678
- return a("ElOption", {
1679
- key: s.value,
1680
- attrs: {
1681
- label: s.label,
1682
- value: s.value
1683
- }
1684
- });
1685
- }), 1)] : [a("ElInput", {
1686
- attrs: {
1687
- clearable: "",
1688
- placeholder: "默认值"
1689
- },
1690
- model: {
1691
- value: t.data.value,
1692
- callback: function(s) {
1693
- t.$set(t.data, "value", s);
1694
- },
1695
- expression: "data.value"
1696
- }
1697
- })]], 2), a("ElFormItem", {
1698
- attrs: {
1699
- label: "详情模式"
1700
- }
1701
- }, [a("ElSwitch", {
1702
- model: {
1703
- value: t.data.detail,
1704
- callback: function(s) {
1705
- t.$set(t.data, "detail", s);
1706
- },
1707
- expression: "data.detail"
1708
- }
1709
- })], 1), a("ElFormItem", {
1710
- attrs: {
1711
- label: "是否只读"
1712
- }
1713
- }, [a("ElSwitch", {
1714
- model: {
1715
- value: t.data.readonly,
1716
- callback: function(s) {
1717
- t.$set(t.data, "readonly", s);
1718
- },
1719
- expression: "data.readonly"
1720
- }
1721
- })], 1), a("ElFormItem", {
1722
- attrs: {
1723
- label: "是否禁用"
1724
- }
1725
- }, [a("ElSwitch", {
1726
- model: {
1727
- value: t.data.disabled,
1728
- callback: function(s) {
1729
- t.$set(t.data, "disabled", s);
1730
- },
1731
- expression: "data.disabled"
1732
- }
1733
- })], 1), a("ElFormItem", {
1734
- attrs: {
1735
- label: "是否可见"
1736
- }
1737
- }, [a("ElSwitch", {
1738
- model: {
1739
- value: t.data.display,
1740
- callback: function(s) {
1741
- t.$set(t.data, "display", s);
1742
- },
1743
- expression: "data.display"
1744
- }
1745
- })], 1), a("ElFormItem", {
1746
- attrs: {
1747
- label: "是否必填"
1748
- }
1749
- }, [a("ElSwitch", {
1750
- model: {
1751
- value: t.data.required,
1752
- callback: function(s) {
1753
- t.$set(t.data, "required", s);
1754
- },
1755
- expression: "data.required"
1756
- }
1757
- }), t.data.required ? a("ElInput", {
1758
- attrs: {
1759
- placeholder: "正则表达式"
1760
- },
1761
- model: {
1762
- value: t.data.pattern,
1763
- callback: function(s) {
1764
- t.$set(t.data, "pattern", s);
1765
- },
1766
- expression: "data.pattern"
1767
- }
1768
- }) : t._e()], 1)], 1), a("ElCollapseItem", {
1769
- attrs: {
1770
- name: "2",
1771
- title: "组件属性"
1772
- }
1773
- }, [a(t.getComponent, {
1774
- tag: "Component",
1775
- attrs: {
1776
- data: t.data,
1777
- "default-values": t.defaultValues
1778
- }
1779
- })], 1), ["group"].includes(t.data.type) ? t._e() : a("ElCollapseItem", {
1780
- attrs: {
1781
- name: "3",
1782
- title: "事件属性"
1783
- }
1784
- }, [a("ConfigEvent", {
1785
- attrs: {
1786
- data: t.data
1787
- }
1788
- })], 1)], 1)], 1) : [a("FyEmpty", {
1789
- staticStyle: {
1790
- "margin-top": "100%"
1791
- },
1792
- attrs: {
1793
- desc: "拖拽字段进行配置"
1794
- }
1795
- })]], 2);
1796
- }, staticRenderFns = [];
1797
- export {
1798
- ConfigCustom as C,
1799
- ConfigInput as a,
1800
- ConfigTextarea as b,
1801
- ConfigNumber as c,
1802
- ConfigDynamic as d,
1803
- ConfigSwitch as e,
1804
- ConfigRate as f,
1805
- ConfigSlider as g,
1806
- ConfigColor as h,
1807
- ConfigSelect as i,
1808
- ConfigTree as j,
1809
- ConfigDate as k,
1810
- ConfigUpload as l,
1811
- ConfigUEditor as m,
1812
- ConfigMap as n,
1813
- ConfigGroup as o,
1814
- ConfigArray as p,
1815
- ConfigTitle as q,
1816
- render as r,
1817
- staticRenderFns as s,
1818
- ConfigEvent as t,
1819
- ConfigTable as u,
1820
- fields as v
1821
- };