@aplus-frontend/ui 0.6.0-beta.0 → 0.6.0-beta.2

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 (209) hide show
  1. package/es/src/ap-button/ap-button.vue.mjs +1 -1
  2. package/es/src/ap-form/ap-form.vue2.mjs +57 -58
  3. package/es/src/ap-form/interface.d.ts +4 -0
  4. package/es/src/ap-form/item/index.vue.mjs +33 -28
  5. package/es/src/ap-form/items/checkbox/index.vue.mjs +1 -0
  6. package/es/src/ap-form/items/date/index.vue.mjs +8 -7
  7. package/es/src/ap-form/items/date-range/index.vue.mjs +1 -0
  8. package/es/src/ap-form/items/number/index.vue.mjs +9 -8
  9. package/es/src/ap-form/items/radio/index.vue.mjs +1 -0
  10. package/es/src/ap-form/items/select/index.vue.mjs +7 -6
  11. package/es/src/ap-form/items/switch/index.vue.mjs +1 -0
  12. package/es/src/ap-form/items/text/index.vue2.mjs +8 -7
  13. package/es/src/ap-form/items/text/password.vue.mjs +1 -0
  14. package/es/src/ap-form/items/text-area/index.vue.mjs +1 -0
  15. package/es/src/ap-form/items/tree-select/index.vue.mjs +6 -5
  16. package/es/src/ap-form/render/item.vue.mjs +5 -4
  17. package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +10 -10
  18. package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.mjs +8 -8
  19. package/es/src/ap-form/search-form/index.vue.mjs +36 -35
  20. package/es/src/ap-grid/editable/form-item.vue.mjs +1 -1
  21. package/es/src/ap-grid/editable/index.vue.mjs +1 -1
  22. package/es/src/ap-grid/index.vue.mjs +149 -140
  23. package/es/src/ap-grid/interface.d.ts +1 -1
  24. package/es/src/ap-table/ap-table.vue2.mjs +206 -199
  25. package/es/src/ap-tag/ap-tag.vue.d.ts +1 -0
  26. package/es/src/ap-tag/ap-tag.vue.mjs +18 -12
  27. package/es/src/ap-tag/interface.d.ts +4 -0
  28. package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +11 -12
  29. package/es/src/business/ap-export-group/ApExportGroup.vue.d.ts +1 -0
  30. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +108 -99
  31. package/es/src/business/ap-export-group/index.d.ts +3 -0
  32. package/es/src/business/ap-export-group/interface.d.ts +7 -2
  33. package/es/src/business/ap-table-modal/modal-title.vue2.mjs +2 -2
  34. package/es/src/business/ap-view/ap-view.vue2.mjs +120 -114
  35. package/es/src/business/ap-view/components/main-button-content.vue2.mjs +63 -55
  36. package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +38 -38
  37. package/es/src/business/ap-view/interface.d.ts +4 -0
  38. package/es/src/business/batch-input-group/form-item.vue.mjs +1 -0
  39. package/es/src/business/hooks/usePageListApGrid.mjs +2 -4
  40. package/es/src/check-card/index.vue2.mjs +1 -1
  41. package/es/src/config-provider/css-var.mjs +2 -2
  42. package/es/src/design-token/index.mjs +9 -3
  43. package/es/src/editable-table/form-item.vue.mjs +1 -1
  44. package/es/src/editable-table/index.vue.mjs +27 -27
  45. package/es/src/locale/lang/en.mjs +1 -1
  46. package/es/src/locale/lang/zh-cn.mjs +1 -1
  47. package/lib/src/ap-button/ap-button.vue.js +1 -1
  48. package/lib/src/ap-form/ap-form.vue2.js +1 -1
  49. package/lib/src/ap-form/interface.d.ts +4 -0
  50. package/lib/src/ap-form/item/index.vue.js +1 -1
  51. package/lib/src/ap-form/items/checkbox/index.vue.js +1 -1
  52. package/lib/src/ap-form/items/date/index.vue.js +1 -1
  53. package/lib/src/ap-form/items/date-range/index.vue.js +1 -1
  54. package/lib/src/ap-form/items/number/index.vue.js +1 -1
  55. package/lib/src/ap-form/items/radio/index.vue.js +1 -1
  56. package/lib/src/ap-form/items/select/index.vue.js +1 -1
  57. package/lib/src/ap-form/items/switch/index.vue.js +1 -1
  58. package/lib/src/ap-form/items/text/index.vue2.js +1 -1
  59. package/lib/src/ap-form/items/text/password.vue.js +1 -1
  60. package/lib/src/ap-form/items/text-area/index.vue.js +1 -1
  61. package/lib/src/ap-form/items/tree-select/index.vue.js +1 -1
  62. package/lib/src/ap-form/render/item.vue.js +1 -1
  63. package/lib/src/ap-form/search-form/components/popover-filter.vue2.js +1 -1
  64. package/lib/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.js +1 -1
  65. package/lib/src/ap-form/search-form/index.vue.js +1 -1
  66. package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
  67. package/lib/src/ap-grid/editable/index.vue.js +1 -1
  68. package/lib/src/ap-grid/index.vue.js +1 -1
  69. package/lib/src/ap-grid/interface.d.ts +1 -1
  70. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  71. package/lib/src/ap-tag/ap-tag.vue.d.ts +1 -0
  72. package/lib/src/ap-tag/ap-tag.vue.js +1 -1
  73. package/lib/src/ap-tag/interface.d.ts +4 -0
  74. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
  75. package/lib/src/business/ap-export-group/ApExportGroup.vue.d.ts +1 -0
  76. package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
  77. package/lib/src/business/ap-export-group/index.d.ts +3 -0
  78. package/lib/src/business/ap-export-group/interface.d.ts +7 -2
  79. package/lib/src/business/ap-table-modal/modal-title.vue2.js +1 -1
  80. package/lib/src/business/ap-view/ap-view.vue2.js +1 -1
  81. package/lib/src/business/ap-view/components/main-button-content.vue2.js +1 -1
  82. package/lib/src/business/ap-view/components/menu-list-content.vue2.js +1 -1
  83. package/lib/src/business/ap-view/interface.d.ts +4 -0
  84. package/lib/src/business/batch-input-group/form-item.vue.js +1 -1
  85. package/lib/src/business/hooks/usePageListApGrid.js +1 -1
  86. package/lib/src/check-card/index.vue2.js +1 -1
  87. package/lib/src/config-provider/css-var.js +1 -1
  88. package/lib/src/design-token/index.js +1 -1
  89. package/lib/src/editable-table/form-item.vue.js +1 -1
  90. package/lib/src/editable-table/index.vue.js +1 -1
  91. package/lib/src/locale/lang/en.js +1 -1
  92. package/lib/src/locale/lang/zh-cn.js +1 -1
  93. package/package.json +1 -1
  94. package/theme/antd-global-overwrite/admin/index.css +5 -8
  95. package/theme/antd-global-overwrite/admin/modal.css +2 -5
  96. package/theme/antd-global-overwrite/admin/modal.less +3 -3
  97. package/theme/antd-global-overwrite/admin/table.css +3 -3
  98. package/theme/antd-global-overwrite/admin/table.less +3 -3
  99. package/theme/antd-global-overwrite/aplus/index.css +5 -8
  100. package/theme/antd-global-overwrite/aplus/modal.css +2 -5
  101. package/theme/antd-global-overwrite/aplus/modal.less +3 -3
  102. package/theme/antd-global-overwrite/aplus/table.css +3 -3
  103. package/theme/antd-global-overwrite/aplus/table.less +3 -3
  104. package/theme/ap-action/item-dropdown.css +5 -5
  105. package/theme/ap-action/item-dropdown.less +1 -1
  106. package/theme/ap-action/item.css +5 -5
  107. package/theme/ap-action/item.less +1 -1
  108. package/theme/ap-appendix/ap-appendix.css +7 -5
  109. package/theme/ap-appendix/ap-appendix.less +4 -2
  110. package/theme/ap-attachment/ap-attachment.css +7 -7
  111. package/theme/ap-attachment/ap-attachment.less +4 -4
  112. package/theme/ap-batch-action/ap-batch-action.css +9 -6
  113. package/theme/ap-batch-action/ap-batch-action.less +6 -3
  114. package/theme/ap-button/ap-button.css +3 -3
  115. package/theme/ap-card/ap-card.css +3 -3
  116. package/theme/ap-descriptions/ap-descriptions.css +6 -8
  117. package/theme/ap-descriptions/ap-descriptions.less +3 -5
  118. package/theme/ap-download/ap-download.css +10 -13
  119. package/theme/ap-download/ap-download.less +8 -11
  120. package/theme/ap-expand-alert/ap-expand-alert.css +4 -4
  121. package/theme/ap-expand-alert/ap-expand-alert.less +3 -4
  122. package/theme/ap-field/checkbox.css +4 -4
  123. package/theme/ap-field/checkbox.less +2 -1
  124. package/theme/ap-field/index.css +5 -5
  125. package/theme/ap-field/number.css +3 -3
  126. package/theme/ap-field/radio.css +4 -4
  127. package/theme/ap-field/radio.less +1 -1
  128. package/theme/ap-field/text-area.css +3 -3
  129. package/theme/ap-form/ap-form-item-group.css +3 -3
  130. package/theme/ap-form/ap-form-item.css +10 -8
  131. package/theme/ap-form/ap-form-item.less +8 -6
  132. package/theme/ap-form/drawer-form.css +3 -3
  133. package/theme/ap-form/index.css +21 -19
  134. package/theme/ap-form/item-text-group.css +3 -3
  135. package/theme/ap-form/item-text.css +3 -3
  136. package/theme/ap-form/modal-form.css +3 -3
  137. package/theme/ap-form/search-form-sorter.css +12 -12
  138. package/theme/ap-form/search-form-sorter.less +7 -7
  139. package/theme/ap-form/search-form.css +21 -19
  140. package/theme/ap-form/search-form.less +5 -5
  141. package/theme/ap-grid/editable.css +5 -5
  142. package/theme/ap-grid/editable.less +3 -2
  143. package/theme/ap-grid/index.css +43 -32
  144. package/theme/ap-grid/index.less +20 -9
  145. package/theme/ap-group-search/ap-extension-select.css +3 -3
  146. package/theme/ap-group-search/ap-group-search.css +3 -3
  147. package/theme/ap-group-search/ap-popover-select.css +3 -3
  148. package/theme/ap-image/ap-image.css +3 -3
  149. package/theme/ap-input-radio/ap-input-radio.css +3 -3
  150. package/theme/ap-label/ap-label.css +3 -3
  151. package/theme/ap-ladder/ap-ladder.css +6 -6
  152. package/theme/ap-ladder/ap-ladder.less +3 -3
  153. package/theme/ap-layout/ap-info-layout.css +3 -3
  154. package/theme/ap-list/index.css +4 -4
  155. package/theme/ap-list/index.less +2 -1
  156. package/theme/ap-product-info/ap-product-info.css +3 -3
  157. package/theme/ap-select-layout/ap-select-layout.css +11 -11
  158. package/theme/ap-select-layout/ap-select-layout.less +8 -8
  159. package/theme/ap-size-input/ap-size-input.css +3 -3
  160. package/theme/ap-status/ap-status.css +5 -6
  161. package/theme/ap-status/ap-status.less +2 -4
  162. package/theme/ap-summary/index.css +6 -6
  163. package/theme/ap-summary/index.less +3 -3
  164. package/theme/ap-table/ap-table-index.css +8 -8
  165. package/theme/ap-table/ap-table-index.less +5 -5
  166. package/theme/ap-table/ap-table-paragraph-ellipsis.css +3 -3
  167. package/theme/ap-table/ap-table-paragraph-ellipsis.less +1 -1
  168. package/theme/ap-table/ap-table.css +46 -42
  169. package/theme/ap-table/ap-table.less +10 -9
  170. package/theme/ap-table/setting/index.css +7 -7
  171. package/theme/ap-table/setting/modal.css +5 -5
  172. package/theme/ap-table/setting/select-group.css +3 -3
  173. package/theme/ap-table/setting/sortable-item-meta.css +3 -3
  174. package/theme/ap-table/setting/sortable-item.css +3 -3
  175. package/theme/ap-table/setting/sorter.css +5 -5
  176. package/theme/ap-table-modal/index.css +46 -42
  177. package/theme/ap-tag/ap-tag-group.css +3 -3
  178. package/theme/ap-tag/ap-tag-group.less +2 -2
  179. package/theme/ap-tag/ap-tag.css +27 -18
  180. package/theme/ap-tag/ap-tag.less +37 -24
  181. package/theme/ap-title/ap-title.css +5 -5
  182. package/theme/ap-title/ap-title.less +2 -2
  183. package/theme/ap-upload/index.css +6 -6
  184. package/theme/ap-upload/multiple-file.css +4 -4
  185. package/theme/ap-upload/multiple-file.less +1 -1
  186. package/theme/ap-upload/picture.css +5 -5
  187. package/theme/ap-upload/picture.less +2 -2
  188. package/theme/ap-upload/single-file.css +3 -3
  189. package/theme/ap-upload/upload.css +3 -3
  190. package/theme/ap-upload-single/index.css +3 -3
  191. package/theme/ap-view/ap-view.css +7 -3
  192. package/theme/ap-view/ap-view.less +4 -0
  193. package/theme/batch-input-group/index.css +5 -5
  194. package/theme/batch-input-group/popover-input.css +3 -3
  195. package/theme/check-card/index.css +22 -22
  196. package/theme/check-card/index.less +17 -15
  197. package/theme/editable-table/index.css +36 -32
  198. package/theme/editable-table/index.less +9 -7
  199. package/theme/full-screen/index.css +3 -3
  200. package/theme/index.css +174 -147
  201. package/theme/mask/index.css +3 -3
  202. package/theme/mixins/config.less +26 -4
  203. package/theme/mixins/mixins.css +3 -3
  204. package/theme/scroll-bar/index.css +3 -3
  205. package/theme/scroll-view/index.css +3 -3
  206. package/theme/splitter/index.css +8 -8
  207. package/theme/text/group.css +3 -3
  208. package/theme/text/index.css +5 -5
  209. package/theme/work-order-modal/index.css +3 -3
