@aplus-frontend/ui 0.5.0-beta.2 → 0.5.1

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 (30) hide show
  1. package/es/src/ap-action/item-popconfirm/index.vue.d.ts +13 -0
  2. package/es/src/ap-grid/constants.d.ts +4 -4
  3. package/es/src/ap-grid/constants.mjs +8 -8
  4. package/es/src/ap-grid/index.vue.mjs +169 -154
  5. package/es/src/ap-table/ap-table.vue2.mjs +148 -144
  6. package/es/src/business/ap-ladder/ApLadder.vue.d.ts +13 -0
  7. package/es/src/business/ap-ladder/index.d.ts +39 -0
  8. package/es/src/business/ap-summary/ap-summary.vue2.mjs +36 -38
  9. package/es/src/business/ap-table-modal/index.d.ts +3 -3
  10. package/es/src/business/ap-table-modal/table-modal.vue.d.ts +1 -1
  11. package/es/src/config-provider/config-provider.mjs +23 -23
  12. package/es/src/utils/config-provider-preset.d.ts +41 -0
  13. package/es/src/utils/config-provider-preset.mjs +24 -15
  14. package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +13 -0
  15. package/lib/src/ap-grid/constants.d.ts +4 -4
  16. package/lib/src/ap-grid/constants.js +1 -1
  17. package/lib/src/ap-grid/index.vue.js +1 -1
  18. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  19. package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +13 -0
  20. package/lib/src/business/ap-ladder/index.d.ts +39 -0
  21. package/lib/src/business/ap-summary/ap-summary.vue2.js +1 -1
  22. package/lib/src/business/ap-table-modal/index.d.ts +3 -3
  23. package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +1 -1
  24. package/lib/src/config-provider/config-provider.js +1 -1
  25. package/lib/src/utils/config-provider-preset.d.ts +41 -0
  26. package/lib/src/utils/config-provider-preset.js +1 -1
  27. package/package.json +3 -3
  28. package/theme/ap-grid/index.css +2 -1
  29. package/theme/ap-grid/index.less +2 -1
  30. package/theme/index.css +2 -1
@@ -316,6 +316,19 @@ declare const __VLS_component: DefineComponent<ApActionItemPopconfirmProps, {},
316
316
  'onUpdate:visible': PropType<(vis: boolean) => void>;
317
317
  onOpenChange: PropType<(vis: boolean) => void>;
318
318
  'onUpdate:open': PropType<(vis: boolean) => void>;
319
+ mask: {
320
+ type: BooleanConstructor;
321
+ default: boolean;
322
+ };
323
+ maskStyle: {
324
+ type: PropType<CSSProperties>;
325
+ default: CSSProperties;
326
+ };
327
+ maskTransitionName: StringConstructor;
328
+ maskClosable: {
329
+ type: BooleanConstructor;
330
+ default: boolean;
331
+ };
319
332
  }>>;
320
333
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
321
334
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -1,9 +1,9 @@
1
1
  export declare const sizeMap: {
2
- readonly mini: undefined;
2
+ readonly mini: "small";
3
3
  readonly small: "small";
4
- readonly medium: "middle";
4
+ readonly medium: "small";
5
5
  };
6
6
  export declare const sizeReverseMap: {
7
- readonly small: "small";
8
- readonly middle: "medium";
7
+ readonly small: "medium";
8
+ readonly middle: undefined;
9
9
  };
