@scalar/components 0.12.8 → 0.12.10
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/dist/components/ScalarButton/ScalarButton.spec.d.ts +2 -0
- package/dist/components/ScalarButton/ScalarButton.spec.d.ts.map +1 -0
- package/dist/components/ScalarButton/ScalarButton.stories.d.ts +687 -0
- package/dist/components/ScalarButton/ScalarButton.stories.d.ts.map +1 -0
- package/dist/components/ScalarButton/ScalarButton.vue.d.ts +63 -0
- package/dist/components/ScalarButton/ScalarButton.vue.d.ts.map +1 -0
- package/dist/components/ScalarButton/index.d.ts +3 -0
- package/dist/components/ScalarButton/index.d.ts.map +1 -0
- package/dist/components/ScalarButton/variants.d.ts +64 -0
- package/dist/components/ScalarButton/variants.d.ts.map +1 -0
- package/dist/components/ScalarCodeBlock/ScalarCodeBlock.spec.d.ts +2 -0
- package/dist/components/ScalarCodeBlock/ScalarCodeBlock.spec.d.ts.map +1 -0
- package/dist/components/ScalarCodeBlock/ScalarCodeBlock.stories.d.ts +164 -0
- package/dist/components/ScalarCodeBlock/ScalarCodeBlock.stories.d.ts.map +1 -0
- package/dist/components/ScalarCodeBlock/ScalarCodeBlock.vue.d.ts +39 -0
- package/dist/components/ScalarCodeBlock/ScalarCodeBlock.vue.d.ts.map +1 -0
- package/dist/components/ScalarCodeBlock/index.d.ts +2 -0
- package/dist/components/ScalarCodeBlock/index.d.ts.map +1 -0
- package/dist/components/ScalarDropdown/ScalarDropdown.spec.d.ts +2 -0
- package/dist/components/ScalarDropdown/ScalarDropdown.spec.d.ts.map +1 -0
- package/dist/components/ScalarDropdown/ScalarDropdown.stories.d.ts +511 -0
- package/dist/components/ScalarDropdown/ScalarDropdown.stories.d.ts.map +1 -0
- package/dist/components/ScalarDropdown/ScalarDropdown.vue.d.ts +23 -0
- package/dist/components/ScalarDropdown/ScalarDropdown.vue.d.ts.map +1 -0
- package/dist/components/ScalarDropdown/ScalarDropdownDivider.vue.d.ts +3 -0
- package/dist/components/ScalarDropdown/ScalarDropdownDivider.vue.d.ts.map +1 -0
- package/dist/components/ScalarDropdown/ScalarDropdownItem.vue.d.ts +29 -0
- package/dist/components/ScalarDropdown/ScalarDropdownItem.vue.d.ts.map +1 -0
- package/dist/components/ScalarDropdown/index.d.ts +4 -0
- package/dist/components/ScalarDropdown/index.d.ts.map +1 -0
- package/dist/components/ScalarFloating/ScalarFloating.spec.d.ts +2 -0
- package/dist/components/ScalarFloating/ScalarFloating.spec.d.ts.map +1 -0
- package/dist/components/ScalarFloating/ScalarFloating.stories.d.ts +6 -0
- package/dist/components/ScalarFloating/ScalarFloating.stories.d.ts.map +1 -0
- package/dist/components/ScalarFloating/ScalarFloating.vue.d.ts +45 -0
- package/dist/components/ScalarFloating/ScalarFloating.vue.d.ts.map +1 -0
- package/dist/components/ScalarFloating/index.d.ts +3 -0
- package/dist/components/ScalarFloating/index.d.ts.map +1 -0
- package/dist/components/ScalarFloating/types.d.ts +30 -0
- package/dist/components/ScalarFloating/types.d.ts.map +1 -0
- package/dist/components/ScalarFloating/useResizeWithTarget.d.ts +10 -0
- package/dist/components/ScalarFloating/useResizeWithTarget.d.ts.map +1 -0
- package/dist/components/ScalarFloating/useResizeWithTarget.spec.d.ts +2 -0
- package/dist/components/ScalarFloating/useResizeWithTarget.spec.d.ts.map +1 -0
- package/dist/components/ScalarIcon/IconList.vue.d.ts +3 -0
- package/dist/components/ScalarIcon/IconList.vue.d.ts.map +1 -0
- package/dist/components/ScalarIcon/ScalarIcon.spec.d.ts +2 -0
- package/dist/components/ScalarIcon/ScalarIcon.spec.d.ts.map +1 -0
- package/dist/components/ScalarIcon/ScalarIcon.stories.d.ts +101 -0
- package/dist/components/ScalarIcon/ScalarIcon.stories.d.ts.map +1 -0
- package/dist/components/ScalarIcon/ScalarIcon.vue.d.ts +78 -0
- package/dist/components/ScalarIcon/ScalarIcon.vue.d.ts.map +1 -0
- package/dist/components/ScalarIcon/icons/icons.d.ts +2 -0
- package/dist/components/ScalarIcon/icons/icons.d.ts.map +1 -0
- package/dist/components/ScalarIcon/icons/index.d.ts +7 -0
- package/dist/components/ScalarIcon/icons/index.d.ts.map +1 -0
- package/dist/components/ScalarIcon/index.d.ts +3 -0
- package/dist/components/ScalarIcon/index.d.ts.map +1 -0
- package/dist/components/ScalarIconButton/ScalarIconButton.spec.d.ts +2 -0
- package/dist/components/ScalarIconButton/ScalarIconButton.spec.d.ts.map +1 -0
- package/dist/components/ScalarIconButton/ScalarIconButton.stories.d.ts +77 -0
- package/dist/components/ScalarIconButton/ScalarIconButton.stories.d.ts.map +1 -0
- package/dist/components/ScalarIconButton/ScalarIconButton.vue.d.ts +103 -0
- package/dist/components/ScalarIconButton/ScalarIconButton.vue.d.ts.map +1 -0
- package/dist/components/ScalarIconButton/index.d.ts +2 -0
- package/dist/components/ScalarIconButton/index.d.ts.map +1 -0
- package/dist/components/ScalarListbox/ScalarListbox.spec.d.ts +2 -0
- package/dist/components/ScalarListbox/ScalarListbox.spec.d.ts.map +1 -0
- package/dist/components/ScalarListbox/ScalarListbox.stories.d.ts +173 -0
- package/dist/components/ScalarListbox/ScalarListbox.stories.d.ts.map +1 -0
- package/dist/components/ScalarListbox/ScalarListbox.vue.d.ts +63 -0
- package/dist/components/ScalarListbox/ScalarListbox.vue.d.ts.map +1 -0
- package/dist/components/ScalarListbox/index.d.ts +3 -0
- package/dist/components/ScalarListbox/index.d.ts.map +1 -0
- package/dist/components/ScalarListbox/types.d.ts +7 -0
- package/dist/components/ScalarListbox/types.d.ts.map +1 -0
- package/dist/components/ScalarLoading/ScalarLoading.spec.d.ts +2 -0
- package/dist/components/ScalarLoading/ScalarLoading.spec.d.ts.map +1 -0
- package/dist/components/ScalarLoading/ScalarLoading.stories.d.ts +274 -0
- package/dist/components/ScalarLoading/ScalarLoading.stories.d.ts.map +1 -0
- package/dist/components/ScalarLoading/ScalarLoading.vue.d.ts +48 -0
- package/dist/components/ScalarLoading/ScalarLoading.vue.d.ts.map +1 -0
- package/dist/components/ScalarLoading/index.d.ts +2 -0
- package/dist/components/ScalarLoading/index.d.ts.map +1 -0
- package/dist/components/ScalarMarkdown/ScalarMarkdown.stories.d.ts +93 -0
- package/dist/components/ScalarMarkdown/ScalarMarkdown.stories.d.ts.map +1 -0
- package/dist/components/ScalarMarkdown/ScalarMarkdown.vue.d.ts +32 -0
- package/dist/components/ScalarMarkdown/ScalarMarkdown.vue.d.ts.map +1 -0
- package/dist/components/ScalarMarkdown/index.d.ts +2 -0
- package/dist/components/ScalarMarkdown/index.d.ts.map +1 -0
- package/dist/components/ScalarModal/ScalarModal.spec.d.ts +2 -0
- package/dist/components/ScalarModal/ScalarModal.spec.d.ts.map +1 -0
- package/dist/components/ScalarModal/ScalarModal.stories.d.ts +145 -0
- package/dist/components/ScalarModal/ScalarModal.stories.d.ts.map +1 -0
- package/dist/components/ScalarModal/ScalarModal.vue.d.ts +53 -0
- package/dist/components/ScalarModal/ScalarModal.vue.d.ts.map +1 -0
- package/dist/components/ScalarModal/index.d.ts +4 -0
- package/dist/components/ScalarModal/index.d.ts.map +1 -0
- package/dist/components/ScalarPopover/ScalarPopover.spec.d.ts +2 -0
- package/dist/components/ScalarPopover/ScalarPopover.spec.d.ts.map +1 -0
- package/dist/components/ScalarPopover/ScalarPopover.stories.d.ts +465 -0
- package/dist/components/ScalarPopover/ScalarPopover.stories.d.ts.map +1 -0
- package/dist/components/ScalarPopover/ScalarPopover.vue.d.ts +23 -0
- package/dist/components/ScalarPopover/ScalarPopover.vue.d.ts.map +1 -0
- package/dist/components/ScalarPopover/index.d.ts +2 -0
- package/dist/components/ScalarPopover/index.d.ts.map +1 -0
- package/dist/components/ScalarSearchInput/ScalarSearchInput.spec.d.ts +2 -0
- package/dist/components/ScalarSearchInput/ScalarSearchInput.spec.d.ts.map +1 -0
- package/dist/components/ScalarSearchInput/ScalarSearchInput.stories.d.ts +389 -0
- package/dist/components/ScalarSearchInput/ScalarSearchInput.stories.d.ts.map +1 -0
- package/dist/components/ScalarSearchInput/ScalarSearchInput.vue.d.ts +32 -0
- package/dist/components/ScalarSearchInput/ScalarSearchInput.vue.d.ts.map +1 -0
- package/dist/components/ScalarSearchInput/index.d.ts +2 -0
- package/dist/components/ScalarSearchInput/index.d.ts.map +1 -0
- package/dist/components/ScalarSearchResults/ScalarSearchResultItem.vue.d.ts +31 -0
- package/dist/components/ScalarSearchResults/ScalarSearchResultItem.vue.d.ts.map +1 -0
- package/dist/components/ScalarSearchResults/ScalarSearchResultItem.vue.js +21 -20
- package/dist/components/ScalarSearchResults/ScalarSearchResultList.vue.d.ts +26 -0
- package/dist/components/ScalarSearchResults/ScalarSearchResultList.vue.d.ts.map +1 -0
- package/dist/components/ScalarSearchResults/ScalarSearchResults.spec.d.ts +2 -0
- package/dist/components/ScalarSearchResults/ScalarSearchResults.spec.d.ts.map +1 -0
- package/dist/components/ScalarSearchResults/ScalarSearchResults.stories.d.ts +200 -0
- package/dist/components/ScalarSearchResults/ScalarSearchResults.stories.d.ts.map +1 -0
- package/dist/components/ScalarSearchResults/index.d.ts +3 -0
- package/dist/components/ScalarSearchResults/index.d.ts.map +1 -0
- package/dist/components/ScalarTextField/ScalarTextField.spec.d.ts +2 -0
- package/dist/components/ScalarTextField/ScalarTextField.spec.d.ts.map +1 -0
- package/dist/components/ScalarTextField/ScalarTextField.stories.d.ts +820 -0
- package/dist/components/ScalarTextField/ScalarTextField.stories.d.ts.map +1 -0
- package/dist/components/ScalarTextField/ScalarTextField.vue.d.ts +75 -0
- package/dist/components/ScalarTextField/ScalarTextField.vue.d.ts.map +1 -0
- package/dist/components/ScalarTextField/index.d.ts +2 -0
- package/dist/components/ScalarTextField/index.d.ts.map +1 -0
- package/dist/components/ScalarTooltip/ScalarTooltip.spec.d.ts +2 -0
- package/dist/components/ScalarTooltip/ScalarTooltip.spec.d.ts.map +1 -0
- package/dist/components/ScalarTooltip/ScalarTooltip.stories.d.ts +858 -0
- package/dist/components/ScalarTooltip/ScalarTooltip.stories.d.ts.map +1 -0
- package/dist/components/ScalarTooltip/ScalarTooltip.vue.d.ts +66 -0
- package/dist/components/ScalarTooltip/ScalarTooltip.vue.d.ts.map +1 -0
- package/dist/components/ScalarTooltip/ScalarTooltip.vue.js +22 -18
- package/dist/components/ScalarTooltip/index.d.ts +2 -0
- package/dist/components/ScalarTooltip/index.d.ts.map +1 -0
- package/dist/cva.d.ts +18 -0
- package/dist/cva.d.ts.map +1 -0
- package/dist/helpers/add-scalar-classes.d.ts +5 -0
- package/dist/helpers/add-scalar-classes.d.ts.map +1 -0
- package/dist/helpers/index.d.ts +2 -0
- package/dist/helpers/index.d.ts.map +1 -0
- package/dist/helpers/oas-utils.d.ts +19 -0
- package/dist/helpers/oas-utils.d.ts.map +1 -0
- package/dist/index.d.ts +19 -1002
- package/dist/index.d.ts.map +1 -0
- package/dist/scripts/typegen.d.ts +2 -0
- package/dist/scripts/typegen.d.ts.map +1 -0
- package/dist/style.css +1 -1
- package/package.json +8 -8
|
@@ -0,0 +1,511 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/vue3';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
component: {
|
|
4
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
5
|
+
resize: {
|
|
6
|
+
type: import("vue").PropType<boolean>;
|
|
7
|
+
};
|
|
8
|
+
placement: {
|
|
9
|
+
type: import("vue").PropType<import("@floating-ui/utils").Placement>;
|
|
10
|
+
};
|
|
11
|
+
isOpen: {
|
|
12
|
+
type: import("vue").PropType<boolean>;
|
|
13
|
+
};
|
|
14
|
+
teleport: {
|
|
15
|
+
type: import("vue").PropType<string | boolean>;
|
|
16
|
+
};
|
|
17
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
+
resize: {
|
|
19
|
+
type: import("vue").PropType<boolean>;
|
|
20
|
+
};
|
|
21
|
+
placement: {
|
|
22
|
+
type: import("vue").PropType<import("@floating-ui/utils").Placement>;
|
|
23
|
+
};
|
|
24
|
+
isOpen: {
|
|
25
|
+
type: import("vue").PropType<boolean>;
|
|
26
|
+
};
|
|
27
|
+
teleport: {
|
|
28
|
+
type: import("vue").PropType<string | boolean>;
|
|
29
|
+
};
|
|
30
|
+
}>>, {}, true, {}, {}, {
|
|
31
|
+
P: {};
|
|
32
|
+
B: {};
|
|
33
|
+
D: {};
|
|
34
|
+
C: {};
|
|
35
|
+
M: {};
|
|
36
|
+
Defaults: {};
|
|
37
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
38
|
+
resize: {
|
|
39
|
+
type: import("vue").PropType<boolean>;
|
|
40
|
+
};
|
|
41
|
+
placement: {
|
|
42
|
+
type: import("vue").PropType<import("@floating-ui/utils").Placement>;
|
|
43
|
+
};
|
|
44
|
+
isOpen: {
|
|
45
|
+
type: import("vue").PropType<boolean>;
|
|
46
|
+
};
|
|
47
|
+
teleport: {
|
|
48
|
+
type: import("vue").PropType<string | boolean>;
|
|
49
|
+
};
|
|
50
|
+
}>>, {}, {}, {}, {}, {}>;
|
|
51
|
+
__isFragment?: never;
|
|
52
|
+
__isTeleport?: never;
|
|
53
|
+
__isSuspense?: never;
|
|
54
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
55
|
+
resize: {
|
|
56
|
+
type: import("vue").PropType<boolean>;
|
|
57
|
+
};
|
|
58
|
+
placement: {
|
|
59
|
+
type: import("vue").PropType<import("@floating-ui/utils").Placement>;
|
|
60
|
+
};
|
|
61
|
+
isOpen: {
|
|
62
|
+
type: import("vue").PropType<boolean>;
|
|
63
|
+
};
|
|
64
|
+
teleport: {
|
|
65
|
+
type: import("vue").PropType<string | boolean>;
|
|
66
|
+
};
|
|
67
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
68
|
+
$slots: {
|
|
69
|
+
default?(_: {}): any;
|
|
70
|
+
items?(_: {}): any;
|
|
71
|
+
};
|
|
72
|
+
});
|
|
73
|
+
tags: string[];
|
|
74
|
+
argTypes: {
|
|
75
|
+
resize: {
|
|
76
|
+
control: "boolean";
|
|
77
|
+
};
|
|
78
|
+
placement: {
|
|
79
|
+
control: "select";
|
|
80
|
+
options: import("@floating-ui/utils").Placement[];
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
render: (args: import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
84
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
85
|
+
resize: {
|
|
86
|
+
type: import("vue").PropType<boolean>;
|
|
87
|
+
};
|
|
88
|
+
placement: {
|
|
89
|
+
type: import("vue").PropType<import("@floating-ui/utils").Placement>;
|
|
90
|
+
};
|
|
91
|
+
isOpen: {
|
|
92
|
+
type: import("vue").PropType<boolean>;
|
|
93
|
+
};
|
|
94
|
+
teleport: {
|
|
95
|
+
type: import("vue").PropType<string | boolean>;
|
|
96
|
+
};
|
|
97
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
98
|
+
resize: {
|
|
99
|
+
type: import("vue").PropType<boolean>;
|
|
100
|
+
};
|
|
101
|
+
placement: {
|
|
102
|
+
type: import("vue").PropType<import("@floating-ui/utils").Placement>;
|
|
103
|
+
};
|
|
104
|
+
isOpen: {
|
|
105
|
+
type: import("vue").PropType<boolean>;
|
|
106
|
+
};
|
|
107
|
+
teleport: {
|
|
108
|
+
type: import("vue").PropType<string | boolean>;
|
|
109
|
+
};
|
|
110
|
+
}>>, {}, true, {}, {}, {
|
|
111
|
+
P: {};
|
|
112
|
+
B: {};
|
|
113
|
+
D: {};
|
|
114
|
+
C: {};
|
|
115
|
+
M: {};
|
|
116
|
+
Defaults: {};
|
|
117
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
118
|
+
resize: {
|
|
119
|
+
type: import("vue").PropType<boolean>;
|
|
120
|
+
};
|
|
121
|
+
placement: {
|
|
122
|
+
type: import("vue").PropType<import("@floating-ui/utils").Placement>;
|
|
123
|
+
};
|
|
124
|
+
isOpen: {
|
|
125
|
+
type: import("vue").PropType<boolean>;
|
|
126
|
+
};
|
|
127
|
+
teleport: {
|
|
128
|
+
type: import("vue").PropType<string | boolean>;
|
|
129
|
+
};
|
|
130
|
+
}>>, {}, {}, {}, {}, {}>;
|
|
131
|
+
__isFragment?: never;
|
|
132
|
+
__isTeleport?: never;
|
|
133
|
+
__isSuspense?: never;
|
|
134
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
135
|
+
resize: {
|
|
136
|
+
type: import("vue").PropType<boolean>;
|
|
137
|
+
};
|
|
138
|
+
placement: {
|
|
139
|
+
type: import("vue").PropType<import("@floating-ui/utils").Placement>;
|
|
140
|
+
};
|
|
141
|
+
isOpen: {
|
|
142
|
+
type: import("vue").PropType<boolean>;
|
|
143
|
+
};
|
|
144
|
+
teleport: {
|
|
145
|
+
type: import("vue").PropType<string | boolean>;
|
|
146
|
+
};
|
|
147
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
148
|
+
$slots: {
|
|
149
|
+
default?(_: {}): any;
|
|
150
|
+
items?(_: {}): any;
|
|
151
|
+
};
|
|
152
|
+
})>) => {
|
|
153
|
+
components: {
|
|
154
|
+
ScalarDropdown: {
|
|
155
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
156
|
+
resize: {
|
|
157
|
+
type: import("vue").PropType<boolean>;
|
|
158
|
+
};
|
|
159
|
+
placement: {
|
|
160
|
+
type: import("vue").PropType<import("@floating-ui/utils").Placement>;
|
|
161
|
+
};
|
|
162
|
+
isOpen: {
|
|
163
|
+
type: import("vue").PropType<boolean>;
|
|
164
|
+
};
|
|
165
|
+
teleport: {
|
|
166
|
+
type: import("vue").PropType<string | boolean>;
|
|
167
|
+
};
|
|
168
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
169
|
+
resize: {
|
|
170
|
+
type: import("vue").PropType<boolean>;
|
|
171
|
+
};
|
|
172
|
+
placement: {
|
|
173
|
+
type: import("vue").PropType<import("@floating-ui/utils").Placement>;
|
|
174
|
+
};
|
|
175
|
+
isOpen: {
|
|
176
|
+
type: import("vue").PropType<boolean>;
|
|
177
|
+
};
|
|
178
|
+
teleport: {
|
|
179
|
+
type: import("vue").PropType<string | boolean>;
|
|
180
|
+
};
|
|
181
|
+
}>>, {}, true, {}, {}, {
|
|
182
|
+
P: {};
|
|
183
|
+
B: {};
|
|
184
|
+
D: {};
|
|
185
|
+
C: {};
|
|
186
|
+
M: {};
|
|
187
|
+
Defaults: {};
|
|
188
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
189
|
+
resize: {
|
|
190
|
+
type: import("vue").PropType<boolean>;
|
|
191
|
+
};
|
|
192
|
+
placement: {
|
|
193
|
+
type: import("vue").PropType<import("@floating-ui/utils").Placement>;
|
|
194
|
+
};
|
|
195
|
+
isOpen: {
|
|
196
|
+
type: import("vue").PropType<boolean>;
|
|
197
|
+
};
|
|
198
|
+
teleport: {
|
|
199
|
+
type: import("vue").PropType<string | boolean>;
|
|
200
|
+
};
|
|
201
|
+
}>>, {}, {}, {}, {}, {}>;
|
|
202
|
+
__isFragment?: never;
|
|
203
|
+
__isTeleport?: never;
|
|
204
|
+
__isSuspense?: never;
|
|
205
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
206
|
+
resize: {
|
|
207
|
+
type: import("vue").PropType<boolean>;
|
|
208
|
+
};
|
|
209
|
+
placement: {
|
|
210
|
+
type: import("vue").PropType<import("@floating-ui/utils").Placement>;
|
|
211
|
+
};
|
|
212
|
+
isOpen: {
|
|
213
|
+
type: import("vue").PropType<boolean>;
|
|
214
|
+
};
|
|
215
|
+
teleport: {
|
|
216
|
+
type: import("vue").PropType<string | boolean>;
|
|
217
|
+
};
|
|
218
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
219
|
+
$slots: {
|
|
220
|
+
default?(_: {}): any;
|
|
221
|
+
items?(_: {}): any;
|
|
222
|
+
};
|
|
223
|
+
});
|
|
224
|
+
ScalarDropdownItem: {
|
|
225
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
226
|
+
disabled: {
|
|
227
|
+
type: import("vue").PropType<boolean>;
|
|
228
|
+
};
|
|
229
|
+
}>> & {
|
|
230
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
231
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
232
|
+
click: (event: MouseEvent) => void;
|
|
233
|
+
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
234
|
+
disabled: {
|
|
235
|
+
type: import("vue").PropType<boolean>;
|
|
236
|
+
};
|
|
237
|
+
}>> & {
|
|
238
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
239
|
+
}, {}, true, {}, {}, {
|
|
240
|
+
P: {};
|
|
241
|
+
B: {};
|
|
242
|
+
D: {};
|
|
243
|
+
C: {};
|
|
244
|
+
M: {};
|
|
245
|
+
Defaults: {};
|
|
246
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
247
|
+
disabled: {
|
|
248
|
+
type: import("vue").PropType<boolean>;
|
|
249
|
+
};
|
|
250
|
+
}>> & {
|
|
251
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
252
|
+
}, {}, {}, {}, {}, {}>;
|
|
253
|
+
__isFragment?: never;
|
|
254
|
+
__isTeleport?: never;
|
|
255
|
+
__isSuspense?: never;
|
|
256
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
257
|
+
disabled: {
|
|
258
|
+
type: import("vue").PropType<boolean>;
|
|
259
|
+
};
|
|
260
|
+
}>> & {
|
|
261
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
262
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
263
|
+
click: (event: MouseEvent) => void;
|
|
264
|
+
}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
265
|
+
$slots: {
|
|
266
|
+
default?(_: {}): any;
|
|
267
|
+
};
|
|
268
|
+
});
|
|
269
|
+
ScalarDropdownDivider: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
270
|
+
ScalarButton: {
|
|
271
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
272
|
+
size: {
|
|
273
|
+
type: import("vue").PropType<"sm" | "md">;
|
|
274
|
+
default: string;
|
|
275
|
+
};
|
|
276
|
+
type: {
|
|
277
|
+
type: import("vue").PropType<"button" | "submit" | "reset">;
|
|
278
|
+
default: string;
|
|
279
|
+
};
|
|
280
|
+
variant: {
|
|
281
|
+
type: import("vue").PropType<string>;
|
|
282
|
+
default: string;
|
|
283
|
+
};
|
|
284
|
+
disabled: {
|
|
285
|
+
type: import("vue").PropType<boolean>;
|
|
286
|
+
};
|
|
287
|
+
fullWidth: {
|
|
288
|
+
type: import("vue").PropType<boolean>;
|
|
289
|
+
default: boolean;
|
|
290
|
+
};
|
|
291
|
+
loading: {
|
|
292
|
+
type: import("vue").PropType<{
|
|
293
|
+
isValid: boolean;
|
|
294
|
+
isInvalid: boolean;
|
|
295
|
+
isLoading: boolean;
|
|
296
|
+
startLoading: () => void;
|
|
297
|
+
stopLoading: () => void;
|
|
298
|
+
validate: (time?: number) => Promise<unknown>;
|
|
299
|
+
invalidate: (time?: number) => Promise<unknown>;
|
|
300
|
+
clear: (time?: number) => Promise<unknown>;
|
|
301
|
+
}>;
|
|
302
|
+
};
|
|
303
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
304
|
+
size: {
|
|
305
|
+
type: import("vue").PropType<"sm" | "md">;
|
|
306
|
+
default: string;
|
|
307
|
+
};
|
|
308
|
+
type: {
|
|
309
|
+
type: import("vue").PropType<"button" | "submit" | "reset">;
|
|
310
|
+
default: string;
|
|
311
|
+
};
|
|
312
|
+
variant: {
|
|
313
|
+
type: import("vue").PropType<string>;
|
|
314
|
+
default: string;
|
|
315
|
+
};
|
|
316
|
+
disabled: {
|
|
317
|
+
type: import("vue").PropType<boolean>;
|
|
318
|
+
};
|
|
319
|
+
fullWidth: {
|
|
320
|
+
type: import("vue").PropType<boolean>;
|
|
321
|
+
default: boolean;
|
|
322
|
+
};
|
|
323
|
+
loading: {
|
|
324
|
+
type: import("vue").PropType<{
|
|
325
|
+
isValid: boolean;
|
|
326
|
+
isInvalid: boolean;
|
|
327
|
+
isLoading: boolean;
|
|
328
|
+
startLoading: () => void;
|
|
329
|
+
stopLoading: () => void;
|
|
330
|
+
validate: (time?: number) => Promise<unknown>;
|
|
331
|
+
invalidate: (time?: number) => Promise<unknown>;
|
|
332
|
+
clear: (time?: number) => Promise<unknown>;
|
|
333
|
+
}>;
|
|
334
|
+
};
|
|
335
|
+
}>>, {
|
|
336
|
+
size: "sm" | "md";
|
|
337
|
+
type: "button" | "submit" | "reset";
|
|
338
|
+
variant: string;
|
|
339
|
+
fullWidth: boolean;
|
|
340
|
+
}, true, {}, {}, {
|
|
341
|
+
P: {};
|
|
342
|
+
B: {};
|
|
343
|
+
D: {};
|
|
344
|
+
C: {};
|
|
345
|
+
M: {};
|
|
346
|
+
Defaults: {};
|
|
347
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
348
|
+
size: {
|
|
349
|
+
type: import("vue").PropType<"sm" | "md">;
|
|
350
|
+
default: string;
|
|
351
|
+
};
|
|
352
|
+
type: {
|
|
353
|
+
type: import("vue").PropType<"button" | "submit" | "reset">;
|
|
354
|
+
default: string;
|
|
355
|
+
};
|
|
356
|
+
variant: {
|
|
357
|
+
type: import("vue").PropType<string>;
|
|
358
|
+
default: string;
|
|
359
|
+
};
|
|
360
|
+
disabled: {
|
|
361
|
+
type: import("vue").PropType<boolean>;
|
|
362
|
+
};
|
|
363
|
+
fullWidth: {
|
|
364
|
+
type: import("vue").PropType<boolean>;
|
|
365
|
+
default: boolean;
|
|
366
|
+
};
|
|
367
|
+
loading: {
|
|
368
|
+
type: import("vue").PropType<{
|
|
369
|
+
isValid: boolean;
|
|
370
|
+
isInvalid: boolean;
|
|
371
|
+
isLoading: boolean;
|
|
372
|
+
startLoading: () => void;
|
|
373
|
+
stopLoading: () => void;
|
|
374
|
+
validate: (time?: number) => Promise<unknown>;
|
|
375
|
+
invalidate: (time?: number) => Promise<unknown>;
|
|
376
|
+
clear: (time?: number) => Promise<unknown>;
|
|
377
|
+
}>;
|
|
378
|
+
};
|
|
379
|
+
}>>, {}, {}, {}, {}, {
|
|
380
|
+
size: "sm" | "md";
|
|
381
|
+
type: "button" | "submit" | "reset";
|
|
382
|
+
variant: string;
|
|
383
|
+
fullWidth: boolean;
|
|
384
|
+
}>;
|
|
385
|
+
__isFragment?: never;
|
|
386
|
+
__isTeleport?: never;
|
|
387
|
+
__isSuspense?: never;
|
|
388
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
389
|
+
size: {
|
|
390
|
+
type: import("vue").PropType<"sm" | "md">;
|
|
391
|
+
default: string;
|
|
392
|
+
};
|
|
393
|
+
type: {
|
|
394
|
+
type: import("vue").PropType<"button" | "submit" | "reset">;
|
|
395
|
+
default: string;
|
|
396
|
+
};
|
|
397
|
+
variant: {
|
|
398
|
+
type: import("vue").PropType<string>;
|
|
399
|
+
default: string;
|
|
400
|
+
};
|
|
401
|
+
disabled: {
|
|
402
|
+
type: import("vue").PropType<boolean>;
|
|
403
|
+
};
|
|
404
|
+
fullWidth: {
|
|
405
|
+
type: import("vue").PropType<boolean>;
|
|
406
|
+
default: boolean;
|
|
407
|
+
};
|
|
408
|
+
loading: {
|
|
409
|
+
type: import("vue").PropType<{
|
|
410
|
+
isValid: boolean;
|
|
411
|
+
isInvalid: boolean;
|
|
412
|
+
isLoading: boolean;
|
|
413
|
+
startLoading: () => void;
|
|
414
|
+
stopLoading: () => void;
|
|
415
|
+
validate: (time?: number) => Promise<unknown>;
|
|
416
|
+
invalidate: (time?: number) => Promise<unknown>;
|
|
417
|
+
clear: (time?: number) => Promise<unknown>;
|
|
418
|
+
}>;
|
|
419
|
+
};
|
|
420
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
421
|
+
size: "sm" | "md";
|
|
422
|
+
type: "button" | "submit" | "reset";
|
|
423
|
+
variant: string;
|
|
424
|
+
fullWidth: boolean;
|
|
425
|
+
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
426
|
+
$slots: {
|
|
427
|
+
icon?(_: {}): any;
|
|
428
|
+
default?(_: {}): any;
|
|
429
|
+
default?(_: {}): any;
|
|
430
|
+
};
|
|
431
|
+
});
|
|
432
|
+
};
|
|
433
|
+
setup(this: void): {
|
|
434
|
+
args: import("@storybook/vue3").ComponentPropsAndSlots<{
|
|
435
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
436
|
+
resize: {
|
|
437
|
+
type: import("vue").PropType<boolean>;
|
|
438
|
+
};
|
|
439
|
+
placement: {
|
|
440
|
+
type: import("vue").PropType<import("@floating-ui/utils").Placement>;
|
|
441
|
+
};
|
|
442
|
+
isOpen: {
|
|
443
|
+
type: import("vue").PropType<boolean>;
|
|
444
|
+
};
|
|
445
|
+
teleport: {
|
|
446
|
+
type: import("vue").PropType<string | boolean>;
|
|
447
|
+
};
|
|
448
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
449
|
+
resize: {
|
|
450
|
+
type: import("vue").PropType<boolean>;
|
|
451
|
+
};
|
|
452
|
+
placement: {
|
|
453
|
+
type: import("vue").PropType<import("@floating-ui/utils").Placement>;
|
|
454
|
+
};
|
|
455
|
+
isOpen: {
|
|
456
|
+
type: import("vue").PropType<boolean>;
|
|
457
|
+
};
|
|
458
|
+
teleport: {
|
|
459
|
+
type: import("vue").PropType<string | boolean>;
|
|
460
|
+
};
|
|
461
|
+
}>>, {}, true, {}, {}, {
|
|
462
|
+
P: {};
|
|
463
|
+
B: {};
|
|
464
|
+
D: {};
|
|
465
|
+
C: {};
|
|
466
|
+
M: {};
|
|
467
|
+
Defaults: {};
|
|
468
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
469
|
+
resize: {
|
|
470
|
+
type: import("vue").PropType<boolean>;
|
|
471
|
+
};
|
|
472
|
+
placement: {
|
|
473
|
+
type: import("vue").PropType<import("@floating-ui/utils").Placement>;
|
|
474
|
+
};
|
|
475
|
+
isOpen: {
|
|
476
|
+
type: import("vue").PropType<boolean>;
|
|
477
|
+
};
|
|
478
|
+
teleport: {
|
|
479
|
+
type: import("vue").PropType<string | boolean>;
|
|
480
|
+
};
|
|
481
|
+
}>>, {}, {}, {}, {}, {}>;
|
|
482
|
+
__isFragment?: never;
|
|
483
|
+
__isTeleport?: never;
|
|
484
|
+
__isSuspense?: never;
|
|
485
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
486
|
+
resize: {
|
|
487
|
+
type: import("vue").PropType<boolean>;
|
|
488
|
+
};
|
|
489
|
+
placement: {
|
|
490
|
+
type: import("vue").PropType<import("@floating-ui/utils").Placement>;
|
|
491
|
+
};
|
|
492
|
+
isOpen: {
|
|
493
|
+
type: import("vue").PropType<boolean>;
|
|
494
|
+
};
|
|
495
|
+
teleport: {
|
|
496
|
+
type: import("vue").PropType<string | boolean>;
|
|
497
|
+
};
|
|
498
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
499
|
+
$slots: {
|
|
500
|
+
default?(_: {}): any;
|
|
501
|
+
items?(_: {}): any;
|
|
502
|
+
};
|
|
503
|
+
})>;
|
|
504
|
+
};
|
|
505
|
+
template: string;
|
|
506
|
+
};
|
|
507
|
+
};
|
|
508
|
+
export default meta;
|
|
509
|
+
type Story = StoryObj<typeof meta>;
|
|
510
|
+
export declare const Base: Story;
|
|
511
|
+
//# sourceMappingURL=ScalarDropdown.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScalarDropdown.stories.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarDropdown/ScalarDropdown.stories.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAOrD,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqC6B,CAAA;AAEvC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,IAAI,EAAE,KAAU,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type FloatingOptions } from '../ScalarFloating';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
default?(_: {}): any;
|
|
4
|
+
items?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<Omit<FloatingOptions, "middleware">>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Omit<FloatingOptions, "middleware">>>>, {}, {}>;
|
|
7
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
+
type __VLS_TypePropsToOption<T> = {
|
|
16
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
+
} : {
|
|
19
|
+
type: import('vue').PropType<T[K]>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=ScalarDropdown.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScalarDropdown.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarDropdown/ScalarDropdown.vue"],"names":[],"mappings":"AAoCA,OAAO,EAAE,KAAK,eAAe,EAAkB,MAAM,mBAAmB,CAAA;AAaxE,iBAAS,cAAc;qBAiGO,GAAG;mBACL,GAAG;EAkB9B;AACD,QAAA,MAAM,eAAe,mVAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
+
export default _default;
|
|
3
|
+
//# sourceMappingURL=ScalarDropdownDivider.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScalarDropdownDivider.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarDropdown/ScalarDropdownDivider.vue"],"names":[],"mappings":";AA2CA,wBAKG"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
click: (event: MouseEvent) => void;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
}>>> & {
|
|
11
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
12
|
+
}, {}, {}>;
|
|
13
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
|
+
type __VLS_TypePropsToOption<T> = {
|
|
22
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
23
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
24
|
+
} : {
|
|
25
|
+
type: import('vue').PropType<T[K]>;
|
|
26
|
+
required: true;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=ScalarDropdownItem.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScalarDropdownItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarDropdown/ScalarDropdownItem.vue"],"names":[],"mappings":"AAgFA,iBAAS,cAAc;qBAsCM,GAAG;EAkB/B;AACD,QAAA,MAAM,eAAe;eAtFR,OAAO;;;;eAAP,OAAO;;;UA6FlB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarDropdown/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAChE,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,6BAA6B,CAAA;AAC9E,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScalarFloating.spec.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarFloating/ScalarFloating.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScalarFloating.stories.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarFloating/ScalarFloating.stories.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAIrD,QAAA,MAAM,IAAI,EAAE,IA6B2B,CAAA;AAEvC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,IAAI,EAAE,KAAU,CAAA"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { type MiddlewareData } from '@floating-ui/vue';
|
|
2
|
+
import type { FloatingOptions } from './types';
|
|
3
|
+
declare function __VLS_template(): Readonly<{
|
|
4
|
+
/** The reference element for the element in the #floating slot */
|
|
5
|
+
default(): any;
|
|
6
|
+
/** The floating element */
|
|
7
|
+
floating(props: {
|
|
8
|
+
/** The width of the reference element if `resize` is true and placement is on the y axis */
|
|
9
|
+
width?: string;
|
|
10
|
+
/** The height of the reference element if `resize` is true and placement is on the x axis */
|
|
11
|
+
height?: string;
|
|
12
|
+
/** The middleware data return by Floating UI */
|
|
13
|
+
data?: MiddlewareData;
|
|
14
|
+
}): any;
|
|
15
|
+
}> & {
|
|
16
|
+
/** The reference element for the element in the #floating slot */
|
|
17
|
+
default(): any;
|
|
18
|
+
/** The floating element */
|
|
19
|
+
floating(props: {
|
|
20
|
+
/** The width of the reference element if `resize` is true and placement is on the y axis */
|
|
21
|
+
width?: string;
|
|
22
|
+
/** The height of the reference element if `resize` is true and placement is on the x axis */
|
|
23
|
+
height?: string;
|
|
24
|
+
/** The middleware data return by Floating UI */
|
|
25
|
+
data?: MiddlewareData;
|
|
26
|
+
}): any;
|
|
27
|
+
};
|
|
28
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<FloatingOptions>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<FloatingOptions>>>, {}, {}>;
|
|
29
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
32
|
+
new (): {
|
|
33
|
+
$slots: S;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
37
|
+
type __VLS_TypePropsToOption<T> = {
|
|
38
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
39
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
40
|
+
} : {
|
|
41
|
+
type: import('vue').PropType<T[K]>;
|
|
42
|
+
required: true;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
//# sourceMappingURL=ScalarFloating.vue.d.ts.map
|