@94ai/nf-table 100.1.45 → 100.1.47

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.
@@ -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
- columnCheckWidth: {
5973
- key: "columnCheckWidth",
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
- columnCheckCancelText: {
5985
- key: "columnCheckCancelText",
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,
@@ -6804,13 +6798,7 @@ var _sfc_render = function render3() {
6804
6798
  }, [_vm._t("searchBox", function() {
6805
6799
  var _a2;
6806
6800
  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
- }
6801
+ ref: "nfSearchFormRef"
6814
6802
  }, "nf-search-form", _vm.searchFormAttrs, false), _vm.searchFormEvents), [_vm._l(((_a2 = _vm.nfSearchFormRef) == null ? void 0 : _a2.renderSearchFormItemOptions) || [], function(item) {
6815
6803
  var _a3;
6816
6804
  return [((_a3 = item.tooltip) == null ? void 0 : _a3.slot) ? [_vm._t(item.tooltip.slot, null, {
@@ -7375,14 +7363,15 @@ var _sfc_render = function render3() {
7375
7363
  })], 2)], 2), _vm.nfColumCheckDialogVisible && _vm.checkMode === "dialog" ? _c("column-check-dialog", {
7376
7364
  ref: "columnCheckDialog",
7377
7365
  attrs: {
7366
+ "title": _vm.columnCheckTitle,
7367
+ "confirm-text": _vm.columnCheckConfirmButtonText,
7368
+ "cancel-text": _vm.columnCheckCancelButtonText,
7369
+ "basic-field-desc": _vm.columnCheckBasicFieldDesc,
7378
7370
  "show": _vm.nfColumCheckDialogVisible,
7379
7371
  "table-columns": _vm.columns,
7380
7372
  "column-edit": _vm.columnEdit,
7381
7373
  "storage-key": _vm.storageKey,
7382
- "title": _vm.columnCheckTitle,
7383
7374
  "width": _vm.columnCheckWidth,
7384
- "confirm-text": _vm.columnCheckConfirmText,
7385
- "cancel-text": _vm.columnCheckCancelText,
7386
7375
  "modal-append-to-body": _vm.columnCheckModalAppendToBody,
7387
7376
  "modal": _vm.columnCheckModal,
7388
7377
  "fullscreen": _vm.columnCheckFullscreen,
@@ -7411,10 +7400,10 @@ var _sfc_render = function render3() {
7411
7400
  })], 2) : _vm._e(), _vm.checkMode === "drawer" ? _c("nf-drawer", {
7412
7401
  ref: "columnCheckNfDrawer",
7413
7402
  attrs: {
7414
- "size": "680px",
7415
7403
  "title": _vm.columnCheckTitle,
7416
7404
  "cancel-button-text": _vm.columnCheckCancelButtonText,
7417
7405
  "confirm-button-text": _vm.columnCheckConfirmButtonText,
7406
+ "size": "680px",
7418
7407
  "visible": _vm.nfColumCheckDialogVisible,
7419
7408
  "tabs": _vm.columnCheckTabs,
7420
7409
  "destroy-on-close": true,
@@ -7440,13 +7429,13 @@ var _sfc_render = function render3() {
7440
7429
  "clear-desc": _vm.columnCheckClearDesc,
7441
7430
  "no-fixed-desc": _vm.columnCheckNoFixedDesc,
7442
7431
  "basic-field-desc": _vm.columnCheckBasicFieldDesc,
7443
- "column-edit": _vm.columnEdit,
7432
+ "select-empty-warning-tips": _vm.selectEmptyWarningTips,
7444
7433
  "get-checked-length-desc": _vm.columnCheckGetCheckedLengthDesc,
7445
7434
  "get-all-check-desc": _vm.columnCheckGetAllCheckDesc,
7435
+ "column-edit": _vm.columnEdit,
7446
7436
  "operation-prop-key": _vm.operationPropKey,
7447
7437
  "storage-key": _vm.storageKey,
7448
- "table-columns": _vm.columns,
7449
- "select-empty-warning-tips": _vm.selectEmptyWarningTips
7438
+ "table-columns": _vm.columns
7450
7439
  }
7451
7440
  })], 2) : _vm._e()], 2);
7452
7441
  };
