@aplus-frontend/ui 0.0.18 → 0.0.20

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 (115) hide show
  1. package/es/index.mjs +26 -23
  2. package/es/src/ap-field/date/index.vue.d.ts +3 -1
  3. package/es/src/ap-field/date-range/index.vue.d.ts +3 -3
  4. package/es/src/ap-field/date-range/index.vue.mjs +1 -1
  5. package/es/src/ap-field/interface.d.ts +1 -1
  6. package/es/src/ap-form/ap-form-item.vue.d.ts +2 -8
  7. package/es/src/ap-form/ap-form-item.vue.mjs +61 -57
  8. package/es/src/ap-form/constant.d.ts +4 -0
  9. package/es/src/ap-form/constant.mjs +4 -3
  10. package/es/src/ap-form/interface.d.ts +10 -0
  11. package/es/src/ap-form/items/checkbox/index.vue.d.ts +9 -2
  12. package/es/src/ap-form/items/checkbox/index.vue.mjs +20 -13
  13. package/es/src/ap-form/items/date/index.vue.d.ts +26 -14
  14. package/es/src/ap-form/items/date/index.vue.mjs +26 -18
  15. package/es/src/ap-form/items/date-range/index.vue.d.ts +24 -13
  16. package/es/src/ap-form/items/date-range/index.vue.mjs +27 -19
  17. package/es/src/ap-form/items/number/index.vue.d.ts +16 -9
  18. package/es/src/ap-form/items/number/index.vue.mjs +30 -22
  19. package/es/src/ap-form/items/radio/index.vue.d.ts +9 -2
  20. package/es/src/ap-form/items/radio/index.vue.mjs +21 -14
  21. package/es/src/ap-form/items/select/index.vue.d.ts +28 -15
  22. package/es/src/ap-form/items/select/index.vue.mjs +30 -22
  23. package/es/src/ap-form/items/switch/index.vue.d.ts +10 -6
  24. package/es/src/ap-form/items/switch/index.vue.mjs +25 -17
  25. package/es/src/ap-form/items/text/index.vue.d.ts +14 -8
  26. package/es/src/ap-form/items/text/index.vue2.mjs +32 -24
  27. package/es/src/ap-form/items/text/password.vue.d.ts +16 -9
  28. package/es/src/ap-form/items/text/password.vue.mjs +29 -21
  29. package/es/src/ap-form/items/text-area/index.vue.d.ts +9 -2
  30. package/es/src/ap-form/items/text-area/index.vue.mjs +24 -17
  31. package/es/src/ap-form/search-form/index.vue.mjs +1 -1
  32. package/es/src/ap-form/style/ap-form-item.css +11 -0
  33. package/es/src/ap-modal/index.d.ts +9 -0
  34. package/es/src/ap-modal/index.mjs +10 -0
  35. package/es/src/ap-modal/type.d.ts +13 -0
  36. package/es/src/ap-modal/type.mjs +1 -0
  37. package/es/src/ap-modal/utils/createModal.d.ts +3 -0
  38. package/es/src/ap-modal/utils/createModal.mjs +74 -0
  39. package/es/src/ap-modal/utils/index.d.ts +1 -0
  40. package/es/src/ap-modal/utils/index.mjs +4 -0
  41. package/es/src/ap-table/ap-table.vue.mjs +135 -124
  42. package/es/src/ap-table/constants.d.ts +2716 -1475
  43. package/es/src/ap-table/interface.d.ts +4 -0
  44. package/es/src/ap-table/style/ap-table.css +1 -0
  45. package/es/src/business/expandAlert/ApExpandAlert.vue.d.ts +81 -0
  46. package/es/src/business/expandAlert/ApExpandAlert.vue.mjs +4 -0
  47. package/es/src/business/expandAlert/ApExpandAlert.vue2.mjs +113 -0
  48. package/es/src/business/expandAlert/interface.d.ts +26 -0
  49. package/es/src/business/expandAlert/style.css +42 -0
  50. package/es/src/business/index.d.ts +161 -1
  51. package/es/src/business/index.mjs +7 -4
  52. package/es/src/index.d.ts +1 -0
  53. package/es/src/index.mjs +194 -191
  54. package/es/src/theme/ap-expand-alert/ap-expand-alert.css +42 -0
  55. package/es/src/theme/ap-form/ap-form-item.css +11 -0
  56. package/es/src/theme/ap-table/ap-table.css +1 -0
  57. package/es/src/type.d.ts +3 -1
  58. package/lib/index.js +1 -1
  59. package/lib/src/ap-field/date/index.vue.d.ts +3 -1
  60. package/lib/src/ap-field/date-range/index.vue.d.ts +3 -3
  61. package/lib/src/ap-field/date-range/index.vue.js +1 -1
  62. package/lib/src/ap-field/interface.d.ts +1 -1
  63. package/lib/src/ap-form/ap-form-item.vue.d.ts +2 -8
  64. package/lib/src/ap-form/ap-form-item.vue.js +1 -1
  65. package/lib/src/ap-form/constant.d.ts +4 -0
  66. package/lib/src/ap-form/constant.js +1 -1
  67. package/lib/src/ap-form/interface.d.ts +10 -0
  68. package/lib/src/ap-form/items/checkbox/index.vue.d.ts +9 -2
  69. package/lib/src/ap-form/items/checkbox/index.vue.js +1 -1
  70. package/lib/src/ap-form/items/date/index.vue.d.ts +26 -14
  71. package/lib/src/ap-form/items/date/index.vue.js +1 -1
  72. package/lib/src/ap-form/items/date-range/index.vue.d.ts +24 -13
  73. package/lib/src/ap-form/items/date-range/index.vue.js +1 -1
  74. package/lib/src/ap-form/items/number/index.vue.d.ts +16 -9
  75. package/lib/src/ap-form/items/number/index.vue.js +1 -1
  76. package/lib/src/ap-form/items/radio/index.vue.d.ts +9 -2
  77. package/lib/src/ap-form/items/radio/index.vue.js +1 -1
  78. package/lib/src/ap-form/items/select/index.vue.d.ts +28 -15
  79. package/lib/src/ap-form/items/select/index.vue.js +1 -1
  80. package/lib/src/ap-form/items/switch/index.vue.d.ts +10 -6
  81. package/lib/src/ap-form/items/switch/index.vue.js +1 -1
  82. package/lib/src/ap-form/items/text/index.vue.d.ts +14 -8
  83. package/lib/src/ap-form/items/text/index.vue2.js +1 -1
  84. package/lib/src/ap-form/items/text/password.vue.d.ts +16 -9
  85. package/lib/src/ap-form/items/text/password.vue.js +1 -1
  86. package/lib/src/ap-form/items/text-area/index.vue.d.ts +9 -2
  87. package/lib/src/ap-form/items/text-area/index.vue.js +1 -1
  88. package/lib/src/ap-form/search-form/index.vue.js +1 -1
  89. package/lib/src/ap-form/style/ap-form-item.css +11 -0
  90. package/lib/src/ap-modal/index.d.ts +9 -0
  91. package/lib/src/ap-modal/index.js +1 -0
  92. package/lib/src/ap-modal/type.d.ts +13 -0
  93. package/lib/src/ap-modal/type.js +1 -0
  94. package/lib/src/ap-modal/utils/createModal.d.ts +3 -0
  95. package/lib/src/ap-modal/utils/createModal.js +1 -0
  96. package/lib/src/ap-modal/utils/index.d.ts +1 -0
  97. package/lib/src/ap-modal/utils/index.js +1 -0
  98. package/lib/src/ap-table/ap-table.vue.js +1 -1
  99. package/lib/src/ap-table/constants.d.ts +2716 -1475
  100. package/lib/src/ap-table/interface.d.ts +4 -0
  101. package/lib/src/ap-table/style/ap-table.css +1 -0
  102. package/lib/src/business/expandAlert/ApExpandAlert.vue.d.ts +81 -0
  103. package/lib/src/business/expandAlert/ApExpandAlert.vue.js +1 -0
  104. package/lib/src/business/expandAlert/ApExpandAlert.vue2.js +1 -0
  105. package/lib/src/business/expandAlert/interface.d.ts +26 -0
  106. package/lib/src/business/expandAlert/style.css +42 -0
  107. package/lib/src/business/index.d.ts +161 -1
  108. package/lib/src/business/index.js +1 -1
  109. package/lib/src/index.d.ts +1 -0
  110. package/lib/src/index.js +1 -1
  111. package/lib/src/theme/ap-expand-alert/ap-expand-alert.css +42 -0
  112. package/lib/src/theme/ap-form/ap-form-item.css +11 -0
  113. package/lib/src/theme/ap-table/ap-table.css +1 -0
  114. package/lib/src/type.d.ts +3 -1
  115. package/package.json +2 -2
