@aplus-frontend/ui 6.28.0 → 6.28.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 (47) hide show
  1. package/es/src/ag-grid/hooks/use-columns-def.mjs +28 -24
  2. package/es/src/ag-grid/hooks/use-pinned-row.mjs +12 -7
  3. package/es/src/ag-grid/hooks/use-selection-col-def.mjs +12 -11
  4. package/es/src/ag-grid/interface.d.ts +1 -1
  5. package/es/src/ag-grid/renderer/select.d.ts +4 -1
  6. package/es/src/ag-grid/renderer/select.mjs +11 -7
  7. package/es/src/ag-grid/theme.mjs +11 -9
  8. package/es/src/ap-field/tree-select/index.vue.d.ts +20 -0
  9. package/es/src/ap-field/tree-select/index.vue.mjs +15 -14
  10. package/es/src/ap-field/tree-select/read.vue2.mjs +1 -0
  11. package/es/src/ap-form/items/tree-select/index.vue.d.ts +22 -0
  12. package/es/src/ap-table/constants.d.ts +11 -0
  13. package/es/src/ap-table/utils.mjs +51 -42
  14. package/es/src/business/ap-summary/interface.d.ts +3 -1
  15. package/es/src/business/ap-summary/utils.mjs +14 -11
  16. package/es/src/version.d.ts +1 -1
  17. package/es/src/version.mjs +1 -1
  18. package/lib/src/ag-grid/hooks/use-columns-def.js +1 -1
  19. package/lib/src/ag-grid/hooks/use-pinned-row.js +1 -1
  20. package/lib/src/ag-grid/hooks/use-selection-col-def.js +1 -1
  21. package/lib/src/ag-grid/interface.d.ts +1 -1
  22. package/lib/src/ag-grid/renderer/select.d.ts +4 -1
  23. package/lib/src/ag-grid/renderer/select.js +1 -1
  24. package/lib/src/ag-grid/theme.js +1 -1
  25. package/lib/src/ap-field/tree-select/index.vue.d.ts +20 -0
  26. package/lib/src/ap-field/tree-select/index.vue.js +1 -1
  27. package/lib/src/ap-field/tree-select/read.vue2.js +1 -1
  28. package/lib/src/ap-form/items/tree-select/index.vue.d.ts +22 -0
  29. package/lib/src/ap-table/constants.d.ts +11 -0
  30. package/lib/src/ap-table/utils.js +1 -1
  31. package/lib/src/business/ap-summary/interface.d.ts +3 -1
  32. package/lib/src/business/ap-summary/utils.js +1 -1
  33. package/lib/src/version.d.ts +1 -1
  34. package/lib/src/version.js +1 -1
  35. package/package.json +3 -3
  36. package/theme/ag-grid/index.css +3 -0
  37. package/theme/ap-form/ap-form-item.css +3 -0
  38. package/theme/ap-form/ap-form-item.less +3 -0
  39. package/theme/ap-form/index.css +3 -0
  40. package/theme/ap-form/search-form.css +3 -0
  41. package/theme/ap-grid/index.css +3 -0
  42. package/theme/ap-table/ap-table.css +3 -0
  43. package/theme/ap-table-modal/index.css +3 -0
  44. package/theme/ap-value-select-card/index.css +3 -0
  45. package/theme/ap-value-select-card/index.less +3 -0
  46. package/theme/editable-table/index.css +3 -0
  47. package/theme/index.css +6 -0
@@ -1,5 +1,5 @@
1
- import { getTableRenderProps as C, objectToString as m } from "../../ap-table/utils.mjs";
2
- import { rendererMap as y } from "../renderer/index.mjs";
1
+ import { getTableRenderProps as y, objectToString as P } from "../../ap-table/utils.mjs";
2
+ import { rendererMap as h } from "../renderer/index.mjs";
3
3
  import { isFunction as b, isNumber as f } from "lodash-unified";
4
4
  import { computed as v, unref as T } from "vue";
5
5
  import "../components/body-cell/index.vue.mjs";
@@ -8,10 +8,10 @@ import "../../config-provider/index.mjs";
8
8
  import { dataIndexToField as R } from "../../ap-grid/utils/col.mjs";
9
9
  import { isDef as D } from "../../utils/index.mjs";