@@ -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
- columnCheckWidth: {
5971
- key: "columnCheckWidth",
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
- columnCheckCancelText: {
5983
- key: "columnCheckCancelText",
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,
@@ -6802,13 +6796,7 @@ var _sfc_render = function render3() {
6802
6796
  }, [_vm._t("searchBox", function() {
6803
6797
  var _a2;
6804
6798
  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
- }
6799
+ ref: "nfSearchFormRef"
6812
6800
  }, "nf-search-form", _vm.searchFormAttrs, false), _vm.searchFormEvents), [_vm._l(((_a2 = _vm.nfSearchFormRef) == null ? void 0 : _a2.renderSearchFormItemOptions) || [], function(item) {
6813
6801
  var _a3;
6814
6802
  return [((_a3 = item.tooltip) == null ? void 0 : _a3.slot) ? [_vm._t(item.tooltip.slot, null, {
@@ -7373,14 +7361,15 @@ var _sfc_render = function render3() {
7373
7361
  })], 2)], 2), _vm.nfColumCheckDialogVisible && _vm.checkMode === "dialog" ? _c("column-check-dialog", {
7374
7362
  ref: "columnCheckDialog",
7375
7363
  attrs: {
7364
+ "title": _vm.columnCheckTitle,
7365
+ "confirm-text": _vm.columnCheckConfirmButtonText,
7366
+ "cancel-text": _vm.columnCheckCancelButtonText,
7367
+ "basic-field-desc": _vm.columnCheckBasicFieldDesc,
7376
7368
  "show": _vm.nfColumCheckDialogVisible,
7377
7369
  "table-columns": _vm.columns,
7378
7370
  "column-edit": _vm.columnEdit,
7379
7371
  "storage-key": _vm.storageKey,
7380
- "title": _vm.columnCheckTitle,
7381
7372
  "width": _vm.columnCheckWidth,
7382
- "confirm-text": _vm.columnCheckConfirmText,
7383
- "cancel-text": _vm.columnCheckCancelText,
7384
7373
  "modal-append-to-body": _vm.columnCheckModalAppendToBody,
7385
7374
  "modal": _vm.columnCheckModal,
7386
7375
  "fullscreen": _vm.columnCheckFullscreen,
@@ -7409,10 +7398,10 @@ var _sfc_render = function render3() {
7409
7398
  })], 2) : _vm._e(), _vm.checkMode === "drawer" ? _c("nf-drawer", {
7410
7399
  ref: "columnCheckNfDrawer",
7411
7400
  attrs: {
7412
- "size": "680px",
7413
7401
  "title": _vm.columnCheckTitle,
7414
7402
  "cancel-button-text": _vm.columnCheckCancelButtonText,
7415
7403
  "confirm-button-text": _vm.columnCheckConfirmButtonText,
7404
+ "size": "680px",
7416
7405
  "visible": _vm.nfColumCheckDialogVisible,
7417
7406
  "tabs": _vm.columnCheckTabs,
7418
7407
  "destroy-on-close": true,
@@ -7438,13 +7427,13 @@ var _sfc_render = function render3() {
7438
7427
  "clear-desc": _vm.columnCheckClearDesc,
7439
7428
  "no-fixed-desc": _vm.columnCheckNoFixedDesc,
7440
7429
  "basic-field-desc": _vm.columnCheckBasicFieldDesc,
7441
- "column-edit": _vm.columnEdit,
7430
+ "select-empty-warning-tips": _vm.selectEmptyWarningTips,
7442
7431
  "get-checked-length-desc": _vm.columnCheckGetCheckedLengthDesc,
7443
7432
  "get-all-check-desc": _vm.columnCheckGetAllCheckDesc,
7433
+ "column-edit": _vm.columnEdit,
7444
7434
  "operation-prop-key": _vm.operationPropKey,
7445
7435
  "storage-key": _vm.storageKey,
7446
- "table-columns": _vm.columns,
7447
- "select-empty-warning-tips": _vm.selectEmptyWarningTips
7436
+ "table-columns": _vm.columns
7448
7437
  }
7449
7438
  })], 2) : _vm._e()], 2);
7450
7439
  };
