@citruslime/ui 3.0.3 → 3.1.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 +1 -1
- package/dist/citrus-lime-ui.es.js +1698 -1684
- package/dist/citrus-lime-ui.umd.js +2 -2
- package/dist/components/accordion/cl-ui-accordion.vue.d.ts +4 -4
- 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 +5 -5
- package/dist/components/app/cl-ui-app.vue.d.ts +4 -4
- package/dist/components/button/cl-ui-button.vue.d.ts +5 -5
- package/dist/components/calendar/cl-ui-calendar-input.vue.d.ts +5 -5
- package/dist/components/calendar/cl-ui-calendar.vue.d.ts +7 -7
- package/dist/components/calendar/cl-ui-quick-dates-group.vue.d.ts +4 -4
- package/dist/components/calendar/cl-ui-quick-dates.vue.d.ts +4 -4
- package/dist/components/card/cl-ui-card.vue.d.ts +4 -4
- package/dist/components/combo-box/cl-ui-combo-box.vue.d.ts +8 -8
- package/dist/components/combo-box/search-container/cl-ui-combo-box-search.vue.d.ts +6 -6
- package/dist/components/combo-box/search-container/header/cl-ui-combo-box-header.vue.d.ts +5 -5
- package/dist/components/combo-box/search-container/selectable/cl-ui-combo-box-selectable.vue.d.ts +5 -5
- package/dist/components/currency/cl-ui-currency-input.vue.d.ts +8 -8
- package/dist/components/file-uploader/cl-ui-file-uploader.vue.d.ts +5 -5
- 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 +4 -4
- package/dist/components/grid/body/cl-ui-grid-body.vue.d.ts +5 -5
- package/dist/components/grid/body/cl-ui-grid-cell-value.vue.d.ts +3 -3
- package/dist/components/grid/body/cl-ui-grid-cell.vue.d.ts +5 -5
- package/dist/components/grid/body/cl-ui-grid-row.vue.d.ts +5 -5
- package/dist/components/grid/cl-ui-grid.vue.d.ts +5 -5
- package/dist/components/grid/footer/cl-ui-grid-footer.vue.d.ts +5 -5
- package/dist/components/grid/header/cl-ui-grid-filter.vue.d.ts +4 -4
- package/dist/components/grid/header/cl-ui-grid-header.vue.d.ts +4 -4
- package/dist/components/grid/header/cl-ui-grid-method-selector.vue.d.ts +4 -4
- package/dist/components/grid/header/cl-ui-grid-search.vue.d.ts +4 -4
- package/dist/components/grid/view-manager/cl-ui-grid-view-manager.vue.d.ts +4 -4
- package/dist/components/grid-lite/body/cl-ui-grid-lite-body-skeleton.vue.d.ts +3 -3
- package/dist/components/grid-lite/body/cl-ui-grid-lite-body.vue.d.ts +4 -4
- package/dist/components/grid-lite/body/cl-ui-grid-lite-cell.vue.d.ts +3 -3
- package/dist/components/grid-lite/body/cl-ui-grid-lite-row.vue.d.ts +3 -3
- package/dist/components/grid-lite/cl-ui-grid-lite.vue.d.ts +5 -5
- package/dist/components/grid-lite/footer/cl-ui-grid-lite-footer-skeleton.vue.d.ts +1 -1
- package/dist/components/grid-lite/footer/cl-ui-grid-lite-footer.vue.d.ts +5 -5
- package/dist/components/grid-lite/header/cl-ui-grid-lite-header.vue.d.ts +4 -4
- package/dist/components/header/cl-ui-header.vue.d.ts +4 -4
- package/dist/components/header/menu/cl-ui-header-menu.vue.d.ts +4 -4
- package/dist/components/input/cl-ui-input.vue.d.ts +72 -72
- package/dist/components/input-v2/input-checkbox/cl-ui-input-checkbox.vue.d.ts +8 -8
- package/dist/components/input-v2/input-date-range/cl-ui-input-date-range-input.vue.d.ts +3 -5
- package/dist/components/input-v2/input-date-range/cl-ui-input-date-range.vue.d.ts +5 -5
- package/dist/components/input-v2/input-datetime/cl-ui-input-datetime.vue.d.ts +6 -6
- package/dist/components/input-v2/input-layout-wrapper/cl-ui-input-layout-wrapper.vue.d.ts +4 -4
- package/dist/components/input-v2/input-number/cl-ui-input-number.vue.d.ts +17 -17
- package/dist/components/input-v2/input-range/cl-ui-input-range.vue.d.ts +14 -14
- package/dist/components/input-v2/input-text/cl-ui-input-text.vue.d.ts +8 -8
- package/dist/components/input-v2/input-text-area/cl-ui-input-text-area.vue.d.ts +8 -8
- package/dist/components/language-switcher/cl-ui-language-switcher.vue.d.ts +5 -5
- package/dist/components/loading-spinner/cl-ui-loading-spinner.vue.d.ts +1 -1
- package/dist/components/login/cl-ui-login.vue.d.ts +5 -5
- package/dist/components/menu/cl-ui-menu.vue.d.ts +22 -60
- package/dist/components/menu/group/cl-ui-menu-group.vue.d.ts +4 -4
- package/dist/components/menu/icon/cl-ui-menu-icon.vue.d.ts +3 -3
- package/dist/components/menu/item/cl-ui-menu-item.vue.d.ts +1 -1
- package/dist/components/menu/section/cl-ui-menu-section.vue.d.ts +7 -7
- package/dist/components/modal/cl-ui-modal.vue.d.ts +4 -4
- package/dist/components/navigation/cl-ui-navigation.vue.d.ts +6 -6
- package/dist/components/navigation/group/cl-ui-navigation-group.vue.d.ts +3 -3
- package/dist/components/navigation/icon/cl-ui-navigation-icon.vue.d.ts +4 -4
- 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 +4 -4
- package/dist/components/select/select-input/cl-ui-select-input.vue.d.ts +2 -2
- package/dist/components/select/select-options/cl-ui-select-option.vue.d.ts +5 -5
- package/dist/components/skeleton-loaders/cl-ui-skeleton-button.vue.d.ts +1 -1
- package/dist/components/skeleton-loaders/cl-ui-skeleton-input.vue.d.ts +1 -1
- package/dist/components/skeleton-loaders/cl-ui-skeleton-text.vue.d.ts +4 -4
- package/dist/components/slider/cl-ui-slider.vue.d.ts +14 -14
- package/dist/components/tab/cl-ui-tab.vue.d.ts +6 -6
- package/dist/components/tab/content/cl-ui-tab-content.vue.d.ts +4 -4
- package/dist/components/tab/header/cl-ui-tab-header.vue.d.ts +4 -4
- package/dist/components/toggle/cl-ui-radio-group.vue.d.ts +4 -4
- package/dist/components/toggle/cl-ui-radio.vue.d.ts +5 -5
- package/dist/components/toggle/cl-ui-toggle-button.vue.d.ts +4 -4
- package/dist/components/toggle/cl-ui-toggle.vue.d.ts +5 -5
- package/dist/components/tree-list/cl-ui-tree-list-subtree.vue.d.ts +4 -4
- package/dist/components/tree-list/cl-ui-tree-list-tree-path.vue.d.ts +3 -3
- package/dist/components/tree-list/cl-ui-tree-list.vue.d.ts +5 -5
- package/dist/composables/notification.d.ts +5 -0
- package/dist/utils/injectionKeys.d.ts +1 -1
- package/package.json +6 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { NotificationPosition } from '../../composables/notification';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
3
3
|
container?: string | undefined;
|
|
4
4
|
position?: "top-left" | "top-centre" | "top-right" | "bottom-left" | "bottom-centre" | "bottom-right" | undefined;
|
|
5
5
|
headerVisible?: boolean | undefined;
|
|
@@ -7,7 +7,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
7
7
|
container: string;
|
|
8
8
|
position: string;
|
|
9
9
|
headerVisible: boolean;
|
|
10
|
-
}
|
|
10
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
11
11
|
container?: string | undefined;
|
|
12
12
|
position?: "top-left" | "top-centre" | "top-right" | "bottom-left" | "bottom-centre" | "bottom-right" | undefined;
|
|
13
13
|
headerVisible?: boolean | undefined;
|
|
@@ -15,11 +15,11 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
15
15
|
container: string;
|
|
16
16
|
position: string;
|
|
17
17
|
headerVisible: boolean;
|
|
18
|
-
}
|
|
18
|
+
}>>> & Readonly<{}>, {
|
|
19
19
|
container: string;
|
|
20
20
|
position: NotificationPosition;
|
|
21
21
|
headerVisible: boolean;
|
|
22
|
-
}, {}>;
|
|
22
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
23
23
|
export default _default;
|
|
24
24
|
type __VLS_WithDefaults<P, D> = {
|
|
25
25
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
declare function toggleModalInput(): void;
|
|
5
5
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
6
|
toggleModal: () => void;
|
|
7
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
8
8
|
onToggleModal?: (() => any) | undefined;
|
|
9
|
-
}, {}, {}>, Readonly<{
|
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
10
10
|
default(props: {
|
|
11
11
|
toggleModalInput: typeof toggleModalInput;
|
|
12
12
|
}): any;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
2
|
isSelected?: boolean | undefined;
|
|
3
3
|
disabled?: boolean | undefined;
|
|
4
4
|
}>, {
|
|
5
5
|
isSelected: boolean;
|
|
6
6
|
disabled: boolean;
|
|
7
|
-
}
|
|
7
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
8
|
select: () => void;
|
|
9
9
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
10
10
|
isSelected?: boolean | undefined;
|
|
@@ -12,12 +12,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
12
12
|
}>, {
|
|
13
13
|
isSelected: boolean;
|
|
14
14
|
disabled: boolean;
|
|
15
|
-
}>>> & {
|
|
15
|
+
}>>> & Readonly<{
|
|
16
16
|
onSelect?: (() => any) | undefined;
|
|
17
|
-
}
|
|
17
|
+
}>, {
|
|
18
18
|
disabled: boolean;
|
|
19
19
|
isSelected: boolean;
|
|
20
|
-
}, {}>, Readonly<{
|
|
20
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
21
21
|
default: any;
|
|
22
22
|
}> & {
|
|
23
23
|
default: any;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default _default;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
2
|
words?: number | undefined;
|
|
3
3
|
rows?: number | undefined;
|
|
4
4
|
}>, {
|
|
5
5
|
words: number;
|
|
6
6
|
rows: number;
|
|
7
|
-
}
|
|
7
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
8
8
|
words?: number | undefined;
|
|
9
9
|
rows?: number | undefined;
|
|
10
10
|
}>, {
|
|
11
11
|
words: number;
|
|
12
12
|
rows: number;
|
|
13
|
-
}
|
|
13
|
+
}>>> & Readonly<{}>, {
|
|
14
14
|
words: number;
|
|
15
15
|
rows: number;
|
|
16
|
-
}, {}>, Readonly<{
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
17
17
|
default(): any;
|
|
18
18
|
}> & {
|
|
19
19
|
default(): any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
value: {
|
|
3
3
|
required: true;
|
|
4
4
|
type: import("vue").PropType<number>;
|
|
@@ -7,6 +7,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7
7
|
type: import("vue").PropType<boolean>;
|
|
8
8
|
default: boolean;
|
|
9
9
|
};
|
|
10
|
+
max: {
|
|
11
|
+
type: import("vue").PropType<number>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
10
14
|
placeholder: {
|
|
11
15
|
type: import("vue").PropType<string>;
|
|
12
16
|
default: string;
|
|
@@ -15,17 +19,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
15
19
|
type: import("vue").PropType<number>;
|
|
16
20
|
required: true;
|
|
17
21
|
};
|
|
18
|
-
max: {
|
|
19
|
-
type: import("vue").PropType<number>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
22
|
step: {
|
|
23
23
|
type: import("vue").PropType<number>;
|
|
24
24
|
default: number;
|
|
25
25
|
};
|
|
26
|
-
}
|
|
26
|
+
}>, {
|
|
27
27
|
focus(): void;
|
|
28
|
-
},
|
|
28
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
29
29
|
"update:value": (value: number) => void;
|
|
30
30
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
31
|
value: {
|
|
@@ -36,6 +36,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
36
36
|
type: import("vue").PropType<boolean>;
|
|
37
37
|
default: boolean;
|
|
38
38
|
};
|
|
39
|
+
max: {
|
|
40
|
+
type: import("vue").PropType<number>;
|
|
41
|
+
required: true;
|
|
42
|
+
};
|
|
39
43
|
placeholder: {
|
|
40
44
|
type: import("vue").PropType<string>;
|
|
41
45
|
default: string;
|
|
@@ -44,19 +48,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
44
48
|
type: import("vue").PropType<number>;
|
|
45
49
|
required: true;
|
|
46
50
|
};
|
|
47
|
-
max: {
|
|
48
|
-
type: import("vue").PropType<number>;
|
|
49
|
-
required: true;
|
|
50
|
-
};
|
|
51
51
|
step: {
|
|
52
52
|
type: import("vue").PropType<number>;
|
|
53
53
|
default: number;
|
|
54
54
|
};
|
|
55
|
-
}>> & {
|
|
55
|
+
}>> & Readonly<{
|
|
56
56
|
"onUpdate:value"?: ((value: number) => any) | undefined;
|
|
57
|
-
}
|
|
57
|
+
}>, {
|
|
58
58
|
disabled: boolean;
|
|
59
59
|
placeholder: string;
|
|
60
60
|
step: number;
|
|
61
|
-
}, {}>;
|
|
61
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
62
62
|
export default _default;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @param id - The ID of the tab to open.
|
|
5
5
|
*/
|
|
6
6
|
declare function setTab(id?: number): void;
|
|
7
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
7
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
8
8
|
colour?: "default" | "primary" | "secondary" | "danger" | "blue" | undefined;
|
|
9
9
|
layout?: "horizontal" | "vertical" | undefined;
|
|
10
10
|
overflowHidden?: boolean | undefined;
|
|
@@ -12,9 +12,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
12
12
|
colour: string;
|
|
13
13
|
layout: string;
|
|
14
14
|
overflowHidden: boolean;
|
|
15
|
-
}
|
|
15
|
+
}>>, {
|
|
16
16
|
setTab: typeof setTab;
|
|
17
|
-
},
|
|
17
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
18
|
"tab-opened": (args_0: number) => void;
|
|
19
19
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
20
20
|
colour?: "default" | "primary" | "secondary" | "danger" | "blue" | undefined;
|
|
@@ -24,13 +24,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
24
24
|
colour: string;
|
|
25
25
|
layout: string;
|
|
26
26
|
overflowHidden: boolean;
|
|
27
|
-
}>>> & {
|
|
27
|
+
}>>> & Readonly<{
|
|
28
28
|
"onTab-opened"?: ((args_0: number) => any) | undefined;
|
|
29
|
-
}
|
|
29
|
+
}>, {
|
|
30
30
|
colour: "default" | "primary" | "secondary" | "danger" | "blue";
|
|
31
31
|
layout: "horizontal" | "vertical";
|
|
32
32
|
overflowHidden: boolean;
|
|
33
|
-
}, {}>, Readonly<{
|
|
33
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
34
34
|
headings(props: {
|
|
35
35
|
isTabOpen: (id: number) => boolean;
|
|
36
36
|
toggleOpen: (id: number) => void;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
2
|
open: boolean;
|
|
3
3
|
title?: string | undefined;
|
|
4
4
|
}>, {
|
|
5
5
|
title: string;
|
|
6
|
-
}
|
|
6
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
7
7
|
open: boolean;
|
|
8
8
|
title?: string | undefined;
|
|
9
9
|
}>, {
|
|
10
10
|
title: string;
|
|
11
|
-
}
|
|
11
|
+
}>>> & Readonly<{}>, {
|
|
12
12
|
title: string;
|
|
13
|
-
}, {}>, Readonly<{
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
14
14
|
default(): any;
|
|
15
15
|
header(): any;
|
|
16
16
|
}> & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
2
|
open: boolean;
|
|
3
3
|
title?: string | undefined;
|
|
4
4
|
disabled?: boolean | undefined;
|
|
@@ -9,7 +9,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
9
9
|
disabled: boolean;
|
|
10
10
|
colour: string;
|
|
11
11
|
layout: string;
|
|
12
|
-
}
|
|
12
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
13
13
|
open: boolean;
|
|
14
14
|
title?: string | undefined;
|
|
15
15
|
disabled?: boolean | undefined;
|
|
@@ -20,12 +20,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
20
20
|
disabled: boolean;
|
|
21
21
|
colour: string;
|
|
22
22
|
layout: string;
|
|
23
|
-
}
|
|
23
|
+
}>>> & Readonly<{}>, {
|
|
24
24
|
title: string;
|
|
25
25
|
disabled: boolean;
|
|
26
26
|
colour: "default" | "primary" | "secondary" | "danger" | "blue";
|
|
27
27
|
layout: "horizontal" | "vertical";
|
|
28
|
-
}, {}>, Readonly<{
|
|
28
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
29
29
|
default(): any;
|
|
30
30
|
}> & {
|
|
31
31
|
default(): any;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
2
2
|
id: string;
|
|
3
3
|
name: string;
|
|
4
4
|
selectedIndex: number | null;
|
|
5
|
-
}
|
|
5
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
6
|
select: (args_0: number) => void;
|
|
7
7
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
8
8
|
id: string;
|
|
9
9
|
name: string;
|
|
10
10
|
selectedIndex: number | null;
|
|
11
|
-
}>>> & {
|
|
11
|
+
}>>> & Readonly<{
|
|
12
12
|
onSelect?: ((args_0: number) => any) | undefined;
|
|
13
|
-
}, {}, {}>, Readonly<Record<string, (props: {
|
|
13
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<Record<string, (props: {
|
|
14
14
|
id: string;
|
|
15
15
|
}) => any>> & Record<string, (props: {
|
|
16
16
|
id: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
2
|
id: string;
|
|
3
3
|
name?: string | undefined;
|
|
4
4
|
checked?: boolean | undefined;
|
|
5
5
|
}>, {
|
|
6
6
|
name: undefined;
|
|
7
7
|
checked: boolean;
|
|
8
|
-
}
|
|
8
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
9
|
click: () => void;
|
|
10
10
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
11
11
|
id: string;
|
|
@@ -14,12 +14,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
14
14
|
}>, {
|
|
15
15
|
name: undefined;
|
|
16
16
|
checked: boolean;
|
|
17
|
-
}>>> & {
|
|
17
|
+
}>>> & Readonly<{
|
|
18
18
|
onClick?: (() => any) | undefined;
|
|
19
|
-
}
|
|
19
|
+
}>, {
|
|
20
20
|
name: string;
|
|
21
21
|
checked: boolean;
|
|
22
|
-
}, {}>, Readonly<{
|
|
22
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
23
23
|
default: () => any;
|
|
24
24
|
}> & {
|
|
25
25
|
default: () => any;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
2
|
isSelected: boolean;
|
|
3
3
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
4
4
|
}>, {
|
|
5
5
|
orientation: string;
|
|
6
|
-
}
|
|
6
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
7
7
|
isSelected: boolean;
|
|
8
8
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
9
9
|
}>, {
|
|
10
10
|
orientation: string;
|
|
11
|
-
}
|
|
11
|
+
}>>> & Readonly<{}>, {
|
|
12
12
|
orientation: "horizontal" | "vertical";
|
|
13
|
-
}, {}>, Readonly<{
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
14
14
|
default: () => any;
|
|
15
15
|
}> & {
|
|
16
16
|
default: () => any;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @param index - The index.
|
|
5
5
|
*/
|
|
6
6
|
declare function selectItem(index: number): void;
|
|
7
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
7
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
8
|
modelValue: {
|
|
9
9
|
required: true;
|
|
10
10
|
type: import("vue").PropType<number | number[] | null>;
|
|
@@ -17,7 +17,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
17
17
|
type: import("vue").PropType<"horizontal" | "vertical">;
|
|
18
18
|
default: string;
|
|
19
19
|
};
|
|
20
|
-
}
|
|
20
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
21
|
"update:modelValue": (modelValue: number | number[] | null) => void;
|
|
22
22
|
"selection-changed": (args_0: number | number[] | null) => void;
|
|
23
23
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -33,13 +33,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
33
33
|
type: import("vue").PropType<"horizontal" | "vertical">;
|
|
34
34
|
default: string;
|
|
35
35
|
};
|
|
36
|
-
}>> & {
|
|
36
|
+
}>> & Readonly<{
|
|
37
37
|
"onUpdate:modelValue"?: ((modelValue: number | number[] | null) => any) | undefined;
|
|
38
38
|
"onSelection-changed"?: ((args_0: number | number[] | null) => any) | undefined;
|
|
39
|
-
}
|
|
39
|
+
}>, {
|
|
40
40
|
required: boolean;
|
|
41
41
|
orientation: "horizontal" | "vertical";
|
|
42
|
-
}, {}>, Readonly<{
|
|
42
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
43
43
|
default: (props: {
|
|
44
44
|
select: typeof selectItem;
|
|
45
45
|
}) => any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SlotProps, TreeNode } from './types';
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
selectedPath: {
|
|
4
4
|
required: true;
|
|
5
5
|
type: import("vue").PropType<string | null>;
|
|
@@ -24,7 +24,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
24
24
|
type: import("vue").PropType<TreeNode>;
|
|
25
25
|
required: true;
|
|
26
26
|
};
|
|
27
|
-
}
|
|
27
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
28
|
"update:selectedPath": (selectedPath: string | null) => void;
|
|
29
29
|
"recalculate-tree-path": () => void;
|
|
30
30
|
"set-child-node-height": (args_0: number) => void;
|
|
@@ -53,11 +53,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
53
53
|
type: import("vue").PropType<TreeNode>;
|
|
54
54
|
required: true;
|
|
55
55
|
};
|
|
56
|
-
}>> & {
|
|
56
|
+
}>> & Readonly<{
|
|
57
57
|
"onRecalculate-tree-path"?: (() => any) | undefined;
|
|
58
58
|
"onSet-child-node-height"?: ((args_0: number) => any) | undefined;
|
|
59
59
|
"onUpdate:selectedPath"?: ((selectedPath: string | null) => any) | undefined;
|
|
60
|
-
}, {}, {}>, Readonly<Record<string, (props: SlotProps) => void>> & Record<string, (props: SlotProps) => void>>;
|
|
60
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<Record<string, (props: SlotProps) => void>> & Record<string, (props: SlotProps) => void>>;
|
|
61
61
|
export default _default;
|
|
62
62
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
63
63
|
new (): {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
2
2
|
branchesAt: (number | string)[];
|
|
3
|
-
}
|
|
3
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
4
4
|
branchesAt: (number | string)[];
|
|
5
|
-
}
|
|
5
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
6
|
export default _default;
|
|
7
7
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
8
|
type __VLS_TypePropsToOption<T> = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SlotProps, TreeNode } from './types';
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
3
3
|
idPrefix: string;
|
|
4
4
|
rootNodes: TreeNode[];
|
|
5
5
|
allowSelect?: boolean | undefined;
|
|
@@ -9,7 +9,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
9
9
|
allowSelect: boolean;
|
|
10
10
|
allowDeselect: boolean;
|
|
11
11
|
highlightSelectedDescendants: boolean;
|
|
12
|
-
}
|
|
12
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
13
|
select: (args_0: TreeNode | null) => void;
|
|
14
14
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
15
15
|
idPrefix: string;
|
|
@@ -21,13 +21,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
21
21
|
allowSelect: boolean;
|
|
22
22
|
allowDeselect: boolean;
|
|
23
23
|
highlightSelectedDescendants: boolean;
|
|
24
|
-
}>>> & {
|
|
24
|
+
}>>> & Readonly<{
|
|
25
25
|
onSelect?: ((args_0: TreeNode | null) => any) | undefined;
|
|
26
|
-
}
|
|
26
|
+
}>, {
|
|
27
27
|
allowSelect: boolean;
|
|
28
28
|
allowDeselect: boolean;
|
|
29
29
|
highlightSelectedDescendants: boolean;
|
|
30
|
-
}, {}>, Readonly<Record<string, (props: SlotProps) => void>> & Record<string, (props: SlotProps) => void>>;
|
|
30
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<Record<string, (props: SlotProps) => void>> & Record<string, (props: SlotProps) => void>>;
|
|
31
31
|
export default _default;
|
|
32
32
|
type __VLS_WithDefaults<P, D> = {
|
|
33
33
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -15,6 +15,11 @@ export declare const notifications: import("vue").Ref<{
|
|
|
15
15
|
message: string;
|
|
16
16
|
colour: NotificationColour;
|
|
17
17
|
duration: number;
|
|
18
|
+
}[], Notification[] | {
|
|
19
|
+
id: string;
|
|
20
|
+
message: string;
|
|
21
|
+
colour: NotificationColour;
|
|
22
|
+
duration: number;
|
|
18
23
|
}[]>;
|
|
19
24
|
/**
|
|
20
25
|
* Adds a notification to the list of shown notifications.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { InjectionKey, Ref } from 'vue';
|
|
2
|
-
export declare const gridDateFormatLocaleOverride: InjectionKey<Ref<string | null>>;
|
|
2
|
+
export declare const gridDateFormatLocaleOverride: InjectionKey<Ref<string | null, string | null>>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@citruslime/ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.1.0-beta.0",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Citrus-Lime Ltd",
|
|
7
7
|
"url": "https://citruslime.com"
|
|
@@ -31,16 +31,16 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@citruslime/utils": "
|
|
35
|
-
"@citruslime/vue-utils": "
|
|
34
|
+
"@citruslime/utils": "2.0.4-beta.1",
|
|
35
|
+
"@citruslime/vue-utils": "2.0.2-beta.0",
|
|
36
36
|
"@iconify/vue": "^4.1.0",
|
|
37
37
|
"@popperjs/core": "^2.11.8",
|
|
38
|
-
"@vueuse/core": "^
|
|
39
|
-
"@vueuse/integrations": "^
|
|
38
|
+
"@vueuse/core": "^12.0.0",
|
|
39
|
+
"@vueuse/integrations": "^12.0.0",
|
|
40
40
|
"focus-trap": "^7.5.4",
|
|
41
41
|
"luxon": "^3.4.4",
|
|
42
42
|
"v-calendar": "^3.1.2",
|
|
43
|
-
"vue": "^3.
|
|
43
|
+
"vue": "^3.5.13",
|
|
44
44
|
"vue-currency-input": "^3.1.0",
|
|
45
45
|
"vue-i18n": "^9.12.1"
|
|
46
46
|
},
|