@web-utils/component 5.0.0-beta02 → 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 (212) hide show
  1. package/awesome-button/index.mjs +24 -30
  2. package/{utils/style.css → base.css} +1 -1
  3. package/chat/index.mjs +3 -12
  4. package/chunks/{EditableTree.D0ByhRTi.mjs → EditableTree.CV8b95tW.mjs} +11 -20
  5. package/chunks/{ElementBaseInfo.B3pY8TkD.mjs → ElementBaseInfo.lW0iwU10.mjs} +2 -3
  6. package/chunks/ElementDialog.DWhAJsUn.mjs +520 -0
  7. package/chunks/{ElementForm.D_lXbe--.mjs → ElementForm.C7yebHWH.mjs} +12 -39
  8. package/chunks/{ElementListeners.Cufwd4bp.mjs → ElementListeners.B_SjC8dp.mjs} +10 -31
  9. package/chunks/{ElementMultiInstance.BhY8NY2z.mjs → ElementMultiInstance.Xw27Z5mm.mjs} +2 -3
  10. package/chunks/{ElementOtherConfig.DX1ZJ9w2.mjs → ElementOtherConfig.DnNmAhKn.mjs} +0 -1
  11. package/chunks/{ElementProperties.BRafADXp.mjs → ElementProperties.DKr9JE_O.mjs} +3 -12
  12. package/chunks/{ElementTaskConfig.B6pqRir_.mjs → ElementTaskConfig.CPjsXlpS.mjs} +6 -10
  13. package/chunks/{FlowCondition.Dvwji23j.mjs → FlowCondition.BA7GF34X.mjs} +4 -5
  14. package/chunks/{FlowDesigner.LL-vXDIE.mjs → FlowDesigner.DH1ypcUw.mjs} +15 -15
  15. package/chunks/{FormCascader.DMY3uNc8.mjs → FormCascader.BXL8lKww.mjs} +348 -346
  16. package/chunks/{FormInputTime.BC4FfWwY.mjs → FormInputTime.DzTPiDNh.mjs} +243 -242
  17. package/chunks/{FormItem.BSXI2cZU.mjs → FormItem.B8iPLduv.mjs} +1 -1
  18. package/chunks/{FormItemGroup.D2Htta7J.mjs → FormItemGroup.CCGqEapT.mjs} +27 -22
  19. package/chunks/{FormSelect.CY0K-izg.mjs → FormSelect.t0jbTL_K.mjs} +396 -394
  20. package/chunks/{FormSwitch.DLqFXaFF.mjs → FormSwitch.uoFQ-xp_.mjs} +26 -25
  21. package/chunks/{FormTemp.PJFfNRls.mjs → FormTemp.CeHtEZQe.mjs} +11 -6
  22. package/chunks/{FyCurd.me083T8V.mjs → FyCurd.DqJuCLNW.mjs} +22 -25
  23. package/chunks/{FyForm.vVp8aVtj.mjs → FyForm.CgyGhetD.mjs} +15 -13
  24. package/chunks/{FyFormDesign.BCxVyiWY.mjs → FyFormDesign.DIIK7mXK.mjs} +49 -128
  25. package/chunks/{FyUpload.CA7Gfa6Q.mjs → FyUpload.DoBEuYcC.mjs} +2 -2
  26. package/chunks/{ImagePreview.ByEWJYdu.mjs → ImagePreview.DDFrZgo5.mjs} +97 -87
  27. package/chunks/{PageableTable.Ba3XSbZ5.mjs → PageableTable.DR-REJN5.mjs} +5 -6
  28. package/chunks/{SignalAndMessage.DYhKWs3X.mjs → SignalAndMessage.CL2u19it.mjs} +1 -10
  29. package/chunks/{TableColumn.72HOXQkb.mjs → TableColumn.Cq9Bvevm.mjs} +2 -2
  30. package/chunks/{TableView.BxfsOAxU.mjs → TableView.DMWMaGLA.mjs} +26 -33
  31. package/chunks/ToolbarButton.AlTszc53.mjs +107 -0
  32. package/chunks/{UserTaskListeners.CkeyTpnn.mjs → UserTaskListeners.Qfm8hKWP.mjs} +9 -27
  33. package/chunks/{VueCron.DEvY5-i7.mjs → VueCron.BmPnLuu3.mjs} +3 -39
  34. package/chunks/{VueTreeSelect.C6Ycu28Z.mjs → VueTreeSelect.GHx4Z2lG.mjs} +10 -6
  35. package/chunks/button.gVyl7Y__.mjs +927 -0
  36. package/chunks/checkbox.AmhCpaBZ.mjs +438 -0
  37. package/chunks/chunk.A6TnG60p.mjs +13 -0
  38. package/chunks/confirmable-mixin.BZtxXY0h.mjs +273 -0
  39. package/chunks/constants.Dw7hXt67.mjs +4 -0
  40. package/chunks/{dictionary.CNNpjPL2.mjs → dictionary.BqVLM7Lf.mjs} +1 -1
  41. package/chunks/{event.Dv4XTu8B.mjs → event.CmOTnori.mjs} +4 -7
  42. package/chunks/event.ZRs4J5TN.mjs +4 -0
  43. package/chunks/{focus-trap.FbvlqAGe.mjs → focus-trap.CuUc8N2C.mjs} +27 -27
  44. package/chunks/{form-input.BUGZmAI1.mjs → form-input.DdSb45Tz.mjs} +3 -3
  45. package/chunks/{form-item.Ca8U2bIR.mjs → form-item.fYYCXvCs.mjs} +110 -106
  46. package/chunks/{icon.CxCY22-F.mjs → icon.AJYLfX1m.mjs} +7 -7
  47. package/chunks/{icon.ym7735_x.mjs → icon.niAg1zTC.mjs} +3 -3
  48. package/chunks/{init.6jGmuY99.mjs → init.CtUEiRbU.mjs} +5 -5
  49. package/chunks/input.B_wW4aF-.mjs +548 -0
  50. package/chunks/install.BJl2MN77.mjs +73 -0
  51. package/chunks/message-box.wGWcYSSd.mjs +463 -0
  52. package/chunks/{message.C4NdvfbE.mjs → message.DnTACuzV.mjs} +100 -99
  53. package/chunks/overlay.Rhu_rfhx.mjs +122 -0
  54. package/chunks/{radio.CeLeSOEo.mjs → radio.BMkZBhl5.mjs} +45 -44
  55. package/chunks/{scroll.DWjS-gnW.mjs → scroll.BJIpzi2Q.mjs} +2 -2
  56. package/chunks/{scrollbar.CAmrlKi9.mjs → scrollbar.CvxOszy3.mjs} +4 -4
  57. package/chunks/{style.BmlGmjpO.mjs → style.CraPDfJA.mjs} +3 -3
  58. package/chunks/{tag.ZhEIVRpP.mjs → tag.B6yUaGj-.mjs} +15 -15
  59. package/chunks/teleport.87mkIv8m.mjs +22 -0
  60. package/chunks/{tooltip.DNiltmX1.mjs → tooltip.Dzjs7LZ8.mjs} +397 -410
  61. package/chunks/typescript.D0a40c7B.mjs +4 -0
  62. package/chunks/{use-aria.BW7nWOl1.mjs → use-aria.B9uqqWAE.mjs} +2 -2
  63. package/chunks/{use-composition.mUaomyno.mjs → use-composition.BMPJBvYs.mjs} +4 -4
  64. package/chunks/{use-deprecated.BfDSbZS9.mjs → use-deprecated.vx6LTDA_.mjs} +2 -2
  65. package/chunks/{use-empty-values.D8KYIiKR.mjs → use-empty-values.CxYKjLV9.mjs} +3 -3
  66. package/chunks/use-form-item.DMDTkMq9.mjs +48 -0
  67. package/chunks/use-global-config.Dkt91Ob3.mjs +57 -0
  68. package/chunks/use-id.CyzdvfQn.mjs +15 -0
  69. package/chunks/{use-locale.Be9HCpTQ.mjs → use-locale.CBoQRFjH.mjs} +1 -1
  70. package/chunks/{typescript.CLl-2siQ.mjs → use-size.CoorvF12.mjs} +4 -4
  71. package/chunks/validator.Drv0r2Nb.mjs +5 -0
  72. package/chunks/{vnode.C3PXzhmg.mjs → vnode.raM3wMJz.mjs} +2 -2
  73. package/confirm-button/index.mjs +1 -1
  74. package/confirmable/index.mjs +1 -1
  75. package/context-menu/index.mjs +39 -38
  76. package/data-table-picker/index.mjs +2 -6
  77. package/dynamic-table/index.mjs +1 -2
  78. package/editable-tree/index.mjs +1 -1
  79. package/element-dialog/index.mjs +1 -1
  80. package/element-dialog/style.css +1 -1
  81. package/empty-view/index.mjs +18 -20
  82. package/error-view/index.mjs +17 -19
  83. package/flex-column/index.mjs +1 -1
  84. package/flex-item/index.mjs +1 -1
  85. package/flex-row/index.mjs +1 -1
  86. package/flow/index.mjs +1 -1
  87. package/flow-designer/index.mjs +1 -1
  88. package/form-block/index.mjs +1 -1
  89. package/form-cascader/index.mjs +1 -1
  90. package/form-checkbox/index.mjs +4 -4
  91. package/form-checkbox-group/index.mjs +6 -6
  92. package/form-date-picker/index.mjs +3 -3
  93. package/form-holder/index.mjs +1 -1
  94. package/form-input/index.mjs +4 -4
  95. package/form-input-cron-expression/index.mjs +4 -4
  96. package/form-input-email/index.mjs +5 -5
  97. package/form-input-id-card/index.mjs +4 -4
  98. package/form-input-phone-number/index.mjs +4 -4
  99. package/form-input-tag/index.mjs +2 -2
  100. package/form-input-time/index.mjs +1 -1
  101. package/form-item/index.mjs +1 -1
  102. package/form-item-group/index.mjs +1 -1
  103. package/form-radio-group/index.mjs +6 -6
  104. package/form-select/index.mjs +1 -1
  105. package/form-switch/index.mjs +1 -1
  106. package/form-table/index.mjs +2 -2
  107. package/form-table-plus/index.mjs +4 -4
  108. package/form-textarea/index.mjs +4 -4
  109. package/form-tree-select/index.mjs +3 -3
  110. package/form-tree-select-multiple/index.mjs +3 -3
  111. package/fy-array/index.mjs +1 -1
  112. package/fy-cascader/index.mjs +1 -1
  113. package/fy-checkbox/index.mjs +1 -1
  114. package/fy-code/index.mjs +2 -2
  115. package/fy-curd/index.mjs +1 -1
  116. package/fy-date/index.mjs +1 -1
  117. package/fy-dynamic/index.mjs +3 -7
  118. package/fy-form/index.mjs +1 -1
  119. package/fy-form/style.css +1 -1
  120. package/fy-form-design/index.mjs +1 -1
  121. package/fy-form-design/style.css +1 -1
  122. package/fy-input/index.mjs +1 -1
  123. package/fy-input-color/index.mjs +1 -2
  124. package/fy-input-icon/index.mjs +37 -32
  125. package/fy-input-map/index.mjs +1 -1
  126. package/fy-input-number/index.mjs +1 -1
  127. package/fy-input-table/index.mjs +1 -1
  128. package/fy-input-tree/index.mjs +3 -3
  129. package/fy-input-tree/style.css +1 -1
  130. package/fy-radio/index.mjs +2 -2
  131. package/fy-rate/index.mjs +2 -2
  132. package/fy-select/index.mjs +5 -5
  133. package/fy-slider/index.mjs +1 -1
  134. package/fy-switch/index.mjs +2 -2
  135. package/fy-time/index.mjs +1 -1
  136. package/fy-title/index.mjs +1 -1
  137. package/fy-tree/index.mjs +1 -1
  138. package/fy-u-editor/index.mjs +1 -1
  139. package/fy-upload/index.mjs +1 -1
  140. package/guide-steps/index.mjs +1 -1
  141. package/helper-function.d.ts +3 -4
  142. package/helper-function.mjs +31 -22
  143. package/iframe-window/index.mjs +30 -29
  144. package/image-cropper/index.mjs +144 -163
  145. package/image-cropper/style.css +1 -1
  146. package/image-preview/index.mjs +1 -1
  147. package/index.d.ts +1 -2
  148. package/index.mjs +91 -92
  149. package/input-number-range/index.mjs +0 -2
  150. package/keyboard/index.mjs +1 -1
  151. package/monaco-editor/index.mjs +1 -1
  152. package/nav-bar/index.mjs +1 -1
  153. package/notice/index.mjs +1 -4
  154. package/package.json +11 -13
  155. package/pageable-table/index.mjs +1 -1
  156. package/pageable-view/index.mjs +2 -2
  157. package/photo-swipe/index.mjs +1 -1
  158. package/picker-table-view/index.mjs +4 -8
  159. package/record-video/index.mjs +1 -1
  160. package/resize-observer/index.mjs +1 -1
  161. package/search/index.mjs +2 -2
  162. package/split-pane/index.mjs +1 -1
  163. package/static-pageable-table/index.mjs +1 -4
  164. package/sub-table/index.mjs +2 -5
  165. package/sub-table-plus/index.mjs +3 -6
  166. package/tab/index.mjs +1 -1
  167. package/tab-item/index.mjs +1 -1
  168. package/table-column/index.mjs +1 -1
  169. package/table-view/index.mjs +1 -1
  170. package/tag-render/index.mjs +28 -24
  171. package/toolbar/index.mjs +1 -1
  172. package/toolbar-button/index.mjs +2 -143
  173. package/vue-cron/index.mjs +1 -1
  174. package/vue-tags-input/index.mjs +1 -1
  175. package/vue-tree-select/index.mjs +1 -1
  176. package/watermark/index.mjs +1 -1
  177. package/web-types.json +250 -382
  178. package/x-input-tag/index.mjs +0 -3
  179. package/chunks/ElementDialog.DNsDHdQS.mjs +0 -251
  180. package/chunks/checkbox.C_9WZ8gc.mjs +0 -437
  181. package/chunks/confirmable-mixin.zegaXQTl.mjs +0 -1762
  182. package/chunks/event.B4iwtUNO.mjs +0 -4
  183. package/chunks/input.C2GWsuXE.mjs +0 -547
  184. package/chunks/install.yLcn5MLL.mjs +0 -84
  185. package/chunks/use-form-item.BlWa7ZKe.mjs +0 -56
  186. package/chunks/use-global-config.DRovgom9.mjs +0 -57
  187. package/chunks/validator.DuBSEj8O.mjs +0 -5
  188. package/login/index.mjs +0 -252
  189. package/login/style.css +0 -1
  190. /package/chunks/{FormBlock.Co7l6USP.mjs → FormBlock.D6kZl7sm.mjs} +0 -0
  191. /package/chunks/{FyUEditor.BymtA5SJ.mjs → FyUEditor.uvZS8UgS.mjs} +0 -0
  192. /package/chunks/{Keyboard.4hi7CjGc.mjs → Keyboard.DBspwbYo.mjs} +0 -0
  193. /package/chunks/{MonacoEditor.B7BUQwb7.mjs → MonacoEditor.Bq9d6JSz.mjs} +0 -0
  194. /package/chunks/{RecordVideo.VRFTaHSp.mjs → RecordVideo.CKTY-gk9.mjs} +0 -0
  195. /package/chunks/{SplitPane.Bwe5Rc0J.mjs → SplitPane.DNNid7WB.mjs} +0 -0
  196. /package/chunks/{Toolbar.BVziVmyT.mjs → Toolbar.DytZ6fO0.mjs} +0 -0
  197. /package/chunks/{core.DXaMPWGV.mjs → core.Blrh_Fjl.mjs} +0 -0
  198. /package/chunks/{dataformat.CteBVoOe.mjs → dataformat.F7GtAoiN.mjs} +0 -0
  199. /package/chunks/{dic.C0abEij9.mjs → dic.NZCGhtA7.mjs} +0 -0
  200. /package/chunks/{dictionary.BRhZD-WH.mjs → dictionary.DXYdZefs.mjs} +0 -0
  201. /package/chunks/{form-pick.DT5kumy4.mjs → form-pick.BEC7lrNH.mjs} +0 -0
  202. /package/chunks/{form-validate.CUvMwtPN.mjs → form-validate.JFOV_f-C.mjs} +0 -0
  203. /package/chunks/{packages.BLDb9e6G.mjs → packages.CONbEH13.mjs} +0 -0
  204. /package/chunks/{permission.C-IUDxQQ.mjs → permission.8WDtOmzA.mjs} +0 -0
  205. /package/chunks/{photo-swipe.BxnG4lip.mjs → photo-swipe.BvBJGc5x.mjs} +0 -0
  206. /package/chunks/{slot.DT5QwXL-.mjs → slot.CZCo32Cw.mjs} +0 -0
  207. /package/chunks/{sub-table-plus-props.CRX7ERxJ.mjs → sub-table-plus-props.DvS8aKT4.mjs} +0 -0
  208. /package/chunks/{tab-mixin.7zuMMM1E.mjs → tab-mixin.C9DSz8xu.mjs} +0 -0
  209. /package/chunks/{util.Ce4MHRmD.mjs → util.fjuzrmWz.mjs} +0 -0
  210. /package/chunks/{utilSelf.BttmSVX6.mjs → utilSelf.Bv7FtUNb.mjs} +0 -0
  211. /package/chunks/{utils.BGJfM4oG.mjs → utils.C37EhJ-u.mjs} +0 -0
  212. /package/chunks/{utils.CSPl1l4f.mjs → utils.C8RvIGLM.mjs} +0 -0
