@94ai/nf-search-form 100.1.8 → 100.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.
@@ -6136,10 +6136,10 @@ __sfc_main$1.setup = (__props, __ctx) => {
6136
6136
  updateColumn();
6137
6137
  };
6138
6138
  const syncTableColumnsToCookies = () => {
6139
- var _a2, _b;
6139
+ var _a2, _b, _c;
6140
6140
  const newTableColumns = [...fixedColumn.value, ...unFixedColumn.value];
6141
6141
  if (newTableColumns.filter((item) => !item.initHidden).length === 0) {
6142
- instance == null ? void 0 : instance.$openMessage.warning({
6142
+ (_a2 = instance == null ? void 0 : instance.$openMessage) == null ? void 0 : _a2.warning({
6143
6143
  message: props.selectEmptyWarningTips,
6144
6144
  duration: 2e3
6145
6145
  });
@@ -6157,8 +6157,8 @@ __sfc_main$1.setup = (__props, __ctx) => {
6157
6157
  };
6158
6158
  obj[i.prop] = !columnState[i.prop].initHidden;
6159
6159
  });
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");
6160
+ (_b = instance == null ? void 0 : instance.$cookies) == null ? void 0 : _b.remove(props.storageKey);
6161
+ (_c = instance == null ? void 0 : instance.$cookies) == null ? void 0 : _c.set(props.storageKey, JSON.stringify(columnState), -1, "/xxxx/xxxx/xxxx");
6162
6162
  return obj;
6163
6163
  };
6164
6164
  const drag = vueDemi.ref(false);
@@ -6134,10 +6134,10 @@ __sfc_main$1.setup = (__props, __ctx) => {
6134
6134
  updateColumn();
6135
6135
  };
6136
6136
  const syncTableColumnsToCookies = () => {
6137
- var _a2, _b;
6137
+ var _a2, _b, _c;
6138
6138
  const newTableColumns = [...fixedColumn.value, ...unFixedColumn.value];
6139
6139
  if (newTableColumns.filter((item) => !item.initHidden).length === 0) {
6140
- instance == null ? void 0 : instance.$openMessage.warning({
6140
+ (_a2 = instance == null ? void 0 : instance.$openMessage) == null ? void 0 : _a2.warning({
6141
6141
  message: props.selectEmptyWarningTips,
6142
6142
  duration: 2e3
6143
6143
  });
@@ -6155,8 +6155,8 @@ __sfc_main$1.setup = (__props, __ctx) => {
6155
6155
  };
6156
6156
  obj[i.prop] = !columnState[i.prop].initHidden;
6157
6157
  });
6158
- (_a2 = instance == null ? void 0 : instance.$cookies) == null ? void 0 : _a2.remove(props.storageKey);
6159
- (_b = instance == null ? void 0 : instance.$cookies) == null ? void 0 : _b.set(props.storageKey, JSON.stringify(columnState), -1, "/xxxx/xxxx/xxxx");
6158
+ (_b = instance == null ? void 0 : instance.$cookies) == null ? void 0 : _b.remove(props.storageKey);
6159
+ (_c = instance == null ? void 0 : instance.$cookies) == null ? void 0 : _c.set(props.storageKey, JSON.stringify(columnState), -1, "/xxxx/xxxx/xxxx");
6160
6160
  return obj;
6161
6161
  };
6162
6162
  const drag = ref(false);
@@ -345,7 +345,7 @@ const syncTableColumnsToCookies = () => {
345
345
  const newTableColumns = [...fixedColumn.value, ...unFixedColumn.value]
346
346
  if (newTableColumns.filter(item => !item.initHidden).length === 0) {
347
347
  // @ts-ignore
348
- instance?.$openMessage.warning({
348
+ instance?.$openMessage?.warning({
349
349
  message: props.selectEmptyWarningTips,
350
350
  duration: 2000,
351
351
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@94ai/nf-search-form",
3
- "version": "100.1.8",
3
+ "version": "100.1.9",
4
4
  "description": "> TODO: description",
5
5
  "keywords": [],
6
6
  "author": "zoujiahe <zoujiahe@94ai.com>",
@@ -14,21 +14,21 @@
14
14
  "url": "http://94ai.gitlab.com/zoujiahe/common-ui.git"
15
15
  },
16
16
  "dependencies": {
17
- "@94ai/common-utils": "^100.1.8",
18
- "@94ai/nf-action": "^100.1.8",
19
- "@94ai/nf-double-half-year": "^100.1.8",
20
- "@94ai/nf-double-quarter": "^100.1.8",
21
- "@94ai/nf-double-week": "^100.1.8",
22
- "@94ai/nf-double-year": "^100.1.8",
23
- "@94ai/nf-drawer": "^100.1.8",
24
- "@94ai/nf-form": "^100.1.8",
25
- "@94ai/nf-form-item": "^100.1.8",
26
- "@94ai/nf-half-year-picker": "^100.1.8",
27
- "@94ai/nf-message": "^100.1.8",
28
- "@94ai/nf-quarter-picker": "^100.1.8",
29
- "@94ai/nf-select-transfer": "^100.1.8",
30
- "@94ai/nf-theme-chalk": "^100.1.8",
31
- "@94ai/nf-virtual-select": "^100.1.8",
17
+ "@94ai/common-utils": "^100.1.9",
18
+ "@94ai/nf-action": "^100.1.9",
19
+ "@94ai/nf-double-half-year": "^100.1.9",
20
+ "@94ai/nf-double-quarter": "^100.1.9",
21
+ "@94ai/nf-double-week": "^100.1.9",
22
+ "@94ai/nf-double-year": "^100.1.9",
23
+ "@94ai/nf-drawer": "^100.1.9",
24
+ "@94ai/nf-form": "^100.1.9",
25
+ "@94ai/nf-form-item": "^100.1.9",
26
+ "@94ai/nf-half-year-picker": "^100.1.9",
27
+ "@94ai/nf-message": "^100.1.9",
28
+ "@94ai/nf-quarter-picker": "^100.1.9",
29
+ "@94ai/nf-select-transfer": "^100.1.9",
30
+ "@94ai/nf-theme-chalk": "^100.1.9",
31
+ "@94ai/nf-virtual-select": "^100.1.9",
32
32
  "resize-observer-polyfill": "^1.5.1",
33
33
  "vue-cookies": "^1.8.3",
34
34
  "vue-demi": "^0.14.5",
@@ -47,5 +47,5 @@
47
47
  "types": "lib/index.d.ts",
48
48
  "main": "lib/nf-search-form.cjs.js",
49
49
  "module": "lib/nf-search-form.esm-bundler.js",
50
- "gitHead": "9026240baa75f1b459275f767f772997d626686f"
50
+ "gitHead": "39459d15baea73427838a5d69ff485723b3dc9f2"
51
51
  }