@hantera/design-system 0.0.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 +21 -0
- package/README.md +1 -0
- package/dist/components/ContextMenu.stories.d.ts +241 -0
- package/dist/components/ContextMenuButton.vue.d.ts +85 -0
- package/dist/components/DecimalInput.stories.d.ts +1033 -0
- package/dist/components/DecimalInput.vue.d.ts +47 -0
- package/dist/components/DecimalInputValue.d.ts +5 -0
- package/dist/components/DragAndDrop/Draggable.vue.d.ts +35 -0
- package/dist/components/DragAndDrop/DraggableListItem.vue.d.ts +37 -0
- package/dist/components/DragAndDrop/DropZone.vue.d.ts +29 -0
- package/dist/components/DropdownButton.stories.d.ts +54 -0
- package/dist/components/DropdownButton.vue.d.ts +96 -0
- package/dist/components/DropdownMenu/DropdownCheckbox.vue.d.ts +26 -0
- package/dist/components/DropdownMenu/DropdownDivider.vue.d.ts +2 -0
- package/dist/components/DropdownMenu/DropdownItem.vue.d.ts +28 -0
- package/dist/components/DropdownMenu/DropdownMenu.vue.d.ts +34 -0
- package/dist/components/DropdownMenu/DropdownTypes.d.ts +5 -0
- package/dist/components/Expandable.stories.d.ts +45 -0
- package/dist/components/Expandable.vue.d.ts +31 -0
- package/dist/components/ExternalLink.stories.d.ts +28 -0
- package/dist/components/ExternalLink.vue.d.ts +20 -0
- package/dist/components/FloatingPanel.stories.d.ts +53 -0
- package/dist/components/FloatingPanel.vue.d.ts +35 -0
- package/dist/components/Form.stories.d.ts +13 -0
- package/dist/components/Icons/IconArrow.vue.d.ts +2 -0
- package/dist/components/Icons/IconClose.vue.d.ts +2 -0
- package/dist/components/Icons/IconFilter.vue.d.ts +2 -0
- package/dist/components/Icons/IconHamburger.vue.d.ts +2 -0
- package/dist/components/Icons/IconInbound.vue.d.ts +2 -0
- package/dist/components/Icons/IconOutbound.vue.d.ts +2 -0
- package/dist/components/Icons/IconPlus.vue.d.ts +2 -0
- package/dist/components/Icons/IconQuestion.vue.d.ts +2 -0
- package/dist/components/Icons/IconRedo.vue.d.ts +2 -0
- package/dist/components/Icons/IconReload.vue.d.ts +2 -0
- package/dist/components/Icons/IconUndo.vue.d.ts +2 -0
- package/dist/components/Icons/IconWarning.vue.d.ts +2 -0
- package/dist/components/InlineInput.stories.d.ts +98 -0
- package/dist/components/InlineInput.vue.d.ts +33 -0
- package/dist/components/ListLink.stories.d.ts +181 -0
- package/dist/components/ListLink.vue.d.ts +25 -0
- package/dist/components/LoadingArea.stories.d.ts +28 -0
- package/dist/components/LoadingArea.vue.d.ts +20 -0
- package/dist/components/Panel.stories.d.ts +32 -0
- package/dist/components/Panel.vue.d.ts +22 -0
- package/dist/components/PanelContent.vue.d.ts +22 -0
- package/dist/components/PhoneInput.stories.d.ts +212 -0
- package/dist/components/PhoneInput.vue.d.ts +42 -0
- package/dist/components/RemoveButton.stories.d.ts +24 -0
- package/dist/components/RemoveButton.vue.d.ts +12 -0
- package/dist/components/Spinner.stories.d.ts +6 -0
- package/dist/components/Spinner.vue.d.ts +2 -0
- package/dist/components/TabBar/TabBar.vue.d.ts +26 -0
- package/dist/components/TabBar/TabItem.vue.d.ts +96 -0
- package/dist/components/TabBar/tab-keys.d.ts +2 -0
- package/dist/components/TabBar.stories.d.ts +451 -0
- package/dist/components/TextInput.stories.d.ts +185 -0
- package/dist/components/TextInput.vue.d.ts +42 -0
- package/dist/components/ToggleButton.stories.d.ts +88 -0
- package/dist/components/ToggleButton.vue.d.ts +26 -0
- package/dist/components/ToggleSwitch.stories.d.ts +17 -0
- package/dist/components/ToggleSwitch.vue.d.ts +12 -0
- package/dist/components/Tree/Tree.vue.d.ts +32 -0
- package/dist/components/Tree/TreeNodeComponent.vue.d.ts +23 -0
- package/dist/components/Tree/TreeNodeIndent.vue.d.ts +6 -0
- package/dist/components/Tree/tree-node.d.ts +21 -0
- package/dist/composition/use-drag-context.d.ts +19 -0
- package/dist/directives/ContextMenuApp.vue.d.ts +2 -0
- package/dist/directives/context-menu.d.ts +28 -0
- package/dist/docs/App.vue.d.ts +2 -0
- package/dist/docs/main.d.ts +1 -0
- package/dist/docs/pages/PageContextMenu.vue.d.ts +2 -0
- package/dist/docs/pages/PageDragAndDrop.vue.d.ts +2 -0
- package/dist/docs/pages/PageExpandable.vue.d.ts +2 -0
- package/dist/docs/pages/PageFloatingPanel.vue.d.ts +2 -0
- package/dist/docs/pages/PageIndex.vue.d.ts +2 -0
- package/dist/docs/pages/PagePanel.vue.d.ts +2 -0
- package/dist/docs/pages/PageSpinner.vue.d.ts +2 -0
- package/dist/docs/pages/PageTabBar.vue.d.ts +2 -0
- package/dist/docs/pages/PageTextInput.vue.d.ts +2 -0
- package/dist/entry.d.ts +48 -0
- package/dist/log.d.ts +6 -0
- package/dist/use-close.d.ts +6 -0
- package/package.json +21 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023-2024 Hantera AB
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
This package contains the type definitions needed to use Hantera's Design System in Portal Apps. See https://developer.hantera.io for more info.
|
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
component: {
|
|
4
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
|
|
5
|
+
open: () => void;
|
|
6
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
7
|
+
P: {};
|
|
8
|
+
B: {};
|
|
9
|
+
D: {};
|
|
10
|
+
C: {};
|
|
11
|
+
M: {};
|
|
12
|
+
Defaults: {};
|
|
13
|
+
}, Readonly<{}> & Readonly<{}>, {
|
|
14
|
+
open: () => void;
|
|
15
|
+
}, {}, {}, {}, {}>;
|
|
16
|
+
__isFragment?: never;
|
|
17
|
+
__isTeleport?: never;
|
|
18
|
+
__isSuspense?: never;
|
|
19
|
+
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
|
|
20
|
+
open: () => void;
|
|
21
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
22
|
+
$slots: {
|
|
23
|
+
default?(_: {}): any;
|
|
24
|
+
};
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
export default _default;
|
|
28
|
+
export declare const Plain: any;
|
|
29
|
+
export declare const Large: (args: any) => {
|
|
30
|
+
components: {
|
|
31
|
+
ContextMenuButton: {
|
|
32
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
|
|
33
|
+
open: () => void;
|
|
34
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
35
|
+
P: {};
|
|
36
|
+
B: {};
|
|
37
|
+
D: {};
|
|
38
|
+
C: {};
|
|
39
|
+
M: {};
|
|
40
|
+
Defaults: {};
|
|
41
|
+
}, Readonly<{}> & Readonly<{}>, {
|
|
42
|
+
open: () => void;
|
|
43
|
+
}, {}, {}, {}, {}>;
|
|
44
|
+
__isFragment?: never;
|
|
45
|
+
__isTeleport?: never;
|
|
46
|
+
__isSuspense?: never;
|
|
47
|
+
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
|
|
48
|
+
open: () => void;
|
|
49
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
50
|
+
$slots: {
|
|
51
|
+
default?(_: {}): any;
|
|
52
|
+
};
|
|
53
|
+
});
|
|
54
|
+
DropdownItem: {
|
|
55
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
56
|
+
disabled?: boolean;
|
|
57
|
+
title?: string;
|
|
58
|
+
onClick?: any;
|
|
59
|
+
}> & Readonly<{
|
|
60
|
+
onClick?: ((preventClose: () => void) => any) | undefined;
|
|
61
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
62
|
+
click: (preventClose: () => void) => any;
|
|
63
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
64
|
+
P: {};
|
|
65
|
+
B: {};
|
|
66
|
+
D: {};
|
|
67
|
+
C: {};
|
|
68
|
+
M: {};
|
|
69
|
+
Defaults: {};
|
|
70
|
+
}, Readonly<{
|
|
71
|
+
disabled?: boolean;
|
|
72
|
+
title?: string;
|
|
73
|
+
onClick?: any;
|
|
74
|
+
}> & Readonly<{
|
|
75
|
+
onClick?: ((preventClose: () => void) => any) | undefined;
|
|
76
|
+
}>, {}, {}, {}, {}, {}>;
|
|
77
|
+
__isFragment?: never;
|
|
78
|
+
__isTeleport?: never;
|
|
79
|
+
__isSuspense?: never;
|
|
80
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
81
|
+
disabled?: boolean;
|
|
82
|
+
title?: string;
|
|
83
|
+
onClick?: any;
|
|
84
|
+
}> & Readonly<{
|
|
85
|
+
onClick?: ((preventClose: () => void) => any) | undefined;
|
|
86
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
87
|
+
click: (preventClose: () => void) => any;
|
|
88
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
89
|
+
$slots: {
|
|
90
|
+
default?(_: {}): any;
|
|
91
|
+
};
|
|
92
|
+
});
|
|
93
|
+
DropdownDivider: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
94
|
+
};
|
|
95
|
+
setup(): {
|
|
96
|
+
args: any;
|
|
97
|
+
};
|
|
98
|
+
template: string;
|
|
99
|
+
};
|
|
100
|
+
export declare const RightAligned: (args: any) => {
|
|
101
|
+
components: {
|
|
102
|
+
ContextMenuButton: {
|
|
103
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
|
|
104
|
+
open: () => void;
|
|
105
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
106
|
+
P: {};
|
|
107
|
+
B: {};
|
|
108
|
+
D: {};
|
|
109
|
+
C: {};
|
|
110
|
+
M: {};
|
|
111
|
+
Defaults: {};
|
|
112
|
+
}, Readonly<{}> & Readonly<{}>, {
|
|
113
|
+
open: () => void;
|
|
114
|
+
}, {}, {}, {}, {}>;
|
|
115
|
+
__isFragment?: never;
|
|
116
|
+
__isTeleport?: never;
|
|
117
|
+
__isSuspense?: never;
|
|
118
|
+
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
|
|
119
|
+
open: () => void;
|
|
120
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
121
|
+
$slots: {
|
|
122
|
+
default?(_: {}): any;
|
|
123
|
+
};
|
|
124
|
+
});
|
|
125
|
+
DropdownItem: {
|
|
126
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
127
|
+
disabled?: boolean;
|
|
128
|
+
title?: string;
|
|
129
|
+
onClick?: any;
|
|
130
|
+
}> & Readonly<{
|
|
131
|
+
onClick?: ((preventClose: () => void) => any) | undefined;
|
|
132
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
133
|
+
click: (preventClose: () => void) => any;
|
|
134
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
135
|
+
P: {};
|
|
136
|
+
B: {};
|
|
137
|
+
D: {};
|
|
138
|
+
C: {};
|
|
139
|
+
M: {};
|
|
140
|
+
Defaults: {};
|
|
141
|
+
}, Readonly<{
|
|
142
|
+
disabled?: boolean;
|
|
143
|
+
title?: string;
|
|
144
|
+
onClick?: any;
|
|
145
|
+
}> & Readonly<{
|
|
146
|
+
onClick?: ((preventClose: () => void) => any) | undefined;
|
|
147
|
+
}>, {}, {}, {}, {}, {}>;
|
|
148
|
+
__isFragment?: never;
|
|
149
|
+
__isTeleport?: never;
|
|
150
|
+
__isSuspense?: never;
|
|
151
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
152
|
+
disabled?: boolean;
|
|
153
|
+
title?: string;
|
|
154
|
+
onClick?: any;
|
|
155
|
+
}> & Readonly<{
|
|
156
|
+
onClick?: ((preventClose: () => void) => any) | undefined;
|
|
157
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
158
|
+
click: (preventClose: () => void) => any;
|
|
159
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
160
|
+
$slots: {
|
|
161
|
+
default?(_: {}): any;
|
|
162
|
+
};
|
|
163
|
+
});
|
|
164
|
+
DropdownDivider: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
165
|
+
};
|
|
166
|
+
setup(): {
|
|
167
|
+
args: any;
|
|
168
|
+
};
|
|
169
|
+
template: string;
|
|
170
|
+
};
|
|
171
|
+
export declare const NoItems: (args: any) => {
|
|
172
|
+
components: {
|
|
173
|
+
ContextMenuButton: {
|
|
174
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
|
|
175
|
+
open: () => void;
|
|
176
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
177
|
+
P: {};
|
|
178
|
+
B: {};
|
|
179
|
+
D: {};
|
|
180
|
+
C: {};
|
|
181
|
+
M: {};
|
|
182
|
+
Defaults: {};
|
|
183
|
+
}, Readonly<{}> & Readonly<{}>, {
|
|
184
|
+
open: () => void;
|
|
185
|
+
}, {}, {}, {}, {}>;
|
|
186
|
+
__isFragment?: never;
|
|
187
|
+
__isTeleport?: never;
|
|
188
|
+
__isSuspense?: never;
|
|
189
|
+
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
|
|
190
|
+
open: () => void;
|
|
191
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
192
|
+
$slots: {
|
|
193
|
+
default?(_: {}): any;
|
|
194
|
+
};
|
|
195
|
+
});
|
|
196
|
+
DropdownItem: {
|
|
197
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
198
|
+
disabled?: boolean;
|
|
199
|
+
title?: string;
|
|
200
|
+
onClick?: any;
|
|
201
|
+
}> & Readonly<{
|
|
202
|
+
onClick?: ((preventClose: () => void) => any) | undefined;
|
|
203
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
204
|
+
click: (preventClose: () => void) => any;
|
|
205
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
206
|
+
P: {};
|
|
207
|
+
B: {};
|
|
208
|
+
D: {};
|
|
209
|
+
C: {};
|
|
210
|
+
M: {};
|
|
211
|
+
Defaults: {};
|
|
212
|
+
}, Readonly<{
|
|
213
|
+
disabled?: boolean;
|
|
214
|
+
title?: string;
|
|
215
|
+
onClick?: any;
|
|
216
|
+
}> & Readonly<{
|
|
217
|
+
onClick?: ((preventClose: () => void) => any) | undefined;
|
|
218
|
+
}>, {}, {}, {}, {}, {}>;
|
|
219
|
+
__isFragment?: never;
|
|
220
|
+
__isTeleport?: never;
|
|
221
|
+
__isSuspense?: never;
|
|
222
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
223
|
+
disabled?: boolean;
|
|
224
|
+
title?: string;
|
|
225
|
+
onClick?: any;
|
|
226
|
+
}> & Readonly<{
|
|
227
|
+
onClick?: ((preventClose: () => void) => any) | undefined;
|
|
228
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
229
|
+
click: (preventClose: () => void) => any;
|
|
230
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
231
|
+
$slots: {
|
|
232
|
+
default?(_: {}): any;
|
|
233
|
+
};
|
|
234
|
+
});
|
|
235
|
+
DropdownDivider: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
236
|
+
};
|
|
237
|
+
setup(): {
|
|
238
|
+
args: any;
|
|
239
|
+
};
|
|
240
|
+
template: string;
|
|
241
|
+
};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
declare function open(): void;
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {
|
|
7
|
+
button: HTMLDivElement;
|
|
8
|
+
dropdown: ({
|
|
9
|
+
$: import('vue').ComponentInternalInstance;
|
|
10
|
+
$data: {};
|
|
11
|
+
$props: {
|
|
12
|
+
readonly target?: (import('./DropdownMenu/DropdownTypes').DropDownTarget | null) | undefined;
|
|
13
|
+
readonly onClose?: (() => any) | undefined;
|
|
14
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
15
|
+
$attrs: {
|
|
16
|
+
[x: string]: unknown;
|
|
17
|
+
};
|
|
18
|
+
$refs: {
|
|
19
|
+
[x: string]: unknown;
|
|
20
|
+
};
|
|
21
|
+
$slots: Readonly<{
|
|
22
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
23
|
+
}>;
|
|
24
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
25
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
26
|
+
$host: Element | null;
|
|
27
|
+
$emit: (event: "close") => void;
|
|
28
|
+
$el: any;
|
|
29
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
30
|
+
target?: import('./DropdownMenu/DropdownTypes').DropDownTarget | null;
|
|
31
|
+
}> & Readonly<{
|
|
32
|
+
onClose?: (() => any) | undefined;
|
|
33
|
+
}>, {
|
|
34
|
+
open: () => void;
|
|
35
|
+
close: () => void;
|
|
36
|
+
isOpen: () => boolean;
|
|
37
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
38
|
+
close: () => any;
|
|
39
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
40
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
41
|
+
created?: (() => void) | (() => void)[];
|
|
42
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
43
|
+
mounted?: (() => void) | (() => void)[];
|
|
44
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
45
|
+
updated?: (() => void) | (() => void)[];
|
|
46
|
+
activated?: (() => void) | (() => void)[];
|
|
47
|
+
deactivated?: (() => void) | (() => void)[];
|
|
48
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
49
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
50
|
+
destroyed?: (() => void) | (() => void)[];
|
|
51
|
+
unmounted?: (() => void) | (() => void)[];
|
|
52
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
53
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
54
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
55
|
+
};
|
|
56
|
+
$forceUpdate: () => void;
|
|
57
|
+
$nextTick: typeof import('vue').nextTick;
|
|
58
|
+
$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;
|
|
59
|
+
} & Readonly<{}> & Omit<Readonly<{
|
|
60
|
+
target?: import('./DropdownMenu/DropdownTypes').DropDownTarget | null;
|
|
61
|
+
}> & Readonly<{
|
|
62
|
+
onClose?: (() => any) | undefined;
|
|
63
|
+
}>, "close" | "open" | "isOpen"> & import('vue').ShallowUnwrapRef<{
|
|
64
|
+
open: () => void;
|
|
65
|
+
close: () => void;
|
|
66
|
+
isOpen: () => boolean;
|
|
67
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
68
|
+
$slots: {
|
|
69
|
+
default?(_: {}): any;
|
|
70
|
+
};
|
|
71
|
+
}) | null;
|
|
72
|
+
};
|
|
73
|
+
attrs: Partial<{}>;
|
|
74
|
+
};
|
|
75
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
76
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
77
|
+
open: typeof open;
|
|
78
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
79
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
80
|
+
export default _default;
|
|
81
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
82
|
+
new (): {
|
|
83
|
+
$slots: S;
|
|
84
|
+
};
|
|
85
|
+
};
|