@dolanske/vui 0.5.0 → 1.0.1
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 +5 -4
- package/dist/components/Accordion/Accordion.vue.d.ts +3 -2
- package/dist/components/Accordion/AccordionGroup.vue.d.ts +5 -2
- package/dist/components/Alert/Alert.vue.d.ts +10 -3
- package/dist/components/Avatar/Avatar.vue.d.ts +16 -1
- package/dist/components/Badge/Badge.vue.d.ts +4 -3
- package/dist/components/Breadcrumbs/BreadcrumbItem.vue.d.ts +4 -3
- package/dist/components/Breadcrumbs/Breadcrumbs.vue.d.ts +3 -2
- package/dist/components/Button/Button.vue.d.ts +8 -17
- package/dist/components/ButtonGroup/ButtonGroup.vue.d.ts +5 -2
- package/dist/components/Calendar/Calendar.vue.d.ts +7 -7
- package/dist/components/Card/Card.vue.d.ts +4 -3
- package/dist/components/Checkbox/Checkbox.vue.d.ts +8 -6
- package/dist/components/CopyClipboard/CopyClipboard.vue.d.ts +2 -1
- package/dist/components/Divider/Divider.vue.d.ts +3 -2
- package/dist/components/Drawer/Drawer.vue.d.ts +6 -5
- package/dist/components/Dropdown/Dropdown.vue.d.ts +84 -6
- package/dist/components/Dropdown/DropdownItem.vue.d.ts +3 -2
- package/dist/components/Dropdown/DropdownTitle.vue.d.ts +6 -2
- package/dist/components/Flex/Flex.vue.d.ts +3 -2
- package/dist/components/Grid/Grid.vue.d.ts +7 -3
- package/dist/components/Input/Color.vue.d.ts +11 -0
- package/dist/components/Input/Counter.vue.d.ts +5 -5
- package/dist/components/Input/Dropzone.vue.d.ts +96 -11
- package/dist/components/Input/File.vue.d.ts +4 -3
- package/dist/components/Input/Input.vue.d.ts +9 -8
- package/dist/components/Input/Password.vue.d.ts +1 -1
- package/dist/components/Input/Textarea.vue.d.ts +7 -6
- package/dist/components/Kbd/Kbd.vue.d.ts +1 -1
- package/dist/components/Kbd/KbdGroup.vue.d.ts +5 -12
- package/dist/components/Modal/Confirm.vue.d.ts +7 -6
- package/dist/components/Modal/Modal.vue.d.ts +7 -6
- package/dist/components/OTP/OTP.vue.d.ts +7 -6
- package/dist/components/OTP/OTPItem.vue.d.ts +1 -1
- package/dist/components/Pagination/Pagination.vue.d.ts +6 -2
- package/dist/components/Popout/Popout.vue.d.ts +11 -3
- package/dist/components/Progress/Progress.vue.d.ts +7 -5
- package/dist/components/Radio/Radio.vue.d.ts +8 -6
- package/dist/components/Radio/RadioGroup.vue.d.ts +7 -6
- package/dist/components/Select/Select.vue.d.ts +6 -8
- package/dist/components/Sheet/Sheet.vue.d.ts +9 -5
- package/dist/components/Sidebar/Sidebar.vue.d.ts +70 -0
- package/dist/components/Skeleton/Skeleton.vue.d.ts +1 -1
- package/dist/components/Spinner/Spinner.vue.d.ts +1 -1
- package/dist/components/Switch/Switch.vue.d.ts +8 -6
- package/dist/components/Table/Cell.vue.d.ts +5 -2
- package/dist/components/Table/{Header.vue.d.ts → Head.vue.d.ts} +3 -2
- package/dist/components/Table/{Table.vue.d.ts → Root.vue.d.ts} +3 -2
- package/dist/components/Table/index.d.ts +6 -0
- package/dist/components/Table/table.d.ts +3 -3
- package/dist/components/Tabs/Tab.vue.d.ts +17 -3
- package/dist/components/Tabs/Tabs.vue.d.ts +8 -7
- package/dist/components/Toast/toast.d.ts +245 -0
- package/dist/components/Tooltip/Tooltip.vue.d.ts +2 -1
- package/dist/index.d.ts +5 -7
- package/dist/internal/Backdrop/Backdrop.vue.d.ts +3 -2
- package/dist/shared/helpers.d.ts +9 -0
- package/dist/shared/theme.d.ts +3 -0
- package/dist/vui.css +1 -0
- package/dist/vui.js +7160 -6355
- package/package.json +22 -18
- package/src/App.vue +90 -171
- package/src/components/Accordion/accordion.scss +1 -0
- package/src/components/Alert/Alert.vue +11 -5
- package/src/components/Alert/alert.scss +104 -23
- package/src/components/Avatar/Avatar.vue +4 -1
- package/src/components/Avatar/avatar.scss +1 -1
- package/src/components/Badge/Badge.vue +1 -1
- package/src/components/Badge/badge.scss +134 -17
- package/src/components/Breadcrumbs/BreadcrumbItem.vue +2 -2
- package/src/components/Breadcrumbs/Breadcrumbs.vue +1 -2
- package/src/components/Breadcrumbs/breadcrumbs.scss +2 -1
- package/src/components/Button/Button.vue +15 -20
- package/src/components/Button/button.scss +156 -55
- package/src/components/ButtonGroup/ButtonGroup.vue +4 -1
- package/src/components/ButtonGroup/button-group.scss +2 -2
- package/src/components/Calendar/Calendar.vue +4 -1
- package/src/components/Calendar/calendar.scss +25 -2
- package/src/components/Card/Card.vue +2 -2
- package/src/components/Card/card.scss +4 -4
- package/src/components/Checkbox/Checkbox.vue +4 -1
- package/src/components/Checkbox/checkbox.scss +17 -12
- package/src/components/CopyClipboard/CopyClipboard.vue +15 -6
- package/src/components/CopyClipboard/copy-clipboard.scss +10 -2
- package/src/components/Drawer/Drawer.vue +4 -4
- package/src/components/Drawer/drawer.scss +1 -0
- package/src/components/Dropdown/Dropdown.vue +44 -20
- package/src/components/Dropdown/DropdownItem.vue +4 -4
- package/src/components/Dropdown/DropdownTitle.vue +7 -1
- package/src/components/Dropdown/dropdown-item.scss +9 -2
- package/src/components/Dropdown/dropdown.scss +21 -7
- package/src/components/Grid/Grid.vue +21 -1
- package/src/components/Input/Color.vue +26 -0
- package/src/components/Input/Counter.vue +12 -16
- package/src/components/Input/Dropzone.vue +1 -1
- package/src/components/Input/File.vue +1 -1
- package/src/components/Input/Input.vue +8 -6
- package/src/components/Input/Password.vue +1 -13
- package/src/components/Input/Textarea.vue +4 -2
- package/src/components/Input/input.scss +110 -16
- package/src/components/Kbd/KbdGroup.vue +2 -6
- package/src/components/Kbd/kbd.scss +6 -5
- package/src/components/Modal/Confirm.vue +1 -1
- package/src/components/Modal/Modal.vue +23 -15
- package/src/components/Modal/modal.scss +11 -6
- package/src/components/OTP/otp.scss +8 -7
- package/src/components/Pagination/Pagination.vue +6 -3
- package/src/components/Popout/Popout.vue +15 -5
- package/src/components/Popout/popout.scss +8 -1
- package/src/components/Progress/Progress.vue +18 -5
- package/src/components/Progress/progress.scss +7 -1
- package/src/components/Radio/Radio.vue +4 -2
- package/src/components/Radio/radio.scss +18 -8
- package/src/components/Select/Select.vue +49 -18
- package/src/components/Select/select.scss +35 -2
- package/src/components/Sheet/Sheet.vue +8 -2
- package/src/components/Sheet/sheet.scss +9 -0
- package/src/components/Sidebar/Sidebar.vue +24 -11
- package/src/components/Sidebar/sidebar.scss +6 -5
- package/src/components/Spinner/spinner.scss +2 -1
- package/src/components/Switch/Switch.vue +4 -3
- package/src/components/Switch/switch.scss +39 -6
- package/src/components/Table/{Header.vue → Head.vue} +5 -5
- package/src/components/Table/{Table.vue → Root.vue} +2 -2
- package/src/components/Table/SelectRow.vue +2 -1
- package/src/components/Table/index.ts +7 -0
- package/src/components/Table/table.scss +25 -5
- package/src/components/Table/table.ts +7 -3
- package/src/components/Tabs/Tab.vue +7 -9
- package/src/components/Tabs/Tabs.vue +5 -4
- package/src/components/Tabs/tabs.scss +10 -3
- package/src/components/Toast/Toasts.vue +5 -0
- package/src/components/Toast/toast.scss +6 -2
- package/src/components/Toast/toast.ts +7 -0
- package/src/components/Tooltip/Tooltip.vue +9 -9
- package/src/components/Tooltip/tooltip.scss +4 -0
- package/src/examples/ExampleAccordions.vue +58 -0
- package/src/examples/ExampleAlerts.vue +78 -0
- package/src/examples/ExampleAvatars.vue +44 -0
- package/src/examples/ExampleBadges.vue +48 -0
- package/src/examples/ExampleBreadcrumbs.vue +46 -0
- package/src/examples/ExampleButtons.vue +140 -0
- package/src/examples/ExampleCalendars.vue +40 -0
- package/src/examples/ExampleCards.vue +94 -0
- package/src/examples/ExampleCheckboxes.vue +123 -0
- package/src/examples/ExampleCopyClipboard.vue +47 -0
- package/src/examples/ExampleDividers.vue +39 -0
- package/src/examples/ExampleDrawers.vue +67 -0
- package/src/examples/ExampleDropdowns.vue +114 -0
- package/src/examples/ExampleFlexGrid.vue +122 -0
- package/src/examples/ExampleInputs.vue +234 -0
- package/src/examples/ExampleKBD.vue +65 -0
- package/src/examples/ExampleModals.vue +143 -0
- package/src/examples/ExamplePalette.vue +159 -0
- package/src/examples/ExamplePopouts.vue +41 -0
- package/src/examples/ExampleSheets.vue +77 -0
- package/src/examples/ExampleSidebars.vue +270 -0
- package/src/examples/ExampleSkeletons.vue +26 -0
- package/src/examples/ExampleSpinners.vue +78 -0
- package/src/examples/ExampleTables.vue +195 -0
- package/src/examples/ExampleTabs.vue +119 -0
- package/src/examples/ExampleToasts.vue +96 -0
- package/src/examples/ExampleTooltips.vue +70 -0
- package/src/examples/shared/ExampleColor.vue +28 -0
- package/src/index.ts +8 -11
- package/src/internal/Backdrop/backdrop.scss +7 -1
- package/src/shared/helpers.ts +43 -0
- package/src/shared/theme.ts +22 -0
- package/src/style/animation.scss +1 -0
- package/src/style/core.scss +30 -55
- package/src/style/layout.scss +74 -9
- package/src/style/text.scss +18 -0
- package/src/style/theme.scss +195 -0
- package/src/style/tooltip.scss +22 -4
- package/src/style/typography.scss +95 -18
- package/dist/components/Table/Row.vue.d.ts +0 -16
- package/dist/style.css +0 -1
- package/src/components/Table/Row.vue +0 -9
package/README.md
CHANGED
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
## 1.0 Checklist
|
|
10
10
|
|
|
11
11
|
- [ ] Real life test
|
|
12
|
-
- [
|
|
13
|
-
- [
|
|
14
|
-
- [
|
|
15
|
-
- [
|
|
12
|
+
- [x] Might be useful to build this in the hivecom project
|
|
13
|
+
- [x] Build an example page with 100% of the components
|
|
14
|
+
- [x] Run accessibility tools on it
|
|
15
|
+
- [x] Run color contrast test
|
|
16
16
|
- [ ] Make sure it works on mobile down to 340px
|
|
17
17
|
- [ ] Components
|
|
18
18
|
- [ ] Scale down Typography
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
- [ ] Code highlighting
|
|
28
28
|
- [ ] Copy code
|
|
29
29
|
- [ ] Type, padding, etc
|
|
30
|
+
- [ ] Use this https://shiki.style/guide/install
|
|
30
31
|
- [ ] Command dropdown
|
|
31
32
|
- [ ] Documentation
|
|
32
33
|
- [ ] Design my own documentation site (GENERIC?!)
|
|
@@ -7,6 +7,7 @@ declare function open(): void;
|
|
|
7
7
|
declare function close(): void;
|
|
8
8
|
declare function toggle(): void;
|
|
9
9
|
declare function __VLS_template(): {
|
|
10
|
+
attrs: Partial<{}>;
|
|
10
11
|
slots: {
|
|
11
12
|
trigger?(_: {
|
|
12
13
|
open: typeof open;
|
|
@@ -20,7 +21,7 @@ declare function __VLS_template(): {
|
|
|
20
21
|
refs: {
|
|
21
22
|
content: HTMLDivElement;
|
|
22
23
|
};
|
|
23
|
-
|
|
24
|
+
rootEl: HTMLDivElement;
|
|
24
25
|
};
|
|
25
26
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
26
27
|
declare const __VLS_component: import('vue').DefineComponent<AccordionProps, {
|
|
@@ -36,7 +37,7 @@ declare const __VLS_component: import('vue').DefineComponent<AccordionProps, {
|
|
|
36
37
|
onClose?: (() => any) | undefined;
|
|
37
38
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
38
39
|
content: HTMLDivElement;
|
|
39
|
-
},
|
|
40
|
+
}, HTMLDivElement>;
|
|
40
41
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
41
42
|
export default _default;
|
|
42
43
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -7,6 +7,7 @@ interface Props {
|
|
|
7
7
|
single?: boolean;
|
|
8
8
|
}
|
|
9
9
|
declare function __VLS_template(): {
|
|
10
|
+
attrs: Partial<{}>;
|
|
10
11
|
slots: Readonly<{
|
|
11
12
|
default: () => Array<VNode & {
|
|
12
13
|
props: AccordionProps;
|
|
@@ -19,10 +20,12 @@ declare function __VLS_template(): {
|
|
|
19
20
|
refs: {
|
|
20
21
|
accordion: unknown[];
|
|
21
22
|
};
|
|
22
|
-
|
|
23
|
+
rootEl: any;
|
|
23
24
|
};
|
|
24
25
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
25
|
-
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, {
|
|
26
|
+
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, {
|
|
27
|
+
accordion: unknown[];
|
|
28
|
+
}, any>;
|
|
26
29
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
27
30
|
export default _default;
|
|
28
31
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -5,21 +5,28 @@ interface Props {
|
|
|
5
5
|
*/
|
|
6
6
|
icon?: string;
|
|
7
7
|
/**
|
|
8
|
-
* Setting a title and description will use slightly different styling other
|
|
8
|
+
* Setting a title and description will use slightly different styling other
|
|
9
|
+
* than slots.
|
|
9
10
|
*/
|
|
10
11
|
title?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Use strong color
|
|
14
|
+
*/
|
|
15
|
+
filled?: boolean;
|
|
11
16
|
description?: string;
|
|
12
17
|
}
|
|
13
18
|
declare function __VLS_template(): {
|
|
19
|
+
attrs: Partial<{}>;
|
|
14
20
|
slots: {
|
|
21
|
+
default?(_: {}): any;
|
|
15
22
|
default?(_: {}): any;
|
|
16
23
|
end?(_: {}): any;
|
|
17
24
|
};
|
|
18
25
|
refs: {};
|
|
19
|
-
|
|
26
|
+
rootEl: HTMLDivElement;
|
|
20
27
|
};
|
|
21
28
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
|
-
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, {},
|
|
29
|
+
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>;
|
|
23
30
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
31
|
export default _default;
|
|
25
32
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -6,5 +6,20 @@ interface Props {
|
|
|
6
6
|
icon?: string;
|
|
7
7
|
alt?: string;
|
|
8
8
|
}
|
|
9
|
-
declare
|
|
9
|
+
declare function __VLS_template(): {
|
|
10
|
+
attrs: Partial<{}>;
|
|
11
|
+
slots: {
|
|
12
|
+
default?(_: {}): any;
|
|
13
|
+
};
|
|
14
|
+
refs: {};
|
|
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<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
19
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
10
20
|
export default _default;
|
|
21
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
interface Props {
|
|
2
|
-
variant?: 'neutral' | 'danger' | 'warning' | 'success' | 'info';
|
|
2
|
+
variant?: 'neutral' | 'danger' | 'warning' | 'success' | 'info' | 'accent';
|
|
3
3
|
outline?: boolean;
|
|
4
4
|
filled?: boolean;
|
|
5
5
|
}
|
|
6
6
|
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
7
8
|
slots: {
|
|
8
9
|
default?(_: {}): any;
|
|
9
10
|
};
|
|
10
11
|
refs: {};
|
|
11
|
-
|
|
12
|
+
rootEl: HTMLDivElement;
|
|
12
13
|
};
|
|
13
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
-
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, {},
|
|
15
|
+
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>;
|
|
15
16
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
17
|
export default _default;
|
|
17
18
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
export interface BreadcrumbItemProps {
|
|
2
2
|
label?: string;
|
|
3
|
-
|
|
3
|
+
href?: string;
|
|
4
4
|
}
|
|
5
5
|
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
6
7
|
slots: {
|
|
7
8
|
default?(_: {}): any;
|
|
8
9
|
default?(_: {}): any;
|
|
9
10
|
};
|
|
10
11
|
refs: {};
|
|
11
|
-
|
|
12
|
+
rootEl: HTMLLIElement;
|
|
12
13
|
};
|
|
13
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
-
declare const __VLS_component: import('vue').DefineComponent<BreadcrumbItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BreadcrumbItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<BreadcrumbItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BreadcrumbItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLIElement>;
|
|
15
16
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
17
|
export default _default;
|
|
17
18
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -4,6 +4,7 @@ interface Props {
|
|
|
4
4
|
separator?: string;
|
|
5
5
|
}
|
|
6
6
|
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
7
8
|
slots: Readonly<{
|
|
8
9
|
default: () => Array<VNode & {
|
|
9
10
|
props: BreadcrumbItemProps;
|
|
@@ -14,10 +15,10 @@ declare function __VLS_template(): {
|
|
|
14
15
|
}>;
|
|
15
16
|
};
|
|
16
17
|
refs: {};
|
|
17
|
-
|
|
18
|
+
rootEl: HTMLUListElement;
|
|
18
19
|
};
|
|
19
20
|
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<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
21
|
+
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, {}, HTMLUListElement>;
|
|
21
22
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
22
23
|
export default _default;
|
|
23
24
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,37 +1,28 @@
|
|
|
1
1
|
import { Sizes } from '../../shared/types';
|
|
2
|
-
export type Variants = '
|
|
2
|
+
export type Variants = 'fill' | 'danger' | 'success' | 'link' | 'accent' | 'gray';
|
|
3
3
|
interface Props {
|
|
4
4
|
loading?: boolean;
|
|
5
|
+
size?: Sizes;
|
|
5
6
|
expand?: boolean;
|
|
6
7
|
square?: boolean;
|
|
7
|
-
|
|
8
|
+
icon?: string;
|
|
9
|
+
variant?: Variants;
|
|
10
|
+
outline?: boolean;
|
|
8
11
|
disabled?: boolean;
|
|
9
|
-
size?: Sizes;
|
|
10
|
-
/**
|
|
11
|
-
* Sets the hover styling property
|
|
12
|
-
*/
|
|
13
|
-
active?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* No styling applied to the button unless hovered
|
|
16
|
-
*/
|
|
17
12
|
plain?: boolean;
|
|
18
|
-
variant?: Variants;
|
|
19
|
-
/**
|
|
20
|
-
* The children will be set to an icon and the icon will become a square
|
|
21
|
-
*/
|
|
22
|
-
icon?: string;
|
|
23
13
|
}
|
|
24
14
|
declare function __VLS_template(): {
|
|
15
|
+
attrs: Partial<{}>;
|
|
25
16
|
slots: {
|
|
26
17
|
start?(_: {}): any;
|
|
27
18
|
default?(_: {}): any;
|
|
28
19
|
end?(_: {}): any;
|
|
29
20
|
};
|
|
30
21
|
refs: {};
|
|
31
|
-
|
|
22
|
+
rootEl: HTMLButtonElement;
|
|
32
23
|
};
|
|
33
24
|
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, {},
|
|
25
|
+
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, {}, HTMLButtonElement>;
|
|
35
26
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
36
27
|
export default _default;
|
|
37
28
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,15 +1,18 @@
|
|
|
1
|
+
import { Space } from '../../shared/types';
|
|
1
2
|
interface Props {
|
|
2
3
|
vertical?: boolean;
|
|
4
|
+
gap?: Space | number;
|
|
3
5
|
}
|
|
4
6
|
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
5
8
|
slots: {
|
|
6
9
|
default?(_: {}): any;
|
|
7
10
|
};
|
|
8
11
|
refs: {};
|
|
9
|
-
|
|
12
|
+
rootEl: HTMLDivElement;
|
|
10
13
|
};
|
|
11
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
-
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, {},
|
|
15
|
+
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>;
|
|
13
16
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
14
17
|
export default _default;
|
|
15
18
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { VueDatePickerProps } from '@vuepic/vue-datepicker';
|
|
2
|
+
type __VLS_Props = VueDatePickerProps & {
|
|
3
|
+
expand?: boolean;
|
|
4
|
+
};
|
|
2
5
|
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
3
7
|
slots: {
|
|
4
8
|
trigger?(_: {}): any;
|
|
5
9
|
};
|
|
6
10
|
refs: {};
|
|
7
|
-
|
|
11
|
+
rootEl: any;
|
|
8
12
|
};
|
|
9
13
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
11
|
-
expand?: boolean;
|
|
12
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<VueDatePickerProps & {
|
|
13
|
-
expand?: boolean;
|
|
14
|
-
}> & Readonly<{}>, {
|
|
15
|
-
dark: boolean;
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
16
15
|
expand: boolean;
|
|
17
16
|
format: string | ((date: Date) => string) | ((dates: Date[]) => string);
|
|
18
17
|
autoApply: boolean;
|
|
19
18
|
autoPosition: boolean | "top" | "bottom";
|
|
19
|
+
monthNameFormat: "long" | "short";
|
|
20
20
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
21
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
22
22
|
export default _default;
|
|
@@ -5,17 +5,18 @@ export interface Props {
|
|
|
5
5
|
padding?: boolean;
|
|
6
6
|
}
|
|
7
7
|
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
8
9
|
slots: {
|
|
9
10
|
header?(_: {}): any;
|
|
10
|
-
|
|
11
|
+
'header-end'?(_: {}): any;
|
|
11
12
|
default?(_: {}): any;
|
|
12
13
|
footer?(_: {}): any;
|
|
13
14
|
};
|
|
14
15
|
refs: {};
|
|
15
|
-
|
|
16
|
+
rootEl: HTMLDivElement;
|
|
16
17
|
};
|
|
17
18
|
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<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
19
|
+
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>;
|
|
19
20
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
20
21
|
export default _default;
|
|
21
22
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -4,24 +4,26 @@ interface Props {
|
|
|
4
4
|
iconOff?: string;
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
checked?: boolean;
|
|
7
|
+
accent?: boolean;
|
|
7
8
|
}
|
|
8
|
-
|
|
9
|
+
type __VLS_Props = Props;
|
|
9
10
|
type __VLS_PublicProps = {
|
|
10
11
|
modelValue?: boolean;
|
|
11
|
-
} &
|
|
12
|
+
} & __VLS_Props;
|
|
12
13
|
declare function __VLS_template(): {
|
|
14
|
+
attrs: Partial<{}>;
|
|
13
15
|
slots: Readonly<Record<string, any>> & Record<string, any>;
|
|
14
16
|
refs: {};
|
|
15
|
-
|
|
17
|
+
rootEl: HTMLDivElement;
|
|
16
18
|
};
|
|
17
19
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
20
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
21
|
change: (checked: boolean) => any;
|
|
20
|
-
"update:modelValue": (
|
|
22
|
+
"update:modelValue": (value: boolean) => any;
|
|
21
23
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
22
24
|
onChange?: ((checked: boolean) => any) | undefined;
|
|
23
|
-
"onUpdate:modelValue"?: ((
|
|
24
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
25
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
26
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
25
27
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
28
|
export default _default;
|
|
27
29
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -13,6 +13,7 @@ interface Props {
|
|
|
13
13
|
confirmTime?: number;
|
|
14
14
|
}
|
|
15
15
|
declare function __VLS_template(): {
|
|
16
|
+
attrs: Partial<{}>;
|
|
16
17
|
slots: {
|
|
17
18
|
default?(_: {
|
|
18
19
|
copy: (text: string) => Promise<void>;
|
|
@@ -24,7 +25,7 @@ declare function __VLS_template(): {
|
|
|
24
25
|
anchor: HTMLDivElement;
|
|
25
26
|
tooltip: HTMLDivElement;
|
|
26
27
|
};
|
|
27
|
-
|
|
28
|
+
rootEl: any;
|
|
28
29
|
};
|
|
29
30
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
30
31
|
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, {
|
|
@@ -5,14 +5,15 @@ interface Props {
|
|
|
5
5
|
margin?: string | number;
|
|
6
6
|
}
|
|
7
7
|
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
8
9
|
slots: {
|
|
9
10
|
default?(_: {}): any;
|
|
10
11
|
};
|
|
11
12
|
refs: {};
|
|
12
|
-
|
|
13
|
+
rootEl: HTMLDivElement;
|
|
13
14
|
};
|
|
14
15
|
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<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
16
|
+
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>;
|
|
16
17
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
18
|
export default _default;
|
|
18
19
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -26,22 +26,23 @@ interface Props {
|
|
|
26
26
|
rootProps?: DrawerRootProps;
|
|
27
27
|
portalProps?: DrawerPortalProps;
|
|
28
28
|
}
|
|
29
|
-
|
|
29
|
+
type __VLS_Props = Props;
|
|
30
30
|
type __VLS_PublicProps = {
|
|
31
31
|
modelValue?: boolean;
|
|
32
|
-
} &
|
|
32
|
+
} & __VLS_Props;
|
|
33
33
|
declare function __VLS_template(): {
|
|
34
|
+
attrs: Partial<{}>;
|
|
34
35
|
slots: {
|
|
35
36
|
default?(_: {}): any;
|
|
36
37
|
};
|
|
37
38
|
refs: {};
|
|
38
|
-
|
|
39
|
+
rootEl: any;
|
|
39
40
|
};
|
|
40
41
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
41
42
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
42
|
-
"update:modelValue": (
|
|
43
|
+
"update:modelValue": (value: boolean) => any;
|
|
43
44
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
44
|
-
"onUpdate:modelValue"?: ((
|
|
45
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
45
46
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
46
47
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
47
48
|
export default _default;
|
|
@@ -12,11 +12,16 @@ export interface Props {
|
|
|
12
12
|
* Sets the width of the dropdown to the width of its anchor
|
|
13
13
|
*/
|
|
14
14
|
expand?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Set he max height of the dropdown element before it starts scrolling
|
|
17
|
+
*/
|
|
18
|
+
maxHeight?: number | string;
|
|
15
19
|
}
|
|
16
20
|
declare function open(): void;
|
|
17
21
|
declare function close(): void;
|
|
18
22
|
declare function toggle(): void;
|
|
19
23
|
declare function __VLS_template(): {
|
|
24
|
+
attrs: Partial<{}>;
|
|
20
25
|
slots: {
|
|
21
26
|
trigger?(_: {
|
|
22
27
|
open: typeof open;
|
|
@@ -40,6 +45,7 @@ declare function __VLS_template(): {
|
|
|
40
45
|
readonly anchor: import('../../shared/types').PopoutMaybeElement<HTMLElement>;
|
|
41
46
|
readonly placement?: Placement | undefined;
|
|
42
47
|
readonly offset?: number | undefined;
|
|
48
|
+
readonly onClickOutside?: (() => any) | undefined;
|
|
43
49
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
44
50
|
$attrs: {
|
|
45
51
|
[x: string]: unknown;
|
|
@@ -55,9 +61,13 @@ declare function __VLS_template(): {
|
|
|
55
61
|
$root: import('vue').ComponentPublicInstance | null;
|
|
56
62
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
57
63
|
$host: Element | null;
|
|
58
|
-
$emit: (event:
|
|
59
|
-
$el:
|
|
60
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('../Popout/Popout.vue').Props> & Readonly<{
|
|
64
|
+
$emit: (event: "clickOutside") => void;
|
|
65
|
+
$el: HTMLDivElement;
|
|
66
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('../Popout/Popout.vue').Props> & Readonly<{
|
|
67
|
+
onClickOutside?: (() => any) | undefined;
|
|
68
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
69
|
+
clickOutside: () => any;
|
|
70
|
+
}, string, {
|
|
61
71
|
offset: number;
|
|
62
72
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
63
73
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -81,13 +91,15 @@ declare function __VLS_template(): {
|
|
|
81
91
|
$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;
|
|
82
92
|
} & Readonly<{
|
|
83
93
|
offset: number;
|
|
84
|
-
}> & Omit<Readonly<import('../Popout/Popout.vue').Props> & Readonly<{
|
|
94
|
+
}> & Omit<Readonly<import('../Popout/Popout.vue').Props> & Readonly<{
|
|
95
|
+
onClickOutside?: (() => any) | undefined;
|
|
96
|
+
}>, "offset"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
85
97
|
$slots: {
|
|
86
98
|
default?(_: {}): any;
|
|
87
99
|
};
|
|
88
100
|
}) | null;
|
|
89
101
|
};
|
|
90
|
-
|
|
102
|
+
rootEl: any;
|
|
91
103
|
};
|
|
92
104
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
93
105
|
declare const __VLS_component: import('vue').DefineComponent<Props, {
|
|
@@ -95,7 +107,73 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {
|
|
|
95
107
|
close: typeof close;
|
|
96
108
|
toggle: typeof toggle;
|
|
97
109
|
isOpen: import('vue').Ref<boolean, boolean>;
|
|
98
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
110
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
111
|
+
close: () => any;
|
|
112
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
113
|
+
onClose?: (() => any) | undefined;
|
|
114
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
115
|
+
anchor: HTMLDivElement;
|
|
116
|
+
dropdown: ({
|
|
117
|
+
$: import('vue').ComponentInternalInstance;
|
|
118
|
+
$data: {};
|
|
119
|
+
$props: {
|
|
120
|
+
readonly anchor: import('../../shared/types').PopoutMaybeElement<HTMLElement>;
|
|
121
|
+
readonly placement?: Placement | undefined;
|
|
122
|
+
readonly offset?: number | undefined;
|
|
123
|
+
readonly onClickOutside?: (() => any) | undefined;
|
|
124
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
125
|
+
$attrs: {
|
|
126
|
+
[x: string]: unknown;
|
|
127
|
+
};
|
|
128
|
+
$refs: {
|
|
129
|
+
[x: string]: unknown;
|
|
130
|
+
} & {
|
|
131
|
+
popout: HTMLDivElement;
|
|
132
|
+
};
|
|
133
|
+
$slots: Readonly<{
|
|
134
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
135
|
+
}>;
|
|
136
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
137
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
138
|
+
$host: Element | null;
|
|
139
|
+
$emit: (event: "clickOutside") => void;
|
|
140
|
+
$el: HTMLDivElement;
|
|
141
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('../Popout/Popout.vue').Props> & Readonly<{
|
|
142
|
+
onClickOutside?: (() => any) | undefined;
|
|
143
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
144
|
+
clickOutside: () => any;
|
|
145
|
+
}, string, {
|
|
146
|
+
offset: number;
|
|
147
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
148
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
149
|
+
created?: (() => void) | (() => void)[];
|
|
150
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
151
|
+
mounted?: (() => void) | (() => void)[];
|
|
152
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
153
|
+
updated?: (() => void) | (() => void)[];
|
|
154
|
+
activated?: (() => void) | (() => void)[];
|
|
155
|
+
deactivated?: (() => void) | (() => void)[];
|
|
156
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
157
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
158
|
+
destroyed?: (() => void) | (() => void)[];
|
|
159
|
+
unmounted?: (() => void) | (() => void)[];
|
|
160
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
161
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
162
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
163
|
+
};
|
|
164
|
+
$forceUpdate: () => void;
|
|
165
|
+
$nextTick: typeof import('vue').nextTick;
|
|
166
|
+
$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;
|
|
167
|
+
} & Readonly<{
|
|
168
|
+
offset: number;
|
|
169
|
+
}> & Omit<Readonly<import('../Popout/Popout.vue').Props> & Readonly<{
|
|
170
|
+
onClickOutside?: (() => any) | undefined;
|
|
171
|
+
}>, "offset"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
172
|
+
$slots: {
|
|
173
|
+
default?(_: {}): any;
|
|
174
|
+
};
|
|
175
|
+
}) | null;
|
|
176
|
+
}, any>;
|
|
99
177
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
100
178
|
export default _default;
|
|
101
179
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -4,15 +4,16 @@ interface Props {
|
|
|
4
4
|
iconEnd?: string;
|
|
5
5
|
}
|
|
6
6
|
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
7
8
|
slots: {
|
|
8
9
|
default?(_: {}): any;
|
|
9
10
|
hint?(_: {}): any;
|
|
10
11
|
};
|
|
11
12
|
refs: {};
|
|
12
|
-
|
|
13
|
+
rootEl: HTMLButtonElement;
|
|
13
14
|
};
|
|
14
15
|
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<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
16
|
+
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, {}, HTMLButtonElement>;
|
|
16
17
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
18
|
export default _default;
|
|
18
19
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
sticky?: boolean;
|
|
3
|
+
};
|
|
1
4
|
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
2
6
|
slots: {
|
|
3
7
|
default?(_: {}): any;
|
|
4
8
|
end?(_: {}): any;
|
|
5
9
|
};
|
|
6
10
|
refs: {};
|
|
7
|
-
|
|
11
|
+
rootEl: HTMLDivElement;
|
|
8
12
|
};
|
|
9
13
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
11
15
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
12
16
|
export default _default;
|
|
13
17
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -21,16 +21,17 @@ export interface FlexProps {
|
|
|
21
21
|
expand?: boolean;
|
|
22
22
|
}
|
|
23
23
|
declare function __VLS_template(): {
|
|
24
|
+
attrs: Partial<{}>;
|
|
24
25
|
slots: {
|
|
25
26
|
default?(_: {}): any;
|
|
26
27
|
};
|
|
27
28
|
refs: {};
|
|
28
|
-
|
|
29
|
+
rootEl: HTMLDivElement;
|
|
29
30
|
};
|
|
30
31
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
31
32
|
declare const __VLS_component: import('vue').DefineComponent<FlexProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FlexProps> & Readonly<{}>, {
|
|
32
33
|
gap: Space | number;
|
|
33
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
34
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
34
35
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
35
36
|
export default _default;
|
|
36
37
|
type __VLS_WithTemplateSlots<T, S> = T & {
|