@scalar/api-reference 1.24.45 → 1.24.48

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 (216) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/dist/browser/standalone.js +14129 -14605
  3. package/dist/browser/webpack-stats.json +1 -1
  4. package/dist/components/Anchor/Anchor.vue.d.ts +7 -5
  5. package/dist/components/Anchor/Anchor.vue.d.ts.map +1 -1
  6. package/dist/components/ApiClientModal.vue.d.ts +4 -4
  7. package/dist/components/ApiClientModal.vue.d.ts.map +1 -1
  8. package/dist/components/ApiReference.vue.d.ts +7 -5
  9. package/dist/components/ApiReference.vue.d.ts.map +1 -1
  10. package/dist/components/ApiReferenceLayout.vue.d.ts +23 -20
  11. package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
  12. package/dist/components/ApiReferenceLayout.vue.js +2 -2
  13. package/dist/components/ApiReferenceLayout.vue2.js +24 -21
  14. package/dist/components/Badge/Badge.vue.d.ts +4 -2
  15. package/dist/components/Badge/Badge.vue.d.ts.map +1 -1
  16. package/dist/components/Card/Card.vue.d.ts +4 -2
  17. package/dist/components/Card/Card.vue.d.ts.map +1 -1
  18. package/dist/components/Card/CardContent.vue.d.ts +4 -2
  19. package/dist/components/Card/CardContent.vue.d.ts.map +1 -1
  20. package/dist/components/Card/CardFooter.vue.d.ts +4 -2
  21. package/dist/components/Card/CardFooter.vue.d.ts.map +1 -1
  22. package/dist/components/Card/CardHeader.vue.d.ts +4 -2
  23. package/dist/components/Card/CardHeader.vue.d.ts.map +1 -1
  24. package/dist/components/Card/CardTab.vue.d.ts +4 -2
  25. package/dist/components/Card/CardTab.vue.d.ts.map +1 -1
  26. package/dist/components/Card/CardTabHeader.vue.d.ts +7 -5
  27. package/dist/components/Card/CardTabHeader.vue.d.ts.map +1 -1
  28. package/dist/components/ClassicHeader.vue.d.ts +4 -2
  29. package/dist/components/ClassicHeader.vue.d.ts.map +1 -1
  30. package/dist/components/Content/Authentication/Authentication.vue.d.ts +4 -4
  31. package/dist/components/Content/Authentication/Authentication.vue.d.ts.map +1 -1
  32. package/dist/components/Content/Content.vue.d.ts +16 -14
  33. package/dist/components/Content/Content.vue.d.ts.map +1 -1
  34. package/dist/components/Content/Introduction/Description.vue.d.ts +2 -2
  35. package/dist/components/Content/Introduction/Description.vue.d.ts.map +1 -1
  36. package/dist/components/Content/Introduction/DownloadSpec.vue.d.ts +2 -2
  37. package/dist/components/Content/Introduction/DownloadSpec.vue.d.ts.map +1 -1
  38. package/dist/components/Content/Introduction/Introduction.vue.d.ts +7 -5
  39. package/dist/components/Content/Introduction/Introduction.vue.d.ts.map +1 -1
  40. package/dist/components/Content/Lazy/Lazy.vue.d.ts +12 -10
  41. package/dist/components/Content/Lazy/Lazy.vue.d.ts.map +1 -1
  42. package/dist/components/Content/Lazy/Loading.vue.d.ts +3 -3
  43. package/dist/components/Content/Lazy/Loading.vue.d.ts.map +1 -1
  44. package/dist/components/Content/Models/Models.vue.d.ts +3 -2
  45. package/dist/components/Content/Models/Models.vue.d.ts.map +1 -1
  46. package/dist/components/Content/Models/ModelsAccordion.vue.d.ts +3 -2
  47. package/dist/components/Content/Models/ModelsAccordion.vue.d.ts.map +1 -1
  48. package/dist/components/Content/Operation/EndpointDetails.vue.d.ts.map +1 -1
  49. package/dist/components/Content/Operation/EndpointDetailsCard.vue.d.ts.map +1 -1
  50. package/dist/components/Content/Operation/EndpointPath.vue.d.ts +2 -2
  51. package/dist/components/Content/Operation/EndpointPath.vue.d.ts.map +1 -1
  52. package/dist/components/Content/Operation/Operation.vue.d.ts +2 -2
  53. package/dist/components/Content/Operation/Operation.vue.d.ts.map +1 -1
  54. package/dist/components/Content/Operation/OperationAccordion.vue.d.ts +2 -2
  55. package/dist/components/Content/Operation/OperationAccordion.vue.d.ts.map +1 -1
  56. package/dist/components/Content/Operation/OperationAccordion.vue.js +2 -2
  57. package/dist/components/Content/Operation/ParameterItem.vue.d.ts +2 -2
  58. package/dist/components/Content/Operation/ParameterItem.vue.d.ts.map +1 -1
  59. package/dist/components/Content/Operation/Parameters.vue.d.ts +10 -8
  60. package/dist/components/Content/Operation/Parameters.vue.d.ts.map +1 -1
  61. package/dist/components/Content/Operation/PathResponses/ExampleResponse.vue.d.ts +4 -4
  62. package/dist/components/Content/Operation/PathResponses/ExampleResponse.vue.d.ts.map +1 -1
  63. package/dist/components/Content/Operation/PathResponses/Headers.vue.d.ts.map +1 -1
  64. package/dist/components/Content/Operation/PathResponses/PathResponses.vue.d.ts.map +1 -1
  65. package/dist/components/Content/Operation/RequestBody.vue.d.ts +8 -6
  66. package/dist/components/Content/Operation/RequestBody.vue.d.ts.map +1 -1
  67. package/dist/components/Content/Operation/RequestBodyPropertiesChild.vue.d.ts.map +1 -1
  68. package/dist/components/Content/Operation/TestRequestButton.vue.d.ts.map +1 -1
  69. package/dist/components/Content/Operation/TestRequestButton.vue.js +2 -2
  70. package/dist/components/Content/Operation/TestRequestButton.vue2.js +9 -9
  71. package/dist/components/Content/Schema/Schema.vue.d.ts +10 -10
  72. package/dist/components/Content/Schema/Schema.vue.d.ts.map +1 -1
  73. package/dist/components/Content/Schema/SchemaHeading.vue.d.ts +4 -4
  74. package/dist/components/Content/Schema/SchemaHeading.vue.d.ts.map +1 -1
  75. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts +14 -14
  76. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
  77. package/dist/components/Content/Schema/SchemaPropertyDetail.vue.d.ts +10 -8
  78. package/dist/components/Content/Schema/SchemaPropertyDetail.vue.d.ts.map +1 -1
  79. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts +14 -12
  80. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
  81. package/dist/components/Content/Tag/Endpoints.vue.d.ts +2 -2
  82. package/dist/components/Content/Tag/Endpoints.vue.d.ts.map +1 -1
  83. package/dist/components/Content/Tag/Tag.vue.d.ts +8 -6
  84. package/dist/components/Content/Tag/Tag.vue.d.ts.map +1 -1
  85. package/dist/components/Content/Tag/TagAccordion.vue.d.ts +6 -4
  86. package/dist/components/Content/Tag/TagAccordion.vue.d.ts.map +1 -1
  87. package/dist/components/Content/Tag/mutationObserver.d.ts.map +1 -1
  88. package/dist/components/Content/Webhooks/Webhook.vue.d.ts.map +1 -1
  89. package/dist/components/Content/Webhooks/Webhooks.vue.d.ts.map +1 -1
  90. package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.d.ts.map +1 -1
  91. package/dist/components/DarkModeToggle/DarkModeToggle.vue.d.ts.map +1 -1
  92. package/dist/components/GettingStarted.vue.d.ts +5 -4
  93. package/dist/components/GettingStarted.vue.d.ts.map +1 -1
  94. package/dist/components/HelpfulLink.vue.d.ts +6 -4
  95. package/dist/components/HelpfulLink.vue.d.ts.map +1 -1
  96. package/dist/components/HttpMethod/HttpMethod.vue.d.ts +16 -14
  97. package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -1
  98. package/dist/components/IntersectionObserver.vue.d.ts +10 -8
  99. package/dist/components/IntersectionObserver.vue.d.ts.map +1 -1
  100. package/dist/components/Layouts/ClassicLayout.vue.d.ts +4 -2
  101. package/dist/components/Layouts/ClassicLayout.vue.d.ts.map +1 -1
  102. package/dist/components/Layouts/Layouts.vue.d.ts +4 -2
  103. package/dist/components/Layouts/Layouts.vue.d.ts.map +1 -1
  104. package/dist/components/Layouts/ModernLayout.vue.d.ts +4 -2
  105. package/dist/components/Layouts/ModernLayout.vue.d.ts.map +1 -1
  106. package/dist/components/LoadingSkeleton.vue.d.ts +2 -2
  107. package/dist/components/LoadingSkeleton.vue.d.ts.map +1 -1
  108. package/dist/components/MobileHeader.vue.d.ts +8 -6
  109. package/dist/components/MobileHeader.vue.d.ts.map +1 -1
  110. package/dist/components/ScreenReader.vue.d.ts +9 -7
  111. package/dist/components/ScreenReader.vue.d.ts.map +1 -1
  112. package/dist/components/SearchButton.vue.d.ts +2 -2
  113. package/dist/components/SearchButton.vue.d.ts.map +1 -1
  114. package/dist/components/SearchButton.vue.js +2 -2
  115. package/dist/components/SearchButton.vue2.js +10 -9
  116. package/dist/components/SearchModal.vue.d.ts +3 -10
  117. package/dist/components/SearchModal.vue.d.ts.map +1 -1
  118. package/dist/components/SearchModal.vue.js +2 -2
  119. package/dist/components/SearchModal.vue2.js +36 -36
  120. package/dist/components/Section/Section.vue.d.ts +10 -8
  121. package/dist/components/Section/Section.vue.d.ts.map +1 -1
  122. package/dist/components/Section/SectionAccordion.vue.d.ts +10 -8
  123. package/dist/components/Section/SectionAccordion.vue.d.ts.map +1 -1
  124. package/dist/components/Section/SectionColumn.vue.d.ts +4 -2
  125. package/dist/components/Section/SectionColumn.vue.d.ts.map +1 -1
  126. package/dist/components/Section/SectionColumns.vue.d.ts +4 -2
  127. package/dist/components/Section/SectionColumns.vue.d.ts.map +1 -1
  128. package/dist/components/Section/SectionContainer.vue.d.ts +4 -2
  129. package/dist/components/Section/SectionContainer.vue.d.ts.map +1 -1
  130. package/dist/components/Section/SectionContainerAccordion.vue.d.ts +4 -2
  131. package/dist/components/Section/SectionContainerAccordion.vue.d.ts.map +1 -1
  132. package/dist/components/Section/SectionContent.vue.d.ts +8 -6
  133. package/dist/components/Section/SectionContent.vue.d.ts.map +1 -1
  134. package/dist/components/Section/SectionHeader.vue.d.ts +12 -10
  135. package/dist/components/Section/SectionHeader.vue.d.ts.map +1 -1
  136. package/dist/components/ShowMoreButton.vue.d.ts.map +1 -1
  137. package/dist/components/Sidebar/Sidebar.vue.d.ts +9 -6
  138. package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
  139. package/dist/components/Sidebar/Sidebar.vue.js +2 -2
  140. package/dist/components/Sidebar/Sidebar.vue2.js +29 -27
  141. package/dist/components/Sidebar/SidebarElement.vue.d.ts +23 -21
  142. package/dist/components/Sidebar/SidebarElement.vue.d.ts.map +1 -1
  143. package/dist/components/Sidebar/SidebarGroup.vue.d.ts +6 -4
  144. package/dist/components/Sidebar/SidebarGroup.vue.d.ts.map +1 -1
  145. package/dist/components/Sidebar/SidebarHttpBadge.vue.d.ts +2 -2
  146. package/dist/components/Sidebar/SidebarHttpBadge.vue.d.ts.map +1 -1
  147. package/dist/components/SimpleTable/SimpleCell.vue.d.ts +13 -11
  148. package/dist/components/SimpleTable/SimpleCell.vue.d.ts.map +1 -1
  149. package/dist/components/SimpleTable/SimpleHeader.vue.d.ts +4 -2
  150. package/dist/components/SimpleTable/SimpleHeader.vue.d.ts.map +1 -1
  151. package/dist/components/SimpleTable/SimpleRow.vue.d.ts +4 -2
  152. package/dist/components/SimpleTable/SimpleRow.vue.d.ts.map +1 -1
  153. package/dist/components/SimpleTable/SimpleTable.vue.d.ts +4 -2
  154. package/dist/components/SimpleTable/SimpleTable.vue.d.ts.map +1 -1
  155. package/dist/features/BaseUrl/BaseUrl.vue.d.ts +6 -6
  156. package/dist/features/BaseUrl/BaseUrl.vue.d.ts.map +1 -1
  157. package/dist/features/BaseUrl/ServerForm.vue.d.ts +6 -6
  158. package/dist/features/BaseUrl/ServerForm.vue.d.ts.map +1 -1
  159. package/dist/features/BaseUrl/ServerUrl.vue.d.ts +4 -4
  160. package/dist/features/BaseUrl/ServerUrl.vue.d.ts.map +1 -1
  161. package/dist/features/BaseUrl/ServerUrlSelect.vue.d.ts +6 -4
  162. package/dist/features/BaseUrl/ServerUrlSelect.vue.d.ts.map +1 -1
  163. package/dist/features/BaseUrl/ServerVariablesForm.vue.d.ts +4 -4
  164. package/dist/features/BaseUrl/ServerVariablesForm.vue.d.ts.map +1 -1
  165. package/dist/features/BaseUrl/ServerVariablesSelect.vue.d.ts.map +1 -1
  166. package/dist/features/BaseUrl/ServerVariablesTextbox.vue.d.ts.map +1 -1
  167. package/dist/features/ExampleRequest/ExamplePicker.vue.d.ts.map +1 -1
  168. package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts +9 -7
  169. package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts.map +1 -1
  170. package/dist/features/ExampleRequest/TextSelect.vue.d.ts +8 -6
  171. package/dist/features/ExampleRequest/TextSelect.vue.d.ts.map +1 -1
  172. package/dist/helpers/createEmptySpecification.d.ts.map +1 -1
  173. package/dist/helpers/getHarRequest.d.ts.map +1 -1
  174. package/dist/helpers/getModels.d.ts.map +1 -1
  175. package/dist/helpers/getModels.js +13 -7
  176. package/dist/helpers/mapFromObject.d.ts.map +1 -1
  177. package/dist/helpers/mergeAllObjects.d.ts.map +1 -1
  178. package/dist/helpers/parse.d.ts.map +1 -1
  179. package/dist/helpers/provideSymbols.d.ts.map +1 -1
  180. package/dist/helpers/specDownloads.d.ts +1 -1
  181. package/dist/helpers/specDownloads.d.ts.map +1 -1
  182. package/dist/hooks/useReactiveSpec.d.ts +101 -101
  183. package/dist/hooks/useSidebar.d.ts +9 -4
  184. package/dist/hooks/useSidebar.d.ts.map +1 -1
  185. package/dist/hooks/useSidebar.js +123 -122
  186. package/dist/index.js +1 -1
  187. package/dist/legacy/components/CardForm.vue.d.ts +4 -2
  188. package/dist/legacy/components/CardForm.vue.d.ts.map +1 -1
  189. package/dist/legacy/components/CardFormButton.vue.d.ts +6 -4
  190. package/dist/legacy/components/CardFormButton.vue.d.ts.map +1 -1
  191. package/dist/legacy/components/CardFormGroup.vue.d.ts +4 -2
  192. package/dist/legacy/components/CardFormGroup.vue.d.ts.map +1 -1
  193. package/dist/legacy/components/CardFormRows.vue.d.ts +4 -2
  194. package/dist/legacy/components/CardFormRows.vue.d.ts.map +1 -1
  195. package/dist/legacy/components/CardFormTextInput.vue.d.ts +8 -6
  196. package/dist/legacy/components/CardFormTextInput.vue.d.ts.map +1 -1
  197. package/dist/legacy/components/SecurityScheme.vue.d.ts +5 -5
  198. package/dist/legacy/components/SecurityScheme.vue.d.ts.map +1 -1
  199. package/dist/legacy/components/SecuritySchemeScopes.vue.d.ts +2 -2
  200. package/dist/legacy/components/SecuritySchemeScopes.vue.d.ts.map +1 -1
  201. package/dist/legacy/components/SecuritySchemeSelector.vue.d.ts +2 -6
  202. package/dist/legacy/components/SecuritySchemeSelector.vue.d.ts.map +1 -1
  203. package/dist/legacy/helpers/normalizeHeaders.d.ts.map +1 -1
  204. package/dist/legacy/helpers/prepareClientRequestConfig.d.ts +8 -8
  205. package/dist/legacy/stores/useAuthenticationStore.d.ts +2 -6
  206. package/dist/legacy/stores/useAuthenticationStore.d.ts.map +1 -1
  207. package/dist/legacy/stores/useOpenApiStore.d.ts +37 -37
  208. package/dist/legacy/stores/useOpenApiStore.d.ts.map +1 -1
  209. package/dist/legacy/stores/useRequestStore.d.ts +13 -13
  210. package/dist/legacy/stores/useServerStore.d.ts +4 -4
  211. package/dist/legacy/stores/useServerStore.d.ts.map +1 -1
  212. package/dist/stores/useHttpClientStore.d.ts.map +1 -1
  213. package/dist/style.css +1 -1
  214. package/dist/types.d.ts +5 -0
  215. package/dist/types.d.ts.map +1 -1
  216. package/package.json +8 -8
