@dolanske/vui 1.1.0 → 1.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/LICENSE +1 -1
- package/package.json +4 -4
- package/src/components/Card/card.scss +2 -0
- package/src/components/Divider/Divider.vue +1 -7
- package/src/components/Divider/divider.scss +9 -7
- package/src/components/Grid/Grid.vue +5 -0
- package/src/components/Select/Select.vue +0 -1
- package/src/components/Select/select.scss +4 -0
- package/src/components/Spinner/spinner.scss +1 -1
- package/src/examples/ExampleTabs.vue +17 -0
- package/src/style/layout.scss +3 -0
- package/src/vite-env.d.ts +1 -1
- package/dist/components/Accordion/Accordion.vue.d.ts +0 -47
- package/dist/components/Accordion/AccordionGroup.vue.d.ts +0 -35
- package/dist/components/Alert/Alert.vue.d.ts +0 -36
- package/dist/components/Avatar/Avatar.vue.d.ts +0 -25
- package/dist/components/Badge/Badge.vue.d.ts +0 -22
- package/dist/components/Breadcrumbs/BreadcrumbItem.vue.d.ts +0 -22
- package/dist/components/Breadcrumbs/Breadcrumbs.vue.d.ts +0 -28
- package/dist/components/Button/Button.vue.d.ts +0 -32
- package/dist/components/ButtonGroup/ButtonGroup.vue.d.ts +0 -22
- package/dist/components/Calendar/Calendar.vue.d.ts +0 -27
- package/dist/components/Card/Card.vue.d.ts +0 -26
- package/dist/components/Checkbox/Checkbox.vue.d.ts +0 -33
- package/dist/components/CopyClipboard/CopyClipboard.vue.d.ts +0 -41
- package/dist/components/Divider/Divider.vue.d.ts +0 -23
- package/dist/components/Drawer/Drawer.vue.d.ts +0 -53
- package/dist/components/Dropdown/Dropdown.vue.d.ts +0 -183
- package/dist/components/Dropdown/DropdownItem.vue.d.ts +0 -23
- package/dist/components/Dropdown/DropdownTitle.vue.d.ts +0 -21
- package/dist/components/Flex/Flex.vue.d.ts +0 -41
- package/dist/components/Grid/Grid.vue.d.ts +0 -33
- package/dist/components/Input/Color.vue.d.ts +0 -11
- package/dist/components/Input/Counter.vue.d.ts +0 -19
- package/dist/components/Input/Dropzone.vue.d.ts +0 -193
- package/dist/components/Input/File.vue.d.ts +0 -8
- package/dist/components/Input/Input.vue.d.ts +0 -56
- package/dist/components/Input/Password.vue.d.ts +0 -6
- package/dist/components/Input/Textarea.vue.d.ts +0 -31
- package/dist/components/Kbd/Kbd.vue.d.ts +0 -23
- package/dist/components/Kbd/KbdGroup.vue.d.ts +0 -24
- package/dist/components/Modal/Confirm.vue.d.ts +0 -43
- package/dist/components/Modal/Modal.vue.d.ts +0 -58
- package/dist/components/OTP/OTP.vue.d.ts +0 -44
- package/dist/components/OTP/OTPItem.vue.d.ts +0 -5
- package/dist/components/Pagination/Pagination.vue.d.ts +0 -46
- package/dist/components/Pagination/pagination.d.ts +0 -12
- package/dist/components/Popout/Popout.vue.d.ts +0 -42
- package/dist/components/Progress/Progress.vue.d.ts +0 -33
- package/dist/components/Radio/Radio.vue.d.ts +0 -29
- package/dist/components/Radio/RadioGroup.vue.d.ts +0 -32
- package/dist/components/Select/Select.vue.d.ts +0 -35
- package/dist/components/Sheet/Sheet.vue.d.ts +0 -47
- package/dist/components/Sidebar/Sidebar.vue.d.ts +0 -70
- package/dist/components/Skeleton/Skeleton.vue.d.ts +0 -8
- package/dist/components/Spinner/Spinner.vue.d.ts +0 -6
- package/dist/components/Switch/Switch.vue.d.ts +0 -28
- package/dist/components/Table/Cell.vue.d.ts +0 -22
- package/dist/components/Table/Head.vue.d.ts +0 -30
- package/dist/components/Table/Root.vue.d.ts +0 -41
- package/dist/components/Table/SelectAll.vue.d.ts +0 -2
- package/dist/components/Table/SelectRow.vue.d.ts +0 -6
- package/dist/components/Table/index.d.ts +0 -6
- package/dist/components/Table/table.d.ts +0 -68
- package/dist/components/Tabs/Tab.vue.d.ts +0 -22
- package/dist/components/Tabs/Tabs.vue.d.ts +0 -48
- package/dist/components/Toast/Toasts.vue.d.ts +0 -2
- package/dist/components/Toast/toast.d.ts +0 -287
- package/dist/components/Tooltip/Tooltip.vue.d.ts +0 -33
- package/dist/index.d.ts +0 -56
- package/dist/internal/Backdrop/Backdrop.vue.d.ts +0 -21
- package/dist/shared/helpers.d.ts +0 -32
- package/dist/shared/theme.d.ts +0 -3
- package/dist/shared/types.d.ts +0 -24
- package/dist/vui.css +0 -1
- package/dist/vui.js +0 -16130
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { DrawerPortalProps, DrawerRootProps } from 'vaul-vue';
|
|
2
|
-
import { Sizes, VueClass } from '../../shared/types';
|
|
3
|
-
interface Props {
|
|
4
|
-
/**
|
|
5
|
-
* Controls the visibility of the drawer
|
|
6
|
-
*/
|
|
7
|
-
open?: boolean;
|
|
8
|
-
/**
|
|
9
|
-
* Title for accessibility.
|
|
10
|
-
*/
|
|
11
|
-
title?: string;
|
|
12
|
-
/**
|
|
13
|
-
* CSS class applied to the container of the drawer content. Accepts Vue's
|
|
14
|
-
* class conditional declaration, string, object or an array.
|
|
15
|
-
*/
|
|
16
|
-
containerClass?: VueClass;
|
|
17
|
-
/**
|
|
18
|
-
* Size of the container. Either use a preset size or number to specify
|
|
19
|
-
* max-width of the container.
|
|
20
|
-
*/
|
|
21
|
-
containerSize?: Sizes | 'xl' | 'full' | number;
|
|
22
|
-
/**
|
|
23
|
-
* Wether to display the handle symbol. It doesn't actually do anything, it's
|
|
24
|
-
* just for the visuals.
|
|
25
|
-
*/
|
|
26
|
-
handle?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* Control the underlying Vaul root component
|
|
29
|
-
*/
|
|
30
|
-
rootProps?: DrawerRootProps;
|
|
31
|
-
portalProps?: DrawerPortalProps;
|
|
32
|
-
}
|
|
33
|
-
declare function __VLS_template(): {
|
|
34
|
-
attrs: Partial<{}>;
|
|
35
|
-
slots: {
|
|
36
|
-
default?(_: {}): any;
|
|
37
|
-
};
|
|
38
|
-
refs: {};
|
|
39
|
-
rootEl: any;
|
|
40
|
-
};
|
|
41
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
42
|
-
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
43
|
-
close: () => any;
|
|
44
|
-
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
45
|
-
onClose?: (() => any) | undefined;
|
|
46
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
47
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
48
|
-
export default _default;
|
|
49
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
50
|
-
new (): {
|
|
51
|
-
$slots: S;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
import { Placement } from '../../shared/types';
|
|
2
|
-
export interface Props {
|
|
3
|
-
/**
|
|
4
|
-
* Tooltip placement related to the anchor
|
|
5
|
-
*/
|
|
6
|
-
placement?: Placement;
|
|
7
|
-
/**
|
|
8
|
-
* Set the minimum width of the dropdown element
|
|
9
|
-
*/
|
|
10
|
-
minWidth?: number | string;
|
|
11
|
-
/**
|
|
12
|
-
* Sets the width of the dropdown to the width of its anchor
|
|
13
|
-
*/
|
|
14
|
-
expand?: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Set he max height of the dropdown element before it starts scrolling
|
|
17
|
-
*/
|
|
18
|
-
maxHeight?: number | string;
|
|
19
|
-
}
|
|
20
|
-
declare function open(): void;
|
|
21
|
-
declare function close(): void;
|
|
22
|
-
declare function toggle(): void;
|
|
23
|
-
declare function __VLS_template(): {
|
|
24
|
-
attrs: Partial<{}>;
|
|
25
|
-
slots: {
|
|
26
|
-
trigger?(_: {
|
|
27
|
-
open: typeof open;
|
|
28
|
-
isOpen: boolean;
|
|
29
|
-
close: typeof close;
|
|
30
|
-
toggle: typeof toggle;
|
|
31
|
-
}): any;
|
|
32
|
-
default?(_: {
|
|
33
|
-
open: typeof open;
|
|
34
|
-
close: typeof close;
|
|
35
|
-
toggle: typeof toggle;
|
|
36
|
-
isOpen: true;
|
|
37
|
-
}): any;
|
|
38
|
-
};
|
|
39
|
-
refs: {
|
|
40
|
-
anchor: HTMLDivElement;
|
|
41
|
-
dropdown: ({
|
|
42
|
-
$: import('vue').ComponentInternalInstance;
|
|
43
|
-
$data: {};
|
|
44
|
-
$props: {
|
|
45
|
-
readonly anchor: import('../../shared/types').PopoutMaybeElement<HTMLElement>;
|
|
46
|
-
readonly placement?: Placement | undefined;
|
|
47
|
-
readonly offset?: number | undefined;
|
|
48
|
-
readonly onClickOutside?: (() => any) | undefined;
|
|
49
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
50
|
-
$attrs: {
|
|
51
|
-
[x: string]: unknown;
|
|
52
|
-
};
|
|
53
|
-
$refs: {
|
|
54
|
-
[x: string]: unknown;
|
|
55
|
-
} & {
|
|
56
|
-
popout: HTMLDivElement;
|
|
57
|
-
};
|
|
58
|
-
$slots: Readonly<{
|
|
59
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
60
|
-
}>;
|
|
61
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
62
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
63
|
-
$host: Element | null;
|
|
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, {
|
|
71
|
-
offset: number;
|
|
72
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
73
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
74
|
-
created?: (() => void) | (() => void)[];
|
|
75
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
76
|
-
mounted?: (() => void) | (() => void)[];
|
|
77
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
78
|
-
updated?: (() => void) | (() => void)[];
|
|
79
|
-
activated?: (() => void) | (() => void)[];
|
|
80
|
-
deactivated?: (() => void) | (() => void)[];
|
|
81
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
82
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
83
|
-
destroyed?: (() => void) | (() => void)[];
|
|
84
|
-
unmounted?: (() => void) | (() => void)[];
|
|
85
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
86
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
87
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
88
|
-
};
|
|
89
|
-
$forceUpdate: () => void;
|
|
90
|
-
$nextTick: typeof import('vue').nextTick;
|
|
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;
|
|
92
|
-
} & Readonly<{
|
|
93
|
-
offset: number;
|
|
94
|
-
}> & Omit<Readonly<import('../Popout/Popout.vue').Props> & Readonly<{
|
|
95
|
-
onClickOutside?: (() => any) | undefined;
|
|
96
|
-
}>, "offset"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
97
|
-
$slots: {
|
|
98
|
-
default?(_: {}): any;
|
|
99
|
-
};
|
|
100
|
-
}) | null;
|
|
101
|
-
};
|
|
102
|
-
rootEl: any;
|
|
103
|
-
};
|
|
104
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
105
|
-
declare const __VLS_component: import('vue').DefineComponent<Props, {
|
|
106
|
-
open: typeof open;
|
|
107
|
-
close: typeof close;
|
|
108
|
-
toggle: typeof toggle;
|
|
109
|
-
isOpen: import('vue').Ref<boolean, boolean>;
|
|
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>;
|
|
177
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
178
|
-
export default _default;
|
|
179
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
180
|
-
new (): {
|
|
181
|
-
$slots: S;
|
|
182
|
-
};
|
|
183
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
interface Props {
|
|
2
|
-
disabled?: boolean;
|
|
3
|
-
icon?: string;
|
|
4
|
-
iconEnd?: string;
|
|
5
|
-
}
|
|
6
|
-
declare function __VLS_template(): {
|
|
7
|
-
attrs: Partial<{}>;
|
|
8
|
-
slots: {
|
|
9
|
-
default?(_: {}): any;
|
|
10
|
-
hint?(_: {}): any;
|
|
11
|
-
};
|
|
12
|
-
refs: {};
|
|
13
|
-
rootEl: HTMLButtonElement;
|
|
14
|
-
};
|
|
15
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
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>;
|
|
17
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
|
-
export default _default;
|
|
19
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
-
new (): {
|
|
21
|
-
$slots: S;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
sticky?: boolean;
|
|
3
|
-
};
|
|
4
|
-
declare function __VLS_template(): {
|
|
5
|
-
attrs: Partial<{}>;
|
|
6
|
-
slots: {
|
|
7
|
-
default?(_: {}): any;
|
|
8
|
-
end?(_: {}): any;
|
|
9
|
-
};
|
|
10
|
-
refs: {};
|
|
11
|
-
rootEl: HTMLDivElement;
|
|
12
|
-
};
|
|
13
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
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>;
|
|
15
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
|
-
export default _default;
|
|
17
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
-
new (): {
|
|
19
|
-
$slots: S;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { Space } from '../../shared/types';
|
|
2
|
-
export interface FlexProps {
|
|
3
|
-
inline?: boolean;
|
|
4
|
-
wrap?: boolean;
|
|
5
|
-
wrapReverse?: boolean;
|
|
6
|
-
row?: boolean;
|
|
7
|
-
column?: boolean;
|
|
8
|
-
rowReverse?: boolean;
|
|
9
|
-
columnReverse?: boolean;
|
|
10
|
-
gap?: Space | number;
|
|
11
|
-
xStart?: boolean;
|
|
12
|
-
xEnd?: boolean;
|
|
13
|
-
xCenter?: boolean;
|
|
14
|
-
xBetween?: boolean;
|
|
15
|
-
xAround?: boolean;
|
|
16
|
-
xEvenly?: boolean;
|
|
17
|
-
yCenter?: boolean;
|
|
18
|
-
yStart?: boolean;
|
|
19
|
-
yEnd?: boolean;
|
|
20
|
-
yBaseline?: boolean;
|
|
21
|
-
expand?: boolean;
|
|
22
|
-
}
|
|
23
|
-
declare function __VLS_template(): {
|
|
24
|
-
attrs: Partial<{}>;
|
|
25
|
-
slots: {
|
|
26
|
-
default?(_: {}): any;
|
|
27
|
-
};
|
|
28
|
-
refs: {};
|
|
29
|
-
rootEl: HTMLDivElement;
|
|
30
|
-
};
|
|
31
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
32
|
-
declare const __VLS_component: import('vue').DefineComponent<FlexProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FlexProps> & Readonly<{}>, {
|
|
33
|
-
gap: Space | number;
|
|
34
|
-
}, {}, {}, {}, 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
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Space } from '../../shared/types';
|
|
2
|
-
/**
|
|
3
|
-
* This component is not meant for complex grids
|
|
4
|
-
*/
|
|
5
|
-
interface Props {
|
|
6
|
-
inline?: boolean;
|
|
7
|
-
gap?: Space | number;
|
|
8
|
-
rows?: number | string;
|
|
9
|
-
columns?: number | string;
|
|
10
|
-
yCenter?: boolean;
|
|
11
|
-
yStart?: boolean;
|
|
12
|
-
yEnd?: boolean;
|
|
13
|
-
yBaseline?: boolean;
|
|
14
|
-
}
|
|
15
|
-
declare function __VLS_template(): {
|
|
16
|
-
attrs: Partial<{}>;
|
|
17
|
-
slots: {
|
|
18
|
-
default?(_: {}): any;
|
|
19
|
-
};
|
|
20
|
-
refs: {};
|
|
21
|
-
rootEl: HTMLDivElement;
|
|
22
|
-
};
|
|
23
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
24
|
-
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
25
|
-
gap: Space | number;
|
|
26
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
27
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
28
|
-
export default _default;
|
|
29
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
|
-
new (): {
|
|
31
|
-
$slots: S;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { InputProps } from './Input.vue';
|
|
2
|
-
type __VLS_Props = InputProps;
|
|
3
|
-
type __VLS_PublicProps = {
|
|
4
|
-
modelValue?: string;
|
|
5
|
-
} & __VLS_Props;
|
|
6
|
-
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
-
"update:modelValue": (value: string) => any;
|
|
8
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
10
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
11
|
-
export default _default;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { InputProps } from './Input.vue';
|
|
2
|
-
type Props = Omit<InputProps, 'type'> & {
|
|
3
|
-
incrementBy?: number;
|
|
4
|
-
incrementEnabled?: boolean;
|
|
5
|
-
hideIncrement?: boolean;
|
|
6
|
-
decrementBy?: number;
|
|
7
|
-
decrementEnabled?: boolean;
|
|
8
|
-
hideDecrement?: boolean;
|
|
9
|
-
};
|
|
10
|
-
type __VLS_Props = Props;
|
|
11
|
-
type __VLS_PublicProps = {
|
|
12
|
-
modelValue?: number;
|
|
13
|
-
} & __VLS_Props;
|
|
14
|
-
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
-
"update:modelValue": (value: number) => any;
|
|
16
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
17
|
-
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
18
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
19
|
-
export default _default;
|
|
@@ -1,193 +0,0 @@
|
|
|
1
|
-
import { InputProps } from './Input.vue';
|
|
2
|
-
type Props = Omit<InputProps, 'type' | 'modelValue' | 'focus' | 'limit' | 'placeholder'>;
|
|
3
|
-
declare function __VLS_template(): {
|
|
4
|
-
attrs: Partial<{}>;
|
|
5
|
-
slots: {
|
|
6
|
-
default?(_: {
|
|
7
|
-
dragging: boolean;
|
|
8
|
-
}): any;
|
|
9
|
-
};
|
|
10
|
-
refs: {
|
|
11
|
-
dropzone: ({
|
|
12
|
-
$: import('vue').ComponentInternalInstance;
|
|
13
|
-
$data: {};
|
|
14
|
-
$props: {
|
|
15
|
-
readonly modelValue?: string | number | undefined;
|
|
16
|
-
readonly type?: import('./Input.vue').InputType | undefined;
|
|
17
|
-
readonly label?: string | undefined;
|
|
18
|
-
readonly hint?: string | undefined;
|
|
19
|
-
readonly limit?: number | string | undefined;
|
|
20
|
-
readonly expand?: boolean | undefined;
|
|
21
|
-
readonly placeholder?: string | undefined;
|
|
22
|
-
readonly required?: boolean | undefined;
|
|
23
|
-
readonly readonly?: boolean | undefined;
|
|
24
|
-
readonly focus?: boolean | undefined;
|
|
25
|
-
readonly errors?: string[] | undefined;
|
|
26
|
-
readonly accept?: string | undefined;
|
|
27
|
-
readonly multiple?: boolean | undefined;
|
|
28
|
-
readonly min?: number | undefined;
|
|
29
|
-
readonly max?: number | undefined;
|
|
30
|
-
readonly disabled?: boolean | undefined;
|
|
31
|
-
readonly "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
32
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
33
|
-
$attrs: {
|
|
34
|
-
[x: string]: unknown;
|
|
35
|
-
};
|
|
36
|
-
$refs: {
|
|
37
|
-
[x: string]: unknown;
|
|
38
|
-
} & {
|
|
39
|
-
input: HTMLInputElement;
|
|
40
|
-
};
|
|
41
|
-
$slots: Readonly<{
|
|
42
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
43
|
-
}>;
|
|
44
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
45
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
46
|
-
$host: Element | null;
|
|
47
|
-
$emit: (event: "update:modelValue", value: string | number) => void;
|
|
48
|
-
$el: HTMLDivElement;
|
|
49
|
-
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
50
|
-
modelValue?: string | number;
|
|
51
|
-
} & InputProps> & Readonly<{
|
|
52
|
-
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
53
|
-
}>, {
|
|
54
|
-
focus: () => void;
|
|
55
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
56
|
-
"update:modelValue": (value: string | number) => any;
|
|
57
|
-
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
58
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
59
|
-
created?: (() => void) | (() => void)[];
|
|
60
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
61
|
-
mounted?: (() => void) | (() => void)[];
|
|
62
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
63
|
-
updated?: (() => void) | (() => void)[];
|
|
64
|
-
activated?: (() => void) | (() => void)[];
|
|
65
|
-
deactivated?: (() => void) | (() => void)[];
|
|
66
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
67
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
68
|
-
destroyed?: (() => void) | (() => void)[];
|
|
69
|
-
unmounted?: (() => void) | (() => void)[];
|
|
70
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
71
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
72
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
73
|
-
};
|
|
74
|
-
$forceUpdate: () => void;
|
|
75
|
-
$nextTick: typeof import('vue').nextTick;
|
|
76
|
-
$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;
|
|
77
|
-
} & Readonly<{}> & Omit<Readonly<{
|
|
78
|
-
modelValue?: string | number;
|
|
79
|
-
} & InputProps> & Readonly<{
|
|
80
|
-
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
81
|
-
}>, "focus"> & import('vue').ShallowUnwrapRef<{
|
|
82
|
-
focus: () => void;
|
|
83
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
84
|
-
$slots: {
|
|
85
|
-
before?(_: {}): any;
|
|
86
|
-
start?(_: {}): any;
|
|
87
|
-
__internal_replace_input?(_: {
|
|
88
|
-
inputId: string;
|
|
89
|
-
}): any;
|
|
90
|
-
end?(_: {}): any;
|
|
91
|
-
after?(_: {}): any;
|
|
92
|
-
};
|
|
93
|
-
}) | null;
|
|
94
|
-
};
|
|
95
|
-
rootEl: HTMLDivElement;
|
|
96
|
-
};
|
|
97
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
98
|
-
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
99
|
-
files: (args_0: FileList) => any;
|
|
100
|
-
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
101
|
-
onFiles?: ((args_0: FileList) => any) | undefined;
|
|
102
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
103
|
-
dropzone: ({
|
|
104
|
-
$: import('vue').ComponentInternalInstance;
|
|
105
|
-
$data: {};
|
|
106
|
-
$props: {
|
|
107
|
-
readonly modelValue?: string | number | undefined;
|
|
108
|
-
readonly type?: import('./Input.vue').InputType | undefined;
|
|
109
|
-
readonly label?: string | undefined;
|
|
110
|
-
readonly hint?: string | undefined;
|
|
111
|
-
readonly limit?: number | string | undefined;
|
|
112
|
-
readonly expand?: boolean | undefined;
|
|
113
|
-
readonly placeholder?: string | undefined;
|
|
114
|
-
readonly required?: boolean | undefined;
|
|
115
|
-
readonly readonly?: boolean | undefined;
|
|
116
|
-
readonly focus?: boolean | undefined;
|
|
117
|
-
readonly errors?: string[] | undefined;
|
|
118
|
-
readonly accept?: string | undefined;
|
|
119
|
-
readonly multiple?: boolean | undefined;
|
|
120
|
-
readonly min?: number | undefined;
|
|
121
|
-
readonly max?: number | undefined;
|
|
122
|
-
readonly disabled?: boolean | undefined;
|
|
123
|
-
readonly "onUpdate:modelValue"?: ((value: string | number) => 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
|
-
input: HTMLInputElement;
|
|
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: "update:modelValue", value: string | number) => void;
|
|
140
|
-
$el: HTMLDivElement;
|
|
141
|
-
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
142
|
-
modelValue?: string | number;
|
|
143
|
-
} & InputProps> & Readonly<{
|
|
144
|
-
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
145
|
-
}>, {
|
|
146
|
-
focus: () => void;
|
|
147
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
148
|
-
"update:modelValue": (value: string | number) => any;
|
|
149
|
-
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
150
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
151
|
-
created?: (() => void) | (() => void)[];
|
|
152
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
153
|
-
mounted?: (() => void) | (() => void)[];
|
|
154
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
155
|
-
updated?: (() => void) | (() => void)[];
|
|
156
|
-
activated?: (() => void) | (() => void)[];
|
|
157
|
-
deactivated?: (() => void) | (() => void)[];
|
|
158
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
159
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
160
|
-
destroyed?: (() => void) | (() => void)[];
|
|
161
|
-
unmounted?: (() => void) | (() => void)[];
|
|
162
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
163
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
164
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
165
|
-
};
|
|
166
|
-
$forceUpdate: () => void;
|
|
167
|
-
$nextTick: typeof import('vue').nextTick;
|
|
168
|
-
$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;
|
|
169
|
-
} & Readonly<{}> & Omit<Readonly<{
|
|
170
|
-
modelValue?: string | number;
|
|
171
|
-
} & InputProps> & Readonly<{
|
|
172
|
-
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
173
|
-
}>, "focus"> & import('vue').ShallowUnwrapRef<{
|
|
174
|
-
focus: () => void;
|
|
175
|
-
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
176
|
-
$slots: {
|
|
177
|
-
before?(_: {}): any;
|
|
178
|
-
start?(_: {}): any;
|
|
179
|
-
__internal_replace_input?(_: {
|
|
180
|
-
inputId: string;
|
|
181
|
-
}): any;
|
|
182
|
-
end?(_: {}): any;
|
|
183
|
-
after?(_: {}): any;
|
|
184
|
-
};
|
|
185
|
-
}) | null;
|
|
186
|
-
}, HTMLDivElement>;
|
|
187
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
188
|
-
export default _default;
|
|
189
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
190
|
-
new (): {
|
|
191
|
-
$slots: S;
|
|
192
|
-
};
|
|
193
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { InputProps } from './Input.vue';
|
|
2
|
-
type __VLS_Props = Omit<InputProps, 'type'>;
|
|
3
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
4
|
-
files: (args_0: FileList) => any;
|
|
5
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
6
|
-
onFiles?: ((args_0: FileList) => any) | undefined;
|
|
7
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
8
|
-
export default _default;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
export type InputType = 'text' | 'password' | 'color' | 'date' | 'email' | 'number' | 'range' | 'search' | 'tel' | 'time' | 'url' | 'file';
|
|
2
|
-
export interface InputProps {
|
|
3
|
-
type?: InputType;
|
|
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
|
-
disabled?: boolean;
|
|
19
|
-
}
|
|
20
|
-
type __VLS_Props = InputProps;
|
|
21
|
-
type __VLS_PublicProps = {
|
|
22
|
-
modelValue?: string | number;
|
|
23
|
-
} & __VLS_Props;
|
|
24
|
-
declare function __VLS_template(): {
|
|
25
|
-
attrs: Partial<{}>;
|
|
26
|
-
slots: {
|
|
27
|
-
before?(_: {}): any;
|
|
28
|
-
start?(_: {}): any;
|
|
29
|
-
__internal_replace_input?(_: {
|
|
30
|
-
inputId: string;
|
|
31
|
-
}): any;
|
|
32
|
-
end?(_: {}): any;
|
|
33
|
-
after?(_: {}): any;
|
|
34
|
-
};
|
|
35
|
-
refs: {
|
|
36
|
-
input: HTMLInputElement;
|
|
37
|
-
};
|
|
38
|
-
rootEl: HTMLDivElement;
|
|
39
|
-
};
|
|
40
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
41
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
42
|
-
focus: () => void;
|
|
43
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
44
|
-
"update:modelValue": (value: string | number) => any;
|
|
45
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
46
|
-
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
47
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
48
|
-
input: HTMLInputElement;
|
|
49
|
-
}, HTMLDivElement>;
|
|
50
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
51
|
-
export default _default;
|
|
52
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
53
|
-
new (): {
|
|
54
|
-
$slots: S;
|
|
55
|
-
};
|
|
56
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
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, {}, HTMLDivElement>;
|
|
6
|
-
export default _default;
|