@qin-ui/antd-vue-pro 2.0.10 → 2.0.11

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.
@@ -1,52 +1,52 @@
1
- .search-form[data-v-107a0198] .ant-form-item {
1
+ .search-form[data-v-a5f1b551] .ant-form-item {
2
2
  margin: 0;
3
3
  }
4
- .expand-toggle-button[data-v-107a0198] {
4
+ .expand-toggle-button[data-v-a5f1b551] {
5
5
  display: flex;
6
6
  align-items: center;
7
7
  padding: 0;
8
8
  padding-left: 4px;
9
9
  }
10
- .transition[data-v-107a0198] {
10
+ .transition[data-v-a5f1b551] {
11
11
  transition: all 0.25s;
12
12
  }
13
- .search-form-container[data-v-5904d9f4] {
13
+ .search-form-container[data-v-727c8aba] {
14
14
  margin-bottom: 24px;
15
15
  padding: 24px;
16
- background-color: #fff;
17
16
  }
18
- .table-container[data-v-f089d734] {
17
+ .table-container[data-v-185690a3] {
19
18
  flex: 1;
20
19
  padding: 24px 24px 0;
21
- background-color: #fff;
22
20
  }
23
- .control-icon[data-v-d8e78b5b] {
21
+ .size-control-button[data-v-b7eded53] {
24
22
  display: flex;
25
23
  align-items: center;
26
- cursor: pointer;
24
+ padding-right: 12px;
25
+ padding-left: 12px;
27
26
  }
28
- .control-icon[data-v-d8e78b5b] :hover {
29
- color: #1677ff;
27
+ .size-control-button[data-v-b7eded53] svg {
28
+ transform: scale(1.3);
30
29
  }
31
- .control-icon[data-v-f75da747] {
30
+ .column-control-button[data-v-cdcab425] {
32
31
  display: flex;
33
32
  align-items: center;
34
- cursor: pointer;
33
+ padding-right: 12px;
34
+ padding-left: 12px;
35
35
  }
36
- .control-icon[data-v-f75da747] :hover {
37
- color: #1677ff;
36
+ .column-control-button[data-v-cdcab425] svg {
37
+ transform: scale(1.2, 1.4);
38
38
  }
39
- .pro-table .pro-table-header[data-v-eb2f3860] {
39
+ .pro-table .pro-table-header[data-v-7b0601fa] {
40
40
  display: flex;
41
41
  align-items: center;
42
42
  justify-content: flex-end;
43
43
  }
44
- .pro-table .pro-table-header[data-v-eb2f3860]:empty {
44
+ .pro-table .pro-table-header[data-v-7b0601fa]:empty {
45
45
  display: none;
46
46
  }
47
- .pro-table .pro-table-header + .pro-table-content[data-v-eb2f3860] {
47
+ .pro-table .pro-table-header + .pro-table-content[data-v-7b0601fa] {
48
48
  margin-top: 16px;
49
49
  }
50
- .pro-table[data-v-eb2f3860] .ant-pagination .ant-pagination-total-text {
50
+ .pro-table[data-v-7b0601fa] .ant-pagination .ant-pagination-total-text {
51
51
  flex: 1;
52
52
  }
package/es/form/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  import { Form, Input, Textarea, InputSearch, InputPassword, InputNumber, Select, Cascader, DatePicker, RangePicker, TimePicker, CheckboxGroup, RadioGroup, Switch, Slider, TreeSelect, Transfer, Row, Col, FormItem } from "ant-design-vue";
2
2
  import "ant-design-vue/es/table";
3
+ import "ant-design-vue/es/config-provider/context";
3
4
  import { useProviderDisabled, useInjectDisabled } from "ant-design-vue/es/config-provider/DisabledContext";
4
5
  import { colProps } from "ant-design-vue/es/grid/Col";
5
6
  import { formItemProps, useInjectFormItemContext } from "ant-design-vue/es/form";
package/es/index.d.ts CHANGED
@@ -233,6 +233,10 @@ grid: Grid;
233
233
  fields: Fields;
234
234
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
235
235
 
236
+ declare type ButtonProps = {
237
+ onClick: () => void;
238
+ };
239
+
236
240
  declare type CascaderSlots = CompSlot<'clearIcon' | 'expandIcon' | 'maxTagPlaceholder' | 'notFoundContent' | 'removeIcon' | 'suffixIcon' | 'tagRender'>;
237
241
 
238
242
  export declare type Column<D extends Data = Data> = Omit<ColumnType, 'dataIndex' | 'key'> & {
@@ -346,6 +350,10 @@ declare type Expand = {
346
350
  expandStatus?: boolean;
347
351
  };
348
352
 
353
+ declare type ExpandButtonProps = ButtonProps & {
354
+ expandStatus: boolean;
355
+ };
356
+
349
357
  declare type ExtendWithAny<D> = {
350
358
  [K in keyof D]: IsRecord<D[K]> extends true ? ExtendWithAny<D[K]> : D[K];
351
359
  } & Record<string, any>;
@@ -748,6 +756,9 @@ declare type SearchFormProps = {
748
756
  form: Form;
749
757
  layout?: 'grid' | 'inline';
750
758
  expand?: boolean | Expand;
759
+ searchButton?: Component<ButtonProps> | DefineComponent<ButtonProps>;
760
+ resetButton?: Component<ButtonProps> | DefineComponent<ButtonProps>;
761
+ expandButton?: Component<ExpandButtonProps> | DefineComponent<ExpandButtonProps>;
751
762
  } & /* @vue-ignore */ _FormProps & AllowedComponentProps;
752
763
 
753
764
  declare type SelectSlots = CompSlot<keyof InstanceType<typeof Select>['$slots']>;
package/es/table/index.js CHANGED
@@ -1,8 +1,9 @@
1
- import { createElementBlock, openBlock, createElementVNode, defineComponent, ref, computed, watch, watchEffect, createBlock, unref, mergeProps, withCtx, createVNode, createCommentVNode, createTextVNode, toDisplayString, normalizeStyle, toValue, renderSlot, useAttrs, Fragment, renderList, withModifiers, inject, useSlots, onMounted, normalizeClass, isRef, createSlots, normalizeProps, guardReactiveProps, nextTick, reactive } from "vue";
1
+ import { createElementBlock, openBlock, createElementVNode, defineComponent, ref, computed, watch, watchEffect, createBlock, unref, mergeProps, withCtx, createVNode, renderSlot, resolveDynamicComponent, createTextVNode, createCommentVNode, Fragment, toDisplayString, normalizeStyle, toValue, useAttrs, renderList, withModifiers, inject, useSlots, onMounted, normalizeClass, isRef, createSlots, normalizeProps, guardReactiveProps, nextTick, reactive } from "vue";
2
2
  import { I as INJECT_CONFIG, g as getObject, c as camelizeProperties } from "../component-provider/index-DXPHmG1H.js";
3
3
  import _sfc_main$9, { ContainerFragment as _sfc_main$a, useForm } from "../form/index.js";
4
- import { Space, Button, Dropdown, Menu, MenuItem, Checkbox, MenuDivider, Table } from "ant-design-vue";
4
+ import { Space, Button, theme, Dropdown, Menu, MenuItem, Checkbox, MenuDivider, Table } from "ant-design-vue";
5
5
  import { p as pick, c as cloneDeep } from "../vendor/utils/lodash-es-B2uQdS28.js";
6
+ import { useConfigContextInject } from "ant-design-vue/es/config-provider/context";
6
7
  import { tableProps } from "ant-design-vue/es/table";
7
8
  const _export_sfc = (sfc, props) => {
8
9
  const target = sfc.__vccOpts || sfc;
@@ -12,7 +13,7 @@ const _export_sfc = (sfc, props) => {
12
13
  return target;
13
14
  };
14
15
  const _sfc_main$8 = {};
15
- const _hoisted_1$7 = {
16
+ const _hoisted_1$3 = {
16
17
  focusable: "false",
17
18
  "data-icon": "down",
18
19
  width: "1em",
@@ -21,12 +22,12 @@ const _hoisted_1$7 = {
21
22
  "aria-hidden": "true",
22
23
  viewBox: "64 64 896 896"
23
24
  };
24
- function _sfc_render$4(_ctx, _cache) {
25
- return openBlock(), createElementBlock("svg", _hoisted_1$7, _cache[0] || (_cache[0] = [
25
+ function _sfc_render$2(_ctx, _cache) {
26
+ return openBlock(), createElementBlock("svg", _hoisted_1$3, _cache[0] || (_cache[0] = [
26
27
  createElementVNode("path", { d: "M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" }, null, -1)
27
28
  ]));
28
29
  }
29
- const DownOutlined = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$4]]);
30
+ const DownOutlined = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$2]]);
30
31
  const _sfc_main$7 = /* @__PURE__ */ defineComponent({
31
32
  ...{ name: "SearchForm" },
32
33
  __name: "SearchForm",
@@ -34,6 +35,9 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
34
35
  form: {},
35
36
  layout: { default: "grid" },
36
37
  expand: { type: [Boolean, Object], default: true },
38
+ searchButton: { default: void 0 },
39
+ resetButton: { default: void 0 },
40
+ expandButton: { default: void 0 },
37
41
  class: {},
38
42
  style: {}
39
43
  },
@@ -111,7 +115,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
111
115
  minExpandRows * rowHeight + (minExpandRows - 1) * rowGap,
112
116
  +proFormHeight.value
113
117
  );
114
- showExpandToggle.value = +proFormHeight.value > collapseHeight.value;
118
+ showExpandToggle.value = +proFormHeight.value - collapseHeight.value > 1;
115
119
  if (showExpandToggle.value) {
116
120
  setInitExpandStatus();
117
121
  }
@@ -138,6 +142,12 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
138
142
  grid: false
139
143
  }
140
144
  );
145
+ const onReset = () => {
146
+ emit("reset");
147
+ };
148
+ const onSearch = () => {
149
+ emit("search");
150
+ };
141
151
  return (_ctx, _cache) => {
142
152
  return openBlock(), createBlock(unref(_sfc_main$9), mergeProps(layoutProps.value, {
143
153
  form: _ctx.form,
@@ -146,51 +156,71 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
146
156
  default: withCtx(() => [
147
157
  createVNode(unref(Space), { align: "start" }, {
148
158
  default: withCtx(() => [
149
- createVNode(unref(Button), {
150
- onClick: _cache[0] || (_cache[0] = ($event) => emit("reset"))
151
- }, {
152
- default: withCtx(() => _cache[2] || (_cache[2] = [
153
- createTextVNode("重置", -1)
154
- ])),
155
- _: 1,
156
- __: [2]
157
- }),
158
- createVNode(unref(Button), {
159
- type: "primary",
160
- "html-type": "submit",
161
- onClick: _cache[1] || (_cache[1] = ($event) => emit("search"))
162
- }, {
163
- default: withCtx(() => _cache[3] || (_cache[3] = [
164
- createTextVNode(" 查询 ", -1)
165
- ])),
166
- _: 1,
167
- __: [3]
168
- }),
169
- showExpandToggle.value ? (openBlock(), createBlock(unref(Button), {
170
- key: 0,
171
- type: "link",
172
- class: "expand-toggle-button",
173
- onClick: changeExpandStatus
174
- }, {
175
- default: withCtx(() => [
176
- createTextVNode(toDisplayString(expandStatus.value ? "收起" : "展开") + " ", 1),
177
- createVNode(DownOutlined, {
178
- class: "transition",
179
- style: normalizeStyle([{ "margin-left": "4px" }, { transform: `rotate(${expandStatus.value ? -180 : 0}deg)` }])
180
- }, null, 8, ["style"])
181
- ]),
182
- _: 1
183
- })) : createCommentVNode("", true)
159
+ renderSlot(_ctx.$slots, "reset-button", { onClick: onReset }, () => [
160
+ _ctx.resetButton ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.resetButton), {
161
+ key: 0,
162
+ onClick: onReset
163
+ })) : (openBlock(), createBlock(unref(Button), {
164
+ key: 1,
165
+ onClick: onReset
166
+ }, {
167
+ default: withCtx(() => _cache[0] || (_cache[0] = [
168
+ createTextVNode("重置", -1)
169
+ ])),
170
+ _: 1,
171
+ __: [0]
172
+ }))
173
+ ], true),
174
+ renderSlot(_ctx.$slots, "search-button", { onClick: onSearch }, () => [
175
+ _ctx.searchButton ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.searchButton), {
176
+ key: 0,
177
+ onClick: onSearch
178
+ })) : (openBlock(), createBlock(unref(Button), {
179
+ key: 1,
180
+ type: "primary",
181
+ "html-type": "submit",
182
+ onClick: onSearch
183
+ }, {
184
+ default: withCtx(() => _cache[1] || (_cache[1] = [
185
+ createTextVNode(" 查询 ", -1)
186
+ ])),
187
+ _: 1,
188
+ __: [1]
189
+ }))
190
+ ], true),
191
+ renderSlot(_ctx.$slots, "expand-button", { onClick: changeExpandStatus }, () => [
192
+ showExpandToggle.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
193
+ _ctx.expandButton ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.expandButton), {
194
+ key: 0,
195
+ "expand-status": expandStatus.value,
196
+ onClick: changeExpandStatus
197
+ }, null, 8, ["expand-status"])) : (openBlock(), createBlock(unref(Button), {
198
+ key: 1,
199
+ type: "link",
200
+ class: "expand-toggle-button",
201
+ onClick: changeExpandStatus
202
+ }, {
203
+ default: withCtx(() => [
204
+ createTextVNode(toDisplayString(expandStatus.value ? "收起" : "展开") + " ", 1),
205
+ createVNode(DownOutlined, {
206
+ class: "transition",
207
+ style: normalizeStyle([{ "margin-left": "4px" }, { transform: `rotate(${expandStatus.value ? -180 : 0}deg)` }])
208
+ }, null, 8, ["style"])
209
+ ]),
210
+ _: 1
211
+ }))
212
+ ], 64)) : createCommentVNode("", true)
213
+ ], true)
184
214
  ]),
185
- _: 1
215
+ _: 3
186
216
  })
187
217
  ]),
188
- _: 1
218
+ _: 3
189
219
  }, 16, ["form"]);
190
220
  };
191
221
  }
192
222
  });
