@scalar/api-reference 1.18.0 → 1.18.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist/browser/standalone.js +9 -9
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/ApiReference.vue.d.ts.map +1 -1
- package/dist/components/ApiReferenceLayout.vue.d.ts +7 -217
- package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
- package/dist/components/ClassicHeader.vue.d.ts +1 -0
- package/dist/components/ClassicHeader.vue.d.ts.map +1 -1
- package/dist/components/Content/Content.vue.d.ts +0 -2
- package/dist/components/Content/Content.vue.d.ts.map +1 -1
- package/dist/components/Content/Introduction/DownloadSpec.vue.d.ts +1 -14
- package/dist/components/Content/Introduction/DownloadSpec.vue.d.ts.map +1 -1
- package/dist/components/Content/Introduction/Introduction.vue.d.ts +0 -2
- package/dist/components/Content/Introduction/Introduction.vue.d.ts.map +1 -1
- package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.d.ts +18 -1
- package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.d.ts.map +1 -1
- package/dist/components/DarkModeToggle/DarkModeToggle.vue.d.ts +18 -1
- package/dist/components/DarkModeToggle/DarkModeToggle.vue.d.ts.map +1 -1
- package/dist/components/GettingStarted.vue.d.ts +4 -4
- package/dist/components/GettingStarted.vue.d.ts.map +1 -1
- package/dist/components/Layouts/BaseLayout.vue.d.ts +6 -2
- package/dist/components/Layouts/BaseLayout.vue.d.ts.map +1 -1
- package/dist/components/Layouts/ClassicLayout.vue.d.ts +6 -2
- package/dist/components/Layouts/ClassicLayout.vue.d.ts.map +1 -1
- package/dist/components/Layouts/ModernLayout.vue.d.ts +6 -2
- package/dist/components/Layouts/ModernLayout.vue.d.ts.map +1 -1
- package/dist/helpers/index.d.ts +1 -0
- package/dist/helpers/index.d.ts.map +1 -1
- package/dist/helpers/specDownloads.d.ts +6 -0
- package/dist/helpers/specDownloads.d.ts.map +1 -0
- package/dist/hooks/index.d.ts +1 -2
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/useClipboard.d.ts.map +1 -1
- package/dist/hooks/{useParser.d.ts → useReactiveSpec.d.ts} +11 -9
- package/dist/hooks/useReactiveSpec.d.ts.map +1 -0
- package/dist/hooks/useToasts.d.ts +12 -0
- package/dist/hooks/useToasts.d.ts.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +46013 -53
- package/dist/stores/utility.d.ts.map +1 -1
- package/dist/types.d.ts +6 -3
- package/dist/types.d.ts.map +1 -1
- package/package.json +7 -10
- package/dist/components/ApiReferenceBase.vue.d.ts +0 -44
- package/dist/components/ApiReferenceBase.vue.d.ts.map +0 -1
- package/dist/hooks/useParser.d.ts.map +0 -1
- package/dist/hooks/useSpec.d.ts +0 -14
- package/dist/hooks/useSpec.d.ts.map +0 -1
- package/dist/index-BNQlaahg.js +0 -46881
- package/dist/index-CDYgXzd-.js +0 -226
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiReference.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiReference.vue.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ApiReference.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiReference.vue.ts"],"names":[],"mappings":"AASA,OAAO,EAA+B,KAAK,cAAc,EAAE,MAAM,UAAU,CAAA;;;;;;;;AAwL3E,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,226 +1,16 @@
|
|
|
1
1
|
import { type ThemeId } from '@scalar/themes';
|
|
2
|
-
import type {
|
|
3
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
configuration: ReferenceConfiguration;
|
|
5
|
-
parsedSpec: Spec;
|
|
6
|
-
rawSpec: string;
|
|
7
|
-
swaggerEditorRef?: ({
|
|
8
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
-
value: {
|
|
10
|
-
type: import("vue").PropType<string>;
|
|
11
|
-
};
|
|
12
|
-
theme: {
|
|
13
|
-
type: import("vue").PropType<ThemeId>;
|
|
14
|
-
};
|
|
15
|
-
proxyUrl: {
|
|
16
|
-
type: import("vue").PropType<string>;
|
|
17
|
-
};
|
|
18
|
-
error: {
|
|
19
|
-
type: import("vue").PropType<string | import("vue").Ref<string> | import("vue").ComputedRef<string> | null>;
|
|
20
|
-
};
|
|
21
|
-
}>> & {
|
|
22
|
-
onImport?: ((value: string) => any) | undefined;
|
|
23
|
-
onContentUpdate?: ((value: string) => any) | undefined;
|
|
24
|
-
onChangeTheme?: ((value: ThemeId) => any) | undefined;
|
|
25
|
-
}, {
|
|
26
|
-
handleOpenSwaggerEditor: (action?: import("@scalar/swagger-editor").OpenSwaggerEditorActions | undefined) => void;
|
|
27
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
|
-
contentUpdate: (value: string) => void;
|
|
29
|
-
import: (value: string) => void;
|
|
30
|
-
changeTheme: (value: ThemeId) => void;
|
|
31
|
-
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
32
|
-
value: {
|
|
33
|
-
type: import("vue").PropType<string>;
|
|
34
|
-
};
|
|
35
|
-
theme: {
|
|
36
|
-
type: import("vue").PropType<ThemeId>;
|
|
37
|
-
};
|
|
38
|
-
proxyUrl: {
|
|
39
|
-
type: import("vue").PropType<string>;
|
|
40
|
-
};
|
|
41
|
-
error: {
|
|
42
|
-
type: import("vue").PropType<string | import("vue").Ref<string> | import("vue").ComputedRef<string> | null>;
|
|
43
|
-
};
|
|
44
|
-
}>> & {
|
|
45
|
-
onImport?: ((value: string) => any) | undefined;
|
|
46
|
-
onContentUpdate?: ((value: string) => any) | undefined;
|
|
47
|
-
onChangeTheme?: ((value: ThemeId) => any) | undefined;
|
|
48
|
-
}, {}, true, {}, {}, {
|
|
49
|
-
P: {};
|
|
50
|
-
B: {};
|
|
51
|
-
D: {};
|
|
52
|
-
C: {};
|
|
53
|
-
M: {};
|
|
54
|
-
Defaults: {};
|
|
55
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
56
|
-
value: {
|
|
57
|
-
type: import("vue").PropType<string>;
|
|
58
|
-
};
|
|
59
|
-
theme: {
|
|
60
|
-
type: import("vue").PropType<ThemeId>;
|
|
61
|
-
};
|
|
62
|
-
proxyUrl: {
|
|
63
|
-
type: import("vue").PropType<string>;
|
|
64
|
-
};
|
|
65
|
-
error: {
|
|
66
|
-
type: import("vue").PropType<string | import("vue").Ref<string> | import("vue").ComputedRef<string> | null>;
|
|
67
|
-
};
|
|
68
|
-
}>> & {
|
|
69
|
-
onImport?: ((value: string) => any) | undefined;
|
|
70
|
-
onContentUpdate?: ((value: string) => any) | undefined;
|
|
71
|
-
onChangeTheme?: ((value: ThemeId) => any) | undefined;
|
|
72
|
-
}, {
|
|
73
|
-
handleOpenSwaggerEditor: (action?: import("@scalar/swagger-editor").OpenSwaggerEditorActions | undefined) => void;
|
|
74
|
-
}, {}, {}, {}, {}>;
|
|
75
|
-
__isFragment?: undefined;
|
|
76
|
-
__isTeleport?: undefined;
|
|
77
|
-
__isSuspense?: undefined;
|
|
78
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
79
|
-
value: {
|
|
80
|
-
type: import("vue").PropType<string>;
|
|
81
|
-
};
|
|
82
|
-
theme: {
|
|
83
|
-
type: import("vue").PropType<ThemeId>;
|
|
84
|
-
};
|
|
85
|
-
proxyUrl: {
|
|
86
|
-
type: import("vue").PropType<string>;
|
|
87
|
-
};
|
|
88
|
-
error: {
|
|
89
|
-
type: import("vue").PropType<string | import("vue").Ref<string> | import("vue").ComputedRef<string> | null>;
|
|
90
|
-
};
|
|
91
|
-
}>> & {
|
|
92
|
-
onImport?: ((value: string) => any) | undefined;
|
|
93
|
-
onContentUpdate?: ((value: string) => any) | undefined;
|
|
94
|
-
onChangeTheme?: ((value: ThemeId) => any) | undefined;
|
|
95
|
-
}, {
|
|
96
|
-
handleOpenSwaggerEditor: (action?: import("@scalar/swagger-editor").OpenSwaggerEditorActions | undefined) => void;
|
|
97
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
98
|
-
contentUpdate: (value: string) => void;
|
|
99
|
-
import: (value: string) => void;
|
|
100
|
-
changeTheme: (value: ThemeId) => void;
|
|
101
|
-
}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
102
|
-
$slots: {
|
|
103
|
-
"tab-items"?(_: {}): any;
|
|
104
|
-
"editor-input"?(_: {
|
|
105
|
-
value: string | undefined;
|
|
106
|
-
contentUpdate: (value: string) => void;
|
|
107
|
-
}): any;
|
|
108
|
-
};
|
|
109
|
-
})) | null | undefined;
|
|
110
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
|
+
import type { ReferenceLayoutProps, ReferenceSlotProps } from '../types';
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<ReferenceLayoutProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
111
4
|
changeTheme: (value: ThemeId) => void;
|
|
112
5
|
updateContent: (value: string) => void;
|
|
6
|
+
loadSwaggerFile: () => void;
|
|
7
|
+
linkSwaggerFile: () => void;
|
|
113
8
|
toggleDarkMode: () => void;
|
|
114
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
115
|
-
configuration: ReferenceConfiguration;
|
|
116
|
-
parsedSpec: Spec;
|
|
117
|
-
rawSpec: string;
|
|
118
|
-
swaggerEditorRef?: ({
|
|
119
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
120
|
-
value: {
|
|
121
|
-
type: import("vue").PropType<string>;
|
|
122
|
-
};
|
|
123
|
-
theme: {
|
|
124
|
-
type: import("vue").PropType<ThemeId>;
|
|
125
|
-
};
|
|
126
|
-
proxyUrl: {
|
|
127
|
-
type: import("vue").PropType<string>;
|
|
128
|
-
};
|
|
129
|
-
error: {
|
|
130
|
-
type: import("vue").PropType<string | import("vue").Ref<string> | import("vue").ComputedRef<string> | null>;
|
|
131
|
-
};
|
|
132
|
-
}>> & {
|
|
133
|
-
onImport?: ((value: string) => any) | undefined;
|
|
134
|
-
onContentUpdate?: ((value: string) => any) | undefined;
|
|
135
|
-
onChangeTheme?: ((value: ThemeId) => any) | undefined;
|
|
136
|
-
}, {
|
|
137
|
-
handleOpenSwaggerEditor: (action?: import("@scalar/swagger-editor").OpenSwaggerEditorActions | undefined) => void;
|
|
138
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
139
|
-
contentUpdate: (value: string) => void;
|
|
140
|
-
import: (value: string) => void;
|
|
141
|
-
changeTheme: (value: ThemeId) => void;
|
|
142
|
-
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
143
|
-
value: {
|
|
144
|
-
type: import("vue").PropType<string>;
|
|
145
|
-
};
|
|
146
|
-
theme: {
|
|
147
|
-
type: import("vue").PropType<ThemeId>;
|
|
148
|
-
};
|
|
149
|
-
proxyUrl: {
|
|
150
|
-
type: import("vue").PropType<string>;
|
|
151
|
-
};
|
|
152
|
-
error: {
|
|
153
|
-
type: import("vue").PropType<string | import("vue").Ref<string> | import("vue").ComputedRef<string> | null>;
|
|
154
|
-
};
|
|
155
|
-
}>> & {
|
|
156
|
-
onImport?: ((value: string) => any) | undefined;
|
|
157
|
-
onContentUpdate?: ((value: string) => any) | undefined;
|
|
158
|
-
onChangeTheme?: ((value: ThemeId) => any) | undefined;
|
|
159
|
-
}, {}, true, {}, {}, {
|
|
160
|
-
P: {};
|
|
161
|
-
B: {};
|
|
162
|
-
D: {};
|
|
163
|
-
C: {};
|
|
164
|
-
M: {};
|
|
165
|
-
Defaults: {};
|
|
166
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
167
|
-
value: {
|
|
168
|
-
type: import("vue").PropType<string>;
|
|
169
|
-
};
|
|
170
|
-
theme: {
|
|
171
|
-
type: import("vue").PropType<ThemeId>;
|
|
172
|
-
};
|
|
173
|
-
proxyUrl: {
|
|
174
|
-
type: import("vue").PropType<string>;
|
|
175
|
-
};
|
|
176
|
-
error: {
|
|
177
|
-
type: import("vue").PropType<string | import("vue").Ref<string> | import("vue").ComputedRef<string> | null>;
|
|
178
|
-
};
|
|
179
|
-
}>> & {
|
|
180
|
-
onImport?: ((value: string) => any) | undefined;
|
|
181
|
-
onContentUpdate?: ((value: string) => any) | undefined;
|
|
182
|
-
onChangeTheme?: ((value: ThemeId) => any) | undefined;
|
|
183
|
-
}, {
|
|
184
|
-
handleOpenSwaggerEditor: (action?: import("@scalar/swagger-editor").OpenSwaggerEditorActions | undefined) => void;
|
|
185
|
-
}, {}, {}, {}, {}>;
|
|
186
|
-
__isFragment?: undefined;
|
|
187
|
-
__isTeleport?: undefined;
|
|
188
|
-
__isSuspense?: undefined;
|
|
189
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
190
|
-
value: {
|
|
191
|
-
type: import("vue").PropType<string>;
|
|
192
|
-
};
|
|
193
|
-
theme: {
|
|
194
|
-
type: import("vue").PropType<ThemeId>;
|
|
195
|
-
};
|
|
196
|
-
proxyUrl: {
|
|
197
|
-
type: import("vue").PropType<string>;
|
|
198
|
-
};
|
|
199
|
-
error: {
|
|
200
|
-
type: import("vue").PropType<string | import("vue").Ref<string> | import("vue").ComputedRef<string> | null>;
|
|
201
|
-
};
|
|
202
|
-
}>> & {
|
|
203
|
-
onImport?: ((value: string) => any) | undefined;
|
|
204
|
-
onContentUpdate?: ((value: string) => any) | undefined;
|
|
205
|
-
onChangeTheme?: ((value: ThemeId) => any) | undefined;
|
|
206
|
-
}, {
|
|
207
|
-
handleOpenSwaggerEditor: (action?: import("@scalar/swagger-editor").OpenSwaggerEditorActions | undefined) => void;
|
|
208
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
209
|
-
contentUpdate: (value: string) => void;
|
|
210
|
-
import: (value: string) => void;
|
|
211
|
-
changeTheme: (value: ThemeId) => void;
|
|
212
|
-
}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
213
|
-
$slots: {
|
|
214
|
-
"tab-items"?(_: {}): any;
|
|
215
|
-
"editor-input"?(_: {
|
|
216
|
-
value: string | undefined;
|
|
217
|
-
contentUpdate: (value: string) => void;
|
|
218
|
-
}): any;
|
|
219
|
-
};
|
|
220
|
-
})) | null | undefined;
|
|
221
|
-
}>>> & {
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<ReferenceLayoutProps>>> & {
|
|
222
10
|
onToggleDarkMode?: (() => any) | undefined;
|
|
223
11
|
onChangeTheme?: ((value: ThemeId) => any) | undefined;
|
|
12
|
+
onLoadSwaggerFile?: (() => any) | undefined;
|
|
13
|
+
onLinkSwaggerFile?: (() => any) | undefined;
|
|
224
14
|
onUpdateContent?: ((value: string) => any) | undefined;
|
|
225
15
|
}, {}, {}>, Readonly<{
|
|
226
16
|
footer: (props: ReferenceSlotProps) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiReferenceLayout.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiReferenceLayout.vue.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ApiReferenceLayout.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiReferenceLayout.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAGL,KAAK,OAAO,EAEb,MAAM,gBAAgB,CAAA;AAMvB,OAAO,KAAK,EACV,oBAAoB,EAEpB,kBAAkB,EACnB,MAAM,UAAU,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAokBjB,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
|
|
2
2
|
default?(_: {}): any;
|
|
3
|
+
"dark-mode-toggle"?(_: {}): any;
|
|
3
4
|
}>;
|
|
4
5
|
export default _default;
|
|
5
6
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClassicHeader.vue.d.ts","sourceRoot":"","sources":["../../src/components/ClassicHeader.vue.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ClassicHeader.vue.d.ts","sourceRoot":"","sources":["../../src/components/ClassicHeader.vue.ts"],"names":[],"mappings":";;;;AAsFA,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import type { Spec } from '../../types';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
parsedSpec: Spec;
|
|
4
|
-
rawSpec: string;
|
|
5
4
|
layout?: "default" | "accordion" | undefined;
|
|
6
5
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
6
|
parsedSpec: Spec;
|
|
8
|
-
rawSpec: string;
|
|
9
7
|
layout?: "default" | "accordion" | undefined;
|
|
10
8
|
}>>>, {}, {}>, {
|
|
11
9
|
start?(_: {}): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Content.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Content/Content.vue.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA
|
|
1
|
+
{"version":3,"file":"Content.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Content/Content.vue.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;;;;;;;;;;;;AAqZvC,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,16 +1,3 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<
|
|
2
|
-
value: string;
|
|
3
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
value: string;
|
|
5
|
-
}>>>, {}, {}>;
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
6
2
|
export default _default;
|
|
7
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
9
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
11
|
-
} : {
|
|
12
|
-
type: import('vue').PropType<T[K]>;
|
|
13
|
-
required: true;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
3
|
//# sourceMappingURL=DownloadSpec.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DownloadSpec.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Introduction/DownloadSpec.vue.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DownloadSpec.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Introduction/DownloadSpec.vue.ts"],"names":[],"mappings":";AAiFA,wBAKG"}
|
|
@@ -3,11 +3,9 @@ import type { Spec } from '../../../types';
|
|
|
3
3
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
4
4
|
info: Partial<OpenAPIV2.InfoObject | OpenAPIV3.InfoObject | OpenAPIV3_1.InfoObject>;
|
|
5
5
|
parsedSpec: Spec;
|
|
6
|
-
rawSpec: string;
|
|
7
6
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
8
7
|
info: Partial<OpenAPIV2.InfoObject | OpenAPIV3.InfoObject | OpenAPIV3_1.InfoObject>;
|
|
9
8
|
parsedSpec: Spec;
|
|
10
|
-
rawSpec: string;
|
|
11
9
|
}>>>, {}, {}>, {
|
|
12
10
|
aside?(_: {}): any;
|
|
13
11
|
after?(_: {}): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Introduction.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Introduction/Introduction.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,KAAK,WAAW,EAAE,MAAM,eAAe,CAAA;AAGhF,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA
|
|
1
|
+
{"version":3,"file":"Introduction.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Introduction/Introduction.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,KAAK,WAAW,EAAE,MAAM,eAAe,CAAA;AAGhF,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;;;;;;;;;;;AA8X1C,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,3 +1,20 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
isDarkMode: boolean;
|
|
3
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
|
+
toggleDarkMode: () => void;
|
|
5
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
+
isDarkMode: boolean;
|
|
7
|
+
}>>> & {
|
|
8
|
+
onToggleDarkMode?: (() => any) | undefined;
|
|
9
|
+
}, {}, {}>;
|
|
2
10
|
export default _default;
|
|
11
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
+
} : {
|
|
16
|
+
type: import('vue').PropType<T[K]>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
3
20
|
//# sourceMappingURL=DarkModeIconToggle.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DarkModeIconToggle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DarkModeToggle/DarkModeIconToggle.vue.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DarkModeIconToggle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DarkModeToggle/DarkModeIconToggle.vue.ts"],"names":[],"mappings":";gBA6Gc,OAAO;;;;gBAAP,OAAO;;;;AANrB,wBASG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -1,3 +1,20 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
isDarkMode: boolean;
|
|
3
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
|
+
toggleDarkMode: () => void;
|
|
5
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
+
isDarkMode: boolean;
|
|
7
|
+
}>>> & {
|
|
8
|
+
onToggleDarkMode?: (() => any) | undefined;
|
|
9
|
+
}, {}, {}>;
|
|
2
10
|
export default _default;
|
|
11
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
+
} : {
|
|
16
|
+
type: import('vue').PropType<T[K]>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
3
20
|
//# sourceMappingURL=DarkModeToggle.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DarkModeToggle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DarkModeToggle/DarkModeToggle.vue.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DarkModeToggle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DarkModeToggle/DarkModeToggle.vue.ts"],"names":[],"mappings":";gBA2Ic,OAAO;;;;gBAAP,OAAO;;;;AANrB,wBASG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { type ThemeId } from '@scalar/themes';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
theme: ThemeId;
|
|
4
|
-
value?: string | undefined;
|
|
5
4
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
5
|
changeTheme: (value: ThemeId) => void;
|
|
7
|
-
|
|
6
|
+
loadSwaggerFile: () => void;
|
|
7
|
+
linkSwaggerFile: () => void;
|
|
8
8
|
updateContent: (value: string) => void;
|
|
9
9
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
10
10
|
theme: ThemeId;
|
|
11
|
-
value?: string | undefined;
|
|
12
11
|
}>>> & {
|
|
13
12
|
onChangeTheme?: ((value: ThemeId) => any) | undefined;
|
|
14
|
-
|
|
13
|
+
onLoadSwaggerFile?: (() => any) | undefined;
|
|
14
|
+
onLinkSwaggerFile?: (() => any) | undefined;
|
|
15
15
|
onUpdateContent?: ((value: string) => any) | undefined;
|
|
16
16
|
}, {}, {}>;
|
|
17
17
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GettingStarted.vue.d.ts","sourceRoot":"","sources":["../../src/components/GettingStarted.vue.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,gBAAgB,CAAA;;
|
|
1
|
+
{"version":3,"file":"GettingStarted.vue.d.ts","sourceRoot":"","sources":["../../src/components/GettingStarted.vue.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,gBAAgB,CAAA;;WA4qBpC,OAAO;;;;;;;WAAP,OAAO;;;;;;;AANhB,wBASG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<
|
|
1
|
+
import type { ReferenceLayoutProps, ReferenceSlots } from '../../types';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<ReferenceLayoutProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
toggleDarkMode: () => void;
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<ReferenceLayoutProps>>> & {
|
|
5
|
+
onToggleDarkMode?: (() => any) | undefined;
|
|
6
|
+
}, {}, {}>, Readonly<ReferenceSlots> & ReferenceSlots>;
|
|
3
7
|
export default _default;
|
|
4
8
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
5
9
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Layouts/BaseLayout.vue.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"BaseLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Layouts/BaseLayout.vue.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;;;;;;AA8DvE,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<
|
|
1
|
+
import type { ReferenceLayoutProps, ReferenceSlots } from '../../types';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<ReferenceLayoutProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
toggleDarkMode: () => void;
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<ReferenceLayoutProps>>> & {
|
|
5
|
+
onToggleDarkMode?: (() => any) | undefined;
|
|
6
|
+
}, {}, {}>, Readonly<ReferenceSlots> & ReferenceSlots>;
|
|
3
7
|
export default _default;
|
|
4
8
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
5
9
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClassicLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Layouts/ClassicLayout.vue.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"ClassicLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Layouts/ClassicLayout.vue.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;;;;;;AA8JvE,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<
|
|
1
|
+
import { type ReferenceLayoutProps, type ReferenceSlots } from '../../types';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<ReferenceLayoutProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
toggleDarkMode: () => void;
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<ReferenceLayoutProps>>> & {
|
|
5
|
+
onToggleDarkMode?: (() => any) | undefined;
|
|
6
|
+
}, {}, {}>, Readonly<ReferenceSlots> & ReferenceSlots>;
|
|
3
7
|
export default _default;
|
|
4
8
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
5
9
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModernLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Layouts/ModernLayout.vue.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"ModernLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Layouts/ModernLayout.vue.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAA;;;;;;AA8M5E,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
package/dist/helpers/index.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ export * from './prettyPrintJson';
|
|
|
24
24
|
export * from './replaceVariables';
|
|
25
25
|
export * from './scrollToId';
|
|
26
26
|
export * from './sleep';
|
|
27
|
+
export * from './specDownloads';
|
|
27
28
|
export * from './splitMarkdownInSections';
|
|
28
29
|
export * from './transformToJson';
|
|
29
30
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,uBAAuB,CAAA;AACrC,cAAc,wBAAwB,CAAA;AACtC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,2BAA2B,CAAA;AACzC,cAAc,yBAAyB,CAAA;AACvC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,gCAAgC,CAAA;AAC9C,cAAc,2BAA2B,CAAA;AACzC,cAAc,yBAAyB,CAAA;AACvC,cAAc,oBAAoB,CAAA;AAClC,cAAc,aAAa,CAAA;AAC3B,cAAc,sBAAsB,CAAA;AACpC,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA;AAC1B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,eAAe,CAAA;AAC7B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,cAAc,CAAA;AAC5B,cAAc,SAAS,CAAA;AACvB,cAAc,2BAA2B,CAAA;AACzC,cAAc,mBAAmB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,uBAAuB,CAAA;AACrC,cAAc,wBAAwB,CAAA;AACtC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,2BAA2B,CAAA;AACzC,cAAc,yBAAyB,CAAA;AACvC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,gCAAgC,CAAA;AAC9C,cAAc,2BAA2B,CAAA;AACzC,cAAc,yBAAyB,CAAA;AACvC,cAAc,oBAAoB,CAAA;AAClC,cAAc,aAAa,CAAA;AAC3B,cAAc,sBAAsB,CAAA;AACpC,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA;AAC1B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,eAAe,CAAA;AAC7B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,cAAc,CAAA;AAC5B,cAAc,SAAS,CAAA;AACvB,cAAc,iBAAiB,CAAA;AAC/B,cAAc,2BAA2B,CAAA;AACzC,cAAc,mBAAmB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"specDownloads.d.ts","sourceRoot":"","sources":["../../src/helpers/specDownloads.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,eAAe;QAFqB,MAAM;OAEY,CAAA;AAEnE,mCAAmC;AACnC,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,QA2B5C"}
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -2,10 +2,9 @@ export * from './useClipboard';
|
|
|
2
2
|
export * from './useDarkModeState';
|
|
3
3
|
export * from './useNavState';
|
|
4
4
|
export * from './useOperation';
|
|
5
|
-
export * from './useParser';
|
|
6
5
|
export * from './useRefOnMount';
|
|
7
6
|
export * from './useResponses';
|
|
8
7
|
export * from './useSidebar';
|
|
9
8
|
export * from './useSnippetTargets';
|
|
10
|
-
export * from './
|
|
9
|
+
export * from './useReactiveSpec';
|
|
11
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,cAAc,CAAA;AAC5B,cAAc,qBAAqB,CAAA;AACnC,cAAc,mBAAmB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useClipboard.d.ts","sourceRoot":"","sources":["../../src/hooks/useClipboard.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;
|
|
1
|
+
{"version":3,"file":"useClipboard.d.ts","sourceRoot":"","sources":["../../src/hooks/useClipboard.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;6BAGS,MAAM;CAQvC,CAAA"}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import type { Spec } from '../types';
|
|
1
|
+
import { type MaybeRefOrGetter } from 'vue';
|
|
2
|
+
import type { Spec, SpecConfiguration } from '../types';
|
|
3
|
+
export declare const emptySpecGenerator: () => Spec;
|
|
3
4
|
/**
|
|
4
|
-
*
|
|
5
|
+
* Keep the raw spec content in a ref and update it when the configuration changes.
|
|
5
6
|
*/
|
|
6
|
-
export declare function
|
|
7
|
-
|
|
7
|
+
export declare function useReactiveSpec({ specConfig, proxy, }: {
|
|
8
|
+
specConfig?: MaybeRefOrGetter<SpecConfiguration>;
|
|
9
|
+
proxy?: MaybeRefOrGetter<string>;
|
|
8
10
|
}): {
|
|
9
|
-
|
|
11
|
+
rawSpec: import("vue").Ref<string>;
|
|
12
|
+
parsedSpec: {
|
|
10
13
|
tags?: {
|
|
11
14
|
name: string;
|
|
12
15
|
description: string;
|
|
@@ -229,7 +232,6 @@ export declare function useParser({ input, }: {
|
|
|
229
232
|
swagger?: string | undefined;
|
|
230
233
|
openapi?: string | undefined;
|
|
231
234
|
};
|
|
232
|
-
|
|
233
|
-
errorRef: Ref<string | null>;
|
|
235
|
+
specErrors: import("vue").Ref<string | null>;
|
|
234
236
|
};
|
|
235
|
-
//# sourceMappingURL=
|
|
237
|
+
//# sourceMappingURL=useReactiveSpec.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useReactiveSpec.d.ts","sourceRoot":"","sources":["../../src/hooks/useReactiveSpec.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,gBAAgB,EAAiC,MAAM,KAAK,CAAA;AAG1E,OAAO,KAAK,EAAE,IAAI,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAGvD,eAAO,MAAM,kBAAkB,QAAO,IAwBpC,CAAA;AAgCF;;GAEG;AACH,wBAAgB,eAAe,CAAC,EAC9B,UAAU,EACV,KAAK,GACN,EAAE;IACD,UAAU,CAAC,EAAE,gBAAgB,CAAC,iBAAiB,CAAC,CAAA;IAChD,KAAK,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAA;CACjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsDA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type ToastFunction = (message: string, level?: 'warn' | 'info' | 'error') => void | null;
|
|
2
|
+
/**
|
|
3
|
+
* Set the toast function that will be used throughout the app
|
|
4
|
+
* If using APIReference Layouts directly this can use the parent app toast function
|
|
5
|
+
*/
|
|
6
|
+
export declare function initializeToasts(toastFunction: ToastFunction): void;
|
|
7
|
+
/** Emit toasts */
|
|
8
|
+
export declare function useToasts(): {
|
|
9
|
+
initializeToasts: typeof initializeToasts;
|
|
10
|
+
toast: ToastFunction;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=useToasts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useToasts.d.ts","sourceRoot":"","sources":["../../src/hooks/useToasts.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG,CAC1B,OAAO,EAAE,MAAM,EACf,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,KAC9B,IAAI,GAAG,IAAI,CAAA;AAQhB;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,aAAa,EAAE,aAAa,QAE5D;AAED,kBAAkB;AAClB,wBAAgB,SAAS;;;EAKxB"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export { default as ApiClientModal, useApiClientStore, } from './components/ApiClientModal.vue';
|
|
2
2
|
export { default as ApiReference } from './components/ApiReference.vue';
|
|
3
3
|
export { default as ApiReferenceLayout } from './components/ApiReferenceLayout.vue';
|
|
4
|
-
export { default as ApiReferenceBase } from './components/ApiReferenceBase.vue';
|
|
5
4
|
export { default as RenderedReference } from './components/Content/Content.vue';
|
|
6
5
|
export { default as SearchModal } from './components/SearchModal.vue';
|
|
7
6
|
export { default as SearchButton } from './components/SearchButton.vue';
|
|
7
|
+
export { useReactiveSpec } from './hooks/useReactiveSpec';
|
|
8
8
|
export * from './components/DarkModeToggle';
|
|
9
9
|
export * from './components/Sidebar';
|
|
10
10
|
export * from './components/Card';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,IAAI,cAAc,EACzB,iBAAiB,GAClB,MAAM,iCAAiC,CAAA;AACxC,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,+BAA+B,CAAA;AACvE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,qCAAqC,CAAA;AACnF,OAAO,EAAE,OAAO,IAAI,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,IAAI,cAAc,EACzB,iBAAiB,GAClB,MAAM,iCAAiC,CAAA;AACxC,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,+BAA+B,CAAA;AACvE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,qCAAqC,CAAA;AACnF,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAA;AAC/E,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,8BAA8B,CAAA;AACrE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,+BAA+B,CAAA;AACvE,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAA;AAEzD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,sBAAsB,CAAA;AACpC,cAAc,mBAAmB,CAAA;AAEjC,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,SAAS,CAAA"}
|