@aplus-frontend/ui 6.11.0 → 6.13.0

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 (92) hide show
  1. package/es/src/ap-descriptions/interface.d.ts +1 -1
  2. package/es/src/ap-form/ap-form.vue2.mjs +118 -108
  3. package/es/src/ap-form/items/number/index.vue.d.ts +2 -2
  4. package/es/src/ap-form/items/select/index.vue.d.ts +4 -4
  5. package/es/src/ap-form/items/text/index.vue.d.ts +2 -2
  6. package/es/src/ap-form/items/text/password.vue.d.ts +2 -2
  7. package/es/src/ap-form/items/tree-select/index.vue.d.ts +4 -4
  8. package/es/src/ap-form/search-form/hooks/use-collapse-input-count.d.ts +8 -1
  9. package/es/src/ap-form/search-form/hooks/use-collapse-input-count.mjs +27 -19
  10. package/es/src/ap-form/search-form/hooks/use-sorter.mjs +31 -30
  11. package/es/src/ap-form/search-form/index.vue.d.ts +6 -2
  12. package/es/src/ap-form/search-form/index.vue.mjs +35 -35
  13. package/es/src/ap-grid/index.vue.mjs +221 -225
  14. package/es/src/ap-modal/interface.d.ts +8 -0
  15. package/es/src/ap-modal/utils/createModalStream.mjs +69 -66
  16. package/es/src/ap-table/ap-table.vue2.mjs +107 -111
  17. package/es/src/ap-table/constants.d.ts +7 -7
  18. package/es/src/ap-table/context.d.ts +1 -0
  19. package/es/src/ap-table/context.mjs +6 -5
  20. package/es/src/ap-table/utils.d.ts +5 -3247
  21. package/es/src/ap-table/utils.mjs +107 -121
  22. package/es/src/business/ap-card/ApCard.vue2.mjs +17 -17
  23. package/es/src/business/ap-summary/interface.d.ts +1 -1
  24. package/es/src/business/ap-view/ap-view.vue2.mjs +76 -74
  25. package/es/src/business/ap-view/interface.d.ts +1 -0
  26. package/es/src/business/batch-input-group/index.vue.d.ts +2 -1
  27. package/es/src/business/batch-input-group/index.vue.mjs +56 -52
  28. package/es/src/business/batch-input-group/interface.d.ts +5 -0
  29. package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +36 -32
  30. package/es/src/business/batch-input-group/utils.d.ts +8 -0
  31. package/es/src/business/batch-input-group/utils.mjs +10 -0
  32. package/es/src/config-provider/config-provider-props.d.ts +5 -1
  33. package/es/src/config-provider/config-provider-props.mjs +4 -0
  34. package/es/src/config-provider/config-provider.d.ts +14 -5
  35. package/es/src/config-provider/config-provider.mjs +19 -18
  36. package/es/src/config-provider/constants.d.ts +3 -0
  37. package/es/src/config-provider/hooks/use-global-config.d.ts +5 -1
  38. package/es/src/config-provider/index.d.ts +28 -13
  39. package/es/src/utils/config-provider-preset.d.ts +6 -6
  40. package/es/src/version.d.ts +1 -1
  41. package/es/src/version.mjs +1 -1
  42. package/lib/src/ap-descriptions/interface.d.ts +1 -1
  43. package/lib/src/ap-form/ap-form.vue2.js +1 -1
  44. package/lib/src/ap-form/items/number/index.vue.d.ts +2 -2
  45. package/lib/src/ap-form/items/select/index.vue.d.ts +4 -4
  46. package/lib/src/ap-form/items/text/index.vue.d.ts +2 -2
  47. package/lib/src/ap-form/items/text/password.vue.d.ts +2 -2
  48. package/lib/src/ap-form/items/tree-select/index.vue.d.ts +4 -4
  49. package/lib/src/ap-form/search-form/hooks/use-collapse-input-count.d.ts +8 -1
  50. package/lib/src/ap-form/search-form/hooks/use-collapse-input-count.js +1 -1
  51. package/lib/src/ap-form/search-form/hooks/use-sorter.js +1 -1
  52. package/lib/src/ap-form/search-form/index.vue.d.ts +6 -2
  53. package/lib/src/ap-form/search-form/index.vue.js +1 -1
  54. package/lib/src/ap-grid/index.vue.js +1 -1
  55. package/lib/src/ap-modal/interface.d.ts +8 -0
  56. package/lib/src/ap-modal/utils/createModalStream.js +1 -1
  57. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  58. package/lib/src/ap-table/constants.d.ts +7 -7
  59. package/lib/src/ap-table/context.d.ts +1 -0
  60. package/lib/src/ap-table/context.js +1 -1
  61. package/lib/src/ap-table/utils.d.ts +5 -3247
  62. package/lib/src/ap-table/utils.js +1 -1
  63. package/lib/src/business/ap-card/ApCard.vue2.js +1 -1
  64. package/lib/src/business/ap-summary/interface.d.ts +1 -1
  65. package/lib/src/business/ap-view/ap-view.vue2.js +1 -1
  66. package/lib/src/business/ap-view/interface.d.ts +1 -0
  67. package/lib/src/business/batch-input-group/index.vue.d.ts +2 -1
  68. package/lib/src/business/batch-input-group/index.vue.js +2 -2
  69. package/lib/src/business/batch-input-group/interface.d.ts +5 -0
  70. package/lib/src/business/batch-input-group/popover-input/index.vue2.js +3 -2
  71. package/lib/src/business/batch-input-group/utils.d.ts +8 -0
  72. package/lib/src/business/batch-input-group/utils.js +1 -0
  73. package/lib/src/config-provider/config-provider-props.d.ts +5 -1
  74. package/lib/src/config-provider/config-provider-props.js +1 -1
  75. package/lib/src/config-provider/config-provider.d.ts +14 -5
  76. package/lib/src/config-provider/config-provider.js +1 -1
  77. package/lib/src/config-provider/constants.d.ts +3 -0
  78. package/lib/src/config-provider/hooks/use-global-config.d.ts +5 -1
  79. package/lib/src/config-provider/index.d.ts +28 -13
  80. package/lib/src/utils/config-provider-preset.d.ts +6 -6
  81. package/lib/src/version.d.ts +1 -1
  82. package/lib/src/version.js +1 -1
  83. package/package.json +3 -3
  84. package/theme/ap-grid/index.css +3 -0
  85. package/theme/ap-grid/index.less +3 -4
  86. package/theme/index.css +3 -0
  87. package/es/src/ap-table/components/dynamic-component/index.vue.d.ts +0 -4
  88. package/es/src/ap-table/components/dynamic-component/index.vue.mjs +0 -4
  89. package/es/src/ap-table/components/dynamic-component/index.vue2.mjs +0 -15
  90. package/lib/src/ap-table/components/dynamic-component/index.vue.d.ts +0 -4
  91. package/lib/src/ap-table/components/dynamic-component/index.vue.js +0 -1
  92. package/lib/src/ap-table/components/dynamic-component/index.vue2.js +0 -1
