@citruslime/ui 2.7.0-beta.2 → 3.0.0-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/README.md +3 -3
- package/dist/citrus-lime-ui.es.js +3590 -3507
- package/dist/citrus-lime-ui.umd.js +8 -8
- package/dist/components/accordion/cl-ui-accordion.vue.d.ts +33 -13
- package/dist/components/accordion/header/cl-ui-accordion-header.vue.d.ts +1 -1
- package/dist/components/accordion/item/cl-ui-accordion-item.vue.d.ts +37 -25
- package/dist/components/app/cl-ui-app.vue.d.ts +34 -15
- package/dist/components/button/cl-ui-button.vue.d.ts +43 -38
- package/dist/components/calendar/cl-ui-calendar-input.vue.d.ts +30 -54
- package/dist/components/calendar/cl-ui-calendar.vue.d.ts +73 -98
- package/dist/components/calendar/cl-ui-quick-dates-group.vue.d.ts +19 -22
- package/dist/components/calendar/cl-ui-quick-dates.vue.d.ts +20 -34
- package/dist/components/card/cl-ui-card.vue.d.ts +40 -24
- package/dist/components/combo-box/cl-ui-combo-box.vue.d.ts +97 -146
- package/dist/components/combo-box/search-container/cl-ui-combo-box-search.vue.d.ts +70 -95
- package/dist/components/combo-box/search-container/header/cl-ui-combo-box-header.vue.d.ts +37 -30
- package/dist/components/combo-box/search-container/selectable/cl-ui-combo-box-selectable.vue.d.ts +47 -50
- package/dist/components/currency/cl-ui-currency-input.vue.d.ts +51 -78
- package/dist/components/file-uploader/cl-ui-file-uploader.vue.d.ts +39 -38
- package/dist/components/footer/cl-ui-footer.vue.d.ts +1 -1
- package/dist/components/grid/action-row/cl-ui-grid-action-row.vue.d.ts +38 -59
- package/dist/components/grid/body/cl-ui-grid-body.vue.d.ts +60 -83
- package/dist/components/grid/body/cl-ui-grid-cell-value.vue.d.ts +20 -35
- package/dist/components/grid/body/cl-ui-grid-cell.vue.d.ts +37 -46
- package/dist/components/grid/body/cl-ui-grid-row.vue.d.ts +40 -58
- package/dist/components/grid/cl-ui-grid.vue.d.ts +83 -88
- package/dist/components/grid/footer/cl-ui-grid-footer.vue.d.ts +33 -30
- package/dist/components/grid/header/cl-ui-grid-filter.vue.d.ts +41 -61
- package/dist/components/grid/header/cl-ui-grid-header.vue.d.ts +30 -65
- package/dist/components/grid/header/cl-ui-grid-method-selector.vue.d.ts +37 -46
- package/dist/components/grid/header/cl-ui-grid-search.vue.d.ts +10 -3
- package/dist/components/grid/view-manager/cl-ui-grid-view-manager.vue.d.ts +19 -22
- package/dist/components/header/cl-ui-header.vue.d.ts +23 -14
- package/dist/components/header/menu/cl-ui-header-menu.vue.d.ts +44 -45
- package/dist/components/header/menu/index.d.ts +1 -0
- package/dist/components/input/cl-ui-input.vue.d.ts +225 -333
- package/dist/components/input-v2/input-checkbox/cl-ui-input-checkbox.vue.d.ts +60 -0
- package/dist/components/input-v2/input-checkbox/index.d.ts +1 -0
- package/dist/components/input-v2/input-layout-wrapper/cl-ui-input-layout-wrapper.vue.d.ts +21 -21
- package/dist/components/input-v2/input-number/cl-ui-input-number.vue.d.ts +29 -25
- package/dist/components/input-v2/input-text/cl-ui-input-text.vue.d.ts +26 -22
- package/dist/components/language-switcher/cl-ui-language-switcher.vue.d.ts +33 -28
- package/dist/components/loading-spinner/cl-ui-loading-spinner.vue.d.ts +1 -1
- package/dist/components/login/cl-ui-login.vue.d.ts +44 -28
- package/dist/components/modal/cl-ui-modal.vue.d.ts +54 -40
- package/dist/components/navigation/cl-ui-navigation.vue.d.ts +39 -15
- package/dist/components/navigation/group/cl-ui-navigation-group.vue.d.ts +19 -13
- package/dist/components/navigation/icon/cl-ui-navigation-icon.vue.d.ts +30 -27
- package/dist/components/navigation/item/cl-ui-navigation-item.vue.d.ts +1 -1
- package/dist/components/navigation/section/cl-ui-navigation-section.vue.d.ts +1 -1
- package/dist/components/notification/cl-ui-notification.vue.d.ts +32 -20
- package/dist/components/slider/cl-ui-slider.vue.d.ts +19 -24
- package/dist/components/tab/cl-ui-tab.vue.d.ts +44 -23
- package/dist/components/tab/content/cl-ui-tab-content.vue.d.ts +32 -20
- package/dist/components/tab/header/cl-ui-tab-header.vue.d.ts +43 -44
- package/dist/style.css +1 -1
- package/package.json +12 -11
package/dist/components/combo-box/search-container/selectable/cl-ui-combo-box-selectable.vue.d.ts
CHANGED
|
@@ -1,54 +1,34 @@
|
|
|
1
1
|
import type { ComboBoxItem } from '../../types';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<{
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
selectedIndex
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
text: {
|
|
33
|
-
type: import("vue").PropType<string>;
|
|
34
|
-
default: string;
|
|
35
|
-
};
|
|
36
|
-
index: {
|
|
37
|
-
type: import("vue").PropType<number>;
|
|
38
|
-
required: true;
|
|
39
|
-
};
|
|
40
|
-
isCreateNewOption: {
|
|
41
|
-
type: import("vue").PropType<boolean>;
|
|
42
|
-
default: boolean;
|
|
43
|
-
};
|
|
44
|
-
selectedIndex: {
|
|
45
|
-
type: import("vue").PropType<number>;
|
|
46
|
-
default: number;
|
|
47
|
-
};
|
|
48
|
-
}>> & {
|
|
49
|
-
"onCreate-object"?: ((...args: any[]) => any) | undefined;
|
|
50
|
-
"onSelect-object"?: ((...args: any[]) => any) | undefined;
|
|
51
|
-
"onOption-highlighted"?: ((...args: any[]) => any) | undefined;
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
3
|
+
isCreateNewOption?: boolean | undefined;
|
|
4
|
+
selectedIndex?: number | undefined;
|
|
5
|
+
text?: string | undefined;
|
|
6
|
+
option?: ComboBoxItem | null | undefined;
|
|
7
|
+
index: number;
|
|
8
|
+
}>, {
|
|
9
|
+
isCreateNewOption: boolean;
|
|
10
|
+
selectedIndex: number;
|
|
11
|
+
text: string;
|
|
12
|
+
option: null;
|
|
13
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
"create-object": () => void;
|
|
15
|
+
"select-object": (args_0: number | undefined) => void;
|
|
16
|
+
"option-highlighted": (args_0: number) => void;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
18
|
+
isCreateNewOption?: boolean | undefined;
|
|
19
|
+
selectedIndex?: number | undefined;
|
|
20
|
+
text?: string | undefined;
|
|
21
|
+
option?: ComboBoxItem | null | undefined;
|
|
22
|
+
index: number;
|
|
23
|
+
}>, {
|
|
24
|
+
isCreateNewOption: boolean;
|
|
25
|
+
selectedIndex: number;
|
|
26
|
+
text: string;
|
|
27
|
+
option: null;
|
|
28
|
+
}>>> & {
|
|
29
|
+
"onCreate-object"?: (() => any) | undefined;
|
|
30
|
+
"onSelect-object"?: ((args_0: number | undefined) => any) | undefined;
|
|
31
|
+
"onOption-highlighted"?: ((args_0: number) => any) | undefined;
|
|
52
32
|
}, {
|
|
53
33
|
option: ComboBoxItem | null;
|
|
54
34
|
text: string;
|
|
@@ -56,3 +36,20 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
56
36
|
selectedIndex: number;
|
|
57
37
|
}, {}>;
|
|
58
38
|
export default _default;
|
|
39
|
+
type __VLS_WithDefaults<P, D> = {
|
|
40
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
41
|
+
default: D[K];
|
|
42
|
+
}> : P[K];
|
|
43
|
+
};
|
|
44
|
+
type __VLS_Prettify<T> = {
|
|
45
|
+
[K in keyof T]: T[K];
|
|
46
|
+
} & {};
|
|
47
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
48
|
+
type __VLS_TypePropsToOption<T> = {
|
|
49
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
50
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
51
|
+
} : {
|
|
52
|
+
type: import('vue').PropType<T[K]>;
|
|
53
|
+
required: true;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
@@ -1,94 +1,67 @@
|
|
|
1
1
|
import type { CurrencyInputOptions } from 'vue-currency-input';
|
|
2
2
|
import type { InputValueType } from '../input/types';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
};
|
|
20
|
-
modelValue: {
|
|
21
|
-
type: import("vue").PropType<InputValueType>;
|
|
22
|
-
required: true;
|
|
23
|
-
};
|
|
24
|
-
currencyOptions: {
|
|
25
|
-
type: import("vue").PropType<CurrencyInputOptions>;
|
|
26
|
-
required: true;
|
|
27
|
-
};
|
|
28
|
-
isValid: {
|
|
29
|
-
type: import("vue").PropType<boolean>;
|
|
30
|
-
required: true;
|
|
31
|
-
};
|
|
32
|
-
highlightWhenValid: {
|
|
33
|
-
type: import("vue").PropType<boolean>;
|
|
34
|
-
default: boolean;
|
|
35
|
-
};
|
|
36
|
-
inputSpecificClasses: {
|
|
37
|
-
type: import("vue").PropType<string>;
|
|
38
|
-
default: string;
|
|
39
|
-
};
|
|
40
|
-
}, {
|
|
3
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
4
|
+
modelValue: InputValueType;
|
|
5
|
+
currencyOptions: CurrencyInputOptions;
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
isValid: boolean;
|
|
8
|
+
placeholder: string;
|
|
9
|
+
highlightWhenValid?: boolean | undefined;
|
|
10
|
+
inputSpecificClasses?: string | undefined;
|
|
11
|
+
step?: number | undefined;
|
|
12
|
+
group?: string | undefined;
|
|
13
|
+
}>, {
|
|
14
|
+
highlightWhenValid: boolean;
|
|
15
|
+
inputSpecificClasses: string;
|
|
16
|
+
step: number;
|
|
17
|
+
group: string;
|
|
18
|
+
}>, {
|
|
41
19
|
focus(): void;
|
|
42
20
|
blur(): void;
|
|
43
21
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
44
|
-
'update:modelValue': (args_0: number) => void;
|
|
45
22
|
focus: () => void;
|
|
23
|
+
"update:modelValue": (args_0: number) => void;
|
|
46
24
|
change: (args_0: Event, args_1: number | null) => void;
|
|
47
|
-
}, string, import("vue").
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
};
|
|
64
|
-
modelValue: {
|
|
65
|
-
type: import("vue").PropType<InputValueType>;
|
|
66
|
-
required: true;
|
|
67
|
-
};
|
|
68
|
-
currencyOptions: {
|
|
69
|
-
type: import("vue").PropType<CurrencyInputOptions>;
|
|
70
|
-
required: true;
|
|
71
|
-
};
|
|
72
|
-
isValid: {
|
|
73
|
-
type: import("vue").PropType<boolean>;
|
|
74
|
-
required: true;
|
|
75
|
-
};
|
|
76
|
-
highlightWhenValid: {
|
|
77
|
-
type: import("vue").PropType<boolean>;
|
|
78
|
-
default: boolean;
|
|
79
|
-
};
|
|
80
|
-
inputSpecificClasses: {
|
|
81
|
-
type: import("vue").PropType<string>;
|
|
82
|
-
default: string;
|
|
83
|
-
};
|
|
84
|
-
}>> & {
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
26
|
+
modelValue: InputValueType;
|
|
27
|
+
currencyOptions: CurrencyInputOptions;
|
|
28
|
+
disabled: boolean;
|
|
29
|
+
isValid: boolean;
|
|
30
|
+
placeholder: string;
|
|
31
|
+
highlightWhenValid?: boolean | undefined;
|
|
32
|
+
inputSpecificClasses?: string | undefined;
|
|
33
|
+
step?: number | undefined;
|
|
34
|
+
group?: string | undefined;
|
|
35
|
+
}>, {
|
|
36
|
+
highlightWhenValid: boolean;
|
|
37
|
+
inputSpecificClasses: string;
|
|
38
|
+
step: number;
|
|
39
|
+
group: string;
|
|
40
|
+
}>>> & {
|
|
85
41
|
onFocus?: (() => any) | undefined;
|
|
86
42
|
onChange?: ((args_0: Event, args_1: number | null) => any) | undefined;
|
|
87
43
|
"onUpdate:modelValue"?: ((args_0: number) => any) | undefined;
|
|
88
44
|
}, {
|
|
89
|
-
step: number;
|
|
90
45
|
group: string;
|
|
91
46
|
highlightWhenValid: boolean;
|
|
92
47
|
inputSpecificClasses: string;
|
|
48
|
+
step: number;
|
|
93
49
|
}, {}>;
|
|
94
50
|
export default _default;
|
|
51
|
+
type __VLS_WithDefaults<P, D> = {
|
|
52
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
53
|
+
default: D[K];
|
|
54
|
+
}> : P[K];
|
|
55
|
+
};
|
|
56
|
+
type __VLS_Prettify<T> = {
|
|
57
|
+
[K in keyof T]: T[K];
|
|
58
|
+
} & {};
|
|
59
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
60
|
+
type __VLS_TypePropsToOption<T> = {
|
|
61
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
62
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
63
|
+
} : {
|
|
64
|
+
type: import('vue').PropType<T[K]>;
|
|
65
|
+
required: true;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
@@ -1,50 +1,51 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
acceptedFileTypes: {
|
|
11
|
-
type: import("vue").PropType<string>;
|
|
12
|
-
required: true;
|
|
13
|
-
};
|
|
14
|
-
allowMultipleFiles: {
|
|
15
|
-
type: import("vue").PropType<boolean>;
|
|
16
|
-
default: boolean;
|
|
17
|
-
};
|
|
18
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
|
+
uploaderType: "dragDrop" | "classic";
|
|
3
|
+
acceptedFileTypes: string;
|
|
4
|
+
allowMultipleFiles?: boolean | undefined;
|
|
5
|
+
disabled?: boolean | undefined;
|
|
6
|
+
}>, {
|
|
7
|
+
allowMultipleFiles: boolean;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
10
|
"files-uploaded": (files: File[]) => void;
|
|
20
|
-
}, string, import("vue").
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
acceptedFileTypes: {
|
|
30
|
-
type: import("vue").PropType<string>;
|
|
31
|
-
required: true;
|
|
32
|
-
};
|
|
33
|
-
allowMultipleFiles: {
|
|
34
|
-
type: import("vue").PropType<boolean>;
|
|
35
|
-
default: boolean;
|
|
36
|
-
};
|
|
37
|
-
}>> & {
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
12
|
+
uploaderType: "dragDrop" | "classic";
|
|
13
|
+
acceptedFileTypes: string;
|
|
14
|
+
allowMultipleFiles?: boolean | undefined;
|
|
15
|
+
disabled?: boolean | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
allowMultipleFiles: boolean;
|
|
18
|
+
disabled: boolean;
|
|
19
|
+
}>>> & {
|
|
38
20
|
"onFiles-uploaded"?: ((files: File[]) => any) | undefined;
|
|
39
21
|
}, {
|
|
40
22
|
disabled: boolean;
|
|
41
23
|
allowMultipleFiles: boolean;
|
|
42
|
-
}, {}>, {
|
|
43
|
-
default
|
|
24
|
+
}, {}>, Readonly<{
|
|
25
|
+
default(): any;
|
|
26
|
+
}> & {
|
|
27
|
+
default(): any;
|
|
44
28
|
}>;
|
|
45
29
|
export default _default;
|
|
30
|
+
type __VLS_WithDefaults<P, D> = {
|
|
31
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
32
|
+
default: D[K];
|
|
33
|
+
}> : P[K];
|
|
34
|
+
};
|
|
35
|
+
type __VLS_Prettify<T> = {
|
|
36
|
+
[K in keyof T]: T[K];
|
|
37
|
+
} & {};
|
|
46
38
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
47
39
|
new (): {
|
|
48
40
|
$slots: S;
|
|
49
41
|
};
|
|
50
42
|
};
|
|
43
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
44
|
+
type __VLS_TypePropsToOption<T> = {
|
|
45
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
46
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
47
|
+
} : {
|
|
48
|
+
type: import('vue').PropType<T[K]>;
|
|
49
|
+
required: true;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
|
|
2
2
|
default?(_: {}): any;
|
|
3
3
|
left?(_: {}): any;
|
|
4
4
|
right?(_: {}): any;
|
|
@@ -1,68 +1,38 @@
|
|
|
1
1
|
import type { FilterRequest, GridColumn, GridConfig } from '../types';
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
-
editMode:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
filterPanelOpen:
|
|
12
|
-
type: import("vue").PropType<boolean>;
|
|
13
|
-
required: true;
|
|
14
|
-
};
|
|
15
|
-
columns: {
|
|
16
|
-
type: import("vue").PropType<GridColumn<Record<string, unknown>>[]>;
|
|
17
|
-
required: true;
|
|
18
|
-
};
|
|
19
|
-
options: {
|
|
20
|
-
type: import("vue").PropType<Partial<GridConfig>>;
|
|
21
|
-
required: true;
|
|
22
|
-
};
|
|
23
|
-
request: {
|
|
24
|
-
type: import("vue").PropType<FilterRequest<Record<string, unknown>>>;
|
|
25
|
-
required: true;
|
|
26
|
-
};
|
|
27
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
|
-
"update:edit-mode": (value: boolean) => void;
|
|
29
|
-
"update:filterPanelOpen": (value: boolean) => void;
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
3
|
+
editMode: boolean;
|
|
4
|
+
loading: boolean;
|
|
5
|
+
filterPanelOpen: boolean;
|
|
6
|
+
columns: GridColumn<Record<string, unknown>>[];
|
|
7
|
+
options: Partial<GridConfig>;
|
|
8
|
+
request: FilterRequest<Record<string, unknown>>;
|
|
9
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
"update:edit-mode": (args_0: boolean) => void;
|
|
11
|
+
"update:filterPanelOpen": (args_0: boolean) => void;
|
|
30
12
|
"clear-filters": () => void;
|
|
31
|
-
}, string, import("vue").
|
|
32
|
-
editMode:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
filterPanelOpen:
|
|
41
|
-
type: import("vue").PropType<boolean>;
|
|
42
|
-
required: true;
|
|
43
|
-
};
|
|
44
|
-
columns: {
|
|
45
|
-
type: import("vue").PropType<GridColumn<Record<string, unknown>>[]>;
|
|
46
|
-
required: true;
|
|
47
|
-
};
|
|
48
|
-
options: {
|
|
49
|
-
type: import("vue").PropType<Partial<GridConfig>>;
|
|
50
|
-
required: true;
|
|
51
|
-
};
|
|
52
|
-
request: {
|
|
53
|
-
type: import("vue").PropType<FilterRequest<Record<string, unknown>>>;
|
|
54
|
-
required: true;
|
|
55
|
-
};
|
|
56
|
-
}>> & {
|
|
57
|
-
"onUpdate:edit-mode"?: ((value: boolean) => any) | undefined;
|
|
58
|
-
"onUpdate:filterPanelOpen"?: ((value: boolean) => any) | undefined;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
14
|
+
editMode: boolean;
|
|
15
|
+
loading: boolean;
|
|
16
|
+
filterPanelOpen: boolean;
|
|
17
|
+
columns: GridColumn<Record<string, unknown>>[];
|
|
18
|
+
options: Partial<GridConfig>;
|
|
19
|
+
request: FilterRequest<Record<string, unknown>>;
|
|
20
|
+
}>>> & {
|
|
21
|
+
"onUpdate:edit-mode"?: ((args_0: boolean) => any) | undefined;
|
|
22
|
+
"onUpdate:filterPanelOpen"?: ((args_0: boolean) => any) | undefined;
|
|
59
23
|
"onClear-filters"?: (() => any) | undefined;
|
|
60
|
-
}, {}, {}>, {
|
|
61
|
-
|
|
24
|
+
}, {}, {}>, Readonly<{
|
|
25
|
+
'additional-grid-actions'(props: {
|
|
26
|
+
loading: boolean;
|
|
27
|
+
editMode: boolean;
|
|
28
|
+
}): any;
|
|
29
|
+
'view-manager'(): any;
|
|
30
|
+
}> & {
|
|
31
|
+
'additional-grid-actions'(props: {
|
|
62
32
|
loading: boolean;
|
|
63
33
|
editMode: boolean;
|
|
64
34
|
}): any;
|
|
65
|
-
|
|
35
|
+
'view-manager'(): any;
|
|
66
36
|
}>;
|
|
67
37
|
export default _default;
|
|
68
38
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -70,3 +40,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
70
40
|
$slots: S;
|
|
71
41
|
};
|
|
72
42
|
};
|
|
43
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
44
|
+
type __VLS_TypePropsToOption<T> = {
|
|
45
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
46
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
47
|
+
} : {
|
|
48
|
+
type: import('vue').PropType<T[K]>;
|
|
49
|
+
required: true;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
@@ -1,95 +1,72 @@
|
|
|
1
1
|
import type { InputValueType } from '../../input/types';
|
|
2
|
-
import type { FilterRequest, FilterResponse, GridColumn, GridConfig } from '../types';
|
|
3
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
loading:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
};
|
|
32
|
-
searchValue: {
|
|
33
|
-
type: import("vue").PropType<string>;
|
|
34
|
-
required: true;
|
|
35
|
-
};
|
|
36
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
37
|
-
'row-select': (args_0: Record<string, unknown>) => void;
|
|
38
|
-
'row-edit': (args_0: Record<string, unknown>) => void;
|
|
39
|
-
'row-edit-cancelled': (args_0: Record<string, unknown>) => void;
|
|
40
|
-
'clear-filters': () => void;
|
|
41
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
42
|
-
data: {
|
|
43
|
-
type: import("vue").PropType<FilterResponse<Record<string, InputValueType>> | null>;
|
|
44
|
-
required: true;
|
|
45
|
-
};
|
|
46
|
-
loading: {
|
|
47
|
-
type: import("vue").PropType<boolean>;
|
|
48
|
-
required: true;
|
|
49
|
-
};
|
|
50
|
-
timeZone: {
|
|
51
|
-
type: import("vue").PropType<string | null>;
|
|
52
|
-
required: true;
|
|
53
|
-
};
|
|
54
|
-
columns: {
|
|
55
|
-
type: import("vue").PropType<GridColumn<Record<string, unknown>>[]>;
|
|
56
|
-
required: true;
|
|
57
|
-
};
|
|
58
|
-
editMode: {
|
|
59
|
-
type: import("vue").PropType<boolean>;
|
|
60
|
-
default: boolean;
|
|
61
|
-
};
|
|
62
|
-
options: {
|
|
63
|
-
type: import("vue").PropType<Partial<GridConfig>>;
|
|
64
|
-
required: true;
|
|
65
|
-
};
|
|
66
|
-
request: {
|
|
67
|
-
type: import("vue").PropType<FilterRequest<Record<string, unknown>>>;
|
|
68
|
-
required: true;
|
|
69
|
-
};
|
|
70
|
-
searchValue: {
|
|
71
|
-
type: import("vue").PropType<string>;
|
|
72
|
-
required: true;
|
|
73
|
-
};
|
|
74
|
-
}>> & {
|
|
2
|
+
import type { FilterRequest, FilterResponse, GridColumn, GridConfig, GridUpdateModel } from '../types';
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
4
|
+
columns: GridColumn<Record<string, unknown>>[];
|
|
5
|
+
request: FilterRequest<Record<string, unknown>>;
|
|
6
|
+
data: FilterResponse<Record<string, InputValueType>> | null;
|
|
7
|
+
timeZone: string | null;
|
|
8
|
+
loading: boolean;
|
|
9
|
+
options: Partial<GridConfig>;
|
|
10
|
+
searchValue: string;
|
|
11
|
+
editMode?: boolean | undefined;
|
|
12
|
+
}>, {
|
|
13
|
+
editMode: boolean;
|
|
14
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
"clear-filters": () => void;
|
|
16
|
+
"row-select": (args_0: Record<string, unknown>) => void;
|
|
17
|
+
"row-edit": (args_0: GridUpdateModel) => void;
|
|
18
|
+
"row-edit-cancelled": (args_0: GridUpdateModel) => void;
|
|
19
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
20
|
+
columns: GridColumn<Record<string, unknown>>[];
|
|
21
|
+
request: FilterRequest<Record<string, unknown>>;
|
|
22
|
+
data: FilterResponse<Record<string, InputValueType>> | null;
|
|
23
|
+
timeZone: string | null;
|
|
24
|
+
loading: boolean;
|
|
25
|
+
options: Partial<GridConfig>;
|
|
26
|
+
searchValue: string;
|
|
27
|
+
editMode?: boolean | undefined;
|
|
28
|
+
}>, {
|
|
29
|
+
editMode: boolean;
|
|
30
|
+
}>>> & {
|
|
75
31
|
"onClear-filters"?: (() => any) | undefined;
|
|
76
32
|
"onRow-select"?: ((args_0: Record<string, unknown>) => any) | undefined;
|
|
77
|
-
"onRow-edit"?: ((args_0:
|
|
78
|
-
"onRow-edit-cancelled"?: ((args_0:
|
|
33
|
+
"onRow-edit"?: ((args_0: GridUpdateModel) => any) | undefined;
|
|
34
|
+
"onRow-edit-cancelled"?: ((args_0: GridUpdateModel) => any) | undefined;
|
|
79
35
|
}, {
|
|
80
36
|
editMode: boolean;
|
|
81
|
-
}, {}>,
|
|
37
|
+
}, {}>, Readonly<Record<string, (props: import("../types").CellSlot & Partial<{
|
|
38
|
+
edited: boolean;
|
|
39
|
+
listEntries: import("../../index.js").ComboBoxItem[];
|
|
40
|
+
cellFocused: () => void;
|
|
41
|
+
}> & {
|
|
42
|
+
disabled: boolean;
|
|
43
|
+
}) => any>> & Record<string, (props: import("../types").CellSlot & Partial<{
|
|
44
|
+
edited: boolean;
|
|
45
|
+
listEntries: import("../../index.js").ComboBoxItem[];
|
|
46
|
+
cellFocused: () => void;
|
|
47
|
+
}> & {
|
|
82
48
|
disabled: boolean;
|
|
83
|
-
|
|
84
|
-
record: Record<string, InputValueType>;
|
|
85
|
-
searchValue?: string | undefined;
|
|
86
|
-
edited?: boolean | undefined;
|
|
87
|
-
listEntries?: import("../..").ComboBoxItem[] | undefined;
|
|
88
|
-
cellFocused?: (() => void) | undefined;
|
|
89
|
-
}) => any>>>;
|
|
49
|
+
}) => any>>;
|
|
90
50
|
export default _default;
|
|
51
|
+
type __VLS_WithDefaults<P, D> = {
|
|
52
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
53
|
+
default: D[K];
|
|
54
|
+
}> : P[K];
|
|
55
|
+
};
|
|
56
|
+
type __VLS_Prettify<T> = {
|
|
57
|
+
[K in keyof T]: T[K];
|
|
58
|
+
} & {};
|
|
91
59
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
92
60
|
new (): {
|
|
93
61
|
$slots: S;
|
|
94
62
|
};
|
|
95
63
|
};
|
|
64
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
65
|
+
type __VLS_TypePropsToOption<T> = {
|
|
66
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
67
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
68
|
+
} : {
|
|
69
|
+
type: import('vue').PropType<T[K]>;
|
|
70
|
+
required: true;
|
|
71
|
+
};
|
|
72
|
+
};
|