@94ai/nf-table 3.2.1 → 3.2.4

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.
@@ -597,7 +597,7 @@ __sfc_main.setup = (__props, __ctx) => {
597
597
  },
598
598
  resizable: true,
599
599
  border: true,
600
- ...JSON.parse(JSON.stringify(props.tableAttrs))
600
+ ...props.tableAttrs
601
601
  };
602
602
  delete obj.data;
603
603
  return obj;
@@ -635,7 +635,7 @@ __sfc_main.setup = (__props, __ctx) => {
635
635
  var _a2;
636
636
  return {
637
637
  background: false,
638
- layout: "total, sizes, prev, pager, next",
638
+ layout: "total, sizes, prev, pager, next, jumper",
639
639
  "page-sizes": pageSizes.value,
640
640
  total: typeof props.pageAttrs.total === "undefined" ? (_a2 = props.data) == null ? void 0 : _a2.length : void 0,
641
641
  ...props.pageAttrs
@@ -595,7 +595,7 @@ __sfc_main.setup = (__props, __ctx) => {
595
595
  },
596
596
  resizable: true,
597
597
  border: true,
598
- ...JSON.parse(JSON.stringify(props.tableAttrs))
598
+ ...props.tableAttrs
599
599
  };
600
600
  delete obj.data;
601
601
  return obj;
@@ -633,7 +633,7 @@ __sfc_main.setup = (__props, __ctx) => {
633
633
  var _a2;
634
634
  return {
635
635
  background: false,
636
- layout: "total, sizes, prev, pager, next",
636
+ layout: "total, sizes, prev, pager, next, jumper",
637
637
  "page-sizes": pageSizes.value,
638
638
  total: typeof props.pageAttrs.total === "undefined" ? (_a2 = props.data) == null ? void 0 : _a2.length : void 0,
639
639
  ...props.pageAttrs
@@ -653,7 +653,7 @@ const tableAttrer = computed(() => {
653
653
  'cell-style':{'text-align':'center'},
654
654
  resizable: true,
655
655
  border: true,
656
- ...JSON.parse(JSON.stringify(props.tableAttrs))
656
+ ...props.tableAttrs
657
657
  }
658
658
  delete obj.data
659
659
  return obj
@@ -696,7 +696,7 @@ initPageSizes()
696
696
  const pageAttrer = computed(() => {
697
697
  return {
698
698
  background: false,
699
- layout: 'total, sizes, prev, pager, next',
699
+ layout: 'total, sizes, prev, pager, next, jumper',
700
700
  'page-sizes': pageSizes.value,
701
701
  total: typeof props.pageAttrs.total === 'undefined' ? props.data?.length : undefined,
702
702
  ...props.pageAttrs
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@94ai/nf-table",
3
- "version": "3.2.1",
3
+ "version": "3.2.4",
4
4
  "description": "> TODO: description",
5
5
  "keywords": [],
6
6
  "author": "zoujiahe <zoujiahe@94ai.com>",
@@ -14,8 +14,8 @@
14
14
  "url": "http://94ai.gitlab.com/zoujiahe/common-ui.git"
15
15
  },
16
16
  "dependencies": {
17
- "@94ai/nf-search-form": "^3.2.1",
18
- "@94ai/nf-theme-chalk": "^3.2.1",
17
+ "@94ai/nf-search-form": "^3.2.4",
18
+ "@94ai/nf-theme-chalk": "^3.2.4",
19
19
  "vue-demi": "^0.14.5"
20
20
  },
21
21
  "peerDependenciesMeta": {
@@ -31,5 +31,5 @@
31
31
  "types": "lib/index.d.ts",
32
32
  "main": "lib/nf-table.cjs.js",
33
33
  "module": "lib/nf-table.esm-bundler.js",
34
- "gitHead": "11982223f5cb675e3f7c21f01538b2d03f52e28c"
34
+ "gitHead": "9518f3ee1354378e844b825d6d850d18ec14f71a"
35
35
  }