@94ai/nf-table 100.1.31 → 100.1.32
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
CHANGED
|
@@ -290,7 +290,7 @@ var _sfc_render$3 = function render() {
|
|
|
290
290
|
}), 0), _vm._t("footer", function() {
|
|
291
291
|
return [_c("div", {
|
|
292
292
|
staticClass: "nf-table-nf-column-check-dialog-button-container"
|
|
293
|
-
}, [_c("
|
|
293
|
+
}, [_c("nf-button", {
|
|
294
294
|
staticClass: "nf-table-nf-column-check-dialog-button-cancel",
|
|
295
295
|
attrs: {
|
|
296
296
|
"size": "mini"
|
|
@@ -300,7 +300,7 @@ var _sfc_render$3 = function render() {
|
|
|
300
300
|
_vm.visible = false;
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
|
-
}, [_vm._v(_vm._s(_vm.cancelText))]), _c("
|
|
303
|
+
}, [_vm._v(_vm._s(_vm.cancelText))]), _c("nf-button", {
|
|
304
304
|
staticClass: "nf-table-nf-column-check-dialog-button-confirm",
|
|
305
305
|
attrs: {
|
|
306
306
|
"type": "primary",
|
|
@@ -6795,7 +6795,7 @@ var _sfc_render = function render3() {
|
|
|
6795
6795
|
ref: "nfTableContent",
|
|
6796
6796
|
staticClass: "nf-table-content"
|
|
6797
6797
|
}, [_vm.columnEdit && _vm.columnPosition === "free" ? _vm._t("columnEdit", function() {
|
|
6798
|
-
return [_c("
|
|
6798
|
+
return [_c("nf-button", {
|
|
6799
6799
|
class: (_vm.columnDisplayBtnClass || "") + " nf-column-display",
|
|
6800
6800
|
attrs: {
|
|
6801
6801
|
"type": _vm.columnDisplayBtnType,
|
|
@@ -6911,7 +6911,7 @@ var _sfc_render = function render3() {
|
|
|
6911
6911
|
"row": scope.row,
|
|
6912
6912
|
"index": scope.$index
|
|
6913
6913
|
}) : [column.prop === _vm.operationPropKey && !_vm.hasOperationSlot ? _vm._l(column.operationList, function(item, index2) {
|
|
6914
|
-
return _c("
|
|
6914
|
+
return _c("nf-button", _vm._g({
|
|
6915
6915
|
key: item.key || index2,
|
|
6916
6916
|
class: item.class,
|
|
6917
6917
|
style: item.style,
|
|
@@ -6952,7 +6952,7 @@ var _sfc_render = function render3() {
|
|
|
6952
6952
|
var _a2;
|
|
6953
6953
|
return [((_a2 = _vm.actionBarOptList) == null ? void 0 : _a2.length) && !_vm.hasActionBarSlot ? [_vm._l(_vm.actionBarOptList, function(item, index2) {
|
|
6954
6954
|
var _a3, _b2, _c2, _d, _e, _f, _g, _h, _i, _j;
|
|
6955
|
-
return [item.element === "el-button" ? _c("
|
|
6955
|
+
return [item.element === "el-button" ? _c("nf-button", _vm._g({
|
|
6956
6956
|
key: item.key || index2,
|
|
6957
6957
|
class: item.class,
|
|
6958
6958
|
style: {
|
|
@@ -288,7 +288,7 @@ var _sfc_render$3 = function render() {
|
|
|
288
288
|
}), 0), _vm._t("footer", function() {
|
|
289
289
|
return [_c("div", {
|
|
290
290
|
staticClass: "nf-table-nf-column-check-dialog-button-container"
|
|
291
|
-
}, [_c("
|
|
291
|
+
}, [_c("nf-button", {
|
|
292
292
|
staticClass: "nf-table-nf-column-check-dialog-button-cancel",
|
|
293
293
|
attrs: {
|
|
294
294
|
"size": "mini"
|
|
@@ -298,7 +298,7 @@ var _sfc_render$3 = function render() {
|
|
|
298
298
|
_vm.visible = false;
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
|
-
}, [_vm._v(_vm._s(_vm.cancelText))]), _c("
|
|
301
|
+
}, [_vm._v(_vm._s(_vm.cancelText))]), _c("nf-button", {
|
|
302
302
|
staticClass: "nf-table-nf-column-check-dialog-button-confirm",
|
|
303
303
|
attrs: {
|
|
304
304
|
"type": "primary",
|
|
@@ -6793,7 +6793,7 @@ var _sfc_render = function render3() {
|
|
|
6793
6793
|
ref: "nfTableContent",
|
|
6794
6794
|
staticClass: "nf-table-content"
|
|
6795
6795
|
}, [_vm.columnEdit && _vm.columnPosition === "free" ? _vm._t("columnEdit", function() {
|
|
6796
|
-
return [_c("
|
|
6796
|
+
return [_c("nf-button", {
|
|
6797
6797
|
class: (_vm.columnDisplayBtnClass || "") + " nf-column-display",
|
|
6798
6798
|
attrs: {
|
|
6799
6799
|
"type": _vm.columnDisplayBtnType,
|
|
@@ -6909,7 +6909,7 @@ var _sfc_render = function render3() {
|
|
|
6909
6909
|
"row": scope.row,
|
|
6910
6910
|
"index": scope.$index
|
|
6911
6911
|
}) : [column.prop === _vm.operationPropKey && !_vm.hasOperationSlot ? _vm._l(column.operationList, function(item, index2) {
|
|
6912
|
-
return _c("
|
|
6912
|
+
return _c("nf-button", _vm._g({
|
|
6913
6913
|
key: item.key || index2,
|
|
6914
6914
|
class: item.class,
|
|
6915
6915
|
style: item.style,
|
|
@@ -6950,7 +6950,7 @@ var _sfc_render = function render3() {
|
|
|
6950
6950
|
var _a2;
|
|
6951
6951
|
return [((_a2 = _vm.actionBarOptList) == null ? void 0 : _a2.length) && !_vm.hasActionBarSlot ? [_vm._l(_vm.actionBarOptList, function(item, index2) {
|
|
6952
6952
|
var _a3, _b2, _c2, _d, _e, _f, _g, _h, _i, _j;
|
|
6953
|
-
return [item.element === "el-button" ? _c("
|
|
6953
|
+
return [item.element === "el-button" ? _c("nf-button", _vm._g({
|
|
6954
6954
|
key: item.key || index2,
|
|
6955
6955
|
class: item.class,
|
|
6956
6956
|
style: {
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
</div>
|
|
38
38
|
<slot slot="footer" name="footer">
|
|
39
39
|
<div class="nf-table-nf-column-check-dialog-button-container">
|
|
40
|
-
<
|
|
41
|
-
<
|
|
40
|
+
<nf-button size="mini" @click="visible=false" class="nf-table-nf-column-check-dialog-button-cancel">{{ cancelText }}</nf-button>
|
|
41
|
+
<nf-button type="primary" size="mini" @click="submit" class="nf-table-nf-column-check-dialog-button-confirm">{{ confirmText }}</nf-button>
|
|
42
42
|
</div>
|
|
43
43
|
</slot>
|
|
44
44
|
</el-dialog>
|
package/package/nf-table.vue
CHANGED
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
</slot>
|
|
28
28
|
<div class="nf-table-content" ref="nfTableContent">
|
|
29
29
|
<slot name="columnEdit" v-if="columnEdit && columnPosition === 'free'">
|
|
30
|
-
<
|
|
30
|
+
<nf-button @click="nfColumCheckDialogVisible = true"
|
|
31
31
|
:class="(columnDisplayBtnClass || '') + ' nf-column-display'"
|
|
32
32
|
:type="columnDisplayBtnType"
|
|
33
33
|
:plain="columnDisplayBtnPlain"
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
:disabled="columnDisplayBtnDisabled"
|
|
40
40
|
>
|
|
41
41
|
{{ columnDisplayBtnText }}
|
|
42
|
-
</
|
|
42
|
+
</nf-button>
|
|
43
43
|
</slot>
|
|
44
44
|
<el-table
|
|
45
45
|
ref="elTableRef"
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
<slot v-if="column.slot" :name="column.slot" :row="scope.row" :index="scope.$index" />
|
|
117
117
|
<template v-else>
|
|
118
118
|
<template v-if="column.prop === operationPropKey && !hasOperationSlot">
|
|
119
|
-
<
|
|
119
|
+
<nf-button
|
|
120
120
|
:size="item.size || 'mini'"
|
|
121
121
|
:type="item.type || 'text'"
|
|
122
122
|
:disabled="item.disabled"
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
v-on="item.events"
|
|
132
132
|
:key="item.key || index"
|
|
133
133
|
>{{ item.text }}
|
|
134
|
-
</
|
|
134
|
+
</nf-button>
|
|
135
135
|
</template>
|
|
136
136
|
<span v-else>{{ scope.row[column.prop] }}</span>
|
|
137
137
|
</template>
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
<slot name="actionBar" ref="nfTableActionBarRef">
|
|
151
151
|
<template v-if="actionBarOptList?.length && !hasActionBarSlot">
|
|
152
152
|
<template v-for="(item, index) in actionBarOptList">
|
|
153
|
-
<
|
|
153
|
+
<nf-button
|
|
154
154
|
:key="item.key || index"
|
|
155
155
|
v-if="item.element === 'el-button'"
|
|
156
156
|
:size="item.size || 'mini'"
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
:style="{...(item.style || {}), marginRight: '10px'}"
|
|
166
166
|
v-on="item.events"
|
|
167
167
|
>{{ item.value }}
|
|
168
|
-
</
|
|
168
|
+
</nf-button>
|
|
169
169
|
<el-checkbox
|
|
170
170
|
:key="item.key || index"
|
|
171
171
|
v-model="item.value"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@94ai/nf-table",
|
|
3
|
-
"version": "100.1.
|
|
3
|
+
"version": "100.1.32",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "zoujiahe <zoujiahe@94ai.com>",
|
|
@@ -14,11 +14,12 @@
|
|
|
14
14
|
"url": "http://94ai.gitlab.com/zoujiahe/common-ui.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@94ai/common-utils": "^100.1.
|
|
18
|
-
"@94ai/nf-
|
|
19
|
-
"@94ai/nf-
|
|
20
|
-
"@94ai/nf-
|
|
21
|
-
"@94ai/nf-
|
|
17
|
+
"@94ai/common-utils": "^100.1.32",
|
|
18
|
+
"@94ai/nf-button": "^100.1.32",
|
|
19
|
+
"@94ai/nf-drawer": "^100.1.32",
|
|
20
|
+
"@94ai/nf-message": "^100.1.32",
|
|
21
|
+
"@94ai/nf-search-form": "^100.1.32",
|
|
22
|
+
"@94ai/nf-theme-chalk": "^100.1.32",
|
|
22
23
|
"idb-keyval": "^6.2.1",
|
|
23
24
|
"vue-demi": "^0.14.5",
|
|
24
25
|
"vuedraggable": "^2.24.3"
|
|
@@ -36,5 +37,5 @@
|
|
|
36
37
|
"types": "lib/index.d.ts",
|
|
37
38
|
"main": "lib/nf-table.cjs.js",
|
|
38
39
|
"module": "lib/nf-table.esm-bundler.js",
|
|
39
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "790349805e1e9cc30983feedbb3ca69cb7dccfaf"
|
|
40
41
|
}
|