@94ai/nf-table 8.3.23 → 9.0.0

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