@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,465 +0,0 @@
1
- var r = function() {
2
- var a = this, o = a.$createElement, e = a._self._c || o;
3
- return e("div", [e("ElFormItem", {
4
- attrs: {
5
- label: "占位内容"
6
- }
7
- }, [e("ElInput", {
8
- attrs: {
9
- clearable: "",
10
- placeholder: "占位内容"
11
- },
12
- model: {
13
- value: a.data.placeholder,
14
- callback: function(t) {
15
- a.$set(a.data, "placeholder", t);
16
- },
17
- expression: "data.placeholder"
18
- }
19
- })], 1), e("div", {
20
- staticClass: "el-form-item el-form-item--small el-form--label-top"
21
- }, [e("label", {
22
- staticClass: "el-form-item__label",
23
- staticStyle: {
24
- padding: "0"
25
- }
26
- }, [a._v("字典配置:")]), e("div", {
27
- staticClass: "el-form-item__content"
28
- }, [e("ElTabs", {
29
- attrs: {
30
- stretch: ""
31
- },
32
- on: {
33
- "tab-click": a.handleTabClick
34
- },
35
- model: {
36
- value: a.data.dicOption,
37
- callback: function(t) {
38
- a.$set(a.data, "dicOption", t);
39
- },
40
- expression: "data.dicOption"
41
- }
42
- }, [e("ElTabPane", {
43
- attrs: {
44
- label: "静态数据",
45
- name: "static"
46
- }
47
- }, [e("ElTree", {
48
- ref: "tree",
49
- attrs: {
50
- data: a.data.dicData,
51
- "default-expand-all": "",
52
- draggable: "",
53
- "node-key": "value",
54
- "expand-on-click-node": !1
55
- },
56
- scopedSlots: a._u([{
57
- key: "default",
58
- fn: function(t) {
59
- var l = t.node, i = t.data;
60
- return e("span", {
61
- staticClass: "custom-tree-node"
62
- }, [e("span", [a._v(a._s(l.label))]), e("span", [e("ElButton", {
63
- attrs: {
64
- type: "text",
65
- size: "mini",
66
- icon: "el-icon-plus"
67
- },
68
- on: {
69
- click: function(s) {
70
- return a.handleNodeAdd(i);
71
- }
72
- }
73
- }), e("ElButton", {
74
- staticClass: "danger",
75
- attrs: {
76
- type: "text",
77
- size: "mini",
78
- icon: "el-icon-delete"
79
- },
80
- on: {
81
- click: function(s) {
82
- return a.handleNodeRemove(l, i);
83
- }
84
- }
85
- })], 1)]);
86
- }
87
- }])
88
- }), e("div", {
89
- staticStyle: {
90
- "margin-left": "22px"
91
- }
92
- }, [e("ElButton", {
93
- attrs: {
94
- type: "text"
95
- },
96
- on: {
97
- click: a.handleParentNodeAdd
98
- }
99
- }, [a._v(" 添加父级 ")])], 1)], 1), e("ElTabPane", {
100
- attrs: {
101
- label: "远端数据",
102
- name: "remote"
103
- }
104
- }, [a._v(" 网址 "), e("ElInput", {
105
- attrs: {
106
- size: "small",
107
- placeholder: "远端数据字典网址"
108
- },
109
- model: {
110
- value: a.data.dicUrl,
111
- callback: function(t) {
112
- a.$set(a.data, "dicUrl", t);
113
- },
114
- expression: "data.dicUrl"
115
- }
116
- }), a._v(" 远程搜索 "), e("ElSwitch", {
117
- model: {
118
- value: a.data.remote,
119
- callback: function(t) {
120
- a.$set(a.data, "remote", t);
121
- },
122
- expression: "data.remote"
123
- }
124
- }), e("br"), a._v(" 请求方法 "), e("ElSelect", {
125
- staticStyle: {
126
- width: "100%"
127
- },
128
- attrs: {
129
- size: "small",
130
- placeholder: "请求方法"
131
- },
132
- model: {
133
- value: a.data.dicMethod,
134
- callback: function(t) {
135
- a.$set(a.data, "dicMethod", t);
136
- },
137
- expression: "data.dicMethod"
138
- }
139
- }, [e("ElOption", {
140
- attrs: {
141
- label: "POST",
142
- value: "post"
143
- }
144
- }), e("ElOption", {
145
- attrs: {
146
- label: "GET",
147
- value: "get"
148
- }
149
- })], 1), a.data.dicMethod === "post" ? e("p", [a._v(" 请求参数 "), e("FyDynamic", {
150
- attrs: {
151
- children: a.option
152
- },
153
- model: {
154
- value: a.data.dicQueryConfig,
155
- callback: function(t) {
156
- a.$set(a.data, "dicQueryConfig", t);
157
- },
158
- expression: "data.dicQueryConfig"
159
- }
160
- })], 1) : a._e(), a.data.dicUrl ? e("p", [a._v(" 返回结构 "), e("MonacoEditor", {
161
- attrs: {
162
- height: "80",
163
- "key-index": `dict-formatter-${a.data.prop}`,
164
- options: a.options
165
- },
166
- model: {
167
- value: a.dicFormatter,
168
- callback: function(t) {
169
- a.dicFormatter = t;
170
- },
171
- expression: "dicFormatter"
172
- }
173
- })], 1) : a._e()], 1)], 1)], 1)]), e("div", {
174
- staticClass: "el-form-item el-form-item--small el-form--label-top"
175
- }, [e("label", {
176
- staticClass: "el-form-item__label",
177
- staticStyle: {
178
- padding: "0"
179
- }
180
- }, [a._v("字典key配置:")]), e("div", {
181
- staticClass: "el-form-item__content"
182
- }, [e("ul", a._l(a.data.props, function(t, l) {
183
- return e("li", {
184
- key: l
185
- }, [e("span", {
186
- staticStyle: {
187
- width: "50px"
188
- }
189
- }, [a._v(a._s(l))]), e("ElInput", {
190
- attrs: {
191
- size: "mini",
192
- placeholder: "key配置"
193
- },
194
- model: {
195
- value: a.data.props[l],
196
- callback: function(i) {
197
- a.$set(a.data.props, l, i);
198
- },
199
- expression: "data.props[key]"
200
- }
201
- })], 1);
202
- }), 0)])]), a.data.dicOption === "remote" ? e("ElFormItem", {
203
- attrs: {
204
- label: "重新请求字典(crud)"
205
- }
206
- }, [e("ElSwitch", {
207
- model: {
208
- value: a.data.dicFlag,
209
- callback: function(t) {
210
- a.$set(a.data, "dicFlag", t);
211
- },
212
- expression: "data.dicFlag"
213
- }
214
- })], 1) : a._e(), e("div", {
215
- staticClass: "el-form-item el-form-item--small el-form--label-top"
216
- }, [e("label", {
217
- staticClass: "el-form-item__label",
218
- staticStyle: {
219
- padding: "0"
220
- }
221
- }, [a._v("级联配置:")]), e("div", {
222
- staticClass: "el-form-item__content"
223
- }, [e("Draggable", {
224
- attrs: {
225
- tag: "ul",
226
- list: a.data.cascaderItem || a.data.cascader,
227
- group: {
228
- name: "cascaderItem"
229
- },
230
- "ghost-class": "ghost",
231
- handle: ".drag-item"
232
- }
233
- }, a._l(a.data.cascaderItem || a.data.cascader, function(t, l) {
234
- return e("li", {
235
- key: l
236
- }, [e("i", {
237
- staticClass: "drag-item el-icon-s-operation",
238
- staticStyle: {
239
- "font-size": "16px",
240
- margin: "0 5px",
241
- cursor: "move"
242
- }
243
- }), e("ElInput", {
244
- attrs: {
245
- size: "mini",
246
- clearable: "",
247
- placeholder: "级联属性值"
248
- },
249
- model: {
250
- value: a.data.cascader[l],
251
- callback: function(i) {
252
- a.$set(a.data.cascader, l, i);
253
- },
254
- expression: "data.cascader[index]"
255
- }
256
- }), e("ElButton", {
257
- staticStyle: {
258
- padding: "4px",
259
- "margin-left": "5px"
260
- },
261
- attrs: {
262
- circle: "",
263
- plain: "",
264
- type: "danger",
265
- size: "mini",
266
- icon: "el-icon-minus"
267
- },
268
- on: {
269
- click: function(i) {
270
- return a.handleRemoveCascaderItemFields(l);
271
- }
272
- }
273
- })], 1);
274
- }), 0), e("div", {
275
- staticStyle: {
276
- "margin-left": "22px"
277
- }
278
- }, [e("ElButton", {
279
- attrs: {
280
- type: "text"
281
- },
282
- on: {
283
- click: a.handleAddCascaderItemFields
284
- }
285
- }, [a._v(" 添加列 ")])], 1)], 1)]), a.data.type === "tree" ? [e("ElFormItem", {
286
- attrs: {
287
- label: "当有子级时,是否可选择父级",
288
- "label-width": "200px"
289
- }
290
- }, [e("ElSwitch", {
291
- model: {
292
- value: a.data.parent,
293
- callback: function(t) {
294
- a.$set(a.data, "parent", t);
295
- },
296
- expression: "data.parent"
297
- }
298
- })], 1)] : a._e(), a.data.type === "cascader" ? [e("ElFormItem", {
299
- attrs: {
300
- label: "选项分隔符",
301
- "label-width": "100px"
302
- }
303
- }, [e("ElInput", {
304
- attrs: {
305
- clearable: "",
306
- placeholder: "选项分隔符"
307
- },
308
- model: {
309
- value: a.data.separator,
310
- callback: function(t) {
311
- a.$set(a.data, "separator", t);
312
- },
313
- expression: "data.separator"
314
- }
315
- })], 1), e("ElFormItem", {
316
- attrs: {
317
- label: "是否显示选中值的完整路径",
318
- "label-width": "200px"
319
- }
320
- }, [e("ElSwitch", {
321
- model: {
322
- value: a.data.showAllLevels,
323
- callback: function(t) {
324
- a.$set(a.data, "showAllLevels", t);
325
- },
326
- expression: "data.showAllLevels"
327
- }
328
- })], 1), e("ElFormItem", {
329
- attrs: {
330
- label: "是否可搜索",
331
- "label-width": "100px"
332
- }
333
- }, [e("ElSwitch", {
334
- model: {
335
- value: a.data.filterable,
336
- callback: function(t) {
337
- a.$set(a.data, "filterable", t);
338
- },
339
- expression: "data.filterable"
340
- }
341
- })], 1)] : a._e(), e("ElFormItem", {
342
- attrs: {
343
- label: "是否多选"
344
- }
345
- }, [e("ElSwitch", {
346
- model: {
347
- value: a.data.multiple,
348
- callback: function(t) {
349
- a.$set(a.data, "multiple", t);
350
- },
351
- expression: "data.multiple"
352
- }
353
- })], 1), a.data.type === "tree" && a.data.multiple ? e("ElFormItem", {
354
- attrs: {
355
- label: "勾选时,父子不关联",
356
- "label-width": "160px"
357
- }
358
- }, [e("ElSwitch", {
359
- model: {
360
- value: a.data.checkStrictly,
361
- callback: function(t) {
362
- a.$set(a.data, "checkStrictly", t);
363
- },
364
- expression: "data.checkStrictly"
365
- }
366
- })], 1) : a._e(), e("ElementDialog", {
367
- attrs: {
368
- visible: a.dialogVisible,
369
- rules: a.dialogRules,
370
- "before-close": a.beforeClose
371
- },
372
- on: {
373
- "update:visible": function(t) {
374
- a.dialogVisible = t;
375
- }
376
- },
377
- scopedSlots: a._u([{
378
- key: "footer",
379
- fn: function() {
380
- return [e("ElButton", {
381
- on: {
382
- click: function(t) {
383
- a.dialogVisible = !1;
384
- }
385
- }
386
- }, [a._v(" 取 消 ")]), a.dialogStatus === "add" ? e("ElButton", {
387
- attrs: {
388
- type: "primary"
389
- },
390
- on: {
391
- click: a.handleDialogAdd
392
- }
393
- }, [a._v(" 确 定 ")]) : a._e()];
394
- },
395
- proxy: !0
396
- }])
397
- }, [e("ElForm", {
398
- ref: "dialogForm",
399
- attrs: {
400
- model: a.dialogForm,
401
- "label-width": "80px"
402
- }
403
- }, [e("ElFormItem", {
404
- attrs: {
405
- label: "label"
406
- }
407
- }, [e("ElInput", {
408
- attrs: {
409
- placeholder: "label"
410
- },
411
- model: {
412
- value: a.dialogForm.label,
413
- callback: function(t) {
414
- a.$set(a.dialogForm, "label", t);
415
- },
416
- expression: "dialogForm.label"
417
- }
418
- })], 1), e("ElFormItem", {
419
- attrs: {
420
- label: "value"
421
- }
422
- }, [e("ElInput", {
423
- attrs: {
424
- placeholder: "value",
425
- type: a.dialogInputType
426
- },
427
- model: {
428
- value: a.dialogForm.value,
429
- callback: function(t) {
430
- a.$set(a.dialogForm, "value", t);
431
- },
432
- expression: "dialogForm.value"
433
- }
434
- }, [e("ElSelect", {
435
- staticStyle: {
436
- width: "100px"
437
- },
438
- attrs: {
439
- slot: "append",
440
- placeholder: "数据类型"
441
- },
442
- slot: "append",
443
- model: {
444
- value: a.dialogInputType,
445
- callback: function(t) {
446
- a.dialogInputType = t;
447
- },
448
- expression: "dialogInputType"
449
- }
450
- }, [e("ElOption", {
451
- attrs: {
452
- label: "String",
453
- value: "text"
454
- }
455
- }), e("ElOption", {
456
- attrs: {
457
- label: "Number",
458
- value: "number"
459
- }
460
- })], 1)], 1)], 1)], 1)], 1)], 2);
461
- }, d = [];
462
- export {
463
- r,
464
- d as s
465
- };
@@ -1,240 +0,0 @@
1
- var s = function() {
2
- var a = this, l = a.$createElement, e = a._self._c || l;
3
- return e("div", [e("ElFormItem", {
4
- attrs: {
5
- label: "图片上传地址",
6
- "label-width": "110px"
7
- }
8
- }, [e("ElInput", {
9
- attrs: {
10
- clearable: "",
11
- placeholder: "图片上传地址"
12
- },
13
- model: {
14
- value: a.data.options.action,
15
- callback: function(t) {
16
- a.$set(a.data.options, "action", t);
17
- },
18
- expression: "data.options.action"
19
- }
20
- })], 1), e("div", {
21
- staticClass: "el-form-item el-form-item--small el-form--label-top"
22
- }, [e("label", {
23
- staticClass: "el-form-item__label",
24
- staticStyle: {
25
- padding: "0"
26
- }
27
- }, [e("ElLink", {
28
- attrs: {
29
- underline: !1,
30
- href: "https://avuejs.com/plugins/ueditor-plugins.html",
31
- target: "_blank"
32
- }
33
- }, [a._v("参数设置 "), e("i", {
34
- staticClass: "el-icon-question"
35
- })])], 1), e("div", {
36
- staticClass: "el-form-item__content"
37
- }, [a._v(" 返回的数据结构层次 "), e("ElInput", {
38
- attrs: {
39
- size: "small",
40
- placeholder: "返回的数据结构层次"
41
- },
42
- model: {
43
- value: a.data.options.props.res,
44
- callback: function(t) {
45
- a.$set(a.data.options.props, "res", t);
46
- },
47
- expression: "data.options.props.res"
48
- }
49
- }), a._v(" 返回结构体图片地址字段 "), e("ElInput", {
50
- attrs: {
51
- size: "small",
52
- placeholder: "返回结构体图片地址字段"
53
- },
54
- model: {
55
- value: a.data.options.props.url,
56
- callback: function(t) {
57
- a.$set(a.data.options.props, "url", t);
58
- },
59
- expression: "data.options.props.url"
60
- }
61
- })], 1)]), e("ElFormItem", {
62
- attrs: {
63
- label: "OSS"
64
- }
65
- }, [e("ElSelect", {
66
- attrs: {
67
- placeholder: "oss不写则为普通上传",
68
- clearable: ""
69
- },
70
- model: {
71
- value: a.data.options.oss,
72
- callback: function(t) {
73
- a.$set(a.data.options, "oss", t);
74
- },
75
- expression: "data.options.oss"
76
- }
77
- }, [e("ElOption", {
78
- attrs: {
79
- label: "阿里",
80
- value: "ali"
81
- }
82
- }), e("ElOption", {
83
- attrs: {
84
- label: "七牛",
85
- value: "qiniu"
86
- }
87
- })], 1)], 1), a.data.options.oss == "qiniu" ? [e("div", {
88
- staticClass: "el-form-item el-form-item--small el-form--label-top"
89
- }, [e("label", {
90
- staticClass: "el-form-item__label",
91
- staticStyle: {
92
- padding: "0"
93
- }
94
- }, [a._v("七牛oss配置:")]), e("div", {
95
- staticClass: "el-form-item__content"
96
- }, [a._v(" AK: "), e("ElInput", {
97
- attrs: {
98
- size: "small",
99
- clearable: "",
100
- placeholder: "七牛云的密钥(AK)"
101
- },
102
- model: {
103
- value: a.data.options.qiniu.AK,
104
- callback: function(t) {
105
- a.$set(a.data.options.qiniu, "AK", t);
106
- },
107
- expression: "data.options.qiniu.AK"
108
- }
109
- }), a._v(" SK: "), e("ElInput", {
110
- attrs: {
111
- size: "small",
112
- clearable: "",
113
- placeholder: "七牛云的密钥(SK)"
114
- },
115
- model: {
116
- value: a.data.options.qiniu.SK,
117
- callback: function(t) {
118
- a.$set(a.data.options.qiniu, "SK", t);
119
- },
120
- expression: "data.options.qiniu.SK"
121
- }
122
- }), a._v(" scope: "), e("ElInput", {
123
- attrs: {
124
- size: "small",
125
- clearable: "",
126
- placeholder: "七牛云存储的空间名"
127
- },
128
- model: {
129
- value: a.data.options.qiniu.scope,
130
- callback: function(t) {
131
- a.$set(a.data.options.qiniu, "scope", t);
132
- },
133
- expression: "data.options.qiniu.scope"
134
- }
135
- }), a._v(" url: "), e("ElInput", {
136
- attrs: {
137
- size: "small",
138
- clearable: "",
139
- placeholder: "空间的自定义域名"
140
- },
141
- model: {
142
- value: a.data.options.qiniu.url,
143
- callback: function(t) {
144
- a.$set(a.data.options.qiniu, "url", t);
145
- },
146
- expression: "data.options.qiniu.url"
147
- }
148
- }), a._v(" deadline: "), e("ElInput", {
149
- attrs: {
150
- size: "small",
151
- clearable: "",
152
- placeholder: "token的过期时间"
153
- },
154
- model: {
155
- value: a.data.options.qiniu.deadline,
156
- callback: function(t) {
157
- a.$set(a.data.options.qiniu, "deadline", t);
158
- },
159
- expression: "data.options.qiniu.deadline"
160
- }
161
- })], 1)])] : a._e(), a.data.options.oss === "ali" ? [e("div", {
162
- staticClass: "el-form-item el-form-item--small el-form--label-top"
163
- }, [e("label", {
164
- staticClass: "el-form-item__label",
165
- staticStyle: {
166
- padding: "0"
167
- }
168
- }, [a._v("七牛oss配置:")]), e("div", {
169
- staticClass: "el-form-item__content"
170
- }, [a._v(" region: "), e("ElInput", {
171
- attrs: {
172
- size: "small",
173
- clearable: "",
174
- placeholder: "region"
175
- },
176
- model: {
177
- value: a.data.options.ali.region,
178
- callback: function(t) {
179
- a.$set(a.data.options.ali, "region", t);
180
- },
181
- expression: "data.options.ali.region"
182
- }
183
- }), a._v(" endpoint: "), e("ElInput", {
184
- attrs: {
185
- size: "small",
186
- clearable: "",
187
- placeholder: "endpoint"
188
- },
189
- model: {
190
- value: a.data.options.ali.endpoint,
191
- callback: function(t) {
192
- a.$set(a.data.options.ali, "endpoint", t);
193
- },
194
- expression: "data.options.ali.endpoint"
195
- }
196
- }), a._v(" accessKeyId: "), e("ElInput", {
197
- attrs: {
198
- size: "small",
199
- clearable: "",
200
- placeholder: "accessKeyId"
201
- },
202
- model: {
203
- value: a.data.options.ali.accessKeyId,
204
- callback: function(t) {
205
- a.$set(a.data.options.ali, "accessKeyId", t);
206
- },
207
- expression: "data.options.ali.accessKeyId"
208
- }
209
- }), a._v(" accessKeySecret: "), e("ElInput", {
210
- attrs: {
211
- size: "small",
212
- clearable: "",
213
- placeholder: "accessKeySecret"
214
- },
215
- model: {
216
- value: a.data.options.ali.accessKeySecret,
217
- callback: function(t) {
218
- a.$set(a.data.options.ali, "accessKeySecret", t);
219
- },
220
- expression: "data.options.ali.accessKeySecret"
221
- }
222
- }), a._v(" bucket: "), e("ElInput", {
223
- attrs: {
224
- size: "small",
225
- clearable: "",
226
- placeholder: "bucket "
227
- },
228
- model: {
229
- value: a.data.options.ali.bucket,
230
- callback: function(t) {
231
- a.$set(a.data.options.ali, "bucket", t);
232
- },
233
- expression: "data.options.ali.bucket"
234
- }
235
- })], 1)])] : a._e()], 2);
236
- }, o = [];
237
- export {
238
- s as r,
239
- o as s
240
- };