@@ -1,4 +1,4 @@
1
- import { defineComponent as B, ref as x, useSlots as S, computed as g, createBlock as k, openBlock as F, normalizeProps as n, guardReactiveProps as i, unref as l, createSlots as u, withCtx as p, createVNode as C, mergeProps as P, renderList as m, renderSlot as c } from "vue";
1
+ import { defineComponent as B, ref as x, useSlots as S, computed as g, createBlock as k, openBlock as F, normalizeProps as n, guardReactiveProps as i, unref as l, createSlots as u, withCtx as p, createVNode as C, mergeProps as P, renderList as c, renderSlot as m } from "vue";
2
2
  import "../../item/index.vue2.mjs";
3
3
  import "../../../ap-field/index.mjs";
4
4
  import { isUndefined as q, omit as b, pick as $ } from "lodash-unified";
@@ -48,6 +48,7 @@ const E = /* @__PURE__ */ B({
48
48
  initialValue: {},
49
49
  _signal: {},
50
50
  transform: {},
51
+ description: {},
51
52
  field: { default: () => ({}) },
52
53
  placeholder: {},
53
54
  disabled: { type: Boolean, default: void 0 }
@@ -83,20 +84,20 @@ const E = /* @__PURE__ */ B({
83
84
  ref_key: "treeSelectRef",
84
85
  ref: a
85
86
  }), u({ _: 2 }, [
86
- m(l(b)(f, l(_)), (d, t) => ({
87
+ c(l(b)(f, l(_)), (d, t) => ({
87
88
  name: t,
88
89
  fn: p((s) => [
89
- c(e.$slots, t, n(i(s || {})))
90
+ m(e.$slots, t, n(i(s || {})))
90
91
  ])
91
92
  }))
92
93
  ]), 1040)
93
94
  ]),
94
95
  _: 2
95
96
  }, [
96
- m(l($)(f, l(_)), (d, t) => ({
97
+ c(l($)(f, l(_)), (d, t) => ({
97
98
  name: t,
98
99
  fn: p((s) => [
99
- c(e.$slots, t, n(i(s || {})))
100
+ m(e.$slots, t, n(i(s || {})))
100
101
  ])
101
102
  }))
102
103
  ]), 1040));
@@ -43,11 +43,12 @@ const S = /* @__PURE__ */ m({
43
43
  valuePropName: { default: "value" },
44
44
  initialValue: {},
45
45
  _signal: {},
46
- transform: {}
46
+ transform: {},
47
+ description: {}
47
48
  },
48
49
  setup(d) {
49
- const u = d, i = c();
50
- return (a, h) => (v(), B(e(p).FormItem, o(l(u)), y({
50
+ const i = d, u = c();
51
+ return (a, h) => (v(), B(e(p).FormItem, o(l(i)), y({
51
52
  default: t(() => [
52
53
  x(e(p).ControlRender, null, {
53
54
  default: t((r) => [
@@ -58,7 +59,7 @@ const S = /* @__PURE__ */ m({
58
59
  ]),
59
60
  _: 2
60
61
  }, [
61
- _(e(g)(i, "default"), (r, n) => ({
62
+ _(e(g)(u, "default"), (r, n) => ({
62
63
  name: n,
63
64
  fn: t((f) => [
64
65
  s(a.$slots, n, o(l(f || {})))
@@ -1,5 +1,5 @@
1
- import { defineComponent as y, ref as k, createBlock as s, openBlock as p, unref as e, withCtx as o, createVNode as t, createElementVNode as d, normalizeClass as c, createElementBlock as C, Fragment as F, renderList as _, resolveDynamicComponent as b, createTextVNode as f, toDisplayString as v } from "vue";
2
- import { Popover as B, Tooltip as h, Button as u, Row as x, Col as L, Divider as N, Flex as S } from "@aplus-frontend/antdv";
1
+ import { defineComponent as y, ref as k, createBlock as s, openBlock as l, unref as e, withCtx as o, createVNode as t, createElementVNode as d, normalizeClass as c, createElementBlock as C, Fragment as F, renderList as _, resolveDynamicComponent as b, createTextVNode as f, toDisplayString as v } from "vue";
2
+ import { Popover as B, Tooltip as x, Button as u, Row as h, Col as L, Divider as N, Flex as S } from "@aplus-frontend/antdv";
3
3
  import { IconApFilterOutlined as w } from "@aplus-frontend/icon";
4
4
  import "../../../config-provider/index.mjs";
5
5
  import { useNamespace as D } from "../../../config-provider/hooks/use-namespace.mjs";
@@ -17,9 +17,9 @@ const O = /* @__PURE__ */ y({
17
17
  function g(n) {
18
18
  return n.closest(".ant-form") || document.body;
19
19
  }
20
- return (n, l) => (p(), s(e(B), {
20
+ return (n, p) => (l(), s(e(B), {
21
21
  open: m.value,
22
- "onUpdate:open": l[1] || (l[1] = (r) => m.value = r),
22
+ "onUpdate:open": p[1] || (p[1] = (r) => m.value = r),
23
23
  "overlay-class-name": e(a)("popover"),
24
24
  trigger: "click",
25
25
  placement: "bottom",
@@ -30,16 +30,16 @@ const O = /* @__PURE__ */ y({
30
30
  content: o(() => [
31
31
  d("div", {
32
32
  class: c([e(a)("popover-content")]),
33
- style: { paddingBottom: 0, width: "825px" }
33
+ style: { paddingBottom: "4px", width: "825px" }
34
34
  }, [
35
- t(e(x), { gutter: 16 }, {
35
+ t(e(h), { gutter: 16 }, {
36
36
  default: o(() => [
37
- (p(!0), C(F, null, _(n.config, (r) => (p(), s(e(L), {
37
+ (l(!0), C(F, null, _(n.config, (r) => (l(), s(e(L), {
38
38
  key: r.key,
39
39
  span: 8
40
40
  }, {
41
41
  default: o(() => [
42
- (p(), s(b(r.node)))
42
+ (l(), s(b(r.node)))
43
43
  ]),
44
44
  _: 2
45
45
  }, 1024))), 128))
@@ -54,7 +54,7 @@ const O = /* @__PURE__ */ y({
54
54
  t(e(S), { justify: "end" }, {
55
55
  default: o(() => [
56
56
  t(e(u), {
57
- onClick: l[0] || (l[0] = (r) => m.value = !1)
57
+ onClick: p[0] || (p[0] = (r) => m.value = !1)
58
58
  }, {
59
59
  default: o(() => [
60
60
  f(v(e(i)("ap.common.cancelText")), 1)
@@ -78,7 +78,7 @@ const O = /* @__PURE__ */ y({
78
78
  ], 2)
79
79
  ]),
80
80
  default: o(() => [
81
- t(e(h), {
81
+ t(e(x), {
82
82
  title: e(i)("ap.apForm.search.moreFilter"),
83
83
  placement: "top"
84
84
  }, {
@@ -1,24 +1,24 @@
1
- import { defineComponent as a, computed as i, createElementBlock as c, openBlock as d, normalizeClass as r, unref as t, createElementVNode as l, createVNode as u, toDisplayString as f } from "vue";
1
+ import { defineComponent as c, computed as n, createElementBlock as a, openBlock as d, normalizeClass as r, unref as t, createElementVNode as l, createVNode as u, toDisplayString as f } from "vue";
2
2
  import { HolderOutlined as h } from "@ant-design/icons-vue";
3
3
  import "../../../../config-provider/index.mjs";
4
4
  import { isBoolean as _ } from "lodash-unified";
5
5
  import { isDef as v } from "@fruits-chain/utils";
6
6
  import { useNamespace as b } from "../../../../config-provider/hooks/use-namespace.mjs";
7
- const x = ["title"], C = /* @__PURE__ */ a({
7
+ const x = ["title"], C = /* @__PURE__ */ c({
8
8
  name: "ApFormSearchFormPopoverSorterItem",
9
9
  __name: "sortable-item",
10
10
  props: {
11
11
  item: {}
12
12
  },
13
13
  setup(m) {
14
- const s = m, n = i(() => {
14
+ const s = m, i = n(() => {
15
15
  const e = s.item.props;
16
- return e.label || e.placeholder;
17
- }), p = i(() => {
16
+ return e.description || e.label || e.placeholder;
17
+ }), p = n(() => {
18
18
  const e = s.item.props;
19
19
  return _(e.hidden) ? !!e.hidden : v(e.hidden);
20
20
  }), { b: o } = b("search-form-sorter");
21
- return (e, B) => (d(), c("div", {
21
+ return (e, B) => (d(), a("div", {
22
22
  class: r([t(o)("sorter-item"), { [t(o)("sorter-item--hidden")]: p.value }])
23
23
  }, [
24
24
  l("div", null, [
@@ -28,8 +28,8 @@ const x = ["title"], C = /* @__PURE__ */ a({
28
28
  }, null, 8, ["class"]),
29
29
  l("span", {
30
30
  class: r(t(o)("sorter-item-text")),
31
- title: n.value
32
- }, f(n.value), 11, x)
31
+ title: i.value
32
+ }, f(i.value), 11, x)
33
33
  ])
34
34
  ], 2));
35
35
  }
@@ -4,7 +4,7 @@ import "../ap-form.vue.mjs";
4
4
  import "../item/index.vue2.mjs";
5
5
  import { genRealChildren as V } from "../item-group/helper.mjs";
6
6
  import "../../config-provider/index.mjs";
7
- import { isArray as ie, isBoolean as ce, omit as ue } from "lodash-unified";
7
+ import { isArray as ie, isBoolean as ue, omit as ce } from "lodash-unified";
8
8
  import { isDef as M } from "../../utils/index.mjs";
9
9
  import { execFunc as W, diffFormItem as pe } from "./utils.mjs";
10
10
  import "./components/popover-filter.vue.mjs";
@@ -113,15 +113,16 @@ const s = 24, Le = /* @__PURE__ */ te({
113
113
  setup(f, {
114
114
  expose: q
115
115
  }) {
116
- var P;
116
+ var E;
117
117
  const i = oe(), o = f, {
118
118
  b: m
119
119
  } = fe("ap-form-search-form"), {
120
120
  t: N
121
121
  } = me(), z = de(o), y = ae();
122
122
  function k() {
123
- var e, a;
124
- (a = (e = y.value) == null ? void 0 : e.validateFields()) == null || a.then((l) => W(o.onSubmit, l));
123
+ var a;
124
+ const e = (a = y.value) == null ? void 0 : a.getFieldsValueTransformed(!0);
125
+ W(o.onSubmit, e);
125
126
  }
126
127
  function H() {
127
128
  var e, a;
@@ -129,22 +130,22 @@ const s = 24, Le = /* @__PURE__ */ te({
129
130
  }
130
131
  const G = (e) => M(e) ? (ie(e) ? e : [e]).join("") : Date.now();
131
132
  let I = [];
132
- const c = j(V(i.default())), u = j((P = i.extra) == null ? void 0 : P.call(i)), E = _(() => Math.floor(s / n(z)));
133
+ const u = j(V(i.default())), c = j((E = i.extra) == null ? void 0 : E.call(i)), T = _(() => Math.floor(s / n(z)));
133
134
  L(() => i.default(), (e) => {
134
- I = c.value, c.value = pe(I, V(e));
135
+ I = u.value, u.value = pe(I, V(e));
135
136
  }), L(() => {
136
137
  var e;
137
138
  return (e = i.extra) == null ? void 0 : e.call(i);
138
139
  }, (e) => {
139
- u.value = e;
140
+ c.value = e;
140
141
  });
141
- const r = _(() => {
142
- const e = c.value, a = [], l = [], g = [], h = n(E);
142
+ const l = _(() => {
143
+ const e = u.value, a = [], r = [], g = [], h = n(T);
143
144
  let v = 0, b = 0;
144
- const Q = s * o.maxRows - h * (n(u) && !o.extraInAction ? 2 : 1);
145
+ const Q = s * o.maxRows - h * (n(c) && !o.extraInAction ? 2 : 1);
145
146
  e.forEach((S, Z) => {
146
147
  const p = S.props;
147
- if (ce(p.hidden) ? !!p.hidden : M(p.hidden))
148
+ if (ue(p.hidden) ? !!p.hidden : M(p.hidden))
148
149
  a.push(S);
149
150
  else {
150
151
  let C = p.span || h;
@@ -153,31 +154,31 @@ const s = 24, Le = /* @__PURE__ */ te({
153
154
  span: C,
154
155
  key: `ApFormSearchFormItem-${Z}-${G(p.name)}-${p._signal}`
155
156
  }, $ = s - v % s;
156
- $ < C && (C += $), v += C, v > Q ? l.push(O) : (b = v, g.push(O));
157
+ $ < C && (C += $), v += C, v > Q ? r.push(O) : (b = v, g.push(O));
157
158
  }
158
159
  });
159
- const T = s - (b + h) % s, X = b % s < h, Y = T < h ? s : T;
160
+ const P = s - (b + h) % s, X = b % s < h, Y = P < h ? s : P;
160
161
  return {
161
162
  hideNode: t(w, null, [a]),
162
163
  nodes: g,
163
- collapseNodes: l,
164
+ collapseNodes: r,
164
165
  extraSpan: Y,
165
166
  lastRowOnlyIncludeActionAndExtra: X
166
167
  };
167
168
  });
168
169
  function J(e) {
169
- c.value = [...e];
170
+ u.value = [...e];
170
171
  }
171
172
  const K = _(() => {
172
173
  let e;
173
174
  const a = t(R, {
174
- span: n(E),
175
+ span: n(T),
175
176
  key: "actionWrapper"
176
177
  }, {
177
178
  default: () => [t(D, null, {
178
179
  default: () => [t(B, {
179
180
  wrap: "wrap",
180
- justify: r.value.lastRowOnlyIncludeActionAndExtra && !(n(u) && o.extraInAction) ? "flex-end" : "space-between"
181
+ justify: l.value.lastRowOnlyIncludeActionAndExtra && !(n(c) && o.extraInAction) ? "flex-end" : "space-between"
181
182
  }, {
182
183
  default: () => [t(B, {
183
184
  gap: 8,
@@ -185,12 +186,12 @@ const s = 24, Le = /* @__PURE__ */ te({
185
186
  }, {
186
187
  default: () => [t("div", {
187
188
  class: m("column-setting-trigger-wrapper")
188
- }, [r.value.collapseNodes.length ? t(he, {
189
+ }, [l.value.collapseNodes.length ? t(he, {
189
190
  onSubmit: k,
190
- config: r.value.collapseNodes,
191
+ config: l.value.collapseNodes,
191
192
  submitLoading: o.submitLoading
192
- }, null) : null, o.sortable && c.value.length ? t(xe, {
193
- children: c.value,
193
+ }, null) : null, o.sortable && u.value.length ? t(xe, {
194
+ children: u.value,
194
195
  onClickConfirm: J
195
196
  }, null) : null]), t(U, {
196
197
  type: "primary",
@@ -207,24 +208,24 @@ const s = 24, Le = /* @__PURE__ */ te({
207
208
  }, {
208
209
  default: () => [o.resetText || N("ap.apForm.search.reset")]
209
210
  })]
210
- }), o.extraInAction ? n(u) : null]
211
+ }), o.extraInAction ? n(c) : null]
211
212
  })]
212
213
  })]
213
- }), l = !o.extraInAction && n(u) ? t(R, {
214
- span: r.value.extraSpan,
214
+ }), r = !o.extraInAction && n(c) ? t(R, {
215
+ span: l.value.extraSpan,
215
216
  key: "extraNode"
216
217
  }, {
217
218
  default: () => [t(D, null, {
218
219
  default: () => [t(B, {
219
- justify: r.value.extraSpan === s || r.value.lastRowOnlyIncludeActionAndExtra ? "start" : "flex-end"
220
- }, ge(e = n(u)) ? e : {
220
+ justify: l.value.extraSpan === s || l.value.lastRowOnlyIncludeActionAndExtra ? "start" : "flex-end"
221
+ }, ge(e = n(c)) ? e : {
221
222
  default: () => [e]
222
223
  })]
223
224
  })]
224
225
  }) : null, g = t(R, {
225
- span: r.value.extraSpan
226
+ span: l.value.extraSpan
226
227
  }, null);
227
- return r.value.lastRowOnlyIncludeActionAndExtra ? t(w, null, [l || g, a]) : t(w, null, [a, l]);
228
+ return l.value.lastRowOnlyIncludeActionAndExtra ? t(w, null, [r || g, a]) : t(w, null, [a, r]);
228
229
  });
229
230
  return q({
230
231
  apForm: _(() => n(y))
@@ -232,15 +233,15 @@ const s = 24, Le = /* @__PURE__ */ te({
232
233
  ref_key: "apForm",
233
234
  ref: y,
234
235
  class: n(m)()
235
- }, n(ue)(o, ["collapse", "defaultCollapse", "onUpdate:collapse", "searchText", "resetText", "onSubmit", "onReset", "extraInAction", "forceExpand", "countPerRow"])), {
236
- default: F(() => [(d(), x(A(r.value.hideNode))), t(n(se), {
237
- gutter: 16
236
+ }, n(ce)(o, ["collapse", "defaultCollapse", "onUpdate:collapse", "searchText", "resetText", "onSubmit", "onReset", "extraInAction", "forceExpand", "countPerRow"])), {
237
+ default: F(() => [(d(), x(A(l.value.hideNode))), t(n(se), {
238
+ gutter: 8
238
239
  }, {
239
- default: F(() => [(d(!0), le(w, null, re(r.value.nodes, (l) => (d(), x(n(R), {
240
- key: l.key,
241
- span: l.span
240
+ default: F(() => [(d(!0), le(w, null, re(l.value.nodes, (r) => (d(), x(n(R), {
241
+ key: r.key,
242
+ span: r.span
242
243
  }, {
243
- default: F(() => [(d(), x(A(l.node)))]),
244
+ default: F(() => [(d(), x(A(r.node)))]),
244
245
  _: 2
245
246
  }, 1032, ["span"]))), 128)), (d(), x(A(K.value)))]),
246
247
  _: 1
@@ -122,7 +122,7 @@ const ye = /* @__PURE__ */ P({
122
122
  tableWrapperStyle: {},
123
123
  wrapperStyle: {},
124
124
  size: {
125
- default: "medium"
125
+ default: "mini"
126
126
  },
127
127
  adaptive: {
128
128
  type: Boolean,
@@ -123,7 +123,7 @@ const be = /* @__PURE__ */ U({
123
123
  tableWrapperStyle: {},
124
124
  wrapperStyle: {},
125
125
  size: {
126
- default: "medium"
126
+ default: "mini"
127
127
  },
128
128
  adaptive: {
129
129
  type: Boolean,