@aplus-frontend/ui 0.0.1 → 0.0.3

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 (73) hide show
  1. package/es/src/ap-field/date/index.vue.d.ts +63 -5
  2. package/es/src/ap-field/date/index.vue.mjs +115 -46
  3. package/es/src/ap-field/date-range/index.vue.d.ts +68 -6
  4. package/es/src/ap-field/date-range/index.vue.mjs +135 -62
  5. package/es/src/ap-field/interface.d.ts +3 -7
  6. package/es/src/ap-field/select/index.vue.d.ts +45 -179
  7. package/es/src/ap-field/select/index.vue.mjs +137 -66
  8. package/es/src/ap-form/items/date/index.vue.mjs +27 -29
  9. package/es/src/ap-form/items/date-range/index.vue.d.ts +1 -1
  10. package/es/src/ap-form/items/date-range/index.vue.mjs +27 -29
  11. package/es/src/ap-form/items/interface.d.ts +1 -1
  12. package/es/src/ap-form/items/select/index.vue.mjs +32 -32
  13. package/es/src/ap-table/ap-table.vue.d.ts +7 -7
  14. package/es/src/ap-table/ap-table.vue.mjs +141 -117
  15. package/es/src/ap-table/constants.d.ts +3092 -1827
  16. package/es/src/ap-table/hooks/use-table-paging.mjs +23 -23
  17. package/es/src/ap-table/interface.d.ts +21 -13
  18. package/es/src/ap-table/utils.d.ts +47 -0
  19. package/es/src/ap-table/utils.mjs +68 -20
  20. package/es/src/ap-tag/style/ap-tag-group.css +1 -0
  21. package/es/src/ap-tag/style/ap-tag.css +1 -0
  22. package/es/src/pro-form/components/form-action.vue2.mjs +37 -35
  23. package/es/src/pro-form/hooks/use-advanced.mjs +45 -45
  24. package/es/src/pro-table/style/pro-table.css +3 -0
  25. package/es/src/theme/antd-global-overwrite/admin/button.css +0 -11
  26. package/es/src/theme/antd-global-overwrite/admin/index.css +35 -31
  27. package/es/src/theme/antd-global-overwrite/admin/table.css +35 -20
  28. package/es/src/theme/antd-global-overwrite/aplus/button.css +0 -11
  29. package/es/src/theme/antd-global-overwrite/aplus/index.css +35 -31
  30. package/es/src/theme/antd-global-overwrite/aplus/table.css +35 -20
  31. package/es/src/theme/ap-tag/ap-tag-group.css +1 -0
  32. package/es/src/theme/ap-tag/ap-tag.css +1 -0
  33. package/es/src/theme/pro-table/pro-table.css +3 -0
  34. package/es/src/utils/index.d.ts +8 -0
  35. package/es/src/utils/index.mjs +40 -32
  36. package/es/src/work-order-modal/work-order-modal.vue.mjs +6 -8
  37. package/lib/src/ap-field/date/index.vue.d.ts +63 -5
  38. package/lib/src/ap-field/date/index.vue.js +1 -1
  39. package/lib/src/ap-field/date-range/index.vue.d.ts +68 -6
  40. package/lib/src/ap-field/date-range/index.vue.js +1 -1
  41. package/lib/src/ap-field/interface.d.ts +3 -7
  42. package/lib/src/ap-field/select/index.vue.d.ts +45 -179
  43. package/lib/src/ap-field/select/index.vue.js +1 -1
  44. package/lib/src/ap-form/items/date/index.vue.js +1 -1
  45. package/lib/src/ap-form/items/date-range/index.vue.d.ts +1 -1
  46. package/lib/src/ap-form/items/date-range/index.vue.js +1 -1
  47. package/lib/src/ap-form/items/interface.d.ts +1 -1
  48. package/lib/src/ap-form/items/select/index.vue.js +1 -1
  49. package/lib/src/ap-table/ap-table.vue.d.ts +7 -7
  50. package/lib/src/ap-table/ap-table.vue.js +1 -1
  51. package/lib/src/ap-table/constants.d.ts +3092 -1827
  52. package/lib/src/ap-table/hooks/use-table-paging.js +1 -1
  53. package/lib/src/ap-table/interface.d.ts +21 -13
  54. package/lib/src/ap-table/utils.d.ts +47 -0
  55. package/lib/src/ap-table/utils.js +1 -1
  56. package/lib/src/ap-tag/style/ap-tag-group.css +1 -0
  57. package/lib/src/ap-tag/style/ap-tag.css +1 -0
  58. package/lib/src/pro-form/components/form-action.vue2.js +1 -1
  59. package/lib/src/pro-form/hooks/use-advanced.js +1 -1
  60. package/lib/src/pro-table/style/pro-table.css +3 -0
  61. package/lib/src/theme/antd-global-overwrite/admin/button.css +0 -11
  62. package/lib/src/theme/antd-global-overwrite/admin/index.css +35 -31
  63. package/lib/src/theme/antd-global-overwrite/admin/table.css +35 -20
  64. package/lib/src/theme/antd-global-overwrite/aplus/button.css +0 -11
  65. package/lib/src/theme/antd-global-overwrite/aplus/index.css +35 -31
  66. package/lib/src/theme/antd-global-overwrite/aplus/table.css +35 -20
  67. package/lib/src/theme/ap-tag/ap-tag-group.css +1 -0
  68. package/lib/src/theme/ap-tag/ap-tag.css +1 -0
  69. package/lib/src/theme/pro-table/pro-table.css +3 -0
  70. package/lib/src/utils/index.d.ts +8 -0
  71. package/lib/src/utils/index.js +1 -1
  72. package/lib/src/work-order-modal/work-order-modal.vue.js +1 -1
  73. package/package.json +3 -3