@@ -1,16 +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.BlWa7ZKe.mjs";
6
- import { t as g } from "./use-aria.BW7nWOl1.mjs";
7
- import { h as _, t as v } from "./icon.ym7735_x.mjs";
8
- import { i as y } from "./icon.CxCY22-F.mjs";
9
- import { t as b } from "./validator.DuBSEj8O.mjs";
10
- import { d as x, n as S, u as C } from "./util.Ce4MHRmD.mjs";
11
- import { t as w } from "./form-input.BUGZmAI1.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";
12
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";
13
- //#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
14
15
  var Y = f({
15
16
  modelValue: {
16
17
  type: [
@@ -75,9 +76,9 @@ var Y = f({
75
76
  tabindex: { type: [String, Number] },
76
77
  ...g(["ariaLabel"])
77
78
  }), X = {
78
- [o]: (t) => c(t) || e(t) || d(t),
79
- [s]: (t) => c(t) || e(t) || d(t),
80
- [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)
81
82
  }, ie = [
82
83
  "id",
83
84
  "aria-checked",
@@ -88,13 +89,13 @@ var Y = f({
88
89
  "false-value",
89
90
  "disabled",
90
91
  "tabindex"
91
- ], 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({
92
93
  name: Z,
93
94
  __name: "switch",
94
95
  props: Y,
95
96
  emits: X,
96
- setup(e, { expose: r, emit: i }) {
97
- let l = e, d = i, { formItem: f } = ne(), g = h(), y = 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(() => {
98
99
  if (l.loading) return !0;
99
100
  })), S = re(l.modelValue !== !1), C = V(), w = T(() => [
100
101
  y.b(),
@@ -114,13 +115,13 @@ var Y = f({
114
115
  S.value = !0;
115
116
  });
116
117
  let U = T(() => S.value ? l.modelValue : !1), Y = T(() => U.value === l.activeValue);
117
- [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) => {
118
119
  var t;
119
120
  C.value.checked = e, l.validateEvent && (f == null || (t = f.validate) == null || t.call(f, "change").catch((e) => u(e)));
120
121
  });
121
122
  let X = () => {
122
123
  let e = Y.value ? l.inactiveValue : l.activeValue;
123
- d(o, e), d(s, e), d(a, e), N(() => {
124
+ d(n, e), d(r, e), d(t, e), N(() => {
124
125
  C.value.checked = Y.value;
125
126
  });
126
127
  }, Q = () => {
@@ -130,16 +131,16 @@ var Y = f({
130
131
  X();
131
132
  return;
132
133
  }
133
- let n = e();
134
- [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) => {
135
136
  e && X();
136
137
  }).catch((e) => {
137
138
  u(Z, `some error occurred: ${e}`);
138
- }) : n && X();
139
+ }) : t && X();
139
140
  };
140
141
  return I(() => {
141
142
  C.value.checked = Y.value;
142
- }), r({
143
+ }), i({
143
144
  focus: () => {
144
145
  var e, t;
145
146
  (e = C.value) == null || (t = e.focus) == null || t.call(e);
@@ -292,6 +293,6 @@ function $(e, t, n, r, i, a) {
292
293
  _: 3
293
294
  }, 16, ["rules", "disabled"]);
294
295
  }
295
- var ue = /* @__PURE__ */ i(le, [["render", $]]);
296
+ var ue = /* @__PURE__ */ e(le, [["render", $]]);
296
297
  //#endregion
297
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.DT5QwXL-.mjs";
4
- import { a as d, i as f } from "./dataformat.CteBVoOe.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.DT5QwXL-.mjs";
4
- import { c as u, o as d, r as f, t as p } from "./dataformat.CteBVoOe.mjs";
5
- import { t as m } from "./packages.BLDb9e6G.mjs";
6
- import { t as h } from "./permission.C-IUDxQQ.mjs";
7
- import { i as g } from "./dic.C0abEij9.mjs";
8
- import { t as _ } from "./init.6jGmuY99.mjs";
9
- import { n as v, t as y } from "./FormTemp.PJFfNRls.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: "default",
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: "default",
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: "default",
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.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";
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
  }
@@ -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 {
@@ -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
  },
@@ -483,7 +484,7 @@ 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 = p(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
490
  U(t[r]) ? n[r] = i : n[r] = t[r];
@@ -521,8 +522,8 @@ var Q = {
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() {
@@ -749,13 +750,14 @@ function ee(e, t, n, r, i, a) {
749
750
  "label-width": a.getLabelWidth(r, n)
750
751
  }, T({
751
752
  default: B(() => [(N(), x(L(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
758
  default: B(() => [e.$slots[r.prop] ? F(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,