ll-plus 2.8.1 → 2.8.2

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 (44) hide show
  1. package/es/components/table/index.d.ts +27 -0
  2. package/es/components/table/src/components/main-table.vue.d.ts +4 -0
  3. package/es/components/table/src/components/pagination.vue.d.ts +13 -0
  4. package/es/components/table/src/config/main-table.d.ts +2 -1
  5. package/es/components/table/src/config/pagination.d.ts +6 -0
  6. package/es/components/table/src/config/table.d.ts +4 -0
  7. package/es/components/table/src/table.vue.d.ts +27 -0
  8. package/es/packages/components/table/src/components/main-table.vue2.mjs +1 -1
  9. package/es/packages/components/table/src/components/main-table.vue2.mjs.map +1 -1
  10. package/es/packages/components/table/src/components/pagination.vue2.mjs +6 -26
  11. package/es/packages/components/table/src/components/pagination.vue2.mjs.map +1 -1
  12. package/es/packages/components/table/src/config/main-table.mjs +7 -0
  13. package/es/packages/components/table/src/config/main-table.mjs.map +1 -1
  14. package/es/packages/components/table/src/config/pagination.mjs +6 -0
  15. package/es/packages/components/table/src/config/pagination.mjs.map +1 -1
  16. package/index.full.js +21 -39
  17. package/index.full.min.js +25 -2
  18. package/index.full.min.js.map +1 -1
  19. package/index.full.min.mjs +37 -14
  20. package/index.full.min.mjs.map +1 -1
  21. package/index.full.mjs +21 -39
  22. package/lib/components/table/index.d.ts +27 -0
  23. package/lib/components/table/src/components/main-table.vue.d.ts +4 -0
  24. package/lib/components/table/src/components/pagination.vue.d.ts +13 -0
  25. package/lib/components/table/src/config/main-table.d.ts +2 -1
  26. package/lib/components/table/src/config/pagination.d.ts +6 -0
  27. package/lib/components/table/src/config/table.d.ts +4 -0
  28. package/lib/components/table/src/table.vue.d.ts +27 -0
  29. package/lib/packages/components/table/src/components/main-table.vue2.js +1 -1
  30. package/lib/packages/components/table/src/components/main-table.vue2.js.map +1 -1
  31. package/lib/packages/components/table/src/components/pagination.vue2.js +5 -25
  32. package/lib/packages/components/table/src/components/pagination.vue2.js.map +1 -1
  33. package/lib/packages/components/table/src/config/main-table.js +7 -0
  34. package/lib/packages/components/table/src/config/main-table.js.map +1 -1
  35. package/lib/packages/components/table/src/config/pagination.js +6 -0
  36. package/lib/packages/components/table/src/config/pagination.js.map +1 -1
  37. package/package.json +1 -1
  38. package/types/packages/components/table/index.d.ts +27 -0
  39. package/types/packages/components/table/src/components/main-table.vue.d.ts +4 -0
  40. package/types/packages/components/table/src/components/pagination.vue.d.ts +13 -0
  41. package/types/packages/components/table/src/config/main-table.d.ts +2 -1
  42. package/types/packages/components/table/src/config/pagination.d.ts +6 -0
  43. package/types/packages/components/table/src/config/table.d.ts +4 -0
  44. package/types/packages/components/table/src/table.vue.d.ts +27 -0
package/index.full.mjs CHANGED
@@ -75706,6 +75706,13 @@ const mainTableProps = buildProps({
75706
75706
  */
75707
75707
  dragChange: {
75708
75708
  type: Function
75709
+ },
75710
+ /**
75711
+ * @description 操作列的文本
75712
+ */
75713
+ operateText: {
75714
+ type: String,
75715
+ default: "\u64CD\u4F5C"
75709
75716
  }
75710
75717
  });