193
- const SearchForm = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-107a0198"]]);
223
+ const SearchForm = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-a5f1b551"]]);
194
224
  function useModel(props, name, options) {
195
225
  const eventName = `onUpdate:${name}`;
196
226
  const emitUpdate = props[eventName];
@@ -204,24 +234,38 @@ function useModel(props, name, options) {
204
234
  });
205
235
  return modelValue;
206
236
  }
207
- const _sfc_main$6 = {};
208
- const _hoisted_1$6 = { class: "search-form-container" };
209
- function _sfc_render$3(_ctx, _cache) {
210
- return openBlock(), createElementBlock("div", _hoisted_1$6, [
211
- renderSlot(_ctx.$slots, "default", {}, void 0, true)
212
- ]);
213
- }
214
- const DefaultSearchFormContainer = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$3], ["__scopeId", "data-v-5904d9f4"]]);
215
- const _sfc_main$5 = {};
216
- const _hoisted_1$5 = { class: "table-container" };
217
- function _sfc_render$2(_ctx, _cache) {
218
- return openBlock(), createElementBlock("div", _hoisted_1$5, [
219
- renderSlot(_ctx.$slots, "default", {}, void 0, true)
220
- ]);
221
- }
222
- const DefaultTableContainer = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$2], ["__scopeId", "data-v-f089d734"]]);
237
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
238
+ __name: "DefaultSearchFormContainer",
239
+ setup(__props) {
240
+ const { token } = theme.useToken();
241
+ return (_ctx, _cache) => {
242
+ return openBlock(), createElementBlock("div", {
243
+ class: "search-form-container",
244
+ style: normalizeStyle({ backgroundColor: unref(token).colorBgContainer })
245
+ }, [
246
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
247
+ ], 4);
248
+ };
249
+ }
250
+ });
251
+ const DefaultSearchFormContainer = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-727c8aba"]]);
252
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
253
+ __name: "DefaultTableContainer",
254
+ setup(__props) {
255
+ const { token } = theme.useToken();
256
+ return (_ctx, _cache) => {
257
+ return openBlock(), createElementBlock("div", {
258
+ class: "table-container",
259
+ style: normalizeStyle({ backgroundColor: unref(token).colorBgContainer })
260
+ }, [
261
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
262
+ ], 4);
263
+ };
264
+ }
265
+ });
266
+ const DefaultTableContainer = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-185690a3"]]);
223
267
  const _sfc_main$4 = {};