10
10
  import { useGlobalConfig as I } from "../../config-provider/hooks/use-global-config.mjs";
11
- import { useNamespace as P } from "../../config-provider/hooks/use-namespace.mjs";
12
- import S from "../components/body-cell/index.vue2.mjs";
13
- import _ from "../components/header-cell/index.vue2.mjs";
14
- function z(t, a) {
11
+ import { useNamespace as S } from "../../config-provider/hooks/use-namespace.mjs";
12
+ import G from "../components/body-cell/index.vue2.mjs";
13
+ import C from "../components/header-cell/index.vue2.mjs";
14
+ function _(t, a) {
15
15
  if (a.bodyCellTooltip)
16
16
  return b(a.bodyCellTooltip) ? a.bodyCellTooltip(t.value, t.data) : a.bodyCellTooltip;
17
17
  if (a.renderText)
@@ -21,9 +21,9 @@ function z(t, a) {
21
21
  column: a,
22
22
  text: t.value
23
23
  });
24
- const s = a.valueType || "text", d = y[s];
24
+ const s = a.valueType || "text", d = h[s];
25
25
  if (d) {
26
- const p = C(
26
+ const p = y(
27
27
  { ...a, valueType: s },
28
28
  {
29
29
  value: t.value,
@@ -36,13 +36,13 @@ function z(t, a) {
36
36
  );
37
37
  return d(p);
38
38
  }
39
- return m(t.value);
39
+ return P(t.value);
40
40
  }
41
41
  const J = (t, a, s) => {
42
- const d = I("valueTypeMap"), { em: u } = P("ag-grid"), p = v(() => {
43
- const h = T(t), g = (i) => {
42
+ const d = I("valueTypeMap"), { em: u } = S("ag-grid"), p = v(() => {
43
+ const g = T(t), m = (i) => {
44
44
  const e = {
45
- cellRenderer: S,
45
+ cellRenderer: G,
46
46
  cellRendererParams: {
47
47
  column: i,
48
48
  extraValueType: T(d)
@@ -59,10 +59,10 @@ const J = (t, a, s) => {
59
59
  text: r.value
60
60
  })
61
61
  };
62
- const n = i.valueType || "text", l = y[n];
63
- return l ? {
62
+ const n = i.valueType || "text", o = h[n];
63
+ return o ? {
64
64
  valueFormatter: (r) => {
65
- const o = C(
65
+ const l = y(
66
66
  { ...i, valueType: n },
67
67
  {
68
68
  value: r.value,
@@ -73,13 +73,13 @@ const J = (t, a, s) => {
73
73
  pinned: r.node?.rowPinned
74
74
  }
75
75
  );
76
- return l(o);
76
+ return o(l);
77
77
  }
78
78
  } : e;
79
79
  };
80
80
  function x(i) {
81
81
  return i.map((e) => {
82
- const n = e.bodyCellTooltip || !e.customRender && (e.ellipsis === !0 || e.ellipsis === "tooltip" || f(e.ellipsis)), l = {
82
+ const n = e.bodyCellTooltip || !e.customRender && (e.ellipsis === !0 || e.ellipsis === "tooltip" || f(e.ellipsis)), o = {
83
83
  field: R(e.dataIndex),
84
84
  colId: D(e.key) ? String(e.key) : void 0,
85
85
  sortable: !!e.sorter,
@@ -97,7 +97,7 @@ const J = (t, a, s) => {
97
97
  // undefined to null
98
98
  colSpan: e.colSpan,
99
99
  cellClass: s((r) => {
100
- const o = e.cellClass || "", w = b(o) ? o(r.data, r.node) : o;
100
+ const l = e.cellClass || "", w = b(l) ? l(r.data, r.node) : l;
101
101
  return [
102
102
  `${u("cell", e.align || "left")}`,
103
103
  w
@@ -109,19 +109,23 @@ const J = (t, a, s) => {
109
109
  wrapText: !e.ellipsis || f(e.ellipsis) && e.ellipsis >= 2,
110
110
  autoHeight: !0,
111
111
  // 设置自动计算高度以自适应多行换行的场景
112
- tooltipValueGetter: n ? (r) => z(r, e) : void 0,
113
- ...g(e)
112
+ tooltipValueGetter: n ? (r) => _(r, e) : void 0,
113
+ ...m(e)
114
114
  };
115
115
  return e.children?.length ? {
116
- ...l,
116
+ ...o,
117
+ headerGroupComponent: C,
118
+ headerGroupComponentParams: {
119
+ column: e
120
+ },
117
121
  children: x(e.children)
118
- } : l;
122
+ } : o;
119
123
  });
120
124
  }
121
- return x(h);
125
+ return x(g);
122
126
  }), c = v(
123
127
  () => ({
124
- headerComponent: _,
128
+ headerComponent: C,
125
129
  resizable: a.columnResizable,
126
130
  suppressMovable: !0,
127
131
  cellDataType: !1
@@ -1,7 +1,7 @@
1
- import { computed as w } from "vue";
1
+ import { computed as s } from "vue";
2
2
  import { isFunction as l } from "lodash-unified";
3
- const C = (r) => {
4
- const d = w(() => {
3
+ const P = (r) => {
4
+ const d = s(() => {
5
5
  const o = r.value;
6
6
  if (!o)
7
7
  return {};
@@ -9,9 +9,9 @@ const C = (r) => {
9
9
  return {
10
10
  pinnedTopRowData: t,
11
11
  pinnedBottomRowData: e,
12
- getRowClass({ node: i, data: s, rowIndex: u }) {
12
+ getRowClass({ node: i, data: w, rowIndex: u }) {
13
13
  if (!(!i.rowPinned || !n))
14
- return l(n) ? n(s, u, i.rowPinned) : n;
14
+ return l(n) ? n(w, u, i.rowPinned) : n;
15
15
  }
16
16
  };
17
17
  });
@@ -21,12 +21,17 @@ const C = (r) => {
21
21
  const { cellClassName: e } = r.value || {};
22
22
  return !n.node.rowPinned || !e ? t = [o(n)] : t = [
23
23
  o(n),
24
- l(e) ? e(n.data, n.colDef, n.node.rowPinned) : e
24
+ l(e) ? e(
25
+ n.data,
26
+ n.colDef,
27
+ n.node.rowPinned,
28
+ n.rowIndex
29
+ ) : e
25
30
  ], t.flat().filter(Boolean);
26
31
  },
27
32
  rowPinnedGridConfig: d
28
33
  };
29
34
  };
30
35
  export {
31
- C as usePinnedRow
36
+ P as usePinnedRow
32
37
  };
@@ -1,34 +1,35 @@
1
1
  import { computed as m } from "vue";
2
2
  import { isFunction as s } from "lodash-unified";
3
3
  import "../../ap-grid/index.mjs";
4
- import { ROW_SELECTION_FIELD as f } from "../../ap-grid/constants.mjs";
4
+ import { ROW_SELECTION_FIELD as a } from "../../ap-grid/constants.mjs";
5
5
  function d(e) {
6
6
  return e?.bottom?.length || e?.top?.length;
7
7
  }
8
- const x = (e, c) => m(() => {
8
+ const C = (e, l) => m(() => {
9
9
  if (!e.rowSelection)
10
10
  return;
11
- const l = e.rowSelection === !0 ? {} : e.rowSelection, o = {
11
+ const i = e.rowSelection === !0 ? {} : e.rowSelection, o = {
12
12
  sortable: !1,
13
13
  resizable: !1,
14
- width: l.columnWidth || 60
14
+ width: i.columnWidth || 60
15
15
  };
16
- let n = l.fixed;
17
- if (n === void 0 && (n = c.value.some(
16
+ let n = i.fixed;
17
+ if (n === void 0 && (n = l.value.some(
18
18
  (t) => t.fixed === "left" || t.fixed === !0
19
19
  ) ? "left" : void 0), o.pinned = n, d(e.summary)) {
20
20
  const { cellClassName: t } = e.summary;
21
21
  o.cellClass = ({
22
22
  node: r,
23
- data: u,
24
- colDef: i
23
+ data: f,
24
+ colDef: c,
25
+ rowIndex: u
25
26
  }) => {
26
27
  if (!(!r.rowPinned || !t))
27
- return i.field = f, console.log(i), s(t) ? t(u, i, r.rowPinned) : t;
28
- }, o.cellRenderer = ({ data: r }) => r?.[f];
28
+ return s(t) ? t(f, c, r.rowPinned, u) : t;
29
+ }, o.cellRenderer = ({ data: r }) => r?.[a];
29
30
  }
30
31
  return o;
31
32
  });
32
33
  export {
33
- x as default
34
+ C as default
34
35
  };
@@ -114,7 +114,7 @@ export type AgGridVirtualConfig = {
114
114
  export type AgGridSummaryType<RecordType = any> = {
115
115
  top?: RecordType[];
116
116
  bottom?: RecordType[];
117
- cellClassName?: string | string[] | ((data: RecordType, column: ColDef<RecordType>, pinned: RowPinnedType) => string | string[]);
117
+ cellClassName?: string | string[] | ((data: RecordType, column: ColDef<RecordType>, pinned: RowPinnedType, rowIndex: number) => string | string[]);
118
118
  rowClassName?: string | string[] | ((data: RecordType, rowIndex: number, pinned: RowPinnedType) => string | string[]);
119
119
  };
120
120
  export type AgGridProps<RecordType = any, ParamsType = any> = Omit<TableProps<RecordType>, 'columns' | 'pagination' | 'dataSource' | 'size' | 'rowSelection' | 'rowClassName' | 'footer' | 'loading' | 'sticky'> & {
@@ -1,2 +1,5 @@
1
1
  import { ApFieldSelectProps } from '../../ap-field';
2
- export declare function selectRenderer(props: ApFieldSelectProps): any;
2
+ import { ValueEnum } from '../../ap-table';
3
+ export declare function selectRenderer(props: ApFieldSelectProps & {
4
+ valueEnum?: ValueEnum;
5
+ }): any;
@@ -1,13 +1,17 @@
1
1
  import { isNil as r, isArray as f } from "lodash-unified";
2
- function c(e) {
3
- const t = e.value, a = e.emptyText || "--";
2
+ import { valueEnumToArray as u } from "../../ap-table/utils.mjs";
3
+ function d(e) {
4
+ u;
5
+ const l = e.valueEnum ? u(e.valueEnum) : e.options || [];
6
+ console.log("options", l, e.value);
7
+ const t = e.value, n = e.emptyText || "--";
4
8
  if (r(t))
5
- return a;
6
- const n = e.fieldNames?.label || "label", i = e.fieldNames?.value || "value";
9
+ return n;
10
+ const o = e.fieldNames?.label || "label", i = e.fieldNames?.value || "value";
7
11
  return f(t) ? t.map(
8
- (l) => e.options.find((o) => o[i] === l)?.[n]
9
- ).filter(Boolean).join("、") || a : e.options.find((l) => l[i] === t)?.[n] || a;
12
+ (a) => l.find((m) => m[i] === a)?.[o]
13
+ ).filter(Boolean).join("、") || n : l.find((a) => a[i] === t)?.[o] || n;
10
14
  }
11
15
  export {
12
- c as selectRenderer
16
+ d as selectRenderer
13
17
  };
@@ -1,15 +1,15 @@
1
- import { useToken as c } from "@aplus-frontend/antdv/es/theme/internal";
1
+ import { useToken as d } from "@aplus-frontend/antdv/es/theme/internal";
2
2
  import { themeQuartz as n } from "ag-grid-community";
3
- import { computed as d } from "vue";
4
- const m = (r, e) => {
5
- const [, a] = c();
6
- return d(() => {
7
- const t = r.value === "mini", o = a.value;
3
+ import { computed as c } from "vue";
4
+ const p = (e, r) => {
5
+ const [, a] = d();
6
+ return c(() => {
7
+ const t = e.value === "mini", o = a.value;
8
8
  return n.withParams({
9
9
  headerHeight: "36px",
10
10
  headerFontSize: "12px",
11
11
  dataFontSize: "12px",
12
- rowHeight: e.value,
12
+ rowHeight: r.value,
13
13
  spacing: t ? "5px" : "6.5px",
14
14
  foregroundColor: o.colorTextBase,
15
15
  wrapperBorder: !1,
@@ -18,10 +18,12 @@ const m = (r, e) => {
18
18
  selectedRowBackgroundColor: o.controlItemBgActive,
19
19
  checkboxCheckedBackgroundColor: o.colorPrimary,
20
20
  rowHoverColor: "var(--ap-color-bg-2)",
21
- headerBackgroundColor: "var(--ap-table-header-bg)"
21
+ headerBackgroundColor: "var(--ap-table-header-bg)",
22
+ headerColumnResizeHandleHeight: "50%",
23
+ headerColumnResizeHandleWidth: "1px"
22
24
  });
23
25
  });
24
26
  };
25
27
  export {
26
- m as useTheme
28
+ p as useTheme
27
29
  };
@@ -84,6 +84,10 @@ declare function __VLS_template(): {
84
84
  type: PropType<(value: string) => void>;
85
85
  default: (value: string) => void;
86
86
  };
87
+ variant: {
88
+ type: PropType<"filled" | "outlined" | "borderless" | "underlined">;
89
+ default: "filled" | "outlined" | "borderless" | "underlined";
90
+ };
87
91
  value: {
88
92
  type: PropType<any>;
89
93
  };
@@ -278,6 +282,7 @@ declare function __VLS_template(): {
278
282
  virtual: boolean;
279
283
  dropdownMatchSelectWidth: number | boolean;
280
284
  loading: boolean;
285
+ variant: "filled" | "outlined" | "borderless" | "underlined";
281
286
  bordered: boolean;
282
287
  status: "" | "error" | "warning";
283
288
  allowClear: boolean;
@@ -363,6 +368,10 @@ declare function __VLS_template(): {
363
368
  type: PropType<(value: string) => void>;
364
369
  default: (value: string) => void;
365
370
  };
371
+ variant: {
372
+ type: PropType<"filled" | "outlined" | "borderless" | "underlined">;
373
+ default: "filled" | "outlined" | "borderless" | "underlined";
374
+ };
366
375
  value: {
367
376
  type: PropType<any>;
368
377
  };
@@ -557,6 +566,7 @@ declare function __VLS_template(): {
557
566
  virtual: boolean;
558
567
  dropdownMatchSelectWidth: number | boolean;
559
568
  loading: boolean;
569
+ variant: "filled" | "outlined" | "borderless" | "underlined";
560
570
  bordered: boolean;
561
571
  status: "" | "error" | "warning";
562
572
  allowClear: boolean;
@@ -657,6 +667,10 @@ declare const __VLS_component: DefineComponent<ApFieldTreeSelectProps, {
657
667
  type: PropType<(value: string) => void>;
658
668
  default: (value: string) => void;
659
669
  };
670
+ variant: {
671
+ type: PropType<"filled" | "outlined" | "borderless" | "underlined">;
672
+ default: "filled" | "outlined" | "borderless" | "underlined";
673
+ };
660
674
  value: {
661
675
  type: PropType<any>;
662
676
  };
@@ -851,6 +865,7 @@ declare const __VLS_component: DefineComponent<ApFieldTreeSelectProps, {
851
865
  virtual: boolean;
852
866
  dropdownMatchSelectWidth: number | boolean;
853
867
  loading: boolean;
868
+ variant: "filled" | "outlined" | "borderless" | "underlined";
854
869
  bordered: boolean;
855
870
  status: "" | "error" | "warning";
856
871
  allowClear: boolean;
@@ -936,6 +951,10 @@ declare const __VLS_component: DefineComponent<ApFieldTreeSelectProps, {
936
951
  type: PropType<(value: string) => void>;
937
952
  default: (value: string) => void;
938
953
  };
954
+ variant: {
955
+ type: PropType<"filled" | "outlined" | "borderless" | "underlined">;
956
+ default: "filled" | "outlined" | "borderless" | "underlined";
957
+ };
939
958
  value: {
940
959
  type: PropType<any>;
941
960
  };
@@ -1130,6 +1149,7 @@ declare const __VLS_component: DefineComponent<ApFieldTreeSelectProps, {
1130
1149
  virtual: boolean;
1131
1150
  dropdownMatchSelectWidth: number | boolean;
1132
1151
  loading: boolean;
1152
+ variant: "filled" | "outlined" | "borderless" | "underlined";
1133
1153
  bordered: boolean;
1134
1154
  status: "" | "error" | "warning";
1135
1155
  allowClear: boolean;
@@ -1,13 +1,13 @@
1
- import { isVNode as F, defineComponent as L, useSlots as R, ref as _, computed as E, unref as e, createVNode as d, Fragment as g, createBlock as S, openBlock as v, resolveDynamicComponent as K, mergeProps as U, createSlots as z, renderList as M, withCtx as B, renderSlot as j, normalizeProps as q, guardReactiveProps as O } from "vue";
1
+ import { isVNode as F, defineComponent as L, useSlots as R, ref as _, computed as E, unref as e, createVNode as r, Fragment as g, createBlock as v, openBlock as S, resolveDynamicComponent as K, mergeProps as U, createSlots as z, renderList as M, withCtx as B, renderSlot as j, normalizeProps as q, guardReactiveProps as O } from "vue";
2
2
  import { Space as $, Tag as H, TreeSelect as W, Spin as G } from "@aplus-frontend/antdv";
3
3
  import "../../hooks/index.mjs";
4
4
  import { isArray as J, omit as Q } from "lodash-unified";
5
5
  import { useRequest as X } from "./use-request.mjs";
6
6
  import { useControllableValue as Y } from "../../hooks/useControllableValue.mjs";
7
- function x(r) {
8
- return typeof r == "function" || Object.prototype.toString.call(r) === "[object Object]" && !F(r);
7
+ function x(d) {
8
+ return typeof d == "function" || Object.prototype.toString.call(d) === "[object Object]" && !F(d);
9
9
  }
10
- const de = /* @__PURE__ */ L({
10
+ const re = /* @__PURE__ */ L({
11
11
  name: "ApFieldTreeSelect",
12
12
  __name: "index",
13
13
  props: {
@@ -31,6 +31,7 @@ const de = /* @__PURE__ */ L({
31
31
  "onUpdate:value": {},
32
32
  "onUpdate:treeExpandedKeys": {},
33
33
  "onUpdate:searchValue": {},
34
+ variant: {},
34
35
  value: {},
35
36
  children: {},
36
37
  listHeight: {},
@@ -171,11 +172,11 @@ const de = /* @__PURE__ */ L({
171
172
  }
172
173
  },
173
174
  emits: ["update:value"],
174
- setup(r, {
175
+ setup(d, {
175
176
  expose: C,
176
177
  emit: w
177
178
  }) {
178
- const o = r, N = R(), T = w, p = _(), {
179
+ const o = d, N = R(), T = w, p = _(), {
179
180
  value: f,
180
181
  updateValue: b
181
182
  } = Y(o, T), {
@@ -186,7 +187,7 @@ const de = /* @__PURE__ */ L({
186
187
  let t;
187
188
  const u = e(f), i = J(u) ? u : [u].filter(Boolean);
188
189
  if (!i.length)
189
- return d(g, null, [o.emptyText]);
190
+ return r(g, null, [o.emptyText]);
190
191
  const n = [], s = o.fieldNames?.label || "label", P = o.fieldNames?.value || "value";
191
192
  function h(a) {
192
193
  for (const l of a) {
@@ -195,16 +196,16 @@ const de = /* @__PURE__ */ L({
195
196
  l.children?.length && h(l.children);
196
197
  }
197
198
  }
198
- return h(e(c)), n.length ? n.length === 1 ? d("span", null, [n[0]]) : d($, {
199
+ return h(e(c)), n.length ? n.length === 1 ? r("span", null, [n[0]]) : r($, {
199
200
  size: 4
200
- }, x(t = n.map((a, l) => d(H, {
201
+ }, x(t = n.map((a, l) => r(H, {
201
202
  style: "margin-right: 0px",
202
203
  key: `${a}-${l}`
203
204
  }, x(a) ? a : {
204
205
  default: () => [a]
205
206
  }))) ? t : {
206
207
  default: () => [t]
207
- }) : d(g, null, [o.emptyText]);
208
+ }) : r(g, null, [o.emptyText]);
208
209
  });
209
210
  function V() {
210
211
  p.value?.focus?.();
@@ -219,9 +220,9 @@ const de = /* @__PURE__ */ L({
219
220
  request: y,
220
221
  focus: V,
221
222
  blur: k
222
- }), (t, u) => t.mode === "read" ? (v(), S(K(D.value), {
223
+ }), (t, u) => t.mode === "read" ? (S(), v(K(D.value), {
223
224
  key: 0
224
- })) : (v(), S(e(W), U({
225
+ })) : (S(), v(e(W), U({
225
226
  key: 1
226
227
  }, e(Q)(o, ["onUpdate:value", "value", "treeData", "loadData"]), {
227
228
  ref_key: "treeSelectRef",
@@ -238,7 +239,7 @@ const de = /* @__PURE__ */ L({
238
239
  fn: B((s) => [j(t.$slots, n, q(O(s || {})))])
239
240
  })), e(m) ? {
240
241
  name: "notFoundContent",
241
- fn: B(() => [d(e(G), {
242
+ fn: B(() => [r(e(G), {
242
243
  size: "small"
243
244
  })]),
244
245
  key: "0"
@@ -246,5 +247,5 @@ const de = /* @__PURE__ */ L({
246
247
  }
247
248
  });
248
249
  export {
249
- de as default
250
+ re as default
250
251
  };
@@ -27,6 +27,7 @@ const I = /* @__PURE__ */ g({
27
27
  "onUpdate:value": {},
28
28
  "onUpdate:treeExpandedKeys": {},
29
29
  "onUpdate:searchValue": {},
30
+ variant: {},
30
31
  value: {},
31
32
  children: {},
32
33
  listHeight: {},
@@ -71,6 +71,7 @@ declare function __VLS_template(): {
71
71
  readonly animation?: string | undefined;
72
72
  readonly children?: VueNode[] | undefined;
73
73
  readonly prefixCls?: string | undefined;
74
+ readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
74
75
  readonly loading?: boolean | undefined;
75
76
  readonly transitionName?: string | undefined;
76
77
  readonly autofocus?: boolean | undefined;
@@ -201,6 +202,10 @@ declare function __VLS_template(): {
201
202
  type: PropType<(value: string) => void>;
202
203
  default: (value: string) => void;
203
204
  };
205
+ variant: {
206
+ type: PropType<"filled" | "outlined" | "borderless" | "underlined">;
207
+ default: "filled" | "outlined" | "borderless" | "underlined";
208
+ };
204
209
  value: {
205
210
  type: PropType<any>;
206
211
  };
@@ -395,6 +400,7 @@ declare function __VLS_template(): {
395
400
  virtual: boolean;
396
401
  dropdownMatchSelectWidth: number | boolean;
397
402
  loading: boolean;
403
+ variant: "filled" | "outlined" | "borderless" | "underlined";
398
404
  bordered: boolean;
399
405
  status: "" | "error" | "warning";
400
406
  allowClear: boolean;
@@ -480,6 +486,10 @@ declare function __VLS_template(): {
480
486
  type: PropType<(value: string) => void>;
481
487
  default: (value: string) => void;
482
488
  };
489
+ variant: {
490
+ type: PropType<"filled" | "outlined" | "borderless" | "underlined">;
491
+ default: "filled" | "outlined" | "borderless" | "underlined";
492
+ };
483
493
  value: {
484
494
  type: PropType<any>;
485
495
  };
@@ -674,6 +684,7 @@ declare function __VLS_template(): {
674
684
  virtual: boolean;
675
685
  dropdownMatchSelectWidth: number | boolean;
676
686
  loading: boolean;
687
+ variant: "filled" | "outlined" | "borderless" | "underlined";
677
688
  bordered: boolean;
678
689
  status: "" | "error" | "warning";
679
690
  allowClear: boolean;
@@ -851,6 +862,7 @@ declare const __VLS_component: DefineComponent<ApFormItemTreeSelectProps, {
851
862
  readonly animation?: string | undefined;
852
863
  readonly children?: VueNode[] | undefined;
853
864
  readonly prefixCls?: string | undefined;
865
+ readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
854
866
  readonly loading?: boolean | undefined;
855
867
  readonly transitionName?: string | undefined;
856
868
  readonly autofocus?: boolean | undefined;
@@ -981,6 +993,10 @@ declare const __VLS_component: DefineComponent<ApFormItemTreeSelectProps, {
981
993
  type: PropType<(value: string) => void>;
982
994
  default: (value: string) => void;
983
995
  };
996
+ variant: {
997
+ type: PropType<"filled" | "outlined" | "borderless" | "underlined">;
998
+ default: "filled" | "outlined" | "borderless" | "underlined";
999
+ };
984
1000
  value: {
985
1001
  type: PropType<any>;
986
1002
  };
@@ -1175,6 +1191,7 @@ declare const __VLS_component: DefineComponent<ApFormItemTreeSelectProps, {
1175
1191
  virtual: boolean;
1176
1192
  dropdownMatchSelectWidth: number | boolean;
1177
1193
  loading: boolean;
1194
+ variant: "filled" | "outlined" | "borderless" | "underlined";
1178
1195
  bordered: boolean;
1179
1196
  status: "" | "error" | "warning";
1180
1197
  allowClear: boolean;
@@ -1260,6 +1277,10 @@ declare const __VLS_component: DefineComponent<ApFormItemTreeSelectProps, {
1260
1277
  type: PropType<(value: string) => void>;
1261
1278
  default: (value: string) => void;
1262
1279
  };
1280
+ variant: {
1281
+ type: PropType<"filled" | "outlined" | "borderless" | "underlined">;
1282
+ default: "filled" | "outlined" | "borderless" | "underlined";
1283
+ };
1263
1284
  value: {
1264
1285
  type: PropType<any>;
1265
1286
  };
@@ -1454,6 +1475,7 @@ declare const __VLS_component: DefineComponent<ApFormItemTreeSelectProps, {
1454
1475
  virtual: boolean;
1455
1476
  dropdownMatchSelectWidth: number | boolean;
1456
1477
  loading: boolean;
1478
+ variant: "filled" | "outlined" | "borderless" | "underlined";
1457
1479
  bordered: boolean;
1458
1480
  status: "" | "error" | "warning";
1459
1481
  allowClear: boolean;
@@ -2478,6 +2478,7 @@ export declare const apTableFormItemMap: {
2478
2478
  readonly animation?: string | undefined;
2479
2479
  readonly children?: VueNode[] | undefined;
2480
2480
  readonly prefixCls?: string | undefined;
2481
+ readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
2481
2482
  readonly loading?: boolean | undefined;
2482
2483
  readonly transitionName?: string | undefined;
2483
2484
  readonly autofocus?: boolean | undefined;
@@ -2608,6 +2609,10 @@ export declare const apTableFormItemMap: {
2608
2609
  type: PropType<(value: string) => void>;
2609
2610
  default: (value: string) => void;
2610
2611
  };
2612
+ variant: {
2613
+ type: PropType<"filled" | "outlined" | "borderless" | "underlined">;
2614
+ default: "filled" | "outlined" | "borderless" | "underlined";
2615
+ };
2611
2616
  value: {
2612
2617
  type: PropType<any>;
2613
2618
  };
@@ -2802,6 +2807,7 @@ export declare const apTableFormItemMap: {
2802
2807
  virtual: boolean;
2803
2808
  dropdownMatchSelectWidth: number | boolean;
2804
2809
  loading: boolean;
2810
+ variant: "filled" | "outlined" | "borderless" | "underlined";
2805
2811
  bordered: boolean;
2806
2812
  status: "" | "error" | "warning";
2807
2813
  allowClear: boolean;
@@ -2887,6 +2893,10 @@ export declare const apTableFormItemMap: {
2887
2893
  type: PropType<(value: string) => void>;
2888
2894
  default: (value: string) => void;
2889
2895
  };
2896
+ variant: {
2897
+ type: PropType<"filled" | "outlined" | "borderless" | "underlined">;
2898
+ default: "filled" | "outlined" | "borderless" | "underlined";
2899
+ };
2890
2900
  value: {
2891
2901
  type: PropType<any>;
2892
2902
  };
@@ -3081,6 +3091,7 @@ export declare const apTableFormItemMap: {
3081
3091
  virtual: boolean;
3082
3092
  dropdownMatchSelectWidth: number | boolean;
3083
3093
  loading: boolean;
3094
+ variant: "filled" | "outlined" | "borderless" | "underlined";
3084
3095
  bordered: boolean;
3085
3096
  status: "" | "error" | "warning";
3086
3097
  allowClear: boolean;