@ftjs/core 2.0.0 → 2.0.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.
package/dist/index.js CHANGED
@@ -595,6 +595,9 @@ const zhCN = {
595
595
  datePicker: {
596
596
  startTime: "开始时间",
597
597
  endTime: "结束时间"
598
+ },
599
+ table: {
600
+ paginationTotal: (total) => `共 ${total} 条`
598
601
  }
599
602
  };
600
603
  const enUS = {
@@ -618,6 +621,9 @@ const enUS = {
618
621
  datePicker: {
619
622
  startTime: "Start Time",
620
623
  endTime: "End Time"
624
+ },
625
+ table: {
626
+ paginationTotal: (total) => `${total} total`
621
627
  }
622
628
  };
623
629
  const currentLocale = shallowRef(zhCN);
@@ -36,6 +36,10 @@ export interface FtLocale {
36
36
  /** 结束时间 */
37
37
  endTime: string;
38
38
  };
39
+ table: {
40
+ /** 分页总数文本 */
41
+ paginationTotal: (total: number) => string;
42
+ };
39
43
  }
40
44
  /**
41
45
  * 简体中文 locale
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ftjs/core",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "keywords": [],
5
5
  "author": "",
6
6
  "license": "MIT",