@dolanske/vui 1.4.0 → 1.4.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/dist/components/Accordion/Accordion.vue.d.ts +48 -0
- package/dist/components/Accordion/AccordionGroup.vue.d.ts +21 -0
- package/dist/components/Alert/Alert.vue.d.ts +36 -0
- package/dist/components/Avatar/Avatar.vue.d.ts +25 -0
- package/dist/components/Badge/Badge.vue.d.ts +22 -0
- package/dist/components/Breadcrumbs/BreadcrumbItem.vue.d.ts +22 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.vue.d.ts +18 -0
- package/dist/components/Button/Button.vue.d.ts +32 -0
- package/dist/components/ButtonGroup/ButtonGroup.vue.d.ts +22 -0
- package/dist/components/Calendar/Calendar.vue.d.ts +27 -0
- package/dist/components/Card/Card.vue.d.ts +26 -0
- package/dist/components/Checkbox/Checkbox.vue.d.ts +33 -0
- package/dist/components/CopyClipboard/CopyClipboard.vue.d.ts +46 -0
- package/dist/components/Divider/Divider.vue.d.ts +23 -0
- package/dist/components/Drawer/Drawer.vue.d.ts +53 -0
- package/dist/components/Dropdown/Dropdown.vue.d.ts +177 -0
- package/dist/components/Dropdown/DropdownItem.vue.d.ts +23 -0
- package/dist/components/Dropdown/DropdownTitle.vue.d.ts +21 -0
- package/dist/components/Flex/Flex.vue.d.ts +41 -0
- package/dist/components/Grid/Grid.vue.d.ts +35 -0
- package/dist/components/Input/Color.vue.d.ts +11 -0
- package/dist/components/Input/Counter.vue.d.ts +19 -0
- package/dist/components/Input/Dropzone.vue.d.ts +193 -0
- package/dist/components/Input/File.vue.d.ts +8 -0
- package/dist/components/Input/Input.vue.d.ts +56 -0
- package/dist/components/Input/Password.vue.d.ts +6 -0
- package/dist/components/Input/Textarea.vue.d.ts +31 -0
- package/dist/components/Kbd/Kbd.vue.d.ts +23 -0
- package/dist/components/Kbd/KbdGroup.vue.d.ts +19 -0
- package/dist/components/Modal/Confirm.vue.d.ts +43 -0
- package/dist/components/Modal/Modal.vue.d.ts +58 -0
- package/dist/components/OTP/OTP.vue.d.ts +44 -0
- package/dist/components/OTP/OTPItem.vue.d.ts +5 -0
- package/dist/components/Pagination/Pagination.vue.d.ts +46 -0
- package/dist/components/Pagination/pagination.d.ts +12 -0
- package/dist/components/Popout/Popout.vue.d.ts +36 -0
- package/dist/components/Progress/Progress.vue.d.ts +33 -0
- package/dist/components/Radio/Radio.vue.d.ts +29 -0
- package/dist/components/Radio/RadioGroup.vue.d.ts +27 -0
- package/dist/components/Select/Select.vue.d.ts +35 -0
- package/dist/components/Sheet/Sheet.vue.d.ts +47 -0
- package/dist/components/Sidebar/Sidebar.vue.d.ts +70 -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 +28 -0
- package/dist/components/Table/Cell.vue.d.ts +22 -0
- package/dist/components/Table/Head.vue.d.ts +30 -0
- package/dist/components/Table/Root.vue.d.ts +41 -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/index.d.ts +6 -0
- package/dist/components/Table/table.d.ts +68 -0
- package/dist/components/Tabs/Tab.vue.d.ts +22 -0
- package/dist/components/Tabs/Tabs.vue.d.ts +34 -0
- package/dist/components/Toast/Toasts.vue.d.ts +2 -0
- package/dist/components/Toast/toast.d.ts +287 -0
- package/dist/components/Tooltip/Tooltip.vue.d.ts +33 -0
- package/dist/fonts/GeistMono-Regular.ttf +0 -0
- package/dist/fonts/GeistMono-SemiBold.ttf +0 -0
- package/dist/fonts/Inter_18pt-Black.ttf +0 -0
- package/dist/fonts/Inter_18pt-Bold.ttf +0 -0
- package/dist/fonts/Inter_18pt-ExtraBold.ttf +0 -0
- package/dist/fonts/Inter_18pt-Light.ttf +0 -0
- package/dist/fonts/Inter_18pt-Medium.ttf +0 -0
- package/dist/fonts/Inter_18pt-Regular.ttf +0 -0
- package/dist/fonts/Inter_18pt-SemiBold.ttf +0 -0
- package/dist/index.d.ts +56 -0
- package/dist/internal/Backdrop/Backdrop.vue.d.ts +21 -0
- package/dist/shared/helpers.d.ts +34 -0
- package/dist/shared/slots.d.ts +20 -0
- package/dist/shared/theme.d.ts +3 -0
- package/dist/shared/types.d.ts +24 -0
- package/dist/vui.css +1 -0
- package/dist/vui.js +16215 -0
- package/package.json +1 -2
- package/src/App.vue +0 -103
- package/src/components/Accordion/Accordion.vue +0 -98
- package/src/components/Accordion/AccordionGroup.vue +0 -49
- package/src/components/Accordion/accordion.scss +0 -97
- package/src/components/Alert/Alert.vue +0 -59
- package/src/components/Alert/alert.scss +0 -162
- package/src/components/Avatar/Avatar.vue +0 -53
- package/src/components/Avatar/avatar.scss +0 -52
- package/src/components/Badge/Badge.vue +0 -21
- package/src/components/Badge/badge.scss +0 -210
- package/src/components/Breadcrumbs/BreadcrumbItem.vue +0 -26
- package/src/components/Breadcrumbs/Breadcrumbs.vue +0 -29
- package/src/components/Breadcrumbs/breadcrumbs.scss +0 -31
- package/src/components/Button/Button.vue +0 -86
- package/src/components/Button/button.scss +0 -292
- package/src/components/ButtonGroup/ButtonGroup.vue +0 -28
- package/src/components/ButtonGroup/button-group.scss +0 -51
- package/src/components/Calendar/Calendar.vue +0 -66
- package/src/components/Calendar/calendar.scss +0 -88
- package/src/components/Card/Card.vue +0 -48
- package/src/components/Card/card.scss +0 -55
- package/src/components/Checkbox/Checkbox.vue +0 -54
- package/src/components/Checkbox/checkbox.scss +0 -80
- package/src/components/CopyClipboard/CopyClipboard.vue +0 -98
- package/src/components/CopyClipboard/copy-clipboard.scss +0 -25
- package/src/components/Divider/Divider.vue +0 -38
- package/src/components/Divider/divider.scss +0 -37
- package/src/components/Drawer/Drawer.vue +0 -102
- package/src/components/Drawer/drawer.scss +0 -37
- package/src/components/Dropdown/Dropdown.vue +0 -120
- package/src/components/Dropdown/DropdownItem.vue +0 -33
- package/src/components/Dropdown/DropdownTitle.vue +0 -14
- package/src/components/Dropdown/dropdown-item.scss +0 -84
- package/src/components/Dropdown/dropdown.scss +0 -53
- package/src/components/Flex/Flex.vue +0 -113
- package/src/components/Grid/Grid.vue +0 -87
- package/src/components/Input/Color.vue +0 -26
- package/src/components/Input/Counter.vue +0 -66
- package/src/components/Input/Dropzone.vue +0 -65
- package/src/components/Input/File.vue +0 -15
- package/src/components/Input/Input.vue +0 -123
- package/src/components/Input/Password.vue +0 -35
- package/src/components/Input/Textarea.vue +0 -78
- package/src/components/Input/input.scss +0 -302
- package/src/components/Kbd/Kbd.vue +0 -48
- package/src/components/Kbd/KbdGroup.vue +0 -28
- package/src/components/Kbd/kbd.scss +0 -19
- package/src/components/Modal/Confirm.vue +0 -56
- package/src/components/Modal/Modal.vue +0 -103
- package/src/components/Modal/modal.scss +0 -54
- package/src/components/OTP/OTP.vue +0 -133
- package/src/components/OTP/OTPItem.vue +0 -37
- package/src/components/OTP/otp.scss +0 -84
- package/src/components/Pagination/Pagination.vue +0 -92
- package/src/components/Pagination/pagination.ts +0 -78
- package/src/components/Popout/Popout.vue +0 -73
- package/src/components/Popout/popout.scss +0 -16
- package/src/components/Progress/Progress.vue +0 -103
- package/src/components/Progress/progress.scss +0 -47
- package/src/components/Radio/Radio.vue +0 -38
- package/src/components/Radio/RadioGroup.vue +0 -34
- package/src/components/Radio/radio.scss +0 -78
- package/src/components/Select/Select.vue +0 -212
- package/src/components/Select/select.scss +0 -82
- package/src/components/Sheet/Sheet.vue +0 -106
- package/src/components/Sheet/sheet.scss +0 -71
- package/src/components/Sidebar/Sidebar.vue +0 -116
- package/src/components/Sidebar/sidebar.scss +0 -124
- package/src/components/Skeleton/Skeleton.vue +0 -43
- package/src/components/Skeleton/skeleton.scss +0 -14
- package/src/components/Spinner/Spinner.vue +0 -42
- package/src/components/Spinner/spinner.scss +0 -47
- package/src/components/Switch/Switch.vue +0 -31
- package/src/components/Switch/switch.scss +0 -93
- package/src/components/Table/Cell.vue +0 -23
- package/src/components/Table/Head.vue +0 -66
- package/src/components/Table/Root.vue +0 -66
- package/src/components/Table/SelectAll.vue +0 -23
- package/src/components/Table/SelectRow.vue +0 -30
- package/src/components/Table/index.ts +0 -7
- package/src/components/Table/table.scss +0 -155
- package/src/components/Table/table.ts +0 -248
- package/src/components/Tabs/Tab.vue +0 -25
- package/src/components/Tabs/Tabs.vue +0 -90
- package/src/components/Tabs/tabs.scss +0 -87
- package/src/components/Toast/Toasts.vue +0 -52
- package/src/components/Toast/toast.scss +0 -45
- package/src/components/Toast/toast.ts +0 -75
- package/src/components/Tooltip/Tooltip.vue +0 -78
- package/src/components/Tooltip/tooltip.scss +0 -5
- package/src/examples/ExampleAccordions.vue +0 -69
- package/src/examples/ExampleAlerts.vue +0 -78
- package/src/examples/ExampleAvatars.vue +0 -44
- package/src/examples/ExampleBadges.vue +0 -48
- package/src/examples/ExampleBreadcrumbs.vue +0 -46
- package/src/examples/ExampleButtons.vue +0 -148
- package/src/examples/ExampleCalendars.vue +0 -40
- package/src/examples/ExampleCards.vue +0 -94
- package/src/examples/ExampleCheckboxes.vue +0 -123
- package/src/examples/ExampleCopyClipboard.vue +0 -47
- package/src/examples/ExampleDividers.vue +0 -39
- package/src/examples/ExampleDrawers.vue +0 -67
- package/src/examples/ExampleDropdowns.vue +0 -114
- package/src/examples/ExampleFlexGrid.vue +0 -124
- package/src/examples/ExampleInputs.vue +0 -236
- package/src/examples/ExampleKBD.vue +0 -65
- package/src/examples/ExampleModals.vue +0 -143
- package/src/examples/ExamplePalette.vue +0 -165
- package/src/examples/ExamplePopouts.vue +0 -41
- package/src/examples/ExampleSheets.vue +0 -77
- package/src/examples/ExampleSidebars.vue +0 -276
- package/src/examples/ExampleSkeletons.vue +0 -26
- package/src/examples/ExampleSpinners.vue +0 -80
- package/src/examples/ExampleTables.vue +0 -359
- package/src/examples/ExampleTabs.vue +0 -142
- package/src/examples/ExampleToasts.vue +0 -96
- package/src/examples/ExampleTooltips.vue +0 -70
- package/src/examples/shared/ExampleColor.vue +0 -28
- package/src/index.ts +0 -116
- package/src/internal/Backdrop/Backdrop.vue +0 -22
- package/src/internal/Backdrop/backdrop.scss +0 -34
- package/src/main.ts +0 -5
- package/src/shared/helpers.ts +0 -124
- package/src/shared/slots.ts +0 -61
- package/src/shared/theme.ts +0 -22
- package/src/shared/types.ts +0 -29
- package/src/style/animation.scss +0 -50
- package/src/style/core.scss +0 -133
- package/src/style/fonts.scss +0 -73
- package/src/style/layout.scss +0 -179
- package/src/style/media-query.scss +0 -29
- package/src/style/reset.scss +0 -135
- package/src/style/text.scss +0 -137
- package/src/style/theme.scss +0 -195
- package/src/style/tooltip.scss +0 -146
- package/src/style/typography.scss +0 -435
- package/src/style/utils.scss +0 -36
- package/src/style.scss +0 -1
- package/src/vite-env.d.ts +0 -1
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { Variants } from '../Button/Button.vue';
|
|
2
|
+
import { Pagination } from './pagination';
|
|
3
|
+
interface Props {
|
|
4
|
+
numbers?: boolean;
|
|
5
|
+
pagination: Pagination;
|
|
6
|
+
prevNext?: boolean;
|
|
7
|
+
firstLast?: boolean;
|
|
8
|
+
variant?: Variants;
|
|
9
|
+
}
|
|
10
|
+
declare function setNext(): void;
|
|
11
|
+
declare function setPrev(): void;
|
|
12
|
+
declare function __VLS_template(): {
|
|
13
|
+
attrs: Partial<{}>;
|
|
14
|
+
slots: {
|
|
15
|
+
start?(_: {}): any;
|
|
16
|
+
prev?(_: {
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
setPage: typeof setPrev;
|
|
19
|
+
}): any;
|
|
20
|
+
next?(_: {
|
|
21
|
+
disabled: boolean;
|
|
22
|
+
setPage: typeof setNext;
|
|
23
|
+
}): any;
|
|
24
|
+
end?(_: {}): any;
|
|
25
|
+
};
|
|
26
|
+
refs: {};
|
|
27
|
+
rootEl: HTMLDivElement;
|
|
28
|
+
};
|
|
29
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
30
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
31
|
+
change: (page: number) => any;
|
|
32
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
33
|
+
onChange?: ((page: number) => any) | undefined;
|
|
34
|
+
}>, {
|
|
35
|
+
variant: Variants;
|
|
36
|
+
numbers: boolean;
|
|
37
|
+
prevNext: boolean;
|
|
38
|
+
firstLast: boolean;
|
|
39
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
40
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
41
|
+
export default _default;
|
|
42
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
43
|
+
new (): {
|
|
44
|
+
$slots: S;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
@@ -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,36 @@
|
|
|
1
|
+
import { Placement, PopoutMaybeElement } from '../../shared/types';
|
|
2
|
+
export interface Props {
|
|
3
|
+
/**
|
|
4
|
+
* Reference to the HTML element the Popout is anchored to
|
|
5
|
+
*/
|
|
6
|
+
anchor: PopoutMaybeElement<HTMLElement>;
|
|
7
|
+
/**
|
|
8
|
+
* Override the autoPlacement option
|
|
9
|
+
*/
|
|
10
|
+
placement?: Placement;
|
|
11
|
+
/**
|
|
12
|
+
* Distance between the anchor and the rendered tooltip
|
|
13
|
+
*/
|
|
14
|
+
offset?: number;
|
|
15
|
+
/**
|
|
16
|
+
* Set the visibility of the dropdown
|
|
17
|
+
*/
|
|
18
|
+
visible: boolean;
|
|
19
|
+
}
|
|
20
|
+
declare function __VLS_template(): any;
|
|
21
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
23
|
+
clickOutside: () => any;
|
|
24
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
25
|
+
onClickOutside?: (() => any) | undefined;
|
|
26
|
+
}>, {
|
|
27
|
+
offset: number;
|
|
28
|
+
placement: Placement;
|
|
29
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, any, any>;
|
|
30
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
type __VLS_Props = Props;
|
|
21
|
+
type __VLS_PublicProps = {
|
|
22
|
+
modelValue?: number;
|
|
23
|
+
} & __VLS_Props;
|
|
24
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
25
|
+
done: () => any;
|
|
26
|
+
"update:modelValue": (value: number) => any;
|
|
27
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
28
|
+
onDone?: (() => any) | undefined;
|
|
29
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
30
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
31
|
+
progress: HTMLDivElement;
|
|
32
|
+
}, HTMLDivElement>;
|
|
33
|
+
export default _default;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export interface RadioProps {
|
|
2
|
+
label?: string;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
value: any;
|
|
5
|
+
accent?: boolean;
|
|
6
|
+
}
|
|
7
|
+
type __VLS_Props = RadioProps;
|
|
8
|
+
type __VLS_PublicProps = {
|
|
9
|
+
modelValue?: any;
|
|
10
|
+
} & __VLS_Props;
|
|
11
|
+
declare function __VLS_template(): {
|
|
12
|
+
attrs: Partial<{}>;
|
|
13
|
+
slots: Readonly<Record<string, any>> & Record<string, any>;
|
|
14
|
+
refs: {};
|
|
15
|
+
rootEl: HTMLDivElement;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
|
+
"update:modelValue": (value: any) => any;
|
|
20
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
21
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
22
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, 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,27 @@
|
|
|
1
|
+
import { FlexProps } from '../Flex/Flex.vue';
|
|
2
|
+
interface Props extends FlexProps {
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
}
|
|
5
|
+
type __VLS_Props = Props;
|
|
6
|
+
type __VLS_PublicProps = {
|
|
7
|
+
modelValue?: any;
|
|
8
|
+
} & __VLS_Props;
|
|
9
|
+
declare function __VLS_template(): {
|
|
10
|
+
attrs: Partial<{}>;
|
|
11
|
+
slots: Readonly<Record<string, any>> & Record<string, any>;
|
|
12
|
+
refs: {};
|
|
13
|
+
rootEl: HTMLDivElement;
|
|
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": (value: any) => any;
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
19
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
20
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
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,35 @@
|
|
|
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"?: ((value: 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
|
+
disabled?: boolean;
|
|
23
|
+
errors?: string[];
|
|
24
|
+
}) & Partial<{}>> & import('vue').PublicProps;
|
|
25
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
26
|
+
attrs: any;
|
|
27
|
+
slots: {};
|
|
28
|
+
emit: (evt: "update:modelValue", value: SelectOption[] | undefined) => void;
|
|
29
|
+
}>) => import('vue').VNode & {
|
|
30
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
31
|
+
};
|
|
32
|
+
export default _default;
|
|
33
|
+
type __VLS_PrettifyLocal<T> = {
|
|
34
|
+
[K in keyof T]: T[K];
|
|
35
|
+
} & {};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
/**
|
|
3
|
+
* Controls the visibility of the sheet
|
|
4
|
+
*/
|
|
5
|
+
open?: boolean;
|
|
6
|
+
/**
|
|
7
|
+
* Controls the position of the sheet
|
|
8
|
+
*/
|
|
9
|
+
position?: 'left' | 'right' | 'top' | 'bottom';
|
|
10
|
+
/**
|
|
11
|
+
* Sets the width of the sheet
|
|
12
|
+
*/
|
|
13
|
+
size?: number | string;
|
|
14
|
+
/**
|
|
15
|
+
* Wether to show a divider between header and content
|
|
16
|
+
*/
|
|
17
|
+
separator?: boolean;
|
|
18
|
+
}
|
|
19
|
+
declare function __VLS_template(): {
|
|
20
|
+
attrs: Partial<{}>;
|
|
21
|
+
slots: {
|
|
22
|
+
header?(_: {
|
|
23
|
+
close: () => void;
|
|
24
|
+
}): any;
|
|
25
|
+
default?(_: {
|
|
26
|
+
close: () => void;
|
|
27
|
+
}): any;
|
|
28
|
+
footer?(_: {
|
|
29
|
+
close: () => void;
|
|
30
|
+
}): any;
|
|
31
|
+
};
|
|
32
|
+
refs: {};
|
|
33
|
+
rootEl: any;
|
|
34
|
+
};
|
|
35
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
36
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
37
|
+
close: () => any;
|
|
38
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
39
|
+
onClose?: (() => any) | undefined;
|
|
40
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
41
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
42
|
+
export default _default;
|
|
43
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
44
|
+
new (): {
|
|
45
|
+
$slots: S;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
type __VLS_Props = Props;
|
|
2
|
+
interface Props {
|
|
3
|
+
width?: number;
|
|
4
|
+
/**
|
|
5
|
+
* Controls wether the sidebar is displayed in full size, or a small version
|
|
6
|
+
*/
|
|
7
|
+
mini?: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Allow sidebar showing up, when user hovers at very left of the screen. The
|
|
10
|
+
* sidebar will apear over content, not pushing anything over
|
|
11
|
+
*/
|
|
12
|
+
appear?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Add edges of background around sidebar
|
|
15
|
+
*/
|
|
16
|
+
floaty?: boolean;
|
|
17
|
+
}
|
|
18
|
+
type __VLS_PublicProps = {
|
|
19
|
+
modelValue?: boolean;
|
|
20
|
+
} & __VLS_Props;
|
|
21
|
+
declare function __VLS_template(): {
|
|
22
|
+
attrs: Partial<{}>;
|
|
23
|
+
slots: {
|
|
24
|
+
header?(_: {
|
|
25
|
+
mini: boolean;
|
|
26
|
+
floaty: boolean;
|
|
27
|
+
width: number;
|
|
28
|
+
open: import('vue').ModelRef<boolean, string, boolean, boolean>;
|
|
29
|
+
close: () => false;
|
|
30
|
+
}): any;
|
|
31
|
+
default?(_: {
|
|
32
|
+
mini: boolean;
|
|
33
|
+
floaty: boolean;
|
|
34
|
+
width: number;
|
|
35
|
+
open: import('vue').ModelRef<boolean, string, boolean, boolean>;
|
|
36
|
+
close: () => false;
|
|
37
|
+
}): any;
|
|
38
|
+
footer?(_: {
|
|
39
|
+
mini: boolean;
|
|
40
|
+
floaty: boolean;
|
|
41
|
+
width: number;
|
|
42
|
+
open: import('vue').ModelRef<boolean, string, boolean, boolean>;
|
|
43
|
+
close: () => false;
|
|
44
|
+
}): any;
|
|
45
|
+
};
|
|
46
|
+
refs: {
|
|
47
|
+
wrap: HTMLDivElement;
|
|
48
|
+
sidebar: HTMLElement;
|
|
49
|
+
};
|
|
50
|
+
rootEl: HTMLDivElement;
|
|
51
|
+
};
|
|
52
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
53
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
54
|
+
"update:modelValue": (value: boolean) => any;
|
|
55
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
56
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
57
|
+
}>, {
|
|
58
|
+
width: number;
|
|
59
|
+
mini: boolean;
|
|
60
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
61
|
+
wrap: HTMLDivElement;
|
|
62
|
+
sidebar: HTMLElement;
|
|
63
|
+
}, HTMLDivElement>;
|
|
64
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
65
|
+
export default _default;
|
|
66
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
67
|
+
new (): {
|
|
68
|
+
$slots: S;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
@@ -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, {}, HTMLDivElement>;
|
|
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, {}, HTMLDivElement>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
label?: string;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
accent?: boolean;
|
|
5
|
+
}
|
|
6
|
+
type __VLS_Props = Props;
|
|
7
|
+
type __VLS_PublicProps = {
|
|
8
|
+
modelValue?: boolean;
|
|
9
|
+
} & __VLS_Props;
|
|
10
|
+
declare function __VLS_template(): {
|
|
11
|
+
attrs: Partial<{}>;
|
|
12
|
+
slots: Readonly<Record<string, any>> & Record<string, any>;
|
|
13
|
+
refs: {};
|
|
14
|
+
rootEl: HTMLDivElement;
|
|
15
|
+
};
|
|
16
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
|
+
"update:modelValue": (value: boolean) => any;
|
|
19
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
20
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
21
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
22
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
context?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {
|
|
8
|
+
context: HTMLDivElement;
|
|
9
|
+
};
|
|
10
|
+
rootEl: HTMLTableCellElement;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
14
|
+
context: HTMLDivElement;
|
|
15
|
+
}, HTMLTableCellElement>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Header } from './table';
|
|
2
|
+
interface Props {
|
|
3
|
+
/**
|
|
4
|
+
* Main header data. This can be empty in case we are just adding an empty
|
|
5
|
+
* padder. It is recommended to just use <th> instead, but this shouldn't fail
|
|
6
|
+
* anyway
|
|
7
|
+
*/
|
|
8
|
+
header?: Header;
|
|
9
|
+
/**
|
|
10
|
+
* Enable sorting on this column
|
|
11
|
+
*/
|
|
12
|
+
sort?: boolean;
|
|
13
|
+
}
|
|
14
|
+
declare function __VLS_template(): {
|
|
15
|
+
attrs: Partial<{}>;
|
|
16
|
+
slots: {
|
|
17
|
+
default?(_: {}): any;
|
|
18
|
+
};
|
|
19
|
+
refs: {};
|
|
20
|
+
rootEl: HTMLTableCellElement;
|
|
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<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLTableCellElement>;
|
|
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,41 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
/**
|
|
3
|
+
* Sets the `table-layout` property
|
|
4
|
+
*/
|
|
5
|
+
fixed?: boolean;
|
|
6
|
+
/**
|
|
7
|
+
* Table cells with content overflowing on new line will be cropped
|
|
8
|
+
*/
|
|
9
|
+
nowrap?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Add a visual separator between each row
|
|
12
|
+
*/
|
|
13
|
+
separateRows?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Add a visual separator between each cell
|
|
16
|
+
*/
|
|
17
|
+
separateCells?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Wrap table with a border
|
|
20
|
+
*/
|
|
21
|
+
outerBorder?: boolean;
|
|
22
|
+
}
|
|
23
|
+
declare function __VLS_template(): {
|
|
24
|
+
attrs: Partial<{}>;
|
|
25
|
+
slots: {
|
|
26
|
+
header?(_: {}): any;
|
|
27
|
+
body?(_: {}): any;
|
|
28
|
+
pagination?(_: {}): any;
|
|
29
|
+
};
|
|
30
|
+
refs: {};
|
|
31
|
+
rootEl: HTMLDivElement;
|
|
32
|
+
};
|
|
33
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
34
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
35
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
36
|
+
export default _default;
|
|
37
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
38
|
+
new (): {
|
|
39
|
+
$slots: S;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { BaseRow } from './table';
|
|
2
|
+
interface Props {
|
|
3
|
+
row: BaseRow;
|
|
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,6 @@
|
|
|
1
|
+
import { default as Cell } from './Cell.vue';
|
|
2
|
+
import { default as Head } from './Head.vue';
|
|
3
|
+
import { default as Root } from './Root.vue';
|
|
4
|
+
import { default as SelectAll } from './SelectAll.vue';
|
|
5
|
+
import { default as SelectRow } from './SelectRow.vue';
|
|
6
|
+
export { Cell, Head, Root, SelectAll, SelectRow };
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { ComputedRef, InjectionKey, MaybeRefOrGetter, Ref } from 'vue';
|
|
2
|
+
import { DeepRequired } from '../../shared/types';
|
|
3
|
+
export type BaseRow = Record<string, string | number>;
|
|
4
|
+
export interface TableSelectionProvide {
|
|
5
|
+
selectedRows: Ref<Set<BaseRow>>;
|
|
6
|
+
selectRow: (row: BaseRow) => void;
|
|
7
|
+
selectAllRows: () => void;
|
|
8
|
+
enabled: ComputedRef<boolean>;
|
|
9
|
+
isSelectedAll: ComputedRef<boolean>;
|
|
10
|
+
}
|
|
11
|
+
export declare const TableSelectionProvideSymbol: InjectionKey<TableSelectionProvide>;
|
|
12
|
+
export interface Header {
|
|
13
|
+
label: string;
|
|
14
|
+
sortToggle: () => void;
|
|
15
|
+
sortKey?: 'asc' | 'desc';
|
|
16
|
+
}
|
|
17
|
+
interface TableOptionsInput {
|
|
18
|
+
pagination?: {
|
|
19
|
+
enabled?: boolean;
|
|
20
|
+
perPage?: number;
|
|
21
|
+
maxPages?: number;
|
|
22
|
+
};
|
|
23
|
+
select?: boolean;
|
|
24
|
+
}
|
|
25
|
+
export declare function defineTable<const Dataset extends any[]>(computedDataset: MaybeRefOrGetter<Dataset>, tableOptions?: TableOptionsInput): {
|
|
26
|
+
setSort: (key: keyof Dataset[number], type?: "asc" | "desc" | "toggle") => void;
|
|
27
|
+
clearSort: () => void;
|
|
28
|
+
search: Ref<string | undefined, string | undefined>;
|
|
29
|
+
rows: Readonly<Ref<import('vue').DeepReadonly<Dataset>, import('vue').DeepReadonly<Dataset>>>;
|
|
30
|
+
allRows: Readonly<Ref<import('vue').DeepReadonly<Dataset>, import('vue').DeepReadonly<Dataset>>>;
|
|
31
|
+
selectedRows: Readonly<Ref<ReadonlySet<{
|
|
32
|
+
readonly [x: string]: string | number;
|
|
33
|
+
}>, ReadonlySet<{
|
|
34
|
+
readonly [x: string]: string | number;
|
|
35
|
+
}>>>;
|
|
36
|
+
headers: Readonly<Ref<readonly {
|
|
37
|
+
readonly label: string;
|
|
38
|
+
readonly sortToggle: () => void;
|
|
39
|
+
readonly sortKey?: "asc" | "desc" | undefined;
|
|
40
|
+
}[], readonly {
|
|
41
|
+
readonly label: string;
|
|
42
|
+
readonly sortToggle: () => void;
|
|
43
|
+
readonly sortKey?: "asc" | "desc" | undefined;
|
|
44
|
+
}[]>>;
|
|
45
|
+
pagination: ComputedRef<import('../Pagination/pagination').Pagination>;
|
|
46
|
+
canPrevPage: ComputedRef<boolean>;
|
|
47
|
+
canNextPage: ComputedRef<boolean>;
|
|
48
|
+
setPage: (page: number) => void;
|
|
49
|
+
options: Ref<{
|
|
50
|
+
pagination: {
|
|
51
|
+
enabled: boolean;
|
|
52
|
+
perPage: number;
|
|
53
|
+
maxPages: number;
|
|
54
|
+
};
|
|
55
|
+
select: boolean;
|
|
56
|
+
}, DeepRequired<TableOptionsInput> | {
|
|
57
|
+
pagination: {
|
|
58
|
+
enabled: boolean;
|
|
59
|
+
perPage: number;
|
|
60
|
+
maxPages: number;
|
|
61
|
+
};
|
|
62
|
+
select: boolean;
|
|
63
|
+
}>;
|
|
64
|
+
selectRow: (row: Dataset[number]) => void;
|
|
65
|
+
selectAllRows: () => void;
|
|
66
|
+
isSelectedAll: ComputedRef<boolean>;
|
|
67
|
+
};
|
|
68
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface TabProps {
|
|
2
|
+
disabled?: boolean;
|
|
3
|
+
value: string;
|
|
4
|
+
icon?: string;
|
|
5
|
+
}
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: HTMLButtonElement;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<TabProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TabProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
variant?: 'default' | 'filled';
|
|
3
|
+
expand?: boolean;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
}
|
|
6
|
+
type __VLS_Props = Props;
|
|
7
|
+
type __VLS_PublicProps = {
|
|
8
|
+
modelValue?: any;
|
|
9
|
+
} & __VLS_Props;
|
|
10
|
+
declare function __VLS_template(): {
|
|
11
|
+
attrs: Partial<{}>;
|
|
12
|
+
slots: Readonly<Record<string, any>> & Record<string, any>;
|
|
13
|
+
refs: {
|
|
14
|
+
tabs: HTMLDivElement;
|
|
15
|
+
underline: HTMLDivElement;
|
|
16
|
+
};
|
|
17
|
+
rootEl: HTMLDivElement;
|
|
18
|
+
};
|
|
19
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
|
+
"update:modelValue": (value: any) => any;
|
|
22
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
23
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
24
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
25
|
+
tabs: HTMLDivElement;
|
|
26
|
+
underline: HTMLDivElement;
|
|
27
|
+
}, HTMLDivElement>;
|
|
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,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|