@web-utils/component 5.0.0-beta01 → 5.0.0-beta03

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 (231) hide show
  1. package/awesome-button/index.mjs +25 -31
  2. package/{utils/style.css → base.css} +1 -1
  3. package/chat/index.mjs +3 -12
  4. package/chunks/{EditableTree.C_IJBL5b.mjs → EditableTree.CV8b95tW.mjs} +130 -139
  5. package/chunks/{ElementBaseInfo.DyuFR6fE.mjs → ElementBaseInfo.lW0iwU10.mjs} +2 -3
  6. package/chunks/ElementDialog.DWhAJsUn.mjs +520 -0
  7. package/chunks/{ElementForm.ButuYDPA.mjs → ElementForm.C7yebHWH.mjs} +12 -39
  8. package/chunks/{ElementListeners.Dg3e_dmp.mjs → ElementListeners.B_SjC8dp.mjs} +10 -31
  9. package/chunks/{ElementMultiInstance.Dmi79FqA.mjs → ElementMultiInstance.Xw27Z5mm.mjs} +2 -3
  10. package/chunks/{ElementOtherConfig.C2AddGTp.mjs → ElementOtherConfig.DnNmAhKn.mjs} +0 -1
  11. package/chunks/{ElementProperties.CfV8UF7L.mjs → ElementProperties.DKr9JE_O.mjs} +3 -12
  12. package/chunks/{ElementTaskConfig.Bn7ycGGn.mjs → ElementTaskConfig.CPjsXlpS.mjs} +6 -10
  13. package/chunks/{FlowCondition.C6PdqOAW.mjs → FlowCondition.BA7GF34X.mjs} +4 -5
  14. package/chunks/{FlowDesigner.uJYFfKpR.mjs → FlowDesigner.DH1ypcUw.mjs} +17 -18
  15. package/chunks/{FormBlock.BEENc22F.mjs → FormBlock.D6kZl7sm.mjs} +8 -8
  16. package/chunks/FormCascader.BXL8lKww.mjs +1229 -0
  17. package/chunks/{FormInputTime.Bg3UIP8H.mjs → FormInputTime.DzTPiDNh.mjs} +339 -337
  18. package/chunks/{FormItem.H9OOvNzT.mjs → FormItem.B8iPLduv.mjs} +12 -13
  19. package/chunks/{FormItemGroup.D9eRy-cZ.mjs → FormItemGroup.CCGqEapT.mjs} +38 -31
  20. package/chunks/{FormSelect.CanodoAI.mjs → FormSelect.t0jbTL_K.mjs} +470 -467
  21. package/chunks/{FormSwitch.DTqdaFjv.mjs → FormSwitch.uoFQ-xp_.mjs} +53 -51
  22. package/chunks/{FormTemp.DiI5EfgK.mjs → FormTemp.CeHtEZQe.mjs} +11 -6
  23. package/chunks/{FyCurd.DMj1dMK9.mjs → FyCurd.DqJuCLNW.mjs} +22 -25
  24. package/chunks/{FyForm.vgR8ujEF.mjs → FyForm.CgyGhetD.mjs} +25 -21
  25. package/chunks/{FyFormDesign.DEWT6LsX.mjs → FyFormDesign.DIIK7mXK.mjs} +49 -128
  26. package/chunks/{FyUpload.B2QKfTxF.mjs → FyUpload.DoBEuYcC.mjs} +2 -2
  27. package/chunks/ImagePreview.DDFrZgo5.mjs +649 -0
  28. package/chunks/{Keyboard.ItiRy7Gb.mjs → Keyboard.DBspwbYo.mjs} +2 -2
  29. package/chunks/{MonacoEditor.Bd5Kui-Y.mjs → MonacoEditor.Bq9d6JSz.mjs} +65 -64
  30. package/chunks/{PageableTable.Bujb0NUx.mjs → PageableTable.DR-REJN5.mjs} +84 -83
  31. package/chunks/{SignalAndMessage.CYVzlFuL.mjs → SignalAndMessage.CL2u19it.mjs} +1 -10
  32. package/chunks/{TableColumn.DJYkznbJ.mjs → TableColumn.Cq9Bvevm.mjs} +34 -28
  33. package/chunks/{TableView.DyIdIxAg.mjs → TableView.DMWMaGLA.mjs} +26 -33
  34. package/chunks/ToolbarButton.AlTszc53.mjs +107 -0
  35. package/chunks/{UserTaskListeners.Bp-2qkHs.mjs → UserTaskListeners.Qfm8hKWP.mjs} +9 -27
  36. package/chunks/{VueCron.GfjodnyM.mjs → VueCron.BmPnLuu3.mjs} +163 -142
  37. package/chunks/{VueTreeSelect.9Ywl-I8e.mjs → VueTreeSelect.GHx4Z2lG.mjs} +48 -43
  38. package/chunks/button.gVyl7Y__.mjs +927 -0
  39. package/chunks/checkbox.AmhCpaBZ.mjs +438 -0
  40. package/chunks/chunk.A6TnG60p.mjs +13 -0
  41. package/chunks/confirmable-mixin.BZtxXY0h.mjs +273 -0
  42. package/chunks/constants.Dw7hXt67.mjs +4 -0
  43. package/chunks/{dictionary.DxZxP0ej.mjs → dictionary.BqVLM7Lf.mjs} +1 -1
  44. package/chunks/{event.eJ-c1Z3a.mjs → event.CmOTnori.mjs} +4 -7
  45. package/chunks/event.ZRs4J5TN.mjs +4 -0
  46. package/chunks/{focus-trap.DT4GnqQI.mjs → focus-trap.CuUc8N2C.mjs} +26 -26
  47. package/chunks/{form-input.D25eDRMq.mjs → form-input.DdSb45Tz.mjs} +3 -3
  48. package/chunks/{form-item.CgmUuw_n.mjs → form-item.fYYCXvCs.mjs} +77 -75
  49. package/chunks/icon.AJYLfX1m.mjs +26 -0
  50. package/chunks/{icon.CbS8-322.mjs → icon.niAg1zTC.mjs} +31 -39
  51. package/chunks/{init.DwpukyOB.mjs → init.CtUEiRbU.mjs} +6 -6
  52. package/chunks/{input.PejnqwSH.mjs → input.B_wW4aF-.mjs} +107 -106
  53. package/chunks/install.BJl2MN77.mjs +73 -0
  54. package/chunks/message-box.wGWcYSSd.mjs +463 -0
  55. package/chunks/{message.BCmee5N0.mjs → message.DnTACuzV.mjs} +76 -75
  56. package/chunks/{overlay.DubSnqma.mjs → overlay.Rhu_rfhx.mjs} +5 -5
  57. package/chunks/{radio.BotKXqJr.mjs → radio.BMkZBhl5.mjs} +45 -45
  58. package/chunks/{scroll.CzORc5Zk.mjs → scroll.BJIpzi2Q.mjs} +2 -2
  59. package/chunks/{scrollbar.CAmrlKi9.mjs → scrollbar.CvxOszy3.mjs} +4 -4
  60. package/chunks/{style.BmlGmjpO.mjs → style.CraPDfJA.mjs} +3 -3
  61. package/chunks/{tag.DPi-PLbb.mjs → tag.B6yUaGj-.mjs} +25 -25
  62. package/chunks/{teleport._VGEzK4d.mjs → teleport.87mkIv8m.mjs} +3 -3
  63. package/chunks/{tooltip.D50x7Rva.mjs → tooltip.Dzjs7LZ8.mjs} +108 -108
  64. package/chunks/typescript.D0a40c7B.mjs +4 -0
  65. package/chunks/{use-aria.BW7nWOl1.mjs → use-aria.B9uqqWAE.mjs} +2 -2
  66. package/chunks/{use-composition.mUaomyno.mjs → use-composition.BMPJBvYs.mjs} +4 -4
  67. package/chunks/{use-deprecated.BfDSbZS9.mjs → use-deprecated.vx6LTDA_.mjs} +2 -2
  68. package/chunks/use-empty-values.CxYKjLV9.mjs +81 -0
  69. package/chunks/use-form-item.DMDTkMq9.mjs +48 -0
  70. package/chunks/use-global-config.Dkt91Ob3.mjs +57 -0
  71. package/chunks/{use-id.CFO5NeoV.mjs → use-id.CyzdvfQn.mjs} +3 -3
  72. package/chunks/{use-empty-values.Dy_r78F6.mjs → use-locale.CBoQRFjH.mjs} +12 -87
  73. package/chunks/{use-size.DxrwTUwf.mjs → use-size.CoorvF12.mjs} +2 -2
  74. package/chunks/validator.Drv0r2Nb.mjs +5 -0
  75. package/chunks/{vnode.D_SioRnx.mjs → vnode.raM3wMJz.mjs} +2 -2
  76. package/confirm-button/index.mjs +1 -1
  77. package/confirmable/index.mjs +1 -1
  78. package/context-menu/index.mjs +39 -38
  79. package/data-box/style.css +1 -1
  80. package/data-card/style.css +1 -1
  81. package/data-display/style.css +1 -1
  82. package/data-icons/style.css +1 -1
  83. package/data-imgtext/style.css +1 -1
  84. package/data-operatext/style.css +1 -1
  85. package/data-panel/style.css +1 -1
  86. package/data-pay/style.css +1 -1
  87. package/data-price/style.css +1 -1
  88. package/data-progress/style.css +1 -1
  89. package/data-rotate/style.css +1 -1
  90. package/data-table-picker/index.mjs +2 -6
  91. package/data-tabs/style.css +1 -1
  92. package/dialog-form/index.mjs +7 -3
  93. package/dynamic-table/index.mjs +1 -2
  94. package/editable-tree/index.mjs +1 -1
  95. package/element-dialog/index.mjs +1 -1
  96. package/element-dialog/style.css +1 -1
  97. package/empty-view/index.mjs +18 -20
  98. package/error-view/index.mjs +17 -19
  99. package/flex-column/index.mjs +11 -9
  100. package/flex-item/index.mjs +22 -16
  101. package/flex-row/index.mjs +11 -10
  102. package/flow/index.mjs +1 -1
  103. package/flow-designer/index.mjs +1 -1
  104. package/form-block/index.mjs +1 -1
  105. package/form-cascader/index.mjs +1 -1
  106. package/form-checkbox/index.mjs +4 -4
  107. package/form-checkbox-group/index.mjs +6 -6
  108. package/form-date-picker/index.mjs +3 -3
  109. package/form-holder/index.mjs +2 -5
  110. package/form-input/index.mjs +4 -4
  111. package/form-input-cron-expression/index.mjs +4 -4
  112. package/form-input-email/index.mjs +10 -9
  113. package/form-input-id-card/index.mjs +10 -9
  114. package/form-input-phone-number/index.mjs +11 -10
  115. package/form-input-tag/index.mjs +2 -2
  116. package/form-input-time/index.mjs +1 -1
  117. package/form-item/index.mjs +1 -1
  118. package/form-item-group/index.mjs +1 -1
  119. package/form-radio-group/index.mjs +6 -6
  120. package/form-select/index.mjs +1 -1
  121. package/form-switch/index.mjs +1 -1
  122. package/form-table/index.mjs +2 -2
  123. package/form-table-plus/index.mjs +4 -4
  124. package/form-textarea/index.mjs +4 -4
  125. package/form-tree-select/index.mjs +3 -3
  126. package/form-tree-select-multiple/index.mjs +3 -3
  127. package/form-view/index.mjs +13 -8
  128. package/fy-array/index.mjs +1 -1
  129. package/fy-cascader/index.mjs +1 -1
  130. package/fy-checkbox/index.mjs +1 -1
  131. package/fy-code/index.mjs +2 -2
  132. package/fy-curd/index.mjs +1 -1
  133. package/fy-date/index.mjs +1 -1
  134. package/fy-dynamic/index.mjs +3 -7
  135. package/fy-form/index.mjs +1 -1
  136. package/fy-form/style.css +1 -1
  137. package/fy-form-design/index.mjs +1 -1
  138. package/fy-form-design/style.css +1 -1
  139. package/fy-input/index.mjs +1 -1
  140. package/fy-input-color/index.mjs +1 -2
  141. package/fy-input-icon/index.mjs +37 -32
  142. package/fy-input-map/index.mjs +1 -1
  143. package/fy-input-number/index.mjs +1 -1
  144. package/fy-input-table/index.mjs +1 -1
  145. package/fy-input-tree/index.mjs +3 -3
  146. package/fy-input-tree/style.css +1 -1
  147. package/fy-radio/index.mjs +2 -2
  148. package/fy-rate/index.mjs +2 -2
  149. package/fy-select/index.mjs +5 -5
  150. package/fy-slider/index.mjs +1 -1
  151. package/fy-switch/index.mjs +2 -2
  152. package/fy-time/index.mjs +1 -1
  153. package/fy-title/index.mjs +1 -1
  154. package/fy-tree/index.mjs +1 -1
  155. package/fy-u-editor/index.mjs +1 -1
  156. package/fy-upload/index.mjs +1 -1
  157. package/guide-steps/index.mjs +1 -1
  158. package/helper-function.d.ts +3 -3
  159. package/helper-function.mjs +36 -20
  160. package/iframe-window/index.mjs +30 -29
  161. package/image-cropper/index.mjs +144 -163
  162. package/image-cropper/style.css +1 -1
  163. package/image-preview/index.mjs +2 -187
  164. package/index.d.ts +1 -2
  165. package/index.mjs +153 -154
  166. package/input-number-range/index.mjs +0 -2
  167. package/keyboard/index.mjs +1 -1
  168. package/license/index.mjs +1 -1
  169. package/monaco-editor/index.mjs +1 -1
  170. package/nav-bar/index.mjs +1 -1
  171. package/notice/index.mjs +1 -4
  172. package/package.json +12 -14
  173. package/pageable-table/index.mjs +1 -1
  174. package/pageable-view/index.mjs +2 -2
  175. package/photo-swipe/index.mjs +1 -1
  176. package/picker-table-view/index.mjs +4 -8
  177. package/present-view/index.mjs +18 -13
  178. package/record-video/index.mjs +1 -1
  179. package/resize-observer/index.mjs +1 -1
  180. package/search/index.mjs +2 -2
  181. package/split-pane/index.mjs +1 -1
  182. package/stateful/index.mjs +18 -17
  183. package/static-pageable-table/index.mjs +1 -4
  184. package/sub-table/index.mjs +2 -5
  185. package/sub-table-plus/index.mjs +3 -6
  186. package/tab/index.mjs +1 -1
  187. package/tab-item/index.mjs +1 -1
  188. package/table-column/index.mjs +1 -1
  189. package/table-view/index.mjs +1 -1
  190. package/tag-render/index.mjs +28 -24
  191. package/toolbar/index.mjs +1 -1
  192. package/toolbar-button/index.mjs +2 -146
  193. package/vue-cron/index.mjs +1 -1
  194. package/vue-qr-code/index.mjs +7 -6
  195. package/vue-tags-input/index.mjs +1 -1
  196. package/vue-tree-select/index.mjs +1 -1
  197. package/watermark/index.mjs +13 -13
  198. package/web-types.json +265 -363
  199. package/x-input-tag/index.mjs +0 -3
  200. package/chunks/ElementDialog.C0IjriTW.mjs +0 -681
  201. package/chunks/FormCascader.CaM-oEhv.mjs +0 -1226
  202. package/chunks/checkbox.emIuFmnt.mjs +0 -437
  203. package/chunks/confirmable-mixin.BBil7dto.mjs +0 -1646
  204. package/chunks/event.B4iwtUNO.mjs +0 -4
  205. package/chunks/install.yLcn5MLL.mjs +0 -84
  206. package/chunks/typescript.DiWBU4nj.mjs +0 -4
  207. package/chunks/use-form-item.wsRjehHp.mjs +0 -47
  208. package/chunks/use-global-config.C9hs-O_x.mjs +0 -56
  209. package/chunks/validator.C4-z_t9p.mjs +0 -5
  210. package/login/index.mjs +0 -252
  211. package/login/style.css +0 -1
  212. /package/chunks/{FyUEditor.D_rEYfll.mjs → FyUEditor.uvZS8UgS.mjs} +0 -0
  213. /package/chunks/{RecordVideo.B35_dLty.mjs → RecordVideo.CKTY-gk9.mjs} +0 -0
  214. /package/chunks/{SplitPane.Dw96M0Yf.mjs → SplitPane.DNNid7WB.mjs} +0 -0
  215. /package/chunks/{Toolbar.DHuXJAoG.mjs → Toolbar.DytZ6fO0.mjs} +0 -0
  216. /package/chunks/{core.DJv6Qrae.mjs → core.Blrh_Fjl.mjs} +0 -0
  217. /package/chunks/{dataformat.Bfr4nOcA.mjs → dataformat.F7GtAoiN.mjs} +0 -0
  218. /package/chunks/{dic.DgDfnovD.mjs → dic.NZCGhtA7.mjs} +0 -0
  219. /package/chunks/{dictionary.5eKjWeAp.mjs → dictionary.DXYdZefs.mjs} +0 -0
  220. /package/chunks/{form-pick.Axem0gOO.mjs → form-pick.BEC7lrNH.mjs} +0 -0
  221. /package/chunks/{form-validate.B1KPCHqN.mjs → form-validate.JFOV_f-C.mjs} +0 -0
  222. /package/chunks/{packages.BGjydzjm.mjs → packages.CONbEH13.mjs} +0 -0
  223. /package/chunks/{permission.DgEVNWlh.mjs → permission.8WDtOmzA.mjs} +0 -0
  224. /package/chunks/{photo-swipe.BB0SJZg9.mjs → photo-swipe.BvBJGc5x.mjs} +0 -0
  225. /package/chunks/{slot.C6Ozd2e7.mjs → slot.CZCo32Cw.mjs} +0 -0
  226. /package/chunks/{sub-table-plus-props.B_lLth3j.mjs → sub-table-plus-props.DvS8aKT4.mjs} +0 -0
  227. /package/chunks/{tab-mixin.u0EZpx3j.mjs → tab-mixin.C9DSz8xu.mjs} +0 -0
  228. /package/chunks/{util.B3sjVZoZ.mjs → util.fjuzrmWz.mjs} +0 -0
  229. /package/chunks/{utilSelf.ZED4DmCU.mjs → utilSelf.Bv7FtUNb.mjs} +0 -0
  230. /package/chunks/{utils.Cs2fYBrT.mjs → utils.C37EhJ-u.mjs} +0 -0
  231. /package/chunks/{utils.DsGhtCIO.mjs → utils.C8RvIGLM.mjs} +0 -0
