@citruslime/ui 4.1.0-beta.2 → 4.1.0-beta.21
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 +1 -1
- package/dist/citrus-lime-ui.es.js +491 -518
- package/dist/citrus-lime-ui.umd.js +2 -2
- package/dist/components/accordion/header/cl-ui-accordion-header.vue.d.ts +2 -4
- package/dist/components/calendar/cl-ui-calendar-input.vue.d.ts +3 -3
- package/dist/components/calendar/cl-ui-calendar.vue.d.ts +2 -0
- package/dist/components/calendar/types.d.ts +6 -0
- package/dist/components/footer/cl-ui-footer.vue.d.ts +2 -4
- package/dist/components/grid/header/filter-values.d.ts +2 -5
- package/dist/components/input/cl-ui-input.vue.d.ts +2 -0
- package/dist/components/input-v2/input-date-range/cl-ui-input-date-range.vue.d.ts +2 -0
- package/dist/components/input-v2/input-datetime/cl-ui-input-datetime.vue.d.ts +2 -0
- package/dist/components/input-v2/input-number/cl-ui-input-number.vue.d.ts +1 -1
- package/dist/components/input-v2/input-range/cl-ui-input-range.vue.d.ts +1 -1
- package/dist/components/input-v2/input-text/cl-ui-input-text.vue.d.ts +5 -5
- package/dist/components/navigation/item/cl-ui-navigation-item.vue.d.ts +2 -4
- package/dist/components/navigation/section/cl-ui-navigation-section.vue.d.ts +2 -4
- package/dist/components/select/cl-ui-select.vue.d.ts +3 -2
- package/dist/components/select/select-options/cl-ui-select-option.vue.d.ts +2 -0
- package/dist/ui.css +1 -1
- package/dist/utils/i18n/types.d.ts +2 -0
- package/package.json +16 -16
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
2
1
|
declare var __VLS_1: {};
|
|
3
|
-
type __VLS_Slots =
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
4
3
|
default?: (props: typeof __VLS_1) => any;
|
|
5
|
-
}
|
|
6
|
-
declare const __VLS_self: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
};
|
|
7
5
|
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
6
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
9
7
|
export default _default;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { CalendarType } from './types';
|
|
1
|
+
import type { CalendarType, DateTimePopoverEvents } from './types';
|
|
3
2
|
type __VLS_Props = {
|
|
4
3
|
date?: string;
|
|
5
|
-
events?:
|
|
4
|
+
events?: DateTimePopoverEvents;
|
|
6
5
|
type: CalendarType;
|
|
7
6
|
placeholder: string | null;
|
|
8
7
|
required: boolean;
|
|
9
8
|
disabled?: boolean;
|
|
10
9
|
rangeSelected?: boolean;
|
|
11
10
|
forceIconDisplay?: boolean;
|
|
11
|
+
interactiveIcon?: boolean;
|
|
12
12
|
};
|
|
13
13
|
/**
|
|
14
14
|
* Focus the input element.
|
|
@@ -13,6 +13,7 @@ type __VLS_Props = {
|
|
|
13
13
|
initialDate?: string | null;
|
|
14
14
|
quickDateScope?: 'past' | 'future' | 'none' | QuickDateName[] | null;
|
|
15
15
|
dateFormatLocale?: string | null;
|
|
16
|
+
showWeekNumbers?: boolean;
|
|
16
17
|
};
|
|
17
18
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
18
19
|
focus(): void;
|
|
@@ -29,6 +30,7 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
|
29
30
|
max: string | null;
|
|
30
31
|
dateFormatLocale: string | null;
|
|
31
32
|
timeZone: string | null;
|
|
33
|
+
showWeekNumbers: boolean;
|
|
32
34
|
quickDateScope: "past" | "future" | "none" | QuickDateName[] | null;
|
|
33
35
|
initialDate: string | null;
|
|
34
36
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
+
import type { PopoverEventHandlers } from 'v-calendar/dist/types/src/utils/popovers.js';
|
|
1
2
|
export declare const calendarTypes: readonly ["date", "datetime", "time", "dateRange"];
|
|
2
3
|
export type CalendarType = typeof calendarTypes[number];
|
|
4
|
+
export type DateTimePopoverEvents = PopoverEventHandlers & {
|
|
5
|
+
change: (e: Event) => void;
|
|
6
|
+
input: (e: Event) => void;
|
|
7
|
+
keyup: (e: KeyboardEvent) => void;
|
|
8
|
+
};
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
2
1
|
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {};
|
|
3
|
-
type __VLS_Slots =
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
4
3
|
default?: (props: typeof __VLS_1) => any;
|
|
5
4
|
} & {
|
|
6
5
|
left?: (props: typeof __VLS_3) => any;
|
|
7
6
|
} & {
|
|
8
7
|
right?: (props: typeof __VLS_5) => any;
|
|
9
|
-
}
|
|
10
|
-
declare const __VLS_self: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
|
+
};
|
|
11
9
|
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
10
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
13
11
|
export default _default;
|
|
@@ -7,9 +7,6 @@ export declare const defaultEmptyListValue: {
|
|
|
7
7
|
readonly name: "";
|
|
8
8
|
readonly value: "";
|
|
9
9
|
};
|
|
10
|
-
export declare const defaultSelectAllListValue:
|
|
11
|
-
|
|
12
|
-
readonly name: string;
|
|
13
|
-
readonly value: "";
|
|
14
|
-
};
|
|
10
|
+
export declare const defaultSelectAllListValue: import("vue").ComputedRef<SelectItemWithValue>;
|
|
11
|
+
export declare const defaultClearAllListValue: import("vue").ComputedRef<SelectItemWithValue>;
|
|
15
12
|
export declare const booleanListEntries: import("vue").ComputedRef<SelectItemWithValue[]>;
|
|
@@ -34,6 +34,7 @@ type __VLS_Props = {
|
|
|
34
34
|
quickDateScope?: 'past' | 'future' | 'none' | QuickDateName[] | null;
|
|
35
35
|
dateFormatLocale?: string | null;
|
|
36
36
|
currencyOptions?: CurrencyInputOptions;
|
|
37
|
+
showWeekNumbers?: boolean;
|
|
37
38
|
};
|
|
38
39
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
39
40
|
focus(): void;
|
|
@@ -68,6 +69,7 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
|
68
69
|
step: number;
|
|
69
70
|
dateFormatLocale: string | null;
|
|
70
71
|
timeZone: string | null;
|
|
72
|
+
showWeekNumbers: boolean;
|
|
71
73
|
isRequired: boolean;
|
|
72
74
|
quickDateScope: "past" | "future" | "none" | QuickDateName[] | null;
|
|
73
75
|
initialDate: string | null;
|
|
@@ -11,6 +11,7 @@ type __VLS_Props = {
|
|
|
11
11
|
quickDateScope?: 'past' | 'future' | 'none' | QuickDateName[] | null;
|
|
12
12
|
popoverPlacement?: PopoverPlacement;
|
|
13
13
|
manualDateSelection?: boolean;
|
|
14
|
+
showWeekNumbers?: boolean;
|
|
14
15
|
};
|
|
15
16
|
type __VLS_Slots = {
|
|
16
17
|
default: () => any;
|
|
@@ -32,6 +33,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
32
33
|
dateFormatLocale: string | null;
|
|
33
34
|
timeZone: string | null;
|
|
34
35
|
popoverPlacement: "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
|
36
|
+
showWeekNumbers: boolean;
|
|
35
37
|
quickDateScope: "past" | "future" | "none" | QuickDateName[] | null;
|
|
36
38
|
manualDateSelection: boolean;
|
|
37
39
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -13,6 +13,7 @@ type __VLS_Props = {
|
|
|
13
13
|
popoverPlacement?: PopoverPlacement;
|
|
14
14
|
showPopover?: boolean;
|
|
15
15
|
forceIconDisplay?: boolean;
|
|
16
|
+
showWeekNumbers?: boolean;
|
|
16
17
|
};
|
|
17
18
|
type __VLS_Slots = {
|
|
18
19
|
default: () => any;
|
|
@@ -44,6 +45,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
44
45
|
timeZone: string | null;
|
|
45
46
|
popoverPlacement: "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
|
46
47
|
showPopover: boolean;
|
|
48
|
+
showWeekNumbers: boolean;
|
|
47
49
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
48
50
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
49
51
|
export default _default;
|
|
@@ -37,8 +37,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
37
37
|
}>, {
|
|
38
38
|
disabled: boolean;
|
|
39
39
|
required: boolean;
|
|
40
|
-
errors: string[] | null;
|
|
41
40
|
placeholder: string | null;
|
|
41
|
+
errors: string[] | null;
|
|
42
42
|
selectOnFocus: boolean;
|
|
43
43
|
locale: string | null;
|
|
44
44
|
currency: string | null;
|
|
@@ -24,8 +24,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
24
24
|
}>, {
|
|
25
25
|
disabled: boolean;
|
|
26
26
|
required: boolean;
|
|
27
|
-
errors: string[] | null;
|
|
28
27
|
placeholder: string | null;
|
|
28
|
+
errors: string[] | null;
|
|
29
29
|
precision: number;
|
|
30
30
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
31
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -20,22 +20,22 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
20
20
|
blur: () => void | undefined;
|
|
21
21
|
select: () => void | undefined;
|
|
22
22
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
|
-
focus: () => any;
|
|
24
|
-
blur: () => any;
|
|
23
|
+
focus: (args_0: FocusEvent) => any;
|
|
24
|
+
blur: (args_0: FocusEvent) => any;
|
|
25
25
|
keySinglePress: (args_0: string) => any;
|
|
26
26
|
"update:modelValue": (value: string) => any;
|
|
27
27
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
28
|
-
onFocus?: (() => any) | undefined;
|
|
29
|
-
onBlur?: (() => any) | undefined;
|
|
28
|
+
onFocus?: ((args_0: FocusEvent) => any) | undefined;
|
|
29
|
+
onBlur?: ((args_0: FocusEvent) => any) | undefined;
|
|
30
30
|
onKeySinglePress?: ((args_0: string) => any) | undefined;
|
|
31
31
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
32
32
|
}>, {
|
|
33
33
|
type: TextType;
|
|
34
34
|
disabled: boolean;
|
|
35
35
|
required: boolean;
|
|
36
|
+
placeholder: string | null;
|
|
36
37
|
errors: string[] | null;
|
|
37
38
|
maxlength: number | null;
|
|
38
|
-
placeholder: string | null;
|
|
39
39
|
selectOnFocus: boolean;
|
|
40
40
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
41
41
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
2
1
|
declare var __VLS_1: {};
|
|
3
|
-
type __VLS_Slots =
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
4
3
|
default?: (props: typeof __VLS_1) => any;
|
|
5
|
-
}
|
|
6
|
-
declare const __VLS_self: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
};
|
|
7
5
|
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
6
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
9
7
|
export default _default;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
2
1
|
declare var __VLS_1: {}, __VLS_3: {};
|
|
3
|
-
type __VLS_Slots =
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
4
3
|
title?: (props: typeof __VLS_1) => any;
|
|
5
4
|
} & {
|
|
6
5
|
default?: (props: typeof __VLS_3) => any;
|
|
7
|
-
}
|
|
8
|
-
declare const __VLS_self: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
};
|
|
9
7
|
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
10
8
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
11
9
|
export default _default;
|
|
@@ -14,7 +14,8 @@ declare const _default: <T extends string | number | boolean | SelectItem>(__VLS
|
|
|
14
14
|
openDropDownOnFocus?: boolean;
|
|
15
15
|
allowFiltering?: boolean;
|
|
16
16
|
useListView?: boolean;
|
|
17
|
-
|
|
17
|
+
readonly?: boolean;
|
|
18
|
+
} & {}> & import("vue").PublicProps;
|
|
18
19
|
expose(exposed: import("vue").ShallowUnwrapRef<{
|
|
19
20
|
focus: () => void;
|
|
20
21
|
}>): void;
|
|
@@ -46,5 +47,5 @@ declare const _default: <T extends string | number | boolean | SelectItem>(__VLS
|
|
|
46
47
|
};
|
|
47
48
|
export default _default;
|
|
48
49
|
type __VLS_PrettifyLocal<T> = {
|
|
49
|
-
[K in keyof T]: T[K];
|
|
50
|
+
[K in keyof T as K]: T[K];
|
|
50
51
|
} & {};
|
|
@@ -2,6 +2,7 @@ type __VLS_Props = {
|
|
|
2
2
|
isSelected?: boolean;
|
|
3
3
|
isHighlighted?: boolean;
|
|
4
4
|
disabled?: boolean;
|
|
5
|
+
readonly?: boolean;
|
|
5
6
|
};
|
|
6
7
|
type __VLS_Slots = {
|
|
7
8
|
default: any;
|
|
@@ -13,6 +14,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
|
|
|
13
14
|
}>, {
|
|
14
15
|
disabled: boolean;
|
|
15
16
|
isHighlighted: boolean;
|
|
17
|
+
readonly: boolean;
|
|
16
18
|
isSelected: boolean;
|
|
17
19
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
20
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|