@94ai/nf-search-form 3.2.70 → 3.2.72

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 CHANGED
@@ -1427,6 +1427,8 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
1427
1427
  syncCookiesToSearchFormItemOptions: (readCached?: boolean) => Promise<void>;
1428
1428
  onResize: (params?: Record<string, any>) => Promise<void>;
1429
1429
  visibleChange: () => void;
1430
+ clearDragCached: () => Promise<void>;
1431
+ clearColumnEditCached: () => Promise<void>;
1430
1432
  }> & import("vue/types/v3-component-options").ExtractComputedReturns<{}> & import("vue-demi").ComponentCustomProperties & Readonly<import("vue-demi").ExtractPropTypes<{
1431
1433
  columns: {
1432
1434
  type: import("vue-demi").PropType<number>;
@@ -2331,6 +2333,8 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
2331
2333
  syncCookiesToSearchFormItemOptions: (readCached?: boolean) => Promise<void>;
2332
2334
  onResize: (params?: Record<string, any>) => Promise<void>;
2333
2335
  visibleChange: () => void;
2336
+ clearDragCached: () => Promise<void>;
2337
+ clearColumnEditCached: () => Promise<void>;
2334
2338
  }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
2335
2339
  onChange: (event: Record<string, any>) => void;
2336
2340
  itemsChange: (event: string[]) => void;
@@ -7426,6 +7426,12 @@ __sfc_main.setup = (__props, __ctx) => {
7426
7426
  console.log(e);
7427
7427
  }
7428
7428
  };
7429
+ async function clearDragCached() {
7430
+ await commonUtils.CachedManager.asyncCachedSet(`${props.storageKey}$drag-column-width`, null);
7431
+ }
7432
+ async function clearColumnEditCached() {
7433
+ await commonUtils.CachedManager.asyncCachedSet(props.storageKey, null);
7434
+ }
7429
7435
  const nfSearchFormItemOptionFieldsSave = async (value) => {
7430
7436
  columnCheckConfirmFeedback(value);
7431
7437
  await syncCookiesToLocalShowColumn();
@@ -7529,7 +7535,9 @@ __sfc_main.setup = (__props, __ctx) => {
7529
7535
  */
7530
7536
  syncCookiesToSearchFormItemOptions,
7531
7537
  onResize,
7532
- visibleChange: refreshLabel
7538
+ visibleChange: refreshLabel,
7539
+ clearDragCached,
7540
+ clearColumnEditCached
7533
7541
  });
7534
7542
  };
7535
7543
  __sfc_main.components = Object.assign({
@@ -7424,6 +7424,12 @@ __sfc_main.setup = (__props, __ctx) => {
7424
7424
  console.log(e);
7425
7425
  }
7426
7426
  };
7427
+ async function clearDragCached() {
7428
+ await CachedManager.asyncCachedSet(`${props.storageKey}$drag-column-width`, null);
7429
+ }
7430
+ async function clearColumnEditCached() {
7431
+ await CachedManager.asyncCachedSet(props.storageKey, null);
7432
+ }
7427
7433
  const nfSearchFormItemOptionFieldsSave = async (value) => {
7428
7434
  columnCheckConfirmFeedback(value);
7429
7435
  await syncCookiesToLocalShowColumn();
@@ -7527,7 +7533,9 @@ __sfc_main.setup = (__props, __ctx) => {
7527
7533
  */
7528
7534
  syncCookiesToSearchFormItemOptions,
7529
7535
  onResize,
7530
- visibleChange: refreshLabel
7536
+ visibleChange: refreshLabel,
7537
+ clearDragCached,
7538
+ clearColumnEditCached
7531
7539
  });
7532
7540
  };
7533
7541
  __sfc_main.components = Object.assign({
@@ -487,6 +487,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineCompone
487
487
  syncCookiesToSearchFormItemOptions: (readCached?: boolean) => Promise<void>;
488
488
  onResize: (params?: Record<string, any>) => Promise<void>;
489
489
  visibleChange: () => void;
490
+ clearDragCached: () => Promise<void>;
491
+ clearColumnEditCached: () => Promise<void>;
490
492
  }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
491
493
  onChange: (event: Record<string, any>) => void;
492
494
  itemsChange: (event: string[]) => void;
@@ -1047,6 +1047,14 @@ const columnCheckConfirm = async (cb, error) => {
1047
1047
  }
1048
1048
  }
