@94ai/nf-search-form 3.2.4 → 3.2.21
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 +909 -275
- package/lib/nf-column-check-dialog.vue.d.ts +9 -0
- package/lib/nf-column-check-drawer.vue.d.ts +113 -0
- package/lib/nf-search-form-item.vue.d.ts +0 -9
- package/lib/nf-search-form.cjs.js +6241 -369
- package/lib/nf-search-form.esm-bundler.js +6241 -369
- package/lib/nf-search-form.vue.d.ts +342 -99
- package/lib/tools.d.ts +2 -1
- package/lib/types.d.ts +4 -0
- package/package/index.ts +13 -1
- package/package/nf-column-check-dialog.vue +14 -0
- package/package/nf-column-check-drawer.vue +404 -0
- package/package/nf-search-form-item.vue +4 -4
- package/package/nf-search-form.vue +479 -197
- package/package/tools.ts +18 -4
- package/package/types.ts +4 -0
- package/package.json +19 -15
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { NfSearchFormItemOption } from '../..nf-search-form/lib/types';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineComponent<{
|
|
3
|
+
storageKey: {
|
|
4
|
+
type: import("vue-demi").PropType<string>;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
3
7
|
show: {
|
|
4
8
|
type: import("vue-demi").PropType<boolean>;
|
|
5
9
|
default: boolean;
|
|
@@ -84,6 +88,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineCompone
|
|
|
84
88
|
"update:show": (event: boolean) => void;
|
|
85
89
|
save: (event: Record<string, any>) => void;
|
|
86
90
|
}, string, Readonly<import("vue-demi").ExtractPropTypes<{
|
|
91
|
+
storageKey: {
|
|
92
|
+
type: import("vue-demi").PropType<string>;
|
|
93
|
+
default: string;
|
|
94
|
+
};
|
|
87
95
|
show: {
|
|
88
96
|
type: import("vue-demi").PropType<boolean>;
|
|
89
97
|
default: boolean;
|
|
@@ -165,6 +173,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineCompone
|
|
|
165
173
|
default: boolean;
|
|
166
174
|
};
|
|
167
175
|
}>>, {
|
|
176
|
+
storageKey: string;
|
|
168
177
|
show: boolean;
|
|
169
178
|
title: string;
|
|
170
179
|
width: string;
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { PropType } from 'vue-demi';
|
|
2
|
+
declare const _default: import("vue-demi").DefineComponent<{
|
|
3
|
+
storageKey: {
|
|
4
|
+
type: PropType<string>;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
tableColumns: {
|
|
8
|
+
type: PropType<Record<string, any>[]>;
|
|
9
|
+
default: () => never[];
|
|
10
|
+
};
|
|
11
|
+
selectEmptyWarningTips: {
|
|
12
|
+
type: PropType<string>;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
searchPlaceholder: {
|
|
16
|
+
type: PropType<string>;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
fixedLeftDesc: {
|
|
20
|
+
type: PropType<string>;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
clearDesc: {
|
|
24
|
+
type: PropType<string>;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
noFixedDesc: {
|
|
28
|
+
type: PropType<string>;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
getCheckedLengthDesc: {
|
|
32
|
+
type: PropType<Function>;
|
|
33
|
+
default: (length: any) => string;
|
|
34
|
+
};
|
|
35
|
+
getAllCheckDesc: {
|
|
36
|
+
type: PropType<Function>;
|
|
37
|
+
default: (length: any) => string;
|
|
38
|
+
};
|
|
39
|
+
}, {
|
|
40
|
+
syncTableColumnsToCookies: () => Record<string, any>;
|
|
41
|
+
setFields: (tableColumns: any) => void;
|
|
42
|
+
updateColumn: () => void;
|
|
43
|
+
handleSearch: (str: any) => void;
|
|
44
|
+
currentTable: import("vue-demi").Ref<Record<string, any>[]>;
|
|
45
|
+
showColumn: import("vue-demi").Ref<string[]>;
|
|
46
|
+
unChangedColumn: import("vue-demi").Ref<string[]>;
|
|
47
|
+
fixedColumn: import("vue-demi").Ref<Record<string, any>[]>;
|
|
48
|
+
unFixedColumn: import("vue-demi").Ref<Record<string, any>[]>;
|
|
49
|
+
checkAll: import("vue-demi").Ref<boolean>;
|
|
50
|
+
isIndeterminate: import("vue-demi").Ref<boolean>;
|
|
51
|
+
columnName: import("vue-demi").Ref<string>;
|
|
52
|
+
searchValue: Record<string, any>[];
|
|
53
|
+
checkedCount: import("vue-demi").Ref<number>;
|
|
54
|
+
fields: import("vue-demi").Ref<{
|
|
55
|
+
name: string;
|
|
56
|
+
list: Record<string, any>[];
|
|
57
|
+
}[]>;
|
|
58
|
+
dragOptions: import("vue-demi").ComputedRef<{
|
|
59
|
+
animation: number;
|
|
60
|
+
group: string;
|
|
61
|
+
disabled: boolean;
|
|
62
|
+
ghostClass: string;
|
|
63
|
+
}>;
|
|
64
|
+
drag: import("vue-demi").Ref<boolean>;
|
|
65
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue-demi").ExtractPropTypes<{
|
|
66
|
+
storageKey: {
|
|
67
|
+
type: PropType<string>;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
70
|
+
tableColumns: {
|
|
71
|
+
type: PropType<Record<string, any>[]>;
|
|
72
|
+
default: () => never[];
|
|
73
|
+
};
|
|
74
|
+
selectEmptyWarningTips: {
|
|
75
|
+
type: PropType<string>;
|
|
76
|
+
default: string;
|
|
77
|
+
};
|
|
78
|
+
searchPlaceholder: {
|
|
79
|
+
type: PropType<string>;
|
|
80
|
+
default: string;
|
|
81
|
+
};
|
|
82
|
+
fixedLeftDesc: {
|
|
83
|
+
type: PropType<string>;
|
|
84
|
+
default: string;
|
|
85
|
+
};
|
|
86
|
+
clearDesc: {
|
|
87
|
+
type: PropType<string>;
|
|
88
|
+
default: string;
|
|
89
|
+
};
|
|
90
|
+
noFixedDesc: {
|
|
91
|
+
type: PropType<string>;
|
|
92
|
+
default: string;
|
|
93
|
+
};
|
|
94
|
+
getCheckedLengthDesc: {
|
|
95
|
+
type: PropType<Function>;
|
|
96
|
+
default: (length: any) => string;
|
|
97
|
+
};
|
|
98
|
+
getAllCheckDesc: {
|
|
99
|
+
type: PropType<Function>;
|
|
100
|
+
default: (length: any) => string;
|
|
101
|
+
};
|
|
102
|
+
}>>, {
|
|
103
|
+
storageKey: string;
|
|
104
|
+
tableColumns: Record<string, any>[];
|
|
105
|
+
selectEmptyWarningTips: string;
|
|
106
|
+
searchPlaceholder: string;
|
|
107
|
+
fixedLeftDesc: string;
|
|
108
|
+
clearDesc: string;
|
|
109
|
+
noFixedDesc: string;
|
|
110
|
+
getCheckedLengthDesc: Function;
|
|
111
|
+
getAllCheckDesc: Function;
|
|
112
|
+
}>;
|
|
113
|
+
export default _default;
|
|
@@ -12,10 +12,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineCompone
|
|
|
12
12
|
type: import("vue-demi").PropType<number>;
|
|
13
13
|
default: number;
|
|
14
14
|
};
|
|
15
|
-
labelWidth: {
|
|
16
|
-
type: import("vue-demi").PropType<number>;
|
|
17
|
-
default: number;
|
|
18
|
-
};
|
|
19
15
|
}, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
|
|
20
16
|
input: (event: any) => void;
|
|
21
17
|
"update:value": (event: any) => void;
|
|
@@ -32,15 +28,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineCompone
|
|
|
32
28
|
type: import("vue-demi").PropType<number>;
|
|
33
29
|
default: number;
|
|
34
30
|
};
|
|
35
|
-
labelWidth: {
|
|
36
|
-
type: import("vue-demi").PropType<number>;
|
|
37
|
-
default: number;
|
|
38
|
-
};
|
|
39
31
|
}>>, {
|
|
40
32
|
value: any;
|
|
41
33
|
itemOptions: NfSearchFormItemOption;
|
|
42
34
|
itemWidth: number;
|
|
43
|
-
labelWidth: number;
|
|
44
35
|
}>, Partial<Record<string, (_: {}) => any>> & Partial<Record<string, (_: {}) => any>>>;
|
|
45
36
|
export default _default;
|
|
46
37
|
type __VLS_WithTemplateSlots<T, S> = T & {
|