@@ -1,12 +1,12 @@
1
- const m = {
2
- mini: void 0,
1
+ const l = {
2
+ mini: "small",
3
3
  small: "small",
4
- medium: "middle"
5
- }, e = {
6
- small: "small",
7
- middle: "medium"
4
+ medium: "small"
5
+ }, m = {
6
+ small: "medium",
7
+ middle: void 0
8
8
  };
9
9
  export {
10
- m as sizeMap,
11
- e as sizeReverseMap
10
+ l as sizeMap,
11
+ m as sizeReverseMap
12
12
  };
@@ -1,27 +1,27 @@
1
- import { defineComponent as ve, getCurrentInstance as Se, useSlots as we, ref as b, computed as n, unref as a, watchEffect as be, watch as H, createElementBlock as R, openBlock as s, normalizeClass as f, createCommentVNode as h, createElementVNode as x, normalizeStyle as q, createVNode as Re, mergeProps as m, createSlots as U, withCtx as C, Fragment as M, renderList as E, createBlock as c, resolveDynamicComponent as N, renderSlot as z, normalizeProps as xe, guardReactiveProps as ke } from "vue";
2
- import { VxeTable as Fe, VxeColumn as G } from "vxe-table";
3
- import Be from "vxe-pc-ui";
1
+ import { defineComponent as Se, getCurrentInstance as we, useSlots as xe, ref as R, computed as n, unref as o, watchEffect as Re, watch as M, createElementBlock as k, openBlock as s, normalizeClass as f, createCommentVNode as y, createElementVNode as F, normalizeStyle as q, createVNode as U, mergeProps as g, createSlots as G, withCtx as h, Fragment as X, renderList as N, createBlock as u, resolveDynamicComponent as _, renderSlot as z, normalizeProps as ke, guardReactiveProps as Fe } from "vue";
2
+ import { VxeTable as Be, VxeColumn as J } from "vxe-table";
3
+ import Ie from "vxe-pc-ui";
4
4
  import "vxe-table/lib/style.css";
5
5
  import "vxe-pc-ui/lib/style.css";
6
- import { isUndefined as k, omit as Ie } from "lodash-unified";
6
+ import { isUndefined as B, omit as Ee } from "lodash-unified";
7
7
  import { ApForm as Pe } from "../ap-form/index.mjs";
8
8
  import "../config-provider/index.mjs";
9
- import { noRenderAsFormItemValueList as Ee } from "../ap-table/constants.mjs";
10
- import { getColumnOrder as X, updateFormProps as Ne, getFieldProps as ze, getSearchFormItemRenderNode as _e, recursionApColumns as J } from "../ap-table/utils.mjs";
9
+ import { noRenderAsFormItemValueList as Ne } from "../ap-table/constants.mjs";
10
+ import { getColumnOrder as Q, updateFormProps as _e, getFieldProps as ze, getSearchFormItemRenderNode as Ae, recursionApColumns as Y } from "../ap-table/utils.mjs";
11
11
  import { useTablePaging as Te } from "../ap-table/hooks/use-table-paging-ng.mjs";
12
- import { Pagination as Ve } from "@aplus-frontend/antdv";
13
- import { useInnerParams as Ae } from "./hooks/use-inner-params.mjs";
14
- import { toVxeProps as Oe, getRowExpandProps as Le, getRowSelectionProps as De } from "./utils/table.mjs";
15
- import Ke from "../ap-table/hooks/use-table-row-selection.mjs";
16
- import { useProvideApTable as $e } from "../ap-table/context.mjs";
17
- import { sizeReverseMap as je, sizeMap as We } from "./constants.mjs";
18
- import { useRenderColumns as He } from "./hooks/use-render-columns.mjs";
12
+ import { Empty as Z, Pagination as Ve } from "@aplus-frontend/antdv";
13
+ import { useInnerParams as Le } from "./hooks/use-inner-params.mjs";
14
+ import { toVxeProps as Oe, getRowExpandProps as De, getRowSelectionProps as Ke } from "./utils/table.mjs";
15
+ import $e from "../ap-table/hooks/use-table-row-selection.mjs";
16
+ import { useProvideApTable as je } from "../ap-table/context.mjs";
17
+ import { sizeReverseMap as He, sizeMap as We } from "./constants.mjs";
18
+ import { useRenderColumns as Me } from "./hooks/use-render-columns.mjs";
19
19
  import { useToken as qe } from "@aplus-frontend/antdv/es/theme/internal";
20
20
  import "../scroll-bar/index.mjs";
21
21
  import { useNamespace as Ue } from "../config-provider/hooks/use-namespace.mjs";
22
- import { useGlobalConfig as Me } from "../config-provider/hooks/use-global-config.mjs";
23
- import Ge from "../scroll-bar/index.vue.mjs";
24
- const va = /* @__PURE__ */ ve({
22
+ import { useGlobalConfig as Ge } from "../config-provider/hooks/use-global-config.mjs";
23
+ import Xe from "../scroll-bar/index.vue.mjs";
24
+ const So = /* @__PURE__ */ Se({
25
25
  name: "ApGrid",
26
26
  __name: "index",
27
27
  props: {
@@ -95,7 +95,7 @@ const va = /* @__PURE__ */ ve({
95
95
  searchFormWrapperStyle: {},
96
96
  tableWrapperStyle: {},
97
97
  manual: { type: Boolean, default: !1 },
98
- size: { default: "medium" },
98
+ size: { default: void 0 },
99
99
  adaptive: { type: Boolean, default: !1 },
100
100
  columnResizable: { type: [Boolean, Object], default: !1 },
101
101
  rowKey: { default: "key" },
@@ -103,185 +103,185 @@ const va = /* @__PURE__ */ ve({
103
103
  virtual: { type: [Boolean, Object], default: void 0 },
104
104
  expandable: {}
105
105
  },
106
- setup(Q, { expose: Y }) {
106
+ setup(ee, { expose: oe }) {
107
107
  var W;
108
- const y = (W = Se()) == null ? void 0 : W.appContext.app;
109
- y && !y.__VXE_PC_UI_INSTALLED__ && (y.use(Be), y.__VXE_PC_UI_INSTALLED__ = !0);
110
- const _ = we(), o = Q, { e: F, b: i, be: Z } = Ue("ap-grid"), ee = Me("valueTypeMap"), d = b([]), T = b([]), p = b(), B = b(o.size), [, ae] = qe(), { renderConfig: oe, updateSignal: re } = He(d);
108
+ const C = (W = we()) == null ? void 0 : W.appContext.app;
109
+ C && !C.__VXE_PC_UI_INSTALLED__ && (C.use(Ie), C.__VXE_PC_UI_INSTALLED__ = !0);
110
+ const A = xe(), a = ee, { e: I, b: i, be: ae } = Ue("ap-grid"), re = Ge("valueTypeMap"), d = R([]), T = R([]), p = R(), b = R(a.size), [, m] = qe(), { renderConfig: te, updateSignal: le } = Me(d);
111
111
  let V = 0;
112
- const te = n(() => {
112
+ const ne = n(() => {
113
113
  if (p.value)
114
114
  return p.value.$el.querySelector(
115
115
  ".vxe-table--header-inner-wrapper"
116
116
  );
117
- }), A = n(() => {
117
+ }), L = n(() => {
118
118
  var e, l, t;
119
- return V++, ((t = (l = (e = o.columns) == null ? void 0 : e.filter(
120
- (r) => !r.hideInSearch && r.dataIndex && (r.valueType || r.customRenderFormItem) && !Ee.includes(r.valueType)
121
- )) == null ? void 0 : l.sort((r, u) => {
122
- let g = X(r.order);
123
- return X(u.order) - g;
119
+ return V++, ((t = (l = (e = a.columns) == null ? void 0 : e.filter(
120
+ (r) => !r.hideInSearch && r.dataIndex && (r.valueType || r.customRenderFormItem) && !Ne.includes(r.valueType)
121
+ )) == null ? void 0 : l.sort((r, c) => {
122
+ let v = Q(r.order);
123
+ return Q(c.order) - v;
124
124
  })) == null ? void 0 : t.map((r) => {
125
- const u = Ne(
125
+ const c = _e(
126
126
  r,
127
127
  ze(r.fieldProps, {})
128
- ), g = {
128
+ ), v = {
129
129
  ...r,
130
130
  fieldProps: {
131
131
  label: r.title,
132
132
  name: r.dataIndex,
133
- ...u || {},
133
+ ...c || {},
134
134
  _signal: V
135
135
  },
136
136
  renderNode: void 0
137
137
  };
138
- return g.renderNode = _e(
139
- g,
140
- a(ee)
141
- ), g;
138
+ return v.renderNode = Ae(
139
+ v,
140
+ o(re)
141
+ ), v;
142
142
  })) || [];
143
- }), le = n(() => [
143
+ }), se = n(() => [
144
144
  i(),
145
- o.card ? null : i("wrapper"),
146
- o.adaptive ? i("adaptive") : null,
147
- o.sticky ? i("sticky") : null
148
- ].filter(Boolean)), O = n(() => J(a(d), (e) => {
145
+ a.card ? null : i("wrapper"),
146
+ a.adaptive ? i("adaptive") : null,
147
+ a.sticky ? i("sticky") : null
148
+ ].filter(Boolean)), O = n(() => Y(o(d), (e) => {
149
149
  if (e.sorter === !0)
150
150
  return e.key || e.dataIndex;
151
- }).filter(Boolean)), L = n(() => J(a(d), (e) => {
151
+ }).filter(Boolean)), D = n(() => Y(o(d), (e) => {
152
152
  if (e.filters && !e.onFilter)
153
153
  return e.key || e.dataIndex;
154
154
  }).filter(Boolean)), {
155
- formRef: I,
156
- submit: D,
157
- reset: K,
158
- refresh: ne,
159
- data: v,
160
- tableProps: se,
161
- setDataSource: de,
162
- handleTableChange: ie
155
+ formRef: E,
156
+ submit: K,
157
+ reset: $,
158
+ refresh: de,
159
+ data: S,
160
+ tableProps: ie,
161
+ setDataSource: ce,
162
+ handleTableChange: ue
163
163
  } = Te({
164
164
  async request(e) {
165
165
  var t;
166
- if (!w.value.preserveSelectedRowKeys && k(o.dataSource) && P(), !k(o.dataSource)) {
166
+ if (!x.value.preserveSelectedRowKeys && B(a.dataSource) && P(), !B(a.dataSource)) {
167
167
  const r = e.pageSize * (e.current - 1);
168
168
  return {
169
- data: (o.pagination === !1 ? o.dataSource : o.dataSource.slice(r, r + e.pageSize)) || [],
170
- total: o.dataSource.length || 0
169
+ data: (a.pagination === !1 ? a.dataSource : a.dataSource.slice(r, r + e.pageSize)) || [],
170
+ total: a.dataSource.length || 0
171
171
  };
172
172
  }
173
- const l = await ((t = o.request) == null ? void 0 : t.call(o, e));
173
+ const l = await ((t = a.request) == null ? void 0 : t.call(a, e));
174
174
  return {
175
175
  data: (l == null ? void 0 : l.data) || [],
176
176
  total: (l == null ? void 0 : l.total) || 0
177
177
  };
178
178
  },
179
179
  namespace: "ap-grid",
180
- filterFields: L,
180
+ filterFields: D,
181
181
  sortFields: O,
182
- defaultParams: o.params,
183
- defaultData: o.defaultData,
184
- manual: o.manual,
185
- formatParams: o.beforeSearchSubmit,
186
- pagination: o.pagination
187
- }), { sortChangeEvent: ue, filterChangeEvent: ce, paginationChangeEvent: pe } = Ae(ie);
188
- $e({
182
+ defaultParams: a.params,
183
+ defaultData: a.defaultData,
184
+ manual: a.manual,
185
+ formatParams: a.beforeSearchSubmit,
186
+ pagination: a.pagination
187
+ }), { sortChangeEvent: pe, filterChangeEvent: me, paginationChangeEvent: fe } = Le(ue);
188
+ je({
189
189
  columns: n(() => d.value),
190
190
  columnsBackup: n(() => T.value),
191
- size: n(() => We[B.value]),
191
+ size: n(() => b.value ? We[b.value] : "middle"),
192
192
  updateColumns(e) {
193
193
  d.value = e;
194
194
  },
195
195
  updateSize(e) {
196
- B.value = je[e];
196
+ b.value = He[e];
197
197
  },
198
198
  renderConfig: n(() => ({
199
- className: Z("table-header", "title"),
200
- color: ae.value.colorPrimary
199
+ className: ae("table-header", "title"),
200
+ color: m.value.colorPrimary
201
201
  }))
202
202
  });
203
- const $ = n(
203
+ const j = n(
204
204
  () => d.value.some(
205
205
  (e) => e.fixed === "left" || e.fixed === !0
206
206
  ) ? "left" : void 0
207
- ), fe = n(
208
- () => k(o.dataSource) ? v.records : o.dataSource
209
- ), { selectedRows: S, rowSelection: w, ...me } = Ke({
210
- ...o.rowSelection === !0 ? {} : o.rowSelection,
211
- dataSource: fe,
212
- rowKey: o.rowKey
213
- }), j = () => {
207
+ ), ge = n(
208
+ () => B(a.dataSource) ? S.records : a.dataSource
209
+ ), { selectedRows: w, rowSelection: x, ...he } = $e({
210
+ ...a.rowSelection === !0 ? {} : a.rowSelection,
211
+ dataSource: ge,
212
+ rowKey: a.rowKey
213
+ }), H = () => {
214
214
  const e = p.value;
215
- e && (S.value = [
215
+ e && (w.value = [
216
216
  ...e.getCheckboxReserveRecords(),
217
217
  ...e.getCheckboxRecords()
218
218
  ]);
219
- }, ge = () => {
219
+ }, ve = () => {
220
220
  const e = p.value;
221
- e && (S.value = [e.getRadioRecord()]);
221
+ e && (w.value = [e.getRadioRecord()]);
222
222
  };
223
- function he() {
223
+ function ye() {
224
224
  var e;
225
- return ((e = o.columns) == null ? void 0 : e.filter((l) => !l.hideInTable)) || [];
225
+ return ((e = a.columns) == null ? void 0 : e.filter((l) => !l.hideInTable)) || [];
226
226
  }
227
227
  function Ce(e) {
228
228
  var l, t, r;
229
- (r = (t = (l = I.value) == null ? void 0 : l.apForm) == null ? void 0 : t.setFieldsValue) == null || r.call(t, e);
229
+ (r = (t = (l = E.value) == null ? void 0 : l.apForm) == null ? void 0 : t.setFieldsValue) == null || r.call(t, e);
230
230
  }
231
- function ye(e = !1) {
232
- var t, r, u;
231
+ function be(e = !1) {
232
+ var t, r, c;
233
233
  const l = e ? "getFieldsValueTransformed" : "getFieldsValue";
234
- return (u = (r = (t = I.value) == null ? void 0 : t.apForm) == null ? void 0 : r[l]) == null ? void 0 : u.call(r, !0);
234
+ return (c = (r = (t = E.value) == null ? void 0 : t.apForm) == null ? void 0 : r[l]) == null ? void 0 : c.call(r, !0);
235
235
  }
236
236
  function P() {
237
- me.clearAll();
237
+ he.clearAll();
238
238
  const e = p.value;
239
- e && (w.value.type === "radio" ? (e.clearRadioRow(), e.clearRadioReserve()) : (e.clearCheckboxRow(), e.clearCheckboxReserve()));
239
+ e && (x.value.type === "radio" ? (e.clearRadioRow(), e.clearRadioReserve()) : (e.clearCheckboxRow(), e.clearCheckboxReserve()));
240
240
  }
241
- return be(() => {
242
- const e = he();
241
+ return Re(() => {
242
+ const e = ye();
243
243
  d.value = e, T.value = e;
244
- }), H(
245
- () => o.dataSource,
244
+ }), M(
245
+ () => a.dataSource,
246
246
  (e) => {
247
- de(e);
247
+ ce(e);
248
248
  },
249
249
  { immediate: !0 }
250
- ), H(
251
- () => a(v).loading,
250
+ ), M(
251
+ () => o(S).loading,
252
252
  (e) => {
253
253
  var l;
254
- (l = o.onLoadingChange) == null || l.call(o, e);
254
+ (l = a.onLoadingChange) == null || l.call(a, e);
255
255
  }
256
- ), Y({
257
- submit: D,
258
- reset: K,
259
- refresh: ne,
256
+ ), oe({
257
+ submit: K,
258
+ reset: $,
259
+ refresh: de,
260
260
  setSearchFormValues: Ce,
261
- getSearchFormValues: ye,
262
- getShowColumns: () => a(d),
261
+ getSearchFormValues: be,
262
+ getShowColumns: () => o(d),
263
263
  rowSelection: {
264
- selectedRows: n(() => S.value),
264
+ selectedRows: n(() => w.value),
265
265
  clearAll: P
266
266
  }
267
- }), (e, l) => (s(), R("div", {
268
- class: f(le.value)
267
+ }), (e, l) => (s(), k("div", {
268
+ class: f(se.value)
269
269
  }, [
270
- a(k)(e.dataSource) && e.searchForm !== !1 && A.value.length > 0 ? (s(), R("div", {
270
+ o(B)(e.dataSource) && e.searchForm !== !1 && L.value.length > 0 ? (s(), k("div", {
271
271
  key: 0,
272
- class: f(e.card ? a(F)("search-wrapper") : null),
272
+ class: f(e.card ? o(I)("search-wrapper") : null),
273
273
  style: q(e.searchFormWrapperStyle)
274
274
  }, [
275
- Re(a(Pe).SearchForm, m(e.searchForm || {}, {
275
+ U(o(Pe).SearchForm, g(e.searchForm || {}, {
276
276
  ref_key: "formRef",
277
- ref: I,
277
+ ref: E,
278
278
  "custom-reset": "",
279
279
  "submit-loading": !1,
280
- onSubmit: a(D),
281
- onReset: a(K)
282
- }), U({
283
- default: C(() => [
284
- (s(!0), R(M, null, E(A.value, (t) => (s(), c(N(t.renderNode.Comp), m({
280
+ onSubmit: o(K),
281
+ onReset: o($)
282
+ }), G({
283
+ default: h(() => [
284
+ (s(!0), k(X, null, N(L.value, (t) => (s(), u(_(t.renderNode.Comp), g({
285
285
  key: t.dataIndex,
286
286
  item: t,
287
287
  ref_for: !0
@@ -292,90 +292,105 @@ const va = /* @__PURE__ */ ve({
292
292
  ]),
293
293
  _: 2
294
294
  }, [
295
- _.searchFormExtra ? {
295
+ A.searchFormExtra ? {
296
296
  name: "extra",
297
- fn: C(() => [
297
+ fn: h(() => [
298
298
  z(e.$slots, "searchFormExtra")
299
299
  ]),
300
300
  key: "0"
301
301
  } : void 0
302
302
  ]), 1040, ["onSubmit", "onReset"])
303
- ], 6)) : h("", !0),
304
- x("div", {
305
- class: f([a(F)("table-wrapper"), e.card ? a(F)("table-wrapper-card") : null]),
303
+ ], 6)) : y("", !0),
304
+ F("div", {
305
+ class: f([o(I)("table-wrapper"), e.card ? o(I)("table-wrapper-card") : null]),
306
306
  style: q(e.tableWrapperStyle)
307
307
  }, [
308
- x("div", {
309
- class: f(a(i)("header-wrapper"))
308
+ F("div", {
309
+ class: f(o(i)("header-wrapper"))
310
310
  }, [
311
311
  z(e.$slots, "title", {
312
- selectedRows: a(S),
313
- selectedRowKeys: a(w).selectedRowKeys,
312
+ selectedRows: o(w),
313
+ selectedRowKeys: o(x).selectedRowKeys,
314
314
  shownColumns: d.value,
315
315
  clearAll: P
316
316
  })
317
317
  ], 2),
318
- x("div", {
319
- class: f(a(i)("vxe-wrapper"))
318
+ F("div", {
319
+ class: f(o(i)("vxe-wrapper"))
320
320
  }, [
321
- (s(), c(a(Fe), m(a(Oe)(o), {
321
+ (s(), u(o(Be), g(o(Oe)(a), {
322
322
  ref_key: "tableRef",
323
323
  ref: p,
324
- key: a(re),
325
- data: a(v).records,
324
+ key: o(le),
325
+ data: o(S).records,
326
326
  "sort-config": { remote: O.value.length > 0 },
327
- "filter-config": { remote: L.value.length > 0 },
328
- loading: a(v).loading,
327
+ "filter-config": { remote: D.value.length > 0 },
328
+ loading: o(S).loading,
329
329
  "row-config": {
330
330
  isHover: !0,
331
- keyField: o.rowKey
331
+ keyField: a.rowKey
332
332
  },
333
- size: B.value,
334
- onSortChange: a(ue),
335
- onFilterChange: a(ce),
336
- onCheckboxChange: j,
337
- onCheckboxAll: j,
338
- onRadioChange: ge
339
- }), U({
340
- default: C(() => [
341
- o.expandable ? (s(), c(a(G), m({ key: 0 }, a(Le)(e.expandable), { fixed: $.value }), {
342
- content: C((t) => [
343
- (s(), c(N(o.expandable.renderContent(t))))
333
+ style: {
334
+ "--vxe-ui-table-row-checkbox-checked-background-color": o(m).controlItemBgActive,
335
+ "--vxe-ui-table-row-hover-checkbox-checked-background-color": o(m).controlItemBgActiveHover,
336
+ "--vxe-ui-font-primary-color": o(m).colorPrimary,
337
+ "--vxe-ui-table-header-background-color": "var(--ap-table-header-bg)",
338
+ "--vxe-ui-table-cell-padding-default": "12px",
339
+ "--vxe-ui-table-cell-padding-medium": "9px",
340
+ "--vxe-ui-table-row-radio-checked-background-color": o(m).controlItemBgActive,
341
+ "--vxe-ui-table-row-hover-radio-checked-background-color": o(m).controlItemBgActiveHover
342
+ },
343
+ size: b.value,
344
+ onSortChange: o(pe),
345
+ onFilterChange: o(me),
346
+ onCheckboxChange: H,
347
+ onCheckboxAll: H,
348
+ onRadioChange: ve
349
+ }), G({
350
+ empty: h(() => [
351
+ U(o(Z), {
352
+ image: o(Z).PRESENTED_IMAGE_SIMPLE
353
+ }, null, 8, ["image"])
354
+ ]),
355
+ default: h(() => [
356
+ a.expandable ? (s(), u(o(J), g({ key: 0 }, o(De)(e.expandable), { fixed: j.value }), {
357
+ content: h((t) => [
358
+ (s(), u(_(a.expandable.renderContent(t))))
344
359
  ]),
345
360
  _: 1
346
- }, 16, ["fixed"])) : h("", !0),
347
- o.rowSelection ? (s(), c(a(G), m({ key: 1 }, a(De)(a(w)), { fixed: $.value }), null, 16, ["fixed"])) : h("", !0),
348
- (s(!0), R(M, null, E(a(oe), (t) => (s(), c(N(t), {
361
+ }, 16, ["fixed"])) : y("", !0),
362
+ a.rowSelection ? (s(), u(o(J), g({ key: 1 }, o(Ke)(o(x)), { fixed: j.value }), null, 16, ["fixed"])) : y("", !0),
363
+ (s(!0), k(X, null, N(o(te), (t) => (s(), u(_(t), {
349
364
  key: t.props.colId
350
365
  }))), 128))
351
366
  ]),
352
367
  _: 2
353
368
  }, [
354
- E(a(Ie)(_, ["searchFormExtra"]), (t, r) => ({
369
+ N(o(Ee)(A, ["searchFormExtra"]), (t, r) => ({
355
370
  name: r,
356
- fn: C((u) => [
357
- z(e.$slots, r, xe(ke(u || {})))
371
+ fn: h((c) => [
372
+ z(e.$slots, r, ke(Fe(c || {})))
358
373
  ])
359
374
  }))
360
- ]), 1040, ["data", "sort-config", "filter-config", "loading", "row-config", "size", "onSortChange", "onFilterChange"]))
375
+ ]), 1040, ["data", "sort-config", "filter-config", "loading", "row-config", "style", "size", "onSortChange", "onFilterChange"]))
361
376
  ], 2),
362
- x("div", {
363
- class: f(a(i)("pagination-wrapper"))
377
+ F("div", {
378
+ class: f(o(i)("pagination-wrapper"))
364
379
  }, [
365
- e.sticky ? (s(), c(a(Ge), {
380
+ e.sticky ? (s(), u(o(Xe), {
366
381
  key: 0,
367
382
  direction: "horizontal",
368
- "scroll-container": te.value
369
- }, null, 8, ["scroll-container"])) : h("", !0),
370
- e.pagination !== !1 ? (s(), c(a(Ve), m({
383
+ "scroll-container": ne.value
384
+ }, null, 8, ["scroll-container"])) : y("", !0),
385
+ e.pagination !== !1 ? (s(), u(o(Ve), g({
371
386
  key: 1,
372
- class: a(i)("pagination")
373
- }, a(se).pagination, { onChange: a(pe) }), null, 16, ["class", "onChange"])) : h("", !0)
387
+ class: o(i)("pagination")
388
+ }, o(ie).pagination, { onChange: o(fe) }), null, 16, ["class", "onChange"])) : y("", !0)
374
389
  ], 2)
375
390
  ], 6)
376
391
  ], 2));
377
392
  }
378
393
  });
379
394
  export {
380
- va as default
395
+ So as default
381
396
  };