@@ -1,21 +1,21 @@
1
- import { defineComponent as Y, useSlots as Z, computed as d, createVNode as s, mergeProps as m, unref as l, watch as ee, openBlock as i, createElementBlock as f, normalizeClass as S, normalizeStyle as x, createSlots as I, withCtx as p, Fragment as ae, renderList as k, createBlock as te, resolveDynamicComponent as oe, renderSlot as R, createCommentVNode as E, createElementVNode as O, toDisplayString as re, normalizeProps as le, guardReactiveProps as ne } from "vue";
2
- import { Typography as de, Table as se, Tooltip as ue } from "ant-design-vue";
3
- import { useToken as ie } from "ant-design-vue/es/theme/internal";
4
- import { ApForm as pe } from "../ap-form/index.mjs";
5
- import { apTableRenderItemMap as ce, noRenderAsFormItemValueList as L, apTableFormItemMap as me } from "./constants.mjs";
1
+ import { defineComponent as Z, useSlots as ee, computed as d, createVNode as s, mergeProps as m, unref as n, watch as ae, openBlock as i, createElementBlock as f, normalizeClass as F, normalizeStyle as R, createSlots as k, withCtx as p, Fragment as te, renderList as E, createBlock as oe, resolveDynamicComponent as re, renderSlot as x, createCommentVNode as O, createElementVNode as L, toDisplayString as ne, normalizeProps as le, guardReactiveProps as de } from "vue";
2
+ import { Typography as se, Table as ue, Tooltip as ie } from "ant-design-vue";
3
+ import { useToken as pe } from "ant-design-vue/es/theme/internal";
4
+ import { ApForm as ce } from "../ap-form/index.mjs";
5
+ import { apTableRenderItemMap as me, noRenderAsFormItemValueList as z, apTableFormItemMap as fe } from "./constants.mjs";
6
6
  import "../config-provider/index.mjs";
