@aplus-frontend/ui 0.1.27 → 0.1.29

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 (61) hide show
  1. package/es/src/ap-download/ap-download.vue.d.ts +6 -2
  2. package/es/src/ap-download/ap-download.vue.mjs +48 -28
  3. package/es/src/ap-download/interface.d.ts +3 -2
  4. package/es/src/ap-download/style/ap-download.css +3 -0
  5. package/es/src/ap-field/date-range/index.vue.mjs +154 -109
  6. package/es/src/ap-field/interface.d.ts +4 -0
  7. package/es/src/ap-field/select/index.vue.mjs +67 -63
  8. package/es/src/ap-form/style/ap-form-item.css +2 -0
  9. package/es/src/ap-table/components/setting/modal/index.vue2.mjs +72 -97
  10. package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +37 -33
  11. package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +91 -87
  12. package/es/src/ap-table/components/setting/utils.d.ts +7 -1
  13. package/es/src/ap-table/components/setting/utils.mjs +37 -22
  14. package/es/src/ap-table/constants.d.ts +12 -0
  15. package/es/src/ap-table/hooks/use-table-column-state.d.ts +6 -2
  16. package/es/src/ap-table/hooks/use-table-column-state.mjs +101 -33
  17. package/es/src/ap-table/interface.d.ts +8 -1
  18. package/es/src/business/ap-attachment/ApAttachment.mjs +79 -59
  19. package/es/src/business/ap-attachment/interface.d.ts +1 -1
  20. package/es/src/business/ap-attachment/style.css +4 -0
  21. package/es/src/business/ap-input-radio/interface.d.ts +1 -1
  22. package/es/src/business/index.d.ts +0 -2
  23. package/es/src/editable-table/form-item.vue.d.ts +1 -0
  24. package/es/src/editable-table/form-item.vue.mjs +63 -59
  25. package/es/src/editable-table/index.vue.d.ts +1 -0
  26. package/es/src/editable-table/index.vue.mjs +77 -72
  27. package/es/src/editable-table/interface.d.ts +6 -0
  28. package/es/src/theme/ap-attachment/ap-attachment.css +4 -0
  29. package/es/src/theme/ap-download/ap-download.css +3 -0
  30. package/es/src/theme/ap-form/ap-form-item.css +2 -0
  31. package/lib/src/ap-download/ap-download.vue.d.ts +6 -2
  32. package/lib/src/ap-download/ap-download.vue.js +1 -1
  33. package/lib/src/ap-download/interface.d.ts +3 -2
  34. package/lib/src/ap-download/style/ap-download.css +3 -0
  35. package/lib/src/ap-field/date-range/index.vue.js +1 -1
  36. package/lib/src/ap-field/interface.d.ts +4 -0
  37. package/lib/src/ap-field/select/index.vue.js +1 -1
  38. package/lib/src/ap-form/style/ap-form-item.css +2 -0
  39. package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
  40. package/lib/src/ap-table/components/setting/select-group/index.vue2.js +1 -1
  41. package/lib/src/ap-table/components/setting/sorter/index.vue2.js +1 -1
  42. package/lib/src/ap-table/components/setting/utils.d.ts +7 -1
  43. package/lib/src/ap-table/components/setting/utils.js +1 -1
  44. package/lib/src/ap-table/constants.d.ts +12 -0
  45. package/lib/src/ap-table/hooks/use-table-column-state.d.ts +6 -2
  46. package/lib/src/ap-table/hooks/use-table-column-state.js +1 -1
  47. package/lib/src/ap-table/interface.d.ts +8 -1
  48. package/lib/src/business/ap-attachment/ApAttachment.js +1 -1
  49. package/lib/src/business/ap-attachment/interface.d.ts +1 -1
  50. package/lib/src/business/ap-attachment/style.css +4 -0
  51. package/lib/src/business/ap-input-radio/interface.d.ts +1 -1
  52. package/lib/src/business/index.d.ts +0 -2
  53. package/lib/src/editable-table/form-item.vue.d.ts +1 -0
  54. package/lib/src/editable-table/form-item.vue.js +1 -1
  55. package/lib/src/editable-table/index.vue.d.ts +1 -0
  56. package/lib/src/editable-table/index.vue.js +1 -1
  57. package/lib/src/editable-table/interface.d.ts +6 -0
  58. package/lib/src/theme/ap-attachment/ap-attachment.css +4 -0
  59. package/lib/src/theme/ap-download/ap-download.css +3 -0
  60. package/lib/src/theme/ap-form/ap-form-item.css +2 -0
  61. package/package.json +1 -1
