@94ai/nf-search-form 3.3.45 → 3.3.51

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
@@ -279,11 +279,11 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
279
279
  };
280
280
  columnCheckGetCheckedLengthDesc: {
281
281
  type: import("vue-demi").PropType<any>;
282
- default: (length: any) => string;
282
+ default: (length: any) => (length: any) => string;
283
283
  };
284
284
  columnCheckGetAllCheckDesc: {
285
285
  type: import("vue-demi").PropType<any>;
286
- default: (length: any) => string;
286
+ default: (length: any) => (length: any) => string;
287
287
  };
288
288
  columnCheckTabs: {
289
289
  type: import("vue-demi").PropType<import("@94ai/nf-drawer/lib/types").ITabItem[]>;
@@ -696,11 +696,11 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
696
696
  };
697
697
  columnCheckGetCheckedLengthDesc: {
698
698
  type: import("vue-demi").PropType<any>;
699
- default: (length: any) => string;
699
+ default: (length: any) => (length: any) => string;
700
700
  };
701
701
  columnCheckGetAllCheckDesc: {
702
702
  type: import("vue-demi").PropType<any>;
703
- default: (length: any) => string;
703
+ default: (length: any) => (length: any) => string;
704
704
  };
705
705
  columnCheckTabs: {
706
706
  type: import("vue-demi").PropType<import("@94ai/nf-drawer/lib/types").ITabItem[]>;
@@ -1220,11 +1220,11 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
1220
1220
  };
1221
1221
  columnCheckGetCheckedLengthDesc: {
1222
1222
  type: import("vue-demi").PropType<any>;
1223
- default: (length: any) => string;
1223
+ default: (length: any) => (length: any) => string;
1224
1224
  };
1225
1225
  columnCheckGetAllCheckDesc: {
1226
1226
  type: import("vue-demi").PropType<any>;
1227
- default: (length: any) => string;
1227
+ default: (length: any) => (length: any) => string;
1228
1228
  };
1229
1229
  columnCheckTabs: {
1230
1230
  type: import("vue-demi").PropType<import("@94ai/nf-drawer/lib/types").ITabItem[]>;
@@ -1720,11 +1720,11 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
1720
1720
  };
1721
1721
  columnCheckGetCheckedLengthDesc: {
1722
1722
  type: import("vue-demi").PropType<any>;
1723
- default: (length: any) => string;
1723
+ default: (length: any) => (length: any) => string;
1724
1724
  };
1725
1725
  columnCheckGetAllCheckDesc: {
1726
1726
  type: import("vue-demi").PropType<any>;
1727
- default: (length: any) => string;
1727
+ default: (length: any) => (length: any) => string;
1728
1728
  };
1729
1729
  columnCheckTabs: {
1730
1730
  type: import("vue-demi").PropType<import("@94ai/nf-drawer/lib/types").ITabItem[]>;
@@ -2137,11 +2137,11 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
2137
2137
  };
2138
2138
  columnCheckGetCheckedLengthDesc: {
2139
2139
  type: import("vue-demi").PropType<any>;
2140
- default: (length: any) => string;
2140
+ default: (length: any) => (length: any) => string;
2141
2141
  };
2142
2142
  columnCheckGetAllCheckDesc: {
2143
2143
  type: import("vue-demi").PropType<any>;
2144
- default: (length: any) => string;
2144
+ default: (length: any) => (length: any) => string;
2145
2145
  };
2146
2146
  columnCheckTabs: {
2147
2147
  type: import("vue-demi").PropType<import("@94ai/nf-drawer/lib/types").ITabItem[]>;
@@ -2745,11 +2745,11 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
2745
2745
  };
2746
2746
  columnCheckGetCheckedLengthDesc: {
2747
2747
  type: import("vue-demi").PropType<any>;
2748
- default: (length: any) => string;
2748
+ default: (length: any) => (length: any) => string;
2749
2749
  };