@@ -1,10 +1,10 @@
1
- import { defineComponent as b, ref as h, openBlock as B, createBlock as v, normalizeProps as s, guardReactiveProps as p, unref as l, withCtx as i, createVNode as y, mergeProps as g, createSlots as P, renderList as C, renderSlot as S } from "vue";
1
+ import { defineComponent as c, ref as m, computed as b, openBlock as h, createBlock as v, normalizeProps as r, guardReactiveProps as a, unref as s, withCtx as n, createVNode as B, createSlots as _, renderList as x, renderSlot as y } from "vue";
2
2
  import "../../ap-form-item.vue2.mjs";
3
3
  import "../../../ap-field/index.mjs";
4
- import { omit as f } from "lodash-unified";
5
- import _ from "../../ap-form-item.vue.mjs";
6
- import k from "../../../ap-field/select/index.vue.mjs";
7
- const z = /* @__PURE__ */ b({
4
+ import { isUndefined as g, omit as S } from "lodash-unified";
5
+ import C from "../../ap-form-item.vue.mjs";
6
+ import F from "../../../ap-field/select/index.vue.mjs";
7
+ const q = /* @__PURE__ */ c({
8
8
  name: "ApFormItemSelect",
9
9
  __name: "index",
10
10
  props: {
@@ -48,42 +48,42 @@ const z = /* @__PURE__ */ b({
48
48
  placeholder: {},
49
49
  disabled: { type: Boolean, default: !1 }
50
50
  },
51
- setup(n, { expose: u }) {
52
- const m = n, o = h();
53
- return u({
51
+ setup(p, { expose: i }) {
52
+ const o = p, t = m();
53
+ i({
54
54
  focus: () => {
55
55
  var e;
56
- (e = o.value) == null || e.focus();
56
+ (e = t.value) == null || e.focus();
57
57
  },
58
58
  blur: () => {
59
59
  var e;
60
- (e = o.value) == null || e.blur();
60
+ (e = t.value) == null || e.blur();
61
61
  }
62
- }), (e, $) => (B(), v(_, s(p(l(f)(m, ["field", "placeholder", "disabled"]))), {
63
- default: i(() => {
64
- var r, a, d;
65
- return [
66
- y(l(k), g(l(f)(e.field, ["fieldProps"]), {
67
- "field-props": {
68
- placeholder: e.placeholder,
69
- disabled: e.disabled,
70
- ...((r = e.field) == null ? void 0 : r.fieldProps) || {},
71
- bordered: e.bordered ? !1 : ((d = (a = e.field) == null ? void 0 : a.fieldProps) == null ? void 0 : d.bordered) || !1
72
- }
73
- }), P({ _: 2 }, [
74
- C(e.$slots, (w, t) => ({
75
- name: t,
76
- fn: i((c) => [
77
- S(e.$slots, t, s(p(c || {})))
78
- ])
79
- }))
80
- ]), 1040, ["field-props"])
81
- ];
82
- }),
62
+ });
63
+ const f = b(() => {
64
+ var e, l;
65
+ return {
66
+ placeholder: o.placeholder,
67
+ disabled: o.disabled,
68
+ ...o.field || {},
69
+ bordered: o.bordered ? !1 : g((e = o.field) == null ? void 0 : e.bordered) ? !0 : (l = o.field) == null ? void 0 : l.bordered
70
+ };
71
+ });
72
+ return (e, l) => (h(), v(C, r(a(s(S)(o, ["field", "placeholder", "disabled"]))), {
73
+ default: n(() => [
74
+ B(s(F), r(a(f.value)), _({ _: 2 }, [
75
+ x(e.$slots, ($, d) => ({
76
+ name: d,
77
+ fn: n((u) => [
78
+ y(e.$slots, d, r(a(u || {})))
79
+ ])
80
+ }))
81
+ ]), 1040)
82
+ ]),
83
83
  _: 3
84
84
  }, 16));
85
85
  }
86
86
  });
87
87
  export {
88
- z as default
88
+ q as default
89
89
  };
@@ -23,6 +23,11 @@ type ApTableSlots = {
23
23
  customFilterIcon?: any;
24
24
  customFilterDropdown?: any;
25
25
  };
26
+ /**
27
+ * 设置查询表单值
28
+ * @param fields
29
+ */
30
+ declare function setSearchFormValues(fields: any): void;
26
31
  declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApTableProps<any, any, "text">>, {
27
32
  bordered: boolean;
28
33
  childrenColumnName: string;
@@ -44,6 +49,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
44
49
  }>, {
45
50
  submit: () => void;
46
51
  reset: () => void;
52
+ setSearchFormValues: typeof setSearchFormValues;
47
53
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApTableProps<any, any, "text">>, {
48
54
  bordered: boolean;
49
55
  childrenColumnName: string;
@@ -139,13 +145,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
139
145
  builtinPlacements: {
140
146
  type: PropType<BuildInPlacements>;
141
147
  default: BuildInPlacements;
142
- }; /**
143
- * 获取需要在查询表单中显示的字段
144
- * 1. 在搜索表单中未隐藏
145
- * 2. 有dataIndex(映射到value)
146
- * 3. 有valueType 指定渲染的表单
147
- * 4. 没有在非表单组件名单中
148
- */
148
+ };
149
149
  children: ArrayConstructor;
150
150
  onVisibleChange: PropType<(vis: boolean) => void>;
151
151
  'onUpdate:visible': PropType<(vis: boolean) => void>;
@@ -1,17 +1,19 @@
1
- import { defineComponent as K, computed as d, createVNode as r, mergeProps as u, unref as t, openBlock as s, createElementBlock as f, normalizeClass as g, normalizeStyle as R, withCtx as c, Fragment as $, renderList as F, createBlock as H, resolveDynamicComponent as G, createCommentVNode as T, createElementVNode as B, renderSlot as P, createSlots as Q, toDisplayString as U, normalizeProps as J, guardReactiveProps as X } from "vue";
2
- import { Typography as Y, Table as Z, Tooltip as ee } from "ant-design-vue";
3
- import { ApForm as ae } from "../ap-form/index.mjs";
4
- import { apTableRenderItemMap as te, noRenderAsFormItemValueList as I, apTableFormItemMap as oe } from "./constants.mjs";
1
+ import { defineComponent as U, computed as u, createVNode as d, mergeProps as f, unref as n, watch as J, openBlock as i, createElementBlock as m, normalizeClass as b, normalizeStyle as T, withCtx as y, Fragment as X, renderList as B, createBlock as Y, resolveDynamicComponent as Z, createCommentVNode as I, createElementVNode as v, renderSlot as P, createSlots as ee, toDisplayString as ae, normalizeProps as te, guardReactiveProps as oe } from "vue";
2
+ import { Typography as ne, Table as le, Tooltip as re } from "ant-design-vue";
3
+ import { ApForm as de } from "../ap-form/index.mjs";
4
+ import { apTableRenderItemMap as se, noRenderAsFormItemValueList as k, apTableFormItemMap as ue } from "./constants.mjs";
5
5
  import "../config-provider/index.mjs";
6
- import { useTablePaging as ne } from "./hooks/use-table-paging.mjs";
7
- import { omit as v, isUndefined as le } from "lodash-unified";
6
+ import { useTablePaging as ie } from "./hooks/use-table-paging.mjs";
7
+ import { omit as O, isUndefined as pe } from "lodash-unified";
8
8
  import "./style/ap-table.css";
9
- import { QuestionCircleOutlined as re } from "@ant-design/icons-vue";
10
- import { useNamespace as de } from "../config-provider/hooks/use-namespace.mjs";
11
- import { useGlobalConfig as se } from "../config-provider/hooks/use-global-config.mjs";
12
- const ie = {
9
+ import { QuestionCircleOutlined as ce } from "@ant-design/icons-vue";
10
+ import { getFieldProps as z, getColumnOrder as E, getPlaceholder as fe } from "./utils.mjs";
11
+ import { useLocale as me } from "../config-provider/hooks/use-locale.mjs";
12
+ import { useNamespace as ye } from "../config-provider/hooks/use-namespace.mjs";
13
+ import { useGlobalConfig as ge } from "../config-provider/hooks/use-global-config.mjs";
14
+ const he = {
13
15
  key: 0
14
- }, we = /* @__PURE__ */ K({
16
+ }, Oe = /* @__PURE__ */ U({
15
17
  name: "ApTable",
16
18
  __name: "ap-table",
17
19
  props: {
@@ -120,148 +122,170 @@ const ie = {
120
122
  default: "middle"
121
123
  }
122
124
  },
123
- setup(k, {
124
- expose: z
125
+ setup(L, {
126
+ expose: N
125
127
  }) {
126
- const o = k, {
127
- e: h,
128
- b: m
129
- } = de("ap-table"), E = se("uiMode"), y = d(() => {
130
- var n;
131
- let a = ((n = o.columns) == null ? void 0 : n.filter((e) => !e.hideInTable)) || [];
132
- return a = a.map((e) => ({
133
- ...e,
128
+ const l = L, {
129
+ t: D
130
+ } = me(), {
131
+ e: C,
132
+ b: g
133
+ } = ye("ap-table"), V = ge("uiMode"), h = u(() => {
134
+ var o;
135
+ let e = ((o = l.columns) == null ? void 0 : o.filter((a) => !a.hideInTable)) || [];
136
+ return e = e.map((a) => ({
137
+ ...a,
134
138
  customRender({
135
- value: l,
136
- ...p
139
+ value: t,
140
+ ...r
137
141
  }) {
138
- var x;
139
- let b;
140
- if (e.customRender)
141
- b = e.customRender({
142
- value: l,
143
- ...p,
144
- column: e
142
+ let s;
143
+ if (a.customRender)
144
+ s = a.customRender({
145
+ value: t,
146
+ ...r,
147
+ column: a
145
148
  });
146
149
  else {
147
- const q = te[e.valueType || "text"], A = ((x = e.fieldProps) == null ? void 0 : x.field) || e.fieldProps || {}, M = e.valueType === "switch", V = e.valueType === "index", _ = M ? {
148
- checked: l
150
+ const R = se[a.valueType || "text"], c = z(a.fieldProps, {
151
+ value: t,
152
+ ...r
153
+ }), $ = (c == null ? void 0 : c.field) || c || {}, H = a.valueType === "switch", G = a.valueType === "index", Q = H ? {
154
+ checked: t
149
155
  } : {
150
- value: V ? p.index + 1 : l
156
+ value: G ? r.index + 1 : t
151
157
  };
152
- b = r(q, u(v(A, ["request"]), _, {
158
+ s = d(R, f(O($, ["request"]), Q, {
153
159
  mode: "read"
154
160
  }), null);
155
161
  }
156
- return W(e, l, b);
162
+ return _(a, t, s);
157
163
  }
158
- })), a;
159
- }), C = d(() => {
160
- var a, n;
161
- return ((n = (a = o.columns) == null ? void 0 : a.filter((e) => !e.hideInSearch && e.dataIndex && e.valueType && !I.includes(e.valueType))) == null ? void 0 : n.map((e) => ({
162
- ...e,
163
- fieldProps: {
164
- ...e.fieldProps || {},
165
- label: e.title,
166
- name: e.dataIndex
167
- }
168
- }))) || [];
169
- }), N = d(() => t(y).filter((a) => a.sorter === !0).map((a) => a.dataIndex)), D = d(() => t(y).filter((a) => a.filters && !a.onFilter).map((a) => a.dataIndex)), {
170
- formRef: L,
171
- submit: S,
172
- reset: w,
173
- tableProps: i,
174
- handleTableChange: O
175
- } = ne({
176
- async request(a) {
177
- var e, l;
178
- const n = await ((e = o.request) == null ? void 0 : e.call(o, a));
179
- return (l = o.onLoad) == null || l.call(o, (n == null ? void 0 : n.data) || []), {
180
- data: (n == null ? void 0 : n.data) || [],
181
- total: (n == null ? void 0 : n.total) || 0
164
+ })), e;
165
+ }), S = u(() => {
166
+ var e, o, a;
167
+ return ((a = (o = (e = l.columns) == null ? void 0 : e.filter((t) => !t.hideInSearch && t.dataIndex && (t.valueType || t.customRenderFormItem) && !k.includes(t.valueType))) == null ? void 0 : o.sort((t, r) => {
168
+ let s = E(t.order);
169
+ return E(r.order) - s;
170
+ })) == null ? void 0 : a.map((t) => {
171
+ const r = z(t.fieldProps);
172
+ return {
173
+ ...t,
174
+ fieldProps: {
175
+ ...r || {},
176
+ label: t.title,
177
+ name: t.dataIndex,
178
+ // 格式化placeholder
179
+ placeholder: fe(D, t.valueType, r == null ? void 0 : r.placeholder)
180
+ }
181
+ };
182
+ })) || [];
183
+ }), j = u(() => n(h).filter((e) => e.sorter === !0).map((e) => e.dataIndex)), W = u(() => n(h).filter((e) => e.filters && !e.onFilter).map((e) => e.dataIndex)), {
184
+ formRef: w,
185
+ submit: x,
186
+ reset: F,
187
+ tableProps: p,
188
+ handleTableChange: q,
189
+ data: A
190
+ } = ie({
191
+ async request(e) {
192
+ var a, t;
193
+ const o = await ((a = l.request) == null ? void 0 : a.call(l, e));
194
+ return (t = l.onLoad) == null || t.call(l, (o == null ? void 0 : o.data) || []), {
195
+ data: (o == null ? void 0 : o.data) || [],
196
+ total: (o == null ? void 0 : o.total) || 0
182
197
  };
183
198
  },
184
- filterFields: t(D),
185
- sortFields: t(N),
186
- defaultParams: o.params,
187
- defaultData: o.defaultData,
188
- manual: o.manual,
189
- defaultCurrent: o.pagination ? o.pagination.defaultCurrent : void 0,
190
- defaultPageSize: o.pagination ? o.pagination.defaultPageSize : void 0,
191
- formatParams: o.beforeSearchSubmit
192
- }), j = d(() => ({
193
- ...o,
194
- ...t(i),
195
- loading: le(o.loading) ? t(i).loading : o.loading,
196
- pagination: o.pagination === !1 ? !1 : t(i).pagination
199
+ filterFields: n(W),
200
+ sortFields: n(j),
201
+ defaultParams: l.params,
202
+ defaultData: l.defaultData,
203
+ manual: l.manual,
204
+ defaultCurrent: l.pagination ? l.pagination.defaultCurrent : void 0,
205
+ defaultPageSize: l.pagination ? l.pagination.defaultPageSize : void 0,
206
+ formatParams: l.beforeSearchSubmit
207
+ }), M = u(() => ({
208
+ ...l,
209
+ ...n(p),
210
+ loading: pe(l.loading) ? n(p).loading : l.loading,
211
+ pagination: l.pagination === !1 ? !1 : n(p).pagination
197
212
  }));
198
- function W(a, n, e) {
199
- return I.includes(a.valueType) ? e : a.copyable || a.ellipsis ? r(Y.Text, {
200
- copyable: a.copyable ? {
201
- text: n,
213
+ function _(e, o, a) {
214
+ return k.includes(e.valueType) ? a : e.copyable || e.ellipsis ? d(ne.Text, {
215
+ copyable: e.copyable ? {
216
+ text: o,
202
217
  tooltip: !1
203
218
  } : !1,
204
- ellipsis: a.ellipsis ? {
205
- tooltip: n
219
+ ellipsis: e.ellipsis ? {
220
+ tooltip: o
206
221
  } : !1,
207
- content: e
208
- }, null) : e;
222
+ content: a
223
+ }, null) : a;
224
+ }
225
+ J(() => n(A).loading, (e) => {
226
+ var o;
227
+ (o = l.onLoadingChange) == null || o.call(l, e);
228
+ });
229
+ function K(e) {
230
+ var o, a, t;
231
+ (t = (a = (o = w.value) == null ? void 0 : o.apForm) == null ? void 0 : a.setFieldsValue) == null || t.call(a, e);
209
232
  }
210
- return z({
211
- submit: () => S(),
212
- reset: () => w()
213
- }), (a, n) => (s(), f("div", {
214
- class: g(a.card ? null : t(m)("wrapper"))
215
- }, [a.searchForm !== !1 && C.value.length > 0 ? (s(), f("div", {
233
+ return N({
234
+ submit: () => x(),
235
+ reset: () => F(),
236
+ setSearchFormValues: K
237
+ }), (e, o) => (i(), m("div", {
238
+ class: b(e.card ? null : n(g)("wrapper"))
239
+ }, [e.searchForm !== !1 && S.value.length > 0 ? (i(), m("div", {
216
240
  key: 0,
217
- class: g(a.card ? t(h)("search-wrapper") : null),
218
- style: R(a.searchFormWrapperStyle)
219
- }, [r(t(ae).SearchForm, u(a.searchForm || {}, {
241
+ class: b(e.card ? n(C)("search-wrapper") : null),
242
+ style: T(e.searchFormWrapperStyle)
243
+ }, [d(n(de).SearchForm, f(e.searchForm || {}, {
220
244
  ref_key: "formRef",
221
- ref: L,
245
+ ref: w,
222
246
  "custom-reset": "",
223
- onSubmit: t(S),
224
- onReset: t(w),
225
- "submit-loading": t(i).loading
247
+ onSubmit: n(x),
248
+ onReset: n(F),
249
+ "submit-loading": n(p).loading
226
250
  }), {
227
- default: c(() => [(s(!0), f($, null, F(C.value, (e) => (s(), H(G(e.customRenderFormItem ? e.customRenderFormItem(e) : t(oe)[e.valueType || "text"]), u({
228
- key: e.dataIndex,
251
+ default: y(() => [(i(!0), m(X, null, B(S.value, (a) => (i(), Y(Z(a.customRenderFormItem ? a.customRenderFormItem(a) : n(ue)[a.valueType || "text"]), f({
252
+ key: a.dataIndex,
229
253
  ref_for: !0
230
- }, e.fieldProps || {}, {
231
- span: e.span
254
+ }, a.fieldProps || {}, {
255
+ span: a.span
232
256
  }), null, 16, ["span"]))), 128))]),
233
257
  _: 1
234
- }, 16, ["onSubmit", "onReset", "submit-loading"])], 6)) : T("", !0), B("div", {
235
- class: g(a.card ? t(h)("table-wrapper") : null),
236
- style: R(a.tableWrapperStyle)
237
- }, [P(a.$slots, "title"), r(t(Z), u({
238
- class: t(E) === "admin" ? t(m)("table-admin") : t(m)("table")
239
- }, j.value, {
240
- onChange: t(O),
241
- columns: y.value
242
- }), Q({
243
- headerCell: c(({
244
- column: e,
245
- title: l
246
- }) => [e.tooltip ? (s(), f("span", ie, [B("span", null, U(l), 1), r(t(ee), {
247
- title: e.tooltip,
258
+ }, 16, ["onSubmit", "onReset", "submit-loading"])], 6)) : I("", !0), v("div", {
259
+ class: b(e.card ? n(C)("table-wrapper") : null),
260
+ style: T(e.tableWrapperStyle)
261
+ }, [P(e.$slots, "title"), d(n(le), f({
262
+ class: n(V) === "admin" ? n(g)("table-admin") : n(g)("table")
263
+ }, M.value, {
264
+ onChange: n(q),
265
+ columns: h.value
266
+ }), ee({
267
+ headerCell: y(({
268
+ column: a,
269
+ title: t
270
+ }) => [a.tooltip ? (i(), m("span", he, [v("span", null, ae(t), 1), d(n(re), {
271
+ title: a.tooltip,
248
272
  placement: "bottom"
249
273
  }, {
250
- default: c(() => [r(t(re), {
274
+ default: y(() => [d(n(ce), {
251
275
  style: {
252
276
  color: "#0070ff",
253
277
  "padding-left": "4px"
254
278
  }
255
279
  })]),
256
280
  _: 2
257
- }, 1032, ["title"])])) : T("", !0)]),
281
+ }, 1032, ["title"])])) : I("", !0)]),
258
282
  _: 2
259
- }, [F(t(v)(a.$slots, "title"), (e, l) => ({
260
- name: l,
261
- fn: c((p) => [P(a.$slots, l, J(X(p || {})))])
283
+ }, [B(n(O)(e.$slots, "title"), (a, t) => ({
284
+ name: t,
285
+ fn: y((r) => [P(e.$slots, t, te(oe(r || {})))])
262
286
  }))]), 1040, ["class", "onChange", "columns"])], 6)], 2));
263
287
  }
264
288
  });
265
289
  export {
266
- we as default
290
+ Oe as default
267
291
  };