@@ -1,85 +1,105 @@
1
- import { defineComponent as O, useSlots as T, computed as o, cloneVNode as P, unref as k, toRaw as u, createVNode as a, createTextVNode as S } from "vue";
2
- import { Tooltip as V, Popover as b } from "ant-design-vue";
1
+ import { defineComponent as S, ref as A, useSlots as V, computed as o, cloneVNode as z, unref as I, toRaw as f, createVNode as l, createTextVNode as M } from "vue";
2
+ import { Tooltip as U, Popover as _ } from "ant-design-vue";
3
3
  import "../../config-provider/index.mjs";
4
- import { ApAttachmentProps as z } from "./constans.mjs";
5
- import { getHexWithOpacity as I, getFileInfo as M } from "../../ap-download/utils/getFileInfo.mjs";
4
+ import { ApAttachmentProps as B } from "./constans.mjs";
5
+ import { getHexWithOpacity as G, getFileInfo as H } from "../../ap-download/utils/getFileInfo.mjs";
6
6
  import "./style.css";
7
- import { useOssInit as U } from "../../ap-download/hooks/index.mjs";
8
- import { isArray as _ } from "lodash-unified";
9
- import { useNamespace as B } from "../../config-provider/hooks/use-namespace.mjs";
10
- import { useGlobalConfig as v } from "../../config-provider/hooks/use-global-config.mjs";
11
- import { useLocale as G } from "../../config-provider/hooks/use-locale.mjs";
12
- const Y = /* @__PURE__ */ O({
7
+ import { useOssInit as R } from "../../ap-download/hooks/index.mjs";
8
+ import { isArray as W } from "lodash-unified";
9
+ import { LoadingOutlined as v } from "@ant-design/icons-vue";
10
+ import { useNamespace as j } from "../../config-provider/hooks/use-namespace.mjs";
11
+ import { useGlobalConfig as y } from "../../config-provider/hooks/use-global-config.mjs";
12
+ import { useLocale as q } from "../../config-provider/hooks/use-locale.mjs";
13
+ const at = /* @__PURE__ */ S({
13
14
  name: "ApAttachment",
14
- props: z(),
15
+ props: B(),
15
16
  setup(t) {
16
17
  const {
17
- b: p,
18
- e: l
19
- } = B("ap-attachment"), A = v("uiMode"), g = v("apUpload"), {
20
- lang: w,
21
- t: i
22
- } = G(), s = T(), C = o(() => w.value === "zh-cn" ? "zh_CN" : "en_US"), n = o(() => t.attachmentList.length === 1), d = o(() => t.attachmentList.length > 0 ? t.attachmentList[0].fileName : ""), L = o(() => n.value ? d.value : i("ap.apAttachment.downloadall")), f = o(() => t.color ? t.color : A.value === "aplus" ? "#0070FF" : "#1890FF"), N = o(() => ({
23
- width: n.value ? "auto" : "266px"
24
- })), h = o(() => ({
25
- "--download-main-color": f.value,
26
- "--download-main-color-opacity": I(f.value, 0.6)
27
- })), y = o(() => {
18
+ b: L,
19
+ e: a
20
+ } = j("ap-attachment"), w = y("uiMode"), C = y("apUpload"), {
21
+ lang: F,
22
+ t: r
23
+ } = q(), c = A(!1), s = A(""), m = V(), N = o(() => F.value === "zh-cn" ? "zh_CN" : "en_US"), u = o(() => t.attachmentList.length === 1), p = o(() => t.attachmentList.length > 0 ? t.attachmentList[0].fileName : ""), O = o(() => u.value ? p.value : r("ap.apAttachment.downloadall")), h = o(() => t.color ? t.color : w.value === "aplus" ? "#0070FF" : "#1890FF"), T = o(() => ({
24
+ width: u.value ? "auto" : "266px"
25
+ })), g = o(() => ({
26
+ "--download-main-color": h.value,
27
+ "--download-main-color-opacity": G(h.value, 0.6)
28
+ })), b = o(() => {
28
29
  var e;
29
- return t.getOssAccess || ((e = g.value) == null ? void 0 : e.getOssAccess);
30
- }), F = o(() => {
31
- const e = s.default ? s.default()[0] : null;
32
- return e ? P(e, {
30
+ return t.getOssAccess || ((e = C.value) == null ? void 0 : e.getOssAccess);
31
+ }), x = o(() => {
32
+ const e = m.default ? m.default()[0] : null;
33
+ return e ? z(e, {
33
34
  style: {
34
35
  "font-size": "16px"
35
36
  }
36
37
  }) : null;
37
- }), m = async (e) => {
38
+ }), d = async (e, i) => {
38
39
  if (!t.disabled) {
39
- const c = await U(y.value, k(C)), r = _(u(e)) ? u(e) : [u(e)];
40
- await c.downloadFile(M(t.needName, r));
40
+ c.value = !0, i && (s.value = i);
41
+ try {
42
+ const n = await R(b.value, I(N)), k = W(f(e)) ? f(e) : [f(e)];
43
+ await n.downloadFile(H(t.needName, k));
44
+ } catch (n) {
45
+ console.error(n);
46
+ } finally {
47
+ c.value = !1, s.value = "";
48
+ }
41
49
  }
42
- }, x = (e) => e && e.length > 0 ? a("ul", {
43
- class: [l("file-list")],
44
- style: h.value
45
- }, [e.map((c, r) => a("li", {
46
- key: r,
47
- class: [l("file-item")],
48
- onClick: () => m(c)
49
- }, [c.fileName])), a("li", {
50
- class: [l("down-load-all")],
51
- onClick: () => m(t.attachmentList)
52
- }, [i("ap.apAttachment.downloadall")])]) : null;
50
+ }, P = (e) => e && e.length > 0 ? l("ul", {
51
+ class: [a("file-list")],
52
+ style: g.value
53
+ }, [e.map((i, n) => l("li", {
54
+ key: n,
55
+ class: [a("file-item")],
56
+ onClick: () => d(i, n + 1)
57
+ }, [c.value && s.value === n + 1 ? l("span", {
58
+ class: [a("spin")]
59
+ }, [l(v, {
60
+ spin: !0
61
+ }, null)]) : null, i.fileName])), l("li", {
62
+ class: [a("down-load-all")],
63
+ onClick: () => d(t.attachmentList, "all")
64
+ }, [c.value && s.value === "all" ? l("span", {
65
+ class: [a("spin")]
66
+ }, [l(v, {
67
+ spin: !0
68
+ }, null)]) : null, r("ap.apAttachment.downloadall")])]) : null;
53
69
  return () => {
54
70
  var e;
55
- return ((e = t.attachmentList) == null ? void 0 : e.length) > 0 && a("div", {
56
- class: [p()],
57
- style: [N.value, h.value]
58
- }, [a(V, {
59
- title: L.value,
71
+ return ((e = t.attachmentList) == null ? void 0 : e.length) > 0 && l("div", {
72
+ class: [L()],
73
+ style: [T.value, g.value]
74
+ }, [l(U, {
75
+ title: O.value,
60
76
  placement: t.textToolTipPlacement,
61
77
  color: t.toolTipBgColor
62
78
  }, {
63
- default: () => [a("div", {
64
- class: [l("content")],
65
- onClick: () => m(n.value ? t.attachmentList[0] : t.attachmentList)
66
- }, [s.default ? a("div", {
67
- class: [l("text-render")]
68
- }, [F.value, S(" ")]) : null, a("div", {
69
- class: [l("text-inner")]
70
- }, [d.value])])]
71
- }), a(b, {
72
- content: x(t.attachmentList),
79
+ default: () => [l("div", {
80
+ class: [a("content")],
81
+ onClick: () => d(u.value ? t.attachmentList[0] : t.attachmentList, "global")
82
+ }, [c.value && s.value === "global" ? l("div", {
83
+ class: [a("spin")]
84
+ }, [l(v, {
85
+ spin: !0
86
+ }, null)]) : null, m.default ? l("div", {
87
+ class: [a("text-render")]
88
+ }, [x.value, M(" ")]) : null, l("div", {
89
+ class: [a("text-inner")]
90
+ }, [p.value])])]
91
+ }), l(_, {
92
+ content: P(t.attachmentList),
73
93
  placement: t.fileMorePopoverPlacement,
74
94
  color: "#fff"
75
95
  }, {
76
- default: () => [!n.value && a("div", {
77
- class: [l("more")]
78
- }, [i("ap.apAttachment.more")])]
96
+ default: () => [!u.value && l("div", {
97
+ class: [a("more")]
98
+ }, [r("ap.apAttachment.more")])]
79
99
  })]);
80
100
  };
81
101
  }
82
102
  });
83
103
  export {
84
- Y as default
104
+ at as default
85
105
  };
@@ -1,5 +1,5 @@
1
1
  import { ApDownLoadProps } from '../../ap-download/interface';
2
- import { TooltipPlacement } from 'ant-design-vue/es/Tooltip';
2
+ import { TooltipPlacement } from 'ant-design-vue/es/tooltip';
3
3
  export type AttachmentItemProps = {
4
4
  fileName: string;
5
5
  filePath: string;
@@ -13,6 +13,10 @@
13
13
  .aplus-ap-attachment__text-render:hover {
14
14
  color: var(--download-main-color-opacity);
15
15
  }
16
+ .aplus-ap-attachment__spin {
17
+ float: left;
18
+ margin-right: 5px;
19
+ }
16
20
  .aplus-ap-attachment__text-inner {
17
21
  max-width: 190px;
18
22
  display: inline-block;
@@ -1,7 +1,7 @@
1
1
  import { InputNumberProps } from 'ant-design-vue/es/input-number';
2
2
  type ApInputProps = Pick<InputNumberProps, 'disabled' | 'stringMode' | 'precision' | 'max' | 'min' | 'step' | 'bordered' | 'autofocus' | 'decimalSeparator' | 'controls' | 'formatter' | 'onInput' | 'onChange' | 'onPressEnter' | 'onStep' | 'onBlur' | 'onFocus'>;
3
3
  export type ApInputValType = {
4
- value: {
4
+ value?: {
5
5
  inputVal: string | number;
6
6
  radioVal: string | number;
7
7
  };
@@ -1110,7 +1110,6 @@ export declare const ApInputRadio: DefineComponent<{
1110
1110
  inputVal: string | number;
1111
1111
  radioVal: string | number;
1112
1112
  }>;
1113
- required: true;
1114
1113
  };
1115
1114
  disabled: {
1116
1115
  type: PropType<boolean>;
@@ -1194,7 +1193,6 @@ export declare const ApInputRadio: DefineComponent<{
1194
1193
  inputVal: string | number;
1195
1194
  radioVal: string | number;
1196
1195
  }>;
1197
- required: true;
1198
1196
  };
1199
1197
  disabled: {
1200
1198
  type: PropType<boolean>;
@@ -12,6 +12,7 @@ declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<type
12
12
  setRowData: (index: number, payload: any) => void;
13
13
  addMultiple: (list: number | Partial<RecordType>[], insetIn?: "prefix" | "suffix") => void;
14
14
  scrollTo: (index: number | "end", options?: StandardBehaviorOptions) => void;
15
+ setTableData: (nextTableData: RecordType[]) => void;
15
16
  }>): void;
16
17
  attrs: any;
17
18
  slots: Readonly<{
@@ -1,18 +1,18 @@
1
- import { defineComponent as M, ref as x, unref as a, useSlots as q, watch as G, openBlock as m, createBlock as y, mergeProps as C, withCtx as d, createVNode as b, createSlots as H, createElementBlock as I, normalizeClass as W, createCommentVNode as w, createElementVNode as $, toDisplayString as Q, normalizeStyle as U, renderList as J, renderSlot as X, normalizeProps as Y, guardReactiveProps as Z } from "vue";
2
- import { Table as ee, Tooltip as te } from "ant-design-vue";
1
+ import { defineComponent as q, ref as x, unref as a, useSlots as G, watch as H, openBlock as m, createBlock as y, mergeProps as C, withCtx as d, createVNode as b, createSlots as W, createElementBlock as $, normalizeClass as Q, createCommentVNode as w, createElementVNode as U, toDisplayString as I, normalizeStyle as J, renderList as X, renderSlot as Y, normalizeProps as Z, guardReactiveProps as ee } from "vue";
2
+ import { Table as te, Tooltip as oe } from "ant-design-vue";
3
3
  import { ApForm as R } from "../ap-form/index.mjs";
4
- import { isArray as oe, isNumber as i, cloneDeep as f, omit as ae } from "lodash-unified";
4
+ import { isArray as ae, isNumber as i, cloneDeep as f, omit as le } from "lodash-unified";
5
5
  import "../config-provider/index.mjs";
6
- import { useInjectForm as le } from "../ap-form/context.mjs";
6
+ import { useInjectForm as ne } from "../ap-form/context.mjs";
7
7
  import "./style/index.css";
8
- import { isDef as c } from "../utils/index.mjs";
9
- import ne from "./hooks/use-get-columns.mjs";
10
- import { scrollToRowIndex as re, getColumnIsRequired as se } from "./utils.mjs";
11
- import { QuestionCircleOutlined as ue } from "@ant-design/icons-vue";
12
- import { useToken as de } from "ant-design-vue/es/theme/internal";
13
- import { useNamespace as me } from "../config-provider/hooks/use-namespace.mjs";
14
- import { useGlobalConfig as ie } from "../config-provider/hooks/use-global-config.mjs";
15
- const Le = /* @__PURE__ */ M({
8
+ import { isDef as p } from "../utils/index.mjs";
9
+ import re from "./hooks/use-get-columns.mjs";
10
+ import { scrollToRowIndex as ue, getColumnIsRequired as se } from "./utils.mjs";
11
+ import { QuestionCircleOutlined as de } from "@ant-design/icons-vue";
12
+ import { useToken as me } from "ant-design-vue/es/theme/internal";
13
+ import { useNamespace as ie } from "../config-provider/hooks/use-namespace.mjs";
14
+ import { useGlobalConfig as fe } from "../config-provider/hooks/use-global-config.mjs";
15
+ const Fe = /* @__PURE__ */ q({
16
16
  name: "EditableTableInner",
17
17
  __name: "form-item",
18
18
  props: {
@@ -113,101 +113,105 @@ const Le = /* @__PURE__ */ M({
113
113
  }
114
114
  },
115
115
  setup(B, {
116
- expose: k
116
+ expose: D
117
117
  }) {
118
118
  const l = B;
119
- function D(e, t) {
120
- return oe(t) ? t.reduce((o, n) => o == null ? void 0 : o[n], e) : e == null ? void 0 : e[t];
119
+ function k(e, t) {
120
+ return ae(t) ? t.reduce((o, r) => o == null ? void 0 : o[r], e) : e == null ? void 0 : e[t];
121
121
  }
122
122
  const {
123
- internalInstance: r,
124
- model: L
125
- } = le(), s = x(D(a(L), l.name) || []), T = q(), E = R.useWatch(l.name);
126
- G(() => E.value, (e) => {
123
+ internalInstance: n,
124
+ model: T
125
+ } = ne(), u = x(k(a(T), l.name) || []), F = G(), L = R.useWatch(l.name);
126
+ H(() => L.value, (e) => {
127
127
  var t;
128
- s.value = e, (t = l.onChange) == null || t.call(l, e);
128
+ u.value = e, (t = l.onChange) == null || t.call(l, e);
129
129
  }, {
130
130
  deep: !0
131
131
  });
132
132
  const {
133
- b: F,
133
+ b: E,
134
134
  em: N
135
- } = me("editable-table"), p = x(), S = ie("valueTypeMap"), [, V] = de(), _ = ne(l, S);
135
+ } = ie("editable-table"), c = x(), S = fe("valueTypeMap"), [, V] = me(), _ = re(l, S);
136
136
  function v(e, t) {
137
- var u;
138
- const o = ((u = a(s)) == null ? void 0 : u.length) || 0;
139
- if (c(l.maxLength) && o >= l.maxLength)
137
+ var s;
138
+ const o = ((s = a(u)) == null ? void 0 : s.length) || 0;
139
+ if (p(l.maxLength) && o >= l.maxLength)
140
140
  return;
141
- const n = [...a(s) || []];
142
- c(t) ? n.splice(t, 0, {
141
+ const r = [...a(u) || []];
142
+ p(t) ? r.splice(t, 0, {
143
143
  ...e || {}
144
- }) : n.push({
144
+ }) : r.push({
145
145
  ...e || {}
146
- }), r == null || r.setFieldValue(l.name, n);
146
+ }), n == null || n.setFieldValue(l.name, r);
147
147
  }
148
148
  function z(e, t = "suffix") {
149
149
  var g;
150
- const o = ((g = a(s)) == null ? void 0 : g.length) || 0, n = i(e) ? e : e.length;
151
- if (c(l.maxLength) && o + n > l.maxLength)
150
+ const o = ((g = a(u)) == null ? void 0 : g.length) || 0, r = i(e) ? e : e.length;
151
+ if (p(l.maxLength) && o + r > l.maxLength)
152
152
  return;
153
- const u = [...a(s) || []], h = i(e) ? new Array(e).fill({}) : f(e);
154
- t === "suffix" ? u.push(...h) : u.unshift(...h), r == null || r.setFieldValue(l.name, u);
153
+ const s = [...a(u) || []], h = i(e) ? new Array(e).fill({}) : f(e);
154
+ t === "suffix" ? s.push(...h) : s.unshift(...h), n == null || n.setFieldValue(l.name, s);
155
155
  }
156
156
  function P(e) {
157
- let t = f(a(s) || []);
157
+ let t = f(a(u) || []);
158
158
  const o = i(e) ? [e] : e;
159
- t = t.filter((n, u) => !o.includes(u)), r == null || r.setFieldValue(l.name, t);
159
+ t = t.filter((r, s) => !o.includes(s)), n == null || n.setFieldValue(l.name, t);
160
160
  }
161
161
  function j() {
162
- return a(s);
162
+ return a(u);
163
163
  }
164
164
  function A(e) {
165
165
  var t;
166
- return (t = a(s)) == null ? void 0 : t[e];
166
+ return (t = a(u)) == null ? void 0 : t[e];
167
167
  }
168
168
  function O(e, t) {
169
- const o = f(a(s));
169
+ const o = f(a(u));
170
170
  o[e] && (o[e] = {
171
171
  ...o[e],
172
172
  ...t
173
- }, r == null || r.setFieldValue(l.name, [...o]));
173
+ }, n == null || n.setFieldValue(l.name, [...o]));
174
174
  }
175
- function K(e, t) {
176
- var n;
177
- const o = e === "end" ? s.value.length - 1 : e;
178
- re(o, (n = p.value) == null ? void 0 : n.$el, t);
175
+ function K(e) {
176
+ n == null || n.setFieldValue(l.name, e);
179
177
  }
180
- return k({
178
+ function M(e, t) {
179
+ var r;
180
+ const o = e === "end" ? u.value.length - 1 : e;
181
+ ue(o, (r = c.value) == null ? void 0 : r.$el, t);
182
+ }
183
+ return D({
181
184
  add: v,
182
185
  remove: P,
183
186
  getRowData: A,
184
187
  getRowsData: j,
185
188
  setRowData: O,
186
189
  addMultiple: z,
187
- scrollTo: K
190
+ scrollTo: M,
191
+ setTableData: K
188
192
  }), (e, t) => (m(), y(a(R).FormItem, C(e.formItem, {
189
193
  name: e.name,
190
194
  label: e.label
191
195
  }), {
192
- default: d(() => [b(a(ee), C(a(ae)(l, ["name", "maxLength", "onChange"]), {
193
- class: a(F)(),
196
+ default: d(() => [b(a(te), C(a(le)(l, ["name", "maxLength", "onChange"]), {
197
+ class: a(E)(),
194
198
  columns: a(_),
195
- "data-source": s.value,
199
+ "data-source": u.value,
196
200
  ref_key: "tableRef",
197
- ref: p
198
- }), H({
201
+ ref: c
202
+ }), W({
199
203
  headerCell: d(({
200
204
  column: o
201
- }) => [a(se)(o) ? (m(), I("span", {
205
+ }) => [a(se)(o) ? (m(), $("span", {
202
206
  key: 0,
203
- class: W(a(N)("header-cell", "required"))
204
- }, "*", 2)) : w("", !0), $("span", null, Q(o.title), 1), o.tooltip ? (m(), y(a(te), {
207
+ class: Q(a(N)("header-cell", "required"))
208
+ }, "*", 2)) : w("", !0), U("span", null, I(o.title), 1), o.tooltip ? (m(), y(a(oe), {
205
209
  key: 1,
206
210
  title: o.tooltip,
207
211
  placement: "bottom"
208
212
  }, {
209
- default: d(() => [b(a(ue), {
210
- style: U({
213
+ default: d(() => [b(a(de), {
214
+ style: J({
211
215
  paddingLeft: "4px",
212
216
  color: a(V).colorPrimary
213
217
  })
@@ -215,14 +219,14 @@ const Le = /* @__PURE__ */ M({
215
219
  _: 2
216
220
  }, 1032, ["title"])) : w("", !0)]),
217
221
  _: 2
218
- }, [J(T, (o, n) => ({
219
- name: n,
220
- fn: d((u) => [X(e.$slots, n, Y(Z(u || {})))])
222
+ }, [X(F, (o, r) => ({
223
+ name: r,
224
+ fn: d((s) => [Y(e.$slots, r, Z(ee(s || {})))])
221
225
  }))]), 1040, ["class", "columns", "data-source"])]),
222
226
  _: 3
223
227
  }, 16, ["name", "label"]));
224
228
  }
225
229
  });
226
230
  export {
227
- Le as default
231
+ Fe as default
228
232
  };
@@ -20,6 +20,7 @@ declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNu
20
20
  addMultiple: (list: number | Partial<RecordType>[], insetIn?: "prefix" | "suffix") => void;
21
21
  scrollTo: (index: number | "end", options?: StandardBehaviorOptions) => void;
22
22
  clear: () => void;
23
+ setTableData: (nextTableData: RecordType[]) => void;
23
24
  }>): void;
24
25
  attrs: any;
25
26
  slots: Readonly<{