2750
2750
  columnCheckGetAllCheckDesc: {
2751
2751
  type: import("vue-demi").PropType<any>;
2752
- default: (length: any) => string;
2752
+ default: (length: any) => (length: any) => string;
2753
2753
  };
2754
2754
  columnCheckTabs: {
2755
2755
  type: import("vue-demi").PropType<import("@94ai/nf-drawer/lib/types").ITabItem[]>;
@@ -7113,13 +7113,13 @@ __sfc_main.props = {
7113
7113
  key: "columnCheckGetCheckedLengthDesc",
7114
7114
  required: false,
7115
7115
  type: null,
7116
- default: (length) => "已选(" + length + ")"
7116
+ default: (length) => (length2) => "已选(" + length2 + ")"
7117
7117
  },
7118
7118
  columnCheckGetAllCheckDesc: {
7119
7119
  key: "columnCheckGetAllCheckDesc",
7120
7120
  required: false,
7121
7121
  type: null,
7122
- default: (length) => "全选(" + length + ")"
7122
+ default: (length) => (length2) => "全选(" + length2 + ")"
7123
7123
  },
7124
7124
  columnCheckTabs: {
7125
7125
  key: "columnCheckTabs",
@@ -7622,9 +7622,7 @@ __sfc_main.setup = (__props, __ctx) => {
7622
7622
  };
7623
7623
  const onNfSearchFormValidate = (callback) => {
7624
7624
  nfSearchFormRef.value.validate((valid) => {
7625
- if (valid) {
7626
- callback == null ? void 0 : callback();
7627
- }
7625
+ callback == null ? void 0 : callback(valid);
7628
7626
  });
7629
7627
  };
7630
7628
  const onNfSearchFormSearch = () => {
@@ -7111,13 +7111,13 @@ __sfc_main.props = {
7111
7111
  key: "columnCheckGetCheckedLengthDesc",
7112
7112
  required: false,
7113
7113
  type: null,
7114
- default: (length) => "已选(" + length + ")"
7114
+ default: (length) => (length2) => "已选(" + length2 + ")"
7115
7115
  },
7116
7116
  columnCheckGetAllCheckDesc: {
7117
7117
  key: "columnCheckGetAllCheckDesc",
7118
7118
  required: false,
7119
7119
  type: null,
7120
- default: (length) => "全选(" + length + ")"
7120
+ default: (length) => (length2) => "全选(" + length2 + ")"
7121
7121
  },
7122
7122
  columnCheckTabs: {
7123
7123
  key: "columnCheckTabs",
@@ -7620,9 +7620,7 @@ __sfc_main.setup = (__props, __ctx) => {
7620
7620
  };
7621
7621
  const onNfSearchFormValidate = (callback) => {
7622
7622
  nfSearchFormRef.value.validate((valid) => {
7623
- if (valid) {
7624
- callback == null ? void 0 : callback();
7625
- }
7623
+ callback == null ? void 0 : callback(valid);
7626
7624
  });
7627
7625
  };
7628
7626
  const onNfSearchFormSearch = () => {
@@ -204,8 +204,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineCompone
204
204
  columnCheckClearDesc: string;
205
205
  columnCheckNoFixedDesc: string;
206
206
  columnCheckBasicFieldDesc: string;
207
- columnCheckGetCheckedLengthDesc: (length: any) => string;
208
- columnCheckGetAllCheckDesc: (length: any) => string;
207
+ columnCheckGetCheckedLengthDesc: (length: any) => (length: any) => string;
208
+ columnCheckGetAllCheckDesc: (length: any) => (length: any) => string;
209
209
  }>, {
210
210
  localShowItems: import("vue-demi").Ref<string[]>;
211
211
  syncLocalShowColumnToCookies: () => void;
@@ -501,8 +501,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineCompone
501
501
  columnCheckClearDesc: string;
502
502
  columnCheckNoFixedDesc: string;
503
503
  columnCheckBasicFieldDesc: string;
504
- columnCheckGetCheckedLengthDesc: (length: any) => string;
505
- columnCheckGetAllCheckDesc: (length: any) => string;
504
+ columnCheckGetCheckedLengthDesc: (length: any) => (length: any) => string;
505
+ columnCheckGetAllCheckDesc: (length: any) => (length: any) => string;
506
506
  }>>>, {
507
507
  columns: number;
508
508
  top: string;
@@ -575,8 +575,8 @@ const props = withDefaults(defineProps<{
575
575
  columnCheckClearDesc: '清除',
576
576
  columnCheckNoFixedDesc: '不固定',
577
577
  columnCheckBasicFieldDesc: '基础字段',
578
- columnCheckGetCheckedLengthDesc: (length) => '已选(' + length + ')',
579
- columnCheckGetAllCheckDesc: (length) => '全选(' + length + ')'
578
+ columnCheckGetCheckedLengthDesc: (length) => (length) => '已选(' + length + ')',
579
+ columnCheckGetAllCheckDesc: (length) => (length) => '全选(' + length + ')'
580
580
  })
581
581
 
582
582
  const emit = defineEmits<{
@@ -986,9 +986,7 @@ const resetNfSearchFormModel = () => {
986
986
  */
987
987
  const onNfSearchFormValidate = (callback) => {
988
988
  nfSearchFormRef.value.validate(valid => {
989
- if (valid) {
990
- callback?.()
991
- }
989
+ callback?.(valid)
992
990
  })
993
991
  }
994
992
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@94ai/nf-search-form",
3
- "version": "3.3.45",
3
+ "version": "3.3.51",
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.3.45",
18
- "@94ai/nf-button": "^3.3.45",
19
- "@94ai/nf-double-half-year": "^3.3.45",
20
- "@94ai/nf-double-quarter": "^3.3.45",
21
- "@94ai/nf-double-week": "^3.3.45",
22
- "@94ai/nf-double-year": "^3.3.45",
23
- "@94ai/nf-drawer": "^3.3.45",
24
- "@94ai/nf-form": "^3.3.45",
25
- "@94ai/nf-form-item": "^3.3.45",
26
- "@94ai/nf-half-year-picker": "^3.3.45",
27
- "@94ai/nf-lazy-select": "^3.3.45",
28
- "@94ai/nf-message": "^3.3.45",
29
- "@94ai/nf-quarter-picker": "^3.3.45",
30
- "@94ai/nf-theme-chalk": "^3.3.45",
31
- "@94ai/nf-transfer-select": "^3.3.45",
32
- "@94ai/nf-virtual-select": "^3.3.45",
17
+ "@94ai/common-utils": "^3.3.51",
18
+ "@94ai/nf-button": "^3.3.51",
19
+ "@94ai/nf-double-half-year": "^3.3.51",
20
+ "@94ai/nf-double-quarter": "^3.3.51",
21
+ "@94ai/nf-double-week": "^3.3.51",
22
+ "@94ai/nf-double-year": "^3.3.51",
23
+ "@94ai/nf-drawer": "^3.3.51",
24
+ "@94ai/nf-form": "^3.3.51",
25
+ "@94ai/nf-form-item": "^3.3.51",
26
+ "@94ai/nf-half-year-picker": "^3.3.51",
27
+ "@94ai/nf-lazy-select": "^3.3.51",
28
+ "@94ai/nf-message": "^3.3.51",
29
+ "@94ai/nf-quarter-picker": "^3.3.51",
30
+ "@94ai/nf-theme-chalk": "^3.3.51",
31
+ "@94ai/nf-transfer-select": "^3.3.51",
32
+ "@94ai/nf-virtual-select": "^3.3.51",
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": "dff35e1dac073742a91b656449c9d4ed833a6258"
51
+ "gitHead": "d5b493e6b5681b244f3f182b4ffb99f5dd24d63c"
52
52
  }