@dolanske/vui 1.10.14 → 1.11.0
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 +673 -673
- package/README.md +19 -11
- package/dist/{components → src/components}/Carousel/Carousel.vue.d.ts +8 -8
- package/dist/src/components/Divider/Divider.vue.d.ts +33 -0
- package/dist/src/components/Dropdown/Dropdown.vue.d.ts +216 -0
- package/dist/{components → src/components}/Flex/Flex.vue.d.ts +23 -0
- package/dist/{components → src/components}/Grid/Grid.vue.d.ts +26 -0
- package/dist/{components → src/components}/Input/Dropzone.vue.d.ts +6 -10
- package/dist/{components → src/components}/Popout/Popout.vue.d.ts +3 -1
- package/dist/{components → src/components}/Toast/toast.d.ts +2 -6
- package/dist/{shared → src/shared}/breakpoints.d.ts +4 -1
- package/dist/vui.css +2 -1
- package/dist/vui.js +14948 -15848
- package/package.json +14 -14
- package/dist/components/Divider/Divider.vue.d.ts +0 -23
- package/dist/components/Dropdown/Dropdown.vue.d.ts +0 -73
- /package/dist/{components → src/components}/Accordion/Accordion.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Accordion/AccordionGroup.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Alert/Alert.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Avatar/Avatar.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Badge/Badge.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Breadcrumbs/BreadcrumbItem.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Breadcrumbs/Breadcrumbs.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Button/Button.vue.d.ts +0 -0
- /package/dist/{components → src/components}/ButtonGroup/ButtonGroup.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Calendar/Calendar.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Card/Card.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Checkbox/Checkbox.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Commands/Commands.vue.d.ts +0 -0
- /package/dist/{components → src/components}/CopyClipboard/CopyClipboard.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Drawer/Drawer.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Dropdown/DropdownItem.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Dropdown/DropdownTitle.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Input/Color.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Input/Counter.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Input/File.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Input/Input.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Input/Password.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Input/Textarea.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Kbd/Kbd.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Kbd/KbdGroup.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Modal/Confirm.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Modal/Modal.vue.d.ts +0 -0
- /package/dist/{components → src/components}/OTP/OTP.vue.d.ts +0 -0
- /package/dist/{components → src/components}/OTP/OTPItem.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Pagination/Pagination.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Pagination/pagination.d.ts +0 -0
- /package/dist/{components → src/components}/Progress/Progress.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Radio/Radio.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Radio/RadioGroup.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Select/Select.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Sheet/Sheet.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Sidebar/Sidebar.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Skeleton/Skeleton.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Spinner/Spinner.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Switch/Switch.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Table/Cell.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Table/Head.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Table/Root.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Table/SelectAll.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Table/SelectRow.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Table/index.d.ts +0 -0
- /package/dist/{components → src/components}/Table/table.d.ts +0 -0
- /package/dist/{components → src/components}/Tabs/Tab.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Tabs/Tabs.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Toast/Toasts.vue.d.ts +0 -0
- /package/dist/{components → src/components}/Tooltip/Tooltip.vue.d.ts +0 -0
- /package/dist/{index.d.ts → src/index.d.ts} +0 -0
- /package/dist/{internal → src/internal}/Backdrop/Backdrop.vue.d.ts +0 -0
- /package/dist/{shared → src/shared}/helpers.d.ts +0 -0
- /package/dist/{shared → src/shared}/layerManager.d.ts +0 -0
- /package/dist/{shared → src/shared}/slots.d.ts +0 -0
- /package/dist/{shared → src/shared}/theme.d.ts +0 -0
- /package/dist/{shared → src/shared}/types.d.ts +0 -0
package/README.md
CHANGED
|
@@ -1,11 +1,19 @@
|
|
|
1
|
-
# VUI
|
|
2
|
-
|
|
3
|
-
1. `npm i @dolanske/vui`
|
|
4
|
-
2. In your main app entry,`import "@dolanske/vui/style` to import the global CSS
|
|
5
|
-
3.
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
# VUI
|
|
2
|
+
|
|
3
|
+
1. `npm i @dolanske/vui`
|
|
4
|
+
2. In your main app entry,`import "@dolanske/vui/style` to import the global CSS
|
|
5
|
+
3. Override default style [tokens](https://dolanske.github.io/vui/docs/tokens) to fit your style
|
|
6
|
+
4. Build your thing bro
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## Documentation
|
|
11
|
+
|
|
12
|
+
[Right here](https://dolanske.github.io/vui/)
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## TODO
|
|
17
|
+
|
|
18
|
+
- [] Migrate Hivecom divider
|
|
19
|
+
- [] Update docs
|
|
@@ -37,6 +37,7 @@ declare function __VLS_template(): {
|
|
|
37
37
|
readonly rowReverse?: boolean | undefined;
|
|
38
38
|
readonly columnReverse?: boolean | undefined;
|
|
39
39
|
readonly gap?: (Spaces | number) | undefined;
|
|
40
|
+
readonly center?: boolean | undefined;
|
|
40
41
|
readonly xStart?: boolean | undefined;
|
|
41
42
|
readonly xEnd?: boolean | undefined;
|
|
42
43
|
readonly xCenter?: boolean | undefined;
|
|
@@ -47,11 +48,10 @@ declare function __VLS_template(): {
|
|
|
47
48
|
readonly yStart?: boolean | undefined;
|
|
48
49
|
readonly yEnd?: boolean | undefined;
|
|
49
50
|
readonly yBaseline?: boolean | undefined;
|
|
51
|
+
readonly yStretch?: boolean | undefined;
|
|
50
52
|
readonly expand?: boolean | undefined;
|
|
51
53
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
52
|
-
$attrs:
|
|
53
|
-
[x: string]: unknown;
|
|
54
|
-
};
|
|
54
|
+
$attrs: import('vue').Attrs;
|
|
55
55
|
$refs: {
|
|
56
56
|
[x: string]: unknown;
|
|
57
57
|
};
|
|
@@ -87,7 +87,7 @@ declare function __VLS_template(): {
|
|
|
87
87
|
$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;
|
|
88
88
|
} & Readonly<{
|
|
89
89
|
gap: Spaces | number;
|
|
90
|
-
}> & Omit<Readonly<import('../Flex/Flex.vue').FlexProps> & Readonly<{}>, "gap"> &
|
|
90
|
+
}> & Omit<Readonly<import('../Flex/Flex.vue').FlexProps> & Readonly<{}>, "gap"> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
91
91
|
$slots: {
|
|
92
92
|
default?(_: {}): any;
|
|
93
93
|
};
|
|
@@ -109,6 +109,7 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
109
109
|
readonly rowReverse?: boolean | undefined;
|
|
110
110
|
readonly columnReverse?: boolean | undefined;
|
|
111
111
|
readonly gap?: (Spaces | number) | undefined;
|
|
112
|
+
readonly center?: boolean | undefined;
|
|
112
113
|
readonly xStart?: boolean | undefined;
|
|
113
114
|
readonly xEnd?: boolean | undefined;
|
|
114
115
|
readonly xCenter?: boolean | undefined;
|
|
@@ -119,11 +120,10 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
119
120
|
readonly yStart?: boolean | undefined;
|
|
120
121
|
readonly yEnd?: boolean | undefined;
|
|
121
122
|
readonly yBaseline?: boolean | undefined;
|
|
123
|
+
readonly yStretch?: boolean | undefined;
|
|
122
124
|
readonly expand?: boolean | undefined;
|
|
123
125
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
124
|
-
$attrs:
|
|
125
|
-
[x: string]: unknown;
|
|
126
|
-
};
|
|
126
|
+
$attrs: import('vue').Attrs;
|
|
127
127
|
$refs: {
|
|
128
128
|
[x: string]: unknown;
|
|
129
129
|
};
|
|
@@ -159,7 +159,7 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
159
159
|
$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;
|
|
160
160
|
} & Readonly<{
|
|
161
161
|
gap: Spaces | number;
|
|
162
|
-
}> & Omit<Readonly<import('../Flex/Flex.vue').FlexProps> & Readonly<{}>, "gap"> &
|
|
162
|
+
}> & Omit<Readonly<import('../Flex/Flex.vue').FlexProps> & Readonly<{}>, "gap"> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
163
163
|
$slots: {
|
|
164
164
|
default?(_: {}): any;
|
|
165
165
|
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
interface BaseProps {
|
|
2
|
+
size?: number | string;
|
|
3
|
+
type?: 'solid' | 'dashed' | 'dotted';
|
|
4
|
+
}
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: HTMLDivElement;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<(BaseProps & {
|
|
15
|
+
vertical: true;
|
|
16
|
+
height: number | string;
|
|
17
|
+
}) | (BaseProps & {
|
|
18
|
+
vertical?: false;
|
|
19
|
+
height?: never;
|
|
20
|
+
}), {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<(BaseProps & {
|
|
21
|
+
vertical: true;
|
|
22
|
+
height: number | string;
|
|
23
|
+
}) | (BaseProps & {
|
|
24
|
+
vertical?: false;
|
|
25
|
+
height?: never;
|
|
26
|
+
})> & Readonly<{}>, {}, {}, {}, {}, 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
|
+
};
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
import { Placement } from '../../shared/types';
|
|
2
|
+
import { nextTick } from 'vue';
|
|
3
|
+
export interface Props {
|
|
4
|
+
/**
|
|
5
|
+
* Tooltip placement related to the anchor
|
|
6
|
+
*/
|
|
7
|
+
placement?: Placement;
|
|
8
|
+
/**
|
|
9
|
+
* Set the minimum width of the dropdown element
|
|
10
|
+
*/
|
|
11
|
+
minWidth?: number | string;
|
|
12
|
+
/**
|
|
13
|
+
* Sets the width of the dropdown to the width of its anchor
|
|
14
|
+
*/
|
|
15
|
+
expand?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Set he max height of the dropdown element before it starts scrolling
|
|
18
|
+
*/
|
|
19
|
+
maxHeight?: number | string;
|
|
20
|
+
/**
|
|
21
|
+
* Disable mobile drawer behavior, always use the floating dropdown.
|
|
22
|
+
*/
|
|
23
|
+
noMobileDrawer?: boolean;
|
|
24
|
+
}
|
|
25
|
+
declare function open(): void;
|
|
26
|
+
declare function close(): void;
|
|
27
|
+
declare function toggle(): void;
|
|
28
|
+
declare function __VLS_template(): {
|
|
29
|
+
attrs: Partial<{}>;
|
|
30
|
+
slots: {
|
|
31
|
+
trigger?(_: {
|
|
32
|
+
open: typeof open;
|
|
33
|
+
isOpen: boolean;
|
|
34
|
+
close: typeof close;
|
|
35
|
+
toggle: typeof toggle;
|
|
36
|
+
}): any;
|
|
37
|
+
default?(_: {
|
|
38
|
+
open: typeof open;
|
|
39
|
+
close: typeof close;
|
|
40
|
+
toggle: typeof toggle;
|
|
41
|
+
isOpen: boolean;
|
|
42
|
+
}): any;
|
|
43
|
+
default?(_: {
|
|
44
|
+
open: typeof open;
|
|
45
|
+
close: typeof close;
|
|
46
|
+
toggle: typeof toggle;
|
|
47
|
+
isOpen: boolean;
|
|
48
|
+
}): any;
|
|
49
|
+
};
|
|
50
|
+
refs: {
|
|
51
|
+
anchor: HTMLDivElement;
|
|
52
|
+
popoutEl: ({
|
|
53
|
+
$: import('vue').ComponentInternalInstance;
|
|
54
|
+
$data: {};
|
|
55
|
+
$props: {
|
|
56
|
+
readonly anchor: import('../../shared/types').PopoutMaybeElement<HTMLElement>;
|
|
57
|
+
readonly placement?: Placement | undefined;
|
|
58
|
+
readonly offset?: number | undefined;
|
|
59
|
+
readonly visible: boolean;
|
|
60
|
+
readonly transitionName?: string | "none" | undefined;
|
|
61
|
+
readonly teleport?: boolean | undefined;
|
|
62
|
+
readonly enterDelay?: number | undefined;
|
|
63
|
+
readonly leaveDelay?: number | undefined;
|
|
64
|
+
readonly onClickOutside?: (() => any) | undefined;
|
|
65
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
66
|
+
$attrs: import('vue').Attrs;
|
|
67
|
+
$refs: {
|
|
68
|
+
[x: string]: unknown;
|
|
69
|
+
} & {
|
|
70
|
+
popout: HTMLDivElement;
|
|
71
|
+
};
|
|
72
|
+
$slots: Readonly<{
|
|
73
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
74
|
+
}>;
|
|
75
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
76
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
77
|
+
$host: Element | null;
|
|
78
|
+
$emit: (event: "clickOutside") => void;
|
|
79
|
+
$el: any;
|
|
80
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('../Popout/Popout.vue').Props> & Readonly<{
|
|
81
|
+
onClickOutside?: (() => any) | undefined;
|
|
82
|
+
}>, {
|
|
83
|
+
el: HTMLDivElement | null;
|
|
84
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
85
|
+
clickOutside: () => any;
|
|
86
|
+
}, string, {
|
|
87
|
+
teleport: boolean;
|
|
88
|
+
offset: number;
|
|
89
|
+
placement: Placement;
|
|
90
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
91
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
92
|
+
created?: (() => void) | (() => void)[];
|
|
93
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
94
|
+
mounted?: (() => void) | (() => void)[];
|
|
95
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
96
|
+
updated?: (() => void) | (() => void)[];
|
|
97
|
+
activated?: (() => void) | (() => void)[];
|
|
98
|
+
deactivated?: (() => void) | (() => void)[];
|
|
99
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
100
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
101
|
+
destroyed?: (() => void) | (() => void)[];
|
|
102
|
+
unmounted?: (() => void) | (() => void)[];
|
|
103
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
104
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
105
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
106
|
+
};
|
|
107
|
+
$forceUpdate: () => void;
|
|
108
|
+
$nextTick: typeof nextTick;
|
|
109
|
+
$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;
|
|
110
|
+
} & Readonly<{
|
|
111
|
+
teleport: boolean;
|
|
112
|
+
offset: number;
|
|
113
|
+
placement: Placement;
|
|
114
|
+
}> & Omit<Readonly<import('../Popout/Popout.vue').Props> & Readonly<{
|
|
115
|
+
onClickOutside?: (() => any) | undefined;
|
|
116
|
+
}>, "el" | ("teleport" | "offset" | "placement")> & {
|
|
117
|
+
el: HTMLDivElement | null;
|
|
118
|
+
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
119
|
+
$slots: {
|
|
120
|
+
default?(_: {}): any;
|
|
121
|
+
};
|
|
122
|
+
}) | null;
|
|
123
|
+
};
|
|
124
|
+
rootEl: any;
|
|
125
|
+
};
|
|
126
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
127
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {
|
|
128
|
+
open: typeof open;
|
|
129
|
+
close: typeof close;
|
|
130
|
+
toggle: typeof toggle;
|
|
131
|
+
isOpen: import('vue').Ref<boolean, boolean>;
|
|
132
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
133
|
+
close: () => any;
|
|
134
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
135
|
+
onClose?: (() => any) | undefined;
|
|
136
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
137
|
+
anchor: HTMLDivElement;
|
|
138
|
+
popoutEl: ({
|
|
139
|
+
$: import('vue').ComponentInternalInstance;
|
|
140
|
+
$data: {};
|
|
141
|
+
$props: {
|
|
142
|
+
readonly anchor: import('../../shared/types').PopoutMaybeElement<HTMLElement>;
|
|
143
|
+
readonly placement?: Placement | undefined;
|
|
144
|
+
readonly offset?: number | undefined;
|
|
145
|
+
readonly visible: boolean;
|
|
146
|
+
readonly transitionName?: string | "none" | undefined;
|
|
147
|
+
readonly teleport?: boolean | undefined;
|
|
148
|
+
readonly enterDelay?: number | undefined;
|
|
149
|
+
readonly leaveDelay?: number | undefined;
|
|
150
|
+
readonly onClickOutside?: (() => any) | undefined;
|
|
151
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
152
|
+
$attrs: import('vue').Attrs;
|
|
153
|
+
$refs: {
|
|
154
|
+
[x: string]: unknown;
|
|
155
|
+
} & {
|
|
156
|
+
popout: HTMLDivElement;
|
|
157
|
+
};
|
|
158
|
+
$slots: Readonly<{
|
|
159
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
160
|
+
}>;
|
|
161
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
162
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
163
|
+
$host: Element | null;
|
|
164
|
+
$emit: (event: "clickOutside") => void;
|
|
165
|
+
$el: any;
|
|
166
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('../Popout/Popout.vue').Props> & Readonly<{
|
|
167
|
+
onClickOutside?: (() => any) | undefined;
|
|
168
|
+
}>, {
|
|
169
|
+
el: HTMLDivElement | null;
|
|
170
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
171
|
+
clickOutside: () => any;
|
|
172
|
+
}, string, {
|
|
173
|
+
teleport: boolean;
|
|
174
|
+
offset: number;
|
|
175
|
+
placement: Placement;
|
|
176
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
177
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
178
|
+
created?: (() => void) | (() => void)[];
|
|
179
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
180
|
+
mounted?: (() => void) | (() => void)[];
|
|
181
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
182
|
+
updated?: (() => void) | (() => void)[];
|
|
183
|
+
activated?: (() => void) | (() => void)[];
|
|
184
|
+
deactivated?: (() => void) | (() => void)[];
|
|
185
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
186
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
187
|
+
destroyed?: (() => void) | (() => void)[];
|
|
188
|
+
unmounted?: (() => void) | (() => void)[];
|
|
189
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
190
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
191
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
192
|
+
};
|
|
193
|
+
$forceUpdate: () => void;
|
|
194
|
+
$nextTick: typeof nextTick;
|
|
195
|
+
$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;
|
|
196
|
+
} & Readonly<{
|
|
197
|
+
teleport: boolean;
|
|
198
|
+
offset: number;
|
|
199
|
+
placement: Placement;
|
|
200
|
+
}> & Omit<Readonly<import('../Popout/Popout.vue').Props> & Readonly<{
|
|
201
|
+
onClickOutside?: (() => any) | undefined;
|
|
202
|
+
}>, "el" | ("teleport" | "offset" | "placement")> & {
|
|
203
|
+
el: HTMLDivElement | null;
|
|
204
|
+
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
205
|
+
$slots: {
|
|
206
|
+
default?(_: {}): any;
|
|
207
|
+
};
|
|
208
|
+
}) | null;
|
|
209
|
+
}, any>;
|
|
210
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
211
|
+
export default _default;
|
|
212
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
213
|
+
new (): {
|
|
214
|
+
$slots: S;
|
|
215
|
+
};
|
|
216
|
+
};
|
|
@@ -1,23 +1,46 @@
|
|
|
1
1
|
import { Spaces } from '../../shared/types';
|
|
2
2
|
export interface FlexProps {
|
|
3
|
+
/** Render as inline flex container. */
|
|
3
4
|
inline?: boolean;
|
|
5
|
+
/** Allow items to wrap onto multiple lines. */
|
|
4
6
|
wrap?: boolean;
|
|
7
|
+
/** Wrap items in reverse order. */
|
|
5
8
|
wrapReverse?: boolean;
|
|
9
|
+
/** Set main axis direction to row. */
|
|
6
10
|
row?: boolean;
|
|
11
|
+
/** Set main axis direction to column. */
|
|
7
12
|
column?: boolean;
|
|
13
|
+
/** Set main axis direction to row-reverse. */
|
|
8
14
|
rowReverse?: boolean;
|
|
15
|
+
/** Set main axis direction to column-reverse. */
|
|
9
16
|
columnReverse?: boolean;
|
|
17
|
+
/** Space between children. */
|
|
10
18
|
gap?: Spaces | number;
|
|
19
|
+
/** Center content on both axes. */
|
|
20
|
+
center?: boolean;
|
|
21
|
+
/** Align items to the start on main axis. */
|
|
11
22
|
xStart?: boolean;
|
|
23
|
+
/** Align items to the end on main axis. */
|
|
12
24
|
xEnd?: boolean;
|
|
25
|
+
/** Center items on main axis. */
|
|
13
26
|
xCenter?: boolean;
|
|
27
|
+
/** Distribute items with space-between on main axis. */
|
|
14
28
|
xBetween?: boolean;
|
|
29
|
+
/** Distribute items with space-around on main axis. */
|
|
15
30
|
xAround?: boolean;
|
|
31
|
+
/** Distribute items with space-evenly on main axis. */
|
|
16
32
|
xEvenly?: boolean;
|
|
33
|
+
/** Center items on cross axis. */
|
|
17
34
|
yCenter?: boolean;
|
|
35
|
+
/** Align items to start on cross axis. */
|
|
18
36
|
yStart?: boolean;
|
|
37
|
+
/** Align items to end on cross axis. */
|
|
19
38
|
yEnd?: boolean;
|
|
39
|
+
/** Align items to text baseline on cross axis. */
|
|
20
40
|
yBaseline?: boolean;
|
|
41
|
+
/** Stretch items on cross axis. */
|
|
42
|
+
yStretch?: boolean;
|
|
43
|
+
/** Expand width to 100%. */
|
|
21
44
|
expand?: boolean;
|
|
22
45
|
}
|
|
23
46
|
declare function __VLS_template(): {
|
|
@@ -3,15 +3,41 @@ import { Spaces } from '../../shared/types';
|
|
|
3
3
|
* This component is not meant for complex grids
|
|
4
4
|
*/
|
|
5
5
|
interface Props {
|
|
6
|
+
/** Render as inline grid container. */
|
|
6
7
|
inline?: boolean;
|
|
8
|
+
/** Space between rows and columns. */
|
|
7
9
|
gap?: Spaces | number;
|
|
10
|
+
/** Grid template rows value or count. */
|
|
8
11
|
rows?: number | string;
|
|
12
|
+
/** Grid template columns value or count. */
|
|
9
13
|
columns?: number | string;
|
|
14
|
+
/** Center content on both axes. */
|
|
15
|
+
center?: boolean;
|
|
16
|
+
/** Align items to center on inline axis. */
|
|
17
|
+
xCenter?: boolean;
|
|
18
|
+
/** Align items to start on inline axis. */
|
|
19
|
+
xStart?: boolean;
|
|
20
|
+
/** Align items to end on inline axis. */
|
|
21
|
+
xEnd?: boolean;
|
|
22
|
+
/** Stretch items on inline axis. */
|
|
23
|
+
xStretch?: boolean;
|
|
24
|
+
/** Align items to center on block axis. */
|
|
10
25
|
yCenter?: boolean;
|
|
26
|
+
/** Align items to start on block axis. */
|
|
11
27
|
yStart?: boolean;
|
|
28
|
+
/** Align items to end on block axis. */
|
|
12
29
|
yEnd?: boolean;
|
|
30
|
+
/** Align items to text baseline on block axis. */
|
|
13
31
|
yBaseline?: boolean;
|
|
32
|
+
/** Stretch items on block axis. */
|
|
14
33
|
yStretch?: boolean;
|
|
34
|
+
/** Auto-place grid items by rows. */
|
|
35
|
+
autoFlowRow?: boolean;
|
|
36
|
+
/** Auto-place grid items by columns. */
|
|
37
|
+
autoFlowColumn?: boolean;
|
|
38
|
+
/** Use dense auto-placement packing. */
|
|
39
|
+
autoFlowDense?: boolean;
|
|
40
|
+
/** Expand width to 100%. */
|
|
15
41
|
expand?: boolean;
|
|
16
42
|
}
|
|
17
43
|
declare function __VLS_template(): {
|
|
@@ -30,9 +30,7 @@ declare function __VLS_template(): {
|
|
|
30
30
|
readonly disabled?: boolean | undefined;
|
|
31
31
|
readonly "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
32
32
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
33
|
-
$attrs:
|
|
34
|
-
[x: string]: unknown;
|
|
35
|
-
};
|
|
33
|
+
$attrs: import('vue').Attrs;
|
|
36
34
|
$refs: {
|
|
37
35
|
[x: string]: unknown;
|
|
38
36
|
} & {
|
|
@@ -78,9 +76,9 @@ declare function __VLS_template(): {
|
|
|
78
76
|
modelValue?: string | number;
|
|
79
77
|
} & InputProps> & Readonly<{
|
|
80
78
|
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
81
|
-
}>, "focus"> &
|
|
79
|
+
}>, "focus"> & {
|
|
82
80
|
focus: () => void;
|
|
83
|
-
}
|
|
81
|
+
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
84
82
|
$slots: {
|
|
85
83
|
before?(_: {}): any;
|
|
86
84
|
start?(_: {}): any;
|
|
@@ -122,9 +120,7 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
122
120
|
readonly disabled?: boolean | undefined;
|
|
123
121
|
readonly "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
124
122
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
125
|
-
$attrs:
|
|
126
|
-
[x: string]: unknown;
|
|
127
|
-
};
|
|
123
|
+
$attrs: import('vue').Attrs;
|
|
128
124
|
$refs: {
|
|
129
125
|
[x: string]: unknown;
|
|
130
126
|
} & {
|
|
@@ -170,9 +166,9 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
170
166
|
modelValue?: string | number;
|
|
171
167
|
} & InputProps> & Readonly<{
|
|
172
168
|
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
173
|
-
}>, "focus"> &
|
|
169
|
+
}>, "focus"> & {
|
|
174
170
|
focus: () => void;
|
|
175
|
-
}
|
|
171
|
+
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
176
172
|
$slots: {
|
|
177
173
|
before?(_: {}): any;
|
|
178
174
|
start?(_: {}): any;
|
|
@@ -48,7 +48,9 @@ declare function __VLS_template(): {
|
|
|
48
48
|
rootEl: any;
|
|
49
49
|
};
|
|
50
50
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
51
|
-
declare const __VLS_component: import('vue').DefineComponent<Props, {
|
|
51
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {
|
|
52
|
+
el: HTMLDivElement | null;
|
|
53
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
52
54
|
clickOutside: () => any;
|
|
53
55
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
54
56
|
onClickOutside?: (() => any) | undefined;
|
|
@@ -39,9 +39,7 @@ export declare const toasts: import('vue').Ref<Map<number, {
|
|
|
39
39
|
} | {
|
|
40
40
|
[x: string]: any;
|
|
41
41
|
setup?: ((this: void, props: import('@vue/shared').LooseRequired<any>, ctx: {
|
|
42
|
-
attrs:
|
|
43
|
-
[x: string]: unknown;
|
|
44
|
-
};
|
|
42
|
+
attrs: import('vue').Attrs;
|
|
45
43
|
slots: Readonly<{
|
|
46
44
|
[name: string]: import('vue').Slot<any> | undefined;
|
|
47
45
|
}>;
|
|
@@ -169,9 +167,7 @@ export declare const toasts: import('vue').Ref<Map<number, {
|
|
|
169
167
|
} | {
|
|
170
168
|
[x: string]: any;
|
|
171
169
|
setup?: ((this: void, props: import('@vue/shared').LooseRequired<any>, ctx: {
|
|
172
|
-
attrs:
|
|
173
|
-
[x: string]: unknown;
|
|
174
|
-
};
|
|
170
|
+
attrs: import('vue').Attrs;
|
|
175
171
|
slots: Readonly<{
|
|
176
172
|
[name: string]: import('vue').Slot<any> | undefined;
|
|
177
173
|
}>;
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
export declare enum Breakpoints {
|
|
3
|
-
Mobile = "mobile"
|
|
3
|
+
Mobile = "mobile",
|
|
4
|
+
Tablet = "tablet"
|
|
4
5
|
}
|
|
5
6
|
export declare const vuiBreakpoints: Ref<{
|
|
6
7
|
mobile: number;
|
|
8
|
+
tablet: number;
|
|
7
9
|
}, Record<Breakpoints, number> | {
|
|
8
10
|
mobile: number;
|
|
11
|
+
tablet: number;
|
|
9
12
|
}>;
|
|
10
13
|
/**
|
|
11
14
|
* Returns a reactive boolean indicating if the current window width is less than or equal to the specified breakpoint.
|