@@ -1,15 +1,17 @@
1
- import { _ as e, g as t, o as n, t as r } from "./install.yLcn5MLL.mjs";
2
- import { t as i } from "./_plugin-vue_export-helper.7vrlOII_.mjs";
3
- import { n as a, r as o, t as s } from "./event.B4iwtUNO.mjs";
4
- import { F as c, M as l, O as u, R as d, j as f, k as p, n as m } from "./style.BmlGmjpO.mjs";
5
- import { i as h, n as ee, r as te, t as ne } from "./use-form-item.wsRjehHp.mjs";
6
- import { t as g } from "./use-aria.BW7nWOl1.mjs";
7
- import { g as _, o as v, t as y } from "./icon.CbS8-322.mjs";
8
- import { t as b } from "./validator.C4-z_t9p.mjs";
9
- import { d as x, n as S, u as C } from "./util.B3sjVZoZ.mjs";
10
- import { t as w } from "./form-input.D25eDRMq.mjs";
1
+ import "./chunk.A6TnG60p.mjs";
2
+ import { t as e } from "./_plugin-vue_export-helper.7vrlOII_.mjs";
3
+ import { n as t, r as n, t as r } from "./event.ZRs4J5TN.mjs";
4
+ import { _ as i, g as a, o, t as s } from "./install.BJl2MN77.mjs";
5
+ import { F as c, M as l, O as u, R as d, j as f, k as p, n as m } from "./style.CraPDfJA.mjs";
6
+ import { i as h, n as ee, r as te, t as ne } from "./use-form-item.DMDTkMq9.mjs";
7
+ import { t as g } from "./use-aria.B9uqqWAE.mjs";
8
+ import { h as _, t as v } from "./icon.niAg1zTC.mjs";
9
+ import { a as y } from "./icon.AJYLfX1m.mjs";
10
+ import { t as b } from "./validator.Drv0r2Nb.mjs";
11
+ import { d as x, n as S, u as C } from "./util.fjuzrmWz.mjs";
12
+ import { t as w } from "./form-input.DdSb45Tz.mjs";
11
13
  import { computed as T, createBlock as E, createCommentVNode as D, createElementBlock as O, createElementVNode as k, createVNode as A, defineComponent as j, mergeProps as M, nextTick as N, normalizeClass as P, normalizeStyle as F, onMounted as I, openBlock as L, ref as re, renderSlot as R, resolveComponent as z, resolveDynamicComponent as B, shallowRef as V, toDisplayString as H, toHandlers as U, unref as W, watch as G, withCtx as K, withKeys as q, withModifiers as J } from "vue";
