@scalar/api-reference 1.25.36 → 1.25.37

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 (237) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/browser/standalone.js +13407 -13399
  3. package/dist/browser/webpack-stats.json +1 -1
  4. package/dist/components/Anchor/Anchor.vue.d.ts +3 -12
  5. package/dist/components/Anchor/Anchor.vue.d.ts.map +1 -1
  6. package/dist/components/Anchor/Anchor.vue2.js +21 -21
  7. package/dist/components/ApiClientModal.vue.d.ts +3 -12
  8. package/dist/components/ApiClientModal.vue.d.ts.map +1 -1
  9. package/dist/components/ApiReference.vue.d.ts +4 -13
  10. package/dist/components/ApiReference.vue.d.ts.map +1 -1
  11. package/dist/components/ApiReferenceLayout.vue.d.ts +8 -17
  12. package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
  13. package/dist/components/Badge/Badge.vue.d.ts +1 -1
  14. package/dist/components/Badge/Badge.vue.d.ts.map +1 -1
  15. package/dist/components/Card/Card.vue.d.ts +1 -1
  16. package/dist/components/Card/Card.vue.d.ts.map +1 -1
  17. package/dist/components/Card/CardContent.vue.d.ts +1 -10
  18. package/dist/components/Card/CardContent.vue.d.ts.map +1 -1
  19. package/dist/components/Card/CardFooter.vue.d.ts +1 -10
  20. package/dist/components/Card/CardFooter.vue.d.ts.map +1 -1
  21. package/dist/components/Card/CardHeader.vue.d.ts +1 -10
  22. package/dist/components/Card/CardHeader.vue.d.ts.map +1 -1
  23. package/dist/components/Card/CardTab.vue.d.ts +1 -1
  24. package/dist/components/Card/CardTab.vue.d.ts.map +1 -1
  25. package/dist/components/Card/CardTabHeader.vue.d.ts +4 -4
  26. package/dist/components/Card/CardTabHeader.vue.d.ts.map +1 -1
  27. package/dist/components/ClassicHeader.vue.d.ts +1 -1
  28. package/dist/components/ClassicHeader.vue.d.ts.map +1 -1
  29. package/dist/components/Content/Authentication/Authentication.vue.d.ts +3 -12
  30. package/dist/components/Content/Authentication/Authentication.vue.d.ts.map +1 -1
  31. package/dist/components/Content/ClientLibraries/ClientLibraries.vue.d.ts +1 -1
  32. package/dist/components/Content/ClientLibraries/ClientLibraries.vue2.js +14 -14
  33. package/dist/components/Content/ClientLibraries/ClientSelector.vue.d.ts +1 -1
  34. package/dist/components/Content/ClientLibraries/ClientSelector.vue2.js +56 -56
  35. package/dist/components/Content/Content.vue.d.ts +3 -12
  36. package/dist/components/Content/Content.vue.d.ts.map +1 -1
  37. package/dist/components/Content/Content.vue2.js +41 -41
  38. package/dist/components/Content/Introduction/Description.vue.d.ts +3 -12
  39. package/dist/components/Content/Introduction/Description.vue.d.ts.map +1 -1
  40. package/dist/components/Content/Introduction/Introduction.vue.d.ts +3 -12
  41. package/dist/components/Content/Introduction/Introduction.vue.d.ts.map +1 -1
  42. package/dist/components/Content/Lazy/Lazy.vue.d.ts +4 -27
  43. package/dist/components/Content/Lazy/Lazy.vue.d.ts.map +1 -1
  44. package/dist/components/Content/Lazy/Loading.vue.d.ts +4 -25
  45. package/dist/components/Content/Lazy/Loading.vue.d.ts.map +1 -1
  46. package/dist/components/Content/Models/Models.vue.d.ts +3 -12
  47. package/dist/components/Content/Models/Models.vue.d.ts.map +1 -1
  48. package/dist/components/Content/Models/Models.vue2.js +32 -32
  49. package/dist/components/Content/Models/ModelsAccordion.vue.d.ts +3 -12
  50. package/dist/components/Content/Models/ModelsAccordion.vue.d.ts.map +1 -1
  51. package/dist/components/Content/Models/ModelsAccordion.vue2.js +30 -30
  52. package/dist/components/Content/Operation/ContentTypeSelect.vue.d.ts +6 -15
  53. package/dist/components/Content/Operation/ContentTypeSelect.vue.d.ts.map +1 -1
  54. package/dist/components/Content/Operation/EndpointDetails.vue.d.ts +3 -12
  55. package/dist/components/Content/Operation/EndpointDetails.vue.d.ts.map +1 -1
  56. package/dist/components/Content/Operation/EndpointDetails.vue.js +45 -45
  57. package/dist/components/Content/Operation/EndpointDetailsCard.vue.d.ts +3 -12
  58. package/dist/components/Content/Operation/EndpointDetailsCard.vue.d.ts.map +1 -1
  59. package/dist/components/Content/Operation/EndpointDetailsCard.vue2.js +37 -37
  60. package/dist/components/Content/Operation/EndpointPath.vue.d.ts +3 -12
  61. package/dist/components/Content/Operation/EndpointPath.vue.d.ts.map +1 -1
  62. package/dist/components/Content/Operation/Operation.vue.d.ts +3 -12
  63. package/dist/components/Content/Operation/Operation.vue.d.ts.map +1 -1
  64. package/dist/components/Content/Operation/Operation.vue2.js +35 -35
  65. package/dist/components/Content/Operation/OperationAccordion.vue.d.ts +3 -12
  66. package/dist/components/Content/Operation/OperationAccordion.vue.d.ts.map +1 -1
  67. package/dist/components/Content/Operation/ParameterHeaders.vue.d.ts +3 -12
  68. package/dist/components/Content/Operation/ParameterHeaders.vue.d.ts.map +1 -1
  69. package/dist/components/Content/Operation/ParameterItem.vue.d.ts +4 -27
  70. package/dist/components/Content/Operation/ParameterItem.vue.d.ts.map +1 -1
  71. package/dist/components/Content/Operation/Parameters.vue.d.ts +4 -27
  72. package/dist/components/Content/Operation/Parameters.vue.d.ts.map +1 -1
  73. package/dist/components/Content/Operation/RequestBody.vue.d.ts +3 -12
  74. package/dist/components/Content/Operation/RequestBody.vue.d.ts.map +1 -1
  75. package/dist/components/Content/Operation/RequestBodyPropertiesChild.vue.d.ts +3 -12
  76. package/dist/components/Content/Operation/RequestBodyPropertiesChild.vue.d.ts.map +1 -1
  77. package/dist/components/Content/Operation/TestRequestButton.vue.d.ts +3 -12
  78. package/dist/components/Content/Operation/TestRequestButton.vue.d.ts.map +1 -1
  79. package/dist/components/Content/Operation/TestRequestButton.vue2.js +16 -16
  80. package/dist/components/Content/Schema/Schema.vue.d.ts +4 -25
  81. package/dist/components/Content/Schema/Schema.vue.d.ts.map +1 -1
  82. package/dist/components/Content/Schema/SchemaHeading.vue.d.ts +3 -12
  83. package/dist/components/Content/Schema/SchemaHeading.vue.d.ts.map +1 -1
  84. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts +4 -29
  85. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
  86. package/dist/components/Content/Schema/SchemaProperty.vue2.js +85 -85
  87. package/dist/components/Content/Schema/SchemaPropertyDetail.vue.d.ts +3 -12
  88. package/dist/components/Content/Schema/SchemaPropertyDetail.vue.d.ts.map +1 -1
  89. package/dist/components/Content/Schema/SchemaPropertyDetail.vue2.js +11 -11
  90. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts +4 -27
  91. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
  92. package/dist/components/Content/Schema/SchemaPropertyHeading.vue2.js +114 -114
  93. package/dist/components/Content/Tag/Endpoints.vue.d.ts +3 -12
  94. package/dist/components/Content/Tag/Endpoints.vue.d.ts.map +1 -1
  95. package/dist/components/Content/Tag/Endpoints.vue2.js +11 -11
  96. package/dist/components/Content/Tag/Tag.vue.d.ts +3 -12
  97. package/dist/components/Content/Tag/Tag.vue.d.ts.map +1 -1
  98. package/dist/components/Content/Tag/TagAccordion.vue.d.ts +3 -12
  99. package/dist/components/Content/Tag/TagAccordion.vue.d.ts.map +1 -1
  100. package/dist/components/Content/Tag/TagList.vue.d.ts +3 -12
  101. package/dist/components/Content/Tag/TagList.vue.d.ts.map +1 -1
  102. package/dist/components/Content/Webhooks/Webhook.vue.d.ts +3 -12
  103. package/dist/components/Content/Webhooks/Webhook.vue.d.ts.map +1 -1
  104. package/dist/components/Content/Webhooks/Webhook.vue2.js +22 -22
  105. package/dist/components/Content/Webhooks/Webhooks.vue.d.ts +3 -12
  106. package/dist/components/Content/Webhooks/Webhooks.vue.d.ts.map +1 -1
  107. package/dist/components/Content/Webhooks/Webhooks.vue2.js +39 -39
  108. package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.d.ts +6 -15
  109. package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.d.ts.map +1 -1
  110. package/dist/components/DarkModeToggle/DarkModeToggle.vue.d.ts +6 -15
  111. package/dist/components/DarkModeToggle/DarkModeToggle.vue.d.ts.map +1 -1
  112. package/dist/components/DarkModeToggle/DarkModeToggle.vue2.js +14 -14
  113. package/dist/components/GettingStarted.vue.d.ts +9 -18
  114. package/dist/components/GettingStarted.vue.d.ts.map +1 -1
  115. package/dist/components/GettingStarted.vue2.js +32 -32
  116. package/dist/components/HelpfulLink.vue.d.ts +3 -12
  117. package/dist/components/HelpfulLink.vue.d.ts.map +1 -1
  118. package/dist/components/HttpMethod/HttpMethod.vue.d.ts +3 -12
  119. package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -1
  120. package/dist/components/IntersectionObserver.vue.d.ts +6 -15
  121. package/dist/components/IntersectionObserver.vue.d.ts.map +1 -1
  122. package/dist/components/Layouts/ClassicLayout.vue.d.ts +5 -14
  123. package/dist/components/Layouts/ClassicLayout.vue.d.ts.map +1 -1
  124. package/dist/components/Layouts/Layouts.vue.d.ts +5 -14
  125. package/dist/components/Layouts/Layouts.vue.d.ts.map +1 -1
  126. package/dist/components/Layouts/ModernLayout.vue.d.ts +5 -14
  127. package/dist/components/Layouts/ModernLayout.vue.d.ts.map +1 -1
  128. package/dist/components/LoadingSkeleton.vue.d.ts +4 -25
  129. package/dist/components/LoadingSkeleton.vue.d.ts.map +1 -1
  130. package/dist/components/MobileHeader.vue.d.ts +6 -15
  131. package/dist/components/MobileHeader.vue.d.ts.map +1 -1
  132. package/dist/components/ScreenReader.vue.d.ts +4 -25
  133. package/dist/components/ScreenReader.vue.d.ts.map +1 -1
  134. package/dist/components/Section/CompactSection.vue.d.ts +3 -12
  135. package/dist/components/Section/CompactSection.vue.d.ts.map +1 -1
  136. package/dist/components/Section/Section.vue.d.ts +3 -12
  137. package/dist/components/Section/Section.vue.d.ts.map +1 -1
  138. package/dist/components/Section/SectionAccordion.vue.d.ts +3 -12
  139. package/dist/components/Section/SectionAccordion.vue.d.ts.map +1 -1
  140. package/dist/components/Section/SectionColumn.vue.d.ts +1 -1
  141. package/dist/components/Section/SectionColumn.vue.d.ts.map +1 -1
  142. package/dist/components/Section/SectionColumns.vue.d.ts +1 -1
  143. package/dist/components/Section/SectionColumns.vue.d.ts.map +1 -1
  144. package/dist/components/Section/SectionContainer.vue.d.ts +1 -1
  145. package/dist/components/Section/SectionContainer.vue.d.ts.map +1 -1
  146. package/dist/components/Section/SectionContainerAccordion.vue.d.ts +1 -1
  147. package/dist/components/Section/SectionContainerAccordion.vue.d.ts.map +1 -1
  148. package/dist/components/Section/SectionContent.vue.d.ts +4 -25
  149. package/dist/components/Section/SectionContent.vue.d.ts.map +1 -1
  150. package/dist/components/Section/SectionHeader.vue.d.ts +4 -29
  151. package/dist/components/Section/SectionHeader.vue.d.ts.map +1 -1
  152. package/dist/components/ShowMoreButton.vue.d.ts +3 -12
  153. package/dist/components/ShowMoreButton.vue.d.ts.map +1 -1
  154. package/dist/components/ShowMoreButton.vue2.js +9 -9
  155. package/dist/components/Sidebar/Sidebar.vue.d.ts +3 -12
  156. package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
  157. package/dist/components/Sidebar/SidebarElement.vue.d.ts +6 -15
  158. package/dist/components/Sidebar/SidebarElement.vue.d.ts.map +1 -1
  159. package/dist/components/Sidebar/SidebarElement.vue2.js +24 -24
  160. package/dist/components/Sidebar/SidebarGroup.vue.d.ts +3 -12
  161. package/dist/components/Sidebar/SidebarGroup.vue.d.ts.map +1 -1
  162. package/dist/components/Sidebar/SidebarHttpBadge.vue.d.ts +3 -12
  163. package/dist/components/Sidebar/SidebarHttpBadge.vue.d.ts.map +1 -1
  164. package/dist/components/Spinner/Spinner.vue.d.ts +1 -1
  165. package/dist/embeds/ExampleRequest/ExampleRequest.vue.d.ts +3 -12
  166. package/dist/embeds/ExampleRequest/ExampleRequest.vue.d.ts.map +1 -1
  167. package/dist/embeds/ExampleResponses/ExampleResponses.vue.d.ts +3 -12
  168. package/dist/embeds/ExampleResponses/ExampleResponses.vue.d.ts.map +1 -1
  169. package/dist/embeds/OpenApiDocument/OpenApiDocument.vue.d.ts +253 -13
  170. package/dist/embeds/OpenApiDocument/OpenApiDocument.vue.d.ts.map +1 -1
  171. package/dist/features/BaseUrl/BaseUrl.vue.d.ts +3 -12
  172. package/dist/features/BaseUrl/BaseUrl.vue.d.ts.map +1 -1
  173. package/dist/features/BaseUrl/ServerForm.vue.d.ts +8 -29
  174. package/dist/features/BaseUrl/ServerForm.vue.d.ts.map +1 -1
  175. package/dist/features/BaseUrl/ServerForm.vue2.js +41 -41
  176. package/dist/features/BaseUrl/ServerUrl.vue.d.ts +3 -12
  177. package/dist/features/BaseUrl/ServerUrl.vue.d.ts.map +1 -1
  178. package/dist/features/BaseUrl/ServerUrlSelect.vue.d.ts +6 -15
  179. package/dist/features/BaseUrl/ServerUrlSelect.vue.d.ts.map +1 -1
  180. package/dist/features/BaseUrl/ServerVariablesForm.vue.d.ts +6 -15
  181. package/dist/features/BaseUrl/ServerVariablesForm.vue.d.ts.map +1 -1
  182. package/dist/features/BaseUrl/ServerVariablesSelect.vue.d.ts +6 -15
  183. package/dist/features/BaseUrl/ServerVariablesSelect.vue.d.ts.map +1 -1
  184. package/dist/features/BaseUrl/ServerVariablesSelect.vue2.js +19 -19
  185. package/dist/features/BaseUrl/ServerVariablesTextbox.vue.d.ts +6 -15
  186. package/dist/features/BaseUrl/ServerVariablesTextbox.vue.d.ts.map +1 -1
  187. package/dist/features/DownloadLink/DownloadLink.vue.d.ts +3 -12
  188. package/dist/features/DownloadLink/DownloadLink.vue.d.ts.map +1 -1
  189. package/dist/features/ExampleRequest/ExamplePicker.vue.d.ts +6 -15
  190. package/dist/features/ExampleRequest/ExamplePicker.vue.d.ts.map +1 -1
  191. package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts +3 -12
  192. package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts.map +1 -1
  193. package/dist/features/ExampleRequest/TextSelect.vue.d.ts +6 -15
  194. package/dist/features/ExampleRequest/TextSelect.vue.d.ts.map +1 -1
  195. package/dist/features/ExampleResponses/ExampleResponse.vue.d.ts +3 -12
  196. package/dist/features/ExampleResponses/ExampleResponse.vue.d.ts.map +1 -1
  197. package/dist/features/ExampleResponses/ExampleResponses.vue.d.ts +3 -12
  198. package/dist/features/ExampleResponses/ExampleResponses.vue.d.ts.map +1 -1
  199. package/dist/features/ExampleResponses/ExampleResponses.vue2.js +83 -83
  200. package/dist/features/Search/SearchButton.vue.d.ts +4 -25
  201. package/dist/features/Search/SearchButton.vue.d.ts.map +1 -1
  202. package/dist/features/Search/SearchButton.vue2.js +27 -27
  203. package/dist/features/Search/SearchModal.vue.d.ts +3 -12
  204. package/dist/features/Search/SearchModal.vue.d.ts.map +1 -1
  205. package/dist/features/Search/SearchModal.vue2.js +66 -66
  206. package/dist/features/Search/useSearchIndex.d.ts +2 -2
  207. package/dist/hooks/useDarkModeState.d.ts +1 -1
  208. package/dist/hooks/useNavState.d.ts +3 -3
  209. package/dist/hooks/useReactiveSpec.d.ts +2 -2
  210. package/dist/hooks/useRefOnMount.d.ts +1 -1
  211. package/dist/hooks/useRefOnMount.d.ts.map +1 -1
  212. package/dist/hooks/useSidebar.d.ts +3 -3
  213. package/dist/index.js +1 -1
  214. package/dist/legacy/components/CardForm.vue.d.ts +1 -1
  215. package/dist/legacy/components/CardForm.vue.d.ts.map +1 -1
  216. package/dist/legacy/components/CardFormButton.vue.d.ts +2 -2
  217. package/dist/legacy/components/CardFormButton.vue.d.ts.map +1 -1
  218. package/dist/legacy/components/CardFormGroup.vue.d.ts +1 -1
  219. package/dist/legacy/components/CardFormGroup.vue.d.ts.map +1 -1
  220. package/dist/legacy/components/CardFormRows.vue.d.ts +1 -1
  221. package/dist/legacy/components/CardFormRows.vue.d.ts.map +1 -1
  222. package/dist/legacy/components/CardFormTextInput.vue.d.ts +3 -12
  223. package/dist/legacy/components/CardFormTextInput.vue.d.ts.map +1 -1
  224. package/dist/legacy/components/CardFormTextInput.vue2.js +21 -21
  225. package/dist/legacy/components/SecurityScheme.vue.d.ts +3 -12
  226. package/dist/legacy/components/SecurityScheme.vue.d.ts.map +1 -1
  227. package/dist/legacy/components/SecurityScheme.vue2.js +147 -147
  228. package/dist/legacy/components/SecuritySchemeScopes.vue.d.ts +6 -15
  229. package/dist/legacy/components/SecuritySchemeScopes.vue.d.ts.map +1 -1
  230. package/dist/legacy/components/SecuritySchemeScopes.vue2.js +37 -37
  231. package/dist/legacy/components/SecuritySchemeSelector.vue.d.ts +6 -15
  232. package/dist/legacy/components/SecuritySchemeSelector.vue.d.ts.map +1 -1
  233. package/dist/legacy/components/SecuritySchemeSelector.vue2.js +36 -36
  234. package/dist/legacy/stores/useRequestStore.d.ts +7 -3
  235. package/dist/legacy/stores/useRequestStore.d.ts.map +1 -1
  236. package/dist/style.css +1 -1
  237. package/package.json +11 -11
@@ -1,65 +1,65 @@
1
- import { defineComponent as S, computed as c, openBlock as a, createBlock as i, unref as e, withCtx as l, createVNode as s, createTextVNode as v, createElementVNode as k, normalizeClass as M, createElementBlock as b, Fragment as y, renderList as N, createCommentVNode as n } from "vue";
2
- import g from "../../ShowMoreButton.vue.js";
3
- import C from "../../Section/SectionContainer.vue.js";
4
- import L from "../../Section/Section.vue.js";
5
- import I from "../../Section/SectionHeader.vue.js";
6
- import u from "../Lazy/Lazy.vue2.js";
7
- import w from "../../Section/CompactSection.vue.js";
8
- import B from "../Schema/SchemaHeading.vue.js";
9
- import H from "../Schema/Schema.vue.js";
10
- import { useSidebar as O } from "../../../hooks/useSidebar.js";
11
- import { useNavState as V } from "../../../hooks/useNavState.js";
12
- const f = 10, q = /* @__PURE__ */ S({
1
+ import { defineComponent as _, computed as c, openBlock as a, createBlock as i, unref as e, withCtx as l, createVNode as s, createTextVNode as k, createElementVNode as M, normalizeClass as b, createElementBlock as y, Fragment as N, renderList as g, createCommentVNode as u } from "vue";
2
+ import C from "../../ShowMoreButton.vue.js";
3
+ import L from "../../Section/SectionContainer.vue.js";
4
+ import I from "../../Section/Section.vue.js";
5
+ import w from "../../Section/SectionHeader.vue.js";
6
+ import f from "../Lazy/Lazy.vue2.js";
7
+ import B from "../../Section/CompactSection.vue.js";
8
+ import H from "../Schema/SchemaHeading.vue.js";
9
+ import O from "../Schema/Schema.vue.js";
10
+ import { useSidebar as V } from "../../../hooks/useSidebar.js";
11
+ import { useNavState as z } from "../../../hooks/useNavState.js";
12
+ const p = 10, q = /* @__PURE__ */ _({
13
13
  __name: "Models",
14
14
  props: {
15
15
  schemas: {}
16
16
  },
17
- setup(p) {
18
- const d = p, { collapsedSidebarItems: h } = O(), { getModelId: r } = V(), m = c(
19
- () => Object.keys(d.schemas ?? {}).length <= f || h[r()]
20
- ), _ = c(() => {
17
+ setup(h) {
18
+ const d = h, { collapsedSidebarItems: S } = V(), { getModelId: r } = z(), m = c(
19
+ () => Object.keys(d.schemas ?? {}).length <= p || S[r()]
20
+ ), v = c(() => {
21
21
  const t = Object.keys(d.schemas ?? {});
22
- return m.value ? t : t.slice(0, f);
22
+ return m.value ? t : t.slice(0, p);
23
23
  });
24
- return (t, z) => t.schemas ? (a(), i(e(C), {
24
+ return (t, n) => t.schemas ? (a(), i(e(L), {
25
25
  key: 0,
26
26
  id: "models"
27
27
  }, {
28
28
  default: l(() => [
29
- s(e(L), null, {
29
+ s(e(I), null, {
30
30
  default: l(() => [
31
- s(e(I), { level: 2 }, {
32
- default: l(() => [
33
- v("Models")
34
- ]),
31
+ s(e(w), { level: 2 }, {
32
+ default: l(() => n[0] || (n[0] = [
33
+ k("Models")
34
+ ])),
35
35
  _: 1
36
36
  }),
37
- s(e(u), {
37
+ s(e(f), {
38
38
  id: "models",
39
39
  isLazy: !1
40
40
  }),
41
- k("div", {
42
- class: M(["models-list", { "models-list-truncated": !m.value }])
41
+ M("div", {
42
+ class: b(["models-list", { "models-list-truncated": !m.value }])
43
43
  }, [
44
- (a(!0), b(y, null, N(_.value, (o) => (a(), i(e(u), {
44
+ (a(!0), y(N, null, g(v.value, (o) => (a(), i(e(f), {
45
45
  id: e(r)(o),
46
46
  key: o,
47
47
  isLazy: ""
48
48
  }, {
49
49
  default: l(() => [
50
- s(e(w), {
50
+ s(e(B), {
51
51
  id: e(r)(o),
52
52
  class: "models-list-item",
53
53
  label: o
54
54
  }, {
55
55
  heading: l(() => [
56
- s(e(B), {
56
+ s(e(H), {
57
57
  name: o,
58
58
  value: t.schemas[o]
59
59
  }, null, 8, ["name", "value"])
60
60
  ]),
61
61
  default: l(() => [
62
- s(e(H), {
62
+ s(e(O), {
63
63
  hideHeading: !0,
64
64
  noncollapsible: "",
65
65
  value: t.schemas[o]
@@ -71,7 +71,7 @@ const f = 10, q = /* @__PURE__ */ S({
71
71
  _: 2
72
72
  }, 1032, ["id"]))), 128))
73
73
  ], 2),
74
- m.value ? n("", !0) : (a(), i(g, {
74
+ m.value ? u("", !0) : (a(), i(C, {
75
75
  key: 0,
76
76
  id: e(r)(),
77
77
  class: "show-more-models"
@@ -81,7 +81,7 @@ const f = 10, q = /* @__PURE__ */ S({
81
81
  })
82
82
  ]),
83
83
  _: 1
84
- })) : n("", !0);
84
+ })) : u("", !0);
85
85
  }
86
86
  });
87
87
  export {
@@ -1,17 +1,8 @@
1
1
  import type { OpenAPIV2, OpenAPIV3, OpenAPIV3_1 } from '@scalar/openapi-types';
2
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
2
+ declare const _default: import("vue").DefineComponent<{
3
3
  schemas?: OpenAPIV2.DefinitionsObject | Record<string, OpenAPIV3.SchemaObject> | Record<string, OpenAPIV3_1.SchemaObject> | unknown;
4
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
4
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
5
5
  schemas?: OpenAPIV2.DefinitionsObject | Record<string, OpenAPIV3.SchemaObject> | Record<string, OpenAPIV3_1.SchemaObject> | unknown;
6
- }>>>, {}, {}>;
6
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
7
  export default _default;
8
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
- type __VLS_TypePropsToOption<T> = {
10
- [K in keyof T]-?: {} extends Pick<T, K> ? {
11
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
12
- } : {
13
- type: import('vue').PropType<T[K]>;
14
- required: true;
15
- };
16
- };
17
8
  //# sourceMappingURL=ModelsAccordion.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ModelsAccordion.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Models/ModelsAccordion.vue"],"names":[],"mappings":"AAkGA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;;cAgBxE,SAAS,CAAC,iBAAiB,GAC3B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,YAAY,CAAC,GACtC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,GACxC,OAAO;;cAHP,SAAS,CAAC,iBAAiB,GAC3B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,YAAY,CAAC,GACtC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,GACxC,OAAO;;AA6Lb,wBAMG;AAOH,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"}
1
+ {"version":3,"file":"ModelsAccordion.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Models/ModelsAccordion.vue"],"names":[],"mappings":"AAkGA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;;cAgBxE,SAAS,CAAC,iBAAiB,GAC3B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,YAAY,CAAC,GACtC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,GACxC,OAAO;;cAHP,SAAS,CAAC,iBAAiB,GAC3B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,YAAY,CAAC,GACtC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,GACxC,OAAO;;AA6Lb,wBAMG"}
@@ -1,49 +1,49 @@
1
- import { defineComponent as A, computed as C, openBlock as t, createBlock as s, unref as e, withCtx as o, createVNode as i, createTextVNode as N, createElementBlock as c, Fragment as v, renderList as k, createCommentVNode as g } from "vue";
2
- import h from "../../Section/SectionContainerAccordion.vue.js";
3
- import y from "../../Section/SectionHeader.vue.js";
4
- import B from "../../Section/SectionAccordion.vue.js";
5
- import M from "../../Anchor/Anchor.vue.js";
6
- import V from "../Schema/SchemaHeading.vue.js";
1
+ import { defineComponent as A, computed as C, openBlock as t, createBlock as c, unref as e, withCtx as o, createVNode as d, createTextVNode as N, createElementBlock as s, Fragment as v, renderList as k, createCommentVNode as g } from "vue";
2
+ import y from "../../Section/SectionContainerAccordion.vue.js";
3
+ import B from "../../Section/SectionHeader.vue.js";
4
+ import M from "../../Section/SectionAccordion.vue.js";
5
+ import V from "../../Anchor/Anchor.vue.js";
6
+ import j from "../Schema/SchemaHeading.vue.js";
7
7
  import S from "../Schema/SchemaProperty.vue.js";
8
- import { useNavState as j } from "../../../hooks/useNavState.js";
9
- const H = {
8
+ import { useNavState as H } from "../../../hooks/useNavState.js";
9
+ const O = {
10
10
  key: 0,
11
11
  class: "properties"
12
- }, O = { key: 1 }, D = /* @__PURE__ */ A({
12
+ }, h = { key: 1 }, D = /* @__PURE__ */ A({
13
13
  __name: "ModelsAccordion",
14
14
  props: {
15
15
  schemas: {}
16
16
  },
17
17
  setup(b) {
18
- const d = b, q = C(() => d.schemas ? Object.entries(d.schemas).map(([a, m]) => ({
19
- name: a,
20
- schema: m
21
- })) : []), { getModelId: u } = j();
22
- return (a, m) => d.schemas ? (t(), s(e(h), {
18
+ const u = b, q = C(() => u.schemas ? Object.entries(u.schemas).map(([m, n]) => ({
19
+ name: m,
20
+ schema: n
21
+ })) : []), { getModelId: a } = H();
22
+ return (m, n) => u.schemas ? (t(), c(e(y), {
23
23
  key: 0,
24
24
  class: "reference-models"
25
25
  }, {
26
26
  title: o(() => [
27
- i(e(y), { level: 2 }, {
28
- default: o(() => [
27
+ d(e(B), { level: 2 }, {
28
+ default: o(() => n[0] || (n[0] = [
29
29
  N("Models")
30
- ]),
30
+ ])),
31
31
  _: 1
32
32
  })
33
33
  ]),
34
34
  default: o(() => [
35
- (t(!0), c(v, null, k(q.value, ({ name: l, schema: r }) => (t(), s(e(B), {
36
- id: e(u)(l),
35
+ (t(!0), s(v, null, k(q.value, ({ name: l, schema: r }) => (t(), c(e(M), {
36
+ id: e(a)(l),
37
37
  key: l,
38
38
  label: l
39
39
  }, {
40
40
  title: o(() => [
41
- i(e(M), {
42
- id: e(u)(l),
41
+ d(e(V), {
42
+ id: e(a)(l),
43
43
  class: "reference-models-anchor"
44
44
  }, {
45
45
  default: o(() => [
46
- i(e(V), {
46
+ d(e(j), {
47
47
  class: "reference-models-label",
48
48
  name: l,
49
49
  value: r
@@ -53,18 +53,18 @@ const H = {
53
53
  }, 1032, ["id"])
54
54
  ]),
55
55
  default: o(() => [
56
- r != null && r.properties ? (t(), c("div", H, [
57
- (t(!0), c(v, null, k(Object.entries(r.properties), ([n, x]) => {
56
+ r != null && r.properties ? (t(), s("div", O, [
57
+ (t(!0), s(v, null, k(Object.entries(r.properties), ([i, x]) => {
58
58
  var p, f, _;
59
- return t(), s(e(S), {
60
- key: n,
61
- name: n,
62
- required: ((p = r.required) == null ? void 0 : p.includes(n)) || ((_ = (f = r.properties) == null ? void 0 : f[n]) == null ? void 0 : _.required) === !0,
59
+ return t(), c(e(S), {
60
+ key: i,
61
+ name: i,
62
+ required: ((p = r.required) == null ? void 0 : p.includes(i)) || ((_ = (f = r.properties) == null ? void 0 : f[i]) == null ? void 0 : _.required) === !0,
63
63
  value: x
64
64
  }, null, 8, ["name", "required", "value"]);
65
65
  }), 128))
66
- ])) : (t(), c("div", O, [
67
- i(e(S), { value: r }, null, 8, ["value"])
66
+ ])) : (t(), s("div", h, [
67
+ d(e(S), { value: r }, null, 8, ["value"])
68
68
  ]))
69
69
  ]),
70
70
  _: 2
@@ -1,27 +1,18 @@
1
1
  import type { ContentType, RequestBody } from '@scalar/types/legacy';
2
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
2
+ declare const _default: import("vue").DefineComponent<{
3
3
  requestBody?: RequestBody;
4
4
  defaultValue?: ContentType;
5
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
6
6
  selectContentType: (payload: {
7
7
  contentType: ContentType;
8
- }) => void;
9
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
8
+ }) => any;
9
+ }, string, import("vue").PublicProps, Readonly<{
10
10
  requestBody?: RequestBody;
11
11
  defaultValue?: ContentType;
12
- }>>> & {
12
+ }> & Readonly<{
13
13
  onSelectContentType?: ((payload: {
14
14
  contentType: ContentType;
15
15
  }) => any) | undefined;
16
- }, {}, {}>;
16
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
17
  export default _default;
18
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
- type __VLS_TypePropsToOption<T> = {
20
- [K in keyof T]-?: {} extends Pick<T, K> ? {
21
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
22
- } : {
23
- type: import('vue').PropType<T[K]>;
24
- required: true;
25
- };
26
- };
27
18
  //# sourceMappingURL=ContentTypeSelect.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContentTypeSelect.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/ContentTypeSelect.vue"],"names":[],"mappings":"AAgHA,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;;kBAMpD,WAAW;mBACV,WAAW;;;qBAIuB,WAAW;;;kBAL9C,WAAW;mBACV,WAAW;;;qBAIuB,WAAW;;;AA0F9D,wBAOG;AAOH,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"}
1
+ {"version":3,"file":"ContentTypeSelect.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/ContentTypeSelect.vue"],"names":[],"mappings":"AAgHA,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;;kBAMpD,WAAW;mBACV,WAAW;;;qBAyGuB,WAAW;;;kBA1G9C,WAAW;mBACV,WAAW;;;qBAyGuB,WAAW;;;AAP9D,wBASG"}
@@ -1,17 +1,8 @@
1
1
  import type { TransformedOperation } from '@scalar/types/legacy';
2
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
2
+ declare const _default: import("vue").DefineComponent<{
3
3
  operation: TransformedOperation;
4
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
4
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
5
5
  operation: TransformedOperation;
6
- }>>>, {}, {}>;
6
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
7
  export default _default;
8
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
- type __VLS_TypePropsToOption<T> = {
10
- [K in keyof T]-?: {} extends Pick<T, K> ? {
11
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
12
- } : {
13
- type: import('vue').PropType<T[K]>;
14
- required: true;
15
- };
16
- };
17
8
  //# sourceMappingURL=EndpointDetails.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EndpointDetails.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/EndpointDetails.vue"],"names":[],"mappings":"AAsDA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;;eAQ7B,oBAAoB;;eAApB,oBAAoB;;AA8JvD,wBAMG;AAOH,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"}
1
+ {"version":3,"file":"EndpointDetails.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/EndpointDetails.vue"],"names":[],"mappings":"AAsDA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;;eAQ7B,oBAAoB;;eAApB,oBAAoB;;AA8JvD,wBAMG"}
@@ -1,82 +1,82 @@
1
- import { defineComponent as u, openBlock as d, createElementBlock as _, createElementVNode as f, createVNode as e, unref as t, withCtx as r, createTextVNode as a, createBlock as y, createCommentVNode as h } from "vue";
2
- import { ScalarMarkdown as B } from "@scalar/components";
3
- import o from "./Parameters.vue.js";
4
- import q from "./RequestBody.vue.js";
5
- import { useResponses as k } from "../../../hooks/useResponses.js";
6
- import { useOperation as P } from "../../../hooks/useOperation.js";
7
- const v = { class: "endpoint-details" }, w = { class: "endpoint-description" }, I = /* @__PURE__ */ u({
1
+ import { defineComponent as y, openBlock as l, createElementBlock as B, createElementVNode as q, createVNode as t, unref as r, withCtx as o, createTextVNode as a, createBlock as k, createCommentVNode as P } from "vue";
2
+ import { ScalarMarkdown as v } from "@scalar/components";
3
+ import s from "./Parameters.vue.js";
4
+ import w from "./RequestBody.vue.js";
5
+ import { useResponses as C } from "../../../hooks/useResponses.js";
6
+ import { useOperation as N } from "../../../hooks/useOperation.js";
7
+ const V = { class: "endpoint-details" }, D = { class: "endpoint-description" }, x = /* @__PURE__ */ y({
8
8
  __name: "EndpointDetails",
9
9
  props: {
10
10
  operation: {}
11
11
  },
12
- setup(l) {
13
- const m = l, { parameterMap: s } = P(m), { responses: c } = k(m.operation);
14
- return (p, C) => {
15
- var n, i;
16
- return d(), _("div", v, [
17
- f("div", w, [
18
- e(t(B), {
19
- value: p.operation.description,
12
+ setup(u) {
13
+ const n = u, { parameterMap: p } = N(n), { responses: f } = C(n.operation);
14
+ return (m, e) => {
15
+ var i, d;
16
+ return l(), B("div", V, [
17
+ q("div", D, [
18
+ t(r(v), {
19
+ value: m.operation.description,
20
20
  withImages: ""
21
21
  }, null, 8, ["value"])
22
22
  ]),
23
- e(o, {
24
- parameters: t(s).path
23
+ t(s, {
24
+ parameters: r(p).path
25
25
  }, {
26
- title: r(() => [
26
+ title: o(() => e[0] || (e[0] = [
27
27
  a("Path Parameters")
28
- ]),
28
+ ])),
29
29
  _: 1
30
30
  }, 8, ["parameters"]),
31
- e(o, {
32
- parameters: t(s).query
31
+ t(s, {
32
+ parameters: r(p).query
33
33
  }, {
34
- title: r(() => [
34
+ title: o(() => e[1] || (e[1] = [
35
35
  a("Query Parameters")
36
- ]),
36
+ ])),
37
37
  _: 1
38
38
  }, 8, ["parameters"]),
39
- e(o, {
40
- parameters: t(s).header
39
+ t(s, {
40
+ parameters: r(p).header
41
41
  }, {
42
- title: r(() => [
42
+ title: o(() => e[2] || (e[2] = [
43
43
  a("Headers")
44
- ]),
44
+ ])),
45
45
  _: 1
46
46
  }, 8, ["parameters"]),
47
- e(o, {
48
- parameters: t(s).body,
47
+ t(s, {
48
+ parameters: r(p).body,
49
49
  showChildren: ""
50
50
  }, {
51
- title: r(() => [
51
+ title: o(() => e[3] || (e[3] = [
52
52
  a("Body Parameters")
53
- ]),
53
+ ])),
54
54
  _: 1
55
55
  }, 8, ["parameters"]),
56
- e(o, {
57
- parameters: t(s).formData
56
+ t(s, {
57
+ parameters: r(p).formData
58
58
  }, {
59
- title: r(() => [
59
+ title: o(() => e[4] || (e[4] = [
60
60
  a("Form Data")
61
- ]),
61
+ ])),
62
62
  _: 1
63
63
  }, 8, ["parameters"]),
64
- (n = p.operation.information) != null && n.requestBody ? (d(), y(q, {
64
+ (i = m.operation.information) != null && i.requestBody ? (l(), k(w, {
65
65
  key: 0,
66
- requestBody: (i = p.operation.information) == null ? void 0 : i.requestBody
66
+ requestBody: (d = m.operation.information) == null ? void 0 : d.requestBody
67
67
  }, {
68
- title: r(() => [
68
+ title: o(() => e[5] || (e[5] = [
69
69
  a("Body")
70
- ]),
70
+ ])),
71
71
  _: 1
72
- }, 8, ["requestBody"])) : h("", !0),
73
- e(o, {
72
+ }, 8, ["requestBody"])) : P("", !0),
73
+ t(s, {
74
74
  collapsableItems: !0,
75
- parameters: t(c)
75
+ parameters: r(f)
76
76
  }, {
77
- title: r(() => [
77
+ title: o(() => e[6] || (e[6] = [
78
78
  a("Responses")
79
- ]),
79
+ ])),
80
80
  _: 1
81
81
  }, 8, ["parameters"])
82
82
  ]);
@@ -84,5 +84,5 @@ const v = { class: "endpoint-details" }, w = { class: "endpoint-description" },
84
84
  }
85
85
  });
86
86
  export {
87
- I as default
87
+ x as default
88
88
  };
@@ -1,17 +1,8 @@
1
1
  import type { TransformedOperation } from '@scalar/types/legacy';
2
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
2
+ declare const _default: import("vue").DefineComponent<{
3
3
  operation: TransformedOperation;
4
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
4
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
5
5
  operation: TransformedOperation;
6
- }>>>, {}, {}>;
6
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
7
  export default _default;
8
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
- type __VLS_TypePropsToOption<T> = {
10
- [K in keyof T]-?: {} extends Pick<T, K> ? {
11
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
12
- } : {
13
- type: import('vue').PropType<T[K]>;
14
- required: true;
15
- };
16
- };
17
8
  //# sourceMappingURL=EndpointDetailsCard.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EndpointDetailsCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/EndpointDetailsCard.vue"],"names":[],"mappings":"AAyFA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;;eAQ7B,oBAAoB;;eAApB,oBAAoB;;AAqIvD,wBAMG;AAOH,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"}
1
+ {"version":3,"file":"EndpointDetailsCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/EndpointDetailsCard.vue"],"names":[],"mappings":"AAyFA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;;eAQ7B,oBAAoB;;eAApB,oBAAoB;;AAqIvD,wBAMG"}
@@ -1,61 +1,61 @@
1
- import { defineComponent as c, openBlock as l, createElementBlock as u, createVNode as e, unref as a, withCtx as t, createTextVNode as r } from "vue";
2
- import s from "./Parameters.vue.js";
3
- import _ from "./RequestBody.vue.js";
4
- import { useOperation as f } from "../../../hooks/useOperation.js";
5
- import { useResponses as y } from "../../../hooks/useResponses.js";
6
- const B = { class: "endpoint-details-card" }, k = /* @__PURE__ */ c({
1
+ import { defineComponent as u, openBlock as f, createElementBlock as y, createVNode as t, unref as a, withCtx as r, createTextVNode as s } from "vue";
2
+ import o from "./Parameters.vue.js";
3
+ import B from "./RequestBody.vue.js";
4
+ import { useOperation as c } from "../../../hooks/useOperation.js";
5
+ import { useResponses as q } from "../../../hooks/useResponses.js";
6
+ const P = { class: "endpoint-details-card" }, N = /* @__PURE__ */ u({
7
7
  __name: "EndpointDetailsCard",
8
8
  props: {
9
9
  operation: {}
10
10
  },
11
- setup(p) {
12
- const i = p, { parameterMap: o } = f(i), { responses: d } = y(i.operation);
13
- return (m, h) => {
14
- var n;
15
- return l(), u("div", B, [
16
- e(s, {
11
+ setup(d) {
12
+ const n = d, { parameterMap: i } = c(n), { responses: m } = q(n.operation);
13
+ return (l, e) => {
14
+ var p;
15
+ return f(), y("div", P, [
16
+ t(o, {
17
17
  class: "endpoint-details-card-item",
18
- parameters: a(o).path
18
+ parameters: a(i).path
19
19
  }, {
20
- title: t(() => [
21
- r("Path Parameters")
22
- ]),
20
+ title: r(() => e[0] || (e[0] = [
21
+ s("Path Parameters")
22
+ ])),
23
23
  _: 1
24
24
  }, 8, ["parameters"]),
25
- e(s, {
25
+ t(o, {
26
26
  class: "endpoint-details-card-item",
27
- parameters: a(o).query
27
+ parameters: a(i).query
28
28
  }, {
29
- title: t(() => [
30
- r("Query Parameters")
31
- ]),
29
+ title: r(() => e[1] || (e[1] = [
30
+ s("Query Parameters")
31
+ ])),
32
32
  _: 1
33
33
  }, 8, ["parameters"]),
34
- e(s, {
34
+ t(o, {
35
35
  class: "endpoint-details-card-item",
36
- parameters: a(o).header
36
+ parameters: a(i).header
37
37
  }, {
38
- title: t(() => [
39
- r("Headers")
40
- ]),
38
+ title: r(() => e[2] || (e[2] = [
39
+ s("Headers")
40
+ ])),
41
41
  _: 1
42
42
  }, 8, ["parameters"]),
43
- e(_, {
43
+ t(B, {
44
44
  class: "endpoint-details-card-item",
45
- requestBody: (n = m.operation.information) == null ? void 0 : n.requestBody
45
+ requestBody: (p = l.operation.information) == null ? void 0 : p.requestBody
46
46
  }, {
47
- title: t(() => [
48
- r("Body")
49
- ]),
47
+ title: r(() => e[3] || (e[3] = [
48
+ s("Body")
49
+ ])),
50
50
  _: 1
51
51
  }, 8, ["requestBody"]),
52
- e(s, {
52
+ t(o, {
53
53
  class: "endpoint-details-card-item",
54
- parameters: a(d)
54
+ parameters: a(m)
55
55
  }, {
56
- title: t(() => [
57
- r("Responses")
58
- ]),
56
+ title: r(() => e[4] || (e[4] = [
57
+ s("Responses")
58
+ ])),
59
59
  _: 1
60
60
  }, 8, ["parameters"])
61
61
  ]);
@@ -63,5 +63,5 @@ const B = { class: "endpoint-details-card" }, k = /* @__PURE__ */ c({
63
63
  }
64
64
  });
65
65
  export {
66
- k as default
66
+ N as default
67
67
  };
@@ -1,18 +1,9 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
1
+ declare const _default: import("vue").DefineComponent<{
2
2
  path: string;
3
3
  deprecated?: boolean;
4
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
4
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
5
5
  path: string;
6
6
  deprecated?: boolean;
7
- }>>>, {}, {}>;
7
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
8
  export default _default;
9
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
10
- type __VLS_TypePropsToOption<T> = {
11
- [K in keyof T]-?: {} extends Pick<T, K> ? {
12
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
13
- } : {
14
- type: import('vue').PropType<T[K]>;
15
- required: true;
16
- };
17
- };
18
9
  //# sourceMappingURL=EndpointPath.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EndpointPath.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/EndpointPath.vue"],"names":[],"mappings":";UA2CQ,MAAM;iBACC,OAAO;;UADd,MAAM;iBACC,OAAO;;AA+DtB,wBAMG;AAOH,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"}
1
+ {"version":3,"file":"EndpointPath.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/EndpointPath.vue"],"names":[],"mappings":";UA2CQ,MAAM;iBACC,OAAO;;UADd,MAAM;iBACC,OAAO;;AA+DtB,wBAMG"}
@@ -1,19 +1,10 @@
1
1
  import type { TransformedOperation } from '@scalar/types/legacy';
2
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
2
+ declare const _default: import("vue").DefineComponent<{
3
3
  id?: string;
4
4
  operation: TransformedOperation;
5
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
5
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
6
6
  id?: string;
7
7
  operation: TransformedOperation;
8
- }>>>, {}, {}>;
8
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
9
  export default _default;
10
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
11
- type __VLS_TypePropsToOption<T> = {
12
- [K in keyof T]-?: {} extends Pick<T, K> ? {
13
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
14
- } : {
15
- type: import('vue').PropType<T[K]>;
16
- required: true;
17
- };
18
- };
19
10
  //# sourceMappingURL=Operation.vue.d.ts.map