@aplus-frontend/ui 6.22.0-beta.0 → 6.22.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 (90) hide show
  1. package/es/index.mjs +164 -161
  2. package/es/src/ag-grid/components/header-cell/index.vue2.mjs +42 -36
  3. package/es/src/ag-grid/context.d.ts +18 -0
  4. package/es/src/ag-grid/context.mjs +17 -0
  5. package/es/src/ag-grid/index.vue.d.ts +4 -2
  6. package/es/src/ag-grid/index.vue.mjs +340 -205
  7. package/es/src/ag-grid/interface.d.ts +105 -3
  8. package/es/src/ag-grid/theme.d.ts +3 -0
  9. package/es/src/ag-grid/theme.mjs +25 -0
  10. package/es/src/ap-field/number/index.vue.mjs +25 -25
  11. package/es/src/ap-grid/utils/col.d.ts +1 -1
  12. package/es/src/ap-grid/utils/col.mjs +29 -29
  13. package/es/src/ap-pro-card/components/card/index.vue2.mjs +108 -98
  14. package/es/src/ap-pro-card/components/divider/index.vue.d.ts +13 -0
  15. package/es/src/ap-pro-card/components/divider/index.vue.mjs +4 -0
  16. package/es/src/ap-pro-card/components/divider/index.vue2.mjs +29 -0
  17. package/es/src/ap-pro-card/components/operation/index.vue.d.ts +18 -0
  18. package/es/src/ap-pro-card/components/operation/index.vue.mjs +4 -0
  19. package/es/src/ap-pro-card/components/operation/index.vue2.mjs +20 -0
  20. package/es/src/ap-pro-card/components/statistic/index.vue.d.ts +51 -0
  21. package/es/src/ap-pro-card/components/statistic/index.vue.mjs +4 -0
  22. package/es/src/ap-pro-card/components/statistic/index.vue2.mjs +134 -0
  23. package/es/src/ap-pro-card/components/statistic-card/index.vue.d.ts +25 -0
  24. package/es/src/ap-pro-card/components/statistic-card/index.vue.mjs +4 -0
  25. package/es/src/ap-pro-card/components/statistic-card/index.vue2.mjs +116 -0
  26. package/es/src/ap-pro-card/components/title/index.vue.d.ts +23 -0
  27. package/es/src/ap-pro-card/components/title/index.vue.mjs +4 -0
  28. package/es/src/ap-pro-card/components/title/index.vue2.mjs +28 -0
  29. package/es/src/ap-pro-card/index.d.ts +20 -42
  30. package/es/src/ap-pro-card/index.mjs +22 -4
  31. package/es/src/ap-pro-card/interface.d.ts +66 -2
  32. package/es/src/ap-tag/ap-tag-group.vue.mjs +42 -42
  33. package/es/src/business/ap-label/group/ApLabelGroup.mjs +17 -15
  34. package/es/src/business/hooks/index.d.ts +1 -0
  35. package/es/src/business/hooks/index.mjs +8 -6
  36. package/es/src/business/hooks/usePageListAgGrid.d.ts +37 -0
  37. package/es/src/business/hooks/usePageListAgGrid.mjs +88 -0
  38. package/es/src/index.mjs +277 -274
  39. package/es/src/version.d.ts +1 -1
  40. package/es/src/version.mjs +1 -1
  41. package/lib/index.js +1 -1
  42. package/lib/src/ag-grid/components/header-cell/index.vue2.js +1 -1
  43. package/lib/src/ag-grid/context.d.ts +18 -0
  44. package/lib/src/ag-grid/context.js +1 -0
  45. package/lib/src/ag-grid/index.vue.d.ts +4 -2
  46. package/lib/src/ag-grid/index.vue.js +1 -1
  47. package/lib/src/ag-grid/interface.d.ts +105 -3
  48. package/lib/src/ag-grid/theme.d.ts +3 -0
  49. package/lib/src/ag-grid/theme.js +1 -0
  50. package/lib/src/ap-field/number/index.vue.js +1 -1
  51. package/lib/src/ap-grid/utils/col.d.ts +1 -1
  52. package/lib/src/ap-grid/utils/col.js +1 -1
  53. package/lib/src/ap-pro-card/components/card/index.vue2.js +1 -1
  54. package/lib/src/ap-pro-card/components/divider/index.vue.d.ts +13 -0
  55. package/lib/src/ap-pro-card/components/divider/index.vue.js +1 -0
  56. package/lib/src/ap-pro-card/components/divider/index.vue2.js +1 -0
  57. package/lib/src/ap-pro-card/components/operation/index.vue.d.ts +18 -0
  58. package/lib/src/ap-pro-card/components/operation/index.vue.js +1 -0
  59. package/lib/src/ap-pro-card/components/operation/index.vue2.js +1 -0
  60. package/lib/src/ap-pro-card/components/statistic/index.vue.d.ts +51 -0
  61. package/lib/src/ap-pro-card/components/statistic/index.vue.js +1 -0
  62. package/lib/src/ap-pro-card/components/statistic/index.vue2.js +1 -0
  63. package/lib/src/ap-pro-card/components/statistic-card/index.vue.d.ts +25 -0
  64. package/lib/src/ap-pro-card/components/statistic-card/index.vue.js +1 -0
  65. package/lib/src/ap-pro-card/components/statistic-card/index.vue2.js +1 -0
  66. package/lib/src/ap-pro-card/components/title/index.vue.d.ts +23 -0
  67. package/lib/src/ap-pro-card/components/title/index.vue.js +1 -0
  68. package/lib/src/ap-pro-card/components/title/index.vue2.js +1 -0
  69. package/lib/src/ap-pro-card/index.d.ts +20 -42
  70. package/lib/src/ap-pro-card/index.js +1 -1
  71. package/lib/src/ap-pro-card/interface.d.ts +66 -2
  72. package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
  73. package/lib/src/business/ap-label/group/ApLabelGroup.js +1 -1
  74. package/lib/src/business/hooks/index.d.ts +1 -0
  75. package/lib/src/business/hooks/index.js +1 -1
  76. package/lib/src/business/hooks/usePageListAgGrid.d.ts +37 -0
  77. package/lib/src/business/hooks/usePageListAgGrid.js +1 -0
  78. package/lib/src/index.js +1 -1
  79. package/lib/src/version.d.ts +1 -1
  80. package/lib/src/version.js +1 -1
  81. package/package.json +1 -1
  82. package/theme/ag-grid/index.css +468 -0
  83. package/theme/ag-grid/index.less +25 -0
  84. package/theme/ap-button/ap-button.css +1 -1
  85. package/theme/ap-button/ap-button.less +1 -1
  86. package/theme/ap-pro-card/index.css +199 -0
  87. package/theme/ap-pro-card/index.less +203 -0
  88. package/theme/ap-tag/ap-tag.css +1 -1
  89. package/theme/ap-tag/ap-tag.less +1 -1
  90. package/theme/index.css +218 -2
