@94ai/nf-table 6.1.6 → 6.1.9
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/lib/nf-table.cjs.js +1 -17
- package/lib/nf-table.esm-bundler.js +1 -17
- package/package/nf-table.vue +1 -13
- package/package.json +9 -9
package/lib/nf-table.cjs.js
CHANGED
|
@@ -7067,23 +7067,7 @@ var _sfc_render = function render3() {
|
|
|
7067
7067
|
"height": _vm.elTableHeight
|
|
7068
7068
|
}
|
|
7069
7069
|
}, "el-table", _vm.tableAttrer, false), _vm.tableEventer), [_vm._l(_vm.tableColumns, function(column) {
|
|
7070
|
-
return [column.type
|
|
7071
|
-
key: column.key || column.prop || column.type,
|
|
7072
|
-
attrs: {
|
|
7073
|
-
"type": column.type,
|
|
7074
|
-
"prop": column.prop,
|
|
7075
|
-
"label": column.label
|
|
7076
|
-
},
|
|
7077
|
-
scopedSlots: _vm._u([{
|
|
7078
|
-
key: "default",
|
|
7079
|
-
fn: function(scope) {
|
|
7080
|
-
return column.slot ? [_vm._t(column.slot, null, {
|
|
7081
|
-
"row": scope.row,
|
|
7082
|
-
"index": scope.$index
|
|
7083
|
-
})] : void 0;
|
|
7084
|
-
}
|
|
7085
|
-
}], null, true)
|
|
7086
|
-
}, "el-table-column", column.attr, false)) : column.type && _vm.isShow(column) ? _c("el-table-column", _vm._b({
|
|
7070
|
+
return [column.type && _vm.isShow(column) ? _c("el-table-column", _vm._b({
|
|
7087
7071
|
key: column.key || column.prop || column.type,
|
|
7088
7072
|
attrs: {
|
|
7089
7073
|
"type": column.type,
|
|
@@ -7065,23 +7065,7 @@ var _sfc_render = function render3() {
|
|
|
7065
7065
|
"height": _vm.elTableHeight
|
|
7066
7066
|
}
|
|
7067
7067
|
}, "el-table", _vm.tableAttrer, false), _vm.tableEventer), [_vm._l(_vm.tableColumns, function(column) {
|
|
7068
|
-
return [column.type
|
|
7069
|
-
key: column.key || column.prop || column.type,
|
|
7070
|
-
attrs: {
|
|
7071
|
-
"type": column.type,
|
|
7072
|
-
"prop": column.prop,
|
|
7073
|
-
"label": column.label
|
|
7074
|
-
},
|
|
7075
|
-
scopedSlots: _vm._u([{
|
|
7076
|
-
key: "default",
|
|
7077
|
-
fn: function(scope) {
|
|
7078
|
-
return column.slot ? [_vm._t(column.slot, null, {
|
|
7079
|
-
"row": scope.row,
|
|
7080
|
-
"index": scope.$index
|
|
7081
|
-
})] : void 0;
|
|
7082
|
-
}
|
|
7083
|
-
}], null, true)
|
|
7084
|
-
}, "el-table-column", column.attr, false)) : column.type && _vm.isShow(column) ? _c("el-table-column", _vm._b({
|
|
7068
|
+
return [column.type && _vm.isShow(column) ? _c("el-table-column", _vm._b({
|
|
7085
7069
|
key: column.key || column.prop || column.type,
|
|
7086
7070
|
attrs: {
|
|
7087
7071
|
"type": column.type,
|
package/package/nf-table.vue
CHANGED
|
@@ -57,19 +57,7 @@
|
|
|
57
57
|
<template v-for="column in tableColumns">
|
|
58
58
|
<!-- 特殊类型,如selection -->
|
|
59
59
|
<el-table-column
|
|
60
|
-
v-if="column.type
|
|
61
|
-
:key="column.key || column.prop || column.type"
|
|
62
|
-
:type="column.type"
|
|
63
|
-
:prop="column.prop"
|
|
64
|
-
:label="column.label"
|
|
65
|
-
v-bind="column.attr"
|
|
66
|
-
>
|
|
67
|
-
<template slot-scope="scope" v-if="column.slot">
|
|
68
|
-
<slot :name="column.slot" :row="scope.row" :index="scope.$index" />
|
|
69
|
-
</template>
|
|
70
|
-
</el-table-column>
|
|
71
|
-
<el-table-column
|
|
72
|
-
v-else-if="column.type && isShow(column)"
|
|
60
|
+
v-if="column.type && isShow(column)"
|
|
73
61
|
:key="column.key || column.prop || column.type"
|
|
74
62
|
:type="column.type"
|
|
75
63
|
:prop="column.prop"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@94ai/nf-table",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.9",
|
|
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.
|
|
18
|
-
"@94ai/nf-button": "^6.1.
|
|
19
|
-
"@94ai/nf-drawer": "^6.1.
|
|
20
|
-
"@94ai/nf-message": "^6.1.
|
|
21
|
-
"@94ai/nf-search-form": "^6.1.
|
|
22
|
-
"@94ai/nf-tag": "^6.1.
|
|
23
|
-
"@94ai/nf-theme-chalk": "^6.1.
|
|
17
|
+
"@94ai/common-utils": "^6.1.9",
|
|
18
|
+
"@94ai/nf-button": "^6.1.9",
|
|
19
|
+
"@94ai/nf-drawer": "^6.1.9",
|
|
20
|
+
"@94ai/nf-message": "^6.1.9",
|
|
21
|
+
"@94ai/nf-search-form": "^6.1.9",
|
|
22
|
+
"@94ai/nf-tag": "^6.1.9",
|
|
23
|
+
"@94ai/nf-theme-chalk": "^6.1.9",
|
|
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": "
|
|
42
|
+
"gitHead": "b323e0bc9c0c83ee7729ce6fc8e1611143f73e09"
|
|
43
43
|
}
|