@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,99 +1,99 @@
1
- import { p as s, e as o } from "../../chunks/event.dd6f522d.js";
2
- import { n as r } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
3
- var u = function() {
4
- var t = this, i = t.$createElement, e = t._self._c || i;
5
- return e("div", {
1
+ import { p as props, e as event } from "../../chunks/event.fc358074.js";
2
+ import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.77ec6792.js";
3
+ var render = function() {
4
+ var _vm = this, _h = _vm.$createElement, _c = _vm._self._c || _h;
5
+ return _c("div", {
6
6
  staticClass: "avue-input-icon"
7
- }, [e("ElInput", {
7
+ }, [_c("ElInput", {
8
8
  ref: "main",
9
9
  attrs: {
10
- placeholder: t.placeholder,
11
- size: t.size,
12
- clearable: t.clearableVal,
13
- disabled: t.disabled
10
+ placeholder: _vm.placeholder,
11
+ size: _vm.size,
12
+ clearable: _vm.clearableVal,
13
+ disabled: _vm.disabled
14
14
  },
15
15
  on: {
16
- focus: t.handleShow
16
+ focus: _vm.handleShow
17
17
  },
18
18
  nativeOn: {
19
- click: function(n) {
20
- return t.handleClick.apply(null, arguments);
19
+ click: function($event) {
20
+ return _vm.handleClick.apply(null, arguments);
21
21
  }
22
22
  },
23
23
  model: {
24
- value: t.text,
25
- callback: function(n) {
26
- t.text = n;
24
+ value: _vm.text,
25
+ callback: function($$v) {
26
+ _vm.text = $$v;
27
27
  },
28
28
  expression: "text"
29
29
  }
30
- }, [e("IconTemp", {
30
+ }, [_c("IconTemp", {
31
31
  attrs: {
32
32
  slot: "append",
33
- text: t.text,
33
+ text: _vm.text,
34
34
  size: 28,
35
- small: t.size === "mini"
35
+ small: _vm.size === "mini"
36
36
  },
37
37
  on: {
38
- click: t.handleShow
38
+ click: _vm.handleShow
39
39
  },
40
40
  slot: "append"
41
- })], 1), t.box ? e("div", [e("ElementDialog", {
41
+ })], 1), _vm.box ? _c("div", [_c("ElementDialog", {
42
42
  attrs: {
43
- title: t.placeholder,
44
- visible: t.box,
45
- width: t.dialogWidth
43
+ title: _vm.placeholder,
44
+ visible: _vm.box,
45
+ width: _vm.dialogWidth
46
46
  },
47
47
  on: {
48
- "update:visible": function(n) {
49
- t.box = n;
48
+ "update:visible": function($event) {
49
+ _vm.box = $event;
50
50
  }
51
51
  }
52
- }, [e("div", {
52
+ }, [_c("div", {
53
53
  staticClass: "avue-input-icon__filter"
54
- }, [e("ElInput", {
54
+ }, [_c("ElInput", {
55
55
  attrs: {
56
56
  placeholder: "请输入",
57
- size: t.size
57
+ size: _vm.size
58
58
  },
59
59
  model: {
60
- value: t.filterText,
61
- callback: function(n) {
62
- t.filterText = n;
60
+ value: _vm.filterText,
61
+ callback: function($$v) {
62
+ _vm.filterText = $$v;
63
63
  },
64
64
  expression: "filterText"
65
65
  }
66
- })], 1), e("FyTabs", {
66
+ })], 1), _c("FyTabs", {
67
67
  attrs: {
68
- option: t.option
68
+ option: _vm.option
69
69
  },
70
70
  on: {
71
- change: t.handleTabs
71
+ change: _vm.handleTabs
72
72
  }
73
- }), e("div", {
73
+ }), _c("div", {
74
74
  staticClass: "avue-input-icon__list"
75
- }, t._l(t.list, function(n, a) {
76
- return e("div", {
77
- key: a,
75
+ }, _vm._l(_vm.list, function(item, index) {
76
+ return _c("div", {
77
+ key: index,
78
78
  class: ["avue-input-icon__item", {
79
- active: t.text === n
79
+ active: _vm.text === item
80
80
  }],
81
81
  on: {
82
- click: function(v) {
83
- return t.handleSubmit(n.value);
82
+ click: function($event) {
83
+ return _vm.handleSubmit(item.value);
84
84
  }
85
85
  }
86
- }, [e("IconTemp", {
86
+ }, [_c("IconTemp", {
87
87
  attrs: {
88
- text: n.value,
89
- small: t.size === "mini"
88
+ text: item.value,
89
+ small: _vm.size === "mini"
90
90
  }
91
- }), e("p", [t._v(t._s(n.label || n.value))])], 1);
92
- }), 0)], 1)], 1) : t._e()], 1);
93
- }, c = [];
94
- const d = {
91
+ }), _c("p", [_vm._v(_vm._s(item.label || item.value))])], 1);
92
+ }), 0)], 1)], 1) : _vm._e()], 1);
93
+ }, staticRenderFns = [];
94
+ const __vue2_script = {
95
95
  name: "FyInputIcon",
96
- mixins: [s, o],
96
+ mixins: [props, event],
97
97
  props: {
98
98
  dialogWidth: {
99
99
  type: String,
@@ -113,10 +113,10 @@ const d = {
113
113
  },
114
114
  computed: {
115
115
  list() {
116
- let t = (this.tabs.list || []).map((i) => !i.value && !i.label ? {
117
- value: i
118
- } : i);
119
- return this.filterText && (t = t.filter((i) => i.label.indexOf(this.filterText) !== -1)), t;
116
+ let list = (this.tabs.list || []).map((ele) => !ele.value && !ele.label ? {
117
+ value: ele
118
+ } : ele);
119
+ return this.filterText && (list = list.filter((ele) => ele.label.indexOf(this.filterText) !== -1)), list;
120
120
  },
121
121
  option() {
122
122
  return {
@@ -128,34 +128,34 @@ const d = {
128
128
  this.tabs = this.iconList[0] || {};
129
129
  },
130
130
  methods: {
131
- handleTabs(t) {
132
- this.tabs = t;
131
+ handleTabs(tabs) {
132
+ this.tabs = tabs;
133
133
  },
134
- handleSubmit(t) {
135
- this.box = !1, this.text = t, this.handleChange(t);
134
+ handleSubmit(item) {
135
+ this.box = !1, this.text = item, this.handleChange(item);
136
136
  },
137
137
  handleShow() {
138
138
  this.$refs.main.blur(), !(this.disabled || this.readonly) && (this.box = !0);
139
139
  }
140
140
  }
141
- }, l = {};
142
- var p = /* @__PURE__ */ r(
143
- d,
144
- u,
145
- c,
141
+ }, __cssModules = {};
142
+ var __component__ = /* @__PURE__ */ normalizeComponent(
143
+ __vue2_script,
144
+ render,
145
+ staticRenderFns,
146
146
  !1,
147
- h,
147
+ __vue2_injectStyles,
148
148
  null,
149
149
  null,
150
150
  null
151
151
  );
152
- function h(t) {
153
- for (let i in l)
154
- this[i] = l[i];
152
+ function __vue2_injectStyles(context) {
153
+ for (let o in __cssModules)
154
+ this[o] = __cssModules[o];
155
155
  }
156
- const b = /* @__PURE__ */ function() {
157
- return p.exports;
156
+ const FyInputIcon = /* @__PURE__ */ function() {
157
+ return __component__.exports;
158
158
  }();
159
159
  export {
160
- b as default
160
+ FyInputIcon as default
161
161
  };
@@ -1,108 +1,108 @@
1
- import { p, e as u } from "../../chunks/event.dd6f522d.js";
2
- import { isBlank as d } from "@web-utils/core";
3
- import { n as h } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
4
- var m = function() {
5
- var e = this, t = e.$createElement, a = e._self._c || t;
6
- return a("div", {
1
+ import { p as props, e as event } from "../../chunks/event.fc358074.js";
2
+ import { isBlank } from "@web-utils/core";
3
+ import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.77ec6792.js";
4
+ var render = function() {
5
+ var _vm = this, _h = _vm.$createElement, _c = _vm._self._c || _h;
6
+ return _c("div", {
7
7
  staticClass: "avue-input-map"
8
- }, [a("ElInput", {
8
+ }, [_c("ElInput", {
9
9
  ref: "main",
10
10
  attrs: {
11
- size: e.size,
12
- clearable: e.clearableVal,
13
- rows: e.rows,
11
+ size: _vm.size,
12
+ clearable: _vm.clearableVal,
13
+ rows: _vm.rows,
14
14
  autosize: {
15
- minRows: e.minRows,
16
- maxRows: e.maxRows
15
+ minRows: _vm.minRows,
16
+ maxRows: _vm.maxRows
17
17
  },
18
- disabled: e.disabled,
18
+ disabled: _vm.disabled,
19
19
  type: "textarea",
20
- placeholder: e.placeholder
20
+ placeholder: _vm.placeholder
21
21
  },
22
22
  on: {
23
- clear: e.handleClear,
24
- focus: e.handleShow
23
+ clear: _vm.handleClear,
24
+ focus: _vm.handleShow
25
25
  },
26
26
  nativeOn: {
27
- click: function(i) {
28
- return e.handleClick.apply(null, arguments);
27
+ click: function($event) {
28
+ return _vm.handleClick.apply(null, arguments);
29
29
  }
30
30
  },
31
31
  model: {
32
- value: e.address,
33
- callback: function(i) {
34
- e.address = i;
32
+ value: _vm.address,
33
+ callback: function($$v) {
34
+ _vm.address = $$v;
35
35
  },
36
36
  expression: "address"
37
37
  }
38
- }), e.box ? a("div", [a("ElementDialog", {
38
+ }), _vm.box ? _c("div", [_c("ElementDialog", {
39
39
  attrs: {
40
40
  "show-full-screen": "",
41
- width: e.dialogWidth,
42
- title: e.placeholder,
43
- visible: e.box
41
+ width: _vm.dialogWidth,
42
+ title: _vm.placeholder,
43
+ visible: _vm.box
44
44
  },
45
45
  on: {
46
- "update:visible": function(i) {
47
- e.box = i;
46
+ "update:visible": function($event) {
47
+ _vm.box = $event;
48
48
  },
49
- close: e.handleClose
49
+ close: _vm.handleClose
50
50
  },
51
- scopedSlots: e._u([{
51
+ scopedSlots: _vm._u([{
52
52
  key: "footer",
53
53
  fn: function() {
54
- return [e.disabled || e.readonly ? e._e() : a("ElButton", {
54
+ return [_vm.disabled || _vm.readonly ? _vm._e() : _c("ElButton", {
55
55
  attrs: {
56
56
  type: "primary",
57
- size: e.size,
57
+ size: _vm.size,
58
58
  icon: "el-icon-check"
59
59
  },
60
60
  on: {
61
- click: e.handleSubmit
61
+ click: _vm.handleSubmit
62
62
  }
63
- }, [e._v(" 确 定 ")])];
63
+ }, [_vm._v(" 确 定 ")])];
64
64
  },
65
65
  proxy: !0
66
66
  }], null, !1, 1816263233)
67
- }, [e.box ? a("div", {
67
+ }, [_vm.box ? _c("div", {
68
68
  staticClass: "avue-input-map__content"
69
- }, [a("ElInput", {
69
+ }, [_c("ElInput", {
70
70
  staticClass: "avue-input-map__content-input",
71
71
  attrs: {
72
72
  id: "map__input",
73
- size: e.size,
74
- readonly: e.disabled,
73
+ size: _vm.size,
74
+ readonly: _vm.disabled,
75
75
  clearable: "",
76
76
  placeholder: "输入关键字选取地点"
77
77
  },
78
78
  on: {
79
- clear: e.clear
79
+ clear: _vm.clear
80
80
  },
81
81
  model: {
82
- value: e.formattedAddress,
83
- callback: function(i) {
84
- e.formattedAddress = i;
82
+ value: _vm.formattedAddress,
83
+ callback: function($$v) {
84
+ _vm.formattedAddress = $$v;
85
85
  },
86
86
  expression: "formattedAddress"
87
87
  }
88
- }), a("div", {
88
+ }), _c("div", {
89
89
  staticClass: "avue-input-map__content-box"
90
- }, [a("div", {
90
+ }, [_c("div", {
91
91
  staticClass: "avue-input-map__content-container",
92
92
  attrs: {
93
93
  id: "map__container",
94
94
  tabindex: "0"
95
95
  }
96
- }), a("div", {
96
+ }), _c("div", {
97
97
  staticClass: "avue-input-map__content-result",
98
98
  attrs: {
99
99
  id: "map__result"
100
100
  }
101
- })])], 1) : e._e()])], 1) : e._e()], 1);
102
- }, _ = [];
103
- const f = {
101
+ })])], 1) : _vm._e()])], 1) : _vm._e()], 1);
102
+ }, staticRenderFns = [];
103
+ const __vue2_script = {
104
104
  name: "FyInputMap",
105
- mixins: [p, u],
105
+ mixins: [props, event],
106
106
  props: {
107
107
  dialogWidth: {
108
108
  type: String,
@@ -129,30 +129,30 @@ const f = {
129
129
  },
130
130
  computed: {
131
131
  longitude() {
132
- var e;
133
- return (e = this.text) == null ? void 0 : e[0];
132
+ var _a;
133
+ return (_a = this.text) == null ? void 0 : _a[0];
134
134
  },
135
135
  latitude() {
136
- var e;
137
- return (e = this.text) == null ? void 0 : e[1];
136
+ var _a;
137
+ return (_a = this.text) == null ? void 0 : _a[1];
138
138
  },
139
139
  title() {
140
140
  return this.disabled || this.readonly ? "查看" : "选择";
141
141
  }
142
142
  },
143
143
  watch: {
144
- poi(e) {
145
- this.formattedAddress = e.formattedAddress;
144
+ poi(val) {
145
+ this.formattedAddress = val.formattedAddress;
146
146
  },
147
- value(e) {
148
- d(e) && (this.poi = {}, this.address = "");
147
+ value(val) {
148
+ isBlank(val) && (this.poi = {}, this.address = "");
149
149
  },
150
- text(e) {
151
- d(e) || (this.poi = {
152
- longitude: e[0],
153
- latitude: e[1],
154
- formattedAddress: e[2]
155
- }, this.address = e[2]);
150
+ text(val) {
151
+ isBlank(val) || (this.poi = {
152
+ longitude: val[0],
153
+ latitude: val[1],
154
+ formattedAddress: val[2]
155
+ }, this.address = val[2]);
156
156
  },
157
157
  box: {
158
158
  handler() {
@@ -182,27 +182,27 @@ const f = {
182
182
  this.$refs.main.blur(), this.box = !0;
183
183
  },
184
184
  // 新增坐标
185
- addMarker(e, t) {
186
- this.clearMarker(), this.marker = new window.AMap.Marker({ position: [e, t] }), this.marker.setMap(this.map);
185
+ addMarker(R, P) {
186
+ this.clearMarker(), this.marker = new window.AMap.Marker({ position: [R, P] }), this.marker.setMap(this.map);
187
187
  },
188
188
  // 清空坐标
189
189
  clearMarker() {
190
190
  this.marker && (this.marker.setMap(null), this.marker = null);
191
191
  },
192
192
  // 获取坐标
193
- getAddress(e, t) {
193
+ getAddress(R, P) {
194
194
  new window.AMap.service("AMap.Geocoder", () => {
195
- new window.AMap.Geocoder({}).getAddress([e, t], (i, r) => {
196
- if (i === "complete" && r.info === "OK") {
197
- const c = r.regeocode;
198
- this.poi = Object.assign(c, {
199
- longitude: e,
200
- latitude: t
195
+ new window.AMap.Geocoder({}).getAddress([R, P], (status, result) => {
196
+ if (status === "complete" && result.info === "OK") {
197
+ const regeocode = result.regeocode;
198
+ this.poi = Object.assign(regeocode, {
199
+ longitude: R,
200
+ latitude: P
201
201
  });
202
- const s = document.createElement("div"), o = document.createElement("img");
203
- o.src = "//a.amap.com/jsapi_demos/static/demo-center/icons/poi-marker-default.png", s.appendChild(o);
204
- const n = document.createElement("span");
205
- n.className = "avue-input-map__marker", n.innerHTML = this.poi.formattedAddress, s.appendChild(n), this.marker.setContent(s);
202
+ const markerContent = document.createElement("div"), markerImg = document.createElement("img");
203
+ markerImg.src = "//a.amap.com/jsapi_demos/static/demo-center/icons/poi-marker-default.png", markerContent.appendChild(markerImg);
204
+ const markerSpan = document.createElement("span");
205
+ markerSpan.className = "avue-input-map__marker", markerSpan.innerHTML = this.poi.formattedAddress, markerContent.appendChild(markerSpan), this.marker.setContent(markerContent);
206
206
  }
207
207
  });
208
208
  });
@@ -214,22 +214,22 @@ const f = {
214
214
  this.map.on("click", (e) => {
215
215
  if (this.disabled || this.readonly)
216
216
  return;
217
- const t = e.lnglat, a = t.P || t.Q, i = t.R;
218
- this.addMarker(i, a), this.getAddress(i, a);
217
+ const lnglat = e.lnglat, P = lnglat.P || lnglat.Q, R = lnglat.R;
218
+ this.addMarker(R, P), this.getAddress(R, P);
219
219
  });
220
220
  },
221
- init(e) {
221
+ init(callback) {
222
222
  this.map = new window.AMap.Map("map__container", Object.assign({
223
223
  zoom: 13,
224
224
  center: (() => {
225
225
  if (this.longitude && this.latitude)
226
226
  return [this.longitude, this.latitude];
227
227
  })()
228
- }, this.params)), this.initPoip(), this.addClick(), e();
228
+ }, this.params)), this.initPoip(), this.addClick(), callback();
229
229
  },
230
230
  initPoip() {
231
- window.AMapUI.loadUI(["misc/PoiPicker"], (e) => {
232
- const t = new e({
231
+ window.AMapUI.loadUI(["misc/PoiPicker"], (PoiPicker) => {
232
+ const poiPicker = new PoiPicker({
233
233
  input: "map__input",
234
234
  placeSearchOptions: {
235
235
  map: this.map,
@@ -237,39 +237,39 @@ const f = {
237
237
  },
238
238
  searchResultsContainer: "map__result"
239
239
  });
240
- this.poiPickerReady(t);
240
+ this.poiPickerReady(poiPicker);
241
241
  });
242
242
  },
243
- poiPickerReady(e) {
244
- window.poiPicker = e, e.on("poiPicked", (t) => {
243
+ poiPickerReady(poiPicker) {
244
+ window.poiPicker = poiPicker, poiPicker.on("poiPicked", (poiResult) => {
245
245
  this.clearMarker();
246
- const a = t.source, i = t.item;
247
- this.poi = Object.assign(i, {
248
- formattedAddress: i.name,
249
- longitude: i.location.R,
250
- latitude: i.location.P || i.location.Q
251
- }), a !== "search" && e.searchByKeyword(i.name);
246
+ const source = poiResult.source, poi = poiResult.item;
247
+ this.poi = Object.assign(poi, {
248
+ formattedAddress: poi.name,
249
+ longitude: poi.location.R,
250
+ latitude: poi.location.P || poi.location.Q
251
+ }), source !== "search" && poiPicker.searchByKeyword(poi.name);
252
252
  });
253
253
  }
254
254
  }
255
- }, l = {};
256
- var k = /* @__PURE__ */ h(
257
- f,
258
- m,
259
- _,
255
+ }, __cssModules = {};
256
+ var __component__ = /* @__PURE__ */ normalizeComponent(
257
+ __vue2_script,
258
+ render,
259
+ staticRenderFns,
260
260
  !1,
261
- g,
261
+ __vue2_injectStyles,
262
262
  null,
263
263
  null,
264
264
  null
265
265
  );
266
- function g(e) {
267
- for (let t in l)
268
- this[t] = l[t];
266
+ function __vue2_injectStyles(context) {
267
+ for (let o in __cssModules)
268
+ this[o] = __cssModules[o];
269
269
  }
270
- const x = /* @__PURE__ */ function() {
271
- return k.exports;
270
+ const FyInputMap = /* @__PURE__ */ function() {
271
+ return __component__.exports;
272
272
  }();
273
273
  export {
274
- x as default
274
+ FyInputMap as default
275
275
  };
@@ -1,44 +1,44 @@
1
- import { p as o, e as a } from "../../chunks/event.dd6f522d.js";
2
- import { n as s } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
3
- var i = function() {
4
- var e = this, t = e.$createElement, r = e._self._c || t;
5
- return r("ElInputNumber", {
1
+ import { p as props, e as event } from "../../chunks/event.fc358074.js";
2
+ import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.77ec6792.js";
3
+ var render = function() {
4
+ var _vm = this, _h = _vm.$createElement, _c = _vm._self._c || _h;
5
+ return _c("ElInputNumber", {
6
6
  staticClass: "avue-input-number",
7
7
  attrs: {
8
- precision: e.precision,
9
- placeholder: e.placeholder,
10
- size: e.size,
11
- min: e.min,
12
- max: e.max,
13
- step: e.step,
14
- clearable: e.clearableVal,
15
- readonly: e.readonly,
16
- "controls-position": e.controlsPosition,
17
- controls: e.controls,
18
- label: e.placeholder,
19
- disabled: e.disabled
8
+ precision: _vm.precision,
9
+ placeholder: _vm.placeholder,
10
+ size: _vm.size,
11
+ min: _vm.min,
12
+ max: _vm.max,
13
+ step: _vm.step,
14
+ clearable: _vm.clearableVal,
15
+ readonly: _vm.readonly,
16
+ "controls-position": _vm.controlsPosition,
17
+ controls: _vm.controls,
18
+ label: _vm.placeholder,
19
+ disabled: _vm.disabled
20
20
  },
21
21
  on: {
22
- focus: e.handleFocus,
23
- blur: e.handleBlur
22
+ focus: _vm.handleFocus,
23
+ blur: _vm.handleBlur
24
24
  },
25
25
  nativeOn: {
26
- click: function(n) {
27
- return e.handleClick.apply(null, arguments);
26
+ click: function($event) {
27
+ return _vm.handleClick.apply(null, arguments);
28
28
  }
29
29
  },
30
30
  model: {
31
- value: e.text,
32
- callback: function(n) {
33
- e.text = e._n(n);
31
+ value: _vm.text,
32
+ callback: function($$v) {
33
+ _vm.text = _vm._n($$v);
34
34
  },
35
35
  expression: "text"
36
36
  }
37
37
  });
38
- }, u = [];
39
- const c = {
38
+ }, staticRenderFns = [];
39
+ const __vue2_script = {
40
40
  name: "FyInputNumber",
41
- mixins: [o, a],
41
+ mixins: [props, event],
42
42
  props: {
43
43
  controls: {
44
44
  type: Boolean,
@@ -64,24 +64,24 @@ const c = {
64
64
  default: 1 / 0
65
65
  }
66
66
  }
67
- }, l = {};
68
- var p = /* @__PURE__ */ s(
69
- c,
70
- i,
71
- u,
67
+ }, __cssModules = {};
68
+ var __component__ = /* @__PURE__ */ normalizeComponent(
69
+ __vue2_script,
70
+ render,
71
+ staticRenderFns,
72
72
  !1,
73
- m,
73
+ __vue2_injectStyles,
74
74
  null,
75
75
  null,
76
76
  null
77
77
  );
78
- function m(e) {
79
- for (let t in l)
80
- this[t] = l[t];
78
+ function __vue2_injectStyles(context) {
79
+ for (let o in __cssModules)
80
+ this[o] = __cssModules[o];
81
81
  }
82
- const _ = /* @__PURE__ */ function() {
83
- return p.exports;
82
+ const FyInputNumber = /* @__PURE__ */ function() {
83
+ return __component__.exports;
84
84
  }();
85
85
  export {
86
- _ as default
86
+ FyInputNumber as default
87
87
  };