12
- //#region node_modules/.pnpm/element-plus@2.13.6_typescr_b7ae825491da06c0282fd613061a7e37/node_modules/element-plus/es/components/switch/src/switch.mjs
14
+ //#region node_modules/.pnpm/element-plus@2.13.6_typescr_b86181ecd25892dfea09546870d44c51/node_modules/element-plus/es/components/switch/src/switch.mjs
13
15
  var Y = f({
14
16
  modelValue: {
15
17
  type: [
@@ -33,10 +35,10 @@ var Y = f({
33
35
  default: ""
34
36
  },
35
37
  inlinePrompt: Boolean,
36
- inactiveActionIcon: { type: v },
37
- activeActionIcon: { type: v },
38
- activeIcon: { type: v },
39
- inactiveIcon: { type: v },
38
+ inactiveActionIcon: { type: y },
39
+ activeActionIcon: { type: y },
40
+ activeIcon: { type: y },
41
+ inactiveIcon: { type: y },
40
42
  activeText: {
41
43
  type: String,
42
44
  default: ""
@@ -74,9 +76,9 @@ var Y = f({
74
76
  tabindex: { type: [String, Number] },
75
77
  ...g(["ariaLabel"])
76
78
  }), X = {
77
- [o]: (t) => c(t) || e(t) || d(t),
78
- [s]: (t) => c(t) || e(t) || d(t),
79
- [a]: (t) => c(t) || e(t) || d(t)
79
+ [n]: (e) => c(e) || i(e) || d(e),
80
+ [r]: (e) => c(e) || i(e) || d(e),
81
+ [t]: (e) => c(e) || i(e) || d(e)
80
82
  }, ie = [
81
83
  "id",
82
84
  "aria-checked",
@@ -87,39 +89,39 @@ var Y = f({
87
89
  "false-value",
88
90
  "disabled",
89
91
  "tabindex"
90
- ], ae = ["aria-hidden"], oe = { key: 1 }, se = { key: 1 }, ce = ["aria-hidden"], Z = "ElSwitch", Q = C(r(/* @__PURE__ */ j({
92
+ ], ae = ["aria-hidden"], oe = { key: 1 }, se = { key: 1 }, ce = ["aria-hidden"], Z = "ElSwitch", Q = C(s(/* @__PURE__ */ j({
91
93
  name: Z,
92
94
  __name: "switch",
93
95
  props: Y,
94
96
  emits: X,
95
- setup(e, { expose: r, emit: i }) {
96
- let l = e, d = i, { formItem: f } = ne(), g = h(), v = n("switch"), { inputId: b } = ee(l, { formItemContext: f }), x = te(T(() => {
97
+ setup(e, { expose: i, emit: s }) {
98
+ let l = e, d = s, { formItem: f } = ne(), g = h(), y = o("switch"), { inputId: b } = ee(l, { formItemContext: f }), x = te(T(() => {
97
99
  if (l.loading) return !0;
98
100
  })), S = re(l.modelValue !== !1), C = V(), w = T(() => [
99
- v.b(),
100
- v.m(g.value),
101
- v.is("disabled", x.value),
102
- v.is("checked", Y.value)
101
+ y.b(),
102
+ y.m(g.value),
103
+ y.is("disabled", x.value),
104
+ y.is("checked", Y.value)
103
105
  ]), j = T(() => [
104
- v.e("label"),
105
- v.em("label", "left"),
106
- v.is("active", !Y.value)
106
+ y.e("label"),
107
+ y.em("label", "left"),
108
+ y.is("active", !Y.value)
107
109
  ]), M = T(() => [
108
- v.e("label"),
109
- v.em("label", "right"),
110
- v.is("active", Y.value)
110
+ y.e("label"),
111
+ y.em("label", "right"),
112
+ y.is("active", Y.value)
111
113
  ]), z = T(() => ({ width: m(l.width) }));
112
114
  G(() => l.modelValue, () => {
113
115
  S.value = !0;
114
116
  });
115
117
  let U = T(() => S.value ? l.modelValue : !1), Y = T(() => U.value === l.activeValue);
116
- [l.activeValue, l.inactiveValue].includes(U.value) || (d(o, l.inactiveValue), d(s, l.inactiveValue), d(a, l.inactiveValue)), G(Y, (e) => {
118
+ [l.activeValue, l.inactiveValue].includes(U.value) || (d(n, l.inactiveValue), d(r, l.inactiveValue), d(t, l.inactiveValue)), G(Y, (e) => {
117
119
  var t;
118
120
  C.value.checked = e, l.validateEvent && (f == null || (t = f.validate) == null || t.call(f, "change").catch((e) => u(e)));
119
121
  });
120
122
  let X = () => {
121
123
  let e = Y.value ? l.inactiveValue : l.activeValue;
122
- d(o, e), d(s, e), d(a, e), N(() => {
124
+ d(n, e), d(r, e), d(t, e), N(() => {
123
125
  C.value.checked = Y.value;
124
126
  });
125
127
  }, Q = () => {
@@ -129,16 +131,16 @@ var Y = f({
129
131
  X();
130
132
  return;
131
133
  }
132
- let n = e();
133
- [t(n), c(n)].includes(!0) || p(Z, "beforeChange must return type `Promise<boolean>` or `boolean`"), t(n) ? n.then((e) => {
134
+ let t = e();
135
+ [a(t), c(t)].includes(!0) || p(Z, "beforeChange must return type `Promise<boolean>` or `boolean`"), a(t) ? t.then((e) => {
134
136
  e && X();
135
137
  }).catch((e) => {
136
138
  u(Z, `some error occurred: ${e}`);
137
- }) : n && X();
139
+ }) : t && X();
138
140
  };
139
141
  return I(() => {
140
142
  C.value.checked = Y.value;
141
- }), r({
143
+ }), i({
142
144
  focus: () => {
143
145
  var e, t;
144
146
  (e = C.value) == null || (t = e.focus) == null || t.call(e);
@@ -152,7 +154,7 @@ var Y = f({
152
154
  id: W(b),
153
155
  ref_key: "input",
154
156
  ref: C,
155
- class: P(W(v).e("input")),
157
+ class: P(W(y).e("input")),
156
158
  type: "checkbox",
157
159
  role: "switch",
158
160
  "aria-checked": Y.value,
@@ -169,7 +171,7 @@ var Y = f({
169
171
  !e.inlinePrompt && (e.inactiveIcon || e.inactiveText || t.$slots.inactive) ? (L(), O("span", {
170
172
  key: 0,
171
173
  class: P(j.value)
172
- }, [R(t.$slots, "inactive", {}, () => [e.inactiveIcon ? (L(), E(W(y), { key: 0 }, {
174
+ }, [R(t.$slots, "inactive", {}, () => [e.inactiveIcon ? (L(), E(W(v), { key: 0 }, {
173
175
  default: K(() => [(L(), E(B(e.inactiveIcon)))]),
174
176
  _: 1
175
177
  })) : D("v-if", !0), !e.inactiveIcon && e.inactiveText ? (L(), O("span", {
@@ -177,40 +179,40 @@ var Y = f({
177
179
  "aria-hidden": Y.value
178
180
  }, H(e.inactiveText), 9, ae)) : D("v-if", !0)])], 2)) : D("v-if", !0),
179
181
  k("span", {
180
- class: P(W(v).e("core")),
182
+ class: P(W(y).e("core")),
181
183
  style: F(z.value)
182
184
  }, [e.inlinePrompt ? (L(), O("div", {
183
185
  key: 0,
184
- class: P(W(v).e("inner"))
186
+ class: P(W(y).e("inner"))
185
187
  }, [Y.value ? (L(), O("div", {
186
188
  key: 1,
187
- class: P(W(v).e("inner-wrapper"))
188
- }, [R(t.$slots, "active", {}, () => [e.activeIcon ? (L(), E(W(y), { key: 0 }, {
189
+ class: P(W(y).e("inner-wrapper"))
190
+ }, [R(t.$slots, "active", {}, () => [e.activeIcon ? (L(), E(W(v), { key: 0 }, {
189
191
  default: K(() => [(L(), E(B(e.activeIcon)))]),
190
192
  _: 1
191
193
  })) : D("v-if", !0), !e.activeIcon && e.activeText ? (L(), O("span", se, H(e.activeText), 1)) : D("v-if", !0)])], 2)) : (L(), O("div", {
192
194
  key: 0,
193
- class: P(W(v).e("inner-wrapper"))
194
- }, [R(t.$slots, "inactive", {}, () => [e.inactiveIcon ? (L(), E(W(y), { key: 0 }, {
195
+ class: P(W(y).e("inner-wrapper"))
196
+ }, [R(t.$slots, "inactive", {}, () => [e.inactiveIcon ? (L(), E(W(v), { key: 0 }, {
195
197
  default: K(() => [(L(), E(B(e.inactiveIcon)))]),
196
198
  _: 1
197
- })) : D("v-if", !0), !e.inactiveIcon && e.inactiveText ? (L(), O("span", oe, H(e.inactiveText), 1)) : D("v-if", !0)])], 2))], 2)) : D("v-if", !0), k("div", { class: P(W(v).e("action")) }, [e.loading ? (L(), E(W(y), {
199
+ })) : D("v-if", !0), !e.inactiveIcon && e.inactiveText ? (L(), O("span", oe, H(e.inactiveText), 1)) : D("v-if", !0)])], 2))], 2)) : D("v-if", !0), k("div", { class: P(W(y).e("action")) }, [e.loading ? (L(), E(W(v), {
198
200
  key: 0,
199
- class: P(W(v).is("loading"))
201
+ class: P(W(y).is("loading"))
200
202
  }, {
201
203
  default: K(() => [A(W(_))]),
202
204
  _: 1
203
- }, 8, ["class"])) : Y.value ? R(t.$slots, "active-action", { key: 1 }, () => [e.activeActionIcon ? (L(), E(W(y), { key: 0 }, {
205
+ }, 8, ["class"])) : Y.value ? R(t.$slots, "active-action", { key: 1 }, () => [e.activeActionIcon ? (L(), E(W(v), { key: 0 }, {
204
206
  default: K(() => [(L(), E(B(e.activeActionIcon)))]),
205
207
  _: 1
206
- })) : D("v-if", !0)]) : Y.value ? D("v-if", !0) : R(t.$slots, "inactive-action", { key: 2 }, () => [e.inactiveActionIcon ? (L(), E(W(y), { key: 0 }, {
208
+ })) : D("v-if", !0)]) : Y.value ? D("v-if", !0) : R(t.$slots, "inactive-action", { key: 2 }, () => [e.inactiveActionIcon ? (L(), E(W(v), { key: 0 }, {
207
209
  default: K(() => [(L(), E(B(e.inactiveActionIcon)))]),
208
210
  _: 1
209
211
  })) : D("v-if", !0)])], 2)], 6),
210
212
  !e.inlinePrompt && (e.activeIcon || e.activeText || t.$slots.active) ? (L(), O("span", {
211
213
  key: 1,
212
214
  class: P(M.value)
213
- }, [R(t.$slots, "active", {}, () => [e.activeIcon ? (L(), E(W(y), { key: 0 }, {
215
+ }, [R(t.$slots, "active", {}, () => [e.activeIcon ? (L(), E(W(v), { key: 0 }, {
214
216
  default: K(() => [(L(), E(B(e.activeIcon)))]),
215
217
  _: 1
216
218
  })) : D("v-if", !0), !e.activeIcon && e.activeText ? (L(), O("span", {
@@ -291,6 +293,6 @@ function $(e, t, n, r, i, a) {
291
293
  _: 3
292
294
  }, 16, ["rules", "disabled"]);
293
295
  }
294
- var ue = /* @__PURE__ */ i(le, [["render", $]]);
296
+ var ue = /* @__PURE__ */ e(le, [["render", $]]);
295
297
  //#endregion
296
298
  export { ue as t };
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper.7vrlOII_.mjs";
2
2
  import { A as t, C as n, E as r, S as i, T as a, f as o, h as s, u as c, w as l } from "./util.g-WQEec9.mjs";
3
- import { t as u } from "./slot.C6Ozd2e7.mjs";
4
- import { a as d, i as f } from "./dataformat.Bfr4nOcA.mjs";
3
+ import { t as u } from "./slot.CZCo32Cw.mjs";
4
+ import { a as d, i as f } from "./dataformat.F7GtAoiN.mjs";
5
5
  import { createBlock as p, createCommentVNode as m, createElementBlock as h, createSlots as g, guardReactiveProps as _, mergeProps as v, normalizeProps as y, openBlock as b, renderList as x, renderSlot as S, resolveDynamicComponent as C, toHandlers as w, withCtx as T, withKeys as E } from "vue";
6
6
  import { isBlank as D } from "@web-utils/core";
7
7
  import { formatDate as O } from "@web-utils/integrations/dayjs";
@@ -28,7 +28,7 @@ var k = (e = {}, n = {}, u = {}, d = []) => {
28
28
  components: { FyUEditor: () => import("../fy-u-editor/index.mjs") },
29
29
  mixins: [u],
30
30
  props: {
31
- value: [
31
+ modelValue: [
32
32
  String,
33
33
  Object,
34
34
  Number,
@@ -62,6 +62,11 @@ var k = (e = {}, n = {}, u = {}, d = []) => {
62
62
  default: () => ({})
63
63
  }
64
64
  },
65
+ emits: [
66
+ "enter",
67
+ "change",
68
+ "update:modelValue"
69
+ ],
65
70
  computed: {
66
71
  params() {
67
72
  return this.column.params || {};
@@ -71,10 +76,10 @@ var k = (e = {}, n = {}, u = {}, d = []) => {
71
76
  },
72
77
  text: {
73
78
  get() {
74
- return this.value;
79
+ return this.modelValue;
75
80
  },
76
81
  set(e) {
77
- this.$emit("input", e), this.$emit("change", e);
82
+ this.$emit("update:modelValue", e), this.$emit("change", e);
78
83
  }
79
84
  }
80
85
  },
@@ -106,7 +111,7 @@ function M(e, t, n, r, i, a) {
106
111
  "table-data": n.tableData,
107
112
  type: n.type || n.column.type,
108
113
  "column-slot": n.columnSlot
109
- }, w(a.event), { onKeyup: E(a.enterChange, ["enter", "native"]) }), g({
114
+ }, w(a.event), { onKeyup: E(a.enterChange, ["enter"]) }), g({
110
115
  default: T(() => [a.params.html ? (b(), h("span", {
111
116
  key: 0,
112
117
  innerHTML: a.params.html
@@ -1,12 +1,12 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper.7vrlOII_.mjs";
2
2
  import { C as t, O as n, a as r, g as i, l as a, t as o, v as s, x as c } from "./util.g-WQEec9.mjs";
3
- import { t as l } from "./slot.C6Ozd2e7.mjs";
4
- import { c as u, o as d, r as f, t as p } from "./dataformat.Bfr4nOcA.mjs";
5
- import { t as m } from "./packages.BGjydzjm.mjs";
6
- import { t as h } from "./permission.DgEVNWlh.mjs";
7
- import { i as g } from "./dic.DgDfnovD.mjs";
8
- import { t as _ } from "./init.DwpukyOB.mjs";
9
- import { n as v, t as y } from "./FormTemp.DiI5EfgK.mjs";
3
+ import { t as l } from "./slot.CZCo32Cw.mjs";
4
+ import { c as u, o as d, r as f, t as p } from "./dataformat.F7GtAoiN.mjs";
5
+ import { t as m } from "./packages.CONbEH13.mjs";
6
+ import { t as h } from "./permission.8WDtOmzA.mjs";
7
+ import { i as g } from "./dic.NZCGhtA7.mjs";
8
+ import { t as _ } from "./init.CtUEiRbU.mjs";
9
+ import { n as v, t as y } from "./FormTemp.CeHtEZQe.mjs";
10
10
  import b from "../icon-temp/index.mjs";
11
11
  import { Fragment as x, createBlock as S, createCommentVNode as C, createElementBlock as w, createElementVNode as T, createSlots as E, createTextVNode as D, createVNode as O, guardReactiveProps as k, mergeProps as A, normalizeClass as j, normalizeProps as M, normalizeStyle as N, openBlock as P, renderList as F, renderSlot as I, resolveComponent as L, resolveDirective as R, resolveDynamicComponent as z, toDisplayString as B, vShow as ee, withCtx as V, withDirectives as H, withModifiers as U } from "vue";
12
12
  import { isBlank as W } from "@web-utils/core";
@@ -251,7 +251,7 @@ function ne(e, t, n, r, i, a) {
251
251
  row: a.searchForm
252
252
  })))), a.isSearchIcon ? (P(), w(x, { key: 0 }, [i.show === !1 ? (P(), S(o, {
253
253
  key: 0,
254
- type: "text",
254
+ text: "",
255
255
  icon: "el-icon-arrow-down",
256
256
  onClick: t[0] || (t[0] = (e) => i.show = !0)
257
257
  }, {
@@ -259,7 +259,7 @@ function ne(e, t, n, r, i, a) {
259
259
  _: 1
260
260
  })) : C("v-if", !0), i.show === !0 ? (P(), S(o, {
261
261
  key: 1,
262
- type: "text",
262
+ text: "",
263
263
  icon: "el-icon-arrow-up",
264
264
  onClick: t[1] || (t[1] = (e) => i.show = !1)
265
265
  }, {
@@ -506,15 +506,15 @@ var ie = /* @__PURE__ */ e(K, [["render", X]]), Z = {}, ae = {
506
506
  let r = e.cascader;
507
507
  r.forEach((i) => {
508
508
  let a = i, o = t[e.prop], s = t.$index, c = this.findObject(this.columnOption, a);
509
- W(c) || (W(this.crud.cascaderDIC[s]) && this.$set(this.crud.cascaderDIC, s, {}), this.crud.cascaderIndexList.includes(s) && r.forEach((e) => {
510
- this.$set(this.crud.cascaderDIC[s], e.prop, []), r.forEach((e) => t[e] = "");
509
+ W(c) || (W(this.crud.cascaderDIC[s]) && (this.crud.cascaderDIC[s] = {}), this.crud.cascaderIndexList.includes(s) && r.forEach((e) => {
510
+ this.crud.cascaderDIC[s][e.prop] = [], r.forEach((e) => t[e] = "");
511
511
  }), !(W(r) || W(o) || W(c)) && g({
512
512
  column: c,
513
513
  value: o,
514
514
  form: t
515
515
  }).then((e) => {
516
516
  let r = e || [];
517
- this.crud.cascaderIndexList.includes(s) || this.crud.cascaderIndexList.push(s), this.crud.cascaderDicList[s] || this.$set(this.crud.cascaderDicList, s, {}), this.crud.cascaderDicList[s][a] || this.$set(this.crud.cascaderDicList[s], a, r), this.$set(this.crud.cascaderDIC[s], a, r), !W(r[c.cascaderIndex]) && !W(r) && !W(c.cascaderIndex) && (t[a] = r[c.cascaderIndex][(c.props || {}).value || n.value]);
517
+ this.crud.cascaderIndexList.includes(s) || this.crud.cascaderIndexList.push(s), this.crud.cascaderDicList[s] || (this.crud.cascaderDicList[s] = {}), this.crud.cascaderDicList[s][a] || (this.crud.cascaderDicList[s][a] = r), this.crud.cascaderDIC[s][a] = r, !W(r[c.cascaderIndex]) && !W(r) && !W(c.cascaderIndex) && (t[a] = r[c.cascaderIndex][(c.props || {}).value || n.value]);
518
518
  }));
519
519
  });
520
520
  });
@@ -1020,7 +1020,7 @@ function Ce(e, t, n, r, i, a) {
1020
1020
  _: 2
1021
1021
  }, 1024)]),
1022
1022
  default: V(() => [O(o, {
1023
- type: "text",
1023
+ text: "",
1024
1024
  size: a.crud.isMediumSize
1025
1025
  }, {
1026
1026
  default: V(() => [D(B(a.crud.tableOption.menuBtnTitle || "按钮") + " ", 1), t[0] || (t[0] = T("i", { class: "el-icon-arrow-down el-icon--right" }, null, -1))]),
@@ -1394,7 +1394,7 @@ var De = /* @__PURE__ */ e(Te, [["render", Ee]]), Oe = {
1394
1394
  }
1395
1395
  } else if (this.isAdd) {
1396
1396
  let { item: t } = this.crud.findData(e[this.crud.rowParentKey]);
1397
- t ? (t[this.crud.childrenKey] || this.$set(t, this.crud.childrenKey, []), this.crud.tableOption.lazy && this.$set(t, this.crud.hasChildrenKey, !0), t[this.crud.childrenKey].push(e)) : this.crud.list.push(e);
1397
+ t ? (t[this.crud.childrenKey] || (t[this.crud.childrenKey] = []), this.crud.tableOption.lazy && (t[this.crud.hasChildrenKey] = !0), t[this.crud.childrenKey].push(e)) : this.crud.list.push(e);
1398
1398
  }
1399
1399
  })(), this.hide();
1400
1400
  },
@@ -1588,7 +1588,6 @@ function Ne(e, t, n, r, i, a) {
1588
1588
  ref: "table",
1589
1589
  data: i.data,
1590
1590
  height: "100%",
1591
- size: "small",
1592
1591
  border: ""
1593
1592
  }, {
1594
1593
  default: V(() => [O(o, {
@@ -1961,7 +1960,6 @@ function He(e, t, n, r, i, a) {
1961
1960
  O(o, {
1962
1961
  type: "danger",
1963
1962
  class: "avue-crud__filter-icon",
1964
- size: "mini",
1965
1963
  circle: "",
1966
1964
  icon: "el-icon-minus",
1967
1965
  onClick: (e) => a.handleDelete(t)
@@ -2036,7 +2034,7 @@ var Ue = {
2036
2034
  type: [Function, Object],
2037
2035
  default: () => ({})
2038
2036
  },
2039
- value: {
2037
+ modelValue: {
2040
2038
  type: Object,
2041
2039
  default: () => ({})
2042
2040
  },
@@ -2180,9 +2178,9 @@ var Ue = {
2180
2178
  }
2181
2179
  },
2182
2180
  watch: {
2183
- value: {
2181
+ modelValue: {
2184
2182
  handler() {
2185
- this.tableForm = this.value;
2183
+ this.tableForm = this.modelValue;
2186
2184
  },
2187
2185
  immediate: !0,
2188
2186
  deep: !0
@@ -2207,7 +2205,7 @@ var Ue = {
2207
2205
  setPx: c,
2208
2206
  optVal: s,
2209
2207
  handleValidate(e, t, n) {
2210
- this.listError[e] || this.$set(this.listError, e, {
2208
+ this.listError[e] || (this.listError[e] = {
2211
2209
  valid: !1,
2212
2210
  msg: ""
2213
2211
  }), this.listError[e].valid = !t, this.listError[e].msg = n;
@@ -2260,11 +2258,11 @@ var Ue = {
2260
2258
  },
2261
2259
  dataInit() {
2262
2260
  this.list = this.data, this.list.forEach((e, t) => {
2263
- e.$cellEdit && !this.cascaderFormList[t] && (this.cascaderFormList[t] = r(e)), this.$set(e, "$cellEdit", e.$cellEdit || !1), this.$set(e, "$index", t);
2261
+ e.$cellEdit && !this.cascaderFormList[t] && (this.cascaderFormList[t] = r(e)), e.$cellEdit = e.$cellEdit || !1, e.$index = t;
2264
2262
  });
2265
2263
  },
2266
2264
  headerDragend(e, t, n, r) {
2267
- this.objectOption[n.property] && this.$set(this.objectOption[n.property], "width", e), this.$emit("header-dragend", e, t, n, r);
2265
+ this.objectOption[n.property] && (this.objectOption[n.property].width = e), this.$emit("header-dragend", e, t, n, r);
2268
2266
  },
2269
2267
  headerSort(e, t) {
2270
2268
  let n = this.columnOption, r = n.splice(e, 1)[0];
@@ -2342,7 +2340,7 @@ var Ue = {
2342
2340
  }), this.list.push(e);
2343
2341
  },
2344
2342
  rowCancel(e, t) {
2345
- W(e[this.rowKey]) ? (this.list.splice(t, 1), delete this.cascaderDIC[t]) : (this.cascaderFormList[t].$cellEdit = !1, this.$set(this.cascaderDIC, t, this.cascaderDicList[t]), this.$set(this.list, t, this.cascaderFormList[t])), delete this.cascaderDicList[t], delete this.cascaderFormList[t], this.cascaderIndexList.splice(this.cascaderIndexList.indexOf(t), 1);
2343
+ W(e[this.rowKey]) ? (this.list.splice(t, 1), delete this.cascaderDIC[t]) : (this.cascaderFormList[t].$cellEdit = !1, this.cascaderDIC[t] = this.cascaderDicList[t], this.list[t] = this.cascaderFormList[t]), delete this.cascaderDicList[t], delete this.cascaderFormList[t], this.cascaderIndexList.splice(this.cascaderIndexList.indexOf(t), 1);
2346
2344
  },
2347
2345
  rowCell(e, t) {
2348
2346
  e.$cellEdit ? this.rowCellUpdate(e, t) : this.rowCellEdit(e, t);
@@ -2508,8 +2506,7 @@ function qe(e, t, n, r, i, a) {
2508
2506
  ]),
2509
2507
  a.optVal(e.tableOption.selectClearBtn, i.config.selectClearBtn) && e.tableOption.selection ? H((P(), S(c, {
2510
2508
  key: 0,
2511
- type: "text",
2512
- size: "small",
2509
+ text: "",
2513
2510
  onClick: a.selectClear
2514
2511
  }, {
2515
2512
  default: V(() => [...t[2] || (t[2] = [D(" 清 空 ", -1)])]),
@@ -1,10 +1,10 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper.7vrlOII_.mjs";
2
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.Bfr4nOcA.mjs";
4
- import { t as h } from "./packages.BGjydzjm.mjs";
5
- import { i as g } from "./dic.DgDfnovD.mjs";
6
- import { t as _ } from "./init.DwpukyOB.mjs";
7
- import { n as v, t as y } from "./FormTemp.DiI5EfgK.mjs";
3
+ import { a as u, i as d, n as f, r as p, t as m } from "./dataformat.F7GtAoiN.mjs";
4
+ import { t as h } from "./packages.CONbEH13.mjs";
5
+ import { i as g } from "./dic.NZCGhtA7.mjs";
6
+ import { t as _ } from "./init.CtUEiRbU.mjs";
7
+ import { n as v, t as y } from "./FormTemp.CeHtEZQe.mjs";
8
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
9
  import { isBlank as U } from "@web-utils/core";
10
10
  //#region src/components/utils/mock.ts
@@ -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;
@@ -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
  }
@@ -312,7 +312,10 @@ var Q = {
312
312
  emits: [
313
313
  "submit",
314
314
  "error",
315
- "tab-click"
315
+ "tab-click",
316
+ "change",
317
+ "update:modelValue",
318
+ "reset-change"
316
319
  ],
317
320
  data() {
318
321
  return {
@@ -420,7 +423,7 @@ var Q = {
420
423
  }
421
424
  },
422
425
  watch: {
423
- value: {
426
+ modelValue: {
424
427
  handler() {
425
428
  this.formCreate && this.setForm();
426
429
  },
@@ -481,11 +484,11 @@ var Q = {
481
484
  return this.isTabs ? `${t}` === this.activeName || t === 0 : !0;
482
485
  },
483
486
  dataFormat() {
484
- let e = p(this.propOption).tableForm, t = this.value, n = {};
487
+ let e = p(this.propOption).tableForm, t = this.modelValue, n = {};
485
488
  Object.entries(Object.assign(e, t)).forEach((e) => {
486
489
  let r = e[0], i = e[1];
487
490
  U(t[r]) ? n[r] = i : n[r] = t[r];
488
- }), this.$set(this, "form", n), this.setLabel(), this.setControl(), this.setVal(), setTimeout(() => {
491
+ }), this.form = n, this.setLabel(), this.setControl(), this.setVal(), setTimeout(() => {
489
492
  this.formCreate = !0, this.clearValidate();
490
493
  });
491
494
  },
@@ -498,16 +501,16 @@ var Q = {
498
501
  let e = this.$watch(`form.${t}`, (e, t) => {
499
502
  e !== t && i(this.form, n, e);
500
503
  }), r = this.$watch(`form.${n}`, (e, n) => {
501
- e !== n && this.$set(this.form, t, e);
504
+ e !== n && (this.form[t] = e);
502
505
  });
503
- o.push(e), o.push(r), this.$set(this.form, t, a(this.form, n));
506
+ o.push(e), o.push(r), this.form[t] = a(this.form, n);
504
507
  }
505
508
  if (r) {
506
509
  let n = () => {
507
510
  let t = r(this.form[e.prop], this.form) || {};
508
511
  Object.keys(t).forEach((e) => {
509
512
  let n = Object.assign(this.objectOption[e] || {}, t[e]);
510
- this.$set(this.objectOption, e, n), t[e].dicData && (this.DIC[e] = t[e].dicData);
513
+ his.objectOption[e] = n, t[e].dicData && (this.DIC[e] = t[e].dicData);
511
514
  });
512
515
  }, i = this.$watch(`form.${t}`, () => {
513
516
  n();
@@ -519,19 +522,19 @@ var Q = {
519
522
  });
520
523
  },
521
524
  setForm() {
522
- Object.keys(this.value).forEach((e) => {
523
- this.$set(this.form, e, this.value[e]);
525
+ Object.keys(this.modelValue).forEach((e) => {
526
+ this.form[e] = this.modelValue[e];
524
527
  });
525
528
  },
526
529
  setVal() {
527
- this.$emit("input", this.form), this.$emit("change", this.form);
530
+ this.$emit("update:modelValue", this.form), this.$emit("change", this.form);
528
531
  },
529
532
  setLabel() {
530
533
  this.tableOption.filterNull === !0 && (this.form = o(this.form, [""], !1)), this.tableOption.filterDic === !0 ? this.form = o(this.form, ["$"], !1) : this.propOption.forEach((e) => {
531
534
  let t = this.DIC[e.prop];
532
535
  if (U(t)) return;
533
536
  let n = v(this.form, e, this.tableOption, t);
534
- n ? this.$set(this.form, `$${e.prop}`, n) : this.$delete(this.form, `$${e.prop}`);
537
+ n ? this.form[`$${e.prop}`] = n : delete this.form[`$${e.prop}`];
535
538
  });
536
539
  },
537
540
  handleGroupClick(e) {
@@ -559,7 +562,7 @@ var Q = {
559
562
  r.forEach((a) => {
560
563
  let o = a, s = this.form[t.prop], c = this.findObject(e, o);
561
564
  U(c) || (this.formList.includes(i) && r.forEach((e) => {
562
- this.form[e] = "", this.$set(this.DIC, e, []);
565
+ this.form[e] = "", this.DIC[e] = [];
563
566
  }), !(U(r) || U(s) || U(c)) && g({
564
567
  column: c,
565
568
  value: s,
@@ -567,7 +570,7 @@ var Q = {
567
570
  }).then((e) => {
568
571
  this.formList.includes(i) || this.formList.push(i);
569
572
  let t = e || [];
570
- this.$set(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[o] = t, !U(t) && !U(t) && !U(c.cascaderIndex) && U(this.form[o]) && (this.form[o] = t[c.cascaderIndex][(c.props || {}).value || n.value]);
571
574
  }));
572
575
  });
573
576
  });
@@ -747,13 +750,14 @@ function ee(e, t, n, r, i, a) {
747
750
  "label-width": a.getLabelWidth(r, n)
748
751
  }, T({
749
752
  default: B(() => [(N(), x(L(a.validTip(r) ? "div" : "elTooltip"), {
753
+ class: "avue-form-item-input-wrapper",
750
754
  disabled: a.validTip(r),
751
755
  content: r.tip || a.getPlaceholder(r),
752
756
  placement: r.tipPlacement
753
757
  }, {
754
758
  default: B(() => [e.$slots[r.prop] ? F(e.$slots, r.prop, {
755
759
  key: 0,
756
- value: i.form[r.prop],
760
+ modelValue: i.form[r.prop],
757
761
  column: r,
758
762
  label: i.form[`$${r.prop}`],
759
763
  size: r.size || e.controlSize,