@94ai/nf-search-form 100.1.8 → 100.1.15

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.
@@ -4,8 +4,8 @@ const vueDemi = require("vue-demi");
4
4
  const vue2RuntimeHelpers = require("@94ai/vue2-runtime-helpers");
5
5
  const commonUtils = require("@94ai/common-utils");
6
6
  const ResizeObserver = require("resize-observer-polyfill");
7
+ const vue = require("vue");
7
8
  const NfMessage = require("@94ai/nf-message");
8
- const VueCookies = require("vue-cookies");
9
9
  const __sfc_main$5 = vueDemi.defineComponent({
10
10
  name: "NfNumberRange"
11
11
  });
@@ -746,6 +746,40 @@ var _sfc_render$3 = function render3() {
746
746
  var _sfc_staticRenderFns$3 = [];
747
747
  var __component__$3 = /* @__PURE__ */ vue2RuntimeHelpers.normalizeComponent(__sfc_main$3, _sfc_render$3, _sfc_staticRenderFns$3, false, null, null, null, null);
748
748
  const SearchFormItem = __component__$3.exports;
749
+ function promisifyRequest(request) {
750
+ return new Promise((resolve, reject) => {
751
+ request.oncomplete = request.onsuccess = () => resolve(request.result);
752
+ request.onabort = request.onerror = () => reject(request.error);
753
+ });
754
+ }
755
+ function createStore(dbName, storeName) {
756
+ const request = indexedDB.open(dbName);
757
+ request.onupgradeneeded = () => request.result.createObjectStore(storeName);
758
+ const dbp = promisifyRequest(request);
759
+ return (txMode, callback) => dbp.then((db) => callback(db.transaction(storeName, txMode).objectStore(storeName)));
760
+ }
761
+ let defaultGetStoreFunc;
762
+ function defaultGetStore() {
763
+ if (!defaultGetStoreFunc) {
764
+ defaultGetStoreFunc = createStore("keyval-store", "keyval");
765
+ }
766
+ return defaultGetStoreFunc;
767
+ }
768
+ function get(key, customStore = defaultGetStore()) {
769
+ return customStore("readonly", (store) => promisifyRequest(store.get(key)));
770
+ }
771
+ function set(key, value, customStore = defaultGetStore()) {
772
+ return customStore("readwrite", (store) => {
773
+ store.put(value, key);
774
+ return promisifyRequest(store.transaction);
775
+ });
776
+ }
777
+ function del(key, customStore = defaultGetStore()) {
778
+ return customStore("readwrite", (store) => {
779
+ store.delete(key);
780
+ return promisifyRequest(store.transaction);
781
+ });
782
+ }
749
783
  const __sfc_main$2 = vueDemi.defineComponent({
750
784
  name: "NfColumnCheckDialog"
751
785
  });
@@ -756,6 +790,12 @@ __sfc_main$2.props = {
756
790
  type: String,
757
791
  default: "nf-table-columns-cached-key"
758
792
  },
793
+ columnEdit: {
794
+ key: "columnEdit",
795
+ required: false,
796
+ type: Boolean,
797
+ default: false
798
+ },
759
799
  show: {
760
800
  key: "show",
761
801
  required: false,
@@ -792,12 +832,6 @@ __sfc_main$2.props = {
792
832
  type: Array,
793
833
  default: () => []
794
834
  },
795
- showColumns: {
796
- key: "showColumns",
797
- required: false,
798
- type: Array,
799
- default: () => []
800
- },
801
835
  modalAppendToBody: {
802
836
  key: "modalAppendToBody",
803
837
  required: false,
@@ -892,7 +926,7 @@ __sfc_main$2.setup = (__props, __ctx) => {
892
926
  });
893
927
  const fields = vueDemi.computed(() => {
894
928
  const obj = {};
895
- props.tableColumns.map((item) => {
929
+ props.tableColumns.filter((item) => !item.destory).map((item) => {
896
930
  const key = item.category || "基础查询框";
897
931
  if (!obj[key]) {
898
932
  obj[key] = [];
@@ -911,9 +945,8 @@ __sfc_main$2.setup = (__props, __ctx) => {
911
945
  vueDemi.onMounted(() => {
912
946
  addInitValue();
913
947
  });
914
- const instance = (_a = vueDemi.getCurrentInstance()) == null ? void 0 : _a.proxy;
915
- const submit = () => {
916
- var _a2, _b;
948
+ (_a = vueDemi.getCurrentInstance()) == null ? void 0 : _a.proxy;
949
+ const submit = async () => {
917
950
  visible.value = false;
918
951
  const columnState = {};
919
952
  props.tableColumns.map((i, index2) => {
@@ -923,15 +956,15 @@ __sfc_main$2.setup = (__props, __ctx) => {
923
956
  index: index2
924
957
  };
925
958
  });
926
- (_a2 = instance == null ? void 0 : instance.$cookies) == null ? void 0 : _a2.remove(props.storageKey);
927
- (_b = instance == null ? void 0 : instance.$cookies) == null ? void 0 : _b.set(props.storageKey, JSON.stringify(columnState), -1, "/xxxx/xxxx/xxxx");
928
959
  emit("save", tableData.value);
960
+ if (props.columnEdit) {
961
+ await set(props.storageKey, columnState);
962
+ }
929
963
  };
930
964
  const addInitValue = () => {
931
965
  const obj = {};
932
966
  props.tableColumns.forEach((v) => {
933
- var _a2;
934
- obj[v.prop] = ((_a2 = props.showColumns) == null ? void 0 : _a2.length) ? props.showColumns.includes(v.prop) : true;
967
+ obj[v.prop] = !v.initHidden;
935
968
  });
936
969
  tableData.value = obj;
937
970
  };
@@ -5770,13 +5803,13 @@ const require$$0 = /* @__PURE__ */ getAugmentedNamespace(sortable_esm);
5770
5803
  };
5771
5804
  },
5772
5805
  getUnderlyingPotencialDraggableComponent: function getUnderlyingPotencialDraggableComponent(_ref) {
5773
- var vue = _ref.__vue__;
5774
- if (!vue || !vue.$options || !isTransitionName(vue.$options._componentTag)) {
5775
- if (!("realList" in vue) && vue.$children.length === 1 && "realList" in vue.$children[0])
5776
- return vue.$children[0];
5777
- return vue;
5806
+ var vue2 = _ref.__vue__;
5807
+ if (!vue2 || !vue2.$options || !isTransitionName(vue2.$options._componentTag)) {
5808
+ if (!("realList" in vue2) && vue2.$children.length === 1 && "realList" in vue2.$children[0])
5809
+ return vue2.$children[0];
5810
+ return vue2;
5778
5811
  }
5779
- return vue.$parent;
5812
+ return vue2.$parent;
5780
5813
  },
5781
5814
  emitChanges: function emitChanges(evt) {
5782
5815
  var _this5 = this;
@@ -6023,6 +6056,12 @@ __sfc_main$1.props = {
6023
6056
  required: false,
6024
6057
  type: Function,
6025
6058
  default: (length) => "全选(" + length + ")"
6059
+ },
6060
+ columnEdit: {
6061
+ key: "columnEdit",
6062
+ required: false,
6063
+ type: Boolean,
6064
+ default: false
6026
6065
  }
6027
6066
  };
6028
6067
  __sfc_main$1.setup = (__props, __ctx) => {
@@ -6135,11 +6174,11 @@ __sfc_main$1.setup = (__props, __ctx) => {
6135
6174
  });
6136
6175
  updateColumn();
6137
6176
  };
6138
- const syncTableColumnsToCookies = () => {
6139
- var _a2, _b;
6177
+ const syncTableColumnsToCookies = async () => {
6178
+ var _a2;
6140
6179
  const newTableColumns = [...fixedColumn.value, ...unFixedColumn.value];
6141
6180
  if (newTableColumns.filter((item) => !item.initHidden).length === 0) {
6142
- instance == null ? void 0 : instance.$openMessage.warning({
6181
+ (_a2 = instance == null ? void 0 : instance.$openMessage) == null ? void 0 : _a2.warning({
6143
6182
  message: props.selectEmptyWarningTips,
6144
6183
  duration: 2e3
6145
6184
  });
@@ -6157,8 +6196,9 @@ __sfc_main$1.setup = (__props, __ctx) => {
6157
6196
  };
6158
6197
  obj[i.prop] = !columnState[i.prop].initHidden;
6159
6198
  });
6160
- (_a2 = instance == null ? void 0 : instance.$cookies) == null ? void 0 : _a2.remove(props.storageKey);
6161
- (_b = instance == null ? void 0 : instance.$cookies) == null ? void 0 : _b.set(props.storageKey, JSON.stringify(columnState), -1, "/xxxx/xxxx/xxxx");
6199
+ if (props.columnEdit) {
6200
+ await set(props.storageKey, columnState);
6201
+ }
6162
6202
  return obj;
6163
6203
  };
6164
6204
  const drag = vueDemi.ref(false);
@@ -7011,7 +7051,7 @@ __sfc_main.props = {
7011
7051
  }
7012
7052
  };
7013
7053
  __sfc_main.setup = (__props, __ctx) => {
7014
- var _a, _b, _c, _d;
7054
+ var _a;
7015
7055
  const props = __props;
7016
7056
  const emit = __ctx.emit;
7017
7057
  const instance = (_a = vueDemi.getCurrentInstance()) == null ? void 0 : _a.proxy;
@@ -7030,7 +7070,9 @@ __sfc_main.setup = (__props, __ctx) => {
7030
7070
  }
7031
7071
  return !item.initHidden;
7032
7072
  }).map((item) => item.prop);
7033
- props.formOptions._skip = false;
7073
+ vueDemi.nextTick(() => {
7074
+ props.formOptions._skip = false;
7075
+ });
7034
7076
  if (result.length) {
7035
7077
  return result;
7036
7078
  }
@@ -7040,13 +7082,15 @@ __sfc_main.setup = (__props, __ctx) => {
7040
7082
  vueDemi.watch(() => {
7041
7083
  var _a2;
7042
7084
  return (_a2 = localShowItems.value) == null ? void 0 : _a2.length;
7043
- }, () => {
7085
+ }, async () => {
7044
7086
  emit("update:showItems", localShowItems.value);
7087
+ if (Object.keys(nfSearchFormModel.value).length) {
7088
+ await refreshNfSearchFormModel(false);
7089
+ }
7045
7090
  }, {
7046
7091
  immediate: true
7047
7092
  });
7048
- const syncLocalShowColumnToCookies = () => {
7049
- var _a2, _b2;
7093
+ const syncLocalShowColumnToCookies = async () => {
7050
7094
  if (props.columnEdit) {
7051
7095
  const columnState = {};
7052
7096
  props.formOptions.map((i, index2) => {
@@ -7057,26 +7101,28 @@ __sfc_main.setup = (__props, __ctx) => {
7057
7101
  index: index2
7058
7102
  };
7059
7103
  });
7060
- (_a2 = instance == null ? void 0 : instance.$cookies) == null ? void 0 : _a2.remove(props.storageKey);
7061
- (_b2 = instance == null ? void 0 : instance.$cookies) == null ? void 0 : _b2.set(props.storageKey, JSON.stringify(columnState), -1, "/xxxx/xxxx/xxxx");
7104
+ await set(props.storageKey, columnState);
7062
7105
  }
7063
7106
  };
7064
- const syncCookiesToLocalShowColumn = () => {
7065
- var _a2;
7107
+ const syncCookiesToLocalShowColumn = async () => {
7066
7108
  if (props.columnEdit) {
7067
- let columnState = (_a2 = instance == null ? void 0 : instance.$cookies) == null ? void 0 : _a2.get(props.storageKey);
7068
- if (columnState) {
7069
- if (typeof columnState === "string") {
7070
- columnState = JSON.parse(columnState);
7071
- }
7072
- const showColumnItems = [];
7073
- for (const key in columnState) {
7074
- if (!columnState[key].initHidden) {
7075
- showColumnItems.push(columnState[key].prop);
7109
+ try {
7110
+ let columnState = await get(props.storageKey);
7111
+ if (columnState) {
7112
+ if (typeof columnState === "string") {
7113
+ columnState = JSON.parse(columnState);
7076
7114
  }
7115
+ const showColumnItems = [];
7116
+ for (const key in columnState) {
7117
+ if (!columnState[key].initHidden) {
7118
+ showColumnItems.push(columnState[key].prop);
7119
+ }
7120
+ }
7121
+ setLocalShowItems(showColumnItems, true);
7077
7122
  }
7078
- localShowItems.value = showColumnItems;
7079
- syncShowItemToInitHidden();
7123
+ } catch (e) {
7124
+ console.log(e);
7125
+ await del(props.storageKey);
7080
7126
  }
7081
7127
  }
7082
7128
  };
@@ -7090,61 +7136,74 @@ __sfc_main.setup = (__props, __ctx) => {
7090
7136
  item.initHidden = true;
7091
7137
  }
7092
7138
  });
7093
- props.formOptions._skip = false;
7139
+ vueDemi.nextTick(() => {
7140
+ props.formOptions._skip = false;
7141
+ });
7094
7142
  };
7095
- if (props.columnEdit) {
7096
- const cached = (_b = instance == null ? void 0 : instance.$cookies) == null ? void 0 : _b.get(props.storageKey);
7097
- const cachedPriority = props.priority === "cached";
7098
- if (cachedPriority ? cached : (_c = localShowItems.value) == null ? void 0 : _c.length) {
7099
- cachedPriority ? syncCookiesToLocalShowColumn() : syncLocalShowColumnToCookies();
7100
- } else if (cachedPriority ? (_d = localShowItems.value) == null ? void 0 : _d.length : cached) {
7101
- cachedPriority ? syncLocalShowColumnToCookies() : syncCookiesToLocalShowColumn();
7143
+ const initCachedData = async () => {
7144
+ var _a2, _b;
7145
+ if (props.columnEdit) {
7146
+ try {
7147
+ const cached = await get(props.storageKey);
7148
+ const cachedPriority = props.priority === "cached";
7149
+ if (cachedPriority ? cached : (_a2 = localShowItems.value) == null ? void 0 : _a2.length) {
7150
+ cachedPriority ? await syncCookiesToLocalShowColumn() : await syncLocalShowColumnToCookies();
7151
+ } else if (cachedPriority ? (_b = localShowItems.value) == null ? void 0 : _b.length : cached) {
7152
+ cachedPriority ? await syncLocalShowColumnToCookies() : await syncCookiesToLocalShowColumn();
7153
+ }
7154
+ } catch (e) {
7155
+ await del(props.storageKey);
7156
+ }
7102
7157
  }
7103
- }
7158
+ };
7159
+ initCachedData();
7104
7160
  const configNfSearchItemVisibleDialog = vueDemi.ref(false);
7105
7161
  const newColumns = vueDemi.ref(3);
7106
7162
  const isShowBtnBoxSlot = vueDemi.computed(() => {
7107
7163
  return instance == null ? void 0 : instance.$slots.btnBox;
7108
7164
  });
7109
7165
  const renderSearchFormItemOptions = vueDemi.ref([]);
7110
- const syncCookiesToSearchFormItemOptions = (readCached = true) => {
7111
- var _a2;
7166
+ const syncCookiesToSearchFormItemOptions = async (readCached = true) => {
7112
7167
  props.formOptions._skip = true;
7113
7168
  const columns = props.formOptions.map((item, index2) => {
7114
7169
  item.key = item.key || commonUtils.createUniqueString();
7115
7170
  item._index = index2;
7116
7171
  item.__index = index2;
7172
+ vue.set(item, "initHidden", !!item.initHidden);
7173
+ vue.set(item, "destory", !!item.destory);
7117
7174
  return item;
7118
7175
  });
7119
7176
  if (readCached && props.columnEdit) {
7120
- let columnState = (_a2 = instance == null ? void 0 : instance.$cookies) == null ? void 0 : _a2.get(props.storageKey);
7121
- if (columnState) {
7122
- if (typeof columnState === "string") {
7123
- columnState = JSON.parse(columnState);
7124
- }
7125
- for (const key in columnState) {
7126
- const state = columnState[key];
7127
- columns.every((i) => {
7128
- if (i.prop === key) {
7129
- i.initHidden = state.initHidden;
7130
- i._index = state.index;
7131
- return false;
7132
- }
7133
- return true;
7134
- });
7177
+ try {
7178
+ let columnState = await get(props.storageKey);
7179
+ props.formOptions._skip = true;
7180
+ if (columnState) {
7181
+ if (typeof columnState === "string") {
7182
+ columnState = JSON.parse(columnState);
7183
+ }
7184
+ for (const key in columnState) {
7185
+ const state = columnState[key];
7186
+ columns.every((i) => {
7187
+ if (i.prop === key) {
7188
+ i.initHidden = state.initHidden;
7189
+ i._index = state.index;
7190
+ return false;
7191
+ }
7192
+ return true;
7193
+ });
7194
+ }
7135
7195
  }
7196
+ } catch (e) {
7197
+ console.log(e);
7136
7198
  }
7137
7199
  }
7138
- renderSearchFormItemOptions.value = columns.sort((a, b) => a._index - b._index < 0 ? -1 : a._index - b._index > 0 ? 1 : 0);
7200
+ await vueDemi.nextTick();
7139
7201
  props.formOptions._skip = false;
7202
+ renderSearchFormItemOptions.value = columns.sort((a, b) => a._index - b._index < 0 ? -1 : a._index - b._index > 0 ? 1 : 0);
7140
7203
  };
7141
7204
  syncCookiesToSearchFormItemOptions();
7142
7205
  const itemIsShow = (item) => {
7143
- var _a2;
7144
- if (!((_a2 = localShowItems.value) == null ? void 0 : _a2.length)) {
7145
- return !item.initHidden && !item.destory;
7146
- }
7147
- return localShowItems.value.includes(item.prop) && !item.initHidden && !item.destory;
7206
+ return !item.initHidden && !item.destory;
7148
7207
  };
7149
7208
  vueDemi.watch(() => nfSearchFormModel.value, () => {
7150
7209
  emit("onChange", nfSearchFormModel.value);
@@ -7159,32 +7218,52 @@ __sfc_main.setup = (__props, __ctx) => {
7159
7218
  }, {
7160
7219
  immediate: true
7161
7220
  });
7221
+ const setLocalShowItems = (list, syncToInitHidden = false) => {
7222
+ if (JSON.stringify(list.sort()) !== JSON.stringify(localShowItems.value.sort())) {
7223
+ localShowItems.value = list;
7224
+ if (syncToInitHidden) {
7225
+ syncShowItemToInitHidden();
7226
+ }
7227
+ }
7228
+ };
7162
7229
  vueDemi.onBeforeMount(() => {
7163
7230
  vueDemi.watch(() => {
7164
7231
  return props.formOptions;
7165
- }, () => {
7232
+ }, async () => {
7166
7233
  if (props.formOptions._skip) {
7167
7234
  return;
7168
7235
  }
7169
- syncCookiesToSearchFormItemOptions(false);
7236
+ setLocalShowItems(initLocalShow());
7237
+ await syncCookiesToSearchFormItemOptions(false);
7170
7238
  }, {
7171
7239
  deep: true
7172
7240
  });
7241
+ refreshNfSearchFormModel(false, true);
7242
+ });
7243
+ const refreshNfSearchFormModel = async (outEmit = true, init = false) => {
7173
7244
  const obj = {};
7174
- props.formOptions.forEach((v) => {
7175
- if (v.initValue !== void 0) {
7176
- obj[v.prop] = v.initValue;
7177
- } else {
7178
- obj[v.prop] = void 0;
7245
+ props.formOptions.filter((item) => !item.destory).forEach((v) => {
7246
+ if (localShowItems.value.includes(v.prop)) {
7247
+ if (init) {
7248
+ if (v.initValue !== void 0) {
7249
+ obj[v.prop] = v.initValue;
7250
+ } else {
7251
+ obj[v.prop] = void 0;
7252
+ }
7253
+ } else {
7254
+ obj[v.prop] = nfSearchFormModel.value[v.prop];
7255
+ }
7179
7256
  }
7180
7257
  });
7181
- for (const key in obj) {
7182
- if (!localShowItems.value.includes(key)) {
7183
- delete obj[key];
7258
+ if (JSON.stringify(nfSearchFormModel.value) !== JSON.stringify(obj)) {
7259
+ nfSearchFormModel.value = obj;
7260
+ if (outEmit) {
7261
+ emit("onChange", nfSearchFormModel.value);
7262
+ await vueDemi.nextTick();
7263
+ emit("itemsChange", localShowItems.value);
7184
7264
  }
7185
7265
  }
7186
- nfSearchFormModel.value = obj;
7187
- });
7266
+ };
7188
7267
  const isCollapseChange = async (val) => {
7189
7268
  emit("isCollapseChange", val);
7190
7269
  await vueDemi.nextTick();
@@ -7270,26 +7349,23 @@ __sfc_main.setup = (__props, __ctx) => {
7270
7349
  });
7271
7350
  };
7272
7351
  const hiddenNfSearchFormItemOptionField = async (prop) => {
7273
- const index2 = localShowItems.value.indexOf(prop);
7274
- if (index2 > -1) {
7275
- localShowItems.value.splice(index2, 1);
7276
- syncShowItemToInitHidden();
7277
- syncLocalShowColumnToCookies();
7278
- syncCookiesToSearchFormItemOptions();
7279
- refreshNfSearchFormModel();
7280
- await vueDemi.nextTick();
7281
- refreshLabel();
7282
- }
7283
- };
7284
- const refreshNfSearchFormModel = async () => {
7285
- for (const key in nfSearchFormModel.value) {
7286
- if (!localShowItems.value.includes(key)) {
7287
- delete nfSearchFormModel.value[key];
7352
+ prop.formOptions._skip = true;
7353
+ prop.formOptions.every((item) => {
7354
+ if (item.prop === prop) {
7355
+ item.initHidden = true;
7356
+ return false;
7288
7357
  }
7289
- }
7290
- emit("onChange", nfSearchFormModel.value);
7358
+ return true;
7359
+ });
7360
+ vueDemi.nextTick(() => {
7361
+ props.formOptions._skip = false;
7362
+ });
7363
+ localShowItems.value = prop.formOptions.filter((item) => !item.initHidden).map((item) => item.prop);
7364
+ await syncLocalShowColumnToCookies();
7365
+ await syncCookiesToSearchFormItemOptions();
7366
+ await refreshNfSearchFormModel();
7291
7367
  await vueDemi.nextTick();
7292
- emit("itemsChange", localShowItems.value);
7368
+ refreshLabel();
7293
7369
  };
7294
7370
  const columnCheckConfirmFeedback = (value) => {
7295
7371
  if (!props.columnEdit) {
@@ -7299,17 +7375,16 @@ __sfc_main.setup = (__props, __ctx) => {
7299
7375
  itemsList.push(key);
7300
7376
  }
7301
7377
  }
7302
- localShowItems.value = itemsList;
7303
- syncShowItemToInitHidden();
7378
+ setLocalShowItems(itemsList, true);
7304
7379
  }
7305
7380
  };
7306
7381
  const columnCheckConfirm = async (cb, error) => {
7307
7382
  try {
7308
- const value = columnCheckDrawer.value.syncTableColumnsToCookies();
7383
+ const value = await columnCheckDrawer.value.syncTableColumnsToCookies();
7309
7384
  columnCheckConfirmFeedback(value);
7310
- syncCookiesToLocalShowColumn();
7311
- syncCookiesToSearchFormItemOptions();
7312
- refreshNfSearchFormModel();
7385
+ await syncCookiesToLocalShowColumn();
7386
+ await syncCookiesToSearchFormItemOptions();
7387
+ await refreshNfSearchFormModel();
7313
7388
  await vueDemi.nextTick();
7314
7389
  refreshLabel();
7315
7390
  cb();
@@ -7320,9 +7395,9 @@ __sfc_main.setup = (__props, __ctx) => {
7320
7395
  };
7321
7396
  const nfSearchFormItemOptionFieldsSave = async (value) => {
7322
7397
  columnCheckConfirmFeedback(value);
7323
- syncCookiesToLocalShowColumn();
7324
- syncCookiesToSearchFormItemOptions();
7325
- refreshNfSearchFormModel();
7398
+ await syncCookiesToLocalShowColumn();
7399
+ await syncCookiesToSearchFormItemOptions();
7400
+ await refreshNfSearchFormModel();
7326
7401
  await vueDemi.nextTick();
7327
7402
  refreshLabel();
7328
7403
  };
@@ -7333,7 +7408,6 @@ __sfc_main.setup = (__props, __ctx) => {
7333
7408
  columnCheckDrawer,
7334
7409
  columnCheckDialog,
7335
7410
  nfSearchFormModel,
7336
- localShowItems,
7337
7411
  configNfSearchItemVisibleDialog,
7338
7412
  newColumns,
7339
7413
  isShowBtnBoxSlot,
@@ -7668,7 +7742,6 @@ var _sfc_render = function render6() {
7668
7742
  "table-columns": _vm.formOptions,
7669
7743
  "title": _vm.moreDialogTitle,
7670
7744
  "width": _vm.moreDialogWidth,
7671
- "show-columns": _vm.localShowItems,
7672
7745
  "modal-append-to-body": _vm.modalAppendToBody,
7673
7746
  "modal": _vm.modal,
7674
7747
  "fullscreen": _vm.fullscreen,
@@ -7732,6 +7805,7 @@ var _sfc_render = function render6() {
7732
7805
  }), _c("column-check-drawer", {
7733
7806
  ref: "columnCheckDrawer",
7734
7807
  attrs: {
7808
+ "column-edit": _vm.columnEdit,
7735
7809
  "search-placeholder": _vm.columnCheckSearchPlaceholder,
7736
7810
  "fixed-left-desc": _vm.columnCheckFixedLeftDesc,
7737
7811
  "clear-desc": _vm.columnCheckClearDesc,
@@ -7748,9 +7822,6 @@ var _sfc_staticRenderFns = [];
7748
7822
  var __component__ = /* @__PURE__ */ vue2RuntimeHelpers.normalizeComponent(__sfc_main, _sfc_render, _sfc_staticRenderFns, false, null, null, null, null);
7749
7823
  const NfSearchForm = __component__.exports;
7750
7824
  NfSearchForm.install = (app) => {
7751
- if (!app.$cookies) {
7752
- app.use(VueCookies);
7753
- }
7754
7825
  if (!app.$openMessage) {
7755
7826
  app.use(NfMessage);
7756
7827
  }