1049
1049
 
1050
+ async function clearDragCached() {
1051
+ await CachedManager.asyncCachedSet(`${props.storageKey}$drag-column-width`, null)
1052
+ }
1053
+
1054
+ async function clearColumnEditCached() {
1055
+ await CachedManager.asyncCachedSet(props.storageKey, null)
1056
+ }
1057
+
1050
1058
  /**
1051
1059
  * 保存表单显示的字段
1052
1060
  */
@@ -1133,7 +1141,9 @@ defineExpose({
1133
1141
  */
1134
1142
  syncCookiesToSearchFormItemOptions,
1135
1143
  onResize,
1136
- visibleChange: refreshLabel
1144
+ visibleChange: refreshLabel,
1145
+ clearDragCached,
1146
+ clearColumnEditCached
1137
1147
  })
1138
1148
 
1139
1149
  </script>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@94ai/nf-search-form",
3
- "version": "3.2.70",
3
+ "version": "3.2.72",
4
4
  "description": "> TODO: description",
5
5
  "keywords": [],
6
6
  "author": "zoujiahe <zoujiahe@94ai.com>",
@@ -14,22 +14,22 @@
14
14
  "url": "http://94ai.gitlab.com/zoujiahe/common-ui.git"
15
15
  },
16
16
  "dependencies": {
17
- "@94ai/common-utils": "^3.2.70",
18
- "@94ai/nf-button": "^3.2.70",
19
- "@94ai/nf-double-half-year": "^3.2.70",
20
- "@94ai/nf-double-quarter": "^3.2.70",
21
- "@94ai/nf-double-week": "^3.2.70",
22
- "@94ai/nf-double-year": "^3.2.70",
23
- "@94ai/nf-drawer": "^3.2.70",
24
- "@94ai/nf-form": "^3.2.70",
25
- "@94ai/nf-form-item": "^3.2.70",
26
- "@94ai/nf-half-year-picker": "^3.2.70",
27
- "@94ai/nf-lazy-select": "^3.2.70",
28
- "@94ai/nf-message": "^3.2.70",
29
- "@94ai/nf-quarter-picker": "^3.2.70",
30
- "@94ai/nf-select-transfer": "^3.2.70",
31
- "@94ai/nf-theme-chalk": "^3.2.70",
32
- "@94ai/nf-virtual-select": "^3.2.70",
17
+ "@94ai/common-utils": "^3.2.72",
18
+ "@94ai/nf-button": "^3.2.72",
19
+ "@94ai/nf-double-half-year": "^3.2.72",
20
+ "@94ai/nf-double-quarter": "^3.2.72",
21
+ "@94ai/nf-double-week": "^3.2.72",
22
+ "@94ai/nf-double-year": "^3.2.72",
23
+ "@94ai/nf-drawer": "^3.2.72",
24
+ "@94ai/nf-form": "^3.2.72",
25
+ "@94ai/nf-form-item": "^3.2.72",
26
+ "@94ai/nf-half-year-picker": "^3.2.72",
27
+ "@94ai/nf-lazy-select": "^3.2.72",
28
+ "@94ai/nf-message": "^3.2.72",
29
+ "@94ai/nf-quarter-picker": "^3.2.72",
30
+ "@94ai/nf-select-transfer": "^3.2.72",
31
+ "@94ai/nf-theme-chalk": "^3.2.72",
32
+ "@94ai/nf-virtual-select": "^3.2.72",
33
33
  "idb-keyval": "^6.2.1",
34
34
  "resize-observer-polyfill": "^1.5.1",
35
35
  "vue-demi": "^0.14.5",
@@ -48,5 +48,5 @@
48
48
  "types": "lib/index.d.ts",
49
49
  "main": "lib/nf-search-form.cjs.js",
50
50
  "module": "lib/nf-search-form.esm-bundler.js",
51
- "gitHead": "8d34ebea758609976687c2585cea11a0ca01a7c8"
51
+ "gitHead": "92c79145b64d591457896ae871b4b553ab096422"
52
52
  }