@aplus-frontend/ui 0.5.25 → 0.5.26

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 (193) hide show
  1. package/es/src/ap-action/group/index.vue.mjs +3 -3
  2. package/es/src/ap-action/item/index.vue2.mjs +5 -5
  3. package/es/src/ap-action/item-dropdown/index.vue.mjs +7 -7
  4. package/es/src/ap-action/item-modal/index.vue.mjs +2 -2
  5. package/es/src/ap-action/item-popconfirm/index.vue.mjs +2 -2
  6. package/es/src/ap-button/ap-action-button.vue.mjs +2 -2
  7. package/es/src/ap-button/ap-button.vue.mjs +2 -2
  8. package/es/src/ap-button/ap-confirm-button.vue.mjs +2 -2
  9. package/es/src/ap-descriptions/ap-descriptions.vue.mjs +4 -4
  10. package/es/src/ap-descriptions/help-message/index.vue2.mjs +4 -4
  11. package/es/src/ap-download/ap-download.vue.mjs +1 -1
  12. package/es/src/ap-field/checkbox/index.vue.mjs +1 -1
  13. package/es/src/ap-field/date/index.vue.mjs +4 -4
  14. package/es/src/ap-field/date-range/index.vue.mjs +8 -8
  15. package/es/src/ap-field/index.mjs +36 -36
  16. package/es/src/ap-field/number/index.vue.mjs +8 -8
  17. package/es/src/ap-field/radio/index.vue.mjs +1 -1
  18. package/es/src/ap-field/rate/index.vue.mjs +2 -2
  19. package/es/src/ap-field/segmented/index.vue.mjs +1 -1
  20. package/es/src/ap-field/select/index.vue.mjs +2 -2
  21. package/es/src/ap-field/select/use-select-options.d.ts +2 -2
  22. package/es/src/ap-field/slider/index.vue.mjs +4 -4
  23. package/es/src/ap-field/switch/index.vue.mjs +3 -3
  24. package/es/src/ap-field/text/index.vue2.mjs +2 -2
  25. package/es/src/ap-field/text/password.vue.mjs +2 -2
  26. package/es/src/ap-field/text-area/index.vue.mjs +3 -3
  27. package/es/src/ap-field/tree-select/index.vue.mjs +3 -3
  28. package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
  29. package/es/src/ap-form/ap-form.vue.d.ts +1 -2
  30. package/es/src/ap-form/ap-form.vue2.mjs +2 -2
  31. package/es/src/ap-form/drawer-form/index.vue.d.ts +3 -4
  32. package/es/src/ap-form/drawer-form/index.vue.mjs +9 -9
  33. package/es/src/ap-form/item/index.vue.mjs +7 -7
  34. package/es/src/ap-form/item-group/index.vue.mjs +3 -3
  35. package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
  36. package/es/src/ap-form/items/date/index.vue.mjs +2 -2
  37. package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
  38. package/es/src/ap-form/items/number/index.vue.mjs +2 -2
  39. package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
  40. package/es/src/ap-form/items/select/index.vue.d.ts +6 -6
  41. package/es/src/ap-form/items/select/index.vue.mjs +2 -2
  42. package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
  43. package/es/src/ap-form/items/text/group.vue2.mjs +2 -2
  44. package/es/src/ap-form/items/text/index.vue2.mjs +2 -2
  45. package/es/src/ap-form/items/text/password.vue.mjs +2 -2
  46. package/es/src/ap-form/items/text-area/index.vue.mjs +2 -2
  47. package/es/src/ap-form/items/tree-select/index.vue.mjs +2 -2
  48. package/es/src/ap-form/modal-form/index.vue.d.ts +3 -4
  49. package/es/src/ap-form/modal-form/index.vue.mjs +7 -7
  50. package/es/src/ap-form/render/item.vue.mjs +2 -2
  51. package/es/src/ap-form/search-form/index.vue.d.ts +3 -4
  52. package/es/src/ap-form/search-form/index.vue.mjs +2 -2
  53. package/es/src/ap-form/set/index.vue.mjs +1 -1
  54. package/es/src/ap-grid/editable/form-item.vue.d.ts +2 -4
  55. package/es/src/ap-grid/editable/form-item.vue.mjs +16 -16
  56. package/es/src/ap-grid/editable/index.vue.d.ts +2 -4
  57. package/es/src/ap-grid/editable/index.vue.mjs +11 -11
  58. package/es/src/ap-grid/hooks/use-inner-params.mjs +3 -3
  59. package/es/src/ap-grid/index.vue.d.ts +2 -4
  60. package/es/src/ap-grid/index.vue.mjs +4 -4
  61. package/es/src/ap-info-layout/ApInfoLayout.vue.mjs +2 -2
  62. package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue2.mjs +2 -2
  63. package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue2.mjs +1 -1
  64. package/es/src/ap-list/index.vue.d.ts +2 -4
  65. package/es/src/ap-list/index.vue.mjs +4 -4
  66. package/es/src/ap-modal/utils/confirm.d.ts +1 -1
  67. package/es/src/ap-table/ap-table.vue.d.ts +2 -4
  68. package/es/src/ap-table/ap-table.vue2.mjs +13 -13
  69. package/es/src/ap-table/components/dynamic-component/index.vue2.mjs +2 -2
  70. package/es/src/ap-table/components/index/index.vue2.mjs +2 -2
  71. package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +3 -3
  72. package/es/src/ap-table/components/setting/modal/index.vue2.mjs +3 -3
  73. package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +1 -1
  74. package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +1 -1
  75. package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +1 -1
  76. package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +11 -11
  77. package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
  78. package/es/src/ap-table/components/status/index.vue2.mjs +2 -2
  79. package/es/src/ap-table/constants.d.ts +5 -5
  80. package/es/src/ap-table/constants.mjs +45 -45
  81. package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  82. package/es/src/ap-table/hooks/use-table-column-state.mjs +3 -3
  83. package/es/src/ap-table/utils.d.ts +5 -5
  84. package/es/src/ap-tag/ap-tag-group.vue.mjs +8 -8
  85. package/es/src/ap-tag/ap-tag.vue.mjs +2 -2
  86. package/es/src/ap-upload/apUpload.vue.mjs +5 -5
  87. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  88. package/es/src/ap-upload/components/MultipleFile.vue2.mjs +3 -3
  89. package/es/src/ap-upload/components/Picture.vue.d.ts +2 -7
  90. package/es/src/ap-upload/components/Picture.vue2.mjs +6 -6
  91. package/es/src/ap-upload/components/SingleFile.vue2.mjs +7 -7
  92. package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +1 -1
  93. package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +2 -2
  94. package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +2 -2
  95. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +10 -10
  96. package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +1 -1
  97. package/es/src/business/ap-batch-action-group/index.d.ts +3 -3
  98. package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
  99. package/es/src/business/ap-card/ApCard.vue2.mjs +7 -7
  100. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
  101. package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +11 -11
  102. package/es/src/business/ap-expand-alert/index.d.ts +4 -6
  103. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +9 -9
  104. package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +5 -5
  105. package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +4 -4
  106. package/es/src/business/ap-group-search/images/icon-down.vue.mjs +2 -2
  107. package/es/src/business/ap-group-search/images/icon-line-select.vue.mjs +2 -2
  108. package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +2 -2
  109. package/es/src/business/ap-image/ApImage.vue2.mjs +1 -1
  110. package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +2 -2
  111. package/es/src/business/ap-ladder/ApLadder.vue2.mjs +1 -1
  112. package/es/src/business/ap-ladder/components/SimpleMode.vue2.mjs +4 -4
  113. package/es/src/business/ap-ladder/components/ValueGroupMode.vue2.mjs +13 -13
  114. package/es/src/business/ap-ladder/utils.mjs +1 -1
  115. package/es/src/business/ap-select-layout/index.d.ts +2 -4
  116. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
  117. package/es/src/business/ap-select-layout/select-layout.vue2.mjs +4 -4
  118. package/es/src/business/ap-status/ApStatus.vue2.mjs +8 -8
  119. package/es/src/business/ap-status/group/ApStatusGroup.vue2.mjs +4 -4
  120. package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
  121. package/es/src/business/ap-table-modal/modal-title.vue2.mjs +2 -2
  122. package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +14 -14
  123. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +3 -3
  124. package/es/src/business/ap-title/ApTitle.vue2.mjs +7 -7
  125. package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +1 -1
  126. package/es/src/business/ap-upload-file/icon/delete-icon.vue.mjs +2 -2
  127. package/es/src/business/ap-upload-file/icon/file-icon.vue.mjs +2 -2
  128. package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
  129. package/es/src/business/batch-input-group/index.vue.mjs +1 -1
  130. package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +2 -2
  131. package/es/src/check-card/index.vue2.mjs +3 -3
  132. package/es/src/config-provider/hooks/use-namespace.d.ts +5 -1
  133. package/es/src/editable-table/form-item.vue.d.ts +2 -4
  134. package/es/src/editable-table/form-item.vue.mjs +83 -83
  135. package/es/src/editable-table/index.vue.d.ts +2 -4
  136. package/es/src/editable-table/index.vue.mjs +84 -79
  137. package/es/src/full-screen/index.vue.mjs +3 -3
  138. package/es/src/hooks/useFullScreen.mjs +5 -5
  139. package/es/src/mask/index.vue.mjs +10 -10
  140. package/es/src/portal/index.vue.mjs +2 -2
  141. package/es/src/scroll-bar/index.vue.mjs +3 -3
  142. package/es/src/scroll-bar/internal.vue.mjs +2 -2
  143. package/es/src/scroll-view/index.vue.d.ts +5 -5
  144. package/es/src/scroll-view/index.vue.mjs +9 -9
  145. package/es/src/tests/wrapper.d.ts +4 -4
  146. package/es/src/text/group.vue.mjs +2 -2
  147. package/es/src/text/index.vue.mjs +4 -4
  148. package/es/src/work-order-modal/help-message.vue2.mjs +2 -2
  149. package/es/src/work-order-modal/work-order-modal.vue.d.ts +2 -3
  150. package/es/src/work-order-modal/work-order-modal.vue.mjs +2 -2
  151. package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
  152. package/lib/src/ap-field/index.js +1 -1
  153. package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
  154. package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
  155. package/lib/src/ap-form/ap-form.vue.d.ts +1 -2
  156. package/lib/src/ap-form/drawer-form/index.vue.d.ts +3 -4
  157. package/lib/src/ap-form/items/select/index.vue.d.ts +6 -6
  158. package/lib/src/ap-form/modal-form/index.vue.d.ts +3 -4
  159. package/lib/src/ap-form/search-form/index.vue.d.ts +3 -4
  160. package/lib/src/ap-form/search-form/index.vue.js +1 -1
  161. package/lib/src/ap-grid/editable/form-item.vue.d.ts +2 -4
  162. package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
  163. package/lib/src/ap-grid/editable/index.vue.d.ts +2 -4
  164. package/lib/src/ap-grid/editable/index.vue.js +1 -1
  165. package/lib/src/ap-grid/index.vue.d.ts +2 -4
  166. package/lib/src/ap-list/index.vue.d.ts +2 -4
  167. package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
  168. package/lib/src/ap-table/ap-table.vue.d.ts +2 -4
  169. package/lib/src/ap-table/constants.d.ts +5 -5
  170. package/lib/src/ap-table/constants.js +1 -1
  171. package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  172. package/lib/src/ap-table/utils.d.ts +5 -5
  173. package/lib/src/ap-upload/apUpload.vue.js +1 -1
  174. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  175. package/lib/src/ap-upload/components/Picture.vue.d.ts +2 -7
  176. package/lib/src/business/ap-batch-action-group/index.d.ts +3 -3
  177. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
  178. package/lib/src/business/ap-expand-alert/index.d.ts +4 -6
  179. package/lib/src/business/ap-ladder/utils.js +1 -1
  180. package/lib/src/business/ap-select-layout/index.d.ts +2 -4
  181. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
  182. package/lib/src/config-provider/hooks/use-namespace.d.ts +5 -1
  183. package/lib/src/editable-table/form-item.vue.d.ts +2 -4
  184. package/lib/src/editable-table/form-item.vue.js +1 -1
  185. package/lib/src/editable-table/index.vue.d.ts +2 -4
  186. package/lib/src/editable-table/index.vue.js +1 -1
  187. package/lib/src/scroll-view/index.vue.d.ts +5 -5
  188. package/lib/src/tests/wrapper.d.ts +4 -4
  189. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +2 -3
  190. package/package.json +3 -3
  191. package/theme/ap-grid/index.css +4 -3
  192. package/theme/ap-grid/index.less +4 -3
  193. package/theme/index.css +4 -3
