@94ai/nf-table 3.2.35 → 3.2.37

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.
@@ -197,7 +197,7 @@ __sfc_main$2.setup = (__props, __ctx) => {
197
197
  index: index2
198
198
  };
199
199
  });
200
- (_a2 = instance == null ? void 0 : instance.$cookies) == null ? void 0 : _a2.set(props.storageKey, JSON.stringify(columnState), -1);
200
+ (_a2 = instance == null ? void 0 : instance.$cookies) == null ? void 0 : _a2.set(props.storageKey, JSON.stringify(columnState), -1, "xxxx/xxxx/xxxx", "xxxx.xxxx.xxxx.com");
201
201
  emit("save", tableData.value);
202
202
  };
203
203
  const addInitValue = () => {
@@ -5466,7 +5466,7 @@ __sfc_main$1.setup = (__props, __ctx) => {
5466
5466
  };
5467
5467
  obj[i.prop] = !columnState[i.prop].initHidden;
5468
5468
  });
5469
- (_a2 = instance == null ? void 0 : instance.$cookies) == null ? void 0 : _a2.set(props.storageKey, JSON.stringify(columnState), -1);
5469
+ (_a2 = instance == null ? void 0 : instance.$cookies) == null ? void 0 : _a2.set(props.storageKey, JSON.stringify(columnState), -1, "xxxx/xxxx/xxxx", "xxxx.xxxx.xxxx.com");
5470
5470
  return obj;
5471
5471
  };
5472
5472
  const drag = vueDemi.ref(false);
@@ -6259,7 +6259,7 @@ __sfc_main.setup = (__props, __ctx) => {
6259
6259
  index: index2
6260
6260
  };
6261
6261
  });
6262
- (_a2 = instance == null ? void 0 : instance.$cookies) == null ? void 0 : _a2.set(props.storageKey, JSON.stringify(columnState), -1);
6262
+ (_a2 = instance == null ? void 0 : instance.$cookies) == null ? void 0 : _a2.set(props.storageKey, JSON.stringify(columnState), -1, "xxxx/xxxx/xxxx", "xxxx.xxxx.xxxx.com");
6263
6263
  }
6264
6264
  };
6265
6265
  const syncShowItemToInitHidden = () => {
@@ -195,7 +195,7 @@ __sfc_main$2.setup = (__props, __ctx) => {
195
195
  index: index2
196
196
  };
197
197
  });
198
- (_a2 = instance == null ? void 0 : instance.$cookies) == null ? void 0 : _a2.set(props.storageKey, JSON.stringify(columnState), -1);
198
+ (_a2 = instance == null ? void 0 : instance.$cookies) == null ? void 0 : _a2.set(props.storageKey, JSON.stringify(columnState), -1, "xxxx/xxxx/xxxx", "xxxx.xxxx.xxxx.com");
199
199
  emit("save", tableData.value);
200
200
  };
201
201
  const addInitValue = () => {
@@ -5464,7 +5464,7 @@ __sfc_main$1.setup = (__props, __ctx) => {
5464
5464
  };
5465
5465
  obj[i.prop] = !columnState[i.prop].initHidden;
5466
5466
  });
5467
- (_a2 = instance == null ? void 0 : instance.$cookies) == null ? void 0 : _a2.set(props.storageKey, JSON.stringify(columnState), -1);
5467
+ (_a2 = instance == null ? void 0 : instance.$cookies) == null ? void 0 : _a2.set(props.storageKey, JSON.stringify(columnState), -1, "xxxx/xxxx/xxxx", "xxxx.xxxx.xxxx.com");
5468
5468
  return obj;
5469
5469
  };
5470
5470
  const drag = ref(false);
@@ -6257,7 +6257,7 @@ __sfc_main.setup = (__props, __ctx) => {
6257
6257
  index: index2
6258
6258
  };
6259
6259
  });
6260
- (_a2 = instance == null ? void 0 : instance.$cookies) == null ? void 0 : _a2.set(props.storageKey, JSON.stringify(columnState), -1);
6260
+ (_a2 = instance == null ? void 0 : instance.$cookies) == null ? void 0 : _a2.set(props.storageKey, JSON.stringify(columnState), -1, "xxxx/xxxx/xxxx", "xxxx.xxxx.xxxx.com");
6261
6261
  }
6262
6262
  };
6263
6263
  const syncShowItemToInitHidden = () => {
@@ -155,7 +155,7 @@ const submit = () =>{
155
155
  }
156
156
  })
157
157
  // @ts-ignore
158
- instance?.$cookies?.set(props.storageKey, JSON.stringify(columnState), -1)
158
+ instance?.$cookies?.set(props.storageKey, JSON.stringify(columnState), -1, 'xxxx/xxxx/xxxx', 'xxxx.xxxx.xxxx.com')
159
159
  emit('save', tableData.value)
160
160
  }
161
161
 
@@ -381,7 +381,7 @@ const syncTableColumnsToCookies = () => {
381
381
  obj[i.prop] = !columnState[i.prop].initHidden
382
382
  })
383
383
  // @ts-ignore
384
- instance?.$cookies?.set(props.storageKey, JSON.stringify(columnState), -1)
384
+ instance?.$cookies?.set(props.storageKey, JSON.stringify(columnState), -1, 'xxxx/xxxx/xxxx', 'xxxx.xxxx.xxxx.com')
385
385
  return obj
386
386
  }
387
387
 
@@ -838,7 +838,7 @@ const syncLocalShowColumnToCookies = () => {
838
838
  }
839
839
  })
840
840
  // @ts-ignore
841
- instance?.$cookies?.set(props.storageKey, JSON.stringify(columnState), -1)
841
+ instance?.$cookies?.set(props.storageKey, JSON.stringify(columnState), -1, 'xxxx/xxxx/xxxx', 'xxxx.xxxx.xxxx.com')
842
842
  }
843
843
  }
844
844
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@94ai/nf-table",
3
- "version": "3.2.35",
3
+ "version": "3.2.37",
4
4
  "description": "> TODO: description",
5
5
  "keywords": [],
6
6
  "author": "zoujiahe <zoujiahe@94ai.com>",
@@ -14,10 +14,10 @@
14
14
  "url": "http://94ai.gitlab.com/zoujiahe/common-ui.git"
15
15
  },
16
16
  "dependencies": {
17
- "@94ai/nf-drawer": "^3.2.35",
18
- "@94ai/nf-message": "^3.2.35",
19
- "@94ai/nf-search-form": "^3.2.35",
20
- "@94ai/nf-theme-chalk": "^3.2.35",
17
+ "@94ai/nf-drawer": "^3.2.37",
18
+ "@94ai/nf-message": "^3.2.37",
19
+ "@94ai/nf-search-form": "^3.2.37",
20
+ "@94ai/nf-theme-chalk": "^3.2.37",
21
21
  "vue-cookies": "^1.8.3",
22
22
  "vue-demi": "^0.14.5",
23
23
  "vuedraggable": "^2.24.3"
@@ -35,5 +35,5 @@
35
35
  "types": "lib/index.d.ts",
36
36
  "main": "lib/nf-table.cjs.js",
37
37
  "module": "lib/nf-table.esm-bundler.js",
38
- "gitHead": "98f8d6851ec74d978e54fa3f16676b24eba5e63f"
38
+ "gitHead": "6372974ccd59eb1fb5d5d9ca9bb7eaccdb1caab4"
39
39
  }