@94ai/nf-table 6.1.16 → 6.1.18

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.
@@ -6246,8 +6246,8 @@ __sfc_main.setup = (__props, __ctx) => {
6246
6246
  }
6247
6247
  return column.operationList || [];
6248
6248
  };
6249
- const showOperationBtn = (destoryState, scope) => {
6250
- return typeof destoryState === "function" ? !destoryState(scope.row) : !destoryState;
6249
+ const showOperationBtn = (destroyState, scope) => {
6250
+ return typeof destroyState === "function" ? !destroyState(scope.row) : !destroyState;
6251
6251
  };
6252
6252
  const routeName = vueDemi.computed(() => useRoute().name);
6253
6253
  const instance = (_a = vueDemi.getCurrentInstance()) == null ? void 0 : _a.proxy;
@@ -7170,7 +7170,7 @@ var _sfc_render = function render3() {
7170
7170
  "unique": scope.index
7171
7171
  }
7172
7172
  }, [_vm._l(_vm.getOperationListLocal(column, scope), function(item, index2) {
7173
- return [_vm.showOperationBtn(item.destory, scope) ? _c("nf-button", {
7173
+ return [_vm.showOperationBtn(item.destroy, scope) ? _c("nf-button", {
7174
7174
  key: item.key || index2,
7175
7175
  class: item.class,
7176
7176
  style: item.style,
@@ -6244,8 +6244,8 @@ __sfc_main.setup = (__props, __ctx) => {
6244
6244
  }
6245
6245
  return column.operationList || [];
6246
6246
  };
6247
- const showOperationBtn = (destoryState, scope) => {
6248
- return typeof destoryState === "function" ? !destoryState(scope.row) : !destoryState;
6247
+ const showOperationBtn = (destroyState, scope) => {
6248
+ return typeof destroyState === "function" ? !destroyState(scope.row) : !destroyState;
6249
6249
  };
6250
6250
  const routeName = computed(() => useRoute().name);
6251
6251
  const instance = (_a = getCurrentInstance()) == null ? void 0 : _a.proxy;
@@ -7168,7 +7168,7 @@ var _sfc_render = function render3() {
7168
7168
  "unique": scope.index
7169
7169
  }
7170
7170
  }, [_vm._l(_vm.getOperationListLocal(column, scope), function(item, index2) {
7171
- return [_vm.showOperationBtn(item.destory, scope) ? _c("nf-button", {
7171
+ return [_vm.showOperationBtn(item.destroy, scope) ? _c("nf-button", {
7172
7172
  key: item.key || index2,
7173
7173
  class: item.class,
7174
7174
  style: item.style,
@@ -151,7 +151,7 @@
151
151
  >
152
152
  <template v-for="(item, index) in getOperationListLocal(column, scope)">
153
153
  <nf-button
154
- v-if="showOperationBtn(item.destory, scope)"
154
+ v-if="showOperationBtn(item.destroy, scope)"
155
155
  :size="item.size || 'mini'"
156
156
  :type="item.type || 'primary'"
157
157
  :text="typeof item.text === undefined ? item.text : true"
@@ -831,8 +831,8 @@ const getOperationListLocal = (column, scope) => {
831
831
  }
832
832
  return column.operationList || []
833
833
  }
834
- const showOperationBtn = (destoryState, scope) => {
835
- return typeof destoryState === 'function' ? !destoryState(scope.row) : !destoryState
834
+ const showOperationBtn = (destroyState, scope) => {
835
+ return typeof destroyState === 'function' ? !destroyState(scope.row) : !destroyState
836
836
  }
837
837
 
838
838
  const routeName = computed(() => useRoute().name)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@94ai/nf-table",
3
- "version": "6.1.16",
3
+ "version": "6.1.18",
4
4
  "description": "> TODO: description",
5
5
  "keywords": [],
6
6
  "author": "zoujiahe <zoujiahe@94ai.com>",
@@ -14,13 +14,13 @@
14
14
  "url": "http://94ai.gitlab.com/zoujiahe/common-ui.git"
15
15
  },
16
16
  "dependencies": {
17
- "@94ai/common-utils": "^6.1.16",
18
- "@94ai/nf-button": "^6.1.16",
19
- "@94ai/nf-drawer": "^6.1.16",
20
- "@94ai/nf-message": "^6.1.16",
21
- "@94ai/nf-search-form": "^6.1.16",
22
- "@94ai/nf-tag": "^6.1.16",
23
- "@94ai/nf-theme-chalk": "^6.1.16",
17
+ "@94ai/common-utils": "^6.1.18",
18
+ "@94ai/nf-button": "^6.1.18",
19
+ "@94ai/nf-drawer": "^6.1.18",
20
+ "@94ai/nf-message": "^6.1.18",
21
+ "@94ai/nf-search-form": "^6.1.18",
22
+ "@94ai/nf-tag": "^6.1.18",
23
+ "@94ai/nf-theme-chalk": "^6.1.18",
24
24
  "idb-keyval": "^6.2.1",
25
25
  "vue-demi": "^0.14.5",
26
26
  "vue-router": "3.6.4",
@@ -39,5 +39,5 @@
39
39
  "types": "lib/index.d.ts",
40
40
  "main": "lib/nf-table.cjs.js",
41
41
  "module": "lib/nf-table.esm-bundler.js",
42
- "gitHead": "b1a4b1b5b079903cbbafd61f72876fc0ab873421"
42
+ "gitHead": "ef9ab40a6f84c41fb25e3466321bec9989af191b"
43
43
  }