@@ -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
- columnCheckWidth: {
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
- columnCheckCancelText: {
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;
@@ -404,14 +396,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineCompone
404
396
  type: import("vue-demi").PropType<string[]>;
405
397
  default: undefined;
406
398
  };
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
399
  searchFormAttrs: {
416
400
  type: import("vue-demi").PropType<NfSearchFormAttributes>;
417
401
  default: () => {};
@@ -440,6 +424,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineCompone
440
424
  type: import("vue-demi").PropType<NfTableActionBtnAttributes[]>;
441
425
  default: () => never[];
442
426
  };
427
+ dragCached: {
428
+ type: import("vue-demi").PropType<boolean>;
429
+ default: boolean;
430
+ };
431
+ emptyImageSize: {
432
+ type: import("vue-demi").PropType<number>;
433
+ default: number;
434
+ };
443
435
  calHeight: {
444
436
  type: import("vue-demi").PropType<boolean>;
445
437
  default: boolean;
@@ -512,15 +504,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineCompone
512
504
  type: import("vue-demi").PropType<string>;
513
505
  default: string;
514
506
  };
515
- columnCheckWidth: {
516
- type: import("vue-demi").PropType<string>;
517
- default: string;
518
- };
519
- columnCheckConfirmText: {
507
+ columnCheckBasicFieldDesc: {
520
508
  type: import("vue-demi").PropType<string>;
521
509
  default: string;
522
510
  };
523
- columnCheckCancelText: {
511
+ columnCheckWidth: {
524
512
  type: import("vue-demi").PropType<string>;
525
513
  default: string;
526
514
  };
@@ -592,10 +580,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineCompone
592
580
  type: import("vue-demi").PropType<string>;
593
581
  default: string;
594
582
  };
595
- columnCheckBasicFieldDesc: {
596
- type: import("vue-demi").PropType<string>;
597
- default: string;
598
- };
599
583
  columnCheckGetCheckedLengthDesc: {
600
584
  type: import("vue-demi").PropType<Function>;
601
585
  default: (length: any) => string;
@@ -643,8 +627,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineCompone
643
627
  text: string;
644
628
  selectEmptyWarningTips: string;
645
629
  showColumn: string[];
646
- dragCached: boolean;
647
- emptyImageSize: number;
648
630
  searchFormAttrs: NfSearchFormAttributes;
649
631
  searchFormEvents: Partial<Record<NfSearchFormEventKey, Function>>;
650
632
  tableAttrs: ElTableAttributes;
@@ -652,6 +634,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineCompone
652
634
  pageAttrs: ElPaginationAttributes;
653
635
  pageEvents: Partial<Record<ElPaginationEventKey, Function>>;
654
636
  actionBarOptList: NfTableActionBtnAttributes[];
637
+ dragCached: boolean;
638
+ emptyImageSize: number;
655
639
  calHeight: boolean;
656
640
  columnPosition: 'free' | 'embed';
657
641
  checkMode: 'dialog' | 'drawer';
@@ -670,9 +654,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineCompone
670
654
  columnCheckTitle: string;
671
655
  columnCheckCancelButtonText: string;
672
656
  columnCheckConfirmButtonText: string;
657
+ columnCheckBasicFieldDesc: string;
673
658
  columnCheckWidth: string;
674
- columnCheckConfirmText: string;
675
- columnCheckCancelText: string;
676
659
  columnCheckModalAppendToBody: boolean;
677
660
  columnCheckModal: boolean;
678
661
  columnCheckFullscreen: boolean;
@@ -690,7 +673,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineCompone
690
673
  columnCheckFixedLeftDesc: string;
691
674
  columnCheckClearDesc: string;
692
675
  columnCheckNoFixedDesc: string;
693
- columnCheckBasicFieldDesc: string;
694
676
  columnCheckGetCheckedLengthDesc: Function;
695
677
  columnCheckGetAllCheckDesc: Function;
696
678
  loading: boolean;
@@ -74,6 +74,7 @@ const props = withDefaults(defineProps<{
74
74
  width?: string,
75
75
  confirmText?: string
76
76
  cancelText?: string
77
+ basicFieldDesc?: string
77
78
  tableColumns?: Record<string, any>[],
78
79
  modalAppendToBody?: boolean,
79
80
  modal?: boolean,
@@ -95,6 +96,10 @@ const props = withDefaults(defineProps<{
95
96
  show: false,
96
97
  width: '600px',
97
98
  title: '设置显示字段',
99
+ /**
100
+ * 默认category分类标题
101
+ */
102
+ basicFieldDesc: '基础字段',
98
103
  cancelText: '取 消',
99
104
  confirmText: '保 存',
100
105
  tableColumns: () => [],
@@ -139,7 +144,7 @@ const fields = computed(() => {
139
144
  const obj: Record<string, any> = {}
140
145
  props.tableColumns.filter(item => !item.destory).map(item => {
141
146
  if (!item.type) {
142
- const key = item.category || '基础字段'
147
+ const key = item.category || props.basicFieldDesc
143
148
  if (!obj[key]) {
144
149
  obj[key] = []
145
150
  }