@94ai/nf-search-form 3.1.13

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.
@@ -0,0 +1,150 @@
1
+ import { NfSearchFormItemOption } from './types';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ storageKey?: string | undefined;
4
+ columnEdit?: boolean | undefined;
5
+ show?: boolean | undefined;
6
+ title?: string | undefined;
7
+ width?: string | undefined;
8
+ confirmText?: string | undefined;
9
+ cancelText?: string | undefined;
10
+ basicFieldDesc?: string | undefined;
11
+ tableColumns?: NfSearchFormItemOption[] | undefined;
12
+ modalAppendToBody?: boolean | undefined;
13
+ modal?: boolean | undefined;
14
+ fullscreen?: boolean | undefined;
15
+ top?: string | undefined;
16
+ appendToBody?: boolean | undefined;
17
+ lockScroll?: boolean | undefined;
18
+ customClass?: string | undefined;
19
+ closeOnlickModal?: boolean | undefined;
20
+ closeOnPressEscape?: boolean | undefined;
21
+ showClose?: boolean | undefined;
22
+ beforeClose?: Function | undefined;
23
+ center?: boolean | undefined;
24
+ destroyOnClose?: boolean | undefined;
25
+ }>, {
26
+ columnEdit: boolean;
27
+ storageKey: string;
28
+ show: boolean;
29
+ width: string;
30
+ title: string;
31
+ cancelText: string;
32
+ confirmText: string;
33
+ basicFieldDesc: string;
34
+ tableColumns: () => never[];
35
+ modalAppendToBody: boolean;
36
+ modal: boolean;
37
+ fullscreen: boolean;
38
+ top: string;
39
+ appendToBody: boolean;
40
+ lockScroll: boolean;
41
+ customClass: string;
42
+ closeOnlickModal: boolean;
43
+ closeOnPressEscape: boolean;
44
+ showClose: boolean;
45
+ beforeClose: undefined;
46
+ center: boolean;
47
+ destroyOnClose: boolean;
48
+ }>, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
49
+ "update:show": (event: boolean) => void;
50
+ save: (event: Record<string, any>) => void;
51
+ }, string, Readonly<import("vue-demi").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
52
+ storageKey?: string | undefined;
53
+ columnEdit?: boolean | undefined;
54
+ show?: boolean | undefined;
55
+ title?: string | undefined;
56
+ width?: string | undefined;
57
+ confirmText?: string | undefined;
58
+ cancelText?: string | undefined;
59
+ basicFieldDesc?: string | undefined;
60
+ tableColumns?: NfSearchFormItemOption[] | undefined;
61
+ modalAppendToBody?: boolean | undefined;
62
+ modal?: boolean | undefined;
63
+ fullscreen?: boolean | undefined;
64
+ top?: string | undefined;
65
+ appendToBody?: boolean | undefined;
66
+ lockScroll?: boolean | undefined;
67
+ customClass?: string | undefined;
68
+ closeOnlickModal?: boolean | undefined;
69
+ closeOnPressEscape?: boolean | undefined;
70
+ showClose?: boolean | undefined;
71
+ beforeClose?: Function | undefined;
72
+ center?: boolean | undefined;
73
+ destroyOnClose?: boolean | undefined;
74
+ }>, {
75
+ columnEdit: boolean;
76
+ storageKey: string;
77
+ show: boolean;
78
+ width: string;
79
+ title: string;
80
+ cancelText: string;
81
+ confirmText: string;
82
+ basicFieldDesc: string;
83
+ tableColumns: () => never[];
84
+ modalAppendToBody: boolean;
85
+ modal: boolean;
86
+ fullscreen: boolean;
87
+ top: string;
88
+ appendToBody: boolean;
89
+ lockScroll: boolean;
90
+ customClass: string;
91
+ closeOnlickModal: boolean;
92
+ closeOnPressEscape: boolean;
93
+ showClose: boolean;
94
+ beforeClose: undefined;
95
+ center: boolean;
96
+ destroyOnClose: boolean;
97
+ }>>>, {
98
+ top: string;
99
+ width: string;
100
+ storageKey: string;
101
+ columnEdit: boolean;
102
+ show: boolean;
103
+ title: string;
104
+ confirmText: string;
105
+ cancelText: string;
106
+ basicFieldDesc: string;
107
+ tableColumns: NfSearchFormItemOption[];
108
+ modalAppendToBody: boolean;
109
+ modal: boolean;
110
+ fullscreen: boolean;
111
+ appendToBody: boolean;
112
+ lockScroll: boolean;
113
+ customClass: string;
114
+ closeOnlickModal: boolean;
115
+ closeOnPressEscape: boolean;
116
+ showClose: boolean;
117
+ beforeClose: Function;
118
+ center: boolean;
119
+ destroyOnClose: boolean;
120
+ }>, {
121
+ title?(_: {
122
+ slot: string;
123
+ }): any;
124
+ footer?(_: {
125
+ slot: string;
126
+ }): any;
127
+ }>;
128
+ export default _default;
129
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
130
+ type __VLS_TypePropsToRuntimeProps<T> = {
131
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
132
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
133
+ } : {
134
+ type: import('vue').PropType<T[K]>;
135
+ required: true;
136
+ };
137
+ };
138
+ type __VLS_WithDefaults<P, D> = {
139
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
140
+ default: D[K];
141
+ }> : P[K];
142
+ };
143
+ type __VLS_Prettify<T> = {
144
+ [K in keyof T]: T[K];
145
+ } & {};
146
+ type __VLS_WithTemplateSlots<T, S> = T & {
147
+ new (): {
148
+ $scopedSlots: S;
149
+ };
150
+ };
@@ -0,0 +1,105 @@
1
+ declare const _default: import("vue-demi").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ selectEmptyWarningTips?: string | undefined;
3
+ tableColumns?: Record<string, any>[] | undefined;
4
+ storageKey?: string | undefined;
5
+ searchPlaceholder?: string | undefined;
6
+ fixedLeftDesc?: string | undefined;
7
+ clearDesc?: string | undefined;
8
+ noFixedDesc?: string | undefined;
9
+ basicFieldDesc?: string | undefined;
10
+ getCheckedLengthDesc?: Function | undefined;
11
+ getAllCheckDesc?: Function | undefined;
12
+ columnEdit?: boolean | undefined;
13
+ }>, {
14
+ columnEdit: boolean;
15
+ storageKey: string;
16
+ tableColumns: () => never[];
17
+ selectEmptyWarningTips: string;
18
+ searchPlaceholder: string;
19
+ fixedLeftDesc: string;
20
+ clearDesc: string;
21
+ noFixedDesc: string;
22
+ basicFieldDesc: string;
23
+ getCheckedLengthDesc: (length: any) => string;
24
+ getAllCheckDesc: (length: any) => string;
25
+ }>, {
26
+ syncTableColumnsToCookies: () => Record<string, any>;
27
+ setFields: (tableColumns: any) => void;
28
+ updateColumn: () => void;
29
+ handleSearch: (str: any) => void;
30
+ currentTable: import("vue-demi").Ref<Record<string, any>[]>;
31
+ showColumn: import("vue-demi").Ref<string[]>;
32
+ unChangedColumn: import("vue-demi").Ref<string[]>;
33
+ fixedColumn: import("vue-demi").Ref<Record<string, any>[]>;
34
+ unFixedColumn: import("vue-demi").Ref<Record<string, any>[]>;
35
+ checkAll: import("vue-demi").Ref<boolean>;
36
+ isIndeterminate: import("vue-demi").Ref<boolean>;
37
+ columnName: import("vue-demi").Ref<string>;
38
+ searchValue: Record<string, any>[];
39
+ checkedCount: import("vue-demi").Ref<number>;
40
+ fields: import("vue-demi").Ref<{
41
+ name: string;
42
+ list: Record<string, any>[];
43
+ }[]>;
44
+ dragOptions: import("vue-demi").ComputedRef<{
45
+ animation: number;
46
+ group: string;
47
+ disabled: boolean;
48
+ ghostClass: string;
49
+ }>;
50
+ drag: import("vue-demi").Ref<boolean>;
51
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue-demi").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
52
+ selectEmptyWarningTips?: string | undefined;
53
+ tableColumns?: Record<string, any>[] | undefined;
54
+ storageKey?: string | undefined;
55
+ searchPlaceholder?: string | undefined;
56
+ fixedLeftDesc?: string | undefined;
57
+ clearDesc?: string | undefined;
58
+ noFixedDesc?: string | undefined;
59
+ basicFieldDesc?: string | undefined;
60
+ getCheckedLengthDesc?: Function | undefined;
61
+ getAllCheckDesc?: Function | undefined;
62
+ columnEdit?: boolean | undefined;
63
+ }>, {
64
+ columnEdit: boolean;
65
+ storageKey: string;
66
+ tableColumns: () => never[];
67
+ selectEmptyWarningTips: string;
68
+ searchPlaceholder: string;
69
+ fixedLeftDesc: string;
70
+ clearDesc: string;
71
+ noFixedDesc: string;
72
+ basicFieldDesc: string;
73
+ getCheckedLengthDesc: (length: any) => string;
74
+ getAllCheckDesc: (length: any) => string;
75
+ }>>>, {
76
+ storageKey: string;
77
+ columnEdit: boolean;
78
+ basicFieldDesc: string;
79
+ tableColumns: Record<string, any>[];
80
+ selectEmptyWarningTips: string;
81
+ searchPlaceholder: string;
82
+ fixedLeftDesc: string;
83
+ clearDesc: string;
84
+ noFixedDesc: string;
85
+ getCheckedLengthDesc: Function;
86
+ getAllCheckDesc: Function;
87
+ }>;
88
+ export default _default;
89
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
90
+ type __VLS_TypePropsToRuntimeProps<T> = {
91
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
92
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
93
+ } : {
94
+ type: import('vue').PropType<T[K]>;
95
+ required: true;
96
+ };
97
+ };
98
+ type __VLS_WithDefaults<P, D> = {
99
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
100
+ default: D[K];
101
+ }> : P[K];
102
+ };
103
+ type __VLS_Prettify<T> = {
104
+ [K in keyof T]: T[K];
105
+ } & {};
@@ -0,0 +1,32 @@
1
+ declare const _default: import("vue-demi").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ value?: number[] | undefined;
3
+ }>, {
4
+ value: () => never[];
5
+ }>, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
6
+ change: (event: [number | undefined, number | undefined]) => void;
7
+ input: (event: [number | undefined, number | undefined]) => void;
8
+ }, string, Readonly<import("vue-demi").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
+ value?: number[] | undefined;
10
+ }>, {
11
+ value: () => never[];
12
+ }>>>, {
13
+ value: number[];
14
+ }>;
15
+ export default _default;
16
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
17
+ type __VLS_TypePropsToRuntimeProps<T> = {
18
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
19
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
20
+ } : {
21
+ type: import('vue').PropType<T[K]>;
22
+ required: true;
23
+ };
24
+ };
25
+ type __VLS_WithDefaults<P, D> = {
26
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
27
+ default: D[K];
28
+ }> : P[K];
29
+ };
30
+ type __VLS_Prettify<T> = {
31
+ [K in keyof T]: T[K];
32
+ } & {};
@@ -0,0 +1,48 @@
1
+ import { NfSearchFormItemOption } from '@94ai/nf-search-form/lib/types';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ value?: any;
4
+ itemOptions?: NfSearchFormItemOption | undefined;
5
+ itemWidth?: number | undefined;
6
+ }>, {
7
+ value: undefined;
8
+ itemOptions: () => {};
9
+ itemWidth: number;
10
+ }>, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
11
+ input: (event: any) => void;
12
+ "update:value": (event: any) => void;
13
+ }, string, Readonly<import("vue-demi").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
14
+ value?: any;
15
+ itemOptions?: NfSearchFormItemOption | undefined;
16
+ itemWidth?: number | undefined;
17
+ }>, {
18
+ value: undefined;
19
+ itemOptions: () => {};
20
+ itemWidth: number;
21
+ }>>>, {
22
+ value: any;
23
+ itemOptions: NfSearchFormItemOption;
24
+ itemWidth: number;
25
+ }>, Partial<Record<string, (_: {}) => any>> & Partial<Record<string, (_: {}) => any>>>;
26
+ export default _default;
27
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
28
+ type __VLS_TypePropsToRuntimeProps<T> = {
29
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
30
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
31
+ } : {
32
+ type: import('vue').PropType<T[K]>;
33
+ required: true;
34
+ };
35
+ };
36
+ type __VLS_WithDefaults<P, D> = {
37
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
38
+ default: D[K];
39
+ }> : P[K];
40
+ };
41
+ type __VLS_Prettify<T> = {
42
+ [K in keyof T]: T[K];
43
+ } & {};
44
+ type __VLS_WithTemplateSlots<T, S> = T & {
45
+ new (): {
46
+ $scopedSlots: S;
47
+ };
48
+ };