@web-utils/component 5.0.0-beta02 → 5.0.0-beta04

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 (385) hide show
  1. package/chunks/DialogForm.BzmXN481.mjs +37816 -0
  2. package/chunks/ElementDialog.BrqPs1yL.mjs +198 -0
  3. package/chunks/FormTemp.DWB4CV8h.mjs +251 -0
  4. package/chunks/FyButton.DGd1yE_h.mjs +27 -0
  5. package/chunks/{FyCurd.me083T8V.mjs → FyCurd.DmIW6Tjw.mjs} +500 -496
  6. package/chunks/{FyForm.vVp8aVtj.mjs → FyForm.Dh77gj0Z.mjs} +158 -156
  7. package/chunks/{FyUEditor.BymtA5SJ.mjs → FyUEditor.BMGigcYw.mjs} +7 -7
  8. package/chunks/{FyUpload.CA7Gfa6Q.mjs → FyUpload.Y_mVdD0K.mjs} +77 -77
  9. package/chunks/{MonacoEditor.B7BUQwb7.mjs → MonacoEditor.DQ1vPh6D.mjs} +8 -8
  10. package/chunks/dataformat.BpAzVPYN.mjs +165 -0
  11. package/chunks/{dic.C0abEij9.mjs → dic.N2PNjL8o.mjs} +1 -1
  12. package/chunks/{event.Dv4XTu8B.mjs → event.BevSLXu4.mjs} +10 -14
  13. package/chunks/{util.g-WQEec9.mjs → util.Cdt7t08t.mjs} +35 -50
  14. package/dialog/index.d.ts +14 -0
  15. package/dialog/props.d.ts +101 -0
  16. package/dialog-form/index.mjs +2 -145
  17. package/element-dialog/index.mjs +1 -1
  18. package/element-dialog/style.css +1 -1
  19. package/fy-array/index.mjs +7 -7
  20. package/fy-button/index.mjs +2 -0
  21. package/fy-button/style.css +1 -0
  22. package/fy-cascader/index.mjs +2 -2
  23. package/fy-checkbox/index.mjs +2 -2
  24. package/fy-curd/index.mjs +1 -1
  25. package/fy-curd/style.css +1 -1
  26. package/fy-date/index.mjs +2 -2
  27. package/fy-date/style.css +1 -1
  28. package/fy-dynamic/index.mjs +17 -21
  29. package/fy-empty/index.mjs +4 -4
  30. package/fy-form/index.mjs +1 -1
  31. package/fy-form/style.css +1 -1
  32. package/fy-input/index.mjs +3 -3
  33. package/fy-input-color/index.mjs +2 -3
  34. package/fy-input-map/index.mjs +36 -34
  35. package/fy-input-number/index.mjs +2 -2
  36. package/fy-input-table/index.mjs +40 -38
  37. package/fy-input-tree/index.mjs +19 -19
  38. package/fy-input-tree/style.css +1 -1
  39. package/fy-radio/index.mjs +3 -3
  40. package/fy-rate/index.mjs +3 -3
  41. package/fy-select/index.mjs +31 -31
  42. package/fy-slider/index.mjs +5 -5
  43. package/fy-switch/index.mjs +3 -3
  44. package/fy-tabs/index.mjs +1 -1
  45. package/fy-time/index.mjs +7 -7
  46. package/fy-title/index.mjs +2 -2
  47. package/fy-tree/index.mjs +76 -74
  48. package/fy-u-editor/index.mjs +1 -1
  49. package/fy-upload/index.mjs +1 -1
  50. package/icon-temp/index.mjs +1 -1
  51. package/index.d.ts +2 -142
  52. package/index.mjs +31 -179
  53. package/monaco-editor/index.mjs +1 -1
  54. package/package.json +11 -13
  55. package/web-types.json +2461 -20206
  56. package/address-input/index.mjs +0 -76
  57. package/address-input/style.css +0 -1
  58. package/affix/index.mjs +0 -72
  59. package/affix/style.css +0 -1
  60. package/aside-menu/index.mjs +0 -20
  61. package/aside-menu/style.css +0 -1
  62. package/avatar/index.mjs +0 -94
  63. package/avatar/style.css +0 -1
  64. package/awesome-button/index.mjs +0 -55
  65. package/capsule-tab/index.mjs +0 -27
  66. package/capsule-tab/style.css +0 -1
  67. package/card/index.mjs +0 -86
  68. package/card/style.css +0 -1
  69. package/carousel/index.mjs +0 -46
  70. package/carousel/style.css +0 -1
  71. package/chat/index.mjs +0 -441
  72. package/chat/style.css +0 -1
  73. package/chunk-file-uploader/index.mjs +0 -2
  74. package/chunk-file-uploader/style.css +0 -1
  75. package/chunks/ChunkFileUploader.C3EA0e5t.mjs +0 -114
  76. package/chunks/EditableTree.D0ByhRTi.mjs +0 -648
  77. package/chunks/ElementBaseInfo.B3pY8TkD.mjs +0 -209
  78. package/chunks/ElementDialog.DNsDHdQS.mjs +0 -251
  79. package/chunks/ElementForm.D_lXbe--.mjs +0 -627
  80. package/chunks/ElementListeners.Cufwd4bp.mjs +0 -656
  81. package/chunks/ElementMultiInstance.BhY8NY2z.mjs +0 -290
  82. package/chunks/ElementOtherConfig.DX1ZJ9w2.mjs +0 -51
  83. package/chunks/ElementProperties.BRafADXp.mjs +0 -196
  84. package/chunks/ElementTaskConfig.B6pqRir_.mjs +0 -446
  85. package/chunks/FlowCondition.Dvwji23j.mjs +0 -194
  86. package/chunks/FlowDesigner.LL-vXDIE.mjs +0 -5100
  87. package/chunks/FormBlock.Co7l6USP.mjs +0 -117
  88. package/chunks/FormCascader.DMY3uNc8.mjs +0 -1227
  89. package/chunks/FormInputTime.BC4FfWwY.mjs +0 -1774
  90. package/chunks/FormItem.BSXI2cZU.mjs +0 -89
  91. package/chunks/FormItemGroup.D2Htta7J.mjs +0 -149
  92. package/chunks/FormSelect.CY0K-izg.mjs +0 -1473
  93. package/chunks/FormSwitch.DLqFXaFF.mjs +0 -297
  94. package/chunks/FormTemp.PJFfNRls.mjs +0 -139
  95. package/chunks/FyFormDesign.BCxVyiWY.mjs +0 -5600
  96. package/chunks/ImagePreview.ByEWJYdu.mjs +0 -639
  97. package/chunks/Keyboard.4hi7CjGc.mjs +0 -379
  98. package/chunks/PageableTable.Ba3XSbZ5.mjs +0 -660
  99. package/chunks/RecordVideo.VRFTaHSp.mjs +0 -116
  100. package/chunks/SignalAndMessage.DYhKWs3X.mjs +0 -198
  101. package/chunks/SplitPane.Bwe5Rc0J.mjs +0 -219
  102. package/chunks/TableColumn.72HOXQkb.mjs +0 -186
  103. package/chunks/TableView.BxfsOAxU.mjs +0 -484
  104. package/chunks/Toolbar.BVziVmyT.mjs +0 -219
  105. package/chunks/UserTaskListeners.CkeyTpnn.mjs +0 -599
  106. package/chunks/VueCron.DEvY5-i7.mjs +0 -1823
  107. package/chunks/VueTreeSelect.C6Ycu28Z.mjs +0 -1873
  108. package/chunks/checkbox.C_9WZ8gc.mjs +0 -437
  109. package/chunks/confirmable-mixin.zegaXQTl.mjs +0 -1762
  110. package/chunks/core.DXaMPWGV.mjs +0 -51
  111. package/chunks/dataformat.CteBVoOe.mjs +0 -144
  112. package/chunks/dictionary.BRhZD-WH.mjs +0 -19
  113. package/chunks/dictionary.CNNpjPL2.mjs +0 -87
  114. package/chunks/event.B4iwtUNO.mjs +0 -4
  115. package/chunks/focus-trap.FbvlqAGe.mjs +0 -211
  116. package/chunks/form-input.BUGZmAI1.mjs +0 -34
  117. package/chunks/form-item.Ca8U2bIR.mjs +0 -712
  118. package/chunks/form-pick.DT5kumy4.mjs +0 -7
  119. package/chunks/form-validate.CUvMwtPN.mjs +0 -11
  120. package/chunks/icon.CxCY22-F.mjs +0 -26
  121. package/chunks/icon.ym7735_x.mjs +0 -251
  122. package/chunks/init.6jGmuY99.mjs +0 -115
  123. package/chunks/input.C2GWsuXE.mjs +0 -547
  124. package/chunks/install.yLcn5MLL.mjs +0 -84
  125. package/chunks/message.C4NdvfbE.mjs +0 -400
  126. package/chunks/photo-swipe.BxnG4lip.mjs +0 -55
  127. package/chunks/radio.CeLeSOEo.mjs +0 -273
  128. package/chunks/scroll.DWjS-gnW.mjs +0 -28
  129. package/chunks/scrollbar.CAmrlKi9.mjs +0 -345
  130. package/chunks/slot.DT5QwXL-.mjs +0 -25
  131. package/chunks/style.BmlGmjpO.mjs +0 -325
  132. package/chunks/sub-table-plus-props.CRX7ERxJ.mjs +0 -28
  133. package/chunks/tab-mixin.7zuMMM1E.mjs +0 -70
  134. package/chunks/tag.ZhEIVRpP.mjs +0 -141
  135. package/chunks/tooltip.DNiltmX1.mjs +0 -1939
  136. package/chunks/typescript.CLl-2siQ.mjs +0 -18
  137. package/chunks/use-aria.BW7nWOl1.mjs +0 -17
  138. package/chunks/use-composition.mUaomyno.mjs +0 -47
  139. package/chunks/use-deprecated.BfDSbZS9.mjs +0 -12
  140. package/chunks/use-empty-values.D8KYIiKR.mjs +0 -81
  141. package/chunks/use-form-item.BlWa7ZKe.mjs +0 -56
  142. package/chunks/use-global-config.DRovgom9.mjs +0 -57
  143. package/chunks/use-locale.Be9HCpTQ.mjs +0 -188
  144. package/chunks/util.Ce4MHRmD.mjs +0 -103
  145. package/chunks/utilSelf.BttmSVX6.mjs +0 -46
  146. package/chunks/utils.BGJfM4oG.mjs +0 -60
  147. package/chunks/utils.CSPl1l4f.mjs +0 -14
  148. package/chunks/validator.DuBSEj8O.mjs +0 -5
  149. package/chunks/vnode.C3PXzhmg.mjs +0 -14
  150. package/code-mirror-editor/index.mjs +0 -99
  151. package/code-mirror-editor/style.css +0 -1
  152. package/comment/index.mjs +0 -62
  153. package/comment/style.css +0 -1
  154. package/configComponents.d.ts +0 -29
  155. package/configComponents.mjs +0 -42
  156. package/confirm-button/index.mjs +0 -35
  157. package/confirmable/index.mjs +0 -8
  158. package/context-menu/index.mjs +0 -195
  159. package/context-menu/style.css +0 -1
  160. package/count-up/index.mjs +0 -99
  161. package/custom-scrollbar/index.mjs +0 -93
  162. package/data-box/index.mjs +0 -64
  163. package/data-box/style.css +0 -1
  164. package/data-card/index.mjs +0 -60
  165. package/data-card/style.css +0 -1
  166. package/data-card-text/index.mjs +0 -64
  167. package/data-card-text/style.css +0 -1
  168. package/data-display/index.mjs +0 -71
  169. package/data-display/style.css +0 -1
  170. package/data-icons/index.mjs +0 -70
  171. package/data-icons/style.css +0 -1
  172. package/data-imgtext/index.mjs +0 -67
  173. package/data-imgtext/style.css +0 -1
  174. package/data-operatext/index.mjs +0 -51
  175. package/data-operatext/style.css +0 -1
  176. package/data-panel/index.mjs +0 -57
  177. package/data-panel/style.css +0 -1
  178. package/data-pay/index.mjs +0 -105
  179. package/data-pay/style.css +0 -1
  180. package/data-price/index.mjs +0 -48
  181. package/data-price/style.css +0 -1
  182. package/data-progress/index.mjs +0 -67
  183. package/data-progress/style.css +0 -1
  184. package/data-rotate/index.mjs +0 -61
  185. package/data-rotate/style.css +0 -1
  186. package/data-table-picker/index.mjs +0 -120
  187. package/data-tabs/index.mjs +0 -67
  188. package/data-tabs/style.css +0 -1
  189. package/dynamic-table/index.mjs +0 -166
  190. package/dynamic-table/style.css +0 -1
  191. package/e-charts/index.mjs +0 -176
  192. package/e-charts/style.css +0 -1
  193. package/easy-popup/index.mjs +0 -92
  194. package/easy-popup/style.css +0 -1
  195. package/editable-progress/index.mjs +0 -113
  196. package/editable-progress/style.css +0 -1
  197. package/editable-tree/index.mjs +0 -2
  198. package/editable-tree/style.css +0 -1
  199. package/element-listeners/style.css +0 -1
  200. package/element-multi-instance/style.css +0 -1
  201. package/ellipsis/index.mjs +0 -124
  202. package/ellipsis/style.css +0 -1
  203. package/empty-view/index.mjs +0 -48
  204. package/empty-view/style.css +0 -1
  205. package/error-view/index.mjs +0 -39
  206. package/error-view/style.css +0 -1
  207. package/flex-column/index.mjs +0 -35
  208. package/flex-item/index.mjs +0 -61
  209. package/flex-row/index.mjs +0 -34
  210. package/flex-scroller/index.mjs +0 -29
  211. package/flex-scroller/style.css +0 -1
  212. package/flow/index.mjs +0 -240
  213. package/flow/style.css +0 -1
  214. package/flow-designer/index.mjs +0 -2
  215. package/flow-designer/style.css +0 -1
  216. package/flow-node/index.mjs +0 -56
  217. package/flow-viewer/index.mjs +0 -160
  218. package/flow-viewer/style.css +0 -1
  219. package/form-block/index.mjs +0 -2
  220. package/form-block/style.css +0 -1
  221. package/form-button/index.mjs +0 -36
  222. package/form-card/index.mjs +0 -14
  223. package/form-cascader/index.mjs +0 -2
  224. package/form-checkbox/index.mjs +0 -90
  225. package/form-checkbox-group/index.mjs +0 -162
  226. package/form-checkbox-group/style.css +0 -1
  227. package/form-date-picker/index.mjs +0 -156
  228. package/form-holder/index.mjs +0 -134
  229. package/form-holder/style.css +0 -1
  230. package/form-input/index.mjs +0 -114
  231. package/form-input-cron-expression/index.mjs +0 -98
  232. package/form-input-cron-expression/style.css +0 -1
  233. package/form-input-email/index.mjs +0 -66
  234. package/form-input-id-card/index.mjs +0 -74
  235. package/form-input-phone-number/index.mjs +0 -73
  236. package/form-input-tag/index.mjs +0 -89
  237. package/form-input-time/index.mjs +0 -2
  238. package/form-item/index.mjs +0 -2
  239. package/form-item/style.css +0 -1
  240. package/form-item-config-provider/index.mjs +0 -47
  241. package/form-item-group/index.mjs +0 -2
  242. package/form-item-group/style.css +0 -1
  243. package/form-radio-group/index.mjs +0 -162
  244. package/form-radio-group/style.css +0 -1
  245. package/form-select/index.mjs +0 -2
  246. package/form-select/style.css +0 -1
  247. package/form-switch/index.mjs +0 -2
  248. package/form-table/index.mjs +0 -132
  249. package/form-table-plus/index.mjs +0 -165
  250. package/form-textarea/index.mjs +0 -91
  251. package/form-tree-select/index.mjs +0 -90
  252. package/form-tree-select/style.css +0 -1
  253. package/form-tree-select-multiple/index.mjs +0 -93
  254. package/form-view/index.mjs +0 -280
  255. package/form-view/style.css +0 -1
  256. package/fy-article/index.mjs +0 -73
  257. package/fy-article/style.css +0 -1
  258. package/fy-code/index.mjs +0 -48
  259. package/fy-draggable/index.mjs +0 -323
  260. package/fy-draggable/style.css +0 -1
  261. package/fy-form-design/index.mjs +0 -2
  262. package/fy-form-design/style.css +0 -1
  263. package/fy-input-icon/index.mjs +0 -129
  264. package/fy-input-icon/style.css +0 -1
  265. package/fy-progress/index.mjs +0 -36
  266. package/guide-steps/index.mjs +0 -73
  267. package/guide-steps/style.css +0 -1
  268. package/helper-function.d.ts +0 -6
  269. package/helper-function.mjs +0 -49
  270. package/highlight-j-s/index.mjs +0 -51
  271. package/highlight-j-s/style.css +0 -1
  272. package/icon-card/index.mjs +0 -34
  273. package/icon-card/style.css +0 -1
  274. package/iframe-window/index.mjs +0 -39
  275. package/iframe-window/style.css +0 -1
  276. package/image-cropper/index.mjs +0 -171
  277. package/image-cropper/style.css +0 -1
  278. package/image-preview/index.mjs +0 -2
  279. package/image-preview/style.css +0 -1
  280. package/image-viewer/index.mjs +0 -70
  281. package/image-viewer/style.css +0 -1
  282. package/input-number-range/index.mjs +0 -78
  283. package/input-number-range/style.css +0 -1
  284. package/j-s-x-component/index.mjs +0 -14
  285. package/keyboard/index.mjs +0 -2
  286. package/keyboard/style.css +0 -1
  287. package/license/index.mjs +0 -106
  288. package/loading-view/index.mjs +0 -39
  289. package/loading-view/style.css +0 -1
  290. package/login/index.mjs +0 -252
  291. package/login/style.css +0 -1
  292. package/name-avatar/index.mjs +0 -61
  293. package/name-avatar/style.css +0 -1
  294. package/nav-bar/index.mjs +0 -34
  295. package/nav-bar/style.css +0 -1
  296. package/not-implement/index.mjs +0 -10
  297. package/not-implement/style.css +0 -1
  298. package/notice/index.mjs +0 -100
  299. package/notice/style.css +0 -1
  300. package/page/index.mjs +0 -19
  301. package/page/style.css +0 -1
  302. package/page-header/index.mjs +0 -27
  303. package/page-header/style.css +0 -1
  304. package/page-index/index.mjs +0 -121
  305. package/page-index/style.css +0 -1
  306. package/page-index-top/index.mjs +0 -80
  307. package/page-skeleton/index.mjs +0 -49
  308. package/page-skeleton/style.css +0 -1
  309. package/page-skeleton-new/index.mjs +0 -79
  310. package/page-skeleton-new/style.css +0 -1
  311. package/pageable-table/index.mjs +0 -2
  312. package/pageable-table/style.css +0 -1
  313. package/pageable-view/index.mjs +0 -280
  314. package/pageable-view/style.css +0 -1
  315. package/photo-swipe/index.d.ts +0 -8
  316. package/photo-swipe/index.mjs +0 -33
  317. package/picker-table-view/index.mjs +0 -225
  318. package/present-view/index.mjs +0 -271
  319. package/present-view/style.css +0 -1
  320. package/queue/index.mjs +0 -46
  321. package/queue/style.css +0 -1
  322. package/record-video/index.mjs +0 -2
  323. package/record-video/style.css +0 -1
  324. package/resize-observer/index.mjs +0 -45
  325. package/resize-observer/style.css +0 -1
  326. package/search/index.mjs +0 -116
  327. package/search/style.css +0 -1
  328. package/sign/index.mjs +0 -104
  329. package/sign/style.css +0 -1
  330. package/sign-panel/index.mjs +0 -183
  331. package/sign-panel/style.css +0 -1
  332. package/skeleton/index.mjs +0 -51
  333. package/skeleton/style.css +0 -1
  334. package/skeleton-panel/index.mjs +0 -34
  335. package/skeleton-panel/style.css +0 -1
  336. package/split-pane/index.mjs +0 -3
  337. package/split-pane/style.css +0 -1
  338. package/stateful/index.mjs +0 -71
  339. package/stateful/style.css +0 -1
  340. package/static-pageable-table/index.mjs +0 -72
  341. package/static-pageable-table/style.css +0 -1
  342. package/sub-table/index.mjs +0 -508
  343. package/sub-table/style.css +0 -1
  344. package/sub-table-plus/index.mjs +0 -593
  345. package/sub-table-plus/style.css +0 -1
  346. package/swiper/index.mjs +0 -128
  347. package/swiper/style.css +0 -1
  348. package/tab/index.mjs +0 -117
  349. package/tab/style.css +0 -1
  350. package/tab-item/index.mjs +0 -49
  351. package/table-column/index.mjs +0 -2
  352. package/table-column/style.css +0 -1
  353. package/table-view/index.mjs +0 -3
  354. package/table-view/style.css +0 -1
  355. package/tabs-view/index.mjs +0 -109
  356. package/tabs-view/style.css +0 -1
  357. package/tag-render/index.mjs +0 -80
  358. package/tag-render/style.css +0 -1
  359. package/text-ellipsis/index.mjs +0 -95
  360. package/text-ellipsis/style.css +0 -1
  361. package/toolbar/index.mjs +0 -2
  362. package/toolbar/style.css +0 -1
  363. package/toolbar-button/index.mjs +0 -143
  364. package/utils/style.css +0 -1
  365. package/verify/index.mjs +0 -58
  366. package/verify/style.css +0 -1
  367. package/video/index.d.ts +0 -10
  368. package/vue-cron/index.mjs +0 -2
  369. package/vue-cron/style.css +0 -1
  370. package/vue-qr-code/index.mjs +0 -32
  371. package/vue-quill-editor/index.mjs +0 -127
  372. package/vue-quill-editor/style.css +0 -1
  373. package/vue-tags-input/index.mjs +0 -348
  374. package/vue-tags-input/style.css +0 -1
  375. package/vue-tree-select/index.mjs +0 -2
  376. package/vue-tree-select/style.css +0 -1
  377. package/vue-video-player/index.mjs +0 -136
  378. package/vue-video-player/style.css +0 -1
  379. package/watermark/index.mjs +0 -47
  380. package/watermark/style.css +0 -1
  381. package/x-input-tag/index.mjs +0 -145
  382. package/x-input-tag/style.css +0 -1
  383. /package/chunks/{_plugin-vue_export-helper.7vrlOII_.mjs → _plugin-vue_export-helper.CTBRVsXt.mjs} +0 -0
  384. /package/chunks/{packages.BLDb9e6G.mjs → packages.W76nKiMk.mjs} +0 -0
  385. /package/chunks/{permission.C-IUDxQQ.mjs → permission.ZYdXiCsn.mjs} +0 -0
