@scalar/api-reference 0.8.10 → 1.0.1

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.
Files changed (41) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/README.md +8 -0
  3. package/dist/browser/standalone.js +81181 -81024
  4. package/dist/components/ApiClientModal.vue.d.ts +16 -4
  5. package/dist/components/ApiClientModal.vue.d.ts.map +1 -1
  6. package/dist/components/ApiReference.vue.d.ts +20 -22
  7. package/dist/components/ApiReference.vue.d.ts.map +1 -1
  8. package/dist/components/ApiReferenceLayout.vue.d.ts +178 -0
  9. package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -0
  10. package/dist/components/Content/Authentication/Authentication.vue.d.ts +2 -2
  11. package/dist/components/Content/Authentication/Authentication.vue.d.ts.map +1 -1
  12. package/dist/components/Content/Authentication/SecuritySchemeSelector.vue.d.ts.map +1 -1
  13. package/dist/components/Content/Content.vue.d.ts +9 -2
  14. package/dist/components/Content/Content.vue.d.ts.map +1 -1
  15. package/dist/components/Content/Introduction/Introduction.vue.d.ts.map +1 -1
  16. package/dist/components/Content/Introduction/ServerList.vue.d.ts.map +1 -1
  17. package/dist/components/Content/ReferenceEndpoint/ReferenceEndpoint.vue.d.ts +1 -17
  18. package/dist/components/Content/ReferenceEndpoint/ReferenceEndpoint.vue.d.ts.map +1 -1
  19. package/dist/components/DarkModeToggle.vue.d.ts +15 -1
  20. package/dist/components/DarkModeToggle.vue.d.ts.map +1 -1
  21. package/dist/components/FindAnythingButton.vue.d.ts +13 -1
  22. package/dist/components/FindAnythingButton.vue.d.ts.map +1 -1
  23. package/dist/components/MobileHeader.vue.d.ts +15 -1
  24. package/dist/components/MobileHeader.vue.d.ts.map +1 -1
  25. package/dist/components/SearchModal.vue.d.ts +2 -2
  26. package/dist/components/Sidebar.vue.d.ts +26 -4
  27. package/dist/components/Sidebar.vue.d.ts.map +1 -1
  28. package/dist/helpers/getUrlFromServerState.d.ts +1 -1
  29. package/dist/helpers/getUrlFromServerState.d.ts.map +1 -1
  30. package/dist/hooks/index.d.ts +2 -0
  31. package/dist/hooks/index.d.ts.map +1 -1
  32. package/dist/hooks/useParser.d.ts +163 -0
  33. package/dist/hooks/useParser.d.ts.map +1 -0
  34. package/dist/hooks/useSpec.d.ts +13 -0
  35. package/dist/hooks/useSpec.d.ts.map +1 -0
  36. package/dist/index.d.ts +1 -0
  37. package/dist/index.d.ts.map +1 -1
  38. package/dist/index.js +36659 -19159
  39. package/dist/types.d.ts +13 -8
  40. package/dist/types.d.ts.map +1 -1
  41. package/package.json +21 -6
@@ -1,10 +1,14 @@
1
1
  import { type Spec } from '../types';
2
2
  export { useApiClientStore } from '@scalar/api-client';
