@citruslime/ui 2.4.1-beta.3 → 2.4.1-beta.5
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 +1445 -1433
- package/dist/citrus-lime-ui.umd.js +2 -2
- package/dist/components/combo-box/cl-ui-combo-box.vue.d.ts +10 -0
- package/dist/components/combo-box/search-container/cl-ui-combo-box-search.vue.d.ts +2 -0
- package/dist/components/grid/utils.d.ts +14 -0
- package/dist/components/header/cl-ui-header.vue.d.ts +15 -2
- package/dist/components/header/menu/cl-ui-header-menu.vue.d.ts +2 -6
- package/package.json +1 -1
|
@@ -13,6 +13,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
13
13
|
results?: ComboBoxItem[] | undefined;
|
|
14
14
|
parentResults?: ComboBoxItem[] | undefined;
|
|
15
15
|
currentObject: ComboBoxItem | null;
|
|
16
|
+
placeholderText?: string | null | undefined;
|
|
17
|
+
searchHint?: string | null | undefined;
|
|
16
18
|
}>, {
|
|
17
19
|
loading: boolean;
|
|
18
20
|
disabled: boolean;
|
|
@@ -25,6 +27,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
25
27
|
parentObjectCreatedResponse: null;
|
|
26
28
|
results: () => never[];
|
|
27
29
|
parentResults: () => never[];
|
|
30
|
+
placeholderText: null;
|
|
31
|
+
searchHint: null;
|
|
28
32
|
}>, {
|
|
29
33
|
focus(): void;
|
|
30
34
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -48,6 +52,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
48
52
|
results?: ComboBoxItem[] | undefined;
|
|
49
53
|
parentResults?: ComboBoxItem[] | undefined;
|
|
50
54
|
currentObject: ComboBoxItem | null;
|
|
55
|
+
placeholderText?: string | null | undefined;
|
|
56
|
+
searchHint?: string | null | undefined;
|
|
51
57
|
}>, {
|
|
52
58
|
loading: boolean;
|
|
53
59
|
disabled: boolean;
|
|
@@ -60,6 +66,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
60
66
|
parentObjectCreatedResponse: null;
|
|
61
67
|
results: () => never[];
|
|
62
68
|
parentResults: () => never[];
|
|
69
|
+
placeholderText: null;
|
|
70
|
+
searchHint: null;
|
|
63
71
|
}>>> & {
|
|
64
72
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
65
73
|
"onCreate-object"?: ((...args: any[]) => any) | undefined;
|
|
@@ -72,7 +80,9 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
72
80
|
disabled: boolean;
|
|
73
81
|
required: boolean;
|
|
74
82
|
loading: boolean;
|
|
83
|
+
searchHint: string | null;
|
|
75
84
|
errorMessage: string;
|
|
85
|
+
placeholderText: string | null;
|
|
76
86
|
objectParentType: string;
|
|
77
87
|
canCreateNewObject: boolean;
|
|
78
88
|
canClearSelectedObject: boolean;
|
|
@@ -9,6 +9,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
9
9
|
currentObjectName?: string | undefined;
|
|
10
10
|
results?: ComboBoxItem[] | undefined;
|
|
11
11
|
isVisible?: boolean | undefined;
|
|
12
|
+
searchHint: string;
|
|
12
13
|
}>, {
|
|
13
14
|
loading: boolean;
|
|
14
15
|
objectParentType: string;
|
|
@@ -34,6 +35,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
34
35
|
currentObjectName?: string | undefined;
|
|
35
36
|
results?: ComboBoxItem[] | undefined;
|
|
36
37
|
isVisible?: boolean | undefined;
|
|
38
|
+
searchHint: string;
|
|
37
39
|
}>, {
|
|
38
40
|
loading: boolean;
|
|
39
41
|
objectParentType: string;
|
|
@@ -13,3 +13,17 @@ export declare function isSortable(column: GridColumn): boolean;
|
|
|
13
13
|
* @returns True, of the column can be filtered on; false, otherwise.
|
|
14
14
|
*/
|
|
15
15
|
export declare function isFilterable(column: GridColumn): boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Identifies if any of the provided columns are sortable.
|
|
18
|
+
*
|
|
19
|
+
* @param columns - The collection of columns to check.
|
|
20
|
+
* @returns - True if any of the columns are sortable, false if not.
|
|
21
|
+
*/
|
|
22
|
+
export declare function anySortableColumns(columns: GridColumn[]): boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Identifies if any of the provided columns are filterable.
|
|
25
|
+
*
|
|
26
|
+
* @param columns - The collection of columns to check.
|
|
27
|
+
* @returns - True if any of the columns are filterable, false if not.
|
|
28
|
+
*/
|
|
29
|
+
export declare function anyFilterableColumns(columns: GridColumn[]): boolean;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
isOpen?: boolean | undefined;
|
|
3
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
4
|
"open-click": () => void;
|
|
3
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
5
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
+
isOpen?: boolean | undefined;
|
|
7
|
+
}>>> & {
|
|
4
8
|
"onOpen-click"?: (() => any) | undefined;
|
|
5
9
|
}, {}, {}>, {
|
|
6
10
|
logo?(_: {}): any;
|
|
@@ -8,6 +12,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}
|
|
|
8
12
|
icon?(_: {}): any;
|
|
9
13
|
}>;
|
|
10
14
|
export default _default;
|
|
15
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
17
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
|
+
} : {
|
|
20
|
+
type: import('vue').PropType<T[K]>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
11
24
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
12
25
|
new (): {
|
|
13
26
|
$slots: S;
|
|
@@ -9,9 +9,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
9
9
|
group: string;
|
|
10
10
|
image: string;
|
|
11
11
|
colour: string;
|
|
12
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
-
"update:is-open": (value: boolean) => void;
|
|
14
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
+
}>, {}, 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<{
|
|
15
13
|
username?: string | undefined;
|
|
16
14
|
group?: string | undefined;
|
|
17
15
|
image?: string | undefined;
|
|
@@ -22,9 +20,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
22
20
|
group: string;
|
|
23
21
|
image: string;
|
|
24
22
|
colour: string;
|
|
25
|
-
}
|
|
26
|
-
"onUpdate:is-open"?: ((value: boolean) => any) | undefined;
|
|
27
|
-
}, {
|
|
23
|
+
}>>>, {
|
|
28
24
|
image: string;
|
|
29
25
|
colour: "default" | "secondary";
|
|
30
26
|
group: string;
|