@citruslime/ui 4.0.0-beta.8 → 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 +4024 -3902
- 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,8 +1,13 @@
|
|
|
1
|
-
declare const
|
|
2
|
-
|
|
1
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
2
|
+
declare var __VLS_1: {};
|
|
3
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
4
|
+
default?: (props: typeof __VLS_1) => any;
|
|
3
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>;
|
|
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>;
|
|
8
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
4
9
|
export default _default;
|
|
5
|
-
type
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
6
11
|
new (): {
|
|
7
12
|
$slots: S;
|
|
8
13
|
};
|
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
declare const
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
2
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
3
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
4
|
+
title?: (props: typeof __VLS_1) => any;
|
|
5
|
+
} & {
|
|
6
|
+
default?: (props: typeof __VLS_3) => any;
|
|
4
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>;
|
|
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>;
|
|
10
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
5
11
|
export default _default;
|
|
6
|
-
type
|
|
12
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
7
13
|
new (): {
|
|
8
14
|
$slots: S;
|
|
9
15
|
};
|
|
@@ -1,40 +1,12 @@
|
|
|
1
1
|
import type { NotificationPosition } from '../../composables/notification';
|
|
2
|
-
|
|
3
|
-
container?: string
|
|
4
|
-
position?:
|
|
5
|
-
headerVisible?: boolean
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
position: string;
|
|
9
|
-
headerVisible: boolean;
|
|
10
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
11
|
-
container?: string | undefined;
|
|
12
|
-
position?: "top-left" | "top-centre" | "top-right" | "bottom-left" | "bottom-centre" | "bottom-right" | undefined;
|
|
13
|
-
headerVisible?: boolean | undefined;
|
|
14
|
-
}>, {
|
|
15
|
-
container: string;
|
|
16
|
-
position: string;
|
|
17
|
-
headerVisible: boolean;
|
|
18
|
-
}>>> & Readonly<{}>, {
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
container?: string;
|
|
4
|
+
position?: NotificationPosition;
|
|
5
|
+
headerVisible?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
19
8
|
container: string;
|
|
20
9
|
position: NotificationPosition;
|
|
21
10
|
headerVisible: boolean;
|
|
22
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
11
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
12
|
export default _default;
|
|
24
|
-
type __VLS_WithDefaults<P, D> = {
|
|
25
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
26
|
-
default: D[K];
|
|
27
|
-
}> : P[K];
|
|
28
|
-
};
|
|
29
|
-
type __VLS_Prettify<T> = {
|
|
30
|
-
[K in keyof T]: T[K];
|
|
31
|
-
} & {};
|
|
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,88 +1,24 @@
|
|
|
1
1
|
import type { SelectItem } from './types';
|
|
2
|
-
declare const _default: <T extends string | number | boolean | SelectItem>(__VLS_props: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
placeholder?: string | null | undefined;
|
|
7
|
-
modelValue: T | T[] | null | undefined;
|
|
8
|
-
list: T[];
|
|
9
|
-
canClear?: boolean | undefined;
|
|
10
|
-
isGridFilter?: boolean | undefined;
|
|
11
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
12
|
-
attrs: any;
|
|
13
|
-
slots: Readonly<{
|
|
14
|
-
default(props: {
|
|
15
|
-
select: (value: T) => void;
|
|
16
|
-
isSelected: (option: T) => boolean;
|
|
17
|
-
highlightIndex: number;
|
|
18
|
-
index: number;
|
|
19
|
-
option: T;
|
|
20
|
-
}): any;
|
|
21
|
-
input(props: {
|
|
22
|
-
selectHighlightedElement: () => void;
|
|
23
|
-
selectModalVisible: boolean;
|
|
24
|
-
toggleSelectModalState: (forcedState?: boolean) => void;
|
|
25
|
-
moveHighlightBackwards: () => void;
|
|
26
|
-
moveHighlightForwards: () => void;
|
|
27
|
-
moveHighlightToStart: () => void;
|
|
28
|
-
moveHighlightToEnd: () => void;
|
|
29
|
-
}): any;
|
|
30
|
-
label(): any;
|
|
31
|
-
'help-text'(): any;
|
|
32
|
-
}> & {
|
|
33
|
-
default(props: {
|
|
34
|
-
select: (value: T) => void;
|
|
35
|
-
isSelected: (option: T) => boolean;
|
|
36
|
-
highlightIndex: number;
|
|
37
|
-
index: number;
|
|
38
|
-
option: T;
|
|
39
|
-
}): any;
|
|
40
|
-
input(props: {
|
|
41
|
-
selectHighlightedElement: () => void;
|
|
42
|
-
selectModalVisible: boolean;
|
|
43
|
-
toggleSelectModalState: (forcedState?: boolean) => void;
|
|
44
|
-
moveHighlightBackwards: () => void;
|
|
45
|
-
moveHighlightForwards: () => void;
|
|
46
|
-
moveHighlightToStart: () => void;
|
|
47
|
-
moveHighlightToEnd: () => void;
|
|
48
|
-
}): any;
|
|
49
|
-
label(): any;
|
|
50
|
-
'help-text'(): any;
|
|
51
|
-
};
|
|
52
|
-
emit: any;
|
|
53
|
-
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
54
|
-
props: {
|
|
55
|
-
disabled?: boolean | undefined;
|
|
56
|
-
required?: boolean | undefined;
|
|
57
|
-
errors?: string[] | null | undefined;
|
|
58
|
-
placeholder?: string | null | undefined;
|
|
59
|
-
modelValue: T | T[] | null | undefined;
|
|
2
|
+
declare const _default: <T extends string | number | boolean | SelectItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
4
|
+
readonly "onUpdate:modelValue"?: ((value: T | T[] | null | undefined) => any) | undefined;
|
|
5
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & ({
|
|
60
6
|
list: T[];
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
7
|
+
required?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
placeholder?: string | null;
|
|
10
|
+
canClear?: boolean;
|
|
11
|
+
errors?: string[] | null;
|
|
12
|
+
isGridFilter?: boolean;
|
|
13
|
+
openDropDownOnFocus?: boolean;
|
|
14
|
+
} & {
|
|
15
|
+
modelValue: T | T[] | null | undefined;
|
|
16
|
+
}) & Partial<{}>> & import("vue").PublicProps;
|
|
17
|
+
expose(exposed: import("vue").ShallowUnwrapRef<{
|
|
18
|
+
focus: () => void;
|
|
19
|
+
}>): void;
|
|
65
20
|
attrs: any;
|
|
66
|
-
slots:
|
|
67
|
-
default(props: {
|
|
68
|
-
select: (value: T) => void;
|
|
69
|
-
isSelected: (option: T) => boolean;
|
|
70
|
-
highlightIndex: number;
|
|
71
|
-
index: number;
|
|
72
|
-
option: T;
|
|
73
|
-
}): any;
|
|
74
|
-
input(props: {
|
|
75
|
-
selectHighlightedElement: () => void;
|
|
76
|
-
selectModalVisible: boolean;
|
|
77
|
-
toggleSelectModalState: (forcedState?: boolean) => void;
|
|
78
|
-
moveHighlightBackwards: () => void;
|
|
79
|
-
moveHighlightForwards: () => void;
|
|
80
|
-
moveHighlightToStart: () => void;
|
|
81
|
-
moveHighlightToEnd: () => void;
|
|
82
|
-
}): any;
|
|
83
|
-
label(): any;
|
|
84
|
-
'help-text'(): any;
|
|
85
|
-
}> & {
|
|
21
|
+
slots: {
|
|
86
22
|
default(props: {
|
|
87
23
|
select: (value: T) => void;
|
|
88
24
|
isSelected: (option: T) => boolean;
|
|
@@ -91,78 +27,23 @@ declare const _default: <T extends string | number | boolean | SelectItem>(__VLS
|
|
|
91
27
|
option: T;
|
|
92
28
|
}): any;
|
|
93
29
|
input(props: {
|
|
94
|
-
|
|
30
|
+
handleEnterPress: (event: Event) => void;
|
|
31
|
+
handleEscapePress: (event: Event) => void;
|
|
95
32
|
selectModalVisible: boolean;
|
|
96
33
|
toggleSelectModalState: (forcedState?: boolean) => void;
|
|
97
|
-
moveHighlightBackwards: () => void;
|
|
98
|
-
moveHighlightForwards: () => void;
|
|
99
|
-
moveHighlightToStart: () => void;
|
|
100
|
-
moveHighlightToEnd: () => void;
|
|
34
|
+
moveHighlightBackwards: (event: KeyboardEvent) => void;
|
|
35
|
+
moveHighlightForwards: (event: KeyboardEvent) => void;
|
|
36
|
+
moveHighlightToStart: (event: KeyboardEvent) => void;
|
|
37
|
+
moveHighlightToEnd: (event: KeyboardEvent) => void;
|
|
101
38
|
}): any;
|
|
102
39
|
label(): any;
|
|
103
40
|
'help-text'(): any;
|
|
104
41
|
};
|
|
105
|
-
emit:
|
|
106
|
-
}>) => import("vue").VNode
|
|
107
|
-
|
|
108
|
-
}> & {
|
|
109
|
-
__ctx?: {
|
|
110
|
-
props: {
|
|
111
|
-
disabled?: boolean | undefined;
|
|
112
|
-
required?: boolean | undefined;
|
|
113
|
-
errors?: string[] | null | undefined;
|
|
114
|
-
placeholder?: string | null | undefined;
|
|
115
|
-
modelValue: T | T[] | null | undefined;
|
|
116
|
-
list: T[];
|
|
117
|
-
canClear?: boolean | undefined;
|
|
118
|
-
isGridFilter?: boolean | undefined;
|
|
119
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
120
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
121
|
-
attrs: any;
|
|
122
|
-
slots: Readonly<{
|
|
123
|
-
default(props: {
|
|
124
|
-
select: (value: T) => void;
|
|
125
|
-
isSelected: (option: T) => boolean;
|
|
126
|
-
highlightIndex: number;
|
|
127
|
-
index: number;
|
|
128
|
-
option: T;
|
|
129
|
-
}): any;
|
|
130
|
-
input(props: {
|
|
131
|
-
selectHighlightedElement: () => void;
|
|
132
|
-
selectModalVisible: boolean;
|
|
133
|
-
toggleSelectModalState: (forcedState?: boolean) => void;
|
|
134
|
-
moveHighlightBackwards: () => void;
|
|
135
|
-
moveHighlightForwards: () => void;
|
|
136
|
-
moveHighlightToStart: () => void;
|
|
137
|
-
moveHighlightToEnd: () => void;
|
|
138
|
-
}): any;
|
|
139
|
-
label(): any;
|
|
140
|
-
'help-text'(): any;
|
|
141
|
-
}> & {
|
|
142
|
-
default(props: {
|
|
143
|
-
select: (value: T) => void;
|
|
144
|
-
isSelected: (option: T) => boolean;
|
|
145
|
-
highlightIndex: number;
|
|
146
|
-
index: number;
|
|
147
|
-
option: T;
|
|
148
|
-
}): any;
|
|
149
|
-
input(props: {
|
|
150
|
-
selectHighlightedElement: () => void;
|
|
151
|
-
selectModalVisible: boolean;
|
|
152
|
-
toggleSelectModalState: (forcedState?: boolean) => void;
|
|
153
|
-
moveHighlightBackwards: () => void;
|
|
154
|
-
moveHighlightForwards: () => void;
|
|
155
|
-
moveHighlightToStart: () => void;
|
|
156
|
-
moveHighlightToEnd: () => void;
|
|
157
|
-
}): any;
|
|
158
|
-
label(): any;
|
|
159
|
-
'help-text'(): any;
|
|
160
|
-
};
|
|
161
|
-
emit: any;
|
|
162
|
-
} | undefined;
|
|
42
|
+
emit: (evt: "update:modelValue", value: T | T[] | null | undefined) => void;
|
|
43
|
+
}>) => import("vue").VNode & {
|
|
44
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
163
45
|
};
|
|
164
46
|
export default _default;
|
|
165
|
-
type
|
|
166
|
-
type __VLS_Prettify<T> = {
|
|
47
|
+
type __VLS_PrettifyLocal<T> = {
|
|
167
48
|
[K in keyof T]: T[K];
|
|
168
49
|
} & {};
|
|
@@ -1,22 +1,20 @@
|
|
|
1
|
+
type __VLS_Slots = {
|
|
2
|
+
default(props: {
|
|
3
|
+
toggleModalInput: typeof toggleModalInput;
|
|
4
|
+
}): any;
|
|
5
|
+
};
|
|
1
6
|
/**
|
|
2
7
|
* Toggles the modal.
|
|
3
8
|
*/
|
|
4
9
|
declare function toggleModalInput(): void;
|
|
5
|
-
declare const
|
|
6
|
-
toggleModal: () =>
|
|
10
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
toggleModal: () => any;
|
|
7
12
|
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
8
13
|
onToggleModal?: (() => any) | undefined;
|
|
9
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any
|
|
10
|
-
|
|
11
|
-
toggleModalInput: typeof toggleModalInput;
|
|
12
|
-
}): any;
|
|
13
|
-
}> & {
|
|
14
|
-
default(props: {
|
|
15
|
-
toggleModalInput: typeof toggleModalInput;
|
|
16
|
-
}): any;
|
|
17
|
-
}>;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
15
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
18
16
|
export default _default;
|
|
19
|
-
type
|
|
17
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
20
18
|
new (): {
|
|
21
19
|
$slots: S;
|
|
22
20
|
};
|
|
@@ -1,52 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
isSelected?: boolean
|
|
3
|
-
isHighlighted?: boolean
|
|
4
|
-
disabled?: boolean
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
select: () =>
|
|
11
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
12
|
-
isSelected?: boolean | undefined;
|
|
13
|
-
isHighlighted?: boolean | undefined;
|
|
14
|
-
disabled?: boolean | undefined;
|
|
15
|
-
}>, {
|
|
16
|
-
isSelected: boolean;
|
|
17
|
-
isHighlighted: boolean;
|
|
18
|
-
disabled: boolean;
|
|
19
|
-
}>>> & Readonly<{
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
isSelected?: boolean;
|
|
3
|
+
isHighlighted?: boolean;
|
|
4
|
+
disabled?: 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
|
+
select: () => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
12
|
onSelect?: (() => any) | undefined;
|
|
21
13
|
}>, {
|
|
22
14
|
disabled: boolean;
|
|
23
15
|
isHighlighted: boolean;
|
|
24
16
|
isSelected: boolean;
|
|
25
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
26
|
-
|
|
27
|
-
}> & {
|
|
28
|
-
default: any;
|
|
29
|
-
}>;
|
|
17
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
30
19
|
export default _default;
|
|
31
|
-
type
|
|
32
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
33
|
-
default: D[K];
|
|
34
|
-
}> : P[K];
|
|
35
|
-
};
|
|
36
|
-
type __VLS_Prettify<T> = {
|
|
37
|
-
[K in keyof T]: T[K];
|
|
38
|
-
} & {};
|
|
39
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
40
21
|
new (): {
|
|
41
22
|
$slots: S;
|
|
42
23
|
};
|
|
43
24
|
};
|
|
44
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
45
|
-
type __VLS_TypePropsToOption<T> = {
|
|
46
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
47
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
48
|
-
} : {
|
|
49
|
-
type: import('vue').PropType<T[K]>;
|
|
50
|
-
required: true;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
@@ -1,43 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
words?: number
|
|
3
|
-
rows?: number
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
rows?: number | undefined;
|
|
10
|
-
}>, {
|
|
11
|
-
words: number;
|
|
12
|
-
rows: number;
|
|
13
|
-
}>>> & Readonly<{}>, {
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
words?: number;
|
|
3
|
+
rows?: number;
|
|
4
|
+
};
|
|
5
|
+
type __VLS_Slots = {
|
|
6
|
+
default(): any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
14
9
|
words: number;
|
|
15
10
|
rows: number;
|
|
16
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
17
|
-
|
|
18
|
-
}> & {
|
|
19
|
-
default(): any;
|
|
20
|
-
}>;
|
|
11
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
21
13
|
export default _default;
|
|
22
|
-
type
|
|
23
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
24
|
-
default: D[K];
|
|
25
|
-
}> : P[K];
|
|
26
|
-
};
|
|
27
|
-
type __VLS_Prettify<T> = {
|
|
28
|
-
[K in keyof T]: T[K];
|
|
29
|
-
} & {};
|
|
30
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
31
15
|
new (): {
|
|
32
16
|
$slots: S;
|
|
33
17
|
};
|
|
34
18
|
};
|
|
35
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
36
|
-
type __VLS_TypePropsToOption<T> = {
|
|
37
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
38
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
39
|
-
} : {
|
|
40
|
-
type: import('vue').PropType<T[K]>;
|
|
41
|
-
required: true;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
@@ -1,62 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
disabled
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
required: true;
|
|
13
|
-
};
|
|
14
|
-
placeholder: {
|
|
15
|
-
type: import("vue").PropType<string>;
|
|
16
|
-
default: string;
|
|
17
|
-
};
|
|
18
|
-
min: {
|
|
19
|
-
type: import("vue").PropType<number>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
step: {
|
|
23
|
-
type: import("vue").PropType<number>;
|
|
24
|
-
default: number;
|
|
25
|
-
};
|
|
26
|
-
}>, {
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
min: number;
|
|
3
|
+
max: number;
|
|
4
|
+
step?: number;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
};
|
|
8
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
9
|
+
'value': number;
|
|
10
|
+
};
|
|
11
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
27
12
|
focus(): void;
|
|
28
13
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
29
|
-
"update:value": (value: number) =>
|
|
30
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
31
|
-
value: {
|
|
32
|
-
required: true;
|
|
33
|
-
type: import("vue").PropType<number>;
|
|
34
|
-
};
|
|
35
|
-
disabled: {
|
|
36
|
-
type: import("vue").PropType<boolean>;
|
|
37
|
-
default: boolean;
|
|
38
|
-
};
|
|
39
|
-
max: {
|
|
40
|
-
type: import("vue").PropType<number>;
|
|
41
|
-
required: true;
|
|
42
|
-
};
|
|
43
|
-
placeholder: {
|
|
44
|
-
type: import("vue").PropType<string>;
|
|
45
|
-
default: string;
|
|
46
|
-
};
|
|
47
|
-
min: {
|
|
48
|
-
type: import("vue").PropType<number>;
|
|
49
|
-
required: true;
|
|
50
|
-
};
|
|
51
|
-
step: {
|
|
52
|
-
type: import("vue").PropType<number>;
|
|
53
|
-
default: number;
|
|
54
|
-
};
|
|
55
|
-
}>> & Readonly<{
|
|
14
|
+
"update:value": (value: number) => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
56
16
|
"onUpdate:value"?: ((value: number) => any) | undefined;
|
|
57
17
|
}>, {
|
|
58
18
|
disabled: boolean;
|
|
59
19
|
placeholder: string;
|
|
60
20
|
step: number;
|
|
61
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
21
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
62
22
|
export default _default;
|
|
@@ -1,76 +1,43 @@
|
|
|
1
|
+
import type { TabColour, TabLayout } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
colour?: TabColour;
|
|
4
|
+
layout?: TabLayout;
|
|
5
|
+
overflowHidden?: boolean;
|
|
6
|
+
stickyHeader?: boolean;
|
|
7
|
+
};
|
|
8
|
+
type __VLS_Slots = {
|
|
9
|
+
headings(props: {
|
|
10
|
+
isTabOpen: (id: number) => boolean;
|
|
11
|
+
toggleOpen: (id: number) => void;
|
|
12
|
+
colour: TabColour;
|
|
13
|
+
layout: TabLayout;
|
|
14
|
+
}): any;
|
|
15
|
+
content(props: {
|
|
16
|
+
isTabOpen: (id: number) => boolean;
|
|
17
|
+
}): any;
|
|
18
|
+
};
|
|
1
19
|
/**
|
|
2
20
|
* Exposed function that can be called if we need to open a specific tab.
|
|
3
21
|
*
|
|
4
22
|
* @param id - The ID of the tab to open.
|
|
5
23
|
*/
|
|
6
24
|
declare function setTab(id?: number): void;
|
|
7
|
-
declare const
|
|
8
|
-
colour?: "default" | "primary" | "secondary" | "danger" | "blue" | undefined;
|
|
9
|
-
layout?: "horizontal" | "vertical" | undefined;
|
|
10
|
-
overflowHidden?: boolean | undefined;
|
|
11
|
-
}>, {
|
|
12
|
-
colour: string;
|
|
13
|
-
layout: string;
|
|
14
|
-
overflowHidden: boolean;
|
|
15
|
-
}>>, {
|
|
25
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
16
26
|
setTab: typeof setTab;
|
|
17
27
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
-
"tab-opened": (args_0: number) =>
|
|
19
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
20
|
-
colour?: "default" | "primary" | "secondary" | "danger" | "blue" | undefined;
|
|
21
|
-
layout?: "horizontal" | "vertical" | undefined;
|
|
22
|
-
overflowHidden?: boolean | undefined;
|
|
23
|
-
}>, {
|
|
24
|
-
colour: string;
|
|
25
|
-
layout: string;
|
|
26
|
-
overflowHidden: boolean;
|
|
27
|
-
}>>> & Readonly<{
|
|
28
|
+
"tab-opened": (args_0: number) => any;
|
|
29
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
28
30
|
"onTab-opened"?: ((args_0: number) => any) | undefined;
|
|
29
31
|
}>, {
|
|
30
|
-
colour:
|
|
31
|
-
layout:
|
|
32
|
+
colour: TabColour;
|
|
33
|
+
layout: TabLayout;
|
|
32
34
|
overflowHidden: boolean;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
toggleOpen: (id: number) => void;
|
|
37
|
-
colour: "default" | "primary" | "secondary" | "danger" | "blue";
|
|
38
|
-
layout: "horizontal" | "vertical";
|
|
39
|
-
}): any;
|
|
40
|
-
content(props: {
|
|
41
|
-
isTabOpen: (id: number) => boolean;
|
|
42
|
-
}): any;
|
|
43
|
-
}> & {
|
|
44
|
-
headings(props: {
|
|
45
|
-
isTabOpen: (id: number) => boolean;
|
|
46
|
-
toggleOpen: (id: number) => void;
|
|
47
|
-
colour: "default" | "primary" | "secondary" | "danger" | "blue";
|
|
48
|
-
layout: "horizontal" | "vertical";
|
|
49
|
-
}): any;
|
|
50
|
-
content(props: {
|
|
51
|
-
isTabOpen: (id: number) => boolean;
|
|
52
|
-
}): any;
|
|
53
|
-
}>;
|
|
35
|
+
stickyHeader: boolean;
|
|
36
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
37
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
54
38
|
export default _default;
|
|
55
|
-
type
|
|
56
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
57
|
-
default: D[K];
|
|
58
|
-
}> : P[K];
|
|
59
|
-
};
|
|
60
|
-
type __VLS_Prettify<T> = {
|
|
61
|
-
[K in keyof T]: T[K];
|
|
62
|
-
} & {};
|
|
63
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
39
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
64
40
|
new (): {
|
|
65
41
|
$slots: S;
|
|
66
42
|
};
|
|
67
43
|
};
|
|
68
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
69
|
-
type __VLS_TypePropsToOption<T> = {
|
|
70
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
71
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
72
|
-
} : {
|
|
73
|
-
type: import('vue').PropType<T[K]>;
|
|
74
|
-
required: true;
|
|
75
|
-
};
|
|
76
|
-
};
|