@dolanske/vui 0.1.0 → 0.1.2
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 +7 -0
- package/dist/components/Accordion/Accordion.vue.d.ts +45 -0
- package/dist/components/Accordion/AccordionGroup.vue.d.ts +32 -0
- package/dist/components/Alert/Alert.vue.d.ts +29 -0
- package/dist/components/Avatar/Avatar.vue.d.ts +9 -0
- package/dist/components/Badge/Badge.vue.d.ts +21 -0
- package/dist/components/Breadcrumbs/BreadcrumbItem.vue.d.ts +21 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.vue.d.ts +27 -0
- package/dist/components/Button/Button.vue.d.ts +41 -0
- package/dist/components/ButtonGroup/ButtonGroup.vue.d.ts +19 -0
- package/dist/components/Calendar/Calendar.vue.d.ts +27 -0
- package/dist/components/Card/Card.vue.d.ts +25 -0
- package/dist/components/Checkbox/Checkbox.vue.d.ts +31 -0
- package/dist/components/CopyClipboard/CopyClipboard.vue.d.ts +40 -0
- package/dist/components/Divider/Divider.vue.d.ts +24 -0
- package/dist/components/Drawer/Drawer.vue.d.ts +52 -0
- package/dist/components/Dropdown/DropdownItem.vue.d.ts +21 -0
- package/dist/components/Dropdown/DropdownTitle.vue.d.ts +17 -0
- package/dist/components/Flex/Flex.vue.d.ts +38 -0
- package/dist/components/Grid/Grid.vue.d.ts +27 -0
- package/dist/components/Input/Counter.vue.d.ts +19 -0
- package/dist/components/Input/Dropzone.vue.d.ts +107 -0
- package/dist/components/Input/File.vue.d.ts +7 -0
- package/dist/components/Input/Input.vue.d.ts +54 -0
- package/dist/components/Input/Password.vue.d.ts +6 -0
- package/dist/components/Input/Textarea.vue.d.ts +30 -0
- package/dist/components/Kbd/Kbd.vue.d.ts +23 -0
- package/dist/components/Kbd/KbdGroup.vue.d.ts +31 -0
- package/dist/components/Modal/Confirm.vue.d.ts +45 -0
- package/dist/components/Modal/Modal.vue.d.ts +55 -0
- package/dist/components/Pagination/Pagination.vue.d.ts +42 -0
- package/dist/components/Pagination/pagination.d.ts +12 -0
- package/dist/components/Popout/Popout.vue.d.ts +34 -0
- package/dist/components/Progress/Progress.vue.d.ts +31 -0
- package/dist/components/Radio/Radio.vue.d.ts +27 -0
- package/dist/components/Radio/RadioGroup.vue.d.ts +40 -0
- package/dist/components/Select/Select.vue.d.ts +37 -0
- package/dist/components/Sheet/Sheet.vue.d.ts +35 -0
- package/dist/components/Skeleton/Skeleton.vue.d.ts +8 -0
- package/dist/components/Spinner/Spinner.vue.d.ts +6 -0
- package/dist/components/Switch/Switch.vue.d.ts +26 -0
- package/dist/components/Table/Cell.vue.d.ts +19 -0
- package/dist/components/Table/Header.vue.d.ts +29 -0
- package/dist/components/Table/Row.vue.d.ts +16 -0
- package/dist/components/Table/SelectAll.vue.d.ts +2 -0
- package/dist/components/Table/SelectRow.vue.d.ts +6 -0
- package/dist/components/Table/Table.vue.d.ts +40 -0
- package/dist/components/Table/table.d.ts +68 -0
- package/dist/components/Tabs/Tab.vue.d.ts +8 -0
- package/dist/components/Tabs/Tabs.vue.d.ts +43 -0
- package/dist/components/Toast/Toasts.vue.d.ts +2 -0
- package/dist/components/Toast/toast.d.ts +42 -0
- package/dist/components/Tooltip/Tooltip.vue.d.ts +32 -0
- package/dist/index.d.ts +54 -1
- package/dist/internal/Backdrop/Backdrop.vue.d.ts +20 -0
- package/dist/shared/composables.d.ts +3 -0
- package/dist/shared/helpers.d.ts +16 -0
- package/dist/shared/types.d.ts +10 -0
- package/dist/style.css +1 -1
- package/dist/vui.js +199 -214
- package/package.json +11 -9
- package/src/App.vue +162 -0
- package/src/components/Accordion/Accordion.vue +75 -0
- package/src/components/Accordion/AccordionGroup.vue +43 -0
- package/src/components/Accordion/accordion.scss +44 -0
- package/src/components/Alert/Alert.vue +53 -0
- package/src/components/Alert/alert.scss +80 -0
- package/src/components/Avatar/Avatar.vue +36 -0
- package/src/components/Avatar/avatar.scss +46 -0
- package/src/components/Badge/Badge.vue +21 -0
- package/src/components/Badge/badge.scss +89 -0
- package/src/components/Breadcrumbs/BreadcrumbItem.vue +26 -0
- package/src/components/Breadcrumbs/Breadcrumbs.vue +33 -0
- package/src/components/Breadcrumbs/breadcrumbs.scss +30 -0
- package/src/components/Button/Button.vue +90 -0
- package/src/components/Button/button.scss +176 -0
- package/src/components/ButtonGroup/ButtonGroup.vue +25 -0
- package/src/components/ButtonGroup/button-group.scss +51 -0
- package/src/components/Calendar/Calendar.vue +58 -0
- package/src/components/Calendar/calendar.scss +56 -0
- package/src/components/Card/Card.vue +48 -0
- package/src/components/Card/card.scss +53 -0
- package/src/components/Checkbox/Checkbox.vue +49 -0
- package/src/components/Checkbox/checkbox.scss +60 -0
- package/src/components/CopyClipboard/CopyClipboard.vue +82 -0
- package/src/components/CopyClipboard/copy-clipboard.scss +17 -0
- package/src/components/Divider/Divider.vue +34 -0
- package/src/components/Divider/divider.scss +35 -0
- package/src/components/Drawer/Drawer.vue +93 -0
- package/src/components/Drawer/drawer.scss +49 -0
- package/src/components/Dropdown/Dropdown.vue +100 -0
- package/src/components/Dropdown/DropdownItem.vue +29 -0
- package/src/components/Dropdown/DropdownTitle.vue +8 -0
- package/src/components/Dropdown/dropdown.scss +112 -0
- package/src/components/Flex/Flex.vue +109 -0
- package/src/components/Grid/Grid.vue +59 -0
- package/src/components/Input/Counter.vue +70 -0
- package/src/components/Input/Dropzone.vue +63 -0
- package/src/components/Input/File.vue +15 -0
- package/src/components/Input/Input.vue +118 -0
- package/src/components/Input/Password.vue +47 -0
- package/src/components/Input/Textarea.vue +73 -0
- package/src/components/Input/input.scss +199 -0
- package/src/components/Kbd/Kbd.vue +48 -0
- package/src/components/Kbd/KbdGroup.vue +31 -0
- package/src/components/Kbd/kbd.scss +18 -0
- package/src/components/Modal/Confirm.vue +56 -0
- package/src/components/Modal/Modal.vue +91 -0
- package/src/components/Modal/modal.scss +49 -0
- package/src/components/Pagination/Pagination.vue +74 -0
- package/src/components/Pagination/pagination.ts +78 -0
- package/src/components/Popout/Popout.vue +39 -0
- package/src/components/Popout/popout.scss +7 -0
- package/src/components/Progress/Progress.vue +84 -0
- package/src/components/Progress/progress.scss +41 -0
- package/src/components/Radio/Radio.vue +36 -0
- package/src/components/Radio/RadioGroup.vue +35 -0
- package/src/components/Radio/radio.scss +59 -0
- package/src/components/Select/Select.vue +180 -0
- package/src/components/Select/select.scss +43 -0
- package/src/components/Sheet/Sheet.vue +91 -0
- package/src/components/Sheet/sheet.scss +56 -0
- package/src/components/Skeleton/Skeleton.vue +46 -0
- package/src/components/Skeleton/skeleton.scss +14 -0
- package/src/components/Spinner/Spinner.vue +44 -0
- package/src/components/Spinner/spinner.scss +46 -0
- package/src/components/Switch/Switch.vue +30 -0
- package/src/components/Switch/switch.scss +52 -0
- package/src/components/Table/Cell.vue +23 -0
- package/src/components/Table/Header.vue +59 -0
- package/src/components/Table/Row.vue +9 -0
- package/src/components/Table/SelectAll.vue +23 -0
- package/src/components/Table/SelectRow.vue +29 -0
- package/src/components/Table/Table.vue +66 -0
- package/src/components/Table/table.scss +134 -0
- package/src/components/Table/table.ts +243 -0
- package/src/components/Tabs/Tab.vue +21 -0
- package/src/components/Tabs/Tabs.vue +76 -0
- package/src/components/Tabs/tabs.scss +78 -0
- package/src/components/Toast/Toasts.vue +47 -0
- package/src/components/Toast/toast.scss +41 -0
- package/src/components/Toast/toast.ts +92 -0
- package/src/components/Tooltip/Tooltip.vue +80 -0
- package/src/components/Tooltip/tooltip.scss +4 -0
- package/src/index.scss +1 -0
- package/src/index.ts +111 -0
- package/src/internal/Backdrop/Backdrop.vue +22 -0
- package/src/internal/Backdrop/backdrop.scss +28 -0
- package/src/main.ts +5 -0
- package/src/shared/composables.ts +18 -0
- package/src/shared/helpers.ts +53 -0
- package/src/shared/types.ts +11 -0
- package/src/style/animation.scss +21 -0
- package/src/style/core.scss +128 -0
- package/src/style/fonts.scss +0 -0
- package/src/style/layout.scss +9 -0
- package/src/style/media-query.scss +29 -0
- package/src/style/reset.scss +135 -0
- package/src/style/tooltip.scss +128 -0
- package/src/style/typography.scss +339 -0
- package/src/style/utils.scss +22 -0
- package/src/vite-env.d.ts +1 -0
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { InputProps } from './Input.vue';
|
|
2
|
+
type Props = Omit<InputProps, 'type' | 'modelValue' | 'focus' | 'limit' | 'placeholder'>;
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {
|
|
6
|
+
dragging: boolean;
|
|
7
|
+
}): any;
|
|
8
|
+
};
|
|
9
|
+
refs: {
|
|
10
|
+
dropzone: ({
|
|
11
|
+
$: import('vue').ComponentInternalInstance;
|
|
12
|
+
$data: {};
|
|
13
|
+
$props: {
|
|
14
|
+
readonly modelValue?: (string | number) | undefined;
|
|
15
|
+
readonly type?: import('vue').InputTypeHTMLAttribute | undefined;
|
|
16
|
+
readonly label?: string | undefined;
|
|
17
|
+
readonly hint?: string | undefined;
|
|
18
|
+
readonly limit?: (number | string) | undefined;
|
|
19
|
+
readonly expand?: boolean | undefined;
|
|
20
|
+
readonly placeholder?: string | undefined;
|
|
21
|
+
readonly required?: boolean | undefined;
|
|
22
|
+
readonly readonly?: boolean | undefined;
|
|
23
|
+
readonly focus?: boolean | undefined;
|
|
24
|
+
readonly errors?: string[] | undefined;
|
|
25
|
+
readonly accept?: string | undefined;
|
|
26
|
+
readonly multiple?: boolean | undefined;
|
|
27
|
+
readonly min?: number | undefined;
|
|
28
|
+
readonly max?: number | undefined;
|
|
29
|
+
readonly "onUpdate:modelValue"?: ((modelValue: string | number) => any) | undefined;
|
|
30
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
31
|
+
$attrs: {
|
|
32
|
+
[x: string]: unknown;
|
|
33
|
+
};
|
|
34
|
+
$refs: {
|
|
35
|
+
[x: string]: unknown;
|
|
36
|
+
} & {
|
|
37
|
+
input: HTMLInputElement;
|
|
38
|
+
};
|
|
39
|
+
$slots: Readonly<{
|
|
40
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
41
|
+
}>;
|
|
42
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
43
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
44
|
+
$host: Element | null;
|
|
45
|
+
$emit: (event: "update:modelValue", modelValue: string | number) => void;
|
|
46
|
+
$el: any;
|
|
47
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
48
|
+
modelValue?: string | number;
|
|
49
|
+
} & InputProps> & Readonly<{
|
|
50
|
+
"onUpdate:modelValue"?: ((modelValue: string | number) => any) | undefined;
|
|
51
|
+
}>, {
|
|
52
|
+
focus: () => void;
|
|
53
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
54
|
+
"update:modelValue": (modelValue: string | number) => any;
|
|
55
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
56
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
57
|
+
created?: (() => void) | (() => void)[];
|
|
58
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
59
|
+
mounted?: (() => void) | (() => void)[];
|
|
60
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
61
|
+
updated?: (() => void) | (() => void)[];
|
|
62
|
+
activated?: (() => void) | (() => void)[];
|
|
63
|
+
deactivated?: (() => void) | (() => void)[];
|
|
64
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
65
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
66
|
+
destroyed?: (() => void) | (() => void)[];
|
|
67
|
+
unmounted?: (() => void) | (() => void)[];
|
|
68
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
69
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
70
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
71
|
+
};
|
|
72
|
+
$forceUpdate: () => void;
|
|
73
|
+
$nextTick: typeof import('vue').nextTick;
|
|
74
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
75
|
+
} & Readonly<{}> & Omit<Readonly<{
|
|
76
|
+
modelValue?: string | number;
|
|
77
|
+
} & InputProps> & Readonly<{
|
|
78
|
+
"onUpdate:modelValue"?: ((modelValue: string | number) => any) | undefined;
|
|
79
|
+
}>, "focus"> & import('vue').ShallowUnwrapRef<{
|
|
80
|
+
focus: () => void;
|
|
81
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
82
|
+
$slots: {
|
|
83
|
+
before?(_: {}): any;
|
|
84
|
+
start?(_: {}): any;
|
|
85
|
+
__internal_replace_input?(_: {
|
|
86
|
+
inputId: string;
|
|
87
|
+
}): any;
|
|
88
|
+
end?(_: {}): any;
|
|
89
|
+
after?(_: {}): any;
|
|
90
|
+
};
|
|
91
|
+
}) | null;
|
|
92
|
+
};
|
|
93
|
+
attrs: Partial<{}>;
|
|
94
|
+
};
|
|
95
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
96
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
97
|
+
files: (args_0: FileList) => any;
|
|
98
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
99
|
+
onFiles?: ((args_0: FileList) => any) | undefined;
|
|
100
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
101
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
102
|
+
export default _default;
|
|
103
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
104
|
+
new (): {
|
|
105
|
+
$slots: S;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { InputProps } from './Input.vue';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<Omit<InputProps, "type">, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
|
+
files: (args_0: FileList) => any;
|
|
4
|
+
}, string, import('vue').PublicProps, Readonly<Omit<InputProps, "type">> & Readonly<{
|
|
5
|
+
onFiles?: ((args_0: FileList) => any) | undefined;
|
|
6
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { InputTypeHTMLAttribute } from 'vue';
|
|
2
|
+
export interface InputProps {
|
|
3
|
+
type?: InputTypeHTMLAttribute;
|
|
4
|
+
label?: string;
|
|
5
|
+
hint?: string;
|
|
6
|
+
limit?: number | string;
|
|
7
|
+
expand?: boolean;
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
required?: boolean;
|
|
10
|
+
modelValue?: string | number;
|
|
11
|
+
readonly?: boolean;
|
|
12
|
+
focus?: boolean;
|
|
13
|
+
errors?: string[];
|
|
14
|
+
accept?: string;
|
|
15
|
+
multiple?: boolean;
|
|
16
|
+
min?: number;
|
|
17
|
+
max?: number;
|
|
18
|
+
}
|
|
19
|
+
declare let __VLS_typeProps: InputProps;
|
|
20
|
+
type __VLS_PublicProps = {
|
|
21
|
+
modelValue?: string | number;
|
|
22
|
+
} & typeof __VLS_typeProps;
|
|
23
|
+
declare function __VLS_template(): {
|
|
24
|
+
slots: {
|
|
25
|
+
before?(_: {}): any;
|
|
26
|
+
start?(_: {}): any;
|
|
27
|
+
__internal_replace_input?(_: {
|
|
28
|
+
inputId: string;
|
|
29
|
+
}): any;
|
|
30
|
+
end?(_: {}): any;
|
|
31
|
+
after?(_: {}): any;
|
|
32
|
+
};
|
|
33
|
+
refs: {
|
|
34
|
+
input: HTMLInputElement;
|
|
35
|
+
};
|
|
36
|
+
attrs: Partial<{}>;
|
|
37
|
+
};
|
|
38
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
39
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
40
|
+
focus: () => void;
|
|
41
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
42
|
+
"update:modelValue": (modelValue: string | number) => any;
|
|
43
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
44
|
+
"onUpdate:modelValue"?: ((modelValue: string | number) => any) | undefined;
|
|
45
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
46
|
+
input: HTMLInputElement;
|
|
47
|
+
}, any>;
|
|
48
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
49
|
+
export default _default;
|
|
50
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
51
|
+
new (): {
|
|
52
|
+
$slots: S;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { InputProps } from './Input.vue';
|
|
2
|
+
type Props = Omit<InputProps, 'type'> & {
|
|
3
|
+
showPassword?: boolean;
|
|
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,30 @@
|
|
|
1
|
+
import { InputProps } from './Input.vue';
|
|
2
|
+
type Props = Omit<InputProps, 'type'> & {
|
|
3
|
+
resize?: boolean | 'vertical' | 'horizontal';
|
|
4
|
+
autoResize?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare let __VLS_typeProps: Props;
|
|
7
|
+
type __VLS_PublicProps = {
|
|
8
|
+
modelValue?: string;
|
|
9
|
+
} & typeof __VLS_typeProps;
|
|
10
|
+
declare function __VLS_template(): {
|
|
11
|
+
slots: {
|
|
12
|
+
before?(_: {}): any;
|
|
13
|
+
after?(_: {}): any;
|
|
14
|
+
};
|
|
15
|
+
refs: {};
|
|
16
|
+
attrs: Partial<{}>;
|
|
17
|
+
};
|
|
18
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
20
|
+
"update:modelValue": (modelValue: string) => any;
|
|
21
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
22
|
+
"onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
|
|
23
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
/**
|
|
3
|
+
* Specify the key or the combination of keys connected with "+". Make sure
|
|
4
|
+
* there are no white spaces between letters.
|
|
5
|
+
*
|
|
6
|
+
* keys="Escape" keys="Ctrl+A"
|
|
7
|
+
*/
|
|
8
|
+
keys: string;
|
|
9
|
+
/**
|
|
10
|
+
* Display custom label instead of the automatically formatted keys.
|
|
11
|
+
*/
|
|
12
|
+
label?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Show active state when this combination of keys is pressed.
|
|
15
|
+
*/
|
|
16
|
+
highlight?: boolean;
|
|
17
|
+
}
|
|
18
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
|
+
trigger: () => any;
|
|
20
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
21
|
+
onTrigger?: (() => any) | undefined;
|
|
22
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { VNode } from 'vue';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
slots: Readonly<{
|
|
4
|
+
default: () => Array<VNode & {
|
|
5
|
+
props: {
|
|
6
|
+
keys: string;
|
|
7
|
+
};
|
|
8
|
+
}>;
|
|
9
|
+
}> & {
|
|
10
|
+
default: () => Array<VNode & {
|
|
11
|
+
props: {
|
|
12
|
+
keys: string;
|
|
13
|
+
};
|
|
14
|
+
}>;
|
|
15
|
+
};
|
|
16
|
+
refs: {};
|
|
17
|
+
attrs: Partial<{}>;
|
|
18
|
+
};
|
|
19
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
|
+
trigger: () => any;
|
|
22
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
23
|
+
onTrigger?: (() => any) | undefined;
|
|
24
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
25
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
28
|
+
new (): {
|
|
29
|
+
$slots: S;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Variants } from '../Button/Button.vue';
|
|
2
|
+
import { ModalProps } from './Modal.vue';
|
|
3
|
+
type Props = {
|
|
4
|
+
title?: string;
|
|
5
|
+
content?: string;
|
|
6
|
+
confirmText?: string;
|
|
7
|
+
confirmVariant?: Variants;
|
|
8
|
+
cancelText?: string;
|
|
9
|
+
showCancel?: boolean;
|
|
10
|
+
} & Partial<ModalProps>;
|
|
11
|
+
declare let __VLS_typeProps: Props;
|
|
12
|
+
type __VLS_PublicProps = {
|
|
13
|
+
modelValue?: boolean;
|
|
14
|
+
} & typeof __VLS_typeProps;
|
|
15
|
+
declare function __VLS_template(): {
|
|
16
|
+
slots: {
|
|
17
|
+
default?(_: {}): any;
|
|
18
|
+
};
|
|
19
|
+
refs: {};
|
|
20
|
+
attrs: Partial<{}>;
|
|
21
|
+
};
|
|
22
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
23
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
24
|
+
"update:modelValue": (modelValue: boolean) => any;
|
|
25
|
+
confirm: () => any;
|
|
26
|
+
cancel: () => any;
|
|
27
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
28
|
+
"onUpdate:modelValue"?: ((modelValue: boolean) => any) | undefined;
|
|
29
|
+
onConfirm?: (() => any) | undefined;
|
|
30
|
+
onCancel?: (() => any) | undefined;
|
|
31
|
+
}>, {
|
|
32
|
+
size: import('../../shared/types').Sizes | "full";
|
|
33
|
+
cancelText: string;
|
|
34
|
+
canDismiss: boolean;
|
|
35
|
+
confirmText: string;
|
|
36
|
+
confirmVariant: Variants;
|
|
37
|
+
showCancel: boolean;
|
|
38
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
39
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
40
|
+
export default _default;
|
|
41
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
42
|
+
new (): {
|
|
43
|
+
$slots: S;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { Sizes } from '../../shared/types';
|
|
2
|
+
import { Props as CardProps } from '../Card/Card.vue';
|
|
3
|
+
export interface ModalProps {
|
|
4
|
+
size?: Sizes | 'full';
|
|
5
|
+
/**
|
|
6
|
+
* Modal wraps a floating card. You can optinally pass in any props you'd pass
|
|
7
|
+
* into the <Card /> component.
|
|
8
|
+
*/
|
|
9
|
+
card?: CardProps;
|
|
10
|
+
/**
|
|
11
|
+
* Modal will not overflow the screen, but its card's content will be scrollable instead.
|
|
12
|
+
*/
|
|
13
|
+
scrollable?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Modal appears in the center of the screen
|
|
16
|
+
*/
|
|
17
|
+
centered?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Wether modal can be closed by clicking the X button
|
|
20
|
+
*/
|
|
21
|
+
canDismiss?: boolean;
|
|
22
|
+
}
|
|
23
|
+
declare let __VLS_typeProps: ModalProps;
|
|
24
|
+
declare function close(): void;
|
|
25
|
+
type __VLS_PublicProps = {
|
|
26
|
+
modelValue?: boolean;
|
|
27
|
+
} & typeof __VLS_typeProps;
|
|
28
|
+
declare function __VLS_template(): {
|
|
29
|
+
slots: {
|
|
30
|
+
header?(_: {
|
|
31
|
+
close: typeof close;
|
|
32
|
+
}): any;
|
|
33
|
+
default?(_: {
|
|
34
|
+
close: typeof close;
|
|
35
|
+
}): any;
|
|
36
|
+
footer?(_: {
|
|
37
|
+
close: typeof close;
|
|
38
|
+
}): any;
|
|
39
|
+
};
|
|
40
|
+
refs: {};
|
|
41
|
+
attrs: Partial<{}>;
|
|
42
|
+
};
|
|
43
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
44
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
45
|
+
"update:modelValue": (modelValue: boolean) => any;
|
|
46
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
47
|
+
"onUpdate:modelValue"?: ((modelValue: boolean) => any) | undefined;
|
|
48
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
49
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
50
|
+
export default _default;
|
|
51
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
52
|
+
new (): {
|
|
53
|
+
$slots: S;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Pagination } from './pagination';
|
|
2
|
+
interface Props {
|
|
3
|
+
numbers?: boolean;
|
|
4
|
+
pagination: Pagination;
|
|
5
|
+
prevNext?: boolean;
|
|
6
|
+
firstLast?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare function setNext(): void;
|
|
9
|
+
declare function setPrev(): void;
|
|
10
|
+
declare function __VLS_template(): {
|
|
11
|
+
slots: {
|
|
12
|
+
start?(_: {}): any;
|
|
13
|
+
prev?(_: {
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
setPage: typeof setPrev;
|
|
16
|
+
}): any;
|
|
17
|
+
next?(_: {
|
|
18
|
+
disabled: boolean;
|
|
19
|
+
setPage: typeof setNext;
|
|
20
|
+
}): any;
|
|
21
|
+
end?(_: {}): any;
|
|
22
|
+
};
|
|
23
|
+
refs: {};
|
|
24
|
+
attrs: Partial<{}>;
|
|
25
|
+
};
|
|
26
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
27
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
28
|
+
change: (page: number) => any;
|
|
29
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
30
|
+
onChange?: ((page: number) => any) | undefined;
|
|
31
|
+
}>, {
|
|
32
|
+
numbers: boolean;
|
|
33
|
+
prevNext: boolean;
|
|
34
|
+
firstLast: boolean;
|
|
35
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
36
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
37
|
+
export default _default;
|
|
38
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
39
|
+
new (): {
|
|
40
|
+
$slots: S;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface Pagination {
|
|
2
|
+
totalItems: number;
|
|
3
|
+
currentPage: number;
|
|
4
|
+
perPage: number;
|
|
5
|
+
totalPages: number;
|
|
6
|
+
startPage: number;
|
|
7
|
+
endPage: number;
|
|
8
|
+
startIndex: number;
|
|
9
|
+
endIndex: number;
|
|
10
|
+
pages: number[];
|
|
11
|
+
}
|
|
12
|
+
export declare function paginate(totalItems: number, currentPage?: number, perPage?: number, maxPages?: number): Pagination;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { MaybeElement, Placement } from '@floating-ui/vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
anchor: MaybeElement<HTMLElement>;
|
|
4
|
+
/**
|
|
5
|
+
* Override the autoPlacement option
|
|
6
|
+
*/
|
|
7
|
+
placement?: Placement;
|
|
8
|
+
/**
|
|
9
|
+
* Distance between the anchor and the rendered tooltip
|
|
10
|
+
*/
|
|
11
|
+
offset?: number;
|
|
12
|
+
}
|
|
13
|
+
declare function __VLS_template(): {
|
|
14
|
+
slots: {
|
|
15
|
+
default?(_: {}): any;
|
|
16
|
+
};
|
|
17
|
+
refs: {
|
|
18
|
+
popout: HTMLDivElement;
|
|
19
|
+
};
|
|
20
|
+
attrs: Partial<{}>;
|
|
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
|
+
offset: number;
|
|
25
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
26
|
+
popout: HTMLDivElement;
|
|
27
|
+
}, any>;
|
|
28
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
29
|
+
export default _default;
|
|
30
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
31
|
+
new (): {
|
|
32
|
+
$slots: S;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
/**
|
|
3
|
+
* Will randomly increment but never actually reach the end
|
|
4
|
+
*/
|
|
5
|
+
fake?: boolean;
|
|
6
|
+
/**
|
|
7
|
+
* Indicator color. Use CSS color values or variables
|
|
8
|
+
*/
|
|
9
|
+
color?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Displays loader at the top of the page. It is only displayed when the
|
|
12
|
+
* progress is between 0 and 100 (exclusive).
|
|
13
|
+
*/
|
|
14
|
+
fixed?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Height
|
|
17
|
+
*/
|
|
18
|
+
height?: number | string;
|
|
19
|
+
}
|
|
20
|
+
declare let __VLS_typeProps: Props;
|
|
21
|
+
type __VLS_PublicProps = {
|
|
22
|
+
modelValue?: number;
|
|
23
|
+
} & typeof __VLS_typeProps;
|
|
24
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
25
|
+
"update:modelValue": (modelValue: number) => any;
|
|
26
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
27
|
+
"onUpdate:modelValue"?: ((modelValue: number) => any) | undefined;
|
|
28
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
29
|
+
progress: HTMLDivElement;
|
|
30
|
+
}, any>;
|
|
31
|
+
export default _default;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export interface RadioProps {
|
|
2
|
+
label?: string;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
value: string;
|
|
5
|
+
}
|
|
6
|
+
declare let __VLS_typeProps: RadioProps;
|
|
7
|
+
type __VLS_PublicProps = {
|
|
8
|
+
modelValue?: any;
|
|
9
|
+
} & typeof __VLS_typeProps;
|
|
10
|
+
declare function __VLS_template(): {
|
|
11
|
+
slots: Readonly<Record<string, any>> & Record<string, any>;
|
|
12
|
+
refs: {};
|
|
13
|
+
attrs: Partial<{}>;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
+
"update:modelValue": (modelValue: any) => any;
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
19
|
+
"onUpdate:modelValue"?: ((modelValue: any) => any) | undefined;
|
|
20
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { VNode } from 'vue';
|
|
2
|
+
import { FlexProps } from '../Flex/Flex.vue';
|
|
3
|
+
import { RadioProps } from './Radio.vue';
|
|
4
|
+
interface Props extends FlexProps {
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare let __VLS_typeProps: Props;
|
|
8
|
+
type __VLS_PublicProps = {
|
|
9
|
+
modelValue?: any;
|
|
10
|
+
} & typeof __VLS_typeProps;
|
|
11
|
+
declare function __VLS_template(): {
|
|
12
|
+
slots: Readonly<{
|
|
13
|
+
default: () => {
|
|
14
|
+
children: Array<VNode & {
|
|
15
|
+
props: RadioProps;
|
|
16
|
+
}>;
|
|
17
|
+
}[];
|
|
18
|
+
}> & {
|
|
19
|
+
default: () => {
|
|
20
|
+
children: Array<VNode & {
|
|
21
|
+
props: RadioProps;
|
|
22
|
+
}>;
|
|
23
|
+
}[];
|
|
24
|
+
};
|
|
25
|
+
refs: {};
|
|
26
|
+
attrs: Partial<{}>;
|
|
27
|
+
};
|
|
28
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
29
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
30
|
+
"update:modelValue": (modelValue: any) => any;
|
|
31
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
32
|
+
"onUpdate:modelValue"?: ((modelValue: any) => any) | undefined;
|
|
33
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
34
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
35
|
+
export default _default;
|
|
36
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
37
|
+
new (): {
|
|
38
|
+
$slots: S;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export type SelectOption = {
|
|
2
|
+
value: any;
|
|
3
|
+
label: string;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: <T>(__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<{
|
|
6
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
7
|
+
readonly "onUpdate:modelValue"?: ((modelValue: SelectOption[] | undefined) => any) | undefined;
|
|
8
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue"> & ({
|
|
9
|
+
modelValue?: SelectOption[] | undefined;
|
|
10
|
+
} & {
|
|
11
|
+
single?: boolean;
|
|
12
|
+
readonly?: boolean;
|
|
13
|
+
options: SelectOption[];
|
|
14
|
+
label?: string;
|
|
15
|
+
placeholder?: string;
|
|
16
|
+
required?: boolean;
|
|
17
|
+
expand?: boolean;
|
|
18
|
+
hint?: string;
|
|
19
|
+
search?: boolean;
|
|
20
|
+
maxActiveOptions?: number;
|
|
21
|
+
showClear?: boolean;
|
|
22
|
+
})> & import('vue').PublicProps;
|
|
23
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
24
|
+
attrs: any;
|
|
25
|
+
slots: {};
|
|
26
|
+
emit: {
|
|
27
|
+
'update:modelValue': [modelValue: SelectOption[] | undefined];
|
|
28
|
+
};
|
|
29
|
+
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
30
|
+
[key: string]: any;
|
|
31
|
+
}> & {
|
|
32
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
33
|
+
};
|
|
34
|
+
export default _default;
|
|
35
|
+
type __VLS_PrettifyLocal<T> = {
|
|
36
|
+
[K in keyof T]: T[K];
|
|
37
|
+
} & {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
position?: 'left' | 'right' | 'top' | 'bottom';
|
|
3
|
+
size?: number | string;
|
|
4
|
+
separator?: boolean;
|
|
5
|
+
}
|
|
6
|
+
declare let __VLS_typeProps: Props;
|
|
7
|
+
declare function close(): void;
|
|
8
|
+
type __VLS_PublicProps = {
|
|
9
|
+
modelValue?: boolean;
|
|
10
|
+
} & typeof __VLS_typeProps;
|
|
11
|
+
declare function __VLS_template(): {
|
|
12
|
+
slots: {
|
|
13
|
+
header?(_: {
|
|
14
|
+
close: typeof close;
|
|
15
|
+
}): any;
|
|
16
|
+
default?(_: {
|
|
17
|
+
close: typeof close;
|
|
18
|
+
}): any;
|
|
19
|
+
};
|
|
20
|
+
refs: {};
|
|
21
|
+
attrs: Partial<{}>;
|
|
22
|
+
};
|
|
23
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
24
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
25
|
+
"update:modelValue": (modelValue: boolean) => any;
|
|
26
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
27
|
+
"onUpdate:modelValue"?: ((modelValue: boolean) => any) | undefined;
|
|
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,8 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
radius?: string | number;
|
|
3
|
+
width?: string | number;
|
|
4
|
+
height?: string | number;
|
|
5
|
+
circle?: boolean;
|
|
6
|
+
}
|
|
7
|
+
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>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Sizes } from '../../shared/types';
|
|
2
|
+
interface Props {
|
|
3
|
+
size?: Sizes;
|
|
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;
|