@citruslime/ui 2.4.1 → 2.4.2-beta.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.
- package/dist/citrus-lime-ui.es.js +1031 -1022
- package/dist/citrus-lime-ui.umd.js +2 -2
- package/dist/components/accordion/cl-ui-accordion.vue.d.ts +11 -26
- package/dist/components/accordion/item/cl-ui-accordion-item.vue.d.ts +20 -29
- package/dist/components/app/cl-ui-app.vue.d.ts +11 -26
- package/dist/components/button/cl-ui-button.vue.d.ts +36 -39
- package/dist/components/calendar/cl-ui-calendar-input.vue.d.ts +57 -24
- package/dist/components/calendar/cl-ui-calendar.vue.d.ts +72 -53
- package/dist/components/card/cl-ui-card.vue.d.ts +19 -30
- package/dist/components/combo-box/cl-ui-combo-box.vue.d.ts +124 -79
- package/dist/components/combo-box/search-container/cl-ui-combo-box-search.vue.d.ts +84 -59
- package/dist/components/combo-box/search-container/header/cl-ui-combo-box-header.vue.d.ts +28 -35
- package/dist/components/combo-box/search-container/selectable/cl-ui-combo-box-selectable.vue.d.ts +44 -41
- package/dist/components/grid/action-row/cl-ui-grid-action-row.vue.d.ts +52 -25
- package/dist/components/grid/body/cl-ui-grid-body.vue.d.ts +75 -41
- package/dist/components/grid/body/cl-ui-grid-cell-value.vue.d.ts +26 -17
- package/dist/components/grid/body/cl-ui-grid-cell.vue.d.ts +46 -48
- package/dist/components/grid/body/cl-ui-grid-row.vue.d.ts +51 -37
- package/dist/components/grid/cl-ui-grid.vue.d.ts +80 -43
- package/dist/components/grid/footer/cl-ui-grid-footer.vue.d.ts +20 -29
- package/dist/components/grid/header/cl-ui-grid-filter.vue.d.ts +39 -32
- package/dist/components/grid/header/cl-ui-grid-header.vue.d.ts +44 -23
- package/dist/components/grid/header/cl-ui-grid-method-selector.vue.d.ts +36 -33
- package/dist/components/grid/types.d.ts +11 -0
- package/dist/components/grid/view-manager/cl-ui-grid-view-manager.vue.d.ts +12 -15
- package/dist/components/header/cl-ui-header.vue.d.ts +10 -15
- package/dist/components/header/menu/cl-ui-header-menu.vue.d.ts +43 -40
- package/dist/components/input/cl-ui-input.vue.d.ts +531 -128
- package/dist/components/language-switcher/cl-ui-language-switcher.vue.d.ts +28 -33
- package/dist/components/login/cl-ui-login.vue.d.ts +20 -31
- package/dist/components/modal/cl-ui-modal.vue.d.ts +27 -34
- package/dist/components/navigation/cl-ui-navigation.vue.d.ts +11 -26
- package/dist/components/navigation/group/cl-ui-navigation-group.vue.d.ts +11 -14
- package/dist/components/navigation/icon/cl-ui-navigation-icon.vue.d.ts +27 -30
- package/dist/components/notification/cl-ui-notification.vue.d.ts +19 -30
- package/dist/components/slider/cl-ui-slider.vue.d.ts +60 -45
- package/dist/components/tab/cl-ui-tab.vue.d.ts +27 -34
- package/dist/components/tab/header/cl-ui-tab-header.vue.d.ts +36 -35
- package/dist/style.css +1 -1
- package/package.json +4 -4
- package/dist/components/grid/body/types.d.ts +0 -12
|
@@ -1,50 +1,84 @@
|
|
|
1
|
+
import type { InputValueType } from '../../input/types';
|
|
1
2
|
import type { FilterRequest, FilterResponse, GridColumn } from '../types';
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
loading:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
4
|
+
data: {
|
|
5
|
+
type: import("vue").PropType<FilterResponse<Record<string, InputValueType>> | null>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
loading: {
|
|
9
|
+
type: import("vue").PropType<boolean>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
timeZone: {
|
|
13
|
+
type: import("vue").PropType<string>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
editMode: {
|
|
17
|
+
type: import("vue").PropType<boolean>;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
columns: {
|
|
21
|
+
type: import("vue").PropType<GridColumn<Record<string, unknown>>[]>;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
request: {
|
|
25
|
+
type: import("vue").PropType<FilterRequest<Record<string, unknown>>>;
|
|
26
|
+
required: true;
|
|
27
|
+
};
|
|
28
|
+
selectionEnabled: {
|
|
29
|
+
type: import("vue").PropType<boolean>;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
33
|
+
'row-select': (args_0: Record<string, unknown>) => void;
|
|
34
|
+
'row-edit': (args_0: Record<string, unknown>) => void;
|
|
35
|
+
'clear-filters': () => void;
|
|
36
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
|
+
data: {
|
|
38
|
+
type: import("vue").PropType<FilterResponse<Record<string, InputValueType>> | null>;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
loading: {
|
|
42
|
+
type: import("vue").PropType<boolean>;
|
|
43
|
+
required: true;
|
|
44
|
+
};
|
|
45
|
+
timeZone: {
|
|
46
|
+
type: import("vue").PropType<string>;
|
|
47
|
+
required: true;
|
|
48
|
+
};
|
|
49
|
+
editMode: {
|
|
50
|
+
type: import("vue").PropType<boolean>;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
53
|
+
columns: {
|
|
54
|
+
type: import("vue").PropType<GridColumn<Record<string, unknown>>[]>;
|
|
55
|
+
required: true;
|
|
56
|
+
};
|
|
57
|
+
request: {
|
|
58
|
+
type: import("vue").PropType<FilterRequest<Record<string, unknown>>>;
|
|
59
|
+
required: true;
|
|
60
|
+
};
|
|
61
|
+
selectionEnabled: {
|
|
62
|
+
type: import("vue").PropType<boolean>;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
}>> & {
|
|
66
|
+
"onClear-filters"?: (() => any) | undefined;
|
|
67
|
+
"onRow-select"?: ((args_0: Record<string, unknown>) => any) | undefined;
|
|
68
|
+
"onRow-edit"?: ((args_0: Record<string, unknown>) => any) | undefined;
|
|
69
|
+
}, {
|
|
25
70
|
editMode: boolean;
|
|
26
71
|
selectionEnabled: boolean;
|
|
27
|
-
}, {}>, Partial<Record<NonNullable<string | number>, (_:
|
|
72
|
+
}, {}>, Partial<Record<NonNullable<string | number>, (_: {
|
|
73
|
+
column: GridColumn<Record<string, unknown>>;
|
|
74
|
+
record: Record<string, InputValueType>;
|
|
75
|
+
edited?: boolean | undefined;
|
|
76
|
+
listEntries?: import("../..").ComboBoxItem[] | undefined;
|
|
77
|
+
cellFocused?: (() => void) | undefined;
|
|
78
|
+
}) => any>>>;
|
|
28
79
|
export default _default;
|
|
29
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
30
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
31
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
32
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
33
|
-
} : {
|
|
34
|
-
type: import('vue').PropType<T[K]>;
|
|
35
|
-
required: true;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
type __VLS_WithDefaults<P, D> = {
|
|
39
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
40
|
-
default: D[K];
|
|
41
|
-
}> : P[K];
|
|
42
|
-
};
|
|
43
80
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
44
81
|
new (): {
|
|
45
82
|
$slots: S;
|
|
46
83
|
};
|
|
47
84
|
};
|
|
48
|
-
type __VLS_Prettify<T> = {
|
|
49
|
-
[K in keyof T]: T[K];
|
|
50
|
-
} & {};
|
|
@@ -1,23 +1,32 @@
|
|
|
1
1
|
import type { GridColumn } from '../types';
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
3
|
-
data:
|
|
4
|
-
|
|
5
|
-
timeZone: string;
|
|
6
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
-
data: Record<string, unknown>;
|
|
8
|
-
column: GridColumn<Record<string, unknown>>;
|
|
9
|
-
timeZone: string;
|
|
10
|
-
}>>>, {}, {}>, Partial<Record<string, (_: {}) => any>>>;
|
|
11
|
-
export default _default;
|
|
12
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
13
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
14
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
15
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
16
|
-
} : {
|
|
17
|
-
type: import('vue').PropType<T[K]>;
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
+
data: {
|
|
4
|
+
type: import("vue").PropType<Record<string, unknown>>;
|
|
18
5
|
required: true;
|
|
19
6
|
};
|
|
20
|
-
|
|
7
|
+
column: {
|
|
8
|
+
type: import("vue").PropType<GridColumn<Record<string, unknown>>>;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
timeZone: {
|
|
12
|
+
type: import("vue").PropType<string>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
+
data: {
|
|
17
|
+
type: import("vue").PropType<Record<string, unknown>>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
column: {
|
|
21
|
+
type: import("vue").PropType<GridColumn<Record<string, unknown>>>;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
timeZone: {
|
|
25
|
+
type: import("vue").PropType<string>;
|
|
26
|
+
required: true;
|
|
27
|
+
};
|
|
28
|
+
}>>, {}, {}>, Record<string, (props: {}) => any>>;
|
|
29
|
+
export default _default;
|
|
21
30
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
31
|
new (): {
|
|
23
32
|
$slots: S;
|
|
@@ -1,55 +1,53 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
column: GridColumn<Record<string, unknown>>;
|
|
7
|
-
timeZone: string;
|
|
8
|
-
editMode?: boolean | undefined;
|
|
9
|
-
}>, {
|
|
10
|
-
editMode: boolean;
|
|
11
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
-
data: Record<string, unknown>;
|
|
13
|
-
column: GridColumn<Record<string, unknown>>;
|
|
14
|
-
timeZone: string;
|
|
15
|
-
editMode?: boolean | undefined;
|
|
16
|
-
}>, {
|
|
17
|
-
editMode: boolean;
|
|
18
|
-
}>>>, {
|
|
19
|
-
editMode: boolean;
|
|
20
|
-
}, {}>, Partial<Record<string, (_: {
|
|
21
|
-
cellFocused: () => void;
|
|
22
|
-
edited: boolean;
|
|
23
|
-
listEntries: ComboBoxItem[];
|
|
24
|
-
column: GridColumn<Record<string, unknown>>;
|
|
25
|
-
record: Record<string, InputValueType>;
|
|
26
|
-
}) => any>> & Partial<Record<string, (_: {
|
|
27
|
-
column: GridColumn<Record<string, unknown>>;
|
|
28
|
-
record: Record<string, unknown>;
|
|
29
|
-
}) => any>> & Partial<Record<string, (_: {
|
|
30
|
-
column: GridColumn<Record<string, unknown>>;
|
|
31
|
-
record: Record<string, unknown>;
|
|
32
|
-
}) => any>>>;
|
|
33
|
-
export default _default;
|
|
34
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
35
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
36
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
37
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
38
|
-
} : {
|
|
39
|
-
type: import('vue').PropType<T[K]>;
|
|
1
|
+
import type { InputValueType } from '../../input';
|
|
2
|
+
import type { GridColumn, EditCellSlot } from '../types';
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
4
|
+
data: {
|
|
5
|
+
type: import("vue").PropType<Record<string, InputValueType>>;
|
|
40
6
|
required: true;
|
|
41
7
|
};
|
|
42
|
-
|
|
43
|
-
type
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
8
|
+
timeZone: {
|
|
9
|
+
type: import("vue").PropType<string>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
column: {
|
|
13
|
+
type: import("vue").PropType<GridColumn<Record<string, unknown>>>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
editMode: {
|
|
17
|
+
type: import("vue").PropType<boolean>;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
|
+
edit: (args_0: unknown) => void;
|
|
22
|
+
focus: () => void;
|
|
23
|
+
undo: () => void;
|
|
24
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
|
+
data: {
|
|
26
|
+
type: import("vue").PropType<Record<string, InputValueType>>;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
timeZone: {
|
|
30
|
+
type: import("vue").PropType<string>;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
column: {
|
|
34
|
+
type: import("vue").PropType<GridColumn<Record<string, unknown>>>;
|
|
35
|
+
required: true;
|
|
36
|
+
};
|
|
37
|
+
editMode: {
|
|
38
|
+
type: import("vue").PropType<boolean>;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
}>> & {
|
|
42
|
+
onFocus?: (() => any) | undefined;
|
|
43
|
+
onEdit?: ((args_0: unknown) => any) | undefined;
|
|
44
|
+
onUndo?: (() => any) | undefined;
|
|
45
|
+
}, {
|
|
46
|
+
editMode: boolean;
|
|
47
|
+
}, {}>, Record<string, (props: EditCellSlot) => any>>;
|
|
48
|
+
export default _default;
|
|
48
49
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
49
50
|
new (): {
|
|
50
51
|
$slots: S;
|
|
51
52
|
};
|
|
52
53
|
};
|
|
53
|
-
type __VLS_Prettify<T> = {
|
|
54
|
-
[K in keyof T]: T[K];
|
|
55
|
-
} & {};
|
|
@@ -1,47 +1,61 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
import type { InputValueType } from '../../input';
|
|
2
|
+
import type { GridCellUpdateEvent, GridColumn } from '../types';
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
4
|
+
data: {
|
|
5
|
+
type: import("vue").PropType<Record<string, InputValueType>>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
timeZone: {
|
|
9
|
+
type: import("vue").PropType<string>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
editMode: {
|
|
13
|
+
type: import("vue").PropType<boolean>;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
columns: {
|
|
17
|
+
type: import("vue").PropType<GridColumn<Record<string, unknown>>[]>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
|
+
'cell-focus': () => void;
|
|
22
|
+
'cell-edit': (args_0: GridCellUpdateEvent) => void;
|
|
23
|
+
'cell-undo': (args_0: string | undefined) => void;
|
|
24
|
+
'row-select': (args_0: Record<string, unknown>) => void;
|
|
25
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
+
data: {
|
|
27
|
+
type: import("vue").PropType<Record<string, InputValueType>>;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
timeZone: {
|
|
31
|
+
type: import("vue").PropType<string>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
editMode: {
|
|
35
|
+
type: import("vue").PropType<boolean>;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
columns: {
|
|
39
|
+
type: import("vue").PropType<GridColumn<Record<string, unknown>>[]>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
}>> & {
|
|
43
|
+
"onCell-focus"?: (() => any) | undefined;
|
|
44
|
+
"onCell-edit"?: ((args_0: GridCellUpdateEvent) => any) | undefined;
|
|
45
|
+
"onCell-undo"?: ((args_0: string | undefined) => any) | undefined;
|
|
46
|
+
"onRow-select"?: ((args_0: Record<string, unknown>) => any) | undefined;
|
|
47
|
+
}, {
|
|
17
48
|
editMode: boolean;
|
|
18
49
|
}, {}>, Partial<Record<NonNullable<string | number>, (_: {
|
|
19
|
-
cellFocused: () => void;
|
|
20
|
-
edited: boolean;
|
|
21
|
-
listEntries: import("../..").ComboBoxItem[];
|
|
22
50
|
column: GridColumn<Record<string, unknown>>;
|
|
23
|
-
record: Record<string,
|
|
51
|
+
record: Record<string, InputValueType>;
|
|
52
|
+
edited?: boolean | undefined;
|
|
53
|
+
listEntries?: import("../..").ComboBoxItem[] | undefined;
|
|
54
|
+
cellFocused?: (() => void) | undefined;
|
|
24
55
|
}) => any>>>;
|
|
25
56
|
export default _default;
|
|
26
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
28
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
29
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
30
|
-
} : {
|
|
31
|
-
type: import('vue').PropType<T[K]>;
|
|
32
|
-
required: true;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
type __VLS_WithDefaults<P, D> = {
|
|
36
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
37
|
-
default: D[K];
|
|
38
|
-
}> : P[K];
|
|
39
|
-
};
|
|
40
57
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
41
58
|
new (): {
|
|
42
59
|
$slots: S;
|
|
43
60
|
};
|
|
44
61
|
};
|
|
45
|
-
type __VLS_Prettify<T> = {
|
|
46
|
-
[K in keyof T]: T[K];
|
|
47
|
-
} & {};
|
|
@@ -1,53 +1,90 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
timeZone:
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
1
|
+
import type { InputValueType } from '../input/types';
|
|
2
|
+
import type { GridColumn, FilterRequest, FilterResponse, GridConfig, GridUpdateModel } from './types';
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
4
|
+
data: {
|
|
5
|
+
type: import("vue").PropType<FilterResponse<unknown> | null>;
|
|
6
|
+
default: null;
|
|
7
|
+
};
|
|
8
|
+
loading: {
|
|
9
|
+
type: import("vue").PropType<boolean>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
timeZone: {
|
|
13
|
+
type: import("vue").PropType<string>;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
columns: {
|
|
17
|
+
type: import("vue").PropType<GridColumn<Record<string, unknown>>[]>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
options: {
|
|
21
|
+
type: import("vue").PropType<Partial<GridConfig>>;
|
|
22
|
+
default: () => {};
|
|
23
|
+
};
|
|
24
|
+
request: {
|
|
25
|
+
type: import("vue").PropType<FilterRequest<Record<string, unknown>>>;
|
|
26
|
+
required: true;
|
|
27
|
+
};
|
|
28
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
29
|
+
'update:columns': (args_0: GridColumn<Record<string, unknown>>[]) => void;
|
|
30
|
+
'update:request': (args_0: FilterRequest<Record<string, unknown>>) => void;
|
|
31
|
+
'data-request': () => void;
|
|
32
|
+
'row-edit': (args_0: GridUpdateModel) => void;
|
|
33
|
+
'edit-start': () => void;
|
|
34
|
+
'edit-end': () => void;
|
|
35
|
+
'row-select': () => void;
|
|
36
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
|
+
data: {
|
|
38
|
+
type: import("vue").PropType<FilterResponse<unknown> | null>;
|
|
39
|
+
default: null;
|
|
40
|
+
};
|
|
41
|
+
loading: {
|
|
42
|
+
type: import("vue").PropType<boolean>;
|
|
43
|
+
required: true;
|
|
44
|
+
};
|
|
45
|
+
timeZone: {
|
|
46
|
+
type: import("vue").PropType<string>;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
|
+
columns: {
|
|
50
|
+
type: import("vue").PropType<GridColumn<Record<string, unknown>>[]>;
|
|
51
|
+
required: true;
|
|
52
|
+
};
|
|
53
|
+
options: {
|
|
54
|
+
type: import("vue").PropType<Partial<GridConfig>>;
|
|
55
|
+
default: () => {};
|
|
56
|
+
};
|
|
57
|
+
request: {
|
|
58
|
+
type: import("vue").PropType<FilterRequest<Record<string, unknown>>>;
|
|
59
|
+
required: true;
|
|
60
|
+
};
|
|
61
|
+
}>> & {
|
|
62
|
+
"onRow-select"?: (() => any) | undefined;
|
|
63
|
+
"onRow-edit"?: ((args_0: GridUpdateModel) => any) | undefined;
|
|
64
|
+
"onUpdate:request"?: ((args_0: FilterRequest<Record<string, unknown>>) => any) | undefined;
|
|
65
|
+
"onUpdate:columns"?: ((args_0: GridColumn<Record<string, unknown>>[]) => any) | undefined;
|
|
66
|
+
"onData-request"?: (() => any) | undefined;
|
|
67
|
+
"onEdit-start"?: (() => any) | undefined;
|
|
68
|
+
"onEdit-end"?: (() => any) | undefined;
|
|
69
|
+
}, {
|
|
25
70
|
data: FilterResponse<unknown> | null;
|
|
26
71
|
timeZone: string;
|
|
27
72
|
options: Partial<GridConfig>;
|
|
28
|
-
}, {}>, Partial<Record<NonNullable<string | number>, (_:
|
|
29
|
-
|
|
73
|
+
}, {}>, Partial<Record<NonNullable<string | number>, (_: {
|
|
74
|
+
column: GridColumn<Record<string, unknown>>;
|
|
75
|
+
record: Record<string, InputValueType>;
|
|
76
|
+
edited?: boolean | undefined;
|
|
77
|
+
listEntries?: import("..").ComboBoxItem[] | undefined;
|
|
78
|
+
cellFocused?: (() => void) | undefined;
|
|
79
|
+
}) => any>> & {
|
|
80
|
+
"additional-grid-actions"?(_: {
|
|
81
|
+
loading: boolean;
|
|
82
|
+
editMode: boolean;
|
|
83
|
+
}): any;
|
|
30
84
|
}>;
|
|
31
85
|
export default _default;
|
|
32
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
33
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
34
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
35
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
36
|
-
} : {
|
|
37
|
-
type: import('vue').PropType<T[K]>;
|
|
38
|
-
required: true;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
type __VLS_WithDefaults<P, D> = {
|
|
42
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
43
|
-
default: D[K];
|
|
44
|
-
}> : P[K];
|
|
45
|
-
};
|
|
46
86
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
47
87
|
new (): {
|
|
48
88
|
$slots: S;
|
|
49
89
|
};
|
|
50
90
|
};
|
|
51
|
-
type __VLS_Prettify<T> = {
|
|
52
|
-
[K in keyof T]: T[K];
|
|
53
|
-
} & {};
|
|
@@ -1,36 +1,27 @@
|
|
|
1
1
|
import type { FilterResponse, FilterRequest } from '../types';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
data: {
|
|
4
|
+
type: import("vue").PropType<FilterResponse<unknown> | null>;
|
|
5
|
+
default: null;
|
|
6
|
+
};
|
|
7
|
+
request: {
|
|
8
|
+
type: import("vue").PropType<FilterRequest<Record<string, unknown>>>;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
12
|
'update:request': null;
|
|
9
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
+
data: {
|
|
15
|
+
type: import("vue").PropType<FilterResponse<unknown> | null>;
|
|
16
|
+
default: null;
|
|
17
|
+
};
|
|
18
|
+
request: {
|
|
19
|
+
type: import("vue").PropType<FilterRequest<Record<string, unknown>>>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
}>> & {
|
|
15
23
|
"onUpdate:request"?: ((...args: any[]) => any) | undefined;
|
|
16
24
|
}, {
|
|
17
25
|
data: FilterResponse<unknown> | null;
|
|
18
26
|
}, {}>;
|
|
19
27
|
export default _default;
|
|
20
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
22
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
23
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
24
|
-
} : {
|
|
25
|
-
type: import('vue').PropType<T[K]>;
|
|
26
|
-
required: true;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
type __VLS_WithDefaults<P, D> = {
|
|
30
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
31
|
-
default: D[K];
|
|
32
|
-
}> : P[K];
|
|
33
|
-
};
|
|
34
|
-
type __VLS_Prettify<T> = {
|
|
35
|
-
[K in keyof T]: T[K];
|
|
36
|
-
} & {};
|
|
@@ -1,36 +1,43 @@
|
|
|
1
1
|
import type { FilterArg, GridColumn } from '../types';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<
|
|
3
|
-
filter:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
column:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
firstHalf:
|
|
16
|
-
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
filter: {
|
|
4
|
+
type: import("vue").PropType<FilterArg<Record<string, unknown>>[] | undefined>;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
timeZone: {
|
|
8
|
+
type: import("vue").PropType<string>;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
column: {
|
|
12
|
+
type: import("vue").PropType<GridColumn<Record<string, unknown>>>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
firstHalf: {
|
|
16
|
+
type: import("vue").PropType<boolean>;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
|
+
'update:filter': (args_0: FilterArg<Record<string, unknown>>[] | undefined) => void;
|
|
21
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
+
filter: {
|
|
23
|
+
type: import("vue").PropType<FilterArg<Record<string, unknown>>[] | undefined>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
timeZone: {
|
|
27
|
+
type: import("vue").PropType<string>;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
column: {
|
|
31
|
+
type: import("vue").PropType<GridColumn<Record<string, unknown>>>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
firstHalf: {
|
|
35
|
+
type: import("vue").PropType<boolean>;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
}>> & {
|
|
39
|
+
"onUpdate:filter"?: ((args_0: FilterArg<Record<string, unknown>>[] | undefined) => any) | undefined;
|
|
40
|
+
}, {
|
|
17
41
|
firstHalf: boolean;
|
|
18
42
|
}, {}>;
|
|
19
43
|
export default _default;
|
|
20
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
22
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
23
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
24
|
-
} : {
|
|
25
|
-
type: import('vue').PropType<T[K]>;
|
|
26
|
-
required: true;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
type __VLS_WithDefaults<P, D> = {
|
|
30
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
31
|
-
default: D[K];
|
|
32
|
-
}> : P[K];
|
|
33
|
-
};
|
|
34
|
-
type __VLS_Prettify<T> = {
|
|
35
|
-
[K in keyof T]: T[K];
|
|
36
|
-
} & {};
|