@@ -1,22 +1,20 @@
1
- import { isVNode as E, createVNode as l, mergeProps as b, cloneVNode as j, Fragment as O } from "vue";
2
- import { isObject as p, isArray as a, isUndefined as g, isFunction as T, omit as C, isBoolean as F, isString as N, isEqual as S, sortBy as d, isPlainObject as m, every as I, isEmpty as v } from "lodash-unified";
3
- import { apTableRenderItemMap as P, apTableFormItemMap as V } from "./constants.mjs";
4
- import { isType as x } from "@fruits-chain/utils";
1
+ import { isVNode as g, createVNode as u, mergeProps as f, cloneVNode as h, Fragment as j } from "vue";
2
+ import { isObject as d, isArray as c, isUndefined as E, isFunction as b, omit as O, isBoolean as N, isString as F, isEqual as S, sortBy as m, isPlainObject as y, every as v, isEmpty as C } from "lodash-unified";
3
+ import { apTableRenderItemMap as I, apTableFormItemMap as P } from "./constants.mjs";
4
+ import { isType as w } from "@fruits-chain/utils";
5
5
  import "../ap-form/index.mjs";
6
- import { Tooltip as _ } from "@aplus-frontend/antdv";
7
- import { QuestionCircleOutlined as w } from "@ant-design/icons-vue";
8
- import "./components/dynamic-component/index.vue.mjs";
9
- import y from "./components/dynamic-component/index.vue2.mjs";
10
- import A from "../ap-form/item/index.vue.mjs";
11
- function R(t) {
12
- return typeof t == "function" || Object.prototype.toString.call(t) === "[object Object]" && !E(t);
6
+ import { Tooltip as x } from "@aplus-frontend/antdv";
7
+ import { QuestionCircleOutlined as A } from "@ant-design/icons-vue";
8
+ import V from "../ap-form/item/index.vue.mjs";
9
+ function _(t) {
10
+ return typeof t == "function" || Object.prototype.toString.call(t) === "[object Object]" && !g(t);
13
11
  }
14
12
  const q = (t, e, n) => {
15
13
  let o = {};
16
- return p(t) ? Object.keys(t).forEach((i) => {
17
- p(t[i]) ? o[i] = q(t[i], e[i], n) : o[i] = n(t[i], e);
14
+ return d(t) ? Object.keys(t).forEach((r) => {
15
+ d(t[r]) ? o[r] = q(t[r], e[r], n) : o[r] = n(t[r], e);
18
16
  }) : o = n(t, e), o;
19
- }, k = (t, e) => {
17
+ }, X = (t, e) => {
20
18
  switch (t) {
21
19
  case "dayjs":
22
20
  return e.valueOf();
@@ -28,7 +26,7 @@ const q = (t, e, n) => {
28
26
  }
29
27
  case "multiple":
30
28
  case "multipleNumber":
31
- return a(e) ? e : [e];
29
+ return c(e) ? e : [e];
32
30
  case "boolean":
33
31
  return e;
34
32
  case "object":
@@ -37,117 +35,105 @@ const q = (t, e, n) => {
37
35
  return e;
38
36
  }
39
37
  };
40
- function H(t) {
41
- return a(t) ? t.join(".") : t;
38
+ function Y(t) {
39
+ return c(t) ? t.join(".") : t;
42
40
  }
43
41
  function W(t) {
44
42
  const e = Object.prototype.toString.call(t).match(/^\[object (.*)\]$/)[1].toLowerCase();
45
43
  return e === "string" && typeof t == "object" ? "object" : t === null ? "null" : t === void 0 ? "undefined" : e;
46
44
  }
47
- const $ = (t) => W(t) === "map" ? t : new Map(Object.entries(t || {})), h = (t) => {
48
- const e = [], n = $(t);
49
- return n.forEach((o, i) => {
50
- const r = n.get(i) || n.get(`${i}`);
51
- if (r) {
52
- if (typeof r == "object" && (r != null && r.text)) {
45
+ const B = (t) => W(t) === "map" ? t : new Map(Object.entries(t || {})), T = (t) => {
46
+ const e = [], n = B(t);
47
+ return n.forEach((o, r) => {
48
+ const i = n.get(r) || n.get(`${r}`);
49
+ if (i) {
50
+ if (typeof i == "object" && (i != null && i.text)) {
53
51
  e.push({
54
- text: r == null ? void 0 : r.text,
55
- value: i,
56
- label: r == null ? void 0 : r.text,
57
- disabled: r.disabled
52
+ text: i == null ? void 0 : i.text,
53
+ value: r,
54
+ label: i == null ? void 0 : i.text,
55
+ disabled: i.disabled
58
56
  });
59
57
  return;
60
58
  }
61
59
  e.push({
62
- text: r,
63
- label: r,
64
- value: i
60
+ text: i,
61
+ label: i,
62
+ value: r
65
63
  });
66
64
  }
67
65
  }), e;
68
- }, M = (t) => g(t) || t < 0 ? 0 : t;
69
- function B(t, e) {
70
- return !t || !T(t) ? t : t(e);
66
+ }, Z = (t) => E(t) || t < 0 ? 0 : t;
67
+ function R(t, e) {
68
+ return !t || !b(t) ? t : t(e);
71
69
  }
72
- function tt(t) {
70
+ function k(t) {
73
71
  let e = t.valueType || "text";
74
72
  return t.valueEnum && (e = "status"), e;
75
73
  }
76
- function et(t, e, n, o) {
74
+ function H(t, e, n, o) {
77
75
  var s;
78
- const i = P[t];
79
- if (i)
80
- return l(i, b(e, {
76
+ const r = I[t];
77
+ if (r)
78
+ return u(r, f(e, {
81
79
  mode: "read"
82
80
  }), null);
83
- const r = o == null ? void 0 : o[t];
84
- return ((s = r == null ? void 0 : r.render) == null ? void 0 : s.call(r, e.value, n, e)) || e.value;
81
+ const i = o == null ? void 0 : o[t];
82
+ return ((s = i == null ? void 0 : i.render) == null ? void 0 : s.call(i, e.value, n, e)) || e.value;
85
83
  }
86
- function nt(t, e) {
84
+ function M(t, e) {
87
85
  if (t.customRenderFormItem)
88
- return {
89
- Comp: y,
90
- render: function(s) {
91
- const u = s.item.customRenderFormItem(s.item);
92
- return j(u, {
93
- ...s.item.fieldProps,
94
- span: s.item.span,
95
- ...u.props || {},
96
- // 需要额外设置的属性(用于显示和隐藏节点)
97
- hidden: s.hidden,
98
- class: s.class
99
- });
100
- }
86
+ return () => {
87
+ const r = t.customRenderFormItem(t);
88
+ return h(r, {
89
+ ...t.fieldProps,
90
+ span: t.span,
91
+ ...r.props || {}
92
+ });
101
93
  };
102
- const n = V[t.valueType];
94
+ const n = P[t.valueType];
103
95
  if (n)
104
- return {
105
- Comp: n
106
- };
96
+ return () => u(n, f(t.fieldProps, {
97
+ span: t.span
98
+ }), null);
107
99
  const o = e == null ? void 0 : e[t.valueType];
108
- function i(r) {
109
- var u;
110
- const s = (u = o == null ? void 0 : o.renderFormItem) == null ? void 0 : u.call(o, r.item.fieldProps.field);
111
- return s ? l(A, b(r.item.fieldProps, {
112
- hidden: r.hidden,
113
- class: r.class,
100
+ return () => {
101
+ var i;
102
+ const r = (i = o == null ? void 0 : o.renderFormItem) == null ? void 0 : i.call(o, t.fieldProps.field);
103
+ return r ? u(V, f(t.fieldProps, {
114
104
  span: t.span
115
- }), R(s) ? s : {
116
- default: () => [s]
105
+ }), _(r) ? r : {
106
+ default: () => [r]
117
107
  }) : null;
118
- }
119
- return {
120
- Comp: y,
121
- render: i
122
108
  };
123
109
  }
124
- function rt(t, e) {
125
- const n = B(t.fieldProps, e), o = (n == null ? void 0 : n.field) || n || {}, i = t.valueType === "switch", r = t.valueType === "index", s = i ? {
110
+ function tt(t, e) {
111
+ const n = R(t.fieldProps, e), o = (n == null ? void 0 : n.field) || n || {}, r = t.valueType === "switch", i = t.valueType === "index", s = r ? {
126
112
  checked: e.value
127
113
  } : {
128
- value: r ? e.index + 1 : e.value
114
+ value: i ? e.index + 1 : e.value
129
115
  };
130
116
  return t.valueEnum && (o.valueEnum = t.valueEnum), {
131
- ...C(o, ["request"]),
117
+ ...O(o, ["request"]),
132
118
  ...s
133
119
  };
134
120
  }
135
- function ot(t) {
121
+ function et(t) {
136
122
  const e = {
137
123
  ...t
138
124
  };
139
- return F(t.filters) && t.filters && t.valueEnum && (e.filters = h(t.valueEnum)), e;
125
+ return N(t.filters) && t.filters && t.valueEnum && (e.filters = T(t.valueEnum)), e;
140
126
  }
141
- function it(t, e) {
127
+ function nt(t, e) {
142
128
  var o;
143
129
  const n = e || {};
144
130
  return t.valueEnum && !((o = n.field) != null && o.options) && (n.field = {
145
131
  ...n.field,
146
- options: h(t.valueEnum)
132
+ options: T(t.valueEnum)
147
133
  }), n;
148
134
  }
149
- function st(t) {
150
- if (!x("Object")(t))
135
+ function rt(t) {
136
+ if (!w("Object")(t))
151
137
  return t;
152
138
  try {
153
139
  return JSON.stringify(t);
@@ -155,76 +141,76 @@ function st(t) {
155
141
  return t;
156
142
  }
157
143
  }
158
- function ut(t, e, n, o) {
159
- const i = n == null ? void 0 : n({
144
+ function ot(t, e, n, o) {
145
+ const r = n == null ? void 0 : n({
160
146
  title: t.title,
161
147
  column: t
162
- }), r = (i == null ? void 0 : i.filter((c) => c.type !== Symbol.for("v-cmt"))) || [];
163
- if (i && r.length > 0)
164
- return i;
165
- const u = N(t.title) ? l("span", {
148
+ }), i = (r == null ? void 0 : r.filter((l) => l.type !== Symbol.for("v-cmt"))) || [];
149
+ if (r && i.length > 0)
150
+ return r;
151
+ const a = F(t.title) ? u("span", {
166
152
  class: e,
167
153
  title: t.title
168
- }, [t.title]) : t.title, f = t.tooltip ? T(t.tooltip) ? t.tooltip(t) : l(O, null, [t.tooltip]) : null;
169
- return f ? l("span", {
154
+ }, [t.title]) : t.title, p = t.tooltip ? b(t.tooltip) ? t.tooltip(t) : u(j, null, [t.tooltip]) : null;
155
+ return p ? u("span", {
170
156
  style: {
171
157
  display: "inline-flex",
172
158
  alignItems: "center",
173
159
  maxWidth: "100%"
174
160
  }
175
- }, [u, l(_, {
176
- title: f,
161
+ }, [a, u(x, {
162
+ title: p,
177
163
  placement: "bottom",
178
- getPopupContainer: (c) => c.closest(".ant-table") || c.closest(".ant-modal") || c.closest(".vxe-table") || document.body
164
+ getPopupContainer: (l) => l.closest(".ant-table") || l.closest(".ant-modal") || l.closest(".vxe-table") || document.body
179
165
  }, {
180
- default: () => [l(w, {
166
+ default: () => [u(A, {
181
167
  style: {
182
168
  paddingInline: "4px",
183
169
  color: o,
184
170
  verticalAlign: "middle"
185
171
  }
186
172
  }, null)]
187
- })]) : u;
173
+ })]) : a;
188
174
  }
189
- function lt(t, e) {
175
+ function it(t, e) {
190
176
  const n = [];
191
- function o(i) {
192
- var r;
193
- for (const s of i)
194
- (r = s.children) != null && r.length ? o(s.children) : n.push(e(s));
177
+ function o(r) {
178
+ var i;
179
+ for (const s of r)
180
+ (i = s.children) != null && i.length ? o(s.children) : n.push(e(s));
195
181
  }
196
182
  return o(t), n;
197
183
  }
198
- function ct(t, e) {
199
- if (a(t) && a(e))
200
- return S(d(t), d(e));
201
- if (m(t) && m(e)) {
202
- const n = (o) => I(o, (i) => i == null) || v(o);
184
+ function st(t, e) {
185
+ if (c(t) && c(e))
186
+ return S(m(t), m(e));
187
+ if (y(t) && y(e)) {
188
+ const n = (o) => v(o, (r) => r == null) || C(o);
203
189
  if (n(t) && n(e))
204
190
  return !0;
205
191
  }
206
192
  }
207
- function at(t) {
193
+ function ut(t) {
208
194
  if (t !== !1)
209
195
  return t;
210
196
  }
211
197
  export {
212
- ot as apColumnToColumn,
213
- H as dataIndexToStr,
214
- at as falseToUndefined,
198
+ et as apColumnToColumn,
199
+ Y as dataIndexToStr,
200
+ ut as falseToUndefined,
215
201
  q as formatParamsValueType,
216
- M as getColumnOrder,
217
- B as getFieldProps,
218
- nt as getSearchFormItemRenderNode,
219
- et as getTableCellRenderNode,
220
- rt as getTableRenderProps,
221
- tt as getTableRenderType,
222
- ut as getTableTitle,
223
- ct as isEqualCustom,
224
- $ as objectToMap,
225
- st as objectToString,
226
- k as parseFieldValue,
227
- lt as recursionApColumns,
228
- it as updateFormProps,
229
- h as valueEnumToArray
202
+ Z as getColumnOrder,
203
+ R as getFieldProps,
204
+ M as getSearchFormItemRenderNode,
205
+ H as getTableCellRenderNode,
206
+ tt as getTableRenderProps,
207
+ k as getTableRenderType,
208
+ ot as getTableTitle,
209
+ st as isEqualCustom,
210
+ B as objectToMap,
211
+ rt as objectToString,
212
+ X as parseFieldValue,
213
+ it as recursionApColumns,
214
+ nt as updateFormProps,
215
+ T as valueEnumToArray
230
216
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as h, useSlots as $, computed as o, createElementBlock as a, openBlock as r, normalizeStyle as B, normalizeClass as N, unref as x, createBlock as s, createCommentVNode as P, renderSlot as m, mergeProps as b, createSlots as z, withCtx as y, isVNode as k, resolveDynamicComponent as _, toDisplayString as v } from "vue";
1
+ import { defineComponent as h, useSlots as $, computed as l, createElementBlock as o, openBlock as r, normalizeStyle as B, normalizeClass as N, unref as s, createBlock as c, createCommentVNode as P, renderSlot as d, mergeProps as b, createSlots as z, withCtx as y, isVNode as k, resolveDynamicComponent as v, toDisplayString as _ } from "vue";
2
2
  import "../ap-title/ApTitle.vue.mjs";
3
3
  import { omit as D } from "lodash-unified";
4
4
  import "../../config-provider/index.mjs";
@@ -11,49 +11,49 @@ const w = { key: 2 }, A = { key: 2 }, I = /* @__PURE__ */ h({
11
11
  padding: {}
12
12
  },
13
13
  setup(S) {
14
- const e = S, t = $(), { b: c } = V("ap-card"), g = o(
14
+ const e = S, t = $(), { b: m } = V("ap-card"), g = l(
15
15
  () => D((e == null ? void 0 : e.titleProps) || {}, ["prefix", "suffix"])
16
- ), p = o(() => {
16
+ ), p = l(() => {
17
17
  var i;
18
18
  return (i = Object.keys((e == null ? void 0 : e.titleProps) || {})) == null ? void 0 : i.length;
19
- }), C = o(() => e.padding ?? "12px 16px");
19
+ }), C = l(() => e.padding ?? "var(--ap-card-padding, 12px 16px)");
20
20
  return (i, E) => {
21
- var u, d;
22
- return r(), a("div", {
23
- class: N([x(c)()]),
21
+ var u, x;
22
+ return r(), o("div", {
23
+ class: N([s(m)()]),
24
24
  style: B({
25
25
  padding: C.value
26
26
  })
27
27
  }, [
28
- p.value || t != null && t.titlePrefix || t != null && t.titleSuffix ? (r(), s(j, b({
28
+ p.value || t != null && t.titlePrefix || t != null && t.titleSuffix ? (r(), c(j, b({
29
29
  key: 0,
30
- class: [`${x(c)()}-title`]
30
+ class: [`${s(m)()}-title`]
31
31
  }, {
32
32
  ...g.value
33
33
  }), z({ _: 2 }, [
34
- (u = e == null ? void 0 : e.titleProps) != null && u.suffix ? {
34
+ t != null && t.titleSuffix || (u = e == null ? void 0 : e.titleProps) != null && u.suffix ? {
35
35
  name: "suffix",
36
36
  fn: y(() => {
37
- var f, l, n;
37
+ var f, n, a;
38
38
  return [
39
- t != null && t.titleSuffix ? m(i.$slots, "titleSuffix", { key: 0 }) : k((f = e == null ? void 0 : e.titleProps) == null ? void 0 : f.suffix) ? (r(), s(_((l = e == null ? void 0 : e.titleProps) == null ? void 0 : l.suffix), { key: 1 })) : (r(), a("div", w, v((n = e == null ? void 0 : e.titleProps) == null ? void 0 : n.suffix), 1))
39
+ t != null && t.titleSuffix ? d(i.$slots, "titleSuffix", { key: 0 }) : k((f = e == null ? void 0 : e.titleProps) == null ? void 0 : f.suffix) ? (r(), c(v((n = e == null ? void 0 : e.titleProps) == null ? void 0 : n.suffix), { key: 1 })) : (r(), o("div", w, _((a = e == null ? void 0 : e.titleProps) == null ? void 0 : a.suffix), 1))
40
40
  ];
41
41
  }),
42
42
  key: "0"
43
43
  } : void 0,
44
- (d = e == null ? void 0 : e.titleProps) != null && d.prefix ? {
44
+ t != null && t.titlePrefix || (x = e == null ? void 0 : e.titleProps) != null && x.prefix ? {
45
45
  name: "prefix",
46
46
  fn: y(() => {
47
- var f, l, n;
47
+ var f, n, a;
48
48
  return [
49
- t != null && t.titlePrefix ? m(i.$slots, "titlePrefix", { key: 0 }) : P("", !0),
50
- k((f = e == null ? void 0 : e.titleProps) == null ? void 0 : f.prefix) ? (r(), s(_((l = e == null ? void 0 : e.titleProps) == null ? void 0 : l.prefix), { key: 1 })) : (r(), a("div", A, v((n = e == null ? void 0 : e.titleProps) == null ? void 0 : n.prefix), 1))
49
+ t != null && t.titlePrefix ? d(i.$slots, "titlePrefix", { key: 0 }) : P("", !0),
50
+ k((f = e == null ? void 0 : e.titleProps) == null ? void 0 : f.prefix) ? (r(), c(v((n = e == null ? void 0 : e.titleProps) == null ? void 0 : n.prefix), { key: 1 })) : (r(), o("div", A, _((a = e == null ? void 0 : e.titleProps) == null ? void 0 : a.prefix), 1))
51
51
  ];
52
52
  }),
53
53
  key: "1"
54
54
  } : void 0
55
55
  ]), 1040, ["class"])) : P("", !0),
56
- m(i.$slots, "default")
56
+ d(i.$slots, "default")
57
57
  ], 6);
58
58
  };
59
59
  }
@@ -2,7 +2,7 @@ import { ColumnsType } from '@aplus-frontend/antdv/es/table';
2
2
  import { AlignType, DataIndex, Key } from '@aplus-frontend/antdv/es/vc-table/interface';
3
3
  import { ApColumnType } from '../../ap-table';
4
4
  import { ApGridColumnType } from '../../ap-grid';
5
- export type SummaryColumnType = ApColumnType[] | ApGridColumnType[] | ColumnsType;
5
+ export type SummaryColumnType = ApColumnType[] | ApGridColumnType[] | ColumnsType | any[];
6
6
  export type ValueType = {
7
7
  [key in string]: any;
8
8
  };