3
3
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
4
- spec: {
4
+ parsedSpec: {
5
5
  type: import("vue").PropType<Spec>;
6
6
  required: true;
7
7
  };
8
+ isDarkMode: {
9
+ type: import("vue").PropType<boolean>;
10
+ required: true;
11
+ };
8
12
  overloadShow: {
9
13
  type: import("vue").PropType<boolean>;
10
14
  };
@@ -17,11 +21,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
17
21
  proxyUrl: {
18
22
  type: import("vue").PropType<string>;
19
23
  };
20
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
21
- spec: {
24
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
25
+ toggleDarkMode: () => void;
26
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
27
+ parsedSpec: {
22
28
  type: import("vue").PropType<Spec>;
23
29
  required: true;
24
30
  };
31
+ isDarkMode: {
32
+ type: import("vue").PropType<boolean>;
33
+ required: true;
34
+ };
25
35
  overloadShow: {
26
36
  type: import("vue").PropType<boolean>;
27
37
  };
@@ -34,7 +44,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
34
44
  proxyUrl: {
35
45
  type: import("vue").PropType<string>;
36
46
  };
37
- }>>, {}, {}>, {
47
+ }>> & {
48
+ onToggleDarkMode?: (() => any) | undefined;
49
+ }, {}, {}>, {
38
50
  header?(_: {}): any;
39
51
  "active-tab"?(_: {}): any;
40
52
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"ApiClientModal.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiClientModal.vue.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,UAAU,CAAA;AAKpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBA2NzB,GAAG;0BACG,GAAG;;AA3NtC,wBA0O0G;AAG1G,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"ApiClientModal.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiClientModal.vue.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,UAAU,CAAA;AAKpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBA0PzB,GAAG;0BACG,GAAG;;AA1PtC,wBAyQ0G;AAgB1G,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -1,9 +1,6 @@
1
1
  import { type ThemeId } from '@scalar/themes';
2
2
  import type { ReferenceConfiguration } from '../types';
3
3
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
4
- spec: {
5
- type: import("vue").PropType<string>;
6
- };
7
4
  proxyUrl: {
8
5
  type: import("vue").PropType<string>;
9
6
  };
@@ -16,15 +13,21 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
16
13
  aiWriterMarkdown: {
17
14
  type: import("vue").PropType<string>;
18
15
  };
16
+ hocuspocusConfiguration: {
17
+ type: import("vue").PropType<import("@scalar/swagger-editor").HocuspocusConfigurationProp>;
18
+ };
19
+ initialTabState: {
20
+ type: import("vue").PropType<import("@scalar/swagger-editor").EditorHeaderTabs>;
21
+ };
22
+ spec: {
23
+ type: import("vue").PropType<string>;
24
+ };
19
25
  specUrl: {
20
26
  type: import("vue").PropType<string>;
21
27
  };
22
28
  specResult: {
23
29
  type: import("vue").PropType<Record<any, any>>;
24
30
  };
25
- initialTabState: {
26
- type: import("vue").PropType<import("@scalar/swagger-editor").EditorHeaderTabs>;
27
- };
28
31
  showSidebar: {
29
32
  type: import("vue").PropType<boolean>;
30
33
  default: undefined;
@@ -37,16 +40,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
37
40
  type: import("vue").PropType<boolean>;
38
41
  default: undefined;
39
42
  };
40
- hocuspocusConfiguration: {
41
- type: import("vue").PropType<import("@scalar/swagger-editor").HocuspocusConfigurationProp>;
42
- };
43
43
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
44
44
  changeTheme: (value: ThemeId) => void;
45
45
  startAIWriter: (value: string[], swaggerData: string, swaggerType: "json" | "yaml") => void;
46
46
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
47
- spec: {
48
- type: import("vue").PropType<string>;
49
- };
50
47
  proxyUrl: {
51
48
  type: import("vue").PropType<string>;
52
49
  };
@@ -59,15 +56,21 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
59
56
  aiWriterMarkdown: {
60
57
  type: import("vue").PropType<string>;
61
58
  };
59
+ hocuspocusConfiguration: {
60
+ type: import("vue").PropType<import("@scalar/swagger-editor").HocuspocusConfigurationProp>;
61
+ };
62
+ initialTabState: {
63
+ type: import("vue").PropType<import("@scalar/swagger-editor").EditorHeaderTabs>;
64
+ };
65
+ spec: {
66
+ type: import("vue").PropType<string>;
67
+ };
62
68
  specUrl: {
63
69
  type: import("vue").PropType<string>;
64
70
  };
65
71
  specResult: {
66
72
  type: import("vue").PropType<Record<any, any>>;
67
73
  };
68
- initialTabState: {
69
- type: import("vue").PropType<import("@scalar/swagger-editor").EditorHeaderTabs>;
70
- };
71
74
  showSidebar: {
72
75
  type: import("vue").PropType<boolean>;
73
76
  default: undefined;
@@ -80,9 +83,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
80
83
  type: import("vue").PropType<boolean>;
81
84
  default: undefined;
82
85
  };
83
- hocuspocusConfiguration: {
84
- type: import("vue").PropType<import("@scalar/swagger-editor").HocuspocusConfigurationProp>;
85
- };
86
86
  }>> & {
87
87
  onChangeTheme?: ((value: ThemeId) => any) | undefined;
88
88
  onStartAIWriter?: ((value: string[], swaggerData: string, swaggerType: "json" | "yaml") => any) | undefined;
@@ -91,11 +91,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
91
91
  footerBelowSidebar: boolean;
92
92
  isEditable: boolean;
93
93
  }, {}>, {
94
- "search-modal"?(_: {}): any;
95
94
  header?(_: {}): any;
96
- "mobile-header"?(_: {
97
- label: string;
98
- }): any;
95
+ "mobile-header"?(_: {}): any;
96
+ "search-modal"?(_: {}): any;
99
97
  footer?(_: {}): any;
100
98
  }>;
101
99
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"ApiReference.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiReference.vue.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,OAAO,EAAe,MAAM,gBAAgB,CAAA;AAc1D,OAAO,KAAK,EAAE,sBAAsB,EAAwB,MAAM,UAAU,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgmB5E,wBAA8G;AAyB9G,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"ApiReference.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiReference.vue.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,OAAO,EAAe,MAAM,gBAAgB,CAAA;AAQ1D,OAAO,KAAK,EAAE,sBAAsB,EAAwB,MAAM,UAAU,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0V5E,wBAA8G;AAyB9G,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -0,0 +1,178 @@
1
+ import { type ThemeId } from '@scalar/themes';
2
+ import type { ReferenceConfiguration, Spec } from '../types';
3
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
4
+ currentConfiguration: {
5
+ type: import("vue").PropType<ReferenceConfiguration>;
6
+ required: true;
7
+ };
8
+ isDarkMode: {
9
+ type: import("vue").PropType<boolean>;
10
+ required: true;
11
+ };
12
+ parsedSpec: {
13
+ type: import("vue").PropType<Spec>;
14
+ required: true;
15
+ };
16
+ rawSpec: {
17
+ type: import("vue").PropType<string>;
18
+ required: true;
19
+ };
20
+ swaggerEditorRef: {
21
+ type: import("vue").PropType<import("vue").DefineComponent<{
22
+ aiWriterMarkdown: {
23
+ type: import("vue").PropType<string>;
24
+ };
25
+ value: {
26
+ type: import("vue").PropType<string>;
27
+ };
28
+ hocuspocusConfiguration: {
29
+ type: import("vue").PropType<import("@scalar/swagger-editor").HocuspocusConfigurationProp>;
30
+ };
31
+ theme: {
32
+ type: import("vue").PropType<ThemeId>;
33
+ };
34
+ initialTabState: {
35
+ type: import("vue").PropType<import("@scalar/swagger-editor").EditorHeaderTabs>;
36
+ };
37
+ proxyUrl: {
38
+ type: import("vue").PropType<string>;
39
+ };
40
+ error: {
41
+ type: import("vue").PropType<string | import("vue").ComputedRef<string> | import("vue").Ref<string> | null>;
42
+ };
43
+ }, {
44
+ handleOpenSwaggerEditor: (action?: import("@scalar/swagger-editor").OpenSwaggerEditorActions | undefined) => void;
45
+ handleChangeExample: (example: import("@scalar/swagger-editor").GettingStartedExamples) => Promise<void>;
46
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
47
+ contentUpdate: (value: string) => void;
48
+ import: (value: string) => void;
49
+ changeTheme: (value: ThemeId) => void;
50
+ startAIWriter: (value: string[], swaggerData: string, swaggerType: "json" | "yaml") => void;
51
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
52
+ aiWriterMarkdown: {
53
+ type: import("vue").PropType<string>;
54
+ };
55
+ value: {
56
+ type: import("vue").PropType<string>;
57
+ };
58
+ hocuspocusConfiguration: {
59
+ type: import("vue").PropType<import("@scalar/swagger-editor").HocuspocusConfigurationProp>;
60
+ };
61
+ theme: {
62
+ type: import("vue").PropType<ThemeId>;
63
+ };
64
+ initialTabState: {
65
+ type: import("vue").PropType<import("@scalar/swagger-editor").EditorHeaderTabs>;
66
+ };
67
+ proxyUrl: {
68
+ type: import("vue").PropType<string>;
69
+ };
70
+ error: {
71
+ type: import("vue").PropType<string | import("vue").ComputedRef<string> | import("vue").Ref<string> | null>;
72
+ };
73
+ }>> & {
74
+ onStartAIWriter?: ((value: string[], swaggerData: string, swaggerType: "json" | "yaml") => any) | undefined;
75
+ onChangeTheme?: ((value: ThemeId) => any) | undefined;
76
+ onImport?: ((value: string) => any) | undefined;
77
+ onContentUpdate?: ((value: string) => any) | undefined;
78
+ }, {}, {}> | null>;
79
+ };
80
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
81
+ changeTheme: (value: ThemeId) => void;
82
+ toggleDarkMode: () => void;
83
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
84
+ currentConfiguration: {
85
+ type: import("vue").PropType<ReferenceConfiguration>;
86
+ required: true;
87
+ };
88
+ isDarkMode: {
89
+ type: import("vue").PropType<boolean>;
90
+ required: true;
91
+ };
92
+ parsedSpec: {
93
+ type: import("vue").PropType<Spec>;
94
+ required: true;
95
+ };
96
+ rawSpec: {
97
+ type: import("vue").PropType<string>;
98
+ required: true;
99
+ };
100
+ swaggerEditorRef: {
101
+ type: import("vue").PropType<import("vue").DefineComponent<{
102
+ aiWriterMarkdown: {
103
+ type: import("vue").PropType<string>;
104
+ };
105
+ value: {
106
+ type: import("vue").PropType<string>;
107
+ };
108
+ hocuspocusConfiguration: {
109
+ type: import("vue").PropType<import("@scalar/swagger-editor").HocuspocusConfigurationProp>;
110
+ };
111
+ theme: {
112
+ type: import("vue").PropType<ThemeId>;
113
+ };
114
+ initialTabState: {
115
+ type: import("vue").PropType<import("@scalar/swagger-editor").EditorHeaderTabs>;
116
+ };
117
+ proxyUrl: {
118
+ type: import("vue").PropType<string>;
119
+ };
120
+ error: {
121
+ type: import("vue").PropType<string | import("vue").ComputedRef<string> | import("vue").Ref<string> | null>;
122
+ };
123
+ }, {
124
+ handleOpenSwaggerEditor: (action?: import("@scalar/swagger-editor").OpenSwaggerEditorActions | undefined) => void;
125
+ handleChangeExample: (example: import("@scalar/swagger-editor").GettingStartedExamples) => Promise<void>;
126
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
127
+ contentUpdate: (value: string) => void;
128
+ import: (value: string) => void;
129
+ changeTheme: (value: ThemeId) => void;
130
+ startAIWriter: (value: string[], swaggerData: string, swaggerType: "json" | "yaml") => void;
131
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
132
+ aiWriterMarkdown: {
133
+ type: import("vue").PropType<string>;
134
+ };
135
+ value: {
136
+ type: import("vue").PropType<string>;
137
+ };
138
+ hocuspocusConfiguration: {
139
+ type: import("vue").PropType<import("@scalar/swagger-editor").HocuspocusConfigurationProp>;
140
+ };
141
+ theme: {
142
+ type: import("vue").PropType<ThemeId>;
143
+ };
144
+ initialTabState: {
145
+ type: import("vue").PropType<import("@scalar/swagger-editor").EditorHeaderTabs>;
146
+ };
147
+ proxyUrl: {
148
+ type: import("vue").PropType<string>;
149
+ };
150
+ error: {
151
+ type: import("vue").PropType<string | import("vue").ComputedRef<string> | import("vue").Ref<string> | null>;
152
+ };
153
+ }>> & {
154
+ onStartAIWriter?: ((value: string[], swaggerData: string, swaggerType: "json" | "yaml") => any) | undefined;
155
+ onChangeTheme?: ((value: ThemeId) => any) | undefined;
156
+ onImport?: ((value: string) => any) | undefined;
157
+ onContentUpdate?: ((value: string) => any) | undefined;
158
+ }, {}, {}> | null>;
159
+ };
160
+ }>> & {
161
+ onToggleDarkMode?: (() => any) | undefined;
162
+ onChangeTheme?: ((value: ThemeId) => any) | undefined;
163
+ }, {}, {}>, {
164
+ "search-modal"?(_: {}): any;
165
+ header?(_: {}): any;
166
+ "mobile-header"?(_: {
167
+ label: string;
168
+ }): any;
169
+ editor?(_: {}): any;
170
+ footer?(_: {}): any;
171
+ }>;
172
+ export default _default;
173
+ type __VLS_WithTemplateSlots<T, S> = T & {
174
+ new (): {
175
+ $slots: S;
176
+ };
177
+ };
178
+ //# sourceMappingURL=ApiReferenceLayout.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ApiReferenceLayout.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiReferenceLayout.vue.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAK7C,OAAO,KAAK,EAAE,sBAAsB,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkc5D,wBAA8G;AAmB9G,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -1,10 +1,10 @@
1
1
  import { type Spec } from '../../../types';
2
2
  declare const _default: import("vue").DefineComponent<{
3
- spec: {
3
+ parsedSpec: {
4
4
  type: import("vue").PropType<Spec>;
5
5
  };
6
6
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
- spec: {
7
+ parsedSpec: {
8
8
  type: import("vue").PropType<Spec>;
9
9
  };
10
10
  }>>, {}, {}>;
@@ -1 +1 @@
1
- {"version":3,"file":"Authentication.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Authentication/Authentication.vue.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,gBAAgB,CAAA;;;;;;;;;;AA2L1C,wBAAkD"}
1
+ {"version":3,"file":"Authentication.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Authentication/Authentication.vue.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,gBAAgB,CAAA;;;;;;;;;;AAyM1C,wBAAkD"}
@@ -1 +1 @@
1
- {"version":3,"file":"SecuritySchemeSelector.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Authentication/SecuritySchemeSelector.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAyMA,wBAAkD"}
1
+ {"version":3,"file":"SecuritySchemeSelector.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Authentication/SecuritySchemeSelector.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAoNA,wBAAkD"}
@@ -1,5 +1,5 @@
1
1
  import type { Spec } from '../../types';
2
- declare const _default: import("vue").DefineComponent<{
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
3
  ready: {
4
4
  type: import("vue").PropType<boolean>;
5
5
  required: true;
@@ -25,6 +25,13 @@ declare const _default: import("vue").DefineComponent<{
25
25
  type: import("vue").PropType<string>;
26
26
  required: true;
27
27
  };
28
- }>>, {}, {}>;
28
+ }>>, {}, {}>, {
29
+ "empty-state"?(_: {}): any;
30
+ }>;
29
31
  export default _default;
32
+ type __VLS_WithTemplateSlots<T, S> = T & {
33
+ new (): {
34
+ $slots: S;
35
+ };
36
+ };
30
37
  //# sourceMappingURL=Content.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Content.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Content/Content.vue.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,IAAI,EAAO,MAAM,aAAa,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyS5C,wBAAkD"}
1
+ {"version":3,"file":"Content.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Content/Content.vue.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,IAAI,EAAO,MAAM,aAAa,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwT5C,wBAA8G;AAI9G,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Introduction.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Introduction/Introduction.vue.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsUxD,wBAAkD"}
1
+ {"version":3,"file":"Introduction.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Introduction/Introduction.vue.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyWxD,wBAAkD"}
@@ -1 +1 @@
1
- {"version":3,"file":"ServerList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Introduction/ServerList.vue.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,gBAAgB,CAAA;;;;;;;;;;;;AAqc5C,wBAAkD"}
1
+ {"version":3,"file":"ServerList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Introduction/ServerList.vue.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,gBAAgB,CAAA;;;;;;;;;;;;AA8b5C,wBAAkD"}
@@ -1,17 +1,9 @@
1
- import type { Server, Spec, Tag, TransformedOperation } from '../../../types';
1
+ import type { Tag, TransformedOperation } from '../../../types';
2
2
  declare const _default: import("vue").DefineComponent<{
3
3
  operation: {
4
4
  type: import("vue").PropType<TransformedOperation>;
5
5
  required: true;
6
6
  };
7
- server: {
8
- type: import("vue").PropType<Server>;
9
- required: true;
10
- };
11
- spec: {
12
- type: import("vue").PropType<Spec>;
13
- required: true;
14
- };
15
7
  tag: {
16
8
  type: import("vue").PropType<Tag>;
17
9
  required: true;
@@ -21,14 +13,6 @@ declare const _default: import("vue").DefineComponent<{
21
13
  type: import("vue").PropType<TransformedOperation>;
22
14
  required: true;
23
15
  };
24
- server: {
25
- type: import("vue").PropType<Server>;
26
- required: true;
27
- };
28
- spec: {
29
- type: import("vue").PropType<Spec>;
30
- required: true;
31
- };
32
16
  tag: {
33
17
  type: import("vue").PropType<Tag>;
34
18
  required: true;
@@ -1 +1 @@
1
- {"version":3,"file":"ReferenceEndpoint.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/ReferenceEndpoint/ReferenceEndpoint.vue.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8M7E,wBAAkD"}
1
+ {"version":3,"file":"ReferenceEndpoint.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/ReferenceEndpoint/ReferenceEndpoint.vue.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,GAAG,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;;;;;;;;;;;;;;;;;;;;AA0M/D,wBAAkD"}
@@ -1,3 +1,17 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import("vue").DefineComponent<{
2
+ isDarkMode: {
3
+ type: import("vue").PropType<boolean>;
4
+ required: true;
5
+ };
6
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ toggleDarkMode: () => void;
8
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
9
+ isDarkMode: {
10
+ type: import("vue").PropType<boolean>;
11
+ required: true;
12
+ };
13
+ }>> & {
14
+ onToggleDarkMode?: (() => any) | undefined;
15
+ }, {}, {}>;
2
16
  export default _default;
3
17
  //# sourceMappingURL=DarkModeToggle.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DarkModeToggle.vue.d.ts","sourceRoot":"","sources":["../../src/components/DarkModeToggle.vue.ts"],"names":[],"mappings":";AA8IA,wBAAkD"}
1
+ {"version":3,"file":"DarkModeToggle.vue.d.ts","sourceRoot":"","sources":["../../src/components/DarkModeToggle.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAuJA,wBAAkD"}
@@ -1,3 +1,15 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import("vue").DefineComponent<{
2
+ searchHotKey: {
3
+ type: import("vue").PropType<string>;
4
+ default: string;
5
+ };
6
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
+ searchHotKey: {
8
+ type: import("vue").PropType<string>;
9
+ default: string;
10
+ };
11
+ }>>, {
12
+ searchHotKey: string;
13
+ }, {}>;
2
14
  export default _default;
3
15
  //# sourceMappingURL=FindAnythingButton.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FindAnythingButton.vue.d.ts","sourceRoot":"","sources":["../../src/components/FindAnythingButton.vue.ts"],"names":[],"mappings":";AA6HA,wBAAkD"}
1
+ {"version":3,"file":"FindAnythingButton.vue.d.ts","sourceRoot":"","sources":["../../src/components/FindAnythingButton.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAwIA,wBAAkD"}
@@ -1,4 +1,18 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ isDarkMode: {
3
+ type: import("vue").PropType<boolean>;
4
+ required: true;
5
+ };
6
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ toggleDarkMode: () => void;
8
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
9
+ isDarkMode: {
10
+ type: import("vue").PropType<boolean>;
11
+ required: true;
12
+ };
13
+ }>> & {
14
+ onToggleDarkMode?: (() => any) | undefined;
15
+ }, {}, {}>, {
2
16
  default?(_: {}): any;
3
17
  }>;
4
18
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"MobileHeader.vue.d.ts","sourceRoot":"","sources":["../../src/components/MobileHeader.vue.ts"],"names":[],"mappings":";;;AAiJA,wBAA8G;AAE9G,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"MobileHeader.vue.d.ts","sourceRoot":"","sources":["../../src/components/MobileHeader.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAkKA,wBAA8G;AAiB9G,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -1,11 +1,11 @@
1
1
  import type { Spec } from '../types';
2
2
  declare const _default: import("vue").DefineComponent<{
3
- spec: {
3
+ parsedSpec: {
4
4
  type: import("vue").PropType<Spec>;
5
5
  required: true;
6
6
  };
7
7
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
8
- spec: {
8
+ parsedSpec: {
9
9
  type: import("vue").PropType<Spec>;
10
10
  required: true;
11
11
  };
@@ -1,14 +1,36 @@
1
1
  import type { Spec } from '../types';
2
2
  declare const _default: import("vue").DefineComponent<{
3
- spec: {
3
+ isDarkMode: {
4
+ type: import("vue").PropType<boolean>;
5
+ required: true;
6
+ };
7
+ searchHotKey: {
8
+ type: import("vue").PropType<string>;
9
+ default: string;
10
+ };
11
+ parsedSpec: {
4
12
  type: import("vue").PropType<Spec>;
5
13
  required: true;
6
14
  };
7
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
8
- spec: {
15
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
+ toggleDarkMode: () => void;
17
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
18
+ isDarkMode: {
19
+ type: import("vue").PropType<boolean>;
20
+ required: true;
21
+ };
22
+ searchHotKey: {
23
+ type: import("vue").PropType<string>;
24
+ default: string;
25
+ };
26
+ parsedSpec: {
9
27
  type: import("vue").PropType<Spec>;
10
28
  required: true;
11
29
  };
12
- }>>, {}, {}>;
30
+ }>> & {
31
+ onToggleDarkMode?: (() => any) | undefined;
32
+ }, {
33
+ searchHotKey: string;
34
+ }, {}>;
13
35
  export default _default;
14
36
  //# sourceMappingURL=Sidebar.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Sidebar.vue.d.ts","sourceRoot":"","sources":["../../src/components/Sidebar.vue.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,IAAI,EAA6B,MAAM,UAAU,CAAA;;;;;;;;;;;;AA0a/D,wBAAkD"}
1
+ {"version":3,"file":"Sidebar.vue.d.ts","sourceRoot":"","sources":["../../src/components/Sidebar.vue.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,IAAI,EAA6B,MAAM,UAAU,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqd/D,wBAAkD"}
@@ -1,3 +1,3 @@
1
1
  import type { ServerState } from '../types';
2
- export declare function getUrlFromServerState(state: ServerState): string;
2
+ export declare function getUrlFromServerState(state: ServerState): string | undefined;
3
3
  //# sourceMappingURL=getUrlFromServerState.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getUrlFromServerState.d.ts","sourceRoot":"","sources":["../../src/helpers/getUrlFromServerState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAG3C,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,WAAW,UAOvD"}
1
+ {"version":3,"file":"getUrlFromServerState.d.ts","sourceRoot":"","sources":["../../src/helpers/getUrlFromServerState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAG3C,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,WAAW,sBAOvD"}
@@ -1,4 +1,6 @@
1
1
  export * from './useDarkModeState';
2
2
  export * from './useOperation';
3
+ export * from './useParser';
3
4
  export * from './useRefOnMount';
5
+ export * from './useSpec';
4
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,WAAW,CAAA"}