224
- const _hoisted_1$4 = {
268
+ const _hoisted_1$2 = {
225
269
  focusable: "false",
226
270
  "data-icon": "column-height",
227
271
  width: "1em",
@@ -231,17 +275,20 @@ const _hoisted_1$4 = {
231
275
  viewBox: "64 64 896 896"
232
276
  };
233
277
  function _sfc_render$1(_ctx, _cache) {
234
- return openBlock(), createElementBlock("svg", _hoisted_1$4, _cache[0] || (_cache[0] = [
278
+ return openBlock(), createElementBlock("svg", _hoisted_1$2, _cache[0] || (_cache[0] = [
235
279
  createElementVNode("path", { d: "M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" }, null, -1)
236
280
  ]));
237
281
  }
238
282
  const ColumnHeightOutlined = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$1]]);
239
- const _hoisted_1$3 = { class: "control-icon" };
240
283
  const _sfc_main$3 = /* @__PURE__ */ defineComponent({
241
284
  __name: "SizeControl",
242
285
  setup(__props) {
286
+ var _a;
243
287
  const attrs = useAttrs();
244
- const size = useModel(attrs, "size", { default: "large" });
288
+ const configContext = useConfigContextInject();
289
+ const size = useModel(attrs, "size", {
290
+ default: ((_a = configContext.componentSize) == null ? void 0 : _a.value) ?? "large"
291
+ });
245
292
  const onSizeChange = (val) => {
246
293
  size.value = val.key;
247
294
  };
@@ -264,18 +311,24 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
264
311
  }, null, 8, ["selected-keys", "items"])
265
312
  ]),
266
313
  default: withCtx(() => [
267
- createElementVNode("div", _hoisted_1$3, [
268
- createVNode(ColumnHeightOutlined, { style: { "font-size": "16px" } })
269
- ])
314
+ createVNode(unref(Button), {
315
+ type: "text",
316
+ class: "size-control-button"
317
+ }, {
318
+ default: withCtx(() => [
319
+ createVNode(ColumnHeightOutlined)
320
+ ]),
321
+ _: 1
322
+ })
270
323
  ]),
271
324
  _: 1
272
325
  });
