@citruslime/ui 4.0.0-beta.9 → 4.0.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 +4022 -3896
- package/dist/citrus-lime-ui.umd.js +2 -2
- package/dist/components/accordion/cl-ui-accordion.vue.d.ts +13 -38
- package/dist/components/accordion/header/cl-ui-accordion-header.vue.d.ts +8 -3
- package/dist/components/accordion/item/cl-ui-accordion-item.vue.d.ts +13 -37
- package/dist/components/app/cl-ui-app.vue.d.ts +10 -34
- package/dist/components/button/cl-ui-button.vue.d.ts +17 -47
- package/dist/components/calendar/cl-ui-calendar-input.vue.d.ts +19 -31
- package/dist/components/calendar/cl-ui-calendar.vue.d.ts +18 -68
- package/dist/components/calendar/cl-ui-quick-dates-group.vue.d.ts +6 -17
- package/dist/components/calendar/cl-ui-quick-dates.vue.d.ts +6 -17
- package/dist/components/card/cl-ui-card.vue.d.ts +13 -40
- package/dist/components/combo-box/cl-ui-combo-box.vue.d.ts +29 -90
- package/dist/components/combo-box/search-container/cl-ui-combo-box-search.vue.d.ts +18 -63
- package/dist/components/combo-box/search-container/header/cl-ui-combo-box-header.vue.d.ts +9 -37
- package/dist/components/combo-box/search-container/selectable/cl-ui-combo-box-selectable.vue.d.ts +12 -44
- package/dist/components/currency/cl-ui-currency-input.vue.d.ts +13 -49
- package/dist/components/file-uploader/cl-ui-file-uploader.vue.d.ts +17 -44
- package/dist/components/footer/cl-ui-footer.vue.d.ts +12 -5
- package/dist/components/grid/action-row/cl-ui-grid-action-row.vue.d.ts +17 -38
- package/dist/components/grid/body/cl-ui-grid-body.vue.d.ts +23 -49
- package/dist/components/grid/body/cl-ui-grid-cell-value.vue.d.ts +7 -19
- package/dist/components/grid/body/cl-ui-grid-cell.vue.d.ts +13 -39
- package/dist/components/grid/body/cl-ui-grid-row.vue.d.ts +13 -39
- package/dist/components/grid/cl-ui-grid.vue.d.ts +47 -104
- package/dist/components/grid/footer/cl-ui-grid-footer.vue.d.ts +7 -34
- package/dist/components/grid/header/cl-ui-grid-filter-input.vue.d.ts +8 -23
- package/dist/components/grid/header/cl-ui-grid-filter.vue.d.ts +15 -29
- package/dist/components/grid/header/cl-ui-grid-header.vue.d.ts +13 -29
- package/dist/components/grid/header/cl-ui-grid-method-selector.vue.d.ts +8 -20
- package/dist/components/grid/header/cl-ui-grid-search.vue.d.ts +21 -43
- package/dist/components/grid/view-manager/cl-ui-grid-view-manager.vue.d.ts +8 -17
- package/dist/components/grid-lite/body/cl-ui-grid-lite-body-skeleton.vue.d.ts +3 -14
- package/dist/components/grid-lite/body/cl-ui-grid-lite-body.vue.d.ts +14 -49
- package/dist/components/grid-lite/body/cl-ui-grid-lite-cell.vue.d.ts +7 -18
- package/dist/components/grid-lite/body/cl-ui-grid-lite-row.vue.d.ts +7 -19
- package/dist/components/grid-lite/cl-ui-grid-lite.vue.d.ts +21 -66
- package/dist/components/grid-lite/footer/cl-ui-grid-lite-footer.vue.d.ts +14 -47
- package/dist/components/grid-lite/header/cl-ui-grid-lite-header.vue.d.ts +14 -45
- package/dist/components/header/cl-ui-header.vue.d.ts +12 -24
- package/dist/components/header/menu/cl-ui-header-menu.vue.d.ts +15 -46
- package/dist/components/input/cl-ui-input.vue.d.ts +49 -487
- package/dist/components/input-v2/input-checkbox/cl-ui-input-checkbox.vue.d.ts +24 -49
- package/dist/components/input-v2/input-date-range/cl-ui-input-date-range-input.vue.d.ts +9 -15
- package/dist/components/input-v2/input-date-range/cl-ui-input-date-range.vue.d.ts +28 -96
- package/dist/components/input-v2/input-datetime/cl-ui-input-datetime.vue.d.ts +33 -112
- package/dist/components/input-v2/input-layout-wrapper/cl-ui-input-layout-wrapper.vue.d.ts +12 -40
- package/dist/components/input-v2/input-number/cl-ui-input-number.vue.d.ts +37 -123
- package/dist/components/input-v2/input-range/cl-ui-input-range.vue.d.ts +23 -78
- package/dist/components/input-v2/input-text/cl-ui-input-text.vue.d.ts +31 -75
- package/dist/components/input-v2/input-text-area/cl-ui-input-text-area.vue.d.ts +22 -49
- package/dist/components/language-switcher/cl-ui-language-switcher.vue.d.ts +8 -34
- package/dist/components/login/cl-ui-login.vue.d.ts +16 -43
- package/dist/components/menu/cl-ui-menu.vue.d.ts +26 -197
- package/dist/components/menu/group/cl-ui-menu-group.vue.d.ts +11 -24
- package/dist/components/menu/icon/cl-ui-menu-icon.vue.d.ts +3 -13
- package/dist/components/menu/item/cl-ui-menu-item.vue.d.ts +5 -5
- package/dist/components/menu/section/cl-ui-menu-section.vue.d.ts +7 -42
- package/dist/components/modal/cl-ui-modal.vue.d.ts +31 -66
- package/dist/components/navigation/cl-ui-navigation.vue.d.ts +22 -50
- package/dist/components/navigation/group/cl-ui-navigation-group.vue.d.ts +7 -18
- package/dist/components/navigation/icon/cl-ui-navigation-icon.vue.d.ts +5 -29
- package/dist/components/navigation/item/cl-ui-navigation-item.vue.d.ts +8 -3
- package/dist/components/navigation/section/cl-ui-navigation-section.vue.d.ts +10 -4
- package/dist/components/notification/cl-ui-notification.vue.d.ts +7 -35
- package/dist/components/select/cl-ui-select.vue.d.ts +28 -147
- package/dist/components/select/select-input/cl-ui-select-input.vue.d.ts +10 -12
- package/dist/components/select/select-options/cl-ui-select-option.vue.d.ts +14 -42
- package/dist/components/skeleton-loaders/cl-ui-skeleton-text.vue.d.ts +11 -36
- package/dist/components/slider/cl-ui-slider.vue.d.ts +14 -54
- package/dist/components/tab/cl-ui-tab.vue.d.ts +27 -60
- package/dist/components/tab/content/cl-ui-tab-content.vue.d.ts +10 -34
- package/dist/components/tab/header/cl-ui-tab-header.vue.d.ts +16 -47
- package/dist/components/toggle/cl-ui-radio-group.vue.d.ts +10 -22
- package/dist/components/toggle/cl-ui-radio.vue.d.ts +13 -39
- package/dist/components/toggle/cl-ui-toggle-button.vue.d.ts +10 -33
- package/dist/components/toggle/cl-ui-toggle.vue.d.ts +22 -45
- package/dist/components/tree-list/cl-ui-tree-list-subtree.vue.d.ts +20 -58
- package/dist/components/tree-list/cl-ui-tree-list-tree-path.vue.d.ts +3 -13
- package/dist/components/tree-list/cl-ui-tree-list.vue.d.ts +12 -40
- package/dist/ui.css +1 -0
- package/dist/utils/injectionKeys.d.ts +1 -1
- package/package.json +13 -9
- package/dist/style.css +0 -1
|
@@ -1,42 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
2
|
open: boolean;
|
|
3
|
-
title?: string
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
7
|
-
open: boolean;
|
|
8
|
-
title?: string | undefined;
|
|
9
|
-
}>, {
|
|
10
|
-
title: string;
|
|
11
|
-
}>>> & Readonly<{}>, {
|
|
12
|
-
title: string;
|
|
13
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
14
|
-
default(): any;
|
|
15
|
-
header(): any;
|
|
16
|
-
}> & {
|
|
3
|
+
title?: string;
|
|
4
|
+
};
|
|
5
|
+
type __VLS_Slots = {
|
|
17
6
|
default(): any;
|
|
18
7
|
header(): any;
|
|
19
|
-
}>;
|
|
20
|
-
export default _default;
|
|
21
|
-
type __VLS_WithDefaults<P, D> = {
|
|
22
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
23
|
-
default: D[K];
|
|
24
|
-
}> : P[K];
|
|
25
8
|
};
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
29
|
-
|
|
9
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
10
|
+
title: string;
|
|
11
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
30
15
|
new (): {
|
|
31
16
|
$slots: S;
|
|
32
17
|
};
|
|
33
18
|
};
|
|
34
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
35
|
-
type __VLS_TypePropsToOption<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]>;
|
|
40
|
-
required: true;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
@@ -1,55 +1,24 @@
|
|
|
1
|
-
|
|
1
|
+
import type { TabColour, TabLayout } from '../types';
|
|
2
|
+
type __VLS_Props = {
|
|
2
3
|
open: boolean;
|
|
3
|
-
title?: string
|
|
4
|
-
disabled?: boolean
|
|
5
|
-
colour?:
|
|
6
|
-
layout?:
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
13
|
-
open: boolean;
|
|
14
|
-
title?: string | undefined;
|
|
15
|
-
disabled?: boolean | undefined;
|
|
16
|
-
colour?: "default" | "primary" | "secondary" | "danger" | "blue" | undefined;
|
|
17
|
-
layout?: "horizontal" | "vertical" | undefined;
|
|
18
|
-
}>, {
|
|
19
|
-
title: string;
|
|
20
|
-
disabled: boolean;
|
|
21
|
-
colour: string;
|
|
22
|
-
layout: string;
|
|
23
|
-
}>>> & Readonly<{}>, {
|
|
4
|
+
title?: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
colour?: TabColour;
|
|
7
|
+
layout?: TabLayout;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_Slots = {
|
|
10
|
+
default(): any;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
24
13
|
title: string;
|
|
25
14
|
disabled: boolean;
|
|
26
|
-
colour:
|
|
27
|
-
layout:
|
|
28
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
29
|
-
|
|
30
|
-
}> & {
|
|
31
|
-
default(): any;
|
|
32
|
-
}>;
|
|
15
|
+
colour: TabColour;
|
|
16
|
+
layout: TabLayout;
|
|
17
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
33
19
|
export default _default;
|
|
34
|
-
type
|
|
35
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
36
|
-
default: D[K];
|
|
37
|
-
}> : P[K];
|
|
38
|
-
};
|
|
39
|
-
type __VLS_Prettify<T> = {
|
|
40
|
-
[K in keyof T]: T[K];
|
|
41
|
-
} & {};
|
|
42
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
43
21
|
new (): {
|
|
44
22
|
$slots: S;
|
|
45
23
|
};
|
|
46
24
|
};
|
|
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,32 +1,20 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
2
|
id: string;
|
|
3
3
|
name: string;
|
|
4
4
|
selectedIndex: number | null;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
5
|
+
};
|
|
6
|
+
type __VLS_Slots = Record<string, (props: {
|
|
8
7
|
id: string;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
}) => any>;
|
|
9
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
select: (args_0: number) => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
12
|
onSelect?: ((args_0: number) => any) | undefined;
|
|
13
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
14
|
-
|
|
15
|
-
}) => any>> & Record<string, (props: {
|
|
16
|
-
id: string;
|
|
17
|
-
}) => any>>;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
18
15
|
export default _default;
|
|
19
|
-
type
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
20
17
|
new (): {
|
|
21
18
|
$slots: S;
|
|
22
19
|
};
|
|
23
20
|
};
|
|
24
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
25
|
-
type __VLS_TypePropsToOption<T> = {
|
|
26
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
27
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
28
|
-
} : {
|
|
29
|
-
type: import('vue').PropType<T[K]>;
|
|
30
|
-
required: true;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
@@ -1,49 +1,23 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
2
|
id: string;
|
|
3
|
-
name?: string
|
|
4
|
-
checked?: boolean
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
name?: string | undefined;
|
|
13
|
-
checked?: boolean | undefined;
|
|
14
|
-
}>, {
|
|
15
|
-
name: undefined;
|
|
16
|
-
checked: boolean;
|
|
17
|
-
}>>> & Readonly<{
|
|
3
|
+
name?: string;
|
|
4
|
+
checked?: boolean;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_Slots = {
|
|
7
|
+
default: () => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
click: () => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
12
|
onClick?: (() => any) | undefined;
|
|
19
13
|
}>, {
|
|
20
14
|
name: string;
|
|
21
15
|
checked: boolean;
|
|
22
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
23
|
-
|
|
24
|
-
}> & {
|
|
25
|
-
default: () => any;
|
|
26
|
-
}>;
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
27
18
|
export default _default;
|
|
28
|
-
type
|
|
29
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
30
|
-
default: D[K];
|
|
31
|
-
}> : P[K];
|
|
32
|
-
};
|
|
33
|
-
type __VLS_Prettify<T> = {
|
|
34
|
-
[K in keyof T]: T[K];
|
|
35
|
-
} & {};
|
|
36
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
37
20
|
new (): {
|
|
38
21
|
$slots: S;
|
|
39
22
|
};
|
|
40
23
|
};
|
|
41
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
42
|
-
type __VLS_TypePropsToOption<T> = {
|
|
43
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
44
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
45
|
-
} : {
|
|
46
|
-
type: import('vue').PropType<T[K]>;
|
|
47
|
-
required: true;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
@@ -1,40 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
2
|
isSelected: boolean;
|
|
3
|
-
orientation?:
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
7
|
-
isSelected: boolean;
|
|
8
|
-
orientation?: "horizontal" | "vertical" | undefined;
|
|
9
|
-
}>, {
|
|
10
|
-
orientation: string;
|
|
11
|
-
}>>> & Readonly<{}>, {
|
|
12
|
-
orientation: "horizontal" | "vertical";
|
|
13
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
14
|
-
default: () => any;
|
|
15
|
-
}> & {
|
|
3
|
+
orientation?: 'horizontal' | 'vertical';
|
|
4
|
+
};
|
|
5
|
+
type __VLS_Slots = {
|
|
16
6
|
default: () => any;
|
|
17
|
-
}>;
|
|
18
|
-
export default _default;
|
|
19
|
-
type __VLS_WithDefaults<P, D> = {
|
|
20
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
21
|
-
default: D[K];
|
|
22
|
-
}> : P[K];
|
|
23
7
|
};
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
27
|
-
|
|
8
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
9
|
+
orientation: "horizontal" | "vertical";
|
|
10
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
28
14
|
new (): {
|
|
29
15
|
$slots: S;
|
|
30
16
|
};
|
|
31
17
|
};
|
|
32
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
33
|
-
type __VLS_TypePropsToOption<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
|
-
};
|
|
@@ -1,59 +1,36 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
orientation?: 'horizontal' | 'vertical';
|
|
3
|
+
required?: boolean;
|
|
4
|
+
};
|
|
5
|
+
type __VLS_Slots = {
|
|
6
|
+
default: (props: {
|
|
7
|
+
select: typeof selectItem;
|
|
8
|
+
}) => any;
|
|
9
|
+
label: () => any;
|
|
10
|
+
'help-text': () => any;
|
|
11
|
+
};
|
|
1
12
|
/**
|
|
2
13
|
* The item selected event.
|
|
3
14
|
*
|
|
4
15
|
* @param index - The index.
|
|
5
16
|
*/
|
|
6
17
|
declare function selectItem(index: number): void;
|
|
7
|
-
|
|
8
|
-
modelValue:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
};
|
|
16
|
-
orientation: {
|
|
17
|
-
type: import("vue").PropType<"horizontal" | "vertical">;
|
|
18
|
-
default: string;
|
|
19
|
-
};
|
|
20
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
|
-
"update:modelValue": (modelValue: number | number[] | null) => void;
|
|
22
|
-
"selection-changed": (args_0: number | number[] | null) => void;
|
|
23
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
|
-
modelValue: {
|
|
25
|
-
required: true;
|
|
26
|
-
type: import("vue").PropType<number | number[] | null>;
|
|
27
|
-
};
|
|
28
|
-
required: {
|
|
29
|
-
type: import("vue").PropType<boolean>;
|
|
30
|
-
default: boolean;
|
|
31
|
-
};
|
|
32
|
-
orientation: {
|
|
33
|
-
type: import("vue").PropType<"horizontal" | "vertical">;
|
|
34
|
-
default: string;
|
|
35
|
-
};
|
|
36
|
-
}>> & Readonly<{
|
|
37
|
-
"onUpdate:modelValue"?: ((modelValue: number | number[] | null) => any) | undefined;
|
|
18
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
19
|
+
modelValue: number | number[] | null;
|
|
20
|
+
};
|
|
21
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
|
+
"update:modelValue": (value: number | number[] | null) => any;
|
|
23
|
+
"selection-changed": (args_0: number | number[] | null) => any;
|
|
24
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
25
|
+
"onUpdate:modelValue"?: ((value: number | number[] | null) => any) | undefined;
|
|
38
26
|
"onSelection-changed"?: ((args_0: number | number[] | null) => any) | undefined;
|
|
39
27
|
}>, {
|
|
40
28
|
required: boolean;
|
|
41
29
|
orientation: "horizontal" | "vertical";
|
|
42
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
43
|
-
|
|
44
|
-
select: typeof selectItem;
|
|
45
|
-
}) => any;
|
|
46
|
-
label: () => any;
|
|
47
|
-
'help-text': () => any;
|
|
48
|
-
}> & {
|
|
49
|
-
default: (props: {
|
|
50
|
-
select: typeof selectItem;
|
|
51
|
-
}) => any;
|
|
52
|
-
label: () => any;
|
|
53
|
-
'help-text': () => any;
|
|
54
|
-
}>;
|
|
30
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
55
32
|
export default _default;
|
|
56
|
-
type
|
|
33
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
57
34
|
new (): {
|
|
58
35
|
$slots: S;
|
|
59
36
|
};
|
|
@@ -1,65 +1,27 @@
|
|
|
1
1
|
import type { SlotProps, TreeNode } from './types';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
};
|
|
19
|
-
pathFragments: {
|
|
20
|
-
type: import("vue").PropType<string[]>;
|
|
21
|
-
required: true;
|
|
22
|
-
};
|
|
23
|
-
rootNode: {
|
|
24
|
-
type: import("vue").PropType<TreeNode>;
|
|
25
|
-
required: true;
|
|
26
|
-
};
|
|
27
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
|
-
"update:selectedPath": (selectedPath: string | null) => void;
|
|
29
|
-
"recalculate-tree-path": () => void;
|
|
30
|
-
"set-child-node-height": (args_0: number) => void;
|
|
31
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
32
|
-
selectedPath: {
|
|
33
|
-
required: true;
|
|
34
|
-
type: import("vue").PropType<string | null>;
|
|
35
|
-
};
|
|
36
|
-
idPrefix: {
|
|
37
|
-
type: import("vue").PropType<string>;
|
|
38
|
-
required: true;
|
|
39
|
-
};
|
|
40
|
-
depth: {
|
|
41
|
-
type: import("vue").PropType<number>;
|
|
42
|
-
required: true;
|
|
43
|
-
};
|
|
44
|
-
breadth: {
|
|
45
|
-
type: import("vue").PropType<number>;
|
|
46
|
-
required: true;
|
|
47
|
-
};
|
|
48
|
-
pathFragments: {
|
|
49
|
-
type: import("vue").PropType<string[]>;
|
|
50
|
-
required: true;
|
|
51
|
-
};
|
|
52
|
-
rootNode: {
|
|
53
|
-
type: import("vue").PropType<TreeNode>;
|
|
54
|
-
required: true;
|
|
55
|
-
};
|
|
56
|
-
}>> & Readonly<{
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
idPrefix: string;
|
|
4
|
+
depth: number;
|
|
5
|
+
breadth: number;
|
|
6
|
+
pathFragments: string[];
|
|
7
|
+
rootNode: TreeNode;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_Slots = Record<string, (props: SlotProps) => void>;
|
|
10
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
11
|
+
'selectedPath': string | null;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
"recalculate-tree-path": () => any;
|
|
15
|
+
"set-child-node-height": (args_0: number) => any;
|
|
16
|
+
"update:selectedPath": (value: string | null) => any;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
57
18
|
"onRecalculate-tree-path"?: (() => any) | undefined;
|
|
58
19
|
"onSet-child-node-height"?: ((args_0: number) => any) | undefined;
|
|
59
|
-
"onUpdate:selectedPath"?: ((
|
|
60
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
20
|
+
"onUpdate:selectedPath"?: ((value: string | null) => any) | undefined;
|
|
21
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
61
23
|
export default _default;
|
|
62
|
-
type
|
|
24
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
63
25
|
new (): {
|
|
64
26
|
$slots: S;
|
|
65
27
|
};
|
|
@@ -1,15 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
2
|
branchesAt: (number | string)[];
|
|
3
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
4
|
-
branchesAt: (number | string)[];
|
|
5
|
-
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
-
export default _default;
|
|
7
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
|
-
type __VLS_TypePropsToOption<T> = {
|
|
9
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
11
|
-
} : {
|
|
12
|
-
type: import('vue').PropType<T[K]>;
|
|
13
|
-
required: true;
|
|
14
|
-
};
|
|
15
3
|
};
|
|
4
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -1,53 +1,25 @@
|
|
|
1
1
|
import type { SlotProps, TreeNode } from './types';
|
|
2
|
-
|
|
2
|
+
type __VLS_Props = {
|
|
3
3
|
idPrefix: string;
|
|
4
4
|
rootNodes: TreeNode[];
|
|
5
|
-
allowSelect?: boolean
|
|
6
|
-
allowDeselect?: boolean
|
|
7
|
-
highlightSelectedDescendants?: boolean
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
select: (args_0: TreeNode | null) => void;
|
|
14
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
15
|
-
idPrefix: string;
|
|
16
|
-
rootNodes: TreeNode[];
|
|
17
|
-
allowSelect?: boolean | undefined;
|
|
18
|
-
allowDeselect?: boolean | undefined;
|
|
19
|
-
highlightSelectedDescendants?: boolean | undefined;
|
|
20
|
-
}>, {
|
|
21
|
-
allowSelect: boolean;
|
|
22
|
-
allowDeselect: boolean;
|
|
23
|
-
highlightSelectedDescendants: boolean;
|
|
24
|
-
}>>> & Readonly<{
|
|
5
|
+
allowSelect?: boolean;
|
|
6
|
+
allowDeselect?: boolean;
|
|
7
|
+
highlightSelectedDescendants?: boolean;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_Slots = Record<string, (props: SlotProps) => void>;
|
|
10
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
select: (args_0: TreeNode | null) => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
13
|
onSelect?: ((args_0: TreeNode | null) => any) | undefined;
|
|
26
14
|
}>, {
|
|
27
15
|
allowSelect: boolean;
|
|
28
16
|
allowDeselect: boolean;
|
|
29
17
|
highlightSelectedDescendants: boolean;
|
|
30
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
31
20
|
export default _default;
|
|
32
|
-
type
|
|
33
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
34
|
-
default: D[K];
|
|
35
|
-
}> : P[K];
|
|
36
|
-
};
|
|
37
|
-
type __VLS_Prettify<T> = {
|
|
38
|
-
[K in keyof T]: T[K];
|
|
39
|
-
} & {};
|
|
40
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
41
22
|
new (): {
|
|
42
23
|
$slots: S;
|
|
43
24
|
};
|
|
44
25
|
};
|
|
45
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
46
|
-
type __VLS_TypePropsToOption<T> = {
|
|
47
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
48
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
49
|
-
} : {
|
|
50
|
-
type: import('vue').PropType<T[K]>;
|
|
51
|
-
required: true;
|
|
52
|
-
};
|
|
53
|
-
};
|