75711
75718
  const mainTableEmits = {
@@ -75731,6 +75738,12 @@ const tablePaginationProps = buildProps({
75731
75738
  total: {
75732
75739
  type: Number
75733
75740
  },
75741
+ /**
75742
+ * @description 用于显示数据总量和当前数据顺序
75743
+ */
75744
+ showTotal: {
75745
+ type: Function
75746
+ },
75734
75747
  /**
75735
75748
  * @description 页码或 pageSize 改变的回调,参数是改变后的页码及每页条数
75736
75749
  */
@@ -82995,7 +83008,7 @@ var _sfc_main$g = /* @__PURE__ */ defineComponent({
82995
83008
  width = operateWidth;
82996
83009
  }
82997
83010
  newColumns.value.push({
82998
- title: "\u64CD\u4F5C",
83011
+ title: props.operateText,
82999
83012
  dataIndex: "",
83000
83013
  key: "operate",
83001
83014
  maxWidth,
@@ -83557,22 +83570,10 @@ var _sfc_main$f = /* @__PURE__ */ defineComponent({
83557
83570
  const props = __props;
83558
83571
  const attrs = useAttrs();
83559
83572
  const bem = createNamespace("table");
83560
- const current = ref(void 0);
83561
- const max = computed(() => Math.ceil(props.total / props.pageSize));
83573
+ ref(void 0);
83574
+ computed(() => Math.ceil(props.total / props.pageSize));
83562
83575
  const handlePageChange = (page, pageSize) => props.onChange && props.onChange(page, pageSize);
83563
- const handleNumberChange = () => {
83564
- if (current.value === void 0)
83565
- return;
83566
- if (current.value < 1) {
83567
- current.value = 1;
83568
- } else if (current.value > max.value) {
83569
- current.value = max.value;
83570
- }
83571
- handlePageChange(current.value, props.pageSize);
83572
- current.value = void 0;
83573
- };
83574
83576
  return (_ctx, _cache) => {
83575
- const _component_a_input_number = resolveComponent("a-input-number");
83576
83577
  const _component_a_pagination = resolveComponent("a-pagination");
83577
83578
  return openBlock(), createElementBlock(
83578
83579
  "div",
@@ -83580,36 +83581,17 @@ var _sfc_main$f = /* @__PURE__ */ defineComponent({
83580
83581
  class: normalizeClass([unref(bem).e("pagination-box")])
83581
83582
  },
83582
83583
  [
83583
- createElementVNode(
83584
- "div",
83585
- {
83586
- class: normalizeClass([unref(bem).e("pagination-quick-jump")])
83587
- },
83588
- [
83589
- createTextVNode(" \u8DF3\u81F3 "),
83590
- createVNode(_component_a_input_number, {
83591
- value: current.value,
83592
- "onUpdate:value": _cache[0] || (_cache[0] = ($event) => current.value = $event),
83593
- disabled: max.value <= 1,
83594
- class: normalizeClass([unref(bem).e("pagination-input")]),
83595
- size: "small",
83596
- precision: 0,
83597
- controls: false,
83598
- onBlur: handleNumberChange,
83599
- onPressEnter: handleNumberChange
83600
- }, null, 8, ["value", "disabled", "class"]),
83601
- createTextVNode(" \u9875 ")
83602
- ],
83603
- 2
83604
- /* CLASS */
83605
- ),
83584
+ createCommentVNode(' <div :class="[bem.e(\'pagination-quick-jump\')]">\n \u8DF3\u81F3\n <a-input-number\n v-model:value="current"\n :disabled="max <= 1"\n :class="[bem.e(\'pagination-input\')]"\n size="small"\n :precision="0"\n :controls="false"\n @blur="handleNumberChange"\n @press-enter="handleNumberChange"\n />\n \u9875\n </div>\n <a-pagination\n v-bind="attrs"\n :class="`${bem.e(\'pagination\')}`"\n :current="props.current"\n :page-size="props.pageSize"\n :total="props.total"\n show-size-changer\n :show-total="(total: number) => `\u5171 ${total} \u6761`"\n @change="handlePageChange"\n /> '),
83585
+ createCommentVNode(' :show-total="(total: number) => `\u5171 ${total} \u6761`" '),
83586
+ createCommentVNode(' :show-total="(total, range) => showTotal?.(total, range)" '),
83606
83587
  createVNode(_component_a_pagination, mergeProps(unref(attrs), {
83607
83588
  class: `${unref(bem).e("pagination")}`,
83608
83589
  current: props.current,
83609
83590
  "page-size": props.pageSize,
83610
83591
  total: props.total,
83611
83592
  "show-size-changer": "",
83612
- "show-total": (total) => `\u5171 ${total} \u6761`,
83593
+ "show-quick-jumper": "",
83594
+ "show-total": (total, range) => _ctx.showTotal?.(total, range),
83613
83595
  onChange: handlePageChange
83614
83596
  }), null, 16, ["class", "current", "page-size", "total", "show-total"])
83615
83597
  ],
@@ -18,6 +18,7 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
18
18
  readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
19
19
  readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
20
20
  readonly showSetting: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
21
+ readonly operateText: string;
21
22
  } & {
22
23
  readonly change?: Function | undefined;
23
24
  readonly expand?: Function | undefined;
@@ -38,6 +39,7 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
38
39
  readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
39
40
  readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
40
41
  readonly showSetting: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
42
+ readonly operateText: string;
41
43
  } & {
42
44
  readonly change?: Function | undefined;
43
45
  readonly expand?: Function | undefined;
@@ -54,11 +56,13 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
54
56
  readonly total?: number | undefined;
55
57
  readonly current?: number | undefined;
56
58
  readonly pageSize?: number | undefined;
59
+ readonly showTotal?: Function | undefined;
57
60
  }) | (() => import("./src/config").TablePaginationProps) | ((new (...args: any[]) => {} & {
58
61
  readonly onChange?: Function | undefined;
59
62
  readonly total?: number | undefined;
60
63
  readonly current?: number | undefined;
61
64
  readonly pageSize?: number | undefined;
65
+ readonly showTotal?: Function | undefined;
62
66
  }) | (() => import("./src/config").TablePaginationProps))[], unknown, unknown, () => import("ll-plus/es/utils").Mutable<{}>, boolean>;
63
67
  }, {
64
68
  props: import("@vue/shared").LooseRequired<{
@@ -73,6 +77,7 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
73
77
  readonly total?: number | undefined;
74
78
  readonly current?: number | undefined;
75
79
  readonly pageSize?: number | undefined;
80
+ readonly showTotal?: Function | undefined;
76
81
  };
77
82
  } & {}>;
78
83
  originDataSource: import("vue").Ref<any>;
@@ -269,6 +274,7 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
269
274
  readonly validator: ((val: unknown) => boolean) | undefined;
270
275
  __epPropKey: true;
271
276
  };
277
+ readonly operateText: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "操作", boolean>;
272
278
  }, {
273
279
  props: import("@vue/shared").LooseRequired<{
274
280
  readonly columns: import("ant-design-vue").TableColumnProps[];
@@ -280,6 +286,7 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
280
286
  readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
281
287
  readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
282
288
  readonly showSetting: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
289
+ readonly operateText: string;
283
290
  readonly change?: Function | undefined;
284
291
  readonly expand?: Function | undefined;
285
292
  readonly showDrag?: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
@@ -475,6 +482,7 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
475
482
  readonly validator: ((val: unknown) => boolean) | undefined;
476
483
  __epPropKey: true;
477
484
  };
485
+ readonly operateText: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "操作", boolean>;
478
486
  }>> & {
479
487
  onHandleChangeDataSource?: ((dataSource: any[]) => any) | undefined;
480
488
  }, {
@@ -487,6 +495,7 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
487
495
  readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
488
496
  readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
489
497
  readonly showSetting: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
498
+ readonly operateText: string;
490
499
  }, {}>;
491
500
  Pagination: import("vue").DefineComponent<{
492
501
  readonly current: {
@@ -507,6 +516,12 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
507
516
  readonly validator: ((val: unknown) => boolean) | undefined;
508
517
  __epPropKey: true;
509
518
  };
519
+ readonly showTotal: {
520
+ readonly type: import("vue").PropType<Function>;
521
+ readonly required: false;
522
+ readonly validator: ((val: unknown) => boolean) | undefined;
523
+ __epPropKey: true;
524
+ };
510
525
  readonly onChange: {
511
526
  readonly type: import("vue").PropType<Function>;
512
527
  readonly required: false;
@@ -519,6 +534,7 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
519
534
  readonly total?: number | undefined;
520
535
  readonly current?: number | undefined;
521
536
  readonly pageSize?: number | undefined;
537
+ readonly showTotal?: Function | undefined;
522
538
  } & {}>;
523
539
  attrs: {
524
540
  [x: string]: unknown;
@@ -556,6 +572,12 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
556
572
  readonly validator: ((val: unknown) => boolean) | undefined;
557
573
  __epPropKey: true;
558
574
  };
575
+ readonly showTotal: {
576
+ readonly type: import("vue").PropType<Function>;
577
+ readonly required: false;
578
+ readonly validator: ((val: unknown) => boolean) | undefined;
579
+ __epPropKey: true;
580
+ };
559
581
  readonly onChange: {
560
582
  readonly type: import("vue").PropType<Function>;
561
583
  readonly required: false;
@@ -582,6 +604,7 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
582
604
  readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
583
605
  readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
584
606
  readonly showSetting: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
607
+ readonly operateText: string;
585
608
  } & {
586
609
  readonly change?: Function | undefined;
587
610
  readonly expand?: Function | undefined;
@@ -602,6 +625,7 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
602
625
  readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
603
626
  readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
604
627
  readonly showSetting: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
628
+ readonly operateText: string;
605
629
  } & {
606
630
  readonly change?: Function | undefined;
607
631
  readonly expand?: Function | undefined;
@@ -618,11 +642,13 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
618
642
  readonly total?: number | undefined;
619
643
  readonly current?: number | undefined;
620
644
  readonly pageSize?: number | undefined;
645
+ readonly showTotal?: Function | undefined;
621
646
  }) | (() => import("./src/config").TablePaginationProps) | ((new (...args: any[]) => {} & {
622
647
  readonly onChange?: Function | undefined;
623
648
  readonly total?: number | undefined;
624
649
  readonly current?: number | undefined;
625
650
  readonly pageSize?: number | undefined;
651
+ readonly showTotal?: Function | undefined;
626
652
  }) | (() => import("./src/config").TablePaginationProps))[], unknown, unknown, () => import("ll-plus/es/utils").Mutable<{}>, boolean>;
627
653
  }>>, {
628
654
  readonly loading: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
@@ -636,6 +662,7 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
636
662
  readonly total?: number | undefined;
637
663
  readonly current?: number | undefined;
638
664
  readonly pageSize?: number | undefined;
665
+ readonly showTotal?: Function | undefined;
639
666
  };
640
667
  }, {}>>;
641
668
  export default LlTable;
@@ -72,6 +72,7 @@ declare const _default: import("vue").DefineComponent<{
72
72
  readonly validator: ((val: unknown) => boolean) | undefined;
73
73
  __epPropKey: true;
74
74
  };
75
+ readonly operateText: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "操作", boolean>;
75
76
  }, {
76
77
  props: import("@vue/shared").LooseRequired<{
77
78
  readonly columns: import("ant-design-vue").TableColumnProps[];
@@ -83,6 +84,7 @@ declare const _default: import("vue").DefineComponent<{
83
84
  readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
84
85
  readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
85
86
  readonly showSetting: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
87
+ readonly operateText: string;
86
88
  readonly change?: Function | undefined;
87
89
  readonly expand?: Function | undefined;
88
90
  readonly showDrag?: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
@@ -278,6 +280,7 @@ declare const _default: import("vue").DefineComponent<{
278
280
  readonly validator: ((val: unknown) => boolean) | undefined;
279
281
  __epPropKey: true;
280
282
  };
283
+ readonly operateText: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "操作", boolean>;
281
284
  }>> & {
282
285
  onHandleChangeDataSource?: ((dataSource: any[]) => any) | undefined;
283
286
  }, {
@@ -290,5 +293,6 @@ declare const _default: import("vue").DefineComponent<{
290
293
  readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
291
294
  readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
292
295
  readonly showSetting: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
296
+ readonly operateText: string;
293
297
  }, {}>;
294
298
  export default _default;
@@ -17,6 +17,12 @@ declare const _default: import("vue").DefineComponent<{
17
17
  readonly validator: ((val: unknown) => boolean) | undefined;
18
18
  __epPropKey: true;
19
19
  };
20
+ readonly showTotal: {
21
+ readonly type: import("vue").PropType<Function>;
22
+ readonly required: false;
23
+ readonly validator: ((val: unknown) => boolean) | undefined;
24
+ __epPropKey: true;
25
+ };
20
26
  readonly onChange: {
21
27
  readonly type: import("vue").PropType<Function>;
22
28
  readonly required: false;
@@ -29,6 +35,7 @@ declare const _default: import("vue").DefineComponent<{
29
35
  readonly total?: number | undefined;
30
36
  readonly current?: number | undefined;
31
37
  readonly pageSize?: number | undefined;
38
+ readonly showTotal?: Function | undefined;
32
39
  } & {}>;
33
40
  attrs: {
34
41
  [x: string]: unknown;
@@ -66,6 +73,12 @@ declare const _default: import("vue").DefineComponent<{
66
73
  readonly validator: ((val: unknown) => boolean) | undefined;
67
74
  __epPropKey: true;
68
75
  };
76
+ readonly showTotal: {
77
+ readonly type: import("vue").PropType<Function>;
78
+ readonly required: false;
79
+ readonly validator: ((val: unknown) => boolean) | undefined;
80
+ __epPropKey: true;
81
+ };
69
82
  readonly onChange: {
70
83
  readonly type: import("vue").PropType<Function>;
71
84
  readonly required: false;
@@ -1,6 +1,6 @@
1
1
  import MainTable from '../components/main-table.vue';
2
- import type { ExtractPropTypes } from 'vue';
3
2
  import type { TableColumnProps } from 'ant-design-vue';
3
+ import type { ExtractPropTypes } from 'vue';
4
4
  export declare const tableContentType: readonly ["table", "card"];
5
5
  export declare const mainTableProps: {
6
6
  readonly operateWidth: import("ll-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 120, boolean>;
@@ -76,6 +76,7 @@ export declare const mainTableProps: {
76
76
  readonly validator: ((val: unknown) => boolean) | undefined;
77
77
  __epPropKey: true;
78
78
  };
79
+ readonly operateText: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "操作", boolean>;
79
80
  };
80
81
  export declare const mainTableEmits: {
81
82
  handleChangeDataSource: (dataSource: any[]) => boolean;
@@ -19,6 +19,12 @@ export declare const tablePaginationProps: {
19
19
  readonly validator: ((val: unknown) => boolean) | undefined;
20
20
  __epPropKey: true;
21
21
  };
22
+ readonly showTotal: {
23
+ readonly type: import("vue").PropType<Function>;
24
+ readonly required: false;
25
+ readonly validator: ((val: unknown) => boolean) | undefined;
26
+ __epPropKey: true;
27
+ };
22
28
  readonly onChange: {
23
29
  readonly type: import("vue").PropType<Function>;
24
30
  readonly required: false;
@@ -20,6 +20,7 @@ export declare const tableProps: {
20
20
  readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
21
21
  readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
22
22
  readonly showSetting: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
23
+ readonly operateText: string;
23
24
  } & {
24
25
  readonly change?: Function | undefined;
25
26
  readonly expand?: Function | undefined;
@@ -40,6 +41,7 @@ export declare const tableProps: {
40
41
  readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
41
42
  readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
42
43
  readonly showSetting: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
44
+ readonly operateText: string;
43
45
  } & {
44
46
  readonly change?: Function | undefined;
45
47
  readonly expand?: Function | undefined;
@@ -56,11 +58,13 @@ export declare const tableProps: {
56
58
  readonly total?: number | undefined;
57
59
  readonly current?: number | undefined;
58
60
  readonly pageSize?: number | undefined;
61
+ readonly showTotal?: Function | undefined;
59
62
  }) | (() => TablePaginationProps) | ((new (...args: any[]) => {} & {
60
63
  readonly onChange?: Function | undefined;
61
64
  readonly total?: number | undefined;
62
65
  readonly current?: number | undefined;
63
66
  readonly pageSize?: number | undefined;
67
+ readonly showTotal?: Function | undefined;
64
68
  }) | (() => TablePaginationProps))[], unknown, unknown, () => import("ll-plus/es/utils").Mutable<{}>, boolean>;
65
69
  };
66
70
  export declare const HEADER_SRARCH_HEIGHT = 36;
@@ -18,6 +18,7 @@ declare const _default: import("vue").DefineComponent<{
18
18
  readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
19
19
  readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
20
20
  readonly showSetting: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
21
+ readonly operateText: string;
21
22
  } & {
22
23
  readonly change?: Function | undefined;
23
24
  readonly expand?: Function | undefined;
@@ -38,6 +39,7 @@ declare const _default: import("vue").DefineComponent<{
38
39
  readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
39
40
  readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
40
41
  readonly showSetting: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
42
+ readonly operateText: string;
41
43
  } & {
42
44
  readonly change?: Function | undefined;
43
45
  readonly expand?: Function | undefined;
@@ -54,11 +56,13 @@ declare const _default: import("vue").DefineComponent<{
54
56
  readonly total?: number | undefined;
55
57
  readonly current?: number | undefined;
56
58
  readonly pageSize?: number | undefined;
59
+ readonly showTotal?: Function | undefined;
57
60
  }) | (() => import("./config").TablePaginationProps) | ((new (...args: any[]) => {} & {
58
61
  readonly onChange?: Function | undefined;
59
62
  readonly total?: number | undefined;
60
63
  readonly current?: number | undefined;
61
64
  readonly pageSize?: number | undefined;
65
+ readonly showTotal?: Function | undefined;
62
66
  }) | (() => import("./config").TablePaginationProps))[], unknown, unknown, () => import("ll-plus/es/utils").Mutable<{}>, boolean>;
63
67
  }, {
64
68
  props: import("@vue/shared").LooseRequired<{
@@ -73,6 +77,7 @@ declare const _default: import("vue").DefineComponent<{
73
77
  readonly total?: number | undefined;
74
78
  readonly current?: number | undefined;
75
79
  readonly pageSize?: number | undefined;
80
+ readonly showTotal?: Function | undefined;
76
81
  };
77
82
  } & {}>;
78
83
  originDataSource: import("vue").Ref<any>;
@@ -269,6 +274,7 @@ declare const _default: import("vue").DefineComponent<{
269
274
  readonly validator: ((val: unknown) => boolean) | undefined;
270
275
  __epPropKey: true;
271
276
  };
277
+ readonly operateText: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "操作", boolean>;
272
278
  }, {
273
279
  props: import("@vue/shared").LooseRequired<{
274
280
  readonly columns: import("ant-design-vue").TableColumnProps[];
@@ -280,6 +286,7 @@ declare const _default: import("vue").DefineComponent<{
280
286
  readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
281
287
  readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
282
288
  readonly showSetting: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
289
+ readonly operateText: string;
283
290
  readonly change?: Function | undefined;
284
291
  readonly expand?: Function | undefined;
285
292
  readonly showDrag?: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
@@ -475,6 +482,7 @@ declare const _default: import("vue").DefineComponent<{
475
482
  readonly validator: ((val: unknown) => boolean) | undefined;
476
483
  __epPropKey: true;
477
484
  };
485
+ readonly operateText: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "操作", boolean>;
478
486
  }>> & {
479
487
  onHandleChangeDataSource?: ((dataSource: any[]) => any) | undefined;
480
488
  }, {
@@ -487,6 +495,7 @@ declare const _default: import("vue").DefineComponent<{
487
495
  readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
488
496
  readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
489
497
  readonly showSetting: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
498
+ readonly operateText: string;
490
499
  }, {}>;
491
500
  Pagination: import("vue").DefineComponent<{
492
501
  readonly current: {
@@ -507,6 +516,12 @@ declare const _default: import("vue").DefineComponent<{
507
516
  readonly validator: ((val: unknown) => boolean) | undefined;
508
517
  __epPropKey: true;
509
518
  };
519
+ readonly showTotal: {
520
+ readonly type: import("vue").PropType<Function>;
521
+ readonly required: false;
522
+ readonly validator: ((val: unknown) => boolean) | undefined;
523
+ __epPropKey: true;
524
+ };
510
525
  readonly onChange: {
511
526
  readonly type: import("vue").PropType<Function>;
512
527
  readonly required: false;
@@ -519,6 +534,7 @@ declare const _default: import("vue").DefineComponent<{
519
534
  readonly total?: number | undefined;
520
535
  readonly current?: number | undefined;
521
536
  readonly pageSize?: number | undefined;
537
+ readonly showTotal?: Function | undefined;
522
538
  } & {}>;
523
539
  attrs: {
524
540
  [x: string]: unknown;
@@ -556,6 +572,12 @@ declare const _default: import("vue").DefineComponent<{
556
572
  readonly validator: ((val: unknown) => boolean) | undefined;
557
573
  __epPropKey: true;
558
574
  };
575
+ readonly showTotal: {
576
+ readonly type: import("vue").PropType<Function>;
577
+ readonly required: false;
578
+ readonly validator: ((val: unknown) => boolean) | undefined;
579
+ __epPropKey: true;
580
+ };
559
581
  readonly onChange: {
560
582
  readonly type: import("vue").PropType<Function>;
561
583
  readonly required: false;
@@ -582,6 +604,7 @@ declare const _default: import("vue").DefineComponent<{
582
604
  readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
583
605
  readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
584
606
  readonly showSetting: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
607
+ readonly operateText: string;
585
608
  } & {
586
609
  readonly change?: Function | undefined;
587
610
  readonly expand?: Function | undefined;
@@ -602,6 +625,7 @@ declare const _default: import("vue").DefineComponent<{
602
625
  readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
603
626
  readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
604
627
  readonly showSetting: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
628
+ readonly operateText: string;
605
629
  } & {
606
630
  readonly change?: Function | undefined;
607
631
  readonly expand?: Function | undefined;
@@ -618,11 +642,13 @@ declare const _default: import("vue").DefineComponent<{
618
642
  readonly total?: number | undefined;
619
643
  readonly current?: number | undefined;
620
644
  readonly pageSize?: number | undefined;
645
+ readonly showTotal?: Function | undefined;
621
646
  }) | (() => import("./config").TablePaginationProps) | ((new (...args: any[]) => {} & {
622
647
  readonly onChange?: Function | undefined;
623
648
  readonly total?: number | undefined;
624
649
  readonly current?: number | undefined;
625
650
  readonly pageSize?: number | undefined;
651
+ readonly showTotal?: Function | undefined;
626
652
  }) | (() => import("./config").TablePaginationProps))[], unknown, unknown, () => import("ll-plus/es/utils").Mutable<{}>, boolean>;
627
653
  }>>, {
628
654
  readonly loading: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
@@ -636,6 +662,7 @@ declare const _default: import("vue").DefineComponent<{
636
662
  readonly total?: number | undefined;
637
663
  readonly current?: number | undefined;
638
664
  readonly pageSize?: number | undefined;
665
+ readonly showTotal?: Function | undefined;
639
666
  };
640
667
  }, {}>;
641
668
  export default _default;
@@ -53,7 +53,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
53
53
  width = operateWidth;
54
54
  }
55
55
  newColumns.value.push({
56
- title: "\u64CD\u4F5C",
56
+ title: props.operateText,
57
57
  dataIndex: "",
58
58
  key: "operate",
59
59
  maxWidth,