273
326
  };
274
327
  }
275
328
  });
276
- const SizeControl = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-d8e78b5b"]]);
329
+ const SizeControl = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-b7eded53"]]);
277
330
  const _sfc_main$2 = {};
278
- const _hoisted_1$2 = {
331
+ const _hoisted_1$1 = {
279
332
  focusable: "false",
280
333
  "data-icon": "filter",
281
334
  width: "1em",
@@ -285,12 +338,11 @@ const _hoisted_1$2 = {
285
338
  viewBox: "64 64 896 896"
286
339
  };
287
340
  function _sfc_render(_ctx, _cache) {
288
- return openBlock(), createElementBlock("svg", _hoisted_1$2, _cache[0] || (_cache[0] = [
341
+ return openBlock(), createElementBlock("svg", _hoisted_1$1, _cache[0] || (_cache[0] = [
289
342
  createElementVNode("path", { d: "M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 597.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V597.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.4 798H420.6V642h182.9v156zm9.6-236.6l-9.5 16.6h-183l-9.5-16.6L212.7 226h598.6L613 561.4z" }, null, -1)
290
343
  ]));
291
344
  }
292
345
  const FilterOutlined = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render]]);
293
- const _hoisted_1$1 = { class: "control-icon" };
294
346
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
295
347
  __name: "ColumnControl",
296
348
  props: {
@@ -408,16 +460,22 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
408
460
  ])
409
461
  ]),