7
- import { useTablePaging as fe } from "./hooks/use-table-paging.mjs";
8
- import { isUndefined as ge, omit as ye } from "lodash-unified";
7
+ import { useTablePaging as ge } from "./hooks/use-table-paging.mjs";
8
+ import { isUndefined as T, omit as ye } from "lodash-unified";
9
9
  import "./style/ap-table.css";
10
10
  import { QuestionCircleOutlined as he } from "@ant-design/icons-vue";
11
- import { apColumnToColumn as be, getTableRenderType as Ce, getTableRenderProps as Fe, getColumnOrder as z, updateFormProps as Se, getFieldProps as xe, getPlaceholder as Re } from "./utils.mjs";
12
- import we from "./hooks/use-table-content-height.mjs";
13
- import { useLocale as Te } from "../config-provider/hooks/use-locale.mjs";
11
+ import { apColumnToColumn as be, getTableRenderType as Ce, getTableRenderProps as Se, getColumnOrder as N, updateFormProps as Fe, getFieldProps as Re, getPlaceholder as xe } from "./utils.mjs";
12
+ import Te from "./hooks/use-table-content-height.mjs";
13
+ import { useLocale as we } from "../config-provider/hooks/use-locale.mjs";
14
14
  import { useNamespace as Be } from "../config-provider/hooks/use-namespace.mjs";