@@ -1,4 +1,4 @@
1
- import { defineComponent as I, ref as d, computed as M, onMounted as O, openBlock as p, createElementBlock as m, normalizeClass as a, unref as t, createVNode as u, Transition as W, withCtx as v, withDirectives as g, createElementVNode as s, toDisplayString as E, createTextVNode as $, Fragment as z, renderList as R, renderSlot as x, vShow as N, createCommentVNode as j } from "vue";
1
+ import { defineComponent as I, ref as d, computed as M, onMounted as O, createElementBlock as p, openBlock as m, normalizeClass as a, unref as t, createVNode as u, createElementVNode as s, Transition as W, withCtx as v, withDirectives as g, toDisplayString as E, createTextVNode as $, Fragment as z, renderList as R, renderSlot as x, vShow as N, createCommentVNode as j } from "vue";
2
2
  import "../../ap-field/index.mjs";
3
3
  import { IconApLeftarrow as G, IconApMenu as H } from "@aplus-frontend/icon";
4
4
  import "../../config-provider/index.mjs";
@@ -42,7 +42,7 @@ const Q = ["onClick"], ae = /* @__PURE__ */ I({
42
42
  });
43
43
  }), (n, e) => {
44
44
  var r;
45
- return p(), m("div", {
45
+ return m(), p("div", {
46
46
  class: a(t(h)())
47
47
  }, [
48
48
  u(W, {
@@ -90,7 +90,7 @@ const Q = ["onClick"], ae = /* @__PURE__ */ I({
90
90
  s("div", {
91
91
  class: a(t(i)("side", "body", "scroll"))
92
92
  }, [
93
- (p(!0), m(z, null, R(U.value, (l) => g((p(), m("div", {
93
+ (m(!0), p(z, null, R(U.value, (l) => g((m(), p("div", {
94
94
  key: l.value,
95
95
  class: a(`${t(i)("side", "body", "scroll-item")} ${F.value === l ? "active" : ""}`),
96
96
  onClick: (X) => V(l)
@@ -118,7 +118,7 @@ const Q = ["onClick"], ae = /* @__PURE__ */ I({
118
118
  s("div", {
119
119
  class: a(t(y)("content", "header"))
120
120
  }, [
121
- f.value ? (p(), m("div", {
121
+ f.value ? (m(), p("div", {
122
122
  key: 0,
123
123
  class: a(t(i)("content", "header", "imgWrap"))
124
124
  }, [
@@ -1,4 +1,4 @@
1
- import { defineComponent as u, computed as a, openBlock as d, createElementBlock as i, normalizeClass as r, unref as t, normalizeStyle as s, createTextVNode as m, toDisplayString as f, createElementVNode as y, createCommentVNode as g } from "vue";
1
+ import { defineComponent as u, computed as a, createElementBlock as d, createCommentVNode as i, openBlock as m, normalizeStyle as r, normalizeClass as s, unref as t, createTextVNode as f, createElementVNode as y, toDisplayString as g } from "vue";
2
2
  import "../../config-provider/index.mjs";
3
3
  import { useNamespace as x } from "../../config-provider/hooks/use-namespace.mjs";
4
4
  const C = /* @__PURE__ */ u({
@@ -20,17 +20,17 @@ const C = /* @__PURE__ */ u({
20
20
  })), p = a(() => ({
21
21
  "background-color": e.color
22
22
  })), { b: c, e: o } = x("ap-status");
23
- return (S, _) => e.show ? (d(), i("div", {
23
+ return (S, _) => e.show ? (m(), d("div", {
24
24
  key: 0,
25
- class: r([t(c)()]),
26
- style: s(n.value)
25
+ class: s([t(c)()]),
26
+ style: r(n.value)
27
27
  }, [
28
- m(f(e.text) + " ", 1),
28
+ f(g(e.text) + " ", 1),
29
29
  y("div", {
30
- class: r([t(o)("bg"), t(o)("primary")]),
31
- style: s(p.value)
30
+ class: s([t(o)("bg"), t(o)("primary")]),
31
+ style: r(p.value)
32
32
  }, null, 6)
33
- ], 6)) : g("", !0);
33
+ ], 6)) : i("", !0);
34
34
  }
35
35
  });
36
36
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as p, computed as c, openBlock as r, createElementBlock as o, normalizeClass as d, unref as m, normalizeStyle as a, Fragment as i, renderList as f, createBlock as y, createCommentVNode as _ } from "vue";
1
+ import { defineComponent as p, computed as c, createElementBlock as o, createCommentVNode as d, openBlock as r, normalizeStyle as a, normalizeClass as m, unref as i, Fragment as f, renderList as y, createBlock as _ } from "vue";
2
2
  import "../../../config-provider/index.mjs";
3
3
  import "../ApStatus.vue.mjs";
4
4
  import { useNamespace as g } from "../../../config-provider/hooks/use-namespace.mjs";
@@ -19,10 +19,10 @@ const w = /* @__PURE__ */ p({
19
19
  })), { b: l } = g("ap-status-group");
20
20
  return (n, S) => t.statusList ? (r(), o("div", {
21
21
  key: 0,
22
- class: d([m(l)()]),
22
+ class: m([i(l)()]),
23
23
  style: a(u.value)
24
24
  }, [
25
- (r(!0), o(i, null, f(t.statusList, (e) => (r(), y(k, {
25
+ (r(!0), o(f, null, y(t.statusList, (e) => (r(), _(k, {
26
26
  key: e.value,
27
27
  show: e.value === n.currentValue,
28
28
  color: e.color,
@@ -30,7 +30,7 @@ const w = /* @__PURE__ */ p({
30
30
  padding: t.padding,
31
31
  style: a(t.style)
32
32
  }, null, 8, ["show", "color", "text", "padding", "style"]))), 128))
33
- ], 6)) : _("", !0);
33
+ ], 6)) : d("", !0);
34
34
  }
35
35
  });
36
36
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as N, computed as p, createVNode as w, Fragment as y, openBlock as m, createBlock as l, unref as r, normalizeClass as f, withCtx as x, createElementBlock as z, renderList as B, normalizeStyle as R, resolveDynamicComponent as A } from "vue";
1
+ import { defineComponent as N, computed as p, createVNode as w, Fragment as y, createBlock as l, openBlock as m, unref as r, normalizeClass as f, withCtx as x, createElementBlock as z, renderList as B, normalizeStyle as R, resolveDynamicComponent as A } from "vue";
2
2
  import { isNil as D, get as i } from "lodash-unified";
3
3
  import { TableSummaryRow as F, TableSummaryCell as V } from "@aplus-frontend/antdv";
4
4
  import { flattenColumns as E, formatDataIndex as c } from "./utils.mjs";
@@ -1,4 +1,4 @@
1
- import { defineComponent as m, openBlock as c, createElementBlock as f, createTextVNode as a, toDisplayString as t, renderSlot as d, createElementVNode as r, normalizeStyle as u, unref as o } from "vue";
1
+ import { defineComponent as m, createElementBlock as c, openBlock as f, createTextVNode as a, renderSlot as d, toDisplayString as t, createElementVNode as r, normalizeStyle as u, unref as o } from "vue";
2
2
  import "../../config-provider/index.mjs";
3
3
  import { useLocale as p } from "../../config-provider/hooks/use-locale.mjs";
4
4
  import { useGlobalConfig as s } from "../../config-provider/hooks/use-global-config.mjs";
@@ -20,7 +20,7 @@ const T = /* @__PURE__ */ m({
20
20
  },
21
21
  setup(e) {
22
22
  const { t: n } = p(), l = s("uiMode", "aplus");
23
- return (i, x) => (c(), f("div", null, [
23
+ return (i, x) => (f(), c("div", null, [
24
24
  a(t(e.title) + " ", 1),
25
25
  d(i.$slots, "default", {
26
26
  maxCount: e.maxCount,
@@ -1,4 +1,4 @@
1
- import { defineComponent as v, openBlock as l, createElementBlock as o, normalizeClass as a, unref as t, Fragment as i, createVNode as m, withCtx as n, createBlock as s, resolveDynamicComponent as p, h, createElementVNode as c, renderSlot as b, createCommentVNode as T, createTextVNode as $, toDisplayString as B, renderList as M } from "vue";
1
+ import { defineComponent as v, createElementBlock as o, openBlock as l, normalizeClass as a, unref as t, renderSlot as h, Fragment as i, createCommentVNode as b, createElementVNode as m, createVNode as p, withCtx as n, createBlock as s, resolveDynamicComponent as c, h as T, createTextVNode as $, toDisplayString as B, renderList as M } from "vue";
2
2
  import "../../../config-provider/index.mjs";
3
3
  import { ApTitle as k } from "../../ap-title/index.mjs";
4
4
  import { Button as V, Empty as I } from "@aplus-frontend/antdv";
@@ -30,29 +30,29 @@ const O = /* @__PURE__ */ v({
30
30
  key: 0,
31
31
  class: a(t(r)("table-layout-left"))
32
32
  }, [
33
- m(t(k), { style: { "margin-bottom": "16px" } }, {
33
+ p(t(k), { style: { "margin-bottom": "16px" } }, {
34
34
  prefix: n(() => [
35
- (l(), s(p(h(i, [e.leftTitle]))))
35
+ (l(), s(c(T(i, [e.leftTitle]))))
36
36
  ]),
37
37
  _: 1
38
38
  }),
39
- c("div", {
39
+ m("div", {
40
40
  class: a(t(r)("table-layout-left-content"))
41
41
  }, [
42
- b(e.$slots, "default")
42
+ h(e.$slots, "default")
43
43
  ], 2)
44
- ], 2)) : T("", !0),
45
- c("div", {
44
+ ], 2)) : b("", !0),
45
+ m("div", {
46
46
  class: a(t(r)("table-layout-right"))
47
47
  }, [
48
- m(t(k), {
48
+ p(t(k), {
49
49
  title: `${t(d)("ap.apTableModal.selected")} (${e.selectedList.length})`
50
50
  }, {
51
51
  prefix: n(() => [
52
- (l(), s(p(h(i, [N(e.selectedList.length)]))))
52
+ (l(), s(c(T(i, [N(e.selectedList.length)]))))
53
53
  ]),
54
54
  suffix: n(() => [
55
- m(t(V), {
55
+ p(t(V), {
56
56
  type: "link",
57
57
  style: { padding: "0px", height: "22px", "border-width": "0px" },
58
58
  onClick: L
@@ -65,21 +65,21 @@ const O = /* @__PURE__ */ v({
65
65
  ]),
66
66
  _: 1
67
67
  }, 8, ["title"]),
68
- c("div", {
68
+ m("div", {
69
69
  class: a(t(r)("table-layout-right-content"))
70
70
  }, [
71
71
  (l(!0), o(i, null, M(e.selectedList, (y) => {
72
72
  var g;
73
- return l(), s(p((g = e.renderSelectedItem) == null ? void 0 : g.call(e, y, { deleteItem: C })), { key: y });
73
+ return l(), s(c((g = e.renderSelectedItem) == null ? void 0 : g.call(e, y, { deleteItem: C })), { key: y });
74
74
  }), 128)),
75
75
  e.selectedList.length === 0 ? (l(), s(t(I), {
76
76
  key: 0,
77
77
  image: t(I).PRESENTED_IMAGE_SIMPLE,
78
78
  style: { "margin-top": "100px" }
79
- }, null, 8, ["image"])) : T("", !0)
79
+ }, null, 8, ["image"])) : b("", !0)
80
80
  ], 2)
81
81
  ], 2)
82
- ], 64)) : b(e.$slots, "default", { key: 1 })
82
+ ], 64)) : h(e.$slots, "default", { key: 1 })
83
83
  ], 2));
84
84
  }
85
85
  });
@@ -1,4 +1,4 @@
1
- import { defineComponent as U, ref as m, unref as s, computed as q, h as V, openBlock as k, createBlock as T, mergeProps as y, withCtx as h, resolveDynamicComponent as $, createCommentVNode as z, createVNode as S } from "vue";
1
+ import { defineComponent as U, ref as m, unref as s, computed as q, h as V, createBlock as k, openBlock as T, mergeProps as y, withCtx as h, createCommentVNode as $, createVNode as S, resolveDynamicComponent as z } from "vue";
2
2
  import { message as B, Modal as W } from "@aplus-frontend/antdv";
3
3
  import "../../config-provider/index.mjs";
4
4
  import { ApTable as Y } from "../../ap-table/index.mjs";
@@ -178,7 +178,7 @@ const pe = /* @__PURE__ */ U({
178
178
  open: D,
179
179
  close: w,
180
180
  getApTableInstance: G
181
- }), (o, t) => (k(), T(s(W), y(
181
+ }), (o, t) => (T(), k(s(W), y(
182
182
  {
183
183
  open: i.value,
184
184
  "onUpdate:open": t[0] || (t[0] = (l) => i.value = l)
@@ -206,7 +206,7 @@ const pe = /* @__PURE__ */ U({
206
206
  }
207
207
  ), {
208
208
  default: h(() => [
209
- e.renderHeader ? (k(), T($(e.renderHeader), { key: 0 })) : z("", !0),
209
+ e.renderHeader ? (T(), k(z(e.renderHeader), { key: 0 })) : $("", !0),
210
210
  S(ee, y(e.tableLayoutConfig || {}, {
211
211
  "selected-list": a.value,
212
212
  onClear: H,
@@ -1,4 +1,4 @@
1
- import { defineComponent as d, computed as g, openBlock as l, createElementBlock as a, normalizeClass as o, unref as t, createElementVNode as r, renderSlot as n, Fragment as h, toDisplayString as C, createBlock as y, withCtx as k, createVNode as v, normalizeStyle as M, createCommentVNode as $ } from "vue";
1
+ import { defineComponent as d, computed as g, createElementBlock as a, openBlock as l, normalizeClass as o, unref as t, createElementVNode as r, renderSlot as n, Fragment as h, createBlock as C, createCommentVNode as y, toDisplayString as k, withCtx as v, createVNode as M, normalizeStyle as $ } from "vue";
2
2
  import { Tooltip as I } from "@aplus-frontend/antdv";
3
3
  import { QuestionCircleOutlined as N } from "@ant-design/icons-vue";
4
4
  import "../../config-provider/index.mjs";
@@ -25,20 +25,20 @@ const D = /* @__PURE__ */ d({
25
25
  class: o(t(s)("prefix"))
26
26
  }, [
27
27
  e.$slots.prefix ? n(e.$slots, "prefix", { key: 0 }) : (l(), a(h, { key: 1 }, [
28
- r("span", null, C(e.title), 1),
29
- e.helpMessage ? (l(), y(t(I), {
28
+ r("span", null, k(e.title), 1),
29
+ e.helpMessage ? (l(), C(t(I), {
30
30
  key: 0,
31
31
  title: e.helpMessage,
32
32
  placement: e.placement,
33
33
  trigger: e.trigger
34
34
  }, {
35
- default: k(() => [
36
- v(t(N), {
37
- style: M(f.value)
35
+ default: v(() => [
36
+ M(t(N), {
37
+ style: $(f.value)
38
38
  }, null, 8, ["style"])
39
39
  ]),
40
40
  _: 1
41
- }, 8, ["title", "placement", "trigger"])) : $("", !0)
41
+ }, 8, ["title", "placement", "trigger"])) : y("", !0)
42
42
  ], 64))
43
43
  ], 2),
44
44
  r("div", {
@@ -1,4 +1,4 @@
1
- import { defineComponent as Q, computed as C, openBlock as m, createBlock as k, unref as e, mergeProps as W, withCtx as u, renderSlot as X, normalizeProps as Y, guardReactiveProps as Z, createElementVNode as s, normalizeClass as l, createElementBlock as g, createVNode as n, createTextVNode as p, toDisplayString as f, resolveDynamicComponent as E, h as P, Fragment as $ } from "vue";
1
+ import { defineComponent as Q, computed as C, createBlock as k, openBlock as m, unref as e, mergeProps as W, withCtx as u, renderSlot as X, normalizeProps as Y, guardReactiveProps as Z, createElementVNode as s, normalizeClass as l, createElementBlock as g, createVNode as n, createTextVNode as p, toDisplayString as f, resolveDynamicComponent as E, h as P, Fragment as $ } from "vue";
2
2
  import { clearSingleFile as ee, clearAllFile as x } from "../utils/fileList.mjs";
3
3
  import b from "../icon/file-icon.vue.mjs";
4
4
  import F from "../icon/delete-icon.vue.mjs";
@@ -1,4 +1,4 @@
1
- import { openBlock as l, createElementBlock as n, createElementVNode as e } from "vue";
1
+ import { createElementBlock as l, openBlock as n, createElementVNode as e } from "vue";
2
2
  import t from "../../../../_virtual/_plugin-vue_export-helper.mjs";
3
3
  const r = {}, L = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
@@ -8,7 +8,7 @@ const r = {}, L = {
8
8
  viewBox: "0 0 20 20"
9
9
  };
10
10
  function i(c, o) {
11
- return l(), n("svg", L, o[0] || (o[0] = [
11
+ return n(), l("svg", L, o[0] || (o[0] = [
12
12
  e("g", null, [
13
13
  e("g", null, [
14
14
  e("path", {
@@ -1,4 +1,4 @@
1
- import { openBlock as o, createElementBlock as i, createStaticVNode as e } from "vue";
1
+ import { createElementBlock as o, openBlock as i, createStaticVNode as e } from "vue";
2
2
  import l from "../../../../_virtual/_plugin-vue_export-helper.mjs";
3
3
  const r = {}, s = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
@@ -8,7 +8,7 @@ const r = {}, s = {
8
8
  viewBox: "0 0 56 56"
9
9
  };
10
10
  function p(a, t) {
11
- return o(), i("svg", s, t[0] || (t[0] = [
11
+ return i(), o("svg", s, t[0] || (t[0] = [
12
12
  e('<defs><clipPath id="master_svg0_693_19001"><rect x="0" y="0" width="56" height="56" rx="7"></rect></clipPath><linearGradient id="master_svg1_693_19025" x1="0.5" y1="0" x2="0.5" y2="0.7987817525863647"><stop offset="0%" stop-color="#AED1FF" stop-opacity="1"></stop><stop offset="100%" stop-color="#74B1FF" stop-opacity="1"></stop></linearGradient><linearGradient id="master_svg2_693_19014" x1="0.5" y1="0" x2="0.5" y2="1"><stop offset="0.7142857182770967%" stop-color="#DBEBFF" stop-opacity="1"></stop><stop offset="100%" stop-color="#98C5FF" stop-opacity="1"></stop></linearGradient></defs><g clip-path="url(#master_svg0_693_19001)"><g><g><path d="M49.4644,10.22729L35.1706,10.22729C34.2282,10.22729,33.316,9.89456,32.595,9.287759999999999L29.1746,6.4093C28.0931,5.499102,26.7249,5,25.3113,5L5.5,5C3.29086,5,1.5,6.79086,1.5,9L1.5,45L54.4995,45L54.5,15.2852C54.5,12.49165,52.2455,10.22729,49.4644,10.22729Z" fill="url(#master_svg1_693_19025)" fill-opacity="1"></path></g><g><path d="M10.5,13L45.5,13C46.6046,13,47.5,13.895431,47.5,15L47.5,35.9999L8.5,36L8.5,15C8.5,13.895431,9.395431,13,10.5,13" fill="#FFFFFF" fill-opacity="0.30000001192092896"></path></g><g><path d="M8.5,17L47.5,17C48.6046,17,49.5,17.895431,49.5,19L49.5,41.9998L6.5,42L6.5,19C6.5,17.895431,7.395431,17,8.5,17" fill="#F9FCFF" fill-opacity="1"></path></g><g><rect x="14.5" y="21" width="15" height="2" rx="1" fill="#8DBFFF" fill-opacity="0.30000001192092896"></rect></g><g><rect x="14.5" y="27" width="28" height="2" rx="1" fill="#8DBFFF" fill-opacity="0.6000000238418579"></rect></g><g><path d="M1.5,37L1.5,48C1.5,50.2091,3.29086,52,5.5,52L50.5,52C52.7091,52,54.5,50.2091,54.5,48L54.5,37C54.5,35.34315,53.1569,34,51.5,34L4.5,34C2.84315,34,1.5,35.34315,1.5,37Z" fill="url(#master_svg2_693_19014)" fill-opacity="1"></path></g></g></g>', 2)
13
13
  ]));
14
14
  }
@@ -1,4 +1,4 @@
1
- import { defineComponent as b, computed as r, openBlock as B, createBlock as g, mergeProps as u, unref as m, withCtx as _, createVNode as V } from "vue";
1
+ import { defineComponent as b, computed as r, createBlock as B, openBlock as g, mergeProps as u, unref as m, withCtx as _, createVNode as V } from "vue";
2
2
  import "./index.vue2.mjs";
3
3
  import "../../ap-form/item/index.vue2.mjs";
4
4
  import { isValid as s } from "@aplus-frontend/utils";
@@ -75,7 +75,7 @@ const q = /* @__PURE__ */ b({
75
75
  });
76
76
  return (e, a) => {
77
77
  var o, i;
78
- return B(), g(x, u(
78
+ return g(), B(x, u(
79
79
  m(p)(l, [
80
80
  "field",
81
81
  "initialValue",
@@ -1,4 +1,4 @@
1
- import { defineComponent as N, ref as g, computed as u, unref as n, openBlock as B, createElementBlock as $, normalizeClass as K, normalizeStyle as b, createVNode as c, withCtx as A, createBlock as M, createCommentVNode as D, mergeProps as q } from "vue";
1
+ import { defineComponent as N, ref as g, computed as u, unref as n, createElementBlock as $, openBlock as B, normalizeStyle as b, normalizeClass as K, createVNode as c, withCtx as A, createBlock as M, createCommentVNode as D, mergeProps as q } from "vue";
2
2
  import "../../ap-field/index.mjs";
3
3
  import { Space as G } from "@aplus-frontend/antdv";
4
4
  import "../../config-provider/index.mjs";
@@ -1,4 +1,4 @@
1
- import { defineComponent as A, ref as m, openBlock as w, createElementBlock as B, normalizeClass as p, unref as e, createVNode as c, withCtx as d, createElementVNode as L } from "vue";
1
+ import { defineComponent as A, ref as m, createElementBlock as w, openBlock as B, normalizeClass as p, unref as e, createVNode as c, withCtx as d, createElementVNode as L } from "vue";
2
2
  import { Popover as N, Textarea as P } from "@aplus-frontend/antdv";
3
3
  import "../../../config-provider/index.mjs";
4
4
  import { IconApAdLineScreen as z } from "@aplus-frontend/icon";
@@ -33,7 +33,7 @@ const D = /* @__PURE__ */ A({
33
33
  o.disabled ? n.value = !1 : n.value = t, !t && ((a = o.onClose) == null || a.call(o));
34
34
  }
35
35
  const { b: u, e: I, em: V, bm: k } = O("batch-input-group-popover-input");
36
- return (t, a) => (w(), B("div", {
36
+ return (t, a) => (B(), w("div", {
37
37
  class: p(e(u)())
38
38
  }, [
39
39
  c(e(N), {
@@ -1,4 +1,4 @@
1
- import { defineComponent as I, computed as d, unref as o, createVNode as m, Fragment as W, watch as $, watchEffect as j, openBlock as c, createElementBlock as C, normalizeStyle as D, normalizeClass as z, withModifiers as M, createBlock as f, renderSlot as O, resolveDynamicComponent as S, createCommentVNode as g, createElementVNode as U } from "vue";
1
+ import { defineComponent as I, computed as d, unref as o, createVNode as m, Fragment as W, watch as $, watchEffect as j, createElementBlock as C, openBlock as c, withModifiers as D, normalizeClass as z, normalizeStyle as M, createBlock as f, renderSlot as O, createCommentVNode as g, resolveDynamicComponent as S, createElementVNode as U } from "vue";
2
2
  import { Skeleton as q } from "@aplus-frontend/antdv";
3
3
  import "../config-provider/index.mjs";
4
4
  import "../hooks/index.mjs";
@@ -115,9 +115,9 @@ const K = ["src"], oe = /* @__PURE__ */ I({
115
115
  return (b = (u = l.value) == null ? void 0 : u.cancelValue) == null ? void 0 : b.call(u, a.value);
116
116
  });
117
117
  }), (e, t) => (c(), C("div", {
118
- style: D(T.value),
118
+ style: M(T.value),
119
119
  class: z(w.value),
120
- onClick: M(F, ["stop"])
120
+ onClick: D(F, ["stop"])
121
121
  }, [n.value.loading ? (c(), f(o(q), {
122
122
  key: 0,
123
123
  active: ""
@@ -2,7 +2,11 @@ import { InjectionKey, Ref, ComputedRef } from 'vue';
2
2
  export declare const defaultNamespace = "aplus";
3
3
  export declare const namespaceContextKey: InjectionKey<Ref<string | undefined>>;
4
4
  export declare const useGetDerivedNamespace: (namespaceOverrides?: Ref<string | undefined>) => ComputedRef<string>;
5
- export declare const useNamespace: (block: string, namespaceOverrides?: Ref<string | undefined>) => {
5
+ export declare const useNamespace: (
6
+ /**
7
+ * 块 一般是指组件名
8
+ */
9
+ block: string, namespaceOverrides?: Ref<string | undefined>) => {
6
10
  namespace: ComputedRef<string>;
7
11
  b: (blockSuffix?: string) => string;
8
12
  e: (element?: string) => string;
@@ -1,6 +1,6 @@
1
1
  import { EditableColumnType, EditableTableFormItemProps } from './interface';
2
2
  import { StandardBehaviorOptions } from '../../node_modules/scroll-into-view-if-needed';
3
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
4
4
  import { UnwrapRefSimple } from '@vue/reactivity';
5
5
  declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
6
6
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & EditableTableFormItemProps<RecordType> & Partial<{}>> & PublicProps;
@@ -48,9 +48,7 @@ declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<type
48
48
  }) => void;
49
49
  };
50
50
  emit: {};
51
- }>) => VNode<RendererNode, RendererElement, {
52
- [key: string]: any;
53
- }> & {
51
+ }>) => VNode & {
54
52
  __ctx?: Awaited<typeof __VLS_setup>;
55
53
  };
56
54
  export default _default;
@@ -1,15 +1,15 @@
1
- import { defineComponent as K, ref as d, unref as n, useSlots as M, watch as g, openBlock as G, createBlock as H, mergeProps as b, withCtx as w, createVNode as W, createSlots as $, renderList as q, renderSlot as U, normalizeProps as J, guardReactiveProps as Q } from "vue";
2
- import { Table as X } from "@aplus-frontend/antdv";
3
- import { ApForm as C } from "../ap-form/index.mjs";
4
- import { isArray as Y, isEqual as Z, isNumber as f, cloneDeep as m, omit as y } from "lodash-unified";
1
+ import { defineComponent as O, ref as c, unref as s, useSlots as K, toRef as G, watch as H, nextTick as U, createBlock as W, openBlock as $, mergeProps as h, withCtx as x, createVNode as q, createSlots as J, renderList as Q, renderSlot as X, normalizeProps as Y, guardReactiveProps as Z } from "vue";
2
+ import { Table as I } from "@aplus-frontend/antdv";
3
+ import { ApForm as g } from "../ap-form/index.mjs";
4
+ import { isArray as M, isUndefined as ee, isNumber as m, cloneDeep as oe, omit as w } from "lodash-unified";
5
5
  import "../config-provider/index.mjs";
6
- import { useInjectForm as I } from "../ap-form/context.mjs";
7
- import { isDef as i } from "../utils/index.mjs";
8
- import ee from "./hooks/use-get-columns.mjs";
9
- import { scrollToRowIndex as oe } from "./utils.mjs";
10
- import { useNamespace as te } from "../config-provider/hooks/use-namespace.mjs";
11
- import { useGlobalConfig as ae } from "../config-provider/hooks/use-global-config.mjs";
12
- const he = /* @__PURE__ */ K({
6
+ import { useInjectForm as te } from "../ap-form/context.mjs";
7
+ import { isDef as b } from "../utils/index.mjs";
8
+ import ae from "./hooks/use-get-columns.mjs";
9
+ import { scrollToRowIndex as le } from "./utils.mjs";
10
+ import { useNamespace as ne } from "../config-provider/hooks/use-namespace.mjs";
11
+ import { useGlobalConfig as ue } from "../config-provider/hooks/use-global-config.mjs";
12
+ const we = /* @__PURE__ */ O({
13
13
  name: "EditableTableInner",
14
14
  __name: "form-item",
15
15
  props: {
@@ -109,111 +109,111 @@ const he = /* @__PURE__ */ K({
109
109
  default: () => ({})
110
110
  }
111
111
  },
112
- setup(R, {
113
- expose: B
112
+ setup(y, {
113
+ expose: C
114
114
  }) {
115
- const l = R;
116
- function D(e, o) {
117
- return Y(o) ? o.reduce((u, a) => u == null ? void 0 : u[a], e) : e == null ? void 0 : e[o];
115
+ const l = y;
116
+ function R(e, t) {
117
+ return M(t) ? t.reduce((n, o) => n == null ? void 0 : n[o], e) : e == null ? void 0 : e[t];
118
118
  }
119
119
  const {
120
- internalInstance: t,
121
- model: F
122
- } = I(), r = d(D(n(F), l.name) || []), L = M(), c = d(l.name);
123
- g(() => l.name, (e, o) => {
124
- Z(e, o) || (c.value = e);
125
- });
126
- const T = C.useWatch(c);
127
- g(() => T.value, (e) => {
128
- var o;
129
- r.value = e, (o = l.onChange) == null || o.call(l, e);
120
+ internalInstance: a,
121
+ model: B
122
+ } = te(), d = c(R(s(B), l.name) || []), F = K(), T = G(l, "name"), D = g.useWatch(T);
123
+ H(() => D.value, async (e) => {
124
+ var t;
125
+ await U(), d.value = e, (t = l.onChange) == null || t.call(l, e);
130
126
  }, {
131
127
  deep: !0
132
128
  });
133
129
  const {
134
- b: v
135
- } = te("editable-table"), p = d(), E = ae("valueTypeMap"), N = ee(l, E);
136
- function V(e, o) {
137
- var s;
138
- const u = ((s = n(r)) == null ? void 0 : s.length) || 0;
139
- if (i(l.maxLength) && u >= l.maxLength)
130
+ b: L
131
+ } = ne("editable-table"), p = c(), V = ue("valueTypeMap"), N = ae(l, V);
132
+ function S(e, t) {
133
+ var u;
134
+ const n = ((u = s(d)) == null ? void 0 : u.length) || 0;
135
+ if (b(l.maxLength) && n >= l.maxLength)
140
136
  return;
141
- const a = [...n(r) || []];
142
- i(o) ? a.splice(o, 0, {
137
+ const o = {
143
138
  ...e || {}
144
- }) : a.push({
145
- ...e || {}
146
- }), t == null || t.setFieldValue(l.name, a);
139
+ };
140
+ a == null || a.setFieldValue(l.name, o, !0, (f, r) => {
141
+ f[r] || (f[r] = [o]), ee(t) ? f[r].push(o) : f[r].splice(t, 0, o);
142
+ });
147
143
  }
148
- function S(e, o = "suffix") {
149
- var x;
150
- const u = ((x = n(r)) == null ? void 0 : x.length) || 0, a = f(e) ? e : e.length;
151
- if (i(l.maxLength) && u + a > l.maxLength)
144
+ function k(e, t = "suffix") {
145
+ var f;
146
+ const n = ((f = s(d)) == null ? void 0 : f.length) || 0, o = m(e) ? e : e.length;
147
+ if (b(l.maxLength) && n + o > l.maxLength)
152
148
  return;
153
- const s = [...n(r) || []], h = f(e) ? new Array(e).fill({}) : m(e);
154
- o === "suffix" ? s.push(...h) : s.unshift(...h), t == null || t.setFieldValue(l.name, s);
149
+ const u = m(e) ? new Array(e).fill(0).map(() => ({})) : oe(e);
150
+ a == null || a.setFieldValue(l.name, u, !0, (r, i) => {
151
+ r[i] || (r[i] = [...u]), t === "suffix" ? r[i].push(...u) : r[i].unshift(...u);
152
+ });
155
153
  }
156
- function _(e) {
157
- let o = m(n(r) || []);
158
- const u = f(e) ? [e] : e;
159
- o = o.filter((a, s) => !u.includes(s)), t == null || t.setFieldValue(l.name, o);
154
+ function v(e) {
155
+ const t = new Set(m(e) ? [e] : e);
156
+ a == null || a.setFieldValue(l.name, void 0, !0, (n, o) => {
157
+ n[o] = n[o].filter((u, f) => !t.has(f));
158
+ });
160
159
  }
161
- function k() {
162
- return n(r);
160
+ function E() {
161
+ return s(d);
163
162
  }
164
- function j(e) {
165
- var o;
166
- return (o = n(r)) == null ? void 0 : o[e];
163
+ function _(e) {
164
+ var t;
165
+ return (t = s(d)) == null ? void 0 : t[e];
167
166
  }
168
- function A(e, o, u = !0) {
169
- const a = m(n(r));
170
- a[e] && (a[e] = {
171
- ...u ? a[e] : {},
172
- ...o
173
- }, t == null || t.setFieldValue(l.name, [...a]));
167
+ function j(e, t, n = !0) {
168
+ a == null || a.setFieldValue(l.name, void 0, !0, (o, u) => {
169
+ !o[u] || !o[u][e] || (o[u][e] = {
170
+ ...n ? o[u][e] : {},
171
+ ...t
172
+ });
173
+ });
174
174
  }
175
175
  function P(e) {
176
- t == null || t.setFieldValue(l.name, e);
176
+ a == null || a.setFieldValue(l.name, e);
177
177
  }
178
- function z(e, o) {
179
- var a;
180
- const u = e === "end" ? r.value.length - 1 : e;
181
- oe(u, (a = p.value) == null ? void 0 : a.$el, o);
178
+ function z(e, t) {
179
+ var o;
180
+ const n = e === "end" ? d.value.length - 1 : e;
181
+ le(n, (o = p.value) == null ? void 0 : o.$el, t);
182
182
  }
183
- function O() {
183
+ function A() {
184
184
  var e;
185
- (e = t == null ? void 0 : t.setFieldValue) == null || e.call(t, l.name, []);
185
+ (e = a == null ? void 0 : a.setFieldValue) == null || e.call(a, l.name, []);
186
186
  }
187
- return B({
188
- add: V,
189
- remove: _,
190
- getRowData: j,
191
- getRowsData: k,
192
- setRowData: A,
193
- addMultiple: S,
187
+ return C({
188
+ add: S,
189
+ remove: v,
190
+ getRowData: _,
191
+ getRowsData: E,
192
+ setRowData: j,
193
+ addMultiple: k,
194
194
  scrollTo: z,
195
195
  setTableData: P,
196
- clear: O
197
- }), (e, o) => (G(), H(n(C).FormItem, b(e.formItem, {
196
+ clear: A
197
+ }), (e, t) => ($(), W(s(g).FormItem, h(e.formItem, {
198
198
  name: e.name,
199
199
  label: e.label
200
200
  }), {
201
- default: w(() => [W(n(X), b(n(y)(l, ["name", "maxLength", "onChange"]), {
201
+ default: x(() => [q(s(I), h(s(w)(l, ["name", "maxLength", "onChange"]), {
202
202
  ref_key: "tableRef",
203
203
  ref: p,
204
- class: n(v)(),
205
- columns: n(N),
206
- "data-source": r.value
207
- }), $({
204
+ class: s(L)(),
205
+ columns: s(N),
206
+ "data-source": d.value
207
+ }), J({
208
208
  _: 2
209
- }, [q(n(y)(L, ["headerCell"]), (u, a) => ({
210
- name: a,
211
- fn: w((s) => [U(e.$slots, a, J(Q(s || {})))])
209
+ }, [Q(s(w)(F, ["headerCell"]), (n, o) => ({
210
+ name: o,
211
+ fn: x((u) => [X(e.$slots, o, Y(Z(u || {})))])
212
212
  }))]), 1040, ["class", "columns", "data-source"])]),
213
213
  _: 3
214
214
  }, 16, ["name", "label"]));
215
215
  }
216
216
  });
217
217
  export {
218
- he as default
218
+ we as default
219
219
  };
@@ -2,7 +2,7 @@ import { EditableTableProps, EditableColumnType } from './interface';
2
2
  import { NamePath, ValidateOptions } from '@aplus-frontend/antdv/es/form/interface';
3
3
  import { Recordable } from '../type';
4
4
  import { StandardBehaviorOptions } from '../../node_modules/scroll-into-view-if-needed';
5
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
5
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
6
6
  declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
7
7
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
8
8
  readonly "onUpdate:value"?: ((...args: any[]) => any) | undefined;
@@ -53,9 +53,7 @@ declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNu
53
53
  }) => void;
54
54
  };
55
55
  emit: (event: "update:value", ...args: any[]) => void;
56
- }>) => VNode<RendererNode, RendererElement, {
57
- [key: string]: any;
58
- }> & {
56
+ }>) => VNode & {
59
57
  __ctx?: Awaited<typeof __VLS_setup>;
60
58
  };
61
59
  export default _default;