@94ai/nf-table 100.1.45 → 100.1.46
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/index.d.ts +90 -118
- package/lib/nf-column-check-dialog.vue.d.ts +9 -0
- package/lib/nf-column-check-drawer.vue.d.ts +12 -12
- package/lib/nf-table.cjs.js +69 -75
- package/lib/nf-table.esm-bundler.js +69 -75
- package/lib/nf-table.vue.d.ts +31 -41
- package/package/nf-column-check-dialog.vue +6 -1
- package/package/nf-column-check-drawer.vue +17 -14
- package/package/nf-table.vue +36 -26
- package/package.json +8 -8
package/lib/nf-table.cjs.js
CHANGED
|
@@ -57,6 +57,12 @@ __sfc_main$2.props = {
|
|
|
57
57
|
type: String,
|
|
58
58
|
default: "取 消"
|
|
59
59
|
},
|
|
60
|
+
basicFieldDesc: {
|
|
61
|
+
key: "basicFieldDesc",
|
|
62
|
+
required: false,
|
|
63
|
+
type: String,
|
|
64
|
+
default: "基础字段"
|
|
65
|
+
},
|
|
60
66
|
tableColumns: {
|
|
61
67
|
key: "tableColumns",
|
|
62
68
|
required: false,
|
|
@@ -161,7 +167,7 @@ __sfc_main$2.setup = (__props, __ctx) => {
|
|
|
161
167
|
const obj = {};
|
|
162
168
|
props.tableColumns.filter((item) => !item.destory).map((item) => {
|
|
163
169
|
if (!item.type) {
|
|
164
|
-
const key = item.category ||
|
|
170
|
+
const key = item.category || props.basicFieldDesc;
|
|
165
171
|
if (!obj[key]) {
|
|
166
172
|
obj[key] = [];
|
|
167
173
|
}
|
|
@@ -5250,36 +5256,6 @@ const __sfc_main$1 = vueDemi.defineComponent({
|
|
|
5250
5256
|
name: "NfColumnCheckDrawer"
|
|
5251
5257
|
});
|
|
5252
5258
|
__sfc_main$1.props = {
|
|
5253
|
-
selectEmptyWarningTips: {
|
|
5254
|
-
key: "selectEmptyWarningTips",
|
|
5255
|
-
required: false,
|
|
5256
|
-
type: String,
|
|
5257
|
-
default: "请选择至少一个选项"
|
|
5258
|
-
},
|
|
5259
|
-
tableColumns: {
|
|
5260
|
-
key: "tableColumns",
|
|
5261
|
-
required: false,
|
|
5262
|
-
type: Array,
|
|
5263
|
-
default: () => []
|
|
5264
|
-
},
|
|
5265
|
-
storageKey: {
|
|
5266
|
-
key: "storageKey",
|
|
5267
|
-
required: false,
|
|
5268
|
-
type: String,
|
|
5269
|
-
default: "nf-table-columns-cached-key"
|
|
5270
|
-
},
|
|
5271
|
-
operationPropKey: {
|
|
5272
|
-
key: "operationPropKey",
|
|
5273
|
-
required: false,
|
|
5274
|
-
type: String,
|
|
5275
|
-
default: "operation"
|
|
5276
|
-
},
|
|
5277
|
-
columnEdit: {
|
|
5278
|
-
key: "columnEdit",
|
|
5279
|
-
required: false,
|
|
5280
|
-
type: Boolean,
|
|
5281
|
-
default: false
|
|
5282
|
-
},
|
|
5283
5259
|
searchPlaceholder: {
|
|
5284
5260
|
key: "searchPlaceholder",
|
|
5285
5261
|
required: false,
|
|
@@ -5310,6 +5286,12 @@ __sfc_main$1.props = {
|
|
|
5310
5286
|
type: String,
|
|
5311
5287
|
default: "基础字段"
|
|
5312
5288
|
},
|
|
5289
|
+
selectEmptyWarningTips: {
|
|
5290
|
+
key: "selectEmptyWarningTips",
|
|
5291
|
+
required: false,
|
|
5292
|
+
type: String,
|
|
5293
|
+
default: "请选择至少一个选项"
|
|
5294
|
+
},
|
|
5313
5295
|
getCheckedLengthDesc: {
|
|
5314
5296
|
key: "getCheckedLengthDesc",
|
|
5315
5297
|
required: false,
|
|
@@ -5321,6 +5303,30 @@ __sfc_main$1.props = {
|
|
|
5321
5303
|
required: false,
|
|
5322
5304
|
type: Function,
|
|
5323
5305
|
default: (length) => "全选(" + length + ")"
|
|
5306
|
+
},
|
|
5307
|
+
columnEdit: {
|
|
5308
|
+
key: "columnEdit",
|
|
5309
|
+
required: false,
|
|
5310
|
+
type: Boolean,
|
|
5311
|
+
default: false
|
|
5312
|
+
},
|
|
5313
|
+
tableColumns: {
|
|
5314
|
+
key: "tableColumns",
|
|
5315
|
+
required: false,
|
|
5316
|
+
type: Array,
|
|
5317
|
+
default: () => []
|
|
5318
|
+
},
|
|
5319
|
+
storageKey: {
|
|
5320
|
+
key: "storageKey",
|
|
5321
|
+
required: false,
|
|
5322
|
+
type: String,
|
|
5323
|
+
default: "nf-table-columns-cached-key"
|
|
5324
|
+
},
|
|
5325
|
+
operationPropKey: {
|
|
5326
|
+
key: "operationPropKey",
|
|
5327
|
+
required: false,
|
|
5328
|
+
type: String,
|
|
5329
|
+
default: "operation"
|
|
5324
5330
|
}
|
|
5325
5331
|
};
|
|
5326
5332
|
__sfc_main$1.setup = (__props, __ctx) => {
|
|
@@ -5771,18 +5777,6 @@ const __sfc_main = vueDemi.defineComponent({
|
|
|
5771
5777
|
name: "nf-table"
|
|
5772
5778
|
});
|
|
5773
5779
|
__sfc_main.props = {
|
|
5774
|
-
dragCached: {
|
|
5775
|
-
key: "dragCached",
|
|
5776
|
-
required: false,
|
|
5777
|
-
type: Boolean,
|
|
5778
|
-
default: true
|
|
5779
|
-
},
|
|
5780
|
-
emptyImageSize: {
|
|
5781
|
-
key: "emptyImageSize",
|
|
5782
|
-
required: false,
|
|
5783
|
-
type: Number,
|
|
5784
|
-
default: 145
|
|
5785
|
-
},
|
|
5786
5780
|
data: {
|
|
5787
5781
|
key: "data",
|
|
5788
5782
|
required: false,
|
|
@@ -5837,6 +5831,18 @@ __sfc_main.props = {
|
|
|
5837
5831
|
type: Array,
|
|
5838
5832
|
default: () => []
|
|
5839
5833
|
},
|
|
5834
|
+
dragCached: {
|
|
5835
|
+
key: "dragCached",
|
|
5836
|
+
required: false,
|
|
5837
|
+
type: Boolean,
|
|
5838
|
+
default: true
|
|
5839
|
+
},
|
|
5840
|
+
emptyImageSize: {
|
|
5841
|
+
key: "emptyImageSize",
|
|
5842
|
+
required: false,
|
|
5843
|
+
type: Number,
|
|
5844
|
+
default: 145
|
|
5845
|
+
},
|
|
5840
5846
|
calHeight: {
|
|
5841
5847
|
key: "calHeight",
|
|
5842
5848
|
required: false,
|
|
@@ -5969,23 +5975,17 @@ __sfc_main.props = {
|
|
|
5969
5975
|
type: String,
|
|
5970
5976
|
default: "确定"
|
|
5971
5977
|
},
|
|
5972
|
-
|
|
5973
|
-
key: "
|
|
5974
|
-
required: false,
|
|
5975
|
-
type: String,
|
|
5976
|
-
default: "600px"
|
|
5977
|
-
},
|
|
5978
|
-
columnCheckConfirmText: {
|
|
5979
|
-
key: "columnCheckConfirmText",
|
|
5978
|
+
columnCheckBasicFieldDesc: {
|
|
5979
|
+
key: "columnCheckBasicFieldDesc",
|
|
5980
5980
|
required: false,
|
|
5981
5981
|
type: String,
|
|
5982
|
-
default: "
|
|
5982
|
+
default: "基础字段"
|
|
5983
5983
|
},
|
|
5984
|
-
|
|
5985
|
-
key: "
|
|
5984
|
+
columnCheckWidth: {
|
|
5985
|
+
key: "columnCheckWidth",
|
|
5986
5986
|
required: false,
|
|
5987
5987
|
type: String,
|
|
5988
|
-
default: "
|
|
5988
|
+
default: "600px"
|
|
5989
5989
|
},
|
|
5990
5990
|
columnCheckModalAppendToBody: {
|
|
5991
5991
|
key: "columnCheckModalAppendToBody",
|
|
@@ -6089,12 +6089,6 @@ __sfc_main.props = {
|
|
|
6089
6089
|
type: String,
|
|
6090
6090
|
default: "不固定"
|
|
6091
6091
|
},
|
|
6092
|
-
columnCheckBasicFieldDesc: {
|
|
6093
|
-
key: "columnCheckBasicFieldDesc",
|
|
6094
|
-
required: false,
|
|
6095
|
-
type: String,
|
|
6096
|
-
default: "基础字段"
|
|
6097
|
-
},
|
|
6098
6092
|
columnCheckGetCheckedLengthDesc: {
|
|
6099
6093
|
key: "columnCheckGetCheckedLengthDesc",
|
|
6100
6094
|
required: false,
|
|
@@ -6182,6 +6176,11 @@ __sfc_main.props = {
|
|
|
6182
6176
|
required: false,
|
|
6183
6177
|
type: String,
|
|
6184
6178
|
default: "operation"
|
|
6179
|
+
},
|
|
6180
|
+
searchForm: {
|
|
6181
|
+
key: "searchForm",
|
|
6182
|
+
required: true,
|
|
6183
|
+
type: null
|
|
6185
6184
|
}
|
|
6186
6185
|
};
|
|
6187
6186
|
__sfc_main.setup = (__props, __ctx) => {
|
|
@@ -6804,13 +6803,7 @@ var _sfc_render = function render3() {
|
|
|
6804
6803
|
}, [_vm._t("searchBox", function() {
|
|
6805
6804
|
var _a2;
|
|
6806
6805
|
return [_c("nf-search-form", _vm._g(_vm._b({
|
|
6807
|
-
ref: "nfSearchFormRef"
|
|
6808
|
-
attrs: {
|
|
6809
|
-
"operation-prop-key": _vm.operationPropKey,
|
|
6810
|
-
"storage-key": _vm.searchFormStorageKey,
|
|
6811
|
-
"property": _vm.priority,
|
|
6812
|
-
"select-empty-warning-tips": _vm.selectEmptyWarningTips
|
|
6813
|
-
}
|
|
6806
|
+
ref: "nfSearchFormRef"
|
|
6814
6807
|
}, "nf-search-form", _vm.searchFormAttrs, false), _vm.searchFormEvents), [_vm._l(((_a2 = _vm.nfSearchFormRef) == null ? void 0 : _a2.renderSearchFormItemOptions) || [], function(item) {
|
|
6815
6808
|
var _a3;
|
|
6816
6809
|
return [((_a3 = item.tooltip) == null ? void 0 : _a3.slot) ? [_vm._t(item.tooltip.slot, null, {
|
|
@@ -7375,14 +7368,15 @@ var _sfc_render = function render3() {
|
|
|
7375
7368
|
})], 2)], 2), _vm.nfColumCheckDialogVisible && _vm.checkMode === "dialog" ? _c("column-check-dialog", {
|
|
7376
7369
|
ref: "columnCheckDialog",
|
|
7377
7370
|
attrs: {
|
|
7371
|
+
"title": _vm.columnCheckTitle,
|
|
7372
|
+
"confirm-text": _vm.columnCheckConfirmButtonText,
|
|
7373
|
+
"cancel-text": _vm.columnCheckCancelButtonText,
|
|
7374
|
+
"basic-field-desc": _vm.columnCheckBasicFieldDesc,
|
|
7378
7375
|
"show": _vm.nfColumCheckDialogVisible,
|
|
7379
7376
|
"table-columns": _vm.columns,
|
|
7380
7377
|
"column-edit": _vm.columnEdit,
|
|
7381
7378
|
"storage-key": _vm.storageKey,
|
|
7382
|
-
"title": _vm.columnCheckTitle,
|
|
7383
7379
|
"width": _vm.columnCheckWidth,
|
|
7384
|
-
"confirm-text": _vm.columnCheckConfirmText,
|
|
7385
|
-
"cancel-text": _vm.columnCheckCancelText,
|
|
7386
7380
|
"modal-append-to-body": _vm.columnCheckModalAppendToBody,
|
|
7387
7381
|
"modal": _vm.columnCheckModal,
|
|
7388
7382
|
"fullscreen": _vm.columnCheckFullscreen,
|
|
@@ -7411,10 +7405,10 @@ var _sfc_render = function render3() {
|
|
|
7411
7405
|
})], 2) : _vm._e(), _vm.checkMode === "drawer" ? _c("nf-drawer", {
|
|
7412
7406
|
ref: "columnCheckNfDrawer",
|
|
7413
7407
|
attrs: {
|
|
7414
|
-
"size": "680px",
|
|
7415
7408
|
"title": _vm.columnCheckTitle,
|
|
7416
7409
|
"cancel-button-text": _vm.columnCheckCancelButtonText,
|
|
7417
7410
|
"confirm-button-text": _vm.columnCheckConfirmButtonText,
|
|
7411
|
+
"size": "680px",
|
|
7418
7412
|
"visible": _vm.nfColumCheckDialogVisible,
|
|
7419
7413
|
"tabs": _vm.columnCheckTabs,
|
|
7420
7414
|
"destroy-on-close": true,
|
|
@@ -7440,13 +7434,13 @@ var _sfc_render = function render3() {
|
|
|
7440
7434
|
"clear-desc": _vm.columnCheckClearDesc,
|
|
7441
7435
|
"no-fixed-desc": _vm.columnCheckNoFixedDesc,
|
|
7442
7436
|
"basic-field-desc": _vm.columnCheckBasicFieldDesc,
|
|
7443
|
-
"
|
|
7437
|
+
"select-empty-warning-tips": _vm.selectEmptyWarningTips,
|
|
7444
7438
|
"get-checked-length-desc": _vm.columnCheckGetCheckedLengthDesc,
|
|
7445
7439
|
"get-all-check-desc": _vm.columnCheckGetAllCheckDesc,
|
|
7440
|
+
"column-edit": _vm.columnEdit,
|
|
7446
7441
|
"operation-prop-key": _vm.operationPropKey,
|
|
7447
7442
|
"storage-key": _vm.storageKey,
|
|
7448
|
-
"table-columns": _vm.columns
|
|
7449
|
-
"select-empty-warning-tips": _vm.selectEmptyWarningTips
|
|
7443
|
+
"table-columns": _vm.columns
|
|
7450
7444
|
}
|
|
7451
7445
|
})], 2) : _vm._e()], 2);
|
|
7452
7446
|
};
|
|
@@ -55,6 +55,12 @@ __sfc_main$2.props = {
|
|
|
55
55
|
type: String,
|
|
56
56
|
default: "取 消"
|
|
57
57
|
},
|
|
58
|
+
basicFieldDesc: {
|
|
59
|
+
key: "basicFieldDesc",
|
|
60
|
+
required: false,
|
|
61
|
+
type: String,
|
|
62
|
+
default: "基础字段"
|
|
63
|
+
},
|
|
58
64
|
tableColumns: {
|
|
59
65
|
key: "tableColumns",
|
|
60
66
|
required: false,
|
|
@@ -159,7 +165,7 @@ __sfc_main$2.setup = (__props, __ctx) => {
|
|
|
159
165
|
const obj = {};
|
|
160
166
|
props.tableColumns.filter((item) => !item.destory).map((item) => {
|
|
161
167
|
if (!item.type) {
|
|
162
|
-
const key = item.category ||
|
|
168
|
+
const key = item.category || props.basicFieldDesc;
|
|
163
169
|
if (!obj[key]) {
|
|
164
170
|
obj[key] = [];
|
|
165
171
|
}
|
|
@@ -5248,36 +5254,6 @@ const __sfc_main$1 = defineComponent({
|
|
|
5248
5254
|
name: "NfColumnCheckDrawer"
|
|
5249
5255
|
});
|
|
5250
5256
|
__sfc_main$1.props = {
|
|
5251
|
-
selectEmptyWarningTips: {
|
|
5252
|
-
key: "selectEmptyWarningTips",
|
|
5253
|
-
required: false,
|
|
5254
|
-
type: String,
|
|
5255
|
-
default: "请选择至少一个选项"
|
|
5256
|
-
},
|
|
5257
|
-
tableColumns: {
|
|
5258
|
-
key: "tableColumns",
|
|
5259
|
-
required: false,
|
|
5260
|
-
type: Array,
|
|
5261
|
-
default: () => []
|
|
5262
|
-
},
|
|
5263
|
-
storageKey: {
|
|
5264
|
-
key: "storageKey",
|
|
5265
|
-
required: false,
|
|
5266
|
-
type: String,
|
|
5267
|
-
default: "nf-table-columns-cached-key"
|
|
5268
|
-
},
|
|
5269
|
-
operationPropKey: {
|
|
5270
|
-
key: "operationPropKey",
|
|
5271
|
-
required: false,
|
|
5272
|
-
type: String,
|
|
5273
|
-
default: "operation"
|
|
5274
|
-
},
|
|
5275
|
-
columnEdit: {
|
|
5276
|
-
key: "columnEdit",
|
|
5277
|
-
required: false,
|
|
5278
|
-
type: Boolean,
|
|
5279
|
-
default: false
|
|
5280
|
-
},
|
|
5281
5257
|
searchPlaceholder: {
|
|
5282
5258
|
key: "searchPlaceholder",
|
|
5283
5259
|
required: false,
|
|
@@ -5308,6 +5284,12 @@ __sfc_main$1.props = {
|
|
|
5308
5284
|
type: String,
|
|
5309
5285
|
default: "基础字段"
|
|
5310
5286
|
},
|
|
5287
|
+
selectEmptyWarningTips: {
|
|
5288
|
+
key: "selectEmptyWarningTips",
|
|
5289
|
+
required: false,
|
|
5290
|
+
type: String,
|
|
5291
|
+
default: "请选择至少一个选项"
|
|
5292
|
+
},
|
|
5311
5293
|
getCheckedLengthDesc: {
|
|
5312
5294
|
key: "getCheckedLengthDesc",
|
|
5313
5295
|
required: false,
|
|
@@ -5319,6 +5301,30 @@ __sfc_main$1.props = {
|
|
|
5319
5301
|
required: false,
|
|
5320
5302
|
type: Function,
|
|
5321
5303
|
default: (length) => "全选(" + length + ")"
|
|
5304
|
+
},
|
|
5305
|
+
columnEdit: {
|
|
5306
|
+
key: "columnEdit",
|
|
5307
|
+
required: false,
|
|
5308
|
+
type: Boolean,
|
|
5309
|
+
default: false
|
|
5310
|
+
},
|
|
5311
|
+
tableColumns: {
|
|
5312
|
+
key: "tableColumns",
|
|
5313
|
+
required: false,
|
|
5314
|
+
type: Array,
|
|
5315
|
+
default: () => []
|
|
5316
|
+
},
|
|
5317
|
+
storageKey: {
|
|
5318
|
+
key: "storageKey",
|
|
5319
|
+
required: false,
|
|
5320
|
+
type: String,
|
|
5321
|
+
default: "nf-table-columns-cached-key"
|
|
5322
|
+
},
|
|
5323
|
+
operationPropKey: {
|
|
5324
|
+
key: "operationPropKey",
|
|
5325
|
+
required: false,
|
|
5326
|
+
type: String,
|
|
5327
|
+
default: "operation"
|
|
5322
5328
|
}
|
|
5323
5329
|
};
|
|
5324
5330
|
__sfc_main$1.setup = (__props, __ctx) => {
|
|
@@ -5769,18 +5775,6 @@ const __sfc_main = defineComponent({
|
|
|
5769
5775
|
name: "nf-table"
|
|
5770
5776
|
});
|
|
5771
5777
|
__sfc_main.props = {
|
|
5772
|
-
dragCached: {
|
|
5773
|
-
key: "dragCached",
|
|
5774
|
-
required: false,
|
|
5775
|
-
type: Boolean,
|
|
5776
|
-
default: true
|
|
5777
|
-
},
|
|
5778
|
-
emptyImageSize: {
|
|
5779
|
-
key: "emptyImageSize",
|
|
5780
|
-
required: false,
|
|
5781
|
-
type: Number,
|
|
5782
|
-
default: 145
|
|
5783
|
-
},
|
|
5784
5778
|
data: {
|
|
5785
5779
|
key: "data",
|
|
5786
5780
|
required: false,
|
|
@@ -5835,6 +5829,18 @@ __sfc_main.props = {
|
|
|
5835
5829
|
type: Array,
|
|
5836
5830
|
default: () => []
|
|
5837
5831
|
},
|
|
5832
|
+
dragCached: {
|
|
5833
|
+
key: "dragCached",
|
|
5834
|
+
required: false,
|
|
5835
|
+
type: Boolean,
|
|
5836
|
+
default: true
|
|
5837
|
+
},
|
|
5838
|
+
emptyImageSize: {
|
|
5839
|
+
key: "emptyImageSize",
|
|
5840
|
+
required: false,
|
|
5841
|
+
type: Number,
|
|
5842
|
+
default: 145
|
|
5843
|
+
},
|
|
5838
5844
|
calHeight: {
|
|
5839
5845
|
key: "calHeight",
|
|
5840
5846
|
required: false,
|
|
@@ -5967,23 +5973,17 @@ __sfc_main.props = {
|
|
|
5967
5973
|
type: String,
|
|
5968
5974
|
default: "确定"
|
|
5969
5975
|
},
|
|
5970
|
-
|
|
5971
|
-
key: "
|
|
5972
|
-
required: false,
|
|
5973
|
-
type: String,
|
|
5974
|
-
default: "600px"
|
|
5975
|
-
},
|
|
5976
|
-
columnCheckConfirmText: {
|
|
5977
|
-
key: "columnCheckConfirmText",
|
|
5976
|
+
columnCheckBasicFieldDesc: {
|
|
5977
|
+
key: "columnCheckBasicFieldDesc",
|
|
5978
5978
|
required: false,
|
|
5979
5979
|
type: String,
|
|
5980
|
-
default: "
|
|
5980
|
+
default: "基础字段"
|
|
5981
5981
|
},
|
|
5982
|
-
|
|
5983
|
-
key: "
|
|
5982
|
+
columnCheckWidth: {
|
|
5983
|
+
key: "columnCheckWidth",
|
|
5984
5984
|
required: false,
|
|
5985
5985
|
type: String,
|
|
5986
|
-
default: "
|
|
5986
|
+
default: "600px"
|
|
5987
5987
|
},
|
|
5988
5988
|
columnCheckModalAppendToBody: {
|
|
5989
5989
|
key: "columnCheckModalAppendToBody",
|
|
@@ -6087,12 +6087,6 @@ __sfc_main.props = {
|
|
|
6087
6087
|
type: String,
|
|
6088
6088
|
default: "不固定"
|
|
6089
6089
|
},
|
|
6090
|
-
columnCheckBasicFieldDesc: {
|
|
6091
|
-
key: "columnCheckBasicFieldDesc",
|
|
6092
|
-
required: false,
|
|
6093
|
-
type: String,
|
|
6094
|
-
default: "基础字段"
|
|
6095
|
-
},
|
|
6096
6090
|
columnCheckGetCheckedLengthDesc: {
|
|
6097
6091
|
key: "columnCheckGetCheckedLengthDesc",
|
|
6098
6092
|
required: false,
|
|
@@ -6180,6 +6174,11 @@ __sfc_main.props = {
|
|
|
6180
6174
|
required: false,
|
|
6181
6175
|
type: String,
|
|
6182
6176
|
default: "operation"
|
|
6177
|
+
},
|
|
6178
|
+
searchForm: {
|
|
6179
|
+
key: "searchForm",
|
|
6180
|
+
required: true,
|
|
6181
|
+
type: null
|
|
6183
6182
|
}
|
|
6184
6183
|
};
|
|
6185
6184
|
__sfc_main.setup = (__props, __ctx) => {
|
|
@@ -6802,13 +6801,7 @@ var _sfc_render = function render3() {
|
|
|
6802
6801
|
}, [_vm._t("searchBox", function() {
|
|
6803
6802
|
var _a2;
|
|
6804
6803
|
return [_c("nf-search-form", _vm._g(_vm._b({
|
|
6805
|
-
ref: "nfSearchFormRef"
|
|
6806
|
-
attrs: {
|
|
6807
|
-
"operation-prop-key": _vm.operationPropKey,
|
|
6808
|
-
"storage-key": _vm.searchFormStorageKey,
|
|
6809
|
-
"property": _vm.priority,
|
|
6810
|
-
"select-empty-warning-tips": _vm.selectEmptyWarningTips
|
|
6811
|
-
}
|
|
6804
|
+
ref: "nfSearchFormRef"
|
|
6812
6805
|
}, "nf-search-form", _vm.searchFormAttrs, false), _vm.searchFormEvents), [_vm._l(((_a2 = _vm.nfSearchFormRef) == null ? void 0 : _a2.renderSearchFormItemOptions) || [], function(item) {
|
|
6813
6806
|
var _a3;
|
|
6814
6807
|
return [((_a3 = item.tooltip) == null ? void 0 : _a3.slot) ? [_vm._t(item.tooltip.slot, null, {
|
|
@@ -7373,14 +7366,15 @@ var _sfc_render = function render3() {
|
|
|
7373
7366
|
})], 2)], 2), _vm.nfColumCheckDialogVisible && _vm.checkMode === "dialog" ? _c("column-check-dialog", {
|
|
7374
7367
|
ref: "columnCheckDialog",
|
|
7375
7368
|
attrs: {
|
|
7369
|
+
"title": _vm.columnCheckTitle,
|
|
7370
|
+
"confirm-text": _vm.columnCheckConfirmButtonText,
|
|
7371
|
+
"cancel-text": _vm.columnCheckCancelButtonText,
|
|
7372
|
+
"basic-field-desc": _vm.columnCheckBasicFieldDesc,
|
|
7376
7373
|
"show": _vm.nfColumCheckDialogVisible,
|
|
7377
7374
|
"table-columns": _vm.columns,
|
|
7378
7375
|
"column-edit": _vm.columnEdit,
|
|
7379
7376
|
"storage-key": _vm.storageKey,
|
|
7380
|
-
"title": _vm.columnCheckTitle,
|
|
7381
7377
|
"width": _vm.columnCheckWidth,
|
|
7382
|
-
"confirm-text": _vm.columnCheckConfirmText,
|
|
7383
|
-
"cancel-text": _vm.columnCheckCancelText,
|
|
7384
7378
|
"modal-append-to-body": _vm.columnCheckModalAppendToBody,
|
|
7385
7379
|
"modal": _vm.columnCheckModal,
|
|
7386
7380
|
"fullscreen": _vm.columnCheckFullscreen,
|
|
@@ -7409,10 +7403,10 @@ var _sfc_render = function render3() {
|
|
|
7409
7403
|
})], 2) : _vm._e(), _vm.checkMode === "drawer" ? _c("nf-drawer", {
|
|
7410
7404
|
ref: "columnCheckNfDrawer",
|
|
7411
7405
|
attrs: {
|
|
7412
|
-
"size": "680px",
|
|
7413
7406
|
"title": _vm.columnCheckTitle,
|
|
7414
7407
|
"cancel-button-text": _vm.columnCheckCancelButtonText,
|
|
7415
7408
|
"confirm-button-text": _vm.columnCheckConfirmButtonText,
|
|
7409
|
+
"size": "680px",
|
|
7416
7410
|
"visible": _vm.nfColumCheckDialogVisible,
|
|
7417
7411
|
"tabs": _vm.columnCheckTabs,
|
|
7418
7412
|
"destroy-on-close": true,
|
|
@@ -7438,13 +7432,13 @@ var _sfc_render = function render3() {
|
|
|
7438
7432
|
"clear-desc": _vm.columnCheckClearDesc,
|
|
7439
7433
|
"no-fixed-desc": _vm.columnCheckNoFixedDesc,
|
|
7440
7434
|
"basic-field-desc": _vm.columnCheckBasicFieldDesc,
|
|
7441
|
-
"
|
|
7435
|
+
"select-empty-warning-tips": _vm.selectEmptyWarningTips,
|
|
7442
7436
|
"get-checked-length-desc": _vm.columnCheckGetCheckedLengthDesc,
|
|
7443
7437
|
"get-all-check-desc": _vm.columnCheckGetAllCheckDesc,
|
|
7438
|
+
"column-edit": _vm.columnEdit,
|
|
7444
7439
|
"operation-prop-key": _vm.operationPropKey,
|
|
7445
7440
|
"storage-key": _vm.storageKey,
|
|
7446
|
-
"table-columns": _vm.columns
|
|
7447
|
-
"select-empty-warning-tips": _vm.selectEmptyWarningTips
|
|
7441
|
+
"table-columns": _vm.columns
|
|
7448
7442
|
}
|
|
7449
7443
|
})], 2) : _vm._e()], 2);
|
|
7450
7444
|
};
|
package/lib/nf-table.vue.d.ts
CHANGED
|
@@ -49,14 +49,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineCompone
|
|
|
49
49
|
type: import("vue-demi").PropType<string[]>;
|
|
50
50
|
default: undefined;
|
|
51
51
|
};
|
|
52
|
-
dragCached: {
|
|
53
|
-
type: import("vue-demi").PropType<boolean>;
|
|
54
|
-
default: boolean;
|
|
55
|
-
};
|
|
56
|
-
emptyImageSize: {
|
|
57
|
-
type: import("vue-demi").PropType<number>;
|
|
58
|
-
default: number;
|
|
59
|
-
};
|
|
60
52
|
searchFormAttrs: {
|
|
61
53
|
type: import("vue-demi").PropType<NfSearchFormAttributes>;
|
|
62
54
|
default: () => {};
|
|
@@ -85,6 +77,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineCompone
|
|
|
85
77
|
type: import("vue-demi").PropType<NfTableActionBtnAttributes[]>;
|
|
86
78
|
default: () => never[];
|
|
87
79
|
};
|
|
80
|
+
dragCached: {
|
|
81
|
+
type: import("vue-demi").PropType<boolean>;
|
|
82
|
+
default: boolean;
|
|
83
|
+
};
|
|
84
|
+
emptyImageSize: {
|
|
85
|
+
type: import("vue-demi").PropType<number>;
|
|
86
|
+
default: number;
|
|
87
|
+
};
|
|
88
88
|
calHeight: {
|
|
89
89
|
type: import("vue-demi").PropType<boolean>;
|
|
90
90
|
default: boolean;
|
|
@@ -157,15 +157,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineCompone
|
|
|
157
157
|
type: import("vue-demi").PropType<string>;
|
|
158
158
|
default: string;
|
|
159
159
|
};
|
|
160
|
-
|
|
161
|
-
type: import("vue-demi").PropType<string>;
|
|
162
|
-
default: string;
|
|
163
|
-
};
|
|
164
|
-
columnCheckConfirmText: {
|
|
160
|
+
columnCheckBasicFieldDesc: {
|
|
165
161
|
type: import("vue-demi").PropType<string>;
|
|
166
162
|
default: string;
|
|
167
163
|
};
|
|
168
|
-
|
|
164
|
+
columnCheckWidth: {
|
|
169
165
|
type: import("vue-demi").PropType<string>;
|
|
170
166
|
default: string;
|
|
171
167
|
};
|
|
@@ -237,10 +233,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineCompone
|
|
|
237
233
|
type: import("vue-demi").PropType<string>;
|
|
238
234
|
default: string;
|
|
239
235
|
};
|
|
240
|
-
columnCheckBasicFieldDesc: {
|
|
241
|
-
type: import("vue-demi").PropType<string>;
|
|
242
|
-
default: string;
|
|
243
|
-
};
|
|
244
236
|
columnCheckGetCheckedLengthDesc: {
|
|
245
237
|
type: import("vue-demi").PropType<Function>;
|
|
246
238
|
default: (length: any) => string;
|
|
@@ -275,6 +267,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineCompone
|
|
|
275
267
|
type: import("vue-demi").PropType<boolean>;
|
|
276
268
|
default: boolean;
|
|
277
269
|
};
|
|
270
|
+
searchForm: {
|
|
271
|
+
type: import("vue-demi").PropType<any>;
|
|
272
|
+
required: true;
|
|
273
|
+
};
|
|
278
274
|
}, {
|
|
279
275
|
clearFilter: () => void;
|
|
280
276
|
sort: (prop: any, order: any) => void;
|
|
@@ -404,14 +400,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineCompone
|
|
|
404
400
|
type: import("vue-demi").PropType<string[]>;
|
|
405
401
|
default: undefined;
|
|
406
402
|
};
|
|
407
|
-
dragCached: {
|
|
408
|
-
type: import("vue-demi").PropType<boolean>;
|
|
409
|
-
default: boolean;
|
|
410
|
-
};
|
|
411
|
-
emptyImageSize: {
|
|
412
|
-
type: import("vue-demi").PropType<number>;
|
|
413
|
-
default: number;
|
|
414
|
-
};
|
|
415
403
|
searchFormAttrs: {
|
|
416
404
|
type: import("vue-demi").PropType<NfSearchFormAttributes>;
|
|
417
405
|
default: () => {};
|
|
@@ -440,6 +428,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineCompone
|
|
|
440
428
|
type: import("vue-demi").PropType<NfTableActionBtnAttributes[]>;
|
|
441
429
|
default: () => never[];
|
|
442
430
|
};
|
|
431
|
+
dragCached: {
|
|
432
|
+
type: import("vue-demi").PropType<boolean>;
|
|
433
|
+
default: boolean;
|
|
434
|
+
};
|
|
435
|
+
emptyImageSize: {
|
|
436
|
+
type: import("vue-demi").PropType<number>;
|
|
437
|
+
default: number;
|
|
438
|
+
};
|
|
443
439
|
calHeight: {
|
|
444
440
|
type: import("vue-demi").PropType<boolean>;
|
|
445
441
|
default: boolean;
|
|
@@ -512,15 +508,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineCompone
|
|
|
512
508
|
type: import("vue-demi").PropType<string>;
|
|
513
509
|
default: string;
|
|
514
510
|
};
|
|
515
|
-
|
|
516
|
-
type: import("vue-demi").PropType<string>;
|
|
517
|
-
default: string;
|
|
518
|
-
};
|
|
519
|
-
columnCheckConfirmText: {
|
|
511
|
+
columnCheckBasicFieldDesc: {
|
|
520
512
|
type: import("vue-demi").PropType<string>;
|
|
521
513
|
default: string;
|
|
522
514
|
};
|
|
523
|
-
|
|
515
|
+
columnCheckWidth: {
|
|
524
516
|
type: import("vue-demi").PropType<string>;
|
|
525
517
|
default: string;
|
|
526
518
|
};
|
|
@@ -592,10 +584,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineCompone
|
|
|
592
584
|
type: import("vue-demi").PropType<string>;
|
|
593
585
|
default: string;
|
|
594
586
|
};
|
|
595
|
-
columnCheckBasicFieldDesc: {
|
|
596
|
-
type: import("vue-demi").PropType<string>;
|
|
597
|
-
default: string;
|
|
598
|
-
};
|
|
599
587
|
columnCheckGetCheckedLengthDesc: {
|
|
600
588
|
type: import("vue-demi").PropType<Function>;
|
|
601
589
|
default: (length: any) => string;
|
|
@@ -630,6 +618,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineCompone
|
|
|
630
618
|
type: import("vue-demi").PropType<boolean>;
|
|
631
619
|
default: boolean;
|
|
632
620
|
};
|
|
621
|
+
searchForm: {
|
|
622
|
+
type: import("vue-demi").PropType<any>;
|
|
623
|
+
required: true;
|
|
624
|
+
};
|
|
633
625
|
}>>, {
|
|
634
626
|
background: string;
|
|
635
627
|
columns: NfTableColumnAttributes[] | any;
|
|
@@ -643,8 +635,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineCompone
|
|
|
643
635
|
text: string;
|
|
644
636
|
selectEmptyWarningTips: string;
|
|
645
637
|
showColumn: string[];
|
|
646
|
-
dragCached: boolean;
|
|
647
|
-
emptyImageSize: number;
|
|
648
638
|
searchFormAttrs: NfSearchFormAttributes;
|
|
649
639
|
searchFormEvents: Partial<Record<NfSearchFormEventKey, Function>>;
|
|
650
640
|
tableAttrs: ElTableAttributes;
|
|
@@ -652,6 +642,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineCompone
|
|
|
652
642
|
pageAttrs: ElPaginationAttributes;
|
|
653
643
|
pageEvents: Partial<Record<ElPaginationEventKey, Function>>;
|
|
654
644
|
actionBarOptList: NfTableActionBtnAttributes[];
|
|
645
|
+
dragCached: boolean;
|
|
646
|
+
emptyImageSize: number;
|
|
655
647
|
calHeight: boolean;
|
|
656
648
|
columnPosition: 'free' | 'embed';
|
|
657
649
|
checkMode: 'dialog' | 'drawer';
|
|
@@ -670,9 +662,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineCompone
|
|
|
670
662
|
columnCheckTitle: string;
|
|
671
663
|
columnCheckCancelButtonText: string;
|
|
672
664
|
columnCheckConfirmButtonText: string;
|
|
665
|
+
columnCheckBasicFieldDesc: string;
|
|
673
666
|
columnCheckWidth: string;
|
|
674
|
-
columnCheckConfirmText: string;
|
|
675
|
-
columnCheckCancelText: string;
|
|
676
667
|
columnCheckModalAppendToBody: boolean;
|
|
677
668
|
columnCheckModal: boolean;
|
|
678
669
|
columnCheckFullscreen: boolean;
|
|
@@ -690,7 +681,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineCompone
|
|
|
690
681
|
columnCheckFixedLeftDesc: string;
|
|
691
682
|
columnCheckClearDesc: string;
|
|
692
683
|
columnCheckNoFixedDesc: string;
|
|
693
|
-
columnCheckBasicFieldDesc: string;
|
|
694
684
|
columnCheckGetCheckedLengthDesc: Function;
|
|
695
685
|
columnCheckGetAllCheckDesc: Function;
|
|
696
686
|
loading: boolean;
|