410
462
  default: withCtx(() => [
411
- createElementVNode("div", _hoisted_1$1, [
412
- createVNode(FilterOutlined, { style: { "font-size": "17px" } })
413
- ])
463
+ createVNode(unref(Button), {
464
+ type: "text",
465
+ class: "column-control-button"
466
+ }, {
467
+ default: withCtx(() => [
468
+ createVNode(FilterOutlined)
469
+ ]),
470
+ _: 1
471
+ })
414
472
  ]),
415
473
  _: 1
416
474
  }, 8, ["open"]);
417
475
  };
418
476
  }
419
477
  });
420
- const ColumnControl = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-f75da747"]]);
478
+ const ColumnControl = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-cdcab425"]]);
421
479
  const _hoisted_1 = { class: "pro-table-header" };
422
480
  const _hoisted_2 = {
423
481
  key: 0,
@@ -427,14 +485,8 @@ const _hoisted_3 = {
427
485
  key: 1,
428
486
  style: { "margin-left": "12px" }
429
487
  };
430
- const _hoisted_4 = {
431
- key: 2,
432
- style: { "margin-left": "12px" }
433
- };
434
- const _hoisted_5 = {
435
- key: 3,
436
- style: { "margin-left": "12px" }
437
- };
488
+ const _hoisted_4 = { key: 2 };
489
+ const _hoisted_5 = { key: 3 };
438
490
  const _sfc_main = /* @__PURE__ */ defineComponent({
439
491
  ...{ name: "ProTable", inheritAttrs: false },
440
492
  __name: "BaseTable",
@@ -623,7 +675,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
623
675
  };
624
676
  }
625
677
  });
626
- const BaseTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-eb2f3860"]]);
678
+ const BaseTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7b0601fa"]]);
627
679
  const getDefaultPageParam = () => ({ current: 1, pageSize: 10, total: 0 });
628
680
  const pageParamProperty = ["current", "pageSize", "total"];
629
681
  const useTable = (params) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qin-ui/antd-vue-pro",
3
- "version": "2.0.10",
3
+ "version": "2.0.11",
4
4
  "description": "二次封装antd vue组件",
5
5
  "type": "module",
6
6
  "module": "es/index.js",