15
- import { useGlobalConfig as ve } from "../config-provider/hooks/use-global-config.mjs";
16
- const Pe = {
15
+ import { useGlobalConfig as Pe } from "../config-provider/hooks/use-global-config.mjs";
16
+ const ve = {
17
17
  key: 0
18
- }, He = /* @__PURE__ */ Y({
18
+ }, He = /* @__PURE__ */ Z({
19
19
  name: "ApTable",
20
20
  __name: "ap-table",
21
21
  props: {
@@ -104,6 +104,7 @@ const Pe = {
104
104
  request: {},
105
105
  onLoad: {},
106
106
  defaultData: {},
107
+ dataSource: {},
107
108
  onLoadingChange: {},
108
109
  searchForm: {
109
110
  type: [Boolean, Object],
@@ -128,140 +129,150 @@ const Pe = {
128
129
  default: !1
129
130
  }
130
131
  },
131
- setup(N, {
132
- expose: V
132
+ setup(V, {
133
+ expose: D
133
134
  }) {
134
- const r = N, w = Z(), [, D] = ie(), {
135
- t: W
136
- } = Te(), {
135
+ const t = V, w = ee(), [, W] = pe(), {
136
+ t: j
137
+ } = we(), {
137
138
  e: g,
138
139
  b: u
139
- } = Be("ap-table"), _ = ve("uiMode", "aplus"), {
140
- height: j,
141
- contentRef: A
142
- } = we(), y = d(() => {
143
- var t;
144
- let e = ((t = r.columns) == null ? void 0 : t.filter((a) => !a.hideInTable)) || [];
140
+ } = Be("ap-table"), _ = Pe("uiMode", "aplus"), {
141
+ height: A,
142
+ contentRef: M
143
+ } = Te(), y = d(() => {
144
+ var o;
145
+ let e = ((o = t.columns) == null ? void 0 : o.filter((a) => !a.hideInTable)) || [];
145
146
  return e = e.map((a) => ({
146
147
  ...be(a),
147
148
  customRender({
148
- value: o,
149
- ...n
149
+ value: r,
150
+ ...l
150
151
  }) {
151
- const C = Ce(a), P = ce[C], X = Fe(a, {
152
- value: o,
153
- ...n
152
+ const C = Ce(a), I = me[C], Y = Se(a, {
153
+ value: r,
154
+ ...l
154
155
  });
155
- let F = Q(a, o, s(P, m(X, {
156
+ let S = U(a, r, s(I, m(Y, {
156
157
  mode: "read"
157
158
  }), null));
158
- return a.customRender && (F = a.customRender({
159
- value: o,
160
- ...n,
159
+ return a.customRender && (S = a.customRender({
160
+ value: r,
161
+ ...l,
161
162
  column: a,
162
- originalNode: F
163
- })), F;
163
+ originalNode: S
164
+ })), S;
164
165
  }
165
166
  })), e;
166
- }), T = d(() => {
167
- var e, t, a;
168
- return ((a = (t = (e = r.columns) == null ? void 0 : e.filter((o) => !o.hideInSearch && o.dataIndex && (o.valueType || o.customRenderFormItem) && !L.includes(o.valueType))) == null ? void 0 : t.sort((o, n) => {
169
- let C = z(o.order);
170
- return z(n.order) - C;
171
- })) == null ? void 0 : a.map((o) => {
172
- const n = Se(o, xe(o.fieldProps, {}));
167
+ }), B = d(() => {
168
+ var e, o, a;
169
+ return ((a = (o = (e = t.columns) == null ? void 0 : e.filter((r) => !r.hideInSearch && r.dataIndex && (r.valueType || r.customRenderFormItem) && !z.includes(r.valueType))) == null ? void 0 : o.sort((r, l) => {
170
+ let C = N(r.order);
171
+ return N(l.order) - C;
172
+ })) == null ? void 0 : a.map((r) => {
173
+ const l = Fe(r, Re(r.fieldProps, {}));
173
174
  return {
174
- ...o,
175
+ ...r,
175
176
  fieldProps: {
176
- label: o.title,
177
- name: o.dataIndex,
178
- ...n || {},
177
+ label: r.title,
178
+ name: r.dataIndex,
179
+ ...l || {},
179
180
  // 格式化placeholder
180
- placeholder: Re(W, o.valueType, n == null ? void 0 : n.placeholder)
181
+ placeholder: xe(j, r.valueType, l == null ? void 0 : l.placeholder)
181
182
  }
182
183
  };
183
184
  })) || [];
184
- }), M = d(() => l(y).filter((e) => e.sorter === !0).map((e) => e.dataIndex)), q = d(() => l(y).filter((e) => e.filters && !e.onFilter).map((e) => e.dataIndex)), {
185
+ }), q = d(() => n(y).filter((e) => e.sorter === !0).map((e) => e.dataIndex)), H = d(() => n(y).filter((e) => e.filters && !e.onFilter).map((e) => e.dataIndex)), {
185
186
  formRef: h,
186
- submit: B,
187
+ submit: P,
187
188
  reset: v,
188
189
  tableProps: c,
189
- handleTableChange: H,
190
+ handleTableChange: K,
190
191
  data: b
191
- } = fe({
192
+ } = ge({
192
193
  async request(e) {
193
- var a, o;
194
- const t = await ((a = r.request) == null ? void 0 : a.call(r, e));
195
- return (o = r.onLoad) == null || o.call(r, (t == null ? void 0 : t.data) || []), {
196
- data: (t == null ? void 0 : t.data) || [],
197
- total: (t == null ? void 0 : t.total) || 0
194
+ var a, r;
195
+ const o = await ((a = t.request) == null ? void 0 : a.call(t, e));
196
+ return (r = t.onLoad) == null || r.call(t, (o == null ? void 0 : o.data) || []), {
197
+ data: (o == null ? void 0 : o.data) || [],
198
+ total: (o == null ? void 0 : o.total) || 0
198
199
  };
199
200
  },
200
- filterFields: l(q),
201
- sortFields: l(M),
202
- defaultParams: r.params,
203
- defaultData: r.defaultData,
204
- manual: r.manual,
205
- defaultCurrent: r.pagination ? r.pagination.defaultCurrent : void 0,
206
- defaultPageSize: r.pagination ? r.pagination.defaultPageSize : void 0,
207
- formatParams: r.beforeSearchSubmit
208
- }), K = d(() => r.scroll ? r.scroll : r.adaptive && b.value.total > 0 ? {
209
- y: l(j),
210
- x: "100%"
211
- } : {
212
- x: !0
213
- }), $ = d(() => ({
214
- ...r,
215
- ...l(c),
216
- loading: ge(r.loading) ? l(c).loading : r.loading,
217
- pagination: r.pagination === !1 ? !1 : l(c).pagination,
218
- scroll: l(K)
219
- })), G = d(() => [u(), r.card ? null : u("wrapper"), r.adaptive ? u("adaptive") : null].filter(Boolean));
220
- function Q(e, t, a) {
221
- return L.includes(e.valueType) ? a : e.copyable || e.ellipsis ? s(de.Text, {
201
+ filterFields: n(H),
202
+ sortFields: n(q),
203
+ defaultParams: t.params,
204
+ defaultData: t.defaultData,
205
+ manual: t.manual,
206
+ defaultCurrent: t.pagination ? t.pagination.defaultCurrent : void 0,
207
+ defaultPageSize: t.pagination ? t.pagination.defaultPageSize : void 0,
208
+ formatParams: t.beforeSearchSubmit
209
+ }), $ = d(() => {
210
+ var e;
211
+ return t.scroll ? t.scroll : t.adaptive && (b.value.total > 0 || (e = t.dataSource) != null && e.length) ? {
212
+ y: n(A),
213
+ x: "100%"
214
+ } : {
215
+ x: !0
216
+ };
217
+ }), G = d(() => {
218
+ const e = n(c), o = T(t.dataSource) ? e : {
219
+ ...e,
220
+ dataSource: t.dataSource,
221
+ onChange: t.onChange
222
+ };
223
+ return {
224
+ ...t,
225
+ ...o,
226
+ loading: T(t.loading) ? n(c).loading : t.loading,
227
+ pagination: t.pagination === !1 ? !1 : n(c).pagination,
228
+ scroll: n($)
229
+ };
230
+ }), Q = d(() => [u(), t.card ? null : u("wrapper"), t.adaptive ? u("adaptive") : null].filter(Boolean));
231
+ function U(e, o, a) {
232
+ return z.includes(e.valueType) ? a : e.copyable || e.ellipsis ? s(se.Text, {
222
233
  copyable: e.copyable ? {
223
- text: t,
234
+ text: o,
224
235
  tooltip: !1
225
236
  } : !1,
226
237
  ellipsis: e.ellipsis ? {
227
- tooltip: t
238
+ tooltip: o
228
239
  } : !1,
229
240
  content: a
230
241
  }, null) : a;
231
242
  }
232
- ee(() => l(b).loading, (e) => {
233
- var t;
234
- (t = r.onLoadingChange) == null || t.call(r, e);
243
+ ae(() => n(b).loading, (e) => {
244
+ var o;
245
+ (o = t.onLoadingChange) == null || o.call(t, e);
235
246
  });
236
- function U(e) {
237
- var t, a, o;
238
- (o = (a = (t = h.value) == null ? void 0 : t.apForm) == null ? void 0 : a.setFieldsValue) == null || o.call(a, e);
247
+ function J(e) {
248
+ var o, a, r;
249
+ (r = (a = (o = h.value) == null ? void 0 : o.apForm) == null ? void 0 : a.setFieldsValue) == null || r.call(a, e);
239
250
  }
240
- function J() {
241
- var e, t, a;
242
- return (a = (t = (e = h.value) == null ? void 0 : e.apForm) == null ? void 0 : t.getFieldsValue) == null ? void 0 : a.call(t, !0);
251
+ function X() {
252
+ var e, o, a;
253
+ return (a = (o = (e = h.value) == null ? void 0 : e.apForm) == null ? void 0 : o.getFieldsValue) == null ? void 0 : a.call(o, !0);
243
254
  }
244
- return V({
245
- submit: () => B(),
255
+ return D({
256
+ submit: () => P(),
246
257
  reset: () => v(),
247
- setSearchFormValues: U,
248
- getSearchFormValues: J,
249
- dataSource: d(() => l(b).records)
250
- }), (e, t) => (i(), f("div", {
251
- class: S(G.value)
252
- }, [e.searchForm !== !1 && T.value.length > 0 ? (i(), f("div", {
258
+ setSearchFormValues: J,
259
+ getSearchFormValues: X,
260
+ dataSource: d(() => n(b).records)
261
+ }), (e, o) => (i(), f("div", {
262
+ class: F(Q.value)
263
+ }, [n(T)(e.dataSource) && e.searchForm !== !1 && B.value.length > 0 ? (i(), f("div", {
253
264
  key: 0,
254
- class: S(e.card ? l(g)("search-wrapper") : null),
255
- style: x(e.searchFormWrapperStyle)
256
- }, [s(l(pe).SearchForm, m(e.searchForm || {}, {
265
+ class: F(e.card ? n(g)("search-wrapper") : null),
266
+ style: R(e.searchFormWrapperStyle)
267
+ }, [s(n(ce).SearchForm, m(e.searchForm || {}, {
257
268
  ref_key: "formRef",
258
269
  ref: h,
259
270
  "custom-reset": "",
260
- onSubmit: l(B),
261
- onReset: l(v),
262
- "submit-loading": l(c).loading
263
- }), I({
264
- default: p(() => [(i(!0), f(ae, null, k(T.value, (a) => (i(), te(oe(a.customRenderFormItem ? a.customRenderFormItem(a) : l(me)[a.valueType || "text"]), m({
271
+ onSubmit: n(P),
272
+ onReset: n(v),
273
+ "submit-loading": n(c).loading
274
+ }), k({
275
+ default: p(() => [(i(!0), f(te, null, E(B.value, (a) => (i(), oe(re(a.customRenderFormItem ? a.customRenderFormItem(a) : n(fe)[a.valueType || "text"]), m({
265
276
  key: a.dataIndex,
266
277
  ref_for: !0
267
278
  }, a.fieldProps || {}, {
@@ -270,38 +281,38 @@ const Pe = {
270
281
  _: 2
271
282
  }, [w.searchFormExtra ? {
272
283
  name: "extra",
273
- fn: p(() => [R(e.$slots, "searchFormExtra")]),
284
+ fn: p(() => [x(e.$slots, "searchFormExtra")]),
274
285
  key: "0"
275
- } : void 0]), 1040, ["onSubmit", "onReset", "submit-loading"])], 6)) : E("", !0), O("div", {
286
+ } : void 0]), 1040, ["onSubmit", "onReset", "submit-loading"])], 6)) : O("", !0), L("div", {
276
287
  ref_key: "contentRef",
277
- ref: A,
278
- class: S([l(g)("table-wrapper"), e.card ? l(g)("table-wrapper-card") : null]),
279
- style: x(e.tableWrapperStyle)
280
- }, [R(e.$slots, "title"), s(l(se), m({
281
- class: l(_) === "admin" ? l(u)("table-admin") : l(u)("table")
282
- }, $.value, {
283
- onChange: l(H),
288
+ ref: M,
289
+ class: F([n(g)("table-wrapper"), e.card ? n(g)("table-wrapper-card") : null]),
290
+ style: R(e.tableWrapperStyle)
291
+ }, [x(e.$slots, "title"), s(n(ue), m({
292
+ class: n(_) === "admin" ? n(u)("table-admin") : n(u)("table")
293
+ }, G.value, {
294
+ onChange: n(K),
284
295
  columns: y.value
285
- }), I({
296
+ }), k({
286
297
  headerCell: p(({
287
298
  column: a,
288
- title: o
289
- }) => [a.tooltip ? (i(), f("span", Pe, [O("span", null, re(o), 1), s(l(ue), {
299
+ title: r
300
+ }) => [a.tooltip ? (i(), f("span", ve, [L("span", null, ne(r), 1), s(n(ie), {
290
301
  title: a.tooltip,
291
302
  placement: "bottom"
292
303
  }, {
293
- default: p(() => [s(l(he), {
294
- style: x({
304
+ default: p(() => [s(n(he), {
305
+ style: R({
295
306
  paddingLeft: "4px",
296
- color: l(D).colorPrimary
307
+ color: n(W).colorPrimary
297
308
  })
298
309
  }, null, 8, ["style"])]),
299
310
  _: 2
300
- }, 1032, ["title"])])) : E("", !0)]),
311
+ }, 1032, ["title"])])) : O("", !0)]),
301
312
  _: 2
302
- }, [k(l(ye)(w, ["title", "searchFormExtra"]), (a, o) => ({
303
- name: o,
304
- fn: p((n) => [R(e.$slots, o, le(ne(n || {})))])
313
+ }, [E(n(ye)(w, ["title", "searchFormExtra"]), (a, r) => ({
314
+ name: r,
315
+ fn: p((l) => [x(e.$slots, r, le(de(l || {})))])
305
316
  }))]), 1040, ["class", "onChange", "columns"])], 6)], 2));
306
317
  }
307
318
  });