@kyokusu-ui/vue 0.0.3 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Button/Button.vue.d.ts +39 -0
- package/dist/Button/index.d.ts +1 -0
- package/dist/Card/Card.vue.d.ts +32 -0
- package/dist/Card/index.d.ts +1 -0
- package/dist/Carousel/Carousel.vue.d.ts +29 -0
- package/dist/Carousel/index.d.ts +2 -0
- package/dist/Carousel/useAutoDragCarousel.d.ts +8 -0
- package/dist/DatePicker/DatePicker.vue.d.ts +25 -0
- package/dist/DatePicker/index.d.ts +1 -0
- package/dist/DatePicker/useDatepicker.d.ts +27 -0
- package/dist/Input/Input.vue.d.ts +21 -0
- package/dist/Input/index.d.ts +1 -0
- package/dist/Label/Label.vue.d.ts +6 -0
- package/dist/Label/index.d.ts +1 -0
- package/dist/ModalWindow/ModalWindow.vue.d.ts +35 -0
- package/dist/ModalWindow/index.d.ts +1 -0
- package/dist/ModalWindow/useModal.d.ts +2 -0
- package/dist/MultiSelect/MultiSelect.vue.d.ts +27 -0
- package/dist/MultiSelect/index.d.ts +2 -0
- package/dist/Notification/NotificationContainer.vue.d.ts +13 -0
- package/dist/Notification/NotificationItem.vue.d.ts +20 -0
- package/dist/Notification/index.d.ts +3 -0
- package/dist/Notification/useNotification.d.ts +18 -0
- package/dist/RichText/RichText.vue.d.ts +20 -0
- package/dist/RichText/index.d.ts +1 -0
- package/dist/SearchSelect/SearchSelect.vue.d.ts +24 -0
- package/dist/SearchSelect/index.d.ts +2 -0
- package/dist/Select/Select.vue.d.ts +22 -0
- package/dist/Select/index.d.ts +1 -0
- package/dist/Separator/Separator.vue.d.ts +12 -0
- package/dist/Separator/index.d.ts +1 -0
- package/dist/Table/index.d.ts +2 -0
- package/dist/Toggle/index.d.ts +1 -0
- package/dist/Tooltip/Tooltip.vue.d.ts +25 -0
- package/dist/Tooltip/index.d.ts +1 -0
- package/dist/index.d.ts +16 -2
- package/dist/kyokusu-ui-vue.cjs +2 -2
- package/dist/kyokusu-ui-vue.js +1860 -27
- package/package.json +3 -2
- /package/dist/{Toggle.vue.d.ts → Toggle/Toggle.vue.d.ts} +0 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
variant?: 'primary' | 'secondary' | 'outline' | 'ghost' | 'danger' | 'accent';
|
|
3
|
+
size?: 'sm' | 'md' | 'lg' | 'icon';
|
|
4
|
+
glow?: boolean;
|
|
5
|
+
block?: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
loading?: boolean;
|
|
8
|
+
as?: string;
|
|
9
|
+
type?: 'button' | 'submit' | 'reset';
|
|
10
|
+
}
|
|
11
|
+
declare function __VLS_template(): {
|
|
12
|
+
attrs: Partial<{}>;
|
|
13
|
+
slots: {
|
|
14
|
+
'icon-left'?(_: {}): any;
|
|
15
|
+
default?(_: {}): any;
|
|
16
|
+
default?(_: {}): any;
|
|
17
|
+
'icon-right'?(_: {}): any;
|
|
18
|
+
};
|
|
19
|
+
refs: {};
|
|
20
|
+
rootEl: any;
|
|
21
|
+
};
|
|
22
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
23
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
24
|
+
type: "button" | "submit" | "reset";
|
|
25
|
+
disabled: boolean;
|
|
26
|
+
size: "sm" | "md" | "lg" | "icon";
|
|
27
|
+
loading: boolean;
|
|
28
|
+
block: boolean;
|
|
29
|
+
variant: "primary" | "secondary" | "outline" | "ghost" | "danger" | "accent";
|
|
30
|
+
glow: boolean;
|
|
31
|
+
as: string;
|
|
32
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
33
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
34
|
+
export default _default;
|
|
35
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
36
|
+
new (): {
|
|
37
|
+
$slots: S;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Button } from './Button.vue';
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export type CardVariant = 'default' | 'outline' | 'ghost';
|
|
2
|
+
export type CardPadding = 'none' | 'sm' | 'md' | 'lg';
|
|
3
|
+
interface Props {
|
|
4
|
+
variant?: CardVariant;
|
|
5
|
+
padding?: CardPadding;
|
|
6
|
+
shadow?: boolean;
|
|
7
|
+
tag?: string;
|
|
8
|
+
}
|
|
9
|
+
declare function __VLS_template(): {
|
|
10
|
+
attrs: Partial<{}>;
|
|
11
|
+
slots: {
|
|
12
|
+
header?(_: {}): any;
|
|
13
|
+
default?(_: {}): any;
|
|
14
|
+
footer?(_: {}): any;
|
|
15
|
+
};
|
|
16
|
+
refs: {};
|
|
17
|
+
rootEl: any;
|
|
18
|
+
};
|
|
19
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
21
|
+
tag: string;
|
|
22
|
+
variant: CardVariant;
|
|
23
|
+
padding: CardPadding;
|
|
24
|
+
shadow: boolean;
|
|
25
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Card } from './Card.vue';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
items: any[];
|
|
3
|
+
interval?: number;
|
|
4
|
+
}
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
card?(_: {
|
|
9
|
+
item: any;
|
|
10
|
+
}): any;
|
|
11
|
+
};
|
|
12
|
+
refs: {
|
|
13
|
+
containerRef: HTMLDivElement;
|
|
14
|
+
};
|
|
15
|
+
rootEl: HTMLDivElement;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
19
|
+
interval: number;
|
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
21
|
+
containerRef: HTMLDivElement;
|
|
22
|
+
}, HTMLDivElement>;
|
|
23
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
export declare function useAutoDragCarousel(containerRef: Ref<HTMLElement | null>, intervalSeconds?: number): {
|
|
3
|
+
onMouseDown: (e: MouseEvent) => void;
|
|
4
|
+
onMouseLeaveOrUp: () => void;
|
|
5
|
+
onMouseMove: (e: MouseEvent) => void;
|
|
6
|
+
stopAutoPlay: () => void;
|
|
7
|
+
startAutoPlay: () => void;
|
|
8
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
id?: string;
|
|
3
|
+
label?: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
locale?: string;
|
|
7
|
+
error?: string;
|
|
8
|
+
type?: "date" | "year";
|
|
9
|
+
}
|
|
10
|
+
type __VLS_Props = Props;
|
|
11
|
+
type __VLS_PublicProps = {
|
|
12
|
+
modelValue?: string;
|
|
13
|
+
} & __VLS_Props;
|
|
14
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
"update:modelValue": (value: string) => any;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
17
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
type: "date" | "year";
|
|
20
|
+
locale: string;
|
|
21
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
22
|
+
containerRef: HTMLDivElement;
|
|
23
|
+
yearListRef: HTMLDivElement;
|
|
24
|
+
}, any>;
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as DatePicker } from './DatePicker.vue';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
export interface CalendarDay {
|
|
3
|
+
day: number | null;
|
|
4
|
+
fullDate: string | null;
|
|
5
|
+
}
|
|
6
|
+
export declare function useDatepicker(model: Ref<string | undefined>, locale: Ref<string>, type: Ref<"date" | "year">): {
|
|
7
|
+
isOpen: Ref<boolean, boolean>;
|
|
8
|
+
viewMode: Ref<"days" | "years", "days" | "years">;
|
|
9
|
+
viewDate: Ref<Date, Date>;
|
|
10
|
+
formattedValue: import('vue').ComputedRef<string>;
|
|
11
|
+
weekDays: import('vue').ComputedRef<string[]>;
|
|
12
|
+
currentMonthName: import('vue').ComputedRef<string>;
|
|
13
|
+
currentYear: import('vue').ComputedRef<number>;
|
|
14
|
+
calendarDays: import('vue').ComputedRef<CalendarDay[]>;
|
|
15
|
+
availableYears: import('vue').ComputedRef<number[]>;
|
|
16
|
+
selectedYear: import('vue').ComputedRef<number | null>;
|
|
17
|
+
uiLabels: import('vue').ComputedRef<{
|
|
18
|
+
selectYear: string;
|
|
19
|
+
}>;
|
|
20
|
+
initDate: () => void;
|
|
21
|
+
selectDate: (dateStr: string) => void;
|
|
22
|
+
selectYear: (year: number) => void;
|
|
23
|
+
prevMonth: () => void;
|
|
24
|
+
nextMonth: () => void;
|
|
25
|
+
isSelected: (dateStr: string) => boolean;
|
|
26
|
+
isToday: (dateStr: string) => boolean;
|
|
27
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
id?: string;
|
|
3
|
+
label?: string;
|
|
4
|
+
type?: 'text' | 'email' | 'password' | 'number' | 'tel' | 'url' | 'search';
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
error?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
description?: string;
|
|
9
|
+
}
|
|
10
|
+
type __VLS_Props = Props;
|
|
11
|
+
type __VLS_PublicProps = {
|
|
12
|
+
modelValue?: string;
|
|
13
|
+
} & __VLS_Props;
|
|
14
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
"update:modelValue": (value: string) => any;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
17
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
type: "text" | "email" | "password" | "number" | "tel" | "url" | "search";
|
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Input } from './Input.vue';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
label: string;
|
|
3
|
+
for?: string;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Label } from './Label.vue';
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
modelValue: boolean;
|
|
3
|
+
title?: string;
|
|
4
|
+
width?: string;
|
|
5
|
+
height?: string;
|
|
6
|
+
centerTitle?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
slots: {
|
|
11
|
+
default?(_: {}): any;
|
|
12
|
+
footer?(_: {}): any;
|
|
13
|
+
};
|
|
14
|
+
refs: {};
|
|
15
|
+
rootEl: any;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
|
+
"update:modelValue": (...args: any[]) => void;
|
|
20
|
+
close: (...args: any[]) => void;
|
|
21
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
22
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
23
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
24
|
+
}>, {
|
|
25
|
+
modelValue: boolean;
|
|
26
|
+
width: string;
|
|
27
|
+
centerTitle: boolean;
|
|
28
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
29
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
32
|
+
new (): {
|
|
33
|
+
$slots: S;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ModalWindow } from './ModalWindow.vue';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export interface MultiSelectOption {
|
|
2
|
+
id: string | number;
|
|
3
|
+
label: string;
|
|
4
|
+
}
|
|
5
|
+
interface Props {
|
|
6
|
+
modelValue: (string | number | MultiSelectOption)[];
|
|
7
|
+
options: (string | MultiSelectOption)[];
|
|
8
|
+
id?: string;
|
|
9
|
+
label?: string;
|
|
10
|
+
placeholder?: string;
|
|
11
|
+
error?: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
loading?: boolean;
|
|
14
|
+
}
|
|
15
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
search: (...args: any[]) => void;
|
|
17
|
+
"update:modelValue": (...args: any[]) => void;
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
19
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
20
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
modelValue: (string | number | MultiSelectOption)[];
|
|
23
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
24
|
+
wrapperRef: HTMLDivElement;
|
|
25
|
+
inputRef: HTMLInputElement;
|
|
26
|
+
}, any>;
|
|
27
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { NotificationItem } from './NotificationItem.vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
notifications: NotificationItem[];
|
|
4
|
+
position?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
remove: (...args: any[]) => void;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
onRemove?: ((...args: any[]) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
position: "top-right" | "top-left" | "bottom-right" | "bottom-left";
|
|
12
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface NotificationPayload {
|
|
2
|
+
title: string;
|
|
3
|
+
content?: string;
|
|
4
|
+
type?: 'success' | 'error' | 'warning' | 'info';
|
|
5
|
+
duration?: number;
|
|
6
|
+
}
|
|
7
|
+
export interface NotificationItem extends NotificationPayload {
|
|
8
|
+
id: string;
|
|
9
|
+
}
|
|
10
|
+
type __VLS_Props = {
|
|
11
|
+
notification: NotificationItem;
|
|
12
|
+
};
|
|
13
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
+
remove: (...args: any[]) => void;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
+
onRemove?: ((...args: any[]) => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
18
|
+
el: HTMLDivElement;
|
|
19
|
+
}, HTMLDivElement>;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { NotificationItem, NotificationPayload } from './NotificationItem.vue';
|
|
2
|
+
export declare function useNotificationProvider(): {
|
|
3
|
+
notifications: import('vue').Ref<{
|
|
4
|
+
id: string;
|
|
5
|
+
title: string;
|
|
6
|
+
content?: string | undefined;
|
|
7
|
+
type?: "success" | "error" | "warning" | "info" | undefined;
|
|
8
|
+
duration?: number | undefined;
|
|
9
|
+
}[], NotificationItem[] | {
|
|
10
|
+
id: string;
|
|
11
|
+
title: string;
|
|
12
|
+
content?: string | undefined;
|
|
13
|
+
type?: "success" | "error" | "warning" | "info" | undefined;
|
|
14
|
+
duration?: number | undefined;
|
|
15
|
+
}[]>;
|
|
16
|
+
notify: (payload: NotificationPayload) => void;
|
|
17
|
+
remove: (id: string) => void;
|
|
18
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
id?: string;
|
|
3
|
+
label?: string;
|
|
4
|
+
maxLength?: number;
|
|
5
|
+
error?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
}
|
|
9
|
+
type __VLS_Props = Props;
|
|
10
|
+
type __VLS_PublicProps = {
|
|
11
|
+
modelValue?: string;
|
|
12
|
+
} & __VLS_Props;
|
|
13
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
+
"update:modelValue": (value: string) => any;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
16
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
18
|
+
editorRef: HTMLDivElement;
|
|
19
|
+
}, HTMLDivElement>;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as RichText } from './RichText.vue';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface SearchSelectOption {
|
|
2
|
+
id: string | number;
|
|
3
|
+
label: string;
|
|
4
|
+
}
|
|
5
|
+
interface Props {
|
|
6
|
+
modelValue?: string | number | null;
|
|
7
|
+
id?: string;
|
|
8
|
+
label?: string;
|
|
9
|
+
options: (string | SearchSelectOption)[];
|
|
10
|
+
placeholder?: string;
|
|
11
|
+
error?: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
}
|
|
14
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
"update:modelValue": (...args: any[]) => void;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
17
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
modelValue: string | number | null;
|
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
21
|
+
wrapperRef: HTMLDivElement;
|
|
22
|
+
searchInputRef: HTMLInputElement;
|
|
23
|
+
}, any>;
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
interface Option {
|
|
2
|
+
value: string;
|
|
3
|
+
label: string;
|
|
4
|
+
}
|
|
5
|
+
type __VLS_Props = {
|
|
6
|
+
label?: string;
|
|
7
|
+
id?: string;
|
|
8
|
+
options: Option[];
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_PublicProps = {
|
|
13
|
+
modelValue?: string;
|
|
14
|
+
} & __VLS_Props;
|
|
15
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
"update:modelValue": (value: string) => any;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
18
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
19
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
20
|
+
containerRef: HTMLDivElement;
|
|
21
|
+
}, HTMLDivElement>;
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Select } from './Select.vue';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
orientation?: 'horizontal' | 'vertical';
|
|
3
|
+
label?: string;
|
|
4
|
+
labelPosition?: 'left' | 'center' | 'right';
|
|
5
|
+
dashed?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
8
|
+
orientation: "horizontal" | "vertical";
|
|
9
|
+
labelPosition: "left" | "center" | "right";
|
|
10
|
+
dashed: boolean;
|
|
11
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Separator } from './Separator.vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Toggle } from './Toggle.vue';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
text: string;
|
|
3
|
+
position?: "top" | "bottom" | "left" | "right";
|
|
4
|
+
delay?: number;
|
|
5
|
+
}
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: HTMLDivElement;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
16
|
+
position: "top" | "bottom" | "left" | "right";
|
|
17
|
+
delay: number;
|
|
18
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
19
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Tooltip } from './Tooltip.vue';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,16 @@
|
|
|
1
|
-
export
|
|
2
|
-
export * from '
|
|
1
|
+
export * from './Input';
|
|
2
|
+
export * from './Toggle';
|
|
3
|
+
export * from './Select';
|
|
4
|
+
export * from './SearchSelect';
|
|
5
|
+
export * from './MultiSelect';
|
|
6
|
+
export * from './RichText';
|
|
7
|
+
export * from './DatePicker';
|
|
8
|
+
export * from './Separator';
|
|
9
|
+
export * from './Tooltip';
|
|
10
|
+
export * from './Notification';
|
|
11
|
+
export * from './Label';
|
|
12
|
+
export * from './ModalWindow';
|
|
13
|
+
export * from './Carousel';
|
|
14
|
+
export * from './Table';
|
|
15
|
+
export * from './Button';
|
|
16
|
+
export * from './Card';
|