@94ai/nf-table 3.2.21 → 3.2.24

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.
@@ -6218,7 +6218,7 @@ __sfc_main.setup = (__props, __ctx) => {
6218
6218
  var _a2, _b2;
6219
6219
  const prop = item.prop || ((_a2 = item.attr) == null ? void 0 : _a2.prop);
6220
6220
  if ((_b2 = props.showColumn) == null ? void 0 : _b2.includes(prop)) {
6221
- item.initHidden = true;
6221
+ item.initHidden = false;
6222
6222
  }
6223
6223
  return item.initHidden;
6224
6224
  }).map((item) => {
@@ -6271,9 +6271,9 @@ __sfc_main.setup = (__props, __ctx) => {
6271
6271
  var _a3, _b2;
6272
6272
  const prop = item.prop || ((_a3 = item.attr) == null ? void 0 : _a3.prop);
6273
6273
  if ((_b2 = localShowColumn.value) == null ? void 0 : _b2.includes(prop)) {
6274
- item.initHidden = true;
6275
- } else {
6276
6274
  item.initHidden = false;
6275
+ } else {
6276
+ item.initHidden = true;
6277
6277
  }
6278
6278
  });
6279
6279
  }
@@ -6216,7 +6216,7 @@ __sfc_main.setup = (__props, __ctx) => {
6216
6216
  var _a2, _b2;
6217
6217
  const prop = item.prop || ((_a2 = item.attr) == null ? void 0 : _a2.prop);
6218
6218
  if ((_b2 = props.showColumn) == null ? void 0 : _b2.includes(prop)) {
6219
- item.initHidden = true;
6219
+ item.initHidden = false;
6220
6220
  }
6221
6221
  return item.initHidden;
6222
6222
  }).map((item) => {
@@ -6269,9 +6269,9 @@ __sfc_main.setup = (__props, __ctx) => {
6269
6269
  var _a3, _b2;
6270
6270
  const prop = item.prop || ((_a3 = item.attr) == null ? void 0 : _a3.prop);
6271
6271
  if ((_b2 = localShowColumn.value) == null ? void 0 : _b2.includes(prop)) {
6272
- item.initHidden = true;
6273
- } else {
6274
6272
  item.initHidden = false;
6273
+ } else {
6274
+ item.initHidden = true;
6275
6275
  }
6276
6276
  });
6277
6277
  }
@@ -806,7 +806,7 @@ const initLocalShow = () => {
806
806
  return props.columns.filter(item => {
807
807
  const prop = item.prop || item.attr?.prop
808
808
  if (props.showColumn?.includes(prop!)) {
809
- item.initHidden = true
809
+ item.initHidden = false
810
810
  }
811
811
  return item.initHidden
812
812
  }).map(item => item.prop! || item.attr?.prop!)
@@ -852,9 +852,9 @@ const syncCookiesToLocalShowColumn = () => {
852
852
  props.columns.forEach(item => {
853
853
  const prop = item.prop || item.attr?.prop
854
854
  if (localShowColumn.value?.includes(prop!)) {
855
- item.initHidden = true
856
- } else {
857
855
  item.initHidden = false
856
+ } else {
857
+ item.initHidden = true
858
858
  }
859
859
  })
860
860
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@94ai/nf-table",
3
- "version": "3.2.21",
3
+ "version": "3.2.24",
4
4
  "description": "> TODO: description",
5
5
  "keywords": [],
6
6
  "author": "zoujiahe <zoujiahe@94ai.com>",
@@ -14,10 +14,10 @@
14
14
  "url": "http://94ai.gitlab.com/zoujiahe/common-ui.git"
15
15
  },
16
16
  "dependencies": {
17
- "@94ai/nf-drawer": "^3.2.21",
18
- "@94ai/nf-message": "^3.2.21",
19
- "@94ai/nf-search-form": "^3.2.21",
20
- "@94ai/nf-theme-chalk": "^3.2.21",
17
+ "@94ai/nf-drawer": "^3.2.24",
18
+ "@94ai/nf-message": "^3.2.24",
19
+ "@94ai/nf-search-form": "^3.2.24",
20
+ "@94ai/nf-theme-chalk": "^3.2.24",
21
21
  "vue-cookies": "^1.8.3",
22
22
  "vue-demi": "^0.14.5",
23
23
  "vuedraggable": "^2.24.3"
@@ -35,5 +35,5 @@
35
35
  "types": "lib/index.d.ts",
36
36
  "main": "lib/nf-table.cjs.js",
37
37
  "module": "lib/nf-table.esm-bundler.js",
38
- "gitHead": "8da3362ffe37c1c3114c8bca6c0fe24ac21c0c78"
38
+ "gitHead": "6f56dd9554a2ac9db9a7107ef8b8698dfa5f51b7"
39
39
  }