@@ -1,11 +1,12 @@
1
- import { CSSProperties, VNode } from 'vue';
1
+ import { ComputedRef, CSSProperties, VNode } from 'vue';
2
2
  import { ApTablePaginationConfig, ApTableValueFields, ApTableValueTypes, CommonFieldReturnType, ExtraProColumnType, FieldPropsType, RequestData, ValueEnum } from '../ap-table/interface';
3
3
  import { TableProps } from '@aplus-frontend/antdv';
4
- import { ApFormSearchFormProps } from '../ap-form/interface';
4
+ import { ApFormSearchFormPopoverSorterItem, ApFormSearchFormProps } from '../ap-form/interface';
5
5
  import { Recordable } from '../type';
6
6
  import { SortOrder, TableRowSelection } from '@aplus-frontend/antdv/es/table/interface';
7
7
  import { ColDef, IRowNode } from 'ag-grid-community';
8
- export type AgGridColumnType<RecordType = any, ExtraValueType = 'text', ValueType extends ApTableValueTypes = ApTableValueTypes, MergedValueType extends ExtraValueType | ValueType = ExtraValueType | ValueType> = MergedValueType extends ExtraValueType | ValueType ? Omit<ExtraProColumnType<RecordType>, 'sorter' | 'rowSpan' | 'customCell' | 'customHeaderCell' | 'minWidth' | 'width' | 'maxWidth' | 'className' | 'class'> & {
8
+ import { InternalPagingType } from '../ap-table/hooks/use-table-paging-ng';
9
+ export type AgGridColumnType<RecordType = any, ExtraValueType = 'text', ValueType extends ApTableValueTypes = ApTableValueTypes, MergedValueType extends ExtraValueType | ValueType = ExtraValueType | ValueType> = MergedValueType extends ExtraValueType | ValueType ? Omit<ExtraProColumnType<RecordType>, 'sorter' | 'rowSpan' | 'customCell' | 'customHeaderCell' | 'minWidth' | 'width' | 'maxWidth' | 'className' | 'class' | 'colSpan'> & {
9
10
  children?: AgGridColumnType<RecordType, ExtraValueType, ValueType, MergedValueType>[];
10
11
  /**
11
12
  * 表单项所占据的格子数(1-24格)
@@ -75,10 +76,13 @@ export type AgGridColumnType<RecordType = any, ExtraValueType = 'text', ValueTyp
75
76
  column: AgGridColumnType<RecordType>;
76
77
  originalNode?: VNode;
77
78
  originalText?: any;
79
+ pinned?: boolean;
80
+ rowIndex?: number;
78
81
  }) => any;
79
82
  width?: number;
80
83
  minWidth?: number;
81
84
  maxWidth?: number;
85
+ colSpan?: ColDef<RecordType>['colSpan'];
82
86
  /**
83
87
  * 为当前单元格添加类名
84
88
  * @returns
@@ -167,6 +171,10 @@ export type AgGridProps<RecordType = any, ParamsType = any> = Omit<TableProps<Re
167
171
  * 表格最外层容器自定义样式
168
172
  */
169
173
  wrapperStyle?: CSSProperties;
174
+ /**
175
+ * 表格(AgGrid*)的自定义样式
176
+ */
177
+ tableStyle?: CSSProperties;
170
178
  /**
171
179
  * 是否手动发起第一次网络请求
172
180
  */
@@ -177,6 +185,7 @@ export type AgGridProps<RecordType = any, ParamsType = any> = Omit<TableProps<Re
177
185
  size?: 'medium' | 'mini';
178
186
  /**
179
187
  * 表格是否自适应高度
188
+ * @deprecated 不支持的属性,仅仅做迁移的兼容
180
189
  */
181
190
  adaptive?: boolean;
182
191
  /**
@@ -192,3 +201,96 @@ export type AgGridProps<RecordType = any, ParamsType = any> = Omit<TableProps<Re
192
201
  bottom?: RecordType[];
193
202
  };
194
203
  };
204
+ export type AgGridExpose<SearchParamsType = Recordable, RecordType = any> = {
205
+ /**
206
+ * 表格查询提交(重制页码但查询参数不会重置)
207
+ * @returns
208
+ */
209
+ submit: () => void;
210
+ /**
211
+ * 表格查询重置(重置页码和查询参数)
212
+ * @returns
213
+ */
214
+ reset: () => void;
215
+ /**
216
+ * 表格刷新当页数据
217
+ * @returns
218
+ */
219
+ refresh: () => void;
220
+ /**
221
+ * 表格查询提交(重制页码但查询参数不会重置)
222
+ * @param resetCurrent 是否重置当前页码,默认为`false`
223
+ * @returns
224
+ */
225
+ submitWith: (resetCurrent?: boolean) => void;
226
+ /**
227
+ * 设置查询表单数据
228
+ * @param values
229
+ * @returns
230
+ */
231
+ setSearchFormValues: (values: Partial<SearchParamsType>) => void;
232
+ /**
233
+ * 获取查询表单数据
234
+ * @param transform 是否获取转换后的数据 默认为`false`
235
+ * @returns
236
+ */
237
+ getSearchFormValues: (transform?: boolean) => (Partial<SearchParamsType> & Recordable<any>) | undefined;
238
+ /**
239
+ * 获取最终现实的列配置
240
+ * @returns
241
+ */
242
+ getShowColumns: () => AgGridColumnType<RecordType>[];
243
+ /**
244
+ * 行选中相关
245
+ */
246
+ rowSelection: {
247
+ selectedRows: ComputedRef<RecordType[]>;
248
+ /**
249
+ * 通过API调用设置行选中
250
+ * @param keys
251
+ * @returns
252
+ */
253
+ setSelectedRowKeys: (keys: (string | number)[]) => void;
254
+ clearAll: () => void;
255
+ };
256
+ /**
257
+ * 滚动到某一行
258
+ * @param index 行索引
259
+ * @param position
260
+ * @returns
261
+ */
262
+ scrollToRow: (index: number, position?: 'top' | 'bottom' | 'middle' | null) => void;
263
+ /**
264
+ * 获取当前表格数据
265
+ * @returns
266
+ */
267
+ getDataSource: () => RecordType[];
268
+ /**
269
+ * 获取分页参数
270
+ * @returns
271
+ */
272
+ getPaging: () => InternalPagingType;
273
+ /**
274
+ * 设置表格分页参数
275
+ * @param nextPaging 新的分页参数
276
+ * @param refreshImmediately 是否立刻刷新数据,默认为`true`
277
+ * @returns
278
+ */
279
+ setPaging: (nextPaging: InternalPagingType, refreshImmediately?: boolean) => void;
280
+ /**
281
+ * 获取查询排序
282
+ * @returns
283
+ */
284
+ getSearchFormSorterItems: () => ApFormSearchFormPopoverSorterItem[];
285
+ /**
286
+ * 设置查询表单排序
287
+ * @param sortedItems
288
+ * @returns
289
+ */
290
+ setSearchFormSorterItems: (sortedItems: ApFormSearchFormPopoverSorterItem[]) => void;
291
+ /**
292
+ * 重设查询表单排序
293
+ * @returns
294
+ */
295
+ resetSearchFormSorterItems: () => void;
296
+ };
@@ -0,0 +1,3 @@
1
+ import { Ref, ComputedRef } from 'vue';
2
+ import { Theme, ThemeDefaultParams } from 'ag-grid-community';
3
+ export declare const useTheme: (size: Ref<"medium" | "mini" | undefined>) => ComputedRef<Theme<ThemeDefaultParams>>;
@@ -0,0 +1,25 @@
1
+ import { useToken as c } from "@aplus-frontend/antdv/es/theme/internal";
2
+ import { themeQuartz as n } from "ag-grid-community";
3
+ import { computed as a } from "vue";
4
+ const l = (e) => {
5
+ const [, t] = c();
6
+ return a(() => {
7
+ const r = e.value === "mini", o = t.value;
8
+ return n.withParams({
9
+ headerHeight: "36px",
10
+ headerFontSize: "12px",
11
+ dataFontSize: "12px",
12
+ rowHeight: r ? "30px" : "36px",
13
+ spacing: r ? "5px" : "6.5px",
14
+ foregroundColor: o.colorTextBase,
15
+ wrapperBorder: !1,
16
+ rowBorder: { color: o.colorBorderSecondary },
17
+ headerRowBorder: { color: o.colorBorderSecondary },
18
+ selectedRowBackgroundColor: o.controlItemBgActive,
19
+ checkboxCheckedBackgroundColor: o.colorPrimary
20
+ });
21
+ });
22
+ };
23
+ export {
24
+ l as useTheme
25
+ };
@@ -1,14 +1,14 @@
1
- import { defineComponent as x, ref as C, computed as N, unref as t, createElementBlock as n, createBlock as D, openBlock as r, Fragment as P, createCommentVNode as d, createElementVNode as V, normalizeClass as m, renderSlot as s, toDisplayString as $, mergeProps as R, createSlots as A, renderList as I, withCtx as U, normalizeProps as z, guardReactiveProps as E } from "vue";
2
- import { InputNumber as F } from "@aplus-frontend/antdv";
1
+ import { defineComponent as x, ref as C, computed as N, unref as t, createElementBlock as n, createBlock as D, openBlock as r, createCommentVNode as d, createElementVNode as P, normalizeClass as f, renderSlot as s, toDisplayString as V, mergeProps as $, createSlots as R, renderList as A, withCtx as I, normalizeProps as U, guardReactiveProps as _ } from "vue";
2
+ import { InputNumber as z } from "@aplus-frontend/antdv";
3
3
  import "../../hooks/index.mjs";
4
- import { isNil as M, omit as T } from "lodash-unified";
5
- import { roundWith as _, toDecimalMark as w } from "@fruits-chain/utils";
6
- import { addZeroToDecimalPlaces as L } from "./helper.mjs";
4
+ import { isNil as E, omit as M } from "lodash-unified";
5
+ import { roundWith as T, toDecimalMark as F } from "@fruits-chain/utils";
6
+ import { addZeroToDecimalPlaces as w } from "./helper.mjs";
7
7
  import "../../config-provider/index.mjs";
8
- import { useDefaultPlaceholder as W } from "../hooks/use-default-placeholder.mjs";
9
- import { useNamespace as Z } from "../../config-provider/hooks/use-namespace.mjs";
10
- import { useControllableValue as j } from "../../hooks/useControllableValue.mjs";
11
- const te = /* @__PURE__ */ x({
8
+ import { useDefaultPlaceholder as L } from "../hooks/use-default-placeholder.mjs";
9
+ import { useNamespace as W } from "../../config-provider/hooks/use-namespace.mjs";
10
+ import { useControllableValue as Z } from "../../hooks/useControllableValue.mjs";
11
+ const j = { key: 0 }, te = /* @__PURE__ */ x({
12
12
  name: "ApFieldNumber",
13
13
  __name: "index",
14
14
  props: {
@@ -56,17 +56,17 @@ const te = /* @__PURE__ */ x({
56
56
  limitDecimalsRetain: { type: Boolean }
57
57
  },
58
58
  emits: ["update:value"],
59
- setup(f, { expose: c, emit: y }) {
60
- const v = y, { b: i } = Z("field-number"), o = f, l = C(), { value: u, updateValue: b } = j(
59
+ setup(m, { expose: c, emit: y }) {
60
+ const v = y, { b: i } = W("field-number"), o = m, l = C(), { value: u, updateValue: b } = Z(
61
61
  o,
62
62
  v
63
- ), B = W("Number", o), h = N(() => {
63
+ ), B = L("Number", o), h = N(() => {
64
64
  let e = t(u);
65
- if (M(e))
65
+ if (E(e))
66
66
  return o.emptyText;
67
- o.precision && (e = _(e, o.precision));
68
- let a = o.thousands ? w(e) : String(e);
69
- return o.precision && o.limitDecimalsRetain && (a = L(a, o.precision)), a;
67
+ o.precision && (e = T(e, o.precision));
68
+ let a = o.thousands ? F(e) : String(e);
69
+ return o.precision && o.limitDecimalsRetain && (a = w(a, o.precision)), a;
70
70
  });
71
71
  function k() {
72
72
  var e;
@@ -76,31 +76,31 @@ const te = /* @__PURE__ */ x({
76
76
  var e;
77
77
  (e = l.value) == null || e.blur();
78
78
  }
79
- return c({ focus: k, blur: g }), (e, a) => e.mode === "read" ? (r(), n(P, { key: 0 }, [
79
+ return c({ focus: k, blur: g }), (e, a) => e.mode === "read" ? (r(), n("span", j, [
80
80
  e.$slots.prefix ? (r(), n("span", {
81
81
  key: 0,
82
- class: m(t(i)("label-left"))
82
+ class: f(t(i)("label-left"))
83
83
  }, [
84
84
  s(e.$slots, "prefix")
85
85
  ], 2)) : d("", !0),
86
- V("span", null, $(h.value), 1),
86
+ P("span", null, V(h.value), 1),
87
87
  e.$slots.addonAfter ? (r(), n("span", {
88
88
  key: 1,
89
- class: m(t(i)("label-right"))
89
+ class: f(t(i)("label-right"))
90
90
  }, [
91
91
  s(e.$slots, "addonAfter")
92
92
  ], 2)) : d("", !0)
93
- ], 64)) : (r(), D(t(F), R({ key: 1 }, t(T)(o, ["value", "onUpdate:value"]), {
93
+ ])) : (r(), D(t(z), $({ key: 1 }, t(M)(o, ["value", "onUpdate:value"]), {
94
94
  ref_key: "inputRef",
95
95
  ref: l,
96
96
  placeholder: t(B),
97
97
  value: t(u),
98
98
  "onUpdate:value": t(b)
99
- }), A({ _: 2 }, [
100
- I(e.$slots, (q, p) => ({
99
+ }), R({ _: 2 }, [
100
+ A(e.$slots, (q, p) => ({
101
101
  name: p,
102
- fn: U((S) => [
103
- s(e.$slots, p, z(E(S || {})))
102
+ fn: I((S) => [
103
+ s(e.$slots, p, U(_(S || {})))
104
104
  ])
105
105
  }))
106
106
  ]), 1040, ["placeholder", "value", "onUpdate:value"]));
@@ -16,7 +16,7 @@ export declare function transformToColGroup<RecordType>(columnConfig: ApGridColu
16
16
  * @param extraValueType
17
17
  * @returns
18
18
  */
19
- export declare const contentCustom: ({ value, ...restProps }: any, columnConfig: any, extraValueType: any) => any;
19
+ export declare const contentCustom: ({ value, ...restProps }: any, columnConfig: any, extraValueType: any) => import("vue/jsx-runtime").JSX.Element;
20
20
  /**
21
21
  * 转换渲染列
22
22
  * @param columnConfig
@@ -1,19 +1,19 @@
1
- import { createVNode as T, Fragment as c } from "vue";
2
- import { isUndefined as N, isArray as b, isString as y, isBoolean as F, isNumber as w, pick as v } from "lodash-unified";
3
- import { valueEnumToArray as E, objectToString as O, getTableTitle as x, getTableRenderType as S, getTableRenderProps as $, getTableCellRenderNode as M } from "../../ap-table/utils.mjs";
1
+ import { createVNode as p, Fragment as o } from "vue";
2
+ import { isUndefined as N, isArray as b, isString as F, isBoolean as v, isNumber as w, pick as x } from "lodash-unified";
3
+ import { valueEnumToArray as E, objectToString as O, getTableTitle as A, getTableRenderType as S, getTableRenderProps as $, getTableCellRenderNode as M } from "../../ap-table/utils.mjs";
4
4
  import { noRenderAsFormItemValueList as V } from "../../ap-table/constants.mjs";
5
5
  import "../../ap-table/components/paragraph-ellipsis/index.vue.mjs";
6
6
  import j from "../../ap-table/components/paragraph-ellipsis/index.vue2.mjs";
7
- function A(e) {
7
+ function R(e) {
8
8
  if (!N(e))
9
- return b(e) ? e.reduce((t, r) => y(r) ? `${t}.${r}` : `${t}[${r}]`, "") : String(e);
9
+ return b(e) ? e.reduce((t, r) => F(r) ? `${t}.${r}` : `${t}[${r}]`, "") : String(e);
10
10
  }
11
- function R(e) {
11
+ function c(e) {
12
12
  if (e)
13
13
  return e === !0 ? "left" : e;
14
14
  }
15
15
  function q(e) {
16
- return F(e) ? {
16
+ return v(e) ? {
17
17
  sortable: e
18
18
  } : e ? {
19
19
  sortable: !0,
@@ -25,8 +25,8 @@ function q(e) {
25
25
  }
26
26
  function B(e) {
27
27
  let t;
28
- return F(e.filters) && e.valueEnum ? t = E(e.valueEnum) : t = e.filters, t == null ? void 0 : t.map((r) => ({
29
- label: y(r.text) ? r.text : "",
28
+ return v(e.filters) && e.valueEnum ? t = E(e.valueEnum) : t = e.filters, t == null ? void 0 : t.map((r) => ({
29
+ label: F(r.text) ? r.text : "",
30
30
  value: r.value
31
31
  }));
32
32
  }
@@ -52,7 +52,7 @@ function k(e, t, r) {
52
52
  return r;
53
53
  if (e.copyable || e.ellipsis) {
54
54
  const l = _(e.ellipsis, t), i = O(t);
55
- return T(j, {
55
+ return p(j, {
56
56
  rawValue: i,
57
57
  copyable: e.copyable,
58
58
  ellipsis: l,
@@ -61,17 +61,17 @@ function k(e, t, r) {
61
61
  }
62
62
  return r;
63
63
  }
64
- function h(e, t, r) {
65
- const l = v(e, ["width", "minWidth", "align"]);
66
- return l.field = A(e.dataIndex), l.fixed = R(e.fixed), l.slots = {
67
- header: () => x(e, r, void 0, t)
64
+ function T(e, t, r) {
65
+ const l = x(e, ["width", "minWidth", "align"]);
66
+ return l.field = R(e.dataIndex), l.fixed = c(e.fixed), l.slots = {
67
+ header: () => A(e, r, void 0, t)
68
68
  }, l.headerAlign = e.align, l.showOverflow = !1, l.showFooterOverflow = !1, l;
69
69
  }
70
70
  const z = ({
71
71
  value: e,
72
72
  ...t
73
73
  }, r, l) => {
74
- var u, p;
74
+ var u, h;
75
75
  const i = S(r), d = $({
76
76
  ...r,
77
77
  valueType: i
@@ -81,7 +81,7 @@ const z = ({
81
81
  }), s = M(i, d, t.record, l), n = ((u = r.renderText) == null ? void 0 : u.call(r, {
82
82
  value: e,
83
83
  ...t
84
- })) || e, a = r.renderText ? T(c, null, [(p = r.renderText) == null ? void 0 : p.call(r, {
84
+ })) || e, a = r.renderText ? p(o, null, [(h = r.renderText) == null ? void 0 : h.call(r, {
85
85
  value: e,
86
86
  ...t
87
87
  })]) : s;
@@ -92,11 +92,11 @@ const z = ({
92
92
  column: r,
93
93
  originalNode: f,
94
94
  originalText: n
95
- })), f;
95
+ })), p(o, null, [f]);
96
96
  };
97
- function o(e, t, r, l) {
98
- const i = v(e, ["width", "minWidth", "align", "resizable", "className", "headerClassName", "footerClassName", "treeNode"]);
99
- i.field = A(e.dataIndex), i.fixed = R(e.fixed), i.headerAlign = e.align, i.footerAlign = e.align, i.showOverflow = !1, i.showFooterOverflow = !1, Object.assign(i, q(e.sorter)), i.filters = B(e), i.filterMultiple = e.filterMultiple, i.filterMethod = W(e.onFilter);
97
+ function y(e, t, r, l) {
98
+ const i = x(e, ["width", "minWidth", "align", "resizable", "className", "headerClassName", "footerClassName", "treeNode"]);
99
+ i.field = R(e.dataIndex), i.fixed = c(e.fixed), i.headerAlign = e.align, i.footerAlign = e.align, i.showOverflow = !1, i.showFooterOverflow = !1, Object.assign(i, q(e.sorter)), i.filters = B(e), i.filterMultiple = e.filterMultiple, i.filterMethod = W(e.onFilter);
100
100
  const d = ({
101
101
  row: s,
102
102
  rowIndex: n
@@ -109,7 +109,7 @@ function o(e, t, r, l) {
109
109
  column: e
110
110
  }, e, l);
111
111
  return i.slots = {
112
- header: () => x(e, r, void 0, t),
112
+ header: () => A(e, r, void 0, t),
113
113
  default: d,
114
114
  footer: d
115
115
  }, e.html && (delete i.slots.default, delete i.slots.footer, i.type = "html"), e.seq && (i.type = "seq", i.slots = {}), i;
@@ -117,25 +117,25 @@ function o(e, t, r, l) {
117
117
  function J(e, t, r, l) {
118
118
  var s;
119
119
  if (!((s = e.children) != null && s.length))
120
- return o(e, t, r, l);
120
+ return y(e, t, r, l);
121
121
  function i(n) {
122
122
  return n.map((a) => {
123
123
  var f;
124
124
  if ((f = a.children) != null && f.length) {
125
- const u = h(a, t, r);
125
+ const u = T(a, t, r);
126
126
  return u.children = i(a.children), u;
127
127
  }
128
- return o(a, t, r, l);
128
+ return y(a, t, r, l);
129
129
  });
130
130
  }
131
- const d = h(e, t, r);
131
+ const d = T(e, t, r);
132
132
  return d.children = i(e.children), d;
133
133
  }
134
134
  export {
135
135
  z as contentCustom,
136
- A as dataIndexToField,
136
+ R as dataIndexToField,
137
137
  J as transformCol,
138
- R as transformFixed,
139
- h as transformToColGroup,
140
- o as transformToColumn
138
+ c as transformFixed,
139
+ T as transformToColGroup,
140
+ y as transformToColumn
141
141
  };