@citruslime/ui 4.0.0-beta.21 → 4.0.0-beta.22
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,39 +1,93 @@
|
|
|
1
1
|
import type { InputValueType } from '../../input/types';
|
|
2
2
|
import type { EditCellSlot, FilterRequest, FilterResponse, GridColumn, GridConfig, GridUpdateModel } from '../types';
|
|
3
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
selectedRowIndex: import("vue").PropType<number | undefined>;
|
|
5
|
+
data: {
|
|
6
|
+
type: import("vue").PropType<FilterResponse<Record<string, InputValueType>> | null>;
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
loading: {
|
|
10
|
+
type: import("vue").PropType<boolean>;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
timeZone: {
|
|
14
|
+
type: import("vue").PropType<string | null>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
columns: {
|
|
18
|
+
type: import("vue").PropType<GridColumn<Record<string, unknown>>[]>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
options: {
|
|
22
|
+
type: import("vue").PropType<Partial<GridConfig>>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
editMode: {
|
|
26
|
+
type: import("vue").PropType<boolean>;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
initialLoad: {
|
|
30
|
+
type: import("vue").PropType<boolean>;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
request: {
|
|
34
|
+
type: import("vue").PropType<FilterRequest<Record<string, unknown>>>;
|
|
35
|
+
required: true;
|
|
36
|
+
};
|
|
37
|
+
searchValue: {
|
|
38
|
+
type: import("vue").PropType<string>;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
42
|
+
"update:selectedRowIndex": (selectedRowIndex: number | undefined) => void;
|
|
16
43
|
"clear-filters": () => void;
|
|
17
44
|
"row-select": (args_0: Record<string, unknown>) => void;
|
|
18
45
|
"row-edit": (args_0: GridUpdateModel) => void;
|
|
19
46
|
"row-edit-cancelled": (args_0: GridUpdateModel) => void;
|
|
20
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
47
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
48
|
+
selectedRowIndex: import("vue").PropType<number | undefined>;
|
|
49
|
+
data: {
|
|
50
|
+
type: import("vue").PropType<FilterResponse<Record<string, InputValueType>> | null>;
|
|
51
|
+
required: true;
|
|
52
|
+
};
|
|
53
|
+
loading: {
|
|
54
|
+
type: import("vue").PropType<boolean>;
|
|
55
|
+
required: true;
|
|
56
|
+
};
|
|
57
|
+
timeZone: {
|
|
58
|
+
type: import("vue").PropType<string | null>;
|
|
59
|
+
required: true;
|
|
60
|
+
};
|
|
61
|
+
columns: {
|
|
62
|
+
type: import("vue").PropType<GridColumn<Record<string, unknown>>[]>;
|
|
63
|
+
required: true;
|
|
64
|
+
};
|
|
65
|
+
options: {
|
|
66
|
+
type: import("vue").PropType<Partial<GridConfig>>;
|
|
67
|
+
required: true;
|
|
68
|
+
};
|
|
69
|
+
editMode: {
|
|
70
|
+
type: import("vue").PropType<boolean>;
|
|
71
|
+
default: boolean;
|
|
72
|
+
};
|
|
73
|
+
initialLoad: {
|
|
74
|
+
type: import("vue").PropType<boolean>;
|
|
75
|
+
required: true;
|
|
76
|
+
};
|
|
77
|
+
request: {
|
|
78
|
+
type: import("vue").PropType<FilterRequest<Record<string, unknown>>>;
|
|
79
|
+
required: true;
|
|
80
|
+
};
|
|
81
|
+
searchValue: {
|
|
82
|
+
type: import("vue").PropType<string>;
|
|
83
|
+
required: true;
|
|
84
|
+
};
|
|
85
|
+
}>> & Readonly<{
|
|
33
86
|
"onClear-filters"?: (() => any) | undefined;
|
|
34
87
|
"onRow-select"?: ((args_0: Record<string, unknown>) => any) | undefined;
|
|
35
88
|
"onRow-edit"?: ((args_0: GridUpdateModel) => any) | undefined;
|
|
36
89
|
"onRow-edit-cancelled"?: ((args_0: GridUpdateModel) => any) | undefined;
|
|
90
|
+
"onUpdate:selectedRowIndex"?: ((selectedRowIndex: number | undefined) => any) | undefined;
|
|
37
91
|
}>, {
|
|
38
92
|
editMode: boolean;
|
|
39
93
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
@@ -44,25 +98,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
44
98
|
noData: () => any;
|
|
45
99
|
}>;
|
|
46
100
|
export default _default;
|
|
47
|
-
type __VLS_WithDefaults<P, D> = {
|
|
48
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
49
|
-
default: D[K];
|
|
50
|
-
}> : P[K];
|
|
51
|
-
};
|
|
52
|
-
type __VLS_Prettify<T> = {
|
|
53
|
-
[K in keyof T]: T[K];
|
|
54
|
-
} & {};
|
|
55
101
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
56
102
|
new (): {
|
|
57
103
|
$slots: S;
|
|
58
104
|
};
|
|
59
105
|
};
|
|
60
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
61
|
-
type __VLS_TypePropsToOption<T> = {
|
|
62
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
63
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
64
|
-
} : {
|
|
65
|
-
type: import('vue').PropType<T[K]>;
|
|
66
|
-
required: true;
|
|
67
|
-
};
|
|
68
|
-
};
|
|
@@ -1,24 +1,43 @@
|
|
|
1
1
|
import type { InputValueType } from '../input/types';
|
|
2
2
|
import type { GridColumn, FilterRequest, FilterResponse, GridConfig, GridUpdateModel, ColumnSlot } from './types';
|
|
3
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
selectedRowIndex: import("vue").PropType<number | undefined>;
|
|
5
|
+
data: {
|
|
6
|
+
type: import("vue").PropType<FilterResponse<unknown> | null>;
|
|
7
|
+
default: null;
|
|
8
|
+
};
|
|
9
|
+
loading: {
|
|
10
|
+
type: import("vue").PropType<boolean>;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
dateFormatLocale: {
|
|
14
|
+
type: import("vue").PropType<string | null>;
|
|
15
|
+
default: null;
|
|
16
|
+
};
|
|
17
|
+
timeZone: {
|
|
18
|
+
type: import("vue").PropType<string | null>;
|
|
19
|
+
default: null;
|
|
20
|
+
};
|
|
21
|
+
columns: {
|
|
22
|
+
type: import("vue").PropType<GridColumn<Record<string, unknown>>[]>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
options: {
|
|
26
|
+
type: import("vue").PropType<Partial<GridConfig>>;
|
|
27
|
+
default: () => {};
|
|
28
|
+
};
|
|
29
|
+
request: {
|
|
30
|
+
type: import("vue").PropType<FilterRequest<Record<string, unknown>>>;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
headerDisplayTimezone: {
|
|
34
|
+
type: import("vue").PropType<string | null>;
|
|
35
|
+
default: null;
|
|
36
|
+
};
|
|
12
37
|
}>, {
|
|
13
|
-
data: null;
|
|
14
|
-
options: () => {};
|
|
15
|
-
timeZone: null;
|
|
16
|
-
quickDateScope: null;
|
|
17
|
-
dateFormatLocale: null;
|
|
18
|
-
headerDisplayTimezone: null;
|
|
19
|
-
}>>, {
|
|
20
38
|
focusMegaSearch: () => any;
|
|
21
39
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
40
|
+
"update:selectedRowIndex": (selectedRowIndex: number | undefined) => void;
|
|
22
41
|
"row-select": (args_0: Record<string, unknown>) => void;
|
|
23
42
|
"row-edit": (args_0: GridUpdateModel) => void;
|
|
24
43
|
"row-edit-cancelled": (args_0: GridUpdateModel) => void;
|
|
@@ -29,26 +48,45 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
29
48
|
"edit-start": () => void;
|
|
30
49
|
"edit-end": () => void;
|
|
31
50
|
"clear-filters-clicked": () => void;
|
|
32
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
51
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
52
|
+
selectedRowIndex: import("vue").PropType<number | undefined>;
|
|
53
|
+
data: {
|
|
54
|
+
type: import("vue").PropType<FilterResponse<unknown> | null>;
|
|
55
|
+
default: null;
|
|
56
|
+
};
|
|
57
|
+
loading: {
|
|
58
|
+
type: import("vue").PropType<boolean>;
|
|
59
|
+
required: true;
|
|
60
|
+
};
|
|
61
|
+
dateFormatLocale: {
|
|
62
|
+
type: import("vue").PropType<string | null>;
|
|
63
|
+
default: null;
|
|
64
|
+
};
|
|
65
|
+
timeZone: {
|
|
66
|
+
type: import("vue").PropType<string | null>;
|
|
67
|
+
default: null;
|
|
68
|
+
};
|
|
69
|
+
columns: {
|
|
70
|
+
type: import("vue").PropType<GridColumn<Record<string, unknown>>[]>;
|
|
71
|
+
required: true;
|
|
72
|
+
};
|
|
73
|
+
options: {
|
|
74
|
+
type: import("vue").PropType<Partial<GridConfig>>;
|
|
75
|
+
default: () => {};
|
|
76
|
+
};
|
|
77
|
+
request: {
|
|
78
|
+
type: import("vue").PropType<FilterRequest<Record<string, unknown>>>;
|
|
79
|
+
required: true;
|
|
80
|
+
};
|
|
81
|
+
headerDisplayTimezone: {
|
|
82
|
+
type: import("vue").PropType<string | null>;
|
|
83
|
+
default: null;
|
|
84
|
+
};
|
|
85
|
+
}>> & Readonly<{
|
|
49
86
|
"onRow-select"?: ((args_0: Record<string, unknown>) => any) | undefined;
|
|
50
87
|
"onRow-edit"?: ((args_0: GridUpdateModel) => any) | undefined;
|
|
51
88
|
"onRow-edit-cancelled"?: ((args_0: GridUpdateModel) => any) | undefined;
|
|
89
|
+
"onUpdate:selectedRowIndex"?: ((selectedRowIndex: number | undefined) => any) | undefined;
|
|
52
90
|
"onUpdate:request"?: ((args_0: FilterRequest<Record<string, unknown>>) => any) | undefined;
|
|
53
91
|
"onUpdate:columns"?: ((args_0: GridColumn<Record<string, unknown>>[]) => any) | undefined;
|
|
54
92
|
"onView-manager-visible"?: ((args_0: boolean) => any) | undefined;
|
|
@@ -106,25 +144,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
106
144
|
noData: () => any;
|
|
107
145
|
}>;
|
|
108
146
|
export default _default;
|
|
109
|
-
type __VLS_WithDefaults<P, D> = {
|
|
110
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
111
|
-
default: D[K];
|
|
112
|
-
}> : P[K];
|
|
113
|
-
};
|
|
114
|
-
type __VLS_Prettify<T> = {
|
|
115
|
-
[K in keyof T]: T[K];
|
|
116
|
-
} & {};
|
|
117
147
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
118
148
|
new (): {
|
|
119
149
|
$slots: S;
|
|
120
150
|
};
|
|
121
151
|
};
|
|
122
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
123
|
-
type __VLS_TypePropsToOption<T> = {
|
|
124
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
125
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
126
|
-
} : {
|
|
127
|
-
type: import('vue').PropType<T[K]>;
|
|
128
|
-
required: true;
|
|
129
|
-
};
|
|
130
|
-
};
|