veloce-vue 0.18.0 → 0.19.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/components/Accordion.vue.d.ts +1 -8
- package/components/Button.vue.d.ts +49 -12
- package/components/Checkbox.vue.d.ts +1 -1
- package/components/Drawer.vue.d.ts +1 -1
- package/components/Input.vue.d.ts +21 -2
- package/components/Popover.vue.d.ts +1 -1
- package/components/RangeSlider.vue.d.ts +36 -0
- package/components/Select.vue.d.ts +92 -0
- package/components/Separator.vue.d.ts +107 -0
- package/components/Switch.vue.d.ts +44 -0
- package/components/Tooltip.vue.d.ts +51 -0
- package/components/icon/icons.d.ts +132 -6
- package/exports/types.d.ts +14 -0
- package/exports/ui.d.ts +6 -1
- package/icons.js +1 -1
- package/index-Cqxg4hfC.js +2928 -0
- package/package.json +1 -1
- package/ui.js +2796 -2277
- package/veloce.css +1 -1
- package/index-1Hh5u2VX.js +0 -227
|
@@ -1,12 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AccordionItem } from '../exports/types';
|
|
2
2
|
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
export type AccordionItem = {
|
|
4
|
-
title: string;
|
|
5
|
-
content: string;
|
|
6
|
-
slot?: string;
|
|
7
|
-
icon?: Icons;
|
|
8
|
-
active?: boolean;
|
|
9
|
-
};
|
|
10
3
|
declare function __VLS_template(): {
|
|
11
4
|
attrs: Partial<{}>;
|
|
12
5
|
slots: Partial<Record<string, (_: {}) => any>>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Icons } from '../exports/icons';
|
|
2
|
+
import { Variant, Severity, Position, Size, FontWeight } from '../exports/types';
|
|
2
3
|
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
4
|
declare function __VLS_template(): {
|
|
4
5
|
attrs: Partial<{}>;
|
|
@@ -6,7 +7,7 @@ declare function __VLS_template(): {
|
|
|
6
7
|
default?(_: {}): any;
|
|
7
8
|
};
|
|
8
9
|
refs: {};
|
|
9
|
-
rootEl:
|
|
10
|
+
rootEl: HTMLButtonElement;
|
|
10
11
|
};
|
|
11
12
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
13
|
declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
@@ -23,7 +24,11 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
23
24
|
default: boolean;
|
|
24
25
|
};
|
|
25
26
|
variant: {
|
|
26
|
-
type: () =>
|
|
27
|
+
type: () => Variant;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
severity: {
|
|
31
|
+
type: () => Severity;
|
|
27
32
|
default: string;
|
|
28
33
|
};
|
|
29
34
|
icon: {
|
|
@@ -35,7 +40,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
35
40
|
default: string;
|
|
36
41
|
};
|
|
37
42
|
iconPosition: {
|
|
38
|
-
type: () =>
|
|
43
|
+
type: () => Position;
|
|
39
44
|
default: string;
|
|
40
45
|
};
|
|
41
46
|
rounded: {
|
|
@@ -43,9 +48,21 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
43
48
|
default: boolean;
|
|
44
49
|
};
|
|
45
50
|
size: {
|
|
46
|
-
type: () =>
|
|
51
|
+
type: () => Size;
|
|
47
52
|
default: string;
|
|
48
53
|
};
|
|
54
|
+
fontWeight: {
|
|
55
|
+
type: () => FontWeight;
|
|
56
|
+
default: FontWeight;
|
|
57
|
+
};
|
|
58
|
+
showLogs: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
62
|
+
neumorphic: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
49
66
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
50
67
|
label: {
|
|
51
68
|
type: StringConstructor;
|
|
@@ -60,7 +77,11 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
60
77
|
default: boolean;
|
|
61
78
|
};
|
|
62
79
|
variant: {
|
|
63
|
-
type: () =>
|
|
80
|
+
type: () => Variant;
|
|
81
|
+
default: string;
|
|
82
|
+
};
|
|
83
|
+
severity: {
|
|
84
|
+
type: () => Severity;
|
|
64
85
|
default: string;
|
|
65
86
|
};
|
|
66
87
|
icon: {
|
|
@@ -72,7 +93,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
72
93
|
default: string;
|
|
73
94
|
};
|
|
74
95
|
iconPosition: {
|
|
75
|
-
type: () =>
|
|
96
|
+
type: () => Position;
|
|
76
97
|
default: string;
|
|
77
98
|
};
|
|
78
99
|
rounded: {
|
|
@@ -80,20 +101,36 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
80
101
|
default: boolean;
|
|
81
102
|
};
|
|
82
103
|
size: {
|
|
83
|
-
type: () =>
|
|
104
|
+
type: () => Size;
|
|
84
105
|
default: string;
|
|
85
106
|
};
|
|
107
|
+
fontWeight: {
|
|
108
|
+
type: () => FontWeight;
|
|
109
|
+
default: FontWeight;
|
|
110
|
+
};
|
|
111
|
+
showLogs: {
|
|
112
|
+
type: BooleanConstructor;
|
|
113
|
+
default: boolean;
|
|
114
|
+
};
|
|
115
|
+
neumorphic: {
|
|
116
|
+
type: BooleanConstructor;
|
|
117
|
+
default: boolean;
|
|
118
|
+
};
|
|
86
119
|
}>> & Readonly<{}>, {
|
|
87
120
|
label: string;
|
|
88
121
|
loading: boolean;
|
|
89
|
-
icon: "check" | "
|
|
90
|
-
size:
|
|
122
|
+
icon: "filter" | "code" | "link" | "menu" | "video" | "circle" | "image" | "stop" | "square" | "x" | "alert" | "alert-circle" | "archive" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "at-sign" | "bell" | "bookmark" | "camera" | "check" | "check-circle" | "check-square" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "cloud" | "cloud-download" | "cloud-upload" | "command" | "copy" | "credit-card" | "database" | "download" | "edit" | "external-link" | "eye" | "eye-off" | "fast-forward" | "file" | "file-audio" | "file-image" | "file-pdf" | "file-text" | "file-video" | "file-zip" | "folder" | "folder-open" | "folder-plus" | "grid" | "hamburger" | "hash" | "heart" | "help-circle" | "home" | "inbox" | "info" | "key" | "layout" | "link-2" | "list" | "loading" | "lock" | "log-in" | "log-out" | "mail" | "maximize" | "message-circle" | "message-square" | "mic" | "mic-off" | "minimize" | "minus" | "moon" | "more-horizontal" | "more-vertical" | "move" | "package" | "paperclip" | "pause" | "phone" | "play" | "plus" | "printer" | "radio-button" | "refresh-cw" | "repeat" | "rewind" | "rotate-ccw" | "rotate-cw" | "save" | "scissors" | "search" | "send" | "server" | "settings" | "share" | "shield" | "shuffle" | "sidebar" | "skip-back" | "skip-forward" | "slider" | "sliders" | "sort-asc" | "sort-desc" | "star" | "sun" | "tag" | "tags" | "terminal" | "thumbs-down" | "thumbs-up" | "toggle-left" | "toggle-right" | "trash" | "trash-2" | "unlink" | "unlock" | "upload" | "user" | "users" | "video-off" | "volume" | "volume-1" | "volume-2" | "volume-mute" | "volume-x" | "x-circle" | "zap" | "zoom-in" | "zoom-out";
|
|
123
|
+
size: Size;
|
|
124
|
+
fontWeight: FontWeight;
|
|
91
125
|
rounded: boolean;
|
|
92
126
|
disabled: boolean;
|
|
93
|
-
variant:
|
|
127
|
+
variant: Variant;
|
|
128
|
+
severity: Severity;
|
|
94
129
|
iconClass: string;
|
|
95
|
-
iconPosition:
|
|
96
|
-
|
|
130
|
+
iconPosition: Position;
|
|
131
|
+
showLogs: boolean;
|
|
132
|
+
neumorphic: boolean;
|
|
133
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLButtonElement>;
|
|
97
134
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
98
135
|
export default _default;
|
|
99
136
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -74,7 +74,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
74
74
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
75
75
|
}>, {
|
|
76
76
|
label: string;
|
|
77
|
-
icon: "check" | "
|
|
77
|
+
icon: "filter" | "code" | "link" | "menu" | "video" | "circle" | "image" | "stop" | "square" | "x" | "alert" | "alert-circle" | "archive" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "at-sign" | "bell" | "bookmark" | "camera" | "check" | "check-circle" | "check-square" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "cloud" | "cloud-download" | "cloud-upload" | "command" | "copy" | "credit-card" | "database" | "download" | "edit" | "external-link" | "eye" | "eye-off" | "fast-forward" | "file" | "file-audio" | "file-image" | "file-pdf" | "file-text" | "file-video" | "file-zip" | "folder" | "folder-open" | "folder-plus" | "grid" | "hamburger" | "hash" | "heart" | "help-circle" | "home" | "inbox" | "info" | "key" | "layout" | "link-2" | "list" | "loading" | "lock" | "log-in" | "log-out" | "mail" | "maximize" | "message-circle" | "message-square" | "mic" | "mic-off" | "minimize" | "minus" | "moon" | "more-horizontal" | "more-vertical" | "move" | "package" | "paperclip" | "pause" | "phone" | "play" | "plus" | "printer" | "radio-button" | "refresh-cw" | "repeat" | "rewind" | "rotate-ccw" | "rotate-cw" | "save" | "scissors" | "search" | "send" | "server" | "settings" | "share" | "shield" | "shuffle" | "sidebar" | "skip-back" | "skip-forward" | "slider" | "sliders" | "sort-asc" | "sort-desc" | "star" | "sun" | "tag" | "tags" | "terminal" | "thumbs-down" | "thumbs-up" | "toggle-left" | "toggle-right" | "trash" | "trash-2" | "unlink" | "unlock" | "upload" | "user" | "users" | "video-off" | "volume" | "volume-1" | "volume-2" | "volume-mute" | "volume-x" | "x-circle" | "zap" | "zoom-in" | "zoom-out";
|
|
78
78
|
size: CheckboxSize;
|
|
79
79
|
disabled: boolean;
|
|
80
80
|
variant: CheckboxVariant;
|
|
@@ -66,7 +66,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
66
66
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
67
67
|
}>, {
|
|
68
68
|
title: string;
|
|
69
|
-
direction: "
|
|
69
|
+
direction: "left" | "right" | "bottom";
|
|
70
70
|
description: string;
|
|
71
71
|
showFooter: boolean;
|
|
72
72
|
show: boolean;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Icons } from '../exports/icons';
|
|
2
|
+
import { Size } from '../exports/types';
|
|
2
3
|
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
4
|
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
4
5
|
leadingIcon: {
|
|
@@ -13,6 +14,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
13
14
|
type: StringConstructor;
|
|
14
15
|
default: string;
|
|
15
16
|
};
|
|
17
|
+
iconClass: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
16
21
|
helpText: {
|
|
17
22
|
type: StringConstructor;
|
|
18
23
|
default: string;
|
|
@@ -29,6 +34,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
29
34
|
type: StringConstructor;
|
|
30
35
|
default: string;
|
|
31
36
|
};
|
|
37
|
+
size: {
|
|
38
|
+
type: () => Size;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
32
41
|
modelValue: {
|
|
33
42
|
type: PropType<any>;
|
|
34
43
|
};
|
|
@@ -47,6 +56,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
47
56
|
type: StringConstructor;
|
|
48
57
|
default: string;
|
|
49
58
|
};
|
|
59
|
+
iconClass: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
50
63
|
helpText: {
|
|
51
64
|
type: StringConstructor;
|
|
52
65
|
default: string;
|
|
@@ -63,6 +76,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
63
76
|
type: StringConstructor;
|
|
64
77
|
default: string;
|
|
65
78
|
};
|
|
79
|
+
size: {
|
|
80
|
+
type: () => Size;
|
|
81
|
+
default: string;
|
|
82
|
+
};
|
|
66
83
|
modelValue: {
|
|
67
84
|
type: PropType<any>;
|
|
68
85
|
};
|
|
@@ -71,9 +88,11 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
71
88
|
}>, {
|
|
72
89
|
label: string;
|
|
73
90
|
type: "text" | "password";
|
|
91
|
+
size: Size;
|
|
74
92
|
placeholder: string;
|
|
75
|
-
|
|
76
|
-
|
|
93
|
+
iconClass: string;
|
|
94
|
+
leadingIcon: "filter" | "code" | "link" | "menu" | "video" | "circle" | "image" | "stop" | "square" | "x" | "alert" | "alert-circle" | "archive" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "at-sign" | "bell" | "bookmark" | "camera" | "check" | "check-circle" | "check-square" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "cloud" | "cloud-download" | "cloud-upload" | "command" | "copy" | "credit-card" | "database" | "download" | "edit" | "external-link" | "eye" | "eye-off" | "fast-forward" | "file" | "file-audio" | "file-image" | "file-pdf" | "file-text" | "file-video" | "file-zip" | "folder" | "folder-open" | "folder-plus" | "grid" | "hamburger" | "hash" | "heart" | "help-circle" | "home" | "inbox" | "info" | "key" | "layout" | "link-2" | "list" | "loading" | "lock" | "log-in" | "log-out" | "mail" | "maximize" | "message-circle" | "message-square" | "mic" | "mic-off" | "minimize" | "minus" | "moon" | "more-horizontal" | "more-vertical" | "move" | "package" | "paperclip" | "pause" | "phone" | "play" | "plus" | "printer" | "radio-button" | "refresh-cw" | "repeat" | "rewind" | "rotate-ccw" | "rotate-cw" | "save" | "scissors" | "search" | "send" | "server" | "settings" | "share" | "shield" | "shuffle" | "sidebar" | "skip-back" | "skip-forward" | "slider" | "sliders" | "sort-asc" | "sort-desc" | "star" | "sun" | "tag" | "tags" | "terminal" | "thumbs-down" | "thumbs-up" | "toggle-left" | "toggle-right" | "trash" | "trash-2" | "unlink" | "unlock" | "upload" | "user" | "users" | "video-off" | "volume" | "volume-1" | "volume-2" | "volume-mute" | "volume-x" | "x-circle" | "zap" | "zoom-in" | "zoom-out";
|
|
95
|
+
trailingIcon: "filter" | "code" | "link" | "menu" | "video" | "circle" | "image" | "stop" | "square" | "x" | "alert" | "alert-circle" | "archive" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "at-sign" | "bell" | "bookmark" | "camera" | "check" | "check-circle" | "check-square" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "cloud" | "cloud-download" | "cloud-upload" | "command" | "copy" | "credit-card" | "database" | "download" | "edit" | "external-link" | "eye" | "eye-off" | "fast-forward" | "file" | "file-audio" | "file-image" | "file-pdf" | "file-text" | "file-video" | "file-zip" | "folder" | "folder-open" | "folder-plus" | "grid" | "hamburger" | "hash" | "heart" | "help-circle" | "home" | "inbox" | "info" | "key" | "layout" | "link-2" | "list" | "loading" | "lock" | "log-in" | "log-out" | "mail" | "maximize" | "message-circle" | "message-square" | "mic" | "mic-off" | "minimize" | "minus" | "moon" | "more-horizontal" | "more-vertical" | "move" | "package" | "paperclip" | "pause" | "phone" | "play" | "plus" | "printer" | "radio-button" | "refresh-cw" | "repeat" | "rewind" | "rotate-ccw" | "rotate-cw" | "save" | "scissors" | "search" | "send" | "server" | "settings" | "share" | "shield" | "shuffle" | "sidebar" | "skip-back" | "skip-forward" | "slider" | "sliders" | "sort-asc" | "sort-desc" | "star" | "sun" | "tag" | "tags" | "terminal" | "thumbs-down" | "thumbs-up" | "toggle-left" | "toggle-right" | "trash" | "trash-2" | "unlink" | "unlock" | "upload" | "user" | "users" | "video-off" | "volume" | "volume-1" | "volume-2" | "volume-mute" | "volume-x" | "x-circle" | "zap" | "zoom-in" | "zoom-out";
|
|
77
96
|
helpText: string;
|
|
78
97
|
labelStyle: "float" | "static";
|
|
79
98
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
@@ -39,7 +39,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
39
39
|
};
|
|
40
40
|
}>> & Readonly<{}>, {
|
|
41
41
|
contentClass: string;
|
|
42
|
-
position: "
|
|
42
|
+
position: "top" | "bottom";
|
|
43
43
|
bodyClass: string;
|
|
44
44
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
45
45
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
3
|
+
showTooltip: {
|
|
4
|
+
type: BooleanConstructor;
|
|
5
|
+
default: boolean;
|
|
6
|
+
};
|
|
7
|
+
tooltipPosition: {
|
|
8
|
+
type: () => "top" | "bottom";
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
modelValue: {
|
|
12
|
+
type: PropType<number>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
16
|
+
"update:modelValue": (value: number) => any;
|
|
17
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
18
|
+
showTooltip: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
tooltipPosition: {
|
|
23
|
+
type: () => "top" | "bottom";
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
modelValue: {
|
|
27
|
+
type: PropType<number>;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
}>> & Readonly<{
|
|
31
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
32
|
+
}>, {
|
|
33
|
+
showTooltip: boolean;
|
|
34
|
+
tooltipPosition: "top" | "bottom";
|
|
35
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
36
|
+
export default _default;
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { Variant, Severity, Size, FontWeight } from '../exports/types';
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
4
|
+
options: {
|
|
5
|
+
type: () => string[];
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
variant: {
|
|
9
|
+
type: () => Variant;
|
|
10
|
+
default: Variant;
|
|
11
|
+
};
|
|
12
|
+
severity: {
|
|
13
|
+
type: () => Severity;
|
|
14
|
+
default: Severity;
|
|
15
|
+
};
|
|
16
|
+
size: {
|
|
17
|
+
type: () => Size;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
showFilter: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
isOpen: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
closeOnClickOutside: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
fontWeight: {
|
|
33
|
+
type: () => FontWeight;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
modelValue: {
|
|
37
|
+
type: PropType<string>;
|
|
38
|
+
};
|
|
39
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
40
|
+
"update:isOpen": (...args: any[]) => void;
|
|
41
|
+
"update:modelValue": (value: string) => void;
|
|
42
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
43
|
+
options: {
|
|
44
|
+
type: () => string[];
|
|
45
|
+
required: true;
|
|
46
|
+
};
|
|
47
|
+
variant: {
|
|
48
|
+
type: () => Variant;
|
|
49
|
+
default: Variant;
|
|
50
|
+
};
|
|
51
|
+
severity: {
|
|
52
|
+
type: () => Severity;
|
|
53
|
+
default: Severity;
|
|
54
|
+
};
|
|
55
|
+
size: {
|
|
56
|
+
type: () => Size;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
showFilter: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
isOpen: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
closeOnClickOutside: {
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
71
|
+
fontWeight: {
|
|
72
|
+
type: () => FontWeight;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
modelValue: {
|
|
76
|
+
type: PropType<string>;
|
|
77
|
+
};
|
|
78
|
+
}>> & Readonly<{
|
|
79
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
80
|
+
"onUpdate:isOpen"?: ((...args: any[]) => any) | undefined;
|
|
81
|
+
}>, {
|
|
82
|
+
size: Size;
|
|
83
|
+
fontWeight: FontWeight;
|
|
84
|
+
variant: Variant;
|
|
85
|
+
severity: Severity;
|
|
86
|
+
isOpen: boolean;
|
|
87
|
+
showFilter: boolean;
|
|
88
|
+
closeOnClickOutside: boolean;
|
|
89
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
90
|
+
target: HTMLDivElement;
|
|
91
|
+
}, HTMLDivElement>;
|
|
92
|
+
export default _default;
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { Icons } from '../exports/icons';
|
|
2
|
+
import { Direction, Severity, Size } from '../exports/types';
|
|
3
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
|
+
type SeparatorType = "solid" | "dashed" | "dotted";
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
content?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: HTMLDivElement;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
15
|
+
direction: {
|
|
16
|
+
type: () => Direction;
|
|
17
|
+
default: Direction;
|
|
18
|
+
};
|
|
19
|
+
severity: {
|
|
20
|
+
type: () => Severity;
|
|
21
|
+
default: Severity;
|
|
22
|
+
};
|
|
23
|
+
type: {
|
|
24
|
+
type: () => SeparatorType;
|
|
25
|
+
default: SeparatorType;
|
|
26
|
+
};
|
|
27
|
+
size: {
|
|
28
|
+
type: () => Size;
|
|
29
|
+
default: Size;
|
|
30
|
+
};
|
|
31
|
+
label: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
icon: {
|
|
36
|
+
type: () => Icons;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
bordered: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
rounded: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
height: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
default: string;
|
|
50
|
+
validator: (value: string) => boolean;
|
|
51
|
+
};
|
|
52
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
53
|
+
direction: {
|
|
54
|
+
type: () => Direction;
|
|
55
|
+
default: Direction;
|
|
56
|
+
};
|
|
57
|
+
severity: {
|
|
58
|
+
type: () => Severity;
|
|
59
|
+
default: Severity;
|
|
60
|
+
};
|
|
61
|
+
type: {
|
|
62
|
+
type: () => SeparatorType;
|
|
63
|
+
default: SeparatorType;
|
|
64
|
+
};
|
|
65
|
+
size: {
|
|
66
|
+
type: () => Size;
|
|
67
|
+
default: Size;
|
|
68
|
+
};
|
|
69
|
+
label: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
icon: {
|
|
74
|
+
type: () => Icons;
|
|
75
|
+
default: string;
|
|
76
|
+
};
|
|
77
|
+
bordered: {
|
|
78
|
+
type: BooleanConstructor;
|
|
79
|
+
default: boolean;
|
|
80
|
+
};
|
|
81
|
+
rounded: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
default: boolean;
|
|
84
|
+
};
|
|
85
|
+
height: {
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
default: string;
|
|
88
|
+
validator: (value: string) => boolean;
|
|
89
|
+
};
|
|
90
|
+
}>> & Readonly<{}>, {
|
|
91
|
+
label: string;
|
|
92
|
+
height: string;
|
|
93
|
+
type: SeparatorType;
|
|
94
|
+
icon: "filter" | "code" | "link" | "menu" | "video" | "circle" | "image" | "stop" | "square" | "x" | "alert" | "alert-circle" | "archive" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "at-sign" | "bell" | "bookmark" | "camera" | "check" | "check-circle" | "check-square" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "cloud" | "cloud-download" | "cloud-upload" | "command" | "copy" | "credit-card" | "database" | "download" | "edit" | "external-link" | "eye" | "eye-off" | "fast-forward" | "file" | "file-audio" | "file-image" | "file-pdf" | "file-text" | "file-video" | "file-zip" | "folder" | "folder-open" | "folder-plus" | "grid" | "hamburger" | "hash" | "heart" | "help-circle" | "home" | "inbox" | "info" | "key" | "layout" | "link-2" | "list" | "loading" | "lock" | "log-in" | "log-out" | "mail" | "maximize" | "message-circle" | "message-square" | "mic" | "mic-off" | "minimize" | "minus" | "moon" | "more-horizontal" | "more-vertical" | "move" | "package" | "paperclip" | "pause" | "phone" | "play" | "plus" | "printer" | "radio-button" | "refresh-cw" | "repeat" | "rewind" | "rotate-ccw" | "rotate-cw" | "save" | "scissors" | "search" | "send" | "server" | "settings" | "share" | "shield" | "shuffle" | "sidebar" | "skip-back" | "skip-forward" | "slider" | "sliders" | "sort-asc" | "sort-desc" | "star" | "sun" | "tag" | "tags" | "terminal" | "thumbs-down" | "thumbs-up" | "toggle-left" | "toggle-right" | "trash" | "trash-2" | "unlink" | "unlock" | "upload" | "user" | "users" | "video-off" | "volume" | "volume-1" | "volume-2" | "volume-mute" | "volume-x" | "x-circle" | "zap" | "zoom-in" | "zoom-out";
|
|
95
|
+
size: Size;
|
|
96
|
+
direction: Direction;
|
|
97
|
+
rounded: boolean;
|
|
98
|
+
severity: Severity;
|
|
99
|
+
bordered: boolean;
|
|
100
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
101
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
102
|
+
export default _default;
|
|
103
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
104
|
+
new (): {
|
|
105
|
+
$slots: S;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { Severity, Size } from '../exports/types';
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
4
|
+
severity: {
|
|
5
|
+
type: () => Severity;
|
|
6
|
+
default: Severity;
|
|
7
|
+
};
|
|
8
|
+
disabled: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
size: {
|
|
13
|
+
type: () => Size;
|
|
14
|
+
default: Size;
|
|
15
|
+
};
|
|
16
|
+
modelValue: {
|
|
17
|
+
type: PropType<boolean>;
|
|
18
|
+
};
|
|
19
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
20
|
+
"update:modelValue": (value: boolean) => any;
|
|
21
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
22
|
+
severity: {
|
|
23
|
+
type: () => Severity;
|
|
24
|
+
default: Severity;
|
|
25
|
+
};
|
|
26
|
+
disabled: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
size: {
|
|
31
|
+
type: () => Size;
|
|
32
|
+
default: Size;
|
|
33
|
+
};
|
|
34
|
+
modelValue: {
|
|
35
|
+
type: PropType<boolean>;
|
|
36
|
+
};
|
|
37
|
+
}>> & Readonly<{
|
|
38
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
39
|
+
}>, {
|
|
40
|
+
size: Size;
|
|
41
|
+
disabled: boolean;
|
|
42
|
+
severity: Severity;
|
|
43
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
44
|
+
export default _default;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
body?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
refs: {};
|
|
9
|
+
rootEl: HTMLDivElement;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
+
declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
13
|
+
content: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
position: {
|
|
18
|
+
type: () => "top" | "bottom" | "left" | "right";
|
|
19
|
+
default: string;
|
|
20
|
+
options: string[];
|
|
21
|
+
};
|
|
22
|
+
bodyClass: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
27
|
+
content: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
position: {
|
|
32
|
+
type: () => "top" | "bottom" | "left" | "right";
|
|
33
|
+
default: string;
|
|
34
|
+
options: string[];
|
|
35
|
+
};
|
|
36
|
+
bodyClass: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
}>> & Readonly<{}>, {
|
|
41
|
+
content: string;
|
|
42
|
+
position: "left" | "right" | "top" | "bottom";
|
|
43
|
+
bodyClass: string;
|
|
44
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
45
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
46
|
+
export default _default;
|
|
47
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
48
|
+
new (): {
|
|
49
|
+
$slots: S;
|
|
50
|
+
};
|
|
51
|
+
};
|