@@ -1,17 +1,17 @@
1
- import { t as e } from "./_plugin-vue_export-helper.7vrlOII_.mjs";
2
- import { C as t, O as n, a as r, b as i, f as a, l as o, n as s, v as c, x as l } from "./util.g-WQEec9.mjs";
3
- import { a as u, i as d, n as f, r as p, t as m } from "./dataformat.CteBVoOe.mjs";
4
- import { t as h } from "./packages.BLDb9e6G.mjs";
5
- import { i as g } from "./dic.C0abEij9.mjs";
6
- import { t as _ } from "./init.6jGmuY99.mjs";
7
- import { n as v, t as y } from "./FormTemp.PJFfNRls.mjs";
8
- import { Fragment as b, createBlock as x, createCommentVNode as S, createElementBlock as C, createElementVNode as w, createSlots as T, createTextVNode as E, createVNode as D, guardReactiveProps as O, mergeProps as k, normalizeClass as A, normalizeProps as j, normalizeStyle as M, openBlock as N, renderList as P, renderSlot as F, resolveComponent as I, resolveDynamicComponent as L, toDisplayString as R, vShow as z, withCtx as B, withDirectives as V, withModifiers as H } from "vue";
9
- import { isBlank as U } from "@web-utils/core";
1
+ import { _ as e, a as t, c as n, d as r, g as i, h as a, n as o, w as s, y as c } from "./util.Cdt7t08t.mjs";
2
+ import { n as l, r as u, t as d } from "./FormTemp.DWB4CV8h.mjs";
3
+ import { i as f } from "./dic.N2PNjL8o.mjs";
4
+ import { a as p, i as m, n as h, r as g, t as _ } from "./dataformat.BpAzVPYN.mjs";
5
+ import { t as v } from "./packages.W76nKiMk.mjs";
6
+ import { t as y } from "./_plugin-vue_export-helper.CTBRVsXt.mjs";
7
+ import { t as b } from "./FyButton.DGd1yE_h.mjs";
8
+ import { isBlank as x } from "@web-utils/core";
9
+ import { Fragment as S, createBlock as C, createCommentVNode as w, createElementBlock as T, createElementVNode as E, createSlots as D, createTextVNode as O, createVNode as k, guardReactiveProps as A, mergeProps as j, normalizeClass as M, normalizeProps as N, normalizeStyle as P, openBlock as F, renderList as I, renderSlot as L, resolveComponent as R, resolveDynamicComponent as z, toDisplayString as B, vShow as V, withCtx as H, withDirectives as U, withModifiers as W } from "vue";
10
10
  //#region src/components/utils/mock.ts
11
- var W = (e, t, n, r) => {
11
+ var G = (e, t, n, r) => {
12
12
  if (!r) return;
13
13
  if (!window.Mock) {
14
- h.logs("mock");
14
+ v.logs("mock");
15
15
  return;
16
16
  }
17
17
  let i = (window.Mock || {}).Random, a = {};
@@ -92,7 +92,7 @@ var W = (e, t, n, r) => {
92
92
  });
93
93
  }
94
94
  return p(), a;
95
- }, G = {
95
+ }, K = {
96
96
  name: "FormGroup",
97
97
  props: {
98
98
  arrow: {
@@ -119,7 +119,7 @@ var W = (e, t, n, r) => {
119
119
  },
120
120
  computed: {
121
121
  text() {
122
- return this.collapse ? 1 : 0;
122
+ return +!!this.collapse;
123
123
  },
124
124
  isHeader() {
125
125
  return this.$slots.header && this.header || (this.label || this.icon) && this.header;
@@ -134,33 +134,33 @@ var W = (e, t, n, r) => {
134
134
  methods: { handleChange(e) {
135
135
  this.$emit("change", e);
136
136
  } }
137
- }, K = { class: "avue-group__header" }, q = {
137
+ }, q = { class: "avue-group__header" }, J = {
138
138
  key: 1,
139
139
  class: "avue-group__title"
140
140
  };
141
- function J(e, t, n, r, i, a) {
142
- let o = I("ElCollapseItem"), s = I("ElCollapse");
143
- return n.display ? (N(), C("div", {
141
+ function Y(e, t, n, r, i, a) {
142
+ let o = R("ElCollapseItem"), s = R("ElCollapse");
143
+ return n.display ? (F(), T("div", {
144
144
  key: 0,
145
- class: A(["avue-group", {
145
+ class: M(["avue-group", {
146
146
  "avue-group--header": !a.isHeader,
147
147
  "avue-group__arrow": !n.arrow
148
148
  }])
149
- }, [F(e.$slots, "tabs"), D(s, {
149
+ }, [L(e.$slots, "tabs"), k(s, {
150
150
  modelValue: i.activeName,
151
151
  "onUpdate:modelValue": t[0] || (t[0] = (e) => i.activeName = e),
152
152
  value: a.text,
153
153
  onChange: a.handleChange
154
154
  }, {
155
- default: B(() => [D(o, {
155
+ default: H(() => [k(o, {
156
156
  name: 1,
157
157
  disabled: !n.arrow
158
158
  }, {
159
- title: B(() => [w("div", K, [F(e.$slots, "header", {}, () => [n.icon ? (N(), C("i", {
159
+ title: H(() => [E("div", q, [L(e.$slots, "header", {}, () => [n.icon ? (F(), T("i", {
160
160
  key: 0,
161
- class: A([n.icon, "avue-group__icon"])
162
- }, null, 2)) : S("v-if", !0), n.label ? (N(), C("h1", q, R(n.label), 1)) : S("v-if", !0)])])]),
163
- default: B(() => [F(e.$slots, "default")]),
161
+ class: M([n.icon, "avue-group__icon"])
162
+ }, null, 2)) : w("v-if", !0), n.label ? (F(), T("h1", J, B(n.label), 1)) : w("v-if", !0)])])]),
163
+ default: H(() => [L(e.$slots, "default")]),
164
164
  _: 3
165
165
  }, 8, ["disabled"])]),
166
166
  _: 3
@@ -168,10 +168,11 @@ function J(e, t, n, r, i, a) {
168
168
  "modelValue",
169
169
  "value",
170
170
  "onChange"
171
- ])], 2)) : S("v-if", !0);
171
+ ])], 2)) : w("v-if", !0);
172
172
  }
173
- var Y = /* @__PURE__ */ e(G, [["render", J]]), X = {
173
+ var X = /* @__PURE__ */ y(K, [["render", Y]]), Z = {
174
174
  name: "FyFormMenu",
175
+ components: { FyButton: b },
175
176
  inject: ["formSafe"],
176
177
  computed: {
177
178
  menuSpan() {
@@ -182,40 +183,40 @@ var Y = /* @__PURE__ */ e(G, [["render", J]]), X = {
182
183
  }
183
184
  }
184
185
  };
185
- function Z(e, t, n, r, i, a) {
186
- let o = I("ElButton"), s = I("ElFormItem"), c = I("ElCol");
187
- return a.formSafe.parentOption.menuBtn === !1 ? S("v-if", !0) : (N(), x(c, {
186
+ function Q(e, t, n, r, i, a) {
187
+ let o = R("FyButton"), s = R("ElFormItem"), c = R("ElCol");
188
+ return a.formSafe.parentOption.menuBtn === !1 ? w("v-if", !0) : (F(), C(c, {
188
189
  key: 0,
189
190
  span: a.menuSpan,
190
191
  md: a.menuSpan,
191
- style: M(a.styleName),
192
- class: A([
192
+ style: P(a.styleName),
193
+ class: M([
193
194
  "menu",
194
195
  a.formSafe.menuPosition,
195
196
  "no-print"
196
197
  ])
197
198
  }, {
198
- default: B(() => [D(s, {
199
+ default: H(() => [k(s, {
199
200
  "label-width": "0px",
200
201
  style: { "text-align": "center" }
201
202
  }, {
202
- default: B(() => [
203
- a.formSafe.isMock ? (N(), x(o, {
203
+ default: H(() => [
204
+ a.formSafe.isMock ? (F(), C(o, {
204
205
  key: 0,
205
206
  type: "primary",
206
207
  size: a.formSafe.controlSize,
207
- icon: "el-icon-edit-outline",
208
208
  disabled: a.formSafe.allDisabled,
209
209
  onClick: a.formSafe.handleMock
210
210
  }, {
211
- default: B(() => [E(R(a.formSafe.parentOption.mockText || "模拟"), 1)]),
211
+ icon: H(() => [...t[0] || (t[0] = [E("i", { class: "el-icon-edit-outline" }, null, -1)])]),
212
+ default: H(() => [O(B(a.formSafe.parentOption.mockText || "模拟") + " ", 1)]),
212
213
  _: 1
213
214
  }, 8, [
214
215
  "size",
215
216
  "disabled",
216
217
  "onClick"
217
- ])) : S("v-if", !0),
218
- a.formSafe.isPrint ? (N(), x(o, {
218
+ ])) : w("v-if", !0),
219
+ a.formSafe.isPrint ? (F(), C(o, {
219
220
  key: 1,
220
221
  type: "primary",
221
222
  size: a.formSafe.controlSize,
@@ -223,45 +224,44 @@ function Z(e, t, n, r, i, a) {
223
224
  disabled: a.formSafe.allDisabled,
224
225
  onClick: a.formSafe.handlePrint
225
226
  }, {
226
- default: B(() => [E(R(a.formSafe.parentOption.printText || "打印"), 1)]),
227
+ icon: H(() => [...t[1] || (t[1] = [E("i", { class: "el-icon-printer" }, null, -1)])]),
228
+ default: H(() => [O(B(a.formSafe.parentOption.printText || "打印") + " ", 1)]),
227
229
  _: 1
228
230
  }, 8, [
229
231
  "size",
230
232
  "disabled",
231
233
  "onClick"
232
- ])) : S("v-if", !0),
233
- a.formSafe.parentOption.submitBtn === !1 ? S("v-if", !0) : (N(), x(o, {
234
+ ])) : w("v-if", !0),
235
+ a.formSafe.parentOption.submitBtn === !1 ? w("v-if", !0) : (F(), C(o, {
234
236
  key: 2,
235
237
  type: "primary",
236
238
  size: a.formSafe.controlSize,
237
- icon: a.formSafe.parentOption.submitIcon || "el-icon-check",
238
239
  loading: a.formSafe.allDisabled,
239
240
  onClick: a.formSafe.submit
240
241
  }, {
241
- default: B(() => [E(R(a.formSafe.parentOption.submitText || "提交"), 1)]),
242
+ icon: H(() => [E("i", { class: M(a.formSafe.parentOption.submitIcon || "el-icon-check") }, null, 2)]),
243
+ default: H(() => [O(B(a.formSafe.parentOption.submitText || "提交") + " ", 1)]),
242
244
  _: 1
243
245
  }, 8, [
244
246
  "size",
245
- "icon",
246
247
  "loading",
247
248
  "onClick"
248
249
  ])),
249
- a.formSafe.parentOption.emptyBtn === !1 ? S("v-if", !0) : (N(), x(o, {
250
+ a.formSafe.parentOption.emptyBtn === !1 ? w("v-if", !0) : (F(), C(o, {
250
251
  key: 3,
251
- icon: a.formSafe.parentOption.emptyIcon || "el-icon-delete",
252
252
  size: a.formSafe.controlSize,
253
253
  disabled: a.formSafe.allDisabled,
254
254
  onClick: a.formSafe.resetForm
255
255
  }, {
256
- default: B(() => [E(R(a.formSafe.parentOption.emptyText || "清空"), 1)]),
256
+ icon: H(() => [E("i", { class: M(a.formSafe.parentOption.emptyIcon || "el-icon-delete") }, null, 2)]),
257
+ default: H(() => [O(B(a.formSafe.parentOption.emptyText || "清空") + " ", 1)]),
257
258
  _: 1
258
259
  }, 8, [
259
- "icon",
260
260
  "size",
261
261
  "disabled",
262
262
  "onClick"
263
263
  ])),
264
- F(e.$slots, "menuForm", {
264
+ L(e.$slots, "menuForm", {
265
265
  disabled: a.formSafe.allDisabled,
266
266
  size: a.formSafe.controlSize
267
267
  })
@@ -278,14 +278,14 @@ function Z(e, t, n, r, i, a) {
278
278
  }
279
279
  //#endregion
280
280
  //#region src/components/fy-from/FyForm.vue
281
- var Q = {
281
+ var $ = {
282
282
  name: "FyForm",
283
283
  components: {
284
- FormTemp: y,
285
- FyFormMenu: /* @__PURE__ */ e(X, [["render", Z]]),
286
- FormGroup: Y
284
+ FormTemp: d,
285
+ FyFormMenu: /* @__PURE__ */ y(Z, [["render", Q]]),
286
+ FormGroup: X
287
287
  },
288
- mixins: [_],
288
+ mixins: [l],
289
289
  provide() {
290
290
  return { formSafe: this };
291
291
  },
@@ -304,7 +304,7 @@ var Q = {
304
304
  type: Boolean,
305
305
  default: !1
306
306
  },
307
- value: {
307
+ modelValue: {
308
308
  type: Object,
309
309
  default: () => ({})
310
310
  }
@@ -314,7 +314,8 @@ var Q = {
314
314
  "error",
315
315
  "tab-click",
316
316
  "change",
317
- "update:modelValue"
317
+ "update:modelValue",
318
+ "reset-change"
318
319
  ],
319
320
  data() {
320
321
  return {
@@ -357,7 +358,7 @@ var Q = {
357
358
  return this.boxType === "view";
358
359
  },
359
360
  gutter() {
360
- return l((this.parentOption.gutter || 10) / 2);
361
+ return e((this.parentOption.gutter || 10) / 2);
361
362
  },
362
363
  detail() {
363
364
  return this.parentOption.detail;
@@ -392,18 +393,18 @@ var Q = {
392
393
  return this.tableOption || {};
393
394
  },
394
395
  columnOption() {
395
- let e = this.tableOption.column || [], t = r(this.tableOption.group) || [], n = this.tableOption.footer || [];
396
- return t.unshift({
396
+ let e = this.tableOption.column || [], n = t(this.tableOption.group) || [], r = this.tableOption.footer || [];
397
+ return n.unshift({
397
398
  header: !1,
398
399
  column: e
399
- }), n.length !== 0 && t.push({
400
+ }), r.length !== 0 && n.push({
400
401
  header: !1,
401
- column: n
402
- }), t.forEach((e) => {
402
+ column: r
403
+ }), n.forEach((e) => {
403
404
  e.column = e.column || [], e.column.forEach((e, t) => {
404
- e.display !== !1 && !this.isMobile && (e = f(e, this.itemSpanDefault, t === 0));
405
- }), e.column = m(e.column), e.column = e.column.sort((e, t) => (t.order || 0) - (e.order || 0));
406
- }), t;
405
+ e.display !== !1 && !this.isMobile && (e = h(e, this.itemSpanDefault, t === 0));
406
+ }), e.column = _(e.column), e.column = e.column.sort((e, t) => (t.order || 0) - (e.order || 0));
407
+ }), n;
407
408
  },
408
409
  menuPosition() {
409
410
  return this.parentOption.menuPosition ? this.parentOption.menuPosition : "center";
@@ -422,7 +423,7 @@ var Q = {
422
423
  }
423
424
  },
424
425
  watch: {
425
- value: {
426
+ modelValue: {
426
427
  handler() {
427
428
  this.formCreate && this.setForm();
428
429
  },
@@ -468,11 +469,11 @@ var Q = {
468
469
  });
469
470
  },
470
471
  methods: {
471
- setPx: l,
472
- deepClone: r,
473
- getComponent: d,
474
- getPlaceholder: u,
475
- uploadFun: t,
472
+ setPx: e,
473
+ deepClone: t,
474
+ getComponent: m,
475
+ getPlaceholder: p,
476
+ uploadFun: c,
476
477
  getDisabled(e) {
477
478
  return this.vaildDetail(e) || this.isDetail || this.vaildDisabled(e) || this.allDisabled;
478
479
  },
@@ -483,56 +484,56 @@ var Q = {
483
484
  return this.isTabs ? `${t}` === this.activeName || t === 0 : !0;
484
485
  },
485
486
  dataFormat() {
486
- let e = p(this.propOption).tableForm, t = this.value, n = {};
487
+ let e = g(this.propOption).tableForm, t = this.modelValue, n = {};
487
488
  Object.entries(Object.assign(e, t)).forEach((e) => {
488
489
  let r = e[0], i = e[1];
489
- U(t[r]) ? n[r] = i : n[r] = t[r];
490
+ x(t[r]) ? n[r] = i : n[r] = t[r];
490
491
  }), this.form = n, this.setLabel(), this.setControl(), this.setVal(), setTimeout(() => {
491
492
  this.formCreate = !0, this.clearValidate();
492
493
  });
493
494
  },
494
495
  setControl() {
495
496
  this.propOption.forEach((e) => {
496
- let t = e.prop, n = e.bind, r = e.control;
497
+ let t = e.prop, n = e.bind, a = e.control;
497
498
  if (!this.formBind[t]) {
498
499
  let o = [];
499
500
  if (n) {
500
501
  let e = this.$watch(`form.${t}`, (e, t) => {
501
502
  e !== t && i(this.form, n, e);
502
- }), r = this.$watch(`form.${n}`, (e, n) => {
503
+ }), a = this.$watch(`form.${n}`, (e, n) => {
503
504
  e !== n && (this.form[t] = e);
504
505
  });
505
- o.push(e), o.push(r), this.form[t] = a(this.form, n);
506
+ o.push(e), o.push(a), this.form[t] = r(this.form, n);
506
507
  }
507
- if (r) {
508
+ if (a) {
508
509
  let n = () => {
509
- let t = r(this.form[e.prop], this.form) || {};
510
+ let t = a(this.form[e.prop], this.form) || {};
510
511
  Object.keys(t).forEach((e) => {
511
512
  let n = Object.assign(this.objectOption[e] || {}, t[e]);
512
513
  his.objectOption[e] = n, t[e].dicData && (this.DIC[e] = t[e].dicData);
513
514
  });
514
- }, i = this.$watch(`form.${t}`, () => {
515
+ }, r = this.$watch(`form.${t}`, () => {
515
516
  n();
516
517
  });
517
- o.push(i), n();
518
+ o.push(r), n();
518
519
  }
519
520
  this.formBind[t] = o;
520
521
  }
521
522
  });
522
523
  },
523
524
  setForm() {
524
- Object.keys(this.value).forEach((e) => {
525
- this.form[e] = this.value[e];
525
+ Object.keys(this.modelValue).forEach((e) => {
526
+ this.form[e] = this.modelValue[e];
526
527
  });
527
528
  },
528
529
  setVal() {
529
530
  this.$emit("update:modelValue", this.form), this.$emit("change", this.form);
530
531
  },
531
532
  setLabel() {
532
- this.tableOption.filterNull === !0 && (this.form = o(this.form, [""], !1)), this.tableOption.filterDic === !0 ? this.form = o(this.form, ["$"], !1) : this.propOption.forEach((e) => {
533
+ this.tableOption.filterNull === !0 && (this.form = n(this.form, [""], !1)), this.tableOption.filterDic === !0 ? this.form = n(this.form, ["$"], !1) : this.propOption.forEach((e) => {
533
534
  let t = this.DIC[e.prop];
534
- if (U(t)) return;
535
- let n = v(this.form, e, this.tableOption, t);
535
+ if (x(t)) return;
536
+ let n = u(this.form, e, this.tableOption, t);
536
537
  n ? this.form[`$${e.prop}`] = n : delete this.form[`$${e.prop}`];
537
538
  });
538
539
  },
@@ -542,9 +543,9 @@ var Q = {
542
543
  handleTabClick(e, t) {
543
544
  this.$emit("tab-click", e, t);
544
545
  },
545
- getLabelWidth(e, t) {
546
- let n;
547
- return n = U(e.labelWidth) ? U(t.labelWidth) ? this.parentOption.labelWidth : t.labelWidth : e.labelWidth, l(n, this.labelWidth);
546
+ getLabelWidth(t, n) {
547
+ let r;
548
+ return r = x(t.labelWidth) ? x(n.labelWidth) ? this.parentOption.labelWidth : n.labelWidth : t.labelWidth, e(r, this.labelWidth);
548
549
  },
549
550
  validateField(e) {
550
551
  return this.$refs.form.validateField(e);
@@ -557,19 +558,19 @@ var Q = {
557
558
  },
558
559
  handleChange(e, t) {
559
560
  this.$nextTick(() => {
560
- let r = t.cascader, i = r.join(",");
561
- r.forEach((a) => {
562
- let o = a, s = this.form[t.prop], c = this.findObject(e, o);
563
- U(c) || (this.formList.includes(i) && r.forEach((e) => {
561
+ let n = t.cascader, r = n.join(",");
562
+ n.forEach((i) => {
563
+ let a = i, o = this.form[t.prop], c = this.findObject(e, a);
564
+ x(c) || (this.formList.includes(r) && n.forEach((e) => {
564
565
  this.form[e] = "", this.DIC[e] = [];
565
- }), !(U(r) || U(s) || U(c)) && g({
566
+ }), !(x(n) || x(o) || x(c)) && f({
566
567
  column: c,
567
- value: s,
568
+ value: o,
568
569
  form: this.form
569
570
  }).then((e) => {
570
- this.formList.includes(i) || this.formList.push(i);
571
+ this.formList.includes(r) || this.formList.push(r);
571
572
  let t = e || [];
572
- this.DIC[o] = t, !U(t) && !U(t) && !U(c.cascaderIndex) && U(this.form[o]) && (this.form[o] = t[c.cascaderIndex][(c.props || {}).value || n.value]);
573
+ this.DIC[a] = t, !x(t) && !x(t) && !x(c.cascaderIndex) && x(this.form[a]) && (this.form[a] = t[c.cascaderIndex][(c.props || {}).value || s.value]);
573
574
  }));
574
575
  });
575
576
  });
@@ -582,8 +583,8 @@ var Q = {
582
583
  },
583
584
  handleMock() {
584
585
  this.isMock && (this.columnOption.forEach((e) => {
585
- let t = W(e.column, this.DIC, this.form, this.isMock);
586
- U(t) || Object.keys(t).forEach((e) => {
586
+ let t = G(e.column, this.DIC, this.form, this.isMock);
587
+ x(t) || Object.keys(t).forEach((e) => {
587
588
  this.form[e] = t[e];
588
589
  });
589
590
  }), this.$nextTick(() => {
@@ -593,7 +594,7 @@ var Q = {
593
594
  vaildDetail(e) {
594
595
  let t;
595
596
  if (this.detail) return !1;
596
- if (!U(e.detail)) t = "detail";
597
+ if (!x(e.detail)) t = "detail";
597
598
  else if (this.isAdd) t = "addDetail";
598
599
  else if (this.isEdit) t = "editDetail";
599
600
  else if (this.isView) return !1;
@@ -602,7 +603,7 @@ var Q = {
602
603
  vaildDisabled(e) {
603
604
  let t;
604
605
  if (this.disabled) return !0;
605
- if (!U(e.disabled)) t = "disabled";
606
+ if (!x(e.disabled)) t = "disabled";
606
607
  else if (this.isAdd) t = "addDisabled";
607
608
  else if (this.isEdit) t = "editDisabled";
608
609
  else if (this.isView) return !0;
@@ -610,7 +611,7 @@ var Q = {
610
611
  },
611
612
  vaildDisplay(e) {
612
613
  let t;
613
- return U(e.display) ? this.isAdd ? t = "addDisplay" : this.isEdit ? t = "editDisplay" : this.isView && (t = "viewDisplay") : t = "display", t ? c(e[t], !0) : !0;
614
+ return x(e.display) ? this.isAdd ? t = "addDisplay" : this.isEdit ? t = "editDisplay" : this.isView && (t = "viewDisplay") : t = "display", t ? a(e[t], !0) : !0;
614
615
  },
615
616
  clearValidate(e) {
616
617
  var t;
@@ -628,22 +629,22 @@ var Q = {
628
629
  let r = [], i = [], a = {};
629
630
  this.dynamicOption.forEach((e) => {
630
631
  let t = e.children.type === "form";
631
- i.push(e.prop), t ? U(this.$refs[e.prop][0].$refs.temp.$refs.main) || this.$refs[e.prop][0].$refs.temp.$refs.main.forEach((e) => {
632
+ i.push(e.prop), t ? x(this.$refs[e.prop][0].$refs.temp.$refs.main) || this.$refs[e.prop][0].$refs.temp.$refs.main.forEach((e) => {
632
633
  r.push(e.validateCellForm());
633
634
  }) : r.push(this.$refs[e.prop][0].$refs.temp.$refs.main.validateCellForm());
634
635
  }), Promise.all(r).then((t) => {
635
636
  t.forEach((e, t) => {
636
- U(e) || (a[i[t]] = e);
637
+ x(e) || (a[i[t]] = e);
637
638
  });
638
639
  let r = Object.assign(a, n);
639
- U(r) ? (this.show(), e(!0, this.hide)) : e(!1, this.hide, r);
640
+ x(r) ? (this.show(), e(!0, this.hide)) : e(!1, this.hide, r);
640
641
  });
641
642
  });
642
643
  },
643
644
  resetForm(e = !0) {
644
645
  if (e) {
645
646
  let e = this.propOption.map((e) => e.prop);
646
- this.form = s(this.form, e, (this.tableOption.filterParams || []).concat([this.rowKey]));
647
+ this.form = o(this.form, e, (this.tableOption.filterParams || []).concat([this.rowKey]));
647
648
  }
648
649
  this.$nextTick(() => {
649
650
  this.clearValidate(), this.$emit("reset-change");
@@ -660,17 +661,17 @@ var Q = {
660
661
  },
661
662
  submit() {
662
663
  this.validate((e, t) => {
663
- e ? this.$emit("submit", o(this.form, ["$"]), this.hide) : this.$emit("error", t);
664
+ e ? this.$emit("submit", n(this.form, ["$"]), this.hide) : this.$emit("error", t);
664
665
  });
665
666
  }
666
667
  }
667
- }, $ = ["innerHTML"];
668
- function ee(e, t, n, r, i, a) {
669
- let o = I("ElTabPane"), s = I("ElTabs"), c = I("ElTooltip"), l = I("FormTemp"), u = I("ElFormItem"), d = I("ElCol"), f = I("FyFormMenu"), p = I("FormGroup"), m = I("ElRow"), h = I("ElForm");
670
- return N(), C("div", {
671
- class: A(["avue-form", { "avue--detail": a.isDetail }]),
672
- style: M({ width: a.setPx(a.parentOption.formWidth, "100%") })
673
- }, [D(h, {
668
+ }, ee = ["innerHTML"];
669
+ function te(e, t, n, r, i, a) {
670
+ let o = R("ElTabPane"), s = R("ElTabs"), c = R("ElTooltip"), l = R("FormTemp"), u = R("ElFormItem"), d = R("ElCol"), f = R("FyFormMenu"), p = R("FormGroup"), m = R("ElRow"), h = R("ElForm");
671
+ return F(), T("div", {
672
+ class: M(["avue-form", { "avue--detail": a.isDetail }]),
673
+ style: P({ width: a.setPx(a.parentOption.formWidth, "100%") })
674
+ }, [k(h, {
674
675
  ref: "form",
675
676
  "status-icon": a.parentOption.statusIcon,
676
677
  model: i.form,
@@ -678,13 +679,13 @@ function ee(e, t, n, r, i, a) {
678
679
  size: e.$AVUE.formSize || e.controlSize,
679
680
  "label-position": a.parentOption.labelPosition,
680
681
  "label-width": a.setPx(a.parentOption.labelWidth, i.labelWidth),
681
- onSubmit: t[1] || (t[1] = H(() => {}, ["prevent"]))
682
+ onSubmit: t[1] || (t[1] = W(() => {}, ["prevent"]))
682
683
  }, {
683
- default: B(() => [D(m, {
684
+ default: H(() => [k(m, {
684
685
  span: 24,
685
- class: A({ "avue-form__tabs": a.isTabs })
686
+ class: M({ "avue-form__tabs": a.isTabs })
686
687
  }, {
687
- default: B(() => [(N(!0), C(b, null, P(a.columnOption, (n, r) => (N(), x(p, {
688
+ default: H(() => [(F(!0), T(S, null, I(a.columnOption, (n, r) => (F(), C(p, {
688
689
  key: n.prop,
689
690
  tabs: a.isTabs,
690
691
  arrow: n.arrow,
@@ -696,8 +697,8 @@ function ee(e, t, n, r, i, a) {
696
697
  active: i.activeName,
697
698
  label: n.label,
698
699
  onChange: a.handleGroupClick
699
- }, T({
700
- tabs: B(() => [a.isTabs && r === 1 ? (N(), x(s, {
700
+ }, D({
701
+ tabs: H(() => [a.isTabs && r === 1 ? (F(), C(s, {
701
702
  key: 0,
702
703
  modelValue: i.activeName,
703
704
  "onUpdate:modelValue": t[0] || (t[0] = (e) => i.activeName = e),
@@ -705,25 +706,25 @@ function ee(e, t, n, r, i, a) {
705
706
  type: a.tabsType,
706
707
  onTabClick: a.handleTabClick
707
708
  }, {
708
- default: B(() => [(N(!0), C(b, null, P(a.columnOption, (t, n) => (N(), C(b, null, [a.vaildDisplay(t) && n !== 0 ? (N(), x(o, {
709
+ default: H(() => [(F(!0), T(S, null, I(a.columnOption, (t, n) => (F(), T(S, null, [a.vaildDisplay(t) && n !== 0 ? (F(), C(o, {
709
710
  key: n,
710
711
  name: `${n}`
711
712
  }, {
712
- label: B(() => [w("span", null, [e.getSlotName(t, "H", e.$slots) ? F(e.$slots, e.getSlotName(t, "H"), {
713
+ label: H(() => [E("span", null, [e.getSlotName(t, "H", e.$slots) ? L(e.$slots, e.getSlotName(t, "H"), {
713
714
  key: 0,
714
715
  column: e.column
715
- }) : (N(), C(b, { key: 1 }, [w("i", { class: A(t.icon) }, "\xA0", 2), E(" " + R(t.label), 1)], 64))])]),
716
+ }) : (F(), T(S, { key: 1 }, [E("i", { class: M(t.icon) }, "\xA0", 2), O(" " + B(t.label), 1)], 64))])]),
716
717
  _: 2
717
- }, 1032, ["name"])) : S("v-if", !0)], 64))), 256))]),
718
+ }, 1032, ["name"])) : w("v-if", !0)], 64))), 256))]),
718
719
  _: 3
719
720
  }, 8, [
720
721
  "modelValue",
721
722
  "type",
722
723
  "onTabClick"
723
- ])) : S("v-if", !0)]),
724
- default: B(() => [V(w("div", { class: A(["avue-form__group", { "avue-form__group--flex": n.flex === !1 }]) }, [(N(!0), C(b, null, P(n.column, (r, o) => (N(), C(b, null, [a.vaildDisplay(r) ? (N(), x(d, {
724
+ ])) : w("v-if", !0)]),
725
+ default: H(() => [U(E("div", { class: M(["avue-form__group", { "avue-form__group--flex": n.flex === !1 }]) }, [(F(!0), T(S, null, I(n.column, (r, o) => (F(), T(S, null, [a.vaildDisplay(r) ? (F(), C(d, {
725
726
  key: o,
726
- style: M({
727
+ style: P({
727
728
  paddingLeft: a.gutter,
728
729
  paddingRight: a.gutter
729
730
  }),
@@ -734,35 +735,36 @@ function ee(e, t, n, r, i, a) {
734
735
  offset: r.offset || n.offset,
735
736
  push: r.push || n.push,
736
737
  pull: r.pull || n.pull,
737
- class: A([
738
+ class: M([
738
739
  "avue-form__row",
739
740
  { "avue--detail avue--detail__column": a.vaildDetail(r) },
740
741
  r.className
741
742
  ])
742
743
  }, {
743
- default: B(() => [D(u, {
744
+ default: H(() => [k(u, {
744
745
  prop: r.prop,
745
746
  label: r.label,
746
747
  rules: r.rules,
747
- class: A(`avue-form__item--${r.labelPosition || n.labelPosition || ""}`),
748
+ class: M(`avue-form__item--${r.labelPosition || n.labelPosition || ""}`),
748
749
  "label-position": r.labelPosition || n.labelPosition || a.parentOption.labelPosition,
749
750
  "label-width": a.getLabelWidth(r, n)
750
- }, T({
751
- default: B(() => [(N(), x(L(a.validTip(r) ? "div" : "elTooltip"), {
751
+ }, D({
752
+ default: H(() => [(F(), C(z(a.validTip(r) ? "div" : "elTooltip"), {
753
+ class: "avue-form-item-input-wrapper",
752
754
  disabled: a.validTip(r),
753
755
  content: r.tip || a.getPlaceholder(r),
754
756
  placement: r.tipPlacement
755
757
  }, {
756
- default: B(() => [e.$slots[r.prop] ? F(e.$slots, r.prop, {
758
+ default: H(() => [e.$slots[r.prop] ? L(e.$slots, r.prop, {
757
759
  key: 0,
758
- value: i.form[r.prop],
760
+ modelValue: i.form[r.prop],
759
761
  column: r,
760
762
  label: i.form[`$${r.prop}`],
761
763
  size: r.size || e.controlSize,
762
764
  readonly: a.readonly || r.readonly,
763
765
  disabled: a.getDisabled(r),
764
766
  dic: e.DIC[r.prop]
765
- }) : (N(), x(l, k({
767
+ }) : (F(), C(l, j({
766
768
  key: 1,
767
769
  ref_for: !0,
768
770
  ref: r.prop
@@ -780,12 +782,12 @@ function ee(e, t, n, r, i, a) {
780
782
  "column-slot": a.columnSlot,
781
783
  onEnter: a.submit,
782
784
  onChange: (e) => a.propChange(n.column, r)
783
- }), T({
784
- default: B(() => [(N(!0), C(b, null, P(e.getSlotName(r, "T", e.$slots) ? [r] : [], (t) => F(e.$slots, e.getSlotName(t, "T"), k({ ref_for: !0 }, e.scope))), 256))]),
785
+ }), D({
786
+ default: H(() => [(F(!0), T(S, null, I(e.getSlotName(r, "T", e.$slots) ? [r] : [], (t) => L(e.$slots, e.getSlotName(t, "T"), j({ ref_for: !0 }, e.scope))), 256))]),
785
787
  _: 2
786
- }, [P(a.columnSlot, (t) => ({
788
+ }, [I(a.columnSlot, (t) => ({
787
789
  name: t,
788
- fn: B((n) => [F(e.$slots, t, k({ ref_for: !0 }, n))])
790
+ fn: H((n) => [L(e.$slots, t, j({ ref_for: !0 }, n))])
789
791
  }))]), 1040, [
790
792
  "modelValue",
791
793
  "onUpdate:modelValue",
@@ -810,9 +812,9 @@ function ee(e, t, n, r, i, a) {
810
812
  _: 2
811
813
  }, [e.getSlotName(r, "L", e.$slots) ? {
812
814
  name: "label",
813
- fn: B(() => [F(e.$slots, e.getSlotName(r, "L"), {
815
+ fn: H(() => [L(e.$slots, e.getSlotName(r, "L"), {
814
816
  column: r,
815
- value: i.form[r.prop],
817
+ modelValue: i.form[r.prop],
816
818
  readonly: r.readonly || a.readonly,
817
819
  disabled: a.getDisabled(r),
818
820
  size: r.size || e.controlSize,
@@ -821,19 +823,19 @@ function ee(e, t, n, r, i, a) {
821
823
  key: "0"
822
824
  } : r.labelTip ? {
823
825
  name: "label",
824
- fn: B(() => [D(c, {
826
+ fn: H(() => [k(c, {
825
827
  class: "item",
826
828
  effect: "dark",
827
829
  placement: r.labelTipPlacement || "top-start"
828
830
  }, {
829
- content: B(() => [w("div", { innerHTML: r.labelTip }, null, 8, $)]),
830
- default: B(() => [t[2] || (t[2] = w("i", { class: "el-icon-info" }, null, -1))]),
831
+ content: H(() => [E("div", { innerHTML: r.labelTip }, null, 8, ee)]),
832
+ default: H(() => [t[2] || (t[2] = E("i", { class: "el-icon-info" }, null, -1))]),
831
833
  _: 2
832
- }, 1032, ["placement"]), w("span", null, R(r.label) + R(a.labelSuffix), 1)]),
834
+ }, 1032, ["placement"]), E("span", null, B(r.label) + B(a.labelSuffix), 1)]),
833
835
  key: "1"
834
836
  } : void 0, e.getSlotName(r, "E", e.$slots) ? {
835
837
  name: "error",
836
- fn: B((t) => [F(e.$slots, e.getSlotName(r, "E"), k({ ref_for: !0 }, Object.assign(t, {
838
+ fn: H((t) => [L(e.$slots, e.getSlotName(r, "E"), j({ ref_for: !0 }, Object.assign(t, {
837
839
  column: r,
838
840
  value: i.form[r.prop],
839
841
  readonly: a.readonly || r.readonly,
@@ -861,18 +863,18 @@ function ee(e, t, n, r, i, a) {
861
863
  "push",
862
864
  "pull",
863
865
  "class"
864
- ])) : S("v-if", !0), a.vaildDisplay(r) && r.row && r.span !== 24 && r.count ? (N(), C("div", {
866
+ ])) : w("v-if", !0), a.vaildDisplay(r) && r.row && r.span !== 24 && r.count ? (F(), T("div", {
865
867
  key: `line${o}`,
866
868
  class: "avue-form__line",
867
- style: M({ width: `${r.count / 24 * 100}%` })
868
- }, null, 4)) : S("v-if", !0)], 64))), 256)), !a.isDetail && !a.isMenu ? (N(), x(f, { key: 0 }, {
869
- menuForm: B((t) => [F(e.$slots, "menuForm", k({ ref_for: !0 }, t))]),
869
+ style: P({ width: `${r.count / 24 * 100}%` })
870
+ }, null, 4)) : w("v-if", !0)], 64))), 256)), !a.isDetail && !a.isMenu ? (F(), C(f, { key: 0 }, {
871
+ menuForm: H((t) => [L(e.$slots, "menuForm", j({ ref_for: !0 }, t))]),
870
872
  _: 3
871
- })) : S("v-if", !0)], 2), [[z, a.isGroupShow(n, r)]])]),
873
+ })) : w("v-if", !0)], 2), [[V, a.isGroupShow(n, r)]])]),
872
874
  _: 2
873
875
  }, [e.getSlotName(n, "H", e.$slots) ? {
874
876
  name: "header",
875
- fn: B(() => [F(e.$slots, e.getSlotName(n, "H"), { column: n })]),
877
+ fn: H(() => [L(e.$slots, e.getSlotName(n, "H"), { column: n })]),
876
878
  key: "0"
877
879
  } : void 0]), 1032, [
878
880
  "tabs",
@@ -885,10 +887,10 @@ function ee(e, t, n, r, i, a) {
885
887
  "active",
886
888
  "label",
887
889
  "onChange"
888
- ]))), 128)), !a.isDetail && a.isMenu ? (N(), x(f, { key: 0 }, {
889
- menuForm: B((t) => [F(e.$slots, "menuForm", j(O(t)))]),
890
+ ]))), 128)), !a.isDetail && a.isMenu ? (F(), C(f, { key: 0 }, {
891
+ menuForm: H((t) => [L(e.$slots, "menuForm", N(A(t)))]),
890
892
  _: 3
891
- })) : S("v-if", !0)]),
893
+ })) : w("v-if", !0)]),
892
894
  _: 3
893
895
  }, 8, ["class"])]),
894
896
  _: 3
@@ -901,6 +903,6 @@ function ee(e, t, n, r, i, a) {
901
903
  "label-width"
902
904
  ])], 6);
903
905
  }
904
- var te = /* @__PURE__ */ e(Q, [["render", ee]]);
906
+ var ne = /* @__PURE__ */ y($, [["render", te]]);
905
907
  //#endregion
906
- export { te as t };
908
+ export { ne as t };