@@ -1 +1 @@
1
- {"version":3,"file":"SearchModal.vue.d.ts","sourceRoot":"","sources":["../../src/components/SearchModal.vue"],"names":[],"mappings":"AAwYA,OAAO,KAAK,EAAE,IAAI,EAAwB,MAAM,mBAAmB,CAAA;;;;;;;;;;;;;;;;AA6enE,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":"SearchModal.vue.d.ts","sourceRoot":"","sources":["../../src/components/SearchModal.vue"],"names":[],"mappings":"AAgYA,OAAO,EAEL,KAAK,UAAU,EAKhB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,KAAK,EAAE,IAAI,EAAwB,MAAM,mBAAmB,CAAA;;gBAgBrD,IAAI;gBACJ,UAAU;;gBADV,IAAI;gBACJ,UAAU;;AAoexB,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,7 +1,7 @@
1
1
  import o from "./SearchModal.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../_virtual/_plugin-vue_export-helper.js";
4
- const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-0250b3fc"]]);
4
+ const e = /* @__PURE__ */ r(o, [["__scopeId", "data-v-241cc7e9"]]);
5
5
  export {
6
- f as default
6
+ e as default
7
7
  };
@@ -1,5 +1,5 @@
1
- import { defineComponent as ee, toRef as te, ref as m, computed as q, watch as U, openBlock as E, createBlock as j, unref as S, withCtx as c, createElementVNode as w, createVNode as V, createTextVNode as g, toDisplayString as b, createElementBlock as oe, Fragment as ae, renderList as le, createSlots as re, pushScopeId as se, popScopeId as ne } from "vue";
2
- import { ScalarModal as ce, ScalarSearchInput as ie, ScalarSearchResultList as de, ScalarSearchResultItem as ue } from "@scalar/components";
1
+ import { defineComponent as ee, toRef as te, ref as m, computed as q, watch as U, openBlock as E, createBlock as H, unref as S, withCtx as n, createElementVNode as w, createVNode as V, createTextVNode as g, toDisplayString as b, createElementBlock as oe, Fragment as ae, renderList as le, createSlots as re, pushScopeId as se, popScopeId as ce } from "vue";
2
+ import { ScalarModal as ne, ScalarSearchInput as ie, ScalarSearchResultList as de, ScalarSearchResultItem as ue } from "@scalar/components";
3
3
  import { useMagicKeys as pe, whenever as _ } from "@vueuse/core";
4
4
  import he from "fuse.js";
5
5
  import { extractRequestBody as me } from "../helpers/specHelpers.js";
@@ -9,19 +9,19 @@ import { getHeadingsFromMarkdown as Se } from "../helpers/getHeadingsFromMarkdow
9
9
  import { useOperation as ge } from "../hooks/useOperation.js";
10
10
  import { getModels as be } from "../helpers/getModels.js";
11
11
  import { useNavState as we } from "../hooks/useNavState.js";
12
- const ke = (d) => (se("data-v-0250b3fc"), d = d(), ne(), d), ye = /* @__PURE__ */ ke(() => /* @__PURE__ */ w("div", { class: "ref-search-meta" }, [
12
+ const ke = (d) => (se("data-v-241cc7e9"), d = d(), ce(), d), ye = /* @__PURE__ */ ke(() => /* @__PURE__ */ w("div", { class: "ref-search-meta" }, [
13
13
  /* @__PURE__ */ w("span", null, "↑↓ Navigate"),
14
14
  /* @__PURE__ */ w("span", null, "⏎ Select")
15
- ], -1)), xe = /* @__PURE__ */ ee({
15
+ ], -1)), Ne = /* @__PURE__ */ ee({
16
16
  __name: "SearchModal",
17
17
  props: {
18
18
  parsedSpec: {},
19
19
  modalState: {}
20
20
  },
21
21
  setup(d) {
22
- const l = d, H = te(l, "parsedSpec"), A = {
22
+ const l = d, j = te(l, "parsedSpec"), A = {
23
23
  heading: "DocsPage",
24
- model: "JsonObject",
24
+ model: "Brackets",
25
25
  req: "Terminal",
26
26
  tag: "CodeFolder",
27
27
  webhook: "Terminal"
@@ -31,26 +31,26 @@ const ke = (d) => (se("data-v-0250b3fc"), d = d(), ne(), d), ye = /* @__PURE__ *
31
31
  s.value = 0, y.value = I.search(i.value);
32
32
  }, f = q(
33
33
  () => u.value[s.value]
34
- ), { getHeadingId: P, getWebhookId: J, getModelId: K, getOperationId: Y, getTagId: z } = we();
34
+ ), { getHeadingId: P, getWebhookId: K, getModelId: Y, getOperationId: z, getTagId: G } = we();
35
35
  U(
36
36
  () => l.modalState.open,
37
37
  (o) => {
38
38
  o && (i.value = "", s.value = 0, y.value = []);
39
39
  }
40
40
  );
41
- const { setCollapsedSidebarItem: G, hideModels: Q } = ve();
41
+ const { setCollapsedSidebarItem: J, hideModels: Q } = ve();
42
42
  U(
43
- H.value,
43
+ j.value,
44
44
  async () => {
45
- var M, $, F, N, x;
46
- if (r.value = [], !(($ = (M = l.parsedSpec) == null ? void 0 : M.tags) != null && $.length) && !((F = l.parsedSpec) != null && F.webhooks)) {
45
+ var M, $, B, F, N;
46
+ if (r.value = [], !(($ = (M = l.parsedSpec) == null ? void 0 : M.tags) != null && $.length) && !((B = l.parsedSpec) != null && B.webhooks)) {
47
47
  I.setCollection([]);
48
48
  return;
49
49
  }
50
- const o = [], n = Se(
51
- ((N = l.parsedSpec.info) == null ? void 0 : N.description) ?? ""
50
+ const o = [], c = Se(
51
+ ((F = l.parsedSpec.info) == null ? void 0 : F.description) ?? ""
52
52
  );
53
- n.length && (n.forEach((t) => {
53
+ c.length && (c.forEach((t) => {
54
54
  o.push({
55
55
  type: "heading",
56
56
  title: `Info > ${t.value}`,
@@ -59,23 +59,23 @@ const ke = (d) => (se("data-v-0250b3fc"), d = d(), ne(), d), ye = /* @__PURE__ *
59
59
  tag: t.slug,
60
60
  body: ""
61
61
  });
62
- }), r.value = r.value.concat(o)), (x = l.parsedSpec.tags) == null || x.forEach((t) => {
63
- const B = {
62
+ }), r.value = r.value.concat(o)), (N = l.parsedSpec.tags) == null || N.forEach((t) => {
63
+ const x = {
64
64
  title: t["x-displayName"] ?? t.name,
65
- href: `#${z(t)}`,
65
+ href: `#${G(t)}`,
66
66
  description: t.description,
67
67
  type: "tag",
68
68
  tag: t.name,
69
69
  body: ""
70
70
  };
71
- r.value.push(B), t.operations && t.operations.forEach((a) => {
71
+ r.value.push(x), t.operations && t.operations.forEach((a) => {
72
72
  const { parameterMap: v } = ge({ operation: a }), O = me(a) || v.value;
73
73
  let R = null;
74
74
  typeof O != "boolean" && (R = O);
75
75
  const T = {
76
76
  type: "req",
77
77
  title: a.name ?? a.path,
78
- href: `#${Y(a, t)}`,
78
+ href: `#${z(a, t)}`,
79
79
  operationId: a.operationId,
80
80
  description: a.description ?? "",
81
81
  httpVerb: a.httpVerb,
@@ -95,7 +95,7 @@ const ke = (d) => (se("data-v-0250b3fc"), d = d(), ne(), d), ye = /* @__PURE__ *
95
95
  p.push({
96
96
  type: "webhook",
97
97
  title: `Webhook: ${(v = e[t][a]) == null ? void 0 : v.name}`,
98
- href: `#${J(t, a)}`,
98
+ href: `#${K(t, a)}`,
99
99
  description: t,
100
100
  httpVerb: a,
101
101
  tag: t,
@@ -108,7 +108,7 @@ const ke = (d) => (se("data-v-0250b3fc"), d = d(), ne(), d), ye = /* @__PURE__ *
108
108
  D.push({
109
109
  type: "model",
110
110
  title: "Model",
111
- href: `#${K(t)}`,
111
+ href: `#${Y(t)}`,
112
112
  description: h[t].title ?? t,
113
113
  tag: t,
114
114
  body: ""
@@ -136,19 +136,19 @@ const ke = (d) => (se("data-v-0250b3fc"), d = d(), ne(), d), ye = /* @__PURE__ *
136
136
  item: o
137
137
  })) : y.value
138
138
  ), X = /#(tag\/[^/]*)/, C = (o) => {
139
- let n = "models";
139
+ let c = "models";
140
140
  const e = o.item.href.match(X);
141
- e != null && e.length && e.length > 1 && (n = e[1]), G(n, !0), l.modalState.hide();
141
+ e != null && e.length && e.length > 1 && (c = e[1]), J(c, !0), l.modalState.hide();
142
142
  };
143
143
  function Z(o) {
144
- const n = new URL(window.location.href);
145
- return n.hash = o, n.toString();
144
+ const c = new URL(window.location.href);
145
+ return c.hash = o, c.toString();
146
146
  }
147
- return (o, n) => (E(), j(S(ce), {
147
+ return (o, c) => (E(), H(S(ne), {
148
148
  state: o.modalState,
149
149
  variant: "search"
150
150
  }, {
151
- default: c(() => [
151
+ default: n(() => [
152
152
  w("div", {
153
153
  ref_key: "searchModalRef",
154
154
  ref: L,
@@ -156,7 +156,7 @@ const ke = (d) => (se("data-v-0250b3fc"), d = d(), ne(), d), ye = /* @__PURE__ *
156
156
  }, [
157
157
  V(S(ie), {
158
158
  modelValue: i.value,
159
- "onUpdate:modelValue": n[0] || (n[0] = (e) => i.value = e),
159
+ "onUpdate:modelValue": c[0] || (c[0] = (e) => i.value = e),
160
160
  onInput: W
161
161
  }, null, 8, ["modelValue"])
162
162
  ], 512),
@@ -164,11 +164,11 @@ const ke = (d) => (se("data-v-0250b3fc"), d = d(), ne(), d), ye = /* @__PURE__ *
164
164
  class: "ref-search-results custom-scroll",
165
165
  noResults: !u.value.length
166
166
  }, {
167
- query: c(() => [
167
+ query: n(() => [
168
168
  g(b(i.value), 1)
169
169
  ]),
170
- default: c(() => [
171
- (E(!0), oe(ae, null, le(u.value, (e, p) => (E(), j(S(ue), {
170
+ default: n(() => [
171
+ (E(!0), oe(ae, null, le(u.value, (e, p) => (E(), H(S(ue), {
172
172
  id: e.item.href,
173
173
  key: e.refIndex,
174
174
  active: s.value === p,
@@ -177,27 +177,27 @@ const ke = (d) => (se("data-v-0250b3fc"), d = d(), ne(), d), ye = /* @__PURE__ *
177
177
  onClick: (h) => C(e),
178
178
  onFocus: (h) => s.value = p
179
179
  }, re({
180
- default: c(() => [
180
+ default: n(() => [
181
181
  g(b(e.item.title) + " ", 1)
182
182
  ]),
183
183
  _: 2
184
184
  }, [
185
185
  (e.item.httpVerb || e.item.path) && e.item.path !== e.item.title ? {
186
186
  name: "description",
187
- fn: c(() => [
187
+ fn: n(() => [
188
188
  g(b(e.item.path), 1)
189
189
  ]),
190
190
  key: "0"
191
191
  } : e.item.description ? {
192
192
  name: "description",
193
- fn: c(() => [
193
+ fn: n(() => [
194
194
  g(b(e.item.description), 1)
195
195
  ]),
196
196
  key: "1"
197
197
  } : void 0,
198
198
  e.item.type === "req" ? {
199
199
  name: "addon",
200
- fn: c(() => [
200
+ fn: n(() => [
201
201
  V(fe, {
202
202
  method: e.item.httpVerb ?? "get"
203
203
  }, null, 8, ["method"])
@@ -215,5 +215,5 @@ const ke = (d) => (se("data-v-0250b3fc"), d = d(), ne(), d), ye = /* @__PURE__ *
215
215
  }
216
216
  });
217
217
  export {
218
- xe as default
218
+ Ne as default
219
219
  };
@@ -1,12 +1,14 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
2
- id?: string | undefined;
3
- label?: string | undefined;
4
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
5
- id?: string | undefined;
6
- label?: string | undefined;
7
- }>>>, {}, {}>, {
1
+ declare function __VLS_template(): {
8
2
  default?(_: {}): any;
9
- }>;
3
+ };
4
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<{
5
+ id?: string;
6
+ label?: string;
7
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
8
+ id?: string;
9
+ label?: string;
10
+ }>>>, {}, {}>;
11
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
10
12
  export default _default;
11
13
  type __VLS_WithTemplateSlots<T, S> = T & {
12
14
  new (): {
@@ -1 +1 @@
1
- {"version":3,"file":"Section.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/Section.vue"],"names":[],"mappings":";;;;;;;;;AA+LA,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAA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C;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,17 +1,19 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
2
- id?: string | undefined;
3
- transparent?: boolean | undefined;
4
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
5
- id?: string | undefined;
6
- transparent?: boolean | undefined;
7
- }>>>, {}, {}>, {
1
+ declare function __VLS_template(): {
8
2
  title?(_: {}): any;
9
3
  actions?(_: {
10
4
  active: any;
11
5
  }): any;
12
6
  description?(_: {}): any;
13
7
  default?(_: {}): any;
14
- }>;
8
+ };
9
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<{
10
+ id?: string;
11
+ transparent?: boolean;
12
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
13
+ id?: string;
14
+ transparent?: boolean;
15
+ }>>>, {}, {}>;
16
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
15
17
  export default _default;
16
18
  type __VLS_WithTemplateSlots<T, S> = T & {
17
19
  new (): {
@@ -1 +1 @@
1
- {"version":3,"file":"SectionAccordion.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionAccordion.vue"],"names":[],"mappings":";;;;;;;;;;;;;;AAmTA,wBAAwG;AAOxG,KAAK,uBAAuB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,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,6 +1,8 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
1
+ declare function __VLS_template(): {
2
2
  default?(_: {}): any;
3
- }>;
3
+ };
4
+ declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
5
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
4
6
  export default _default;
5
7
  type __VLS_WithTemplateSlots<T, S> = T & {
6
8
  new (): {
@@ -1 +1 @@
1
- {"version":3,"file":"SectionColumn.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionColumn.vue"],"names":[],"mappings":";;;AAqEA,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"SectionColumn.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionColumn.vue"],"names":[],"mappings":"AA0BA,iBAAS,cAAc;qBAuBM,GAAG;EAa/B;AACD,QAAA,MAAM,eAAe,0NAKnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,6 +1,8 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
1
+ declare function __VLS_template(): {
2
2
  default?(_: {}): any;
3
- }>;
3
+ };
4
+ declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
5
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
4
6
  export default _default;
5
7
  type __VLS_WithTemplateSlots<T, S> = T & {
6
8
  new (): {
@@ -1 +1 @@
1
- {"version":3,"file":"SectionColumns.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionColumns.vue"],"names":[],"mappings":";;;AAoEA,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"SectionColumns.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionColumns.vue"],"names":[],"mappings":"AA0BA,iBAAS,cAAc;qBAsBM,GAAG;EAa/B;AACD,QAAA,MAAM,eAAe,0NAKnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,6 +1,8 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
1
+ declare function __VLS_template(): {
2
2
  default?(_: {}): any;
3
- }>;
3
+ };
4
+ declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
5
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
4
6
  export default _default;
5
7
  type __VLS_WithTemplateSlots<T, S> = T & {
6
8
  new (): {
@@ -1 +1 @@
1
- {"version":3,"file":"SectionContainer.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionContainer.vue"],"names":[],"mappings":";;;AAuEA,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"SectionContainer.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionContainer.vue"],"names":[],"mappings":"AA4BA,iBAAS,cAAc;qBAuBM,GAAG;EAa/B;AACD,QAAA,MAAM,eAAe,0NAKnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,7 +1,9 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
1
+ declare function __VLS_template(): {
2
2
  title?(_: {}): any;
3
3
  default?(_: {}): any;
4
- }>;
4
+ };
5
+ declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
6
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
5
7
  export default _default;
6
8
  type __VLS_WithTemplateSlots<T, S> = T & {
7
9
  new (): {
@@ -1 +1 @@
1
- {"version":3,"file":"SectionContainerAccordion.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionContainerAccordion.vue"],"names":[],"mappings":";;;;AAyNA,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"SectionContainerAccordion.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionContainerAccordion.vue"],"names":[],"mappings":"AAgGA,iBAAS,cAAc;mBAgGK,GAAG;qBACD,GAAG;EAiBhC;AACD,QAAA,MAAM,eAAe,0NAKnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,16 +1,18 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
2
- loading?: boolean | undefined;
1
+ declare function __VLS_template(): {
2
+ default?(_: {}): any;
3
+ };
4
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
5
+ loading?: boolean;
3
6
  }>, {
4
7
  loading: boolean;
5
8
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
6
- loading?: boolean | undefined;
9
+ loading?: boolean;
7
10
  }>, {
8
11
  loading: boolean;
9
12
  }>>>, {
10
13
  loading: boolean;
11
- }, {}>, {
12
- default?(_: {}): any;
13
- }>;
14
+ }, {}>;
15
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
14
16
  export default _default;
15
17
  type __VLS_WithDefaults<P, D> = {
16
18
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
@@ -1 +1 @@
1
- {"version":3,"file":"SectionContent.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionContent.vue"],"names":[],"mappings":";;;;;;;;;;;;;AA8GA,wBAAwG;AAOxG,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAC1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAC7C,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KAAC,CAAC,GACvC,CAAC,CAAC,CAAC,CAAC;CACP,CAAC;AAEN,KAAK,cAAc,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CAAC,CAAC,CAAC,CAAC,CAAA;KAAC,CAAC,GACvC,CAAC,CAAC,CAAC,CAAC;CACP,CAAC;AAEN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AAExD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -1,15 +1,18 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
2
- loading?: boolean | undefined;
3
- tight?: boolean | undefined;
4
- level?: number | undefined;
1
+ declare function __VLS_template(): {
2
+ default?(_: {}): any;
3
+ };
4
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
5
+ loading?: boolean;
6
+ tight?: boolean;
7
+ level?: number;
5
8
  }>, {
6
9
  loading: boolean;
7
10
  tight: boolean;
8
11
  level: number;
9
12
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
10
- loading?: boolean | undefined;
11
- tight?: boolean | undefined;
12
- level?: number | undefined;
13
+ loading?: boolean;
14
+ tight?: boolean;
15
+ level?: number;
13
16
  }>, {
14
17
  loading: boolean;
15
18
  tight: boolean;
@@ -18,9 +21,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
18
21
  loading: boolean;
19
22
  tight: boolean;
20
23
  level: number;
21
- }, {}>, {
22
- default?(_: {}): any;
23
- }>;
24
+ }, {}>;
25
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
24
26
  export default _default;
25
27
  type __VLS_WithDefaults<P, D> = {
26
28
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
@@ -1 +1 @@
1
- {"version":3,"file":"SectionHeader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionHeader.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AA2IA,wBAAwG;AAOxG,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAC1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAC7C,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KAAC,CAAC,GACvC,CAAC,CAAC,CAAC,CAAC;CACP,CAAC;AAEN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AAExD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;C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AAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
1
+ {"version":3,"file":"ShowMoreButton.vue.d.ts","sourceRoot":"","sources":["../../src/components/ShowMoreButton.vue"],"names":[],"mappings":";QA8EM,MAAM;;QAAN,MAAM;;AAmEZ,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,12 +1,15 @@
1
1
  import type { Spec } from '@scalar/oas-utils';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
3
- parsedSpec: Spec;
4
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
5
- parsedSpec: Spec;
6
- }>>>, {}, {}>, {
2
+ import { type TagsSorterOption } from '../../hooks';
3
+ declare function __VLS_template(): {
7
4
  "sidebar-start"?(_: {}): any;
8
5
  "sidebar-end"?(_: {}): any;
9
- }>;
6
+ };
7
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<{
8
+ parsedSpec: Spec;
9
+ } & TagsSorterOption>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
10
+ parsedSpec: Spec;
11
+ } & TagsSorterOption>>>, {}, {}>;
12
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
10
13
  export default _default;
11
14
  type __VLS_WithTemplateSlots<T, S> = T & {
12
15
  new (): {
@@ -1 +1 @@
1
- {"version":3,"file":"Sidebar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/Sidebar.vue"],"names":[],"mappings":"AA6NA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;;;;;;;;;AAoV7C,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
1
+ {"version":3,"file":"Sidebar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/Sidebar.vue"],"names":[],"mappings":"AAgOA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;AAI7C,OAAO,EAAE,KAAK,gBAAgB,EAA2B,MAAM,aAAa,CAAA;AAuE5E,iBAAS,cAAc;6BA4Oc,GAAG;2BACJ,GAAG;EAuBtC;AACD,QAAA,MAAM,eAAe;gBArUL,IAAI;;gBAAJ,IAAI;gCA2UlB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./Sidebar.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-b727cdda"]]);
4
+ const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-14598096"]]);
5
5
  export {
6
- m as default
6
+ p as default
7
7
  };
@@ -1,18 +1,20 @@
1
- import { defineComponent as B, ref as E, watch as N, onMounted as I, openBlock as l, createElementBlock as a, renderSlot as g, createElementVNode as V, createVNode as F, withCtx as u, Fragment as d, renderList as h, unref as i, toDisplayString as L, createBlock as f, createCommentVNode as b } from "vue";
1
+ import { defineComponent as B, ref as E, watch as N, onMounted as F, openBlock as l, createElementBlock as a, renderSlot as V, createElementVNode as w, createVNode as I, withCtx as f, Fragment as d, renderList as h, unref as i, toDisplayString as L, createBlock as u, createCommentVNode as b } from "vue";
2
2
  import v from "./SidebarElement.vue.js";
3
3
  import m from "./SidebarGroup.vue.js";
4
4
  import { useSidebar as G } from "../../hooks/useSidebar.js";
5
- import { sleep as w } from "../../helpers/sleep.js";
5
+ import { sleep as C } from "../../helpers/sleep.js";
6
6
  import { useNavState as x } from "../../hooks/useNavState.js";
7
7
  const D = { class: "sidebar" }, H = { class: "sidebar-group-title" }, M = -160, P = /* @__PURE__ */ B({
8
8
  __name: "Sidebar",
9
9
  props: {
10
- parsedSpec: {}
10
+ parsedSpec: {},
11
+ tagsSorter: { type: [String, Function] }
11
12
  },
12
- setup(C) {
13
- const A = C, { hash: o, isIntersectionEnabled: $ } = x(), { items: O, toggleCollapsedSidebarItem: S, collapsedSidebarItems: T } = G(
13
+ setup(A) {
14
+ const S = A, { hash: o, isIntersectionEnabled: $ } = x(), { items: O, toggleCollapsedSidebarItem: T, collapsedSidebarItems: g } = G(
14
15
  {
15
- parsedSpec: A.parsedSpec
16
+ parsedSpec: S.parsedSpec,
17
+ tagsSorter: S.tagsSorter
16
18
  }
17
19
  ), y = E(null), c = E(!0);
18
20
  N(o, (p) => {
@@ -25,23 +27,23 @@ const D = { class: "sidebar" }, H = { class: "sidebar-group-title" }, M = -160,
25
27
  let e = M;
26
28
  n.getAttribute("data-sidebar-type") === "heading" ? e += n.offsetTop + ((t = n.getElementsByClassName("sidebar-heading")) == null ? void 0 : t[0]).offsetHeight : e += n.offsetTop + (((r = n.parentElement) == null ? void 0 : r.offsetTop) ?? 0) + (((_ = (s = n.parentElement) == null ? void 0 : s.parentElement) == null ? void 0 : _.offsetTop) ?? 0), y.value.scrollTo({ top: e, behavior: "smooth" });
27
29
  };
28
- return I(() => {
30
+ return F(() => {
29
31
  setTimeout(() => k(o.value), 500), c.value = !1;
30
32
  }), (p, n) => (l(), a("div", D, [
31
- g(p.$slots, "sidebar-start", {}, void 0, !0),
32
- V("div", {
33
+ V(p.$slots, "sidebar-start", {}, void 0, !0),
34
+ w("div", {
33
35
  ref_key: "scrollerEl",
34
36
  ref: y,
35
37
  class: "sidebar-pages custom-scroll custom-scroll-self-contain-overflow"
36
38
  }, [
37
- F(m, { level: 0 }, {
38
- default: u(() => [
39
+ I(m, { level: 0 }, {
40
+ default: f(() => [
39
41
  (l(!0), a(d, null, h(i(O).entries, (e) => (l(), a(d, {
40
42
  key: e.id
41
43
  }, [
42
44
  e.isGroup ? (l(), a(d, { key: 0 }, [
43
- V("li", H, L(e.displayTitle ?? e.title), 1),
44
- (l(!0), a(d, null, h(e.children, (t) => (l(), f(v, {
45
+ w("li", H, L(e.displayTitle ?? e.title), 1),
46
+ (l(!0), a(d, null, h(e.children, (t) => (l(), u(v, {
45
47
  key: t.id,
46
48
  id: `sidebar-${t.id}`,
47
49
  "data-sidebar-type": "heading",
@@ -54,23 +56,23 @@ const D = { class: "sidebar" }, H = { class: "sidebar-group-title" }, M = -160,
54
56
  httpVerb: t.httpVerb,
55
57
  deprecated: t.deprecated ?? !1
56
58
  },
57
- open: i(T)[t.id] ?? !1,
59
+ open: i(g)[t.id] ?? !1,
58
60
  onToggleOpen: async () => {
59
- c.value = !0, i(S)(t.id), await i(w)(100), c.value = !1;
61
+ c.value = !0, i(T)(t.id), await i(C)(100), c.value = !1;
60
62
  }
61
63
  }, {
62
- default: u(() => {
64
+ default: f(() => {
63
65
  var r;
64
66
  return [
65
- t.children && ((r = t.children) == null ? void 0 : r.length) > 0 ? (l(), f(m, {
67
+ t.children && ((r = t.children) == null ? void 0 : r.length) > 0 ? (l(), u(m, {
66
68
  key: 0,
67
69
  level: 1
68
70
  }, {
69
- default: u(() => [
71
+ default: f(() => [
70
72
  (l(!0), a(d, null, h(t.children, (s) => (l(), a(d, {
71
73
  key: s.id
72
74
  }, [
73
- e.show ? (l(), f(v, {
75
+ e.show ? (l(), u(v, {
74
76
  key: 0,
75
77
  id: `sidebar-${s.id}`,
76
78
  isActive: i(o) === s.id,
@@ -91,7 +93,7 @@ const D = { class: "sidebar" }, H = { class: "sidebar-group-title" }, M = -160,
91
93
  _: 2
92
94
  }, 1032, ["id", "hasChildren", "isActive", "item", "open", "onToggleOpen"]))), 128))
93
95
  ], 64)) : (l(), a(d, { key: 1 }, [
94
- e.show ? (l(), f(v, {
96
+ e.show ? (l(), u(v, {
95
97
  key: 0,
96
98
  id: `sidebar-${e.id}`,
97
99
  "data-sidebar-type": "heading",
@@ -104,23 +106,23 @@ const D = { class: "sidebar" }, H = { class: "sidebar-group-title" }, M = -160,
104
106
  httpVerb: e.httpVerb,
105
107
  deprecated: e.deprecated ?? !1
106
108
  },
107
- open: i(T)[e.id] ?? !1,
109
+ open: i(g)[e.id] ?? !1,
108
110
  onToggleOpen: async () => {
109
- c.value = !0, i(S)(e.id), await i(w)(100), c.value = !1;
111
+ c.value = !0, i(T)(e.id), await i(C)(100), c.value = !1;
110
112
  }
111
113
  }, {
112
- default: u(() => {
114
+ default: f(() => {
113
115
  var t;
114
116
  return [
115
- e.children && ((t = e.children) == null ? void 0 : t.length) > 0 ? (l(), f(m, {
117
+ e.children && ((t = e.children) == null ? void 0 : t.length) > 0 ? (l(), u(m, {
116
118
  key: 0,
117
119
  level: 1
118
120
  }, {
119
- default: u(() => [
121
+ default: f(() => [
120
122
  (l(!0), a(d, null, h(e.children, (r) => (l(), a(d, {
121
123
  key: r.id
122
124
  }, [
123
- e.show ? (l(), f(v, {
125
+ e.show ? (l(), u(v, {
124
126
  key: 0,
125
127
  id: `sidebar-${r.id}`,
126
128
  isActive: i(o) === r.id,
@@ -146,7 +148,7 @@ const D = { class: "sidebar" }, H = { class: "sidebar-group-title" }, M = -160,
146
148
  _: 1
147
149
  })
148
150
  ], 512),
149
- g(p.$slots, "sidebar-end", {}, void 0, !0)
151
+ V(p.$slots, "sidebar-end", {}, void 0, !0)
150
152
  ]));
151
153
  }
152
154
  });