@scalar/api-reference 1.24.20 → 1.24.23

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 (225) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/dist/browser/standalone.js +22673 -23143
  3. package/dist/browser/webpack-stats.json +1 -1
  4. package/dist/components/ApiClientModal.vue.d.ts.map +1 -1
  5. package/dist/components/ApiClientModal.vue.js +19 -18
  6. package/dist/components/ApiClientModal.vue3.js +5 -0
  7. package/dist/components/ApiReference.vue.js +14 -14
  8. package/dist/components/ApiReferenceLayout.vue.d.ts +2 -2
  9. package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
  10. package/dist/components/ApiReferenceLayout.vue.js +2 -2
  11. package/dist/components/ApiReferenceLayout.vue2.js +123 -155
  12. package/dist/components/Content/Authentication/Authentication.vue.d.ts.map +1 -1
  13. package/dist/components/Content/Authentication/Authentication.vue.js +2 -2
  14. package/dist/components/Content/Authentication/Authentication.vue2.js +20 -18
  15. package/dist/components/Content/Content.vue.d.ts +3 -3
  16. package/dist/components/Content/Content.vue.d.ts.map +1 -1
  17. package/dist/components/Content/Content.vue.js +2 -2
  18. package/dist/components/Content/Content.vue2.js +72 -93
  19. package/dist/components/Content/Lazy/Loading.vue.js +1 -1
  20. package/dist/components/Content/Operation/CustomRequestExamples.vue.d.ts.map +1 -1
  21. package/dist/components/Content/Operation/CustomRequestExamples.vue.js +1 -1
  22. package/dist/components/Content/Operation/CustomRequestExamples.vue2.js +19 -19
  23. package/dist/components/Content/Operation/ExampleRequest.vue.d.ts.map +1 -1
  24. package/dist/components/Content/Operation/ExampleRequest.vue.js +2 -2
  25. package/dist/components/Content/Operation/ExampleRequest.vue2.js +63 -59
  26. package/dist/components/Content/Operation/OperationAccordion.vue.d.ts.map +1 -1
  27. package/dist/components/Content/Operation/OperationAccordion.vue.js +1 -1
  28. package/dist/components/Content/Operation/OperationAccordion.vue2.js +26 -26
  29. package/dist/components/Content/Operation/TestRequestButton.vue.d.ts.map +1 -1
  30. package/dist/components/Content/Operation/TestRequestButton.vue.js +2 -2
  31. package/dist/components/Content/Operation/TestRequestButton.vue2.js +18 -36
  32. package/dist/components/Content/Schema/Schema.vue.d.ts +2 -2
  33. package/dist/components/Content/Schema/SchemaHeading.vue.d.ts +2 -2
  34. package/dist/components/Content/Tag/Endpoints.vue.d.ts.map +1 -1
  35. package/dist/components/Content/Tag/Endpoints.vue.js +2 -2
  36. package/dist/components/Content/Tag/Endpoints.vue2.js +23 -23
  37. package/dist/components/HttpMethod/HttpMethod.vue.d.ts +42 -0
  38. package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -0
  39. package/dist/components/HttpMethod/HttpMethod.vue.js +28 -0
  40. package/dist/components/HttpMethod/HttpMethod.vue2.js +4 -0
  41. package/dist/components/HttpMethod/constants.d.ts +9 -0
  42. package/dist/components/HttpMethod/constants.d.ts.map +1 -0
  43. package/dist/components/HttpMethod/constants.js +36 -0
  44. package/dist/components/HttpMethod/index.d.ts +2 -0
  45. package/dist/components/HttpMethod/index.d.ts.map +1 -0
  46. package/dist/components/HttpMethod/utils/isRequestMethod.d.ts +4 -0
  47. package/dist/components/HttpMethod/utils/isRequestMethod.d.ts.map +1 -0
  48. package/dist/components/HttpMethod/utils/isRequestMethod.js +7 -0
  49. package/dist/components/Sidebar/SidebarHttpBadge.vue.js +1 -1
  50. package/dist/components/Sidebar/SidebarHttpBadge.vue2.js +6 -6
  51. package/dist/components/api-client-bus.d.ts +1 -1
  52. package/dist/components/api-client-bus.d.ts.map +1 -1
  53. package/dist/features/BaseUrl/BaseUrl.vue.d.ts +40 -0
  54. package/dist/features/BaseUrl/BaseUrl.vue.d.ts.map +1 -0
  55. package/dist/features/BaseUrl/BaseUrl.vue.js +97 -0
  56. package/dist/features/BaseUrl/BaseUrl.vue2.js +4 -0
  57. package/dist/features/BaseUrl/ServerForm.vue.d.ts +41 -0
  58. package/dist/features/BaseUrl/ServerForm.vue.d.ts.map +1 -0
  59. package/dist/features/BaseUrl/ServerForm.vue.js +7 -0
  60. package/dist/features/BaseUrl/ServerForm.vue2.js +66 -0
  61. package/dist/{components/Content/BaseUrl/ServerItem.vue.d.ts → features/BaseUrl/ServerUrl.vue.d.ts} +6 -6
  62. package/dist/features/BaseUrl/ServerUrl.vue.d.ts.map +1 -0
  63. package/dist/features/BaseUrl/ServerUrl.vue.js +8 -0
  64. package/dist/features/BaseUrl/ServerUrl.vue2.js +29 -0
  65. package/dist/{components/ApiClientModalOld.vue.d.ts → features/BaseUrl/ServerUrlSelect.vue.d.ts} +9 -15
  66. package/dist/features/BaseUrl/ServerUrlSelect.vue.d.ts.map +1 -0
  67. package/dist/features/BaseUrl/ServerUrlSelect.vue.js +7 -0
  68. package/dist/features/BaseUrl/ServerUrlSelect.vue2.js +56 -0
  69. package/dist/features/BaseUrl/ServerVariablesForm.vue.d.ts +23 -0
  70. package/dist/features/BaseUrl/ServerVariablesForm.vue.d.ts.map +1 -0
  71. package/dist/features/BaseUrl/ServerVariablesForm.vue.js +7 -0
  72. package/dist/features/BaseUrl/ServerVariablesForm.vue2.js +53 -0
  73. package/dist/{components/Content/BaseUrl/ServerVariableSelect.vue.d.ts → features/BaseUrl/ServerVariablesSelect.vue.d.ts} +1 -1
  74. package/dist/features/BaseUrl/ServerVariablesSelect.vue.d.ts.map +1 -0
  75. package/dist/features/BaseUrl/ServerVariablesSelect.vue.js +7 -0
  76. package/dist/{components/Content/BaseUrl/ServerVariableSelect.vue2.js → features/BaseUrl/ServerVariablesSelect.vue2.js} +1 -1
  77. package/dist/{components/Content/BaseUrl/ServerVariableTextbox.vue.d.ts → features/BaseUrl/ServerVariablesTextbox.vue.d.ts} +1 -1
  78. package/dist/features/BaseUrl/ServerVariablesTextbox.vue.d.ts.map +1 -0
  79. package/dist/features/BaseUrl/ServerVariablesTextbox.vue.js +7 -0
  80. package/dist/{components/Content/BaseUrl/ServerVariableTextbox.vue2.js → features/BaseUrl/ServerVariablesTextbox.vue2.js} +6 -6
  81. package/dist/features/BaseUrl/index.d.ts +3 -0
  82. package/dist/features/BaseUrl/index.d.ts.map +1 -0
  83. package/dist/features/BaseUrl/types.d.ts +10 -0
  84. package/dist/features/BaseUrl/types.d.ts.map +1 -0
  85. package/dist/features/BaseUrl/utils/getServers.d.ts +15 -0
  86. package/dist/features/BaseUrl/utils/getServers.d.ts.map +1 -0
  87. package/dist/features/BaseUrl/utils/getServers.js +29 -0
  88. package/dist/features/BaseUrl/utils/index.d.ts +2 -0
  89. package/dist/features/BaseUrl/utils/index.d.ts.map +1 -0
  90. package/dist/helpers/createEmptySpecification.d.ts +1 -1
  91. package/dist/helpers/createEmptySpecification.d.ts.map +1 -1
  92. package/dist/helpers/createEmptySpecification.js +5 -4
  93. package/dist/helpers/getApiClientRequest.d.ts +1 -1
  94. package/dist/helpers/getApiClientRequest.d.ts.map +1 -1
  95. package/dist/helpers/getApiClientRequest.js +12 -11
  96. package/dist/helpers/getModels.d.ts +1 -1
  97. package/dist/helpers/index.d.ts +1 -1
  98. package/dist/helpers/index.d.ts.map +1 -1
  99. package/dist/helpers/openClientFor.js +10 -7
  100. package/dist/helpers/parse.d.ts.map +1 -1
  101. package/dist/helpers/parse.js +33 -31
  102. package/dist/hooks/useReactiveSpec.d.ts +9 -9
  103. package/dist/hooks/useSidebar.js +18 -17
  104. package/dist/index.d.ts +0 -2
  105. package/dist/index.d.ts.map +1 -1
  106. package/dist/index.js +101 -102
  107. package/dist/legacy/components/CardForm.vue.d.ts +10 -0
  108. package/dist/legacy/components/CardForm.vue.d.ts.map +1 -0
  109. package/dist/legacy/components/CardForm.vue.js +13 -0
  110. package/dist/legacy/components/CardFormButton.vue.d.ts +12 -0
  111. package/dist/legacy/components/CardFormButton.vue.d.ts.map +1 -0
  112. package/dist/legacy/components/CardFormButton.vue.js +7 -0
  113. package/dist/legacy/components/CardFormButton.vue2.js +18 -0
  114. package/dist/legacy/components/CardFormGroup.vue.d.ts +10 -0
  115. package/dist/legacy/components/CardFormGroup.vue.d.ts.map +1 -0
  116. package/dist/legacy/components/CardFormGroup.vue.js +13 -0
  117. package/dist/legacy/components/CardFormRows.vue.d.ts +10 -0
  118. package/dist/legacy/components/CardFormRows.vue.d.ts.map +1 -0
  119. package/dist/legacy/components/CardFormRows.vue.js +13 -0
  120. package/dist/legacy/components/CardFormTextInput.vue.d.ts +25 -0
  121. package/dist/legacy/components/CardFormTextInput.vue.d.ts.map +1 -0
  122. package/dist/legacy/components/CardFormTextInput.vue.js +7 -0
  123. package/dist/legacy/components/CardFormTextInput.vue2.js +37 -0
  124. package/dist/{components/Content/BaseUrl/ServerVariables.vue.d.ts → legacy/components/SecurityScheme.vue.d.ts} +6 -4
  125. package/dist/legacy/components/SecurityScheme.vue.d.ts.map +1 -0
  126. package/dist/legacy/components/SecurityScheme.vue.js +7 -0
  127. package/dist/legacy/components/SecurityScheme.vue2.js +364 -0
  128. package/dist/legacy/components/SecuritySchemeScopes.vue.d.ts +26 -0
  129. package/dist/legacy/components/SecuritySchemeScopes.vue.d.ts.map +1 -0
  130. package/dist/legacy/components/SecuritySchemeScopes.vue.js +7 -0
  131. package/dist/legacy/components/SecuritySchemeScopes.vue2.js +91 -0
  132. package/dist/legacy/components/SecuritySchemeSelector.vue.d.ts +25 -0
  133. package/dist/legacy/components/SecuritySchemeSelector.vue.d.ts.map +1 -0
  134. package/dist/legacy/components/SecuritySchemeSelector.vue.js +7 -0
  135. package/dist/legacy/components/SecuritySchemeSelector.vue2.js +64 -0
  136. package/dist/legacy/fixtures/httpHeaders.d.ts +6 -0
  137. package/dist/legacy/fixtures/httpHeaders.d.ts.map +1 -0
  138. package/dist/legacy/fixtures/httpRequestMethods.d.ts +10 -0
  139. package/dist/legacy/fixtures/httpRequestMethods.d.ts.map +1 -0
  140. package/dist/legacy/fixtures/httpRequestMethods.js +18 -0
  141. package/dist/legacy/fixtures/index.d.ts +3 -0
  142. package/dist/legacy/fixtures/index.d.ts.map +1 -0
  143. package/dist/legacy/helpers/createPlaceholderRequest.d.ts +6 -0
  144. package/dist/legacy/helpers/createPlaceholderRequest.d.ts.map +1 -0
  145. package/dist/legacy/helpers/createPlaceholderRequest.js +14 -0
  146. package/dist/legacy/helpers/encodeStringAsBase64.d.ts +5 -0
  147. package/dist/legacy/helpers/encodeStringAsBase64.d.ts.map +1 -0
  148. package/dist/legacy/helpers/encodeStringAsBase64.js +6 -0
  149. package/dist/legacy/helpers/getRequestFromAuthentication.d.ts +10 -0
  150. package/dist/legacy/helpers/getRequestFromAuthentication.d.ts.map +1 -0
  151. package/dist/legacy/helpers/getRequestFromAuthentication.js +83 -0
  152. package/dist/legacy/helpers/getUrlFromServerState.d.ts +6 -0
  153. package/dist/legacy/helpers/getUrlFromServerState.d.ts.map +1 -0
  154. package/dist/legacy/helpers/getUrlFromServerState.js +9 -0
  155. package/dist/legacy/helpers/humanDiff.d.ts +5 -0
  156. package/dist/legacy/helpers/humanDiff.d.ts.map +1 -0
  157. package/dist/legacy/helpers/index.d.ts +12 -0
  158. package/dist/legacy/helpers/index.d.ts.map +1 -0
  159. package/dist/legacy/helpers/mapFromArray.d.ts +5 -0
  160. package/dist/legacy/helpers/mapFromArray.d.ts.map +1 -0
  161. package/dist/legacy/helpers/normalizeHeaders.d.ts +9 -0
  162. package/dist/legacy/helpers/normalizeHeaders.d.ts.map +1 -0
  163. package/dist/legacy/helpers/normalizePath.d.ts +5 -0
  164. package/dist/legacy/helpers/normalizePath.d.ts.map +1 -0
  165. package/dist/legacy/helpers/normalizeRequestMethod.d.ts +6 -0
  166. package/dist/legacy/helpers/normalizeRequestMethod.d.ts.map +1 -0
  167. package/dist/legacy/helpers/normalizeRequestMethod.js +14 -0
  168. package/dist/legacy/helpers/normalizeUrl.d.ts +5 -0
  169. package/dist/legacy/helpers/normalizeUrl.d.ts.map +1 -0
  170. package/dist/legacy/helpers/prepareClientRequestConfig.d.ts +24 -0
  171. package/dist/legacy/helpers/prepareClientRequestConfig.d.ts.map +1 -0
  172. package/dist/legacy/index.d.ts +5 -0
  173. package/dist/legacy/index.d.ts.map +1 -0
  174. package/dist/legacy/stores/index.d.ts +6 -0
  175. package/dist/legacy/stores/index.d.ts.map +1 -0
  176. package/dist/legacy/stores/useApiClientStore.d.ts +18 -0
  177. package/dist/legacy/stores/useApiClientStore.d.ts.map +1 -0
  178. package/dist/legacy/stores/useApiClientStore.js +32 -0
  179. package/dist/legacy/stores/useAuthenticationStore.d.ts +59 -0
  180. package/dist/legacy/stores/useAuthenticationStore.d.ts.map +1 -0
  181. package/dist/legacy/stores/useAuthenticationStore.js +36 -0
  182. package/dist/legacy/stores/useOpenApiStore.d.ts +95 -0
  183. package/dist/legacy/stores/useOpenApiStore.d.ts.map +1 -0
  184. package/dist/legacy/stores/useOpenApiStore.js +23 -0
  185. package/dist/legacy/stores/useRequestStore.d.ts +58 -0
  186. package/dist/legacy/stores/useRequestStore.d.ts.map +1 -0
  187. package/dist/legacy/stores/useRequestStore.js +33 -0
  188. package/dist/legacy/stores/useServerStore.d.ts +18 -0
  189. package/dist/legacy/stores/useServerStore.d.ts.map +1 -0
  190. package/dist/legacy/stores/useServerStore.js +18 -0
  191. package/dist/legacy/types.d.ts +117 -0
  192. package/dist/legacy/types.d.ts.map +1 -0
  193. package/dist/stores/index.d.ts +1 -0
  194. package/dist/stores/index.d.ts.map +1 -1
  195. package/dist/style.css +1 -1
  196. package/dist/types.d.ts +8 -11
  197. package/dist/types.d.ts.map +1 -1
  198. package/package.json +16 -15
  199. package/dist/components/ApiClientModal.vue2.js +0 -4
  200. package/dist/components/ApiClientModalOld.vue.d.ts.map +0 -1
  201. package/dist/components/ApiClientModalOld.vue.js +0 -7
  202. package/dist/components/ApiClientModalOld.vue2.js +0 -88
  203. package/dist/components/Content/BaseUrl/BaseUrl.vue.d.ts +0 -3
  204. package/dist/components/Content/BaseUrl/BaseUrl.vue.d.ts.map +0 -1
  205. package/dist/components/Content/BaseUrl/BaseUrl.vue.js +0 -7
  206. package/dist/components/Content/BaseUrl/BaseUrl.vue2.js +0 -90
  207. package/dist/components/Content/BaseUrl/ServerItem.vue.d.ts.map +0 -1
  208. package/dist/components/Content/BaseUrl/ServerItem.vue.js +0 -8
  209. package/dist/components/Content/BaseUrl/ServerItem.vue2.js +0 -35
  210. package/dist/components/Content/BaseUrl/ServerVariableSelect.vue.d.ts.map +0 -1
  211. package/dist/components/Content/BaseUrl/ServerVariableSelect.vue.js +0 -7
  212. package/dist/components/Content/BaseUrl/ServerVariableTextbox.vue.d.ts.map +0 -1
  213. package/dist/components/Content/BaseUrl/ServerVariableTextbox.vue.js +0 -7
  214. package/dist/components/Content/BaseUrl/ServerVariables.vue.d.ts.map +0 -1
  215. package/dist/components/Content/BaseUrl/ServerVariables.vue.js +0 -7
  216. package/dist/components/Content/BaseUrl/ServerVariables.vue2.js +0 -47
  217. package/dist/components/Content/BaseUrl/index.d.ts +0 -2
  218. package/dist/components/Content/BaseUrl/index.d.ts.map +0 -1
  219. package/dist/components/Content/Schema/SchemaProperty.spec.d.ts +0 -2
  220. package/dist/components/Content/Schema/SchemaProperty.spec.d.ts.map +0 -1
  221. package/dist/features.d.ts +0 -8
  222. package/dist/features.d.ts.map +0 -1
  223. package/dist/features.js +0 -5
  224. package/dist/standalone.spec.d.ts +0 -2
  225. package/dist/standalone.spec.d.ts.map +0 -1
@@ -1,54 +1,56 @@
1
- import { defineComponent as f, computed as v, watch as _, onServerPrefetch as k, useSSRContext as x, unref as s, openBlock as a, createElementBlock as S, createElementVNode as h, createVNode as w, createBlock as A, createCommentVNode as i } from "vue";
2
- import { useAuthenticationStore as B, SecuritySchemeSelector as C, SecurityScheme as N } from "@scalar/api-client";
1
+ import { defineComponent as f, computed as v, watch as _, onServerPrefetch as k, useSSRContext as x, unref as n, openBlock as a, createElementBlock as S, createElementVNode as h, createVNode as w, createBlock as A, createCommentVNode as i } from "vue";
2
+ import B from "../../../legacy/components/SecurityScheme.vue.js";
3
+ import C from "../../../legacy/components/SecuritySchemeSelector.vue.js";
4
+ import { sleep as N } from "../../../helpers/sleep.js";
3
5
  import { hasSecuritySchemes as V } from "../../../helpers/hasSecuritySchemes.js";
4
- import { sleep as E } from "../../../helpers/sleep.js";
6
+ import { useAuthenticationStore as E } from "../../../legacy/stores/useAuthenticationStore.js";
5
7
  const b = { key: 0 }, G = { class: "authentication-header" }, P = { class: "selector" }, R = {
6
8
  key: 0,
7
9
  class: "authentication-content"
8
- }, D = /* @__PURE__ */ f({
10
+ }, H = /* @__PURE__ */ f({
9
11
  __name: "Authentication",
10
12
  props: {
11
13
  parsedSpec: {},
12
14
  proxy: {}
13
15
  },
14
16
  setup(d) {
15
- const n = d, { authentication: c, setAuthentication: l } = B(), y = v(() => {
16
- var t, r, o;
17
- if (!c.preferredSecurityScheme)
17
+ const s = d, { authentication: r, setAuthentication: l } = E(), y = v(() => {
18
+ var t, c, o;
19
+ if (!r.preferredSecurityScheme)
18
20
  return !1;
19
- const e = (o = (r = (t = n.parsedSpec) == null ? void 0 : t.components) == null ? void 0 : r.securitySchemes) == null ? void 0 : o[c.preferredSecurityScheme];
21
+ const e = (o = (c = (t = s.parsedSpec) == null ? void 0 : t.components) == null ? void 0 : c.securitySchemes) == null ? void 0 : o[r.preferredSecurityScheme];
20
22
  return !!e && "type" in e && !!e.type;
21
23
  });
22
24
  return _(
23
25
  () => {
24
26
  var e, t;
25
- return (t = (e = n.parsedSpec) == null ? void 0 : e.components) == null ? void 0 : t.securitySchemes;
27
+ return (t = (e = s.parsedSpec) == null ? void 0 : e.components) == null ? void 0 : t.securitySchemes;
26
28
  },
27
29
  () => {
28
30
  var e, t;
29
31
  l({
30
- securitySchemes: (t = (e = n.parsedSpec) == null ? void 0 : e.components) == null ? void 0 : t.securitySchemes
32
+ securitySchemes: (t = (e = s.parsedSpec) == null ? void 0 : e.components) == null ? void 0 : t.securitySchemes
31
33
  });
32
34
  },
33
35
  { deep: !0, immediate: !0 }
34
36
  ), k(async () => {
35
37
  const e = x();
36
- await E(1), e.payload.data["useGlobalStore-authentication"] = c;
38
+ await N(1), e.payload.data["useGlobalStore-authentication"] = r;
37
39
  }), (e, t) => {
38
- var r, o, p, u, m;
39
- return s(V)(e.parsedSpec) ? (a(), S("div", b, [
40
+ var c, o, p, u, m;
41
+ return n(V)(e.parsedSpec) ? (a(), S("div", b, [
40
42
  h("div", G, [
41
43
  h("div", P, [
42
- w(s(C), {
43
- value: (o = (r = e.parsedSpec) == null ? void 0 : r.components) == null ? void 0 : o.securitySchemes
44
+ w(C, {
45
+ value: (o = (c = e.parsedSpec) == null ? void 0 : c.components) == null ? void 0 : o.securitySchemes
44
46
  }, null, 8, ["value"])
45
47
  ])
46
48
  ]),
47
49
  y.value ? (a(), S("div", R, [
48
- s(c).preferredSecurityScheme ? (a(), A(s(N), {
50
+ n(r).preferredSecurityScheme ? (a(), A(B, {
49
51
  key: 0,
50
52
  proxy: e.proxy,
51
- value: (m = (u = (p = e.parsedSpec) == null ? void 0 : p.components) == null ? void 0 : u.securitySchemes) == null ? void 0 : m[s(c).preferredSecurityScheme]
53
+ value: (m = (u = (p = e.parsedSpec) == null ? void 0 : p.components) == null ? void 0 : u.securitySchemes) == null ? void 0 : m[n(r).preferredSecurityScheme]
52
54
  }, null, 8, ["proxy", "value"])) : i("", !0)
53
55
  ])) : i("", !0)
54
56
  ])) : i("", !0);
@@ -56,5 +58,5 @@ const b = { key: 0 }, G = { class: "authentication-header" }, P = { class: "sele
56
58
  }
57
59
  });
58
60
  export {
59
- D as default
61
+ H as default
60
62
  };
@@ -1,17 +1,17 @@
1
- import { type Server } from '@scalar/api-client';
2
1
  import type { Spec } from '@scalar/oas-utils';
2
+ import { type Server } from '../../features/BaseUrl';
3
3
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
4
4
  parsedSpec: Spec;
5
5
  layout?: "default" | "accordion" | undefined;
6
6
  baseServerURL?: string | undefined;
7
- proxy?: string | undefined;
8
7
  servers?: Server[] | undefined;
8
+ proxy?: string | undefined;
9
9
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
10
10
  parsedSpec: Spec;
11
11
  layout?: "default" | "accordion" | undefined;
12
12
  baseServerURL?: string | undefined;
13
- proxy?: string | undefined;
14
13
  servers?: Server[] | undefined;
14
+ proxy?: string | undefined;
15
15
  }>>>, {}, {}>, {
16
16
  start?(_: {}): any;
17
17
  "empty-state"?(_: {}): any;
@@ -1 +1 @@
1
- {"version":3,"file":"Content.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Content/Content.vue"],"names":[],"mappings":"AA6PA,OAAO,EAAE,KAAK,MAAM,EAAkB,MAAM,oBAAoB,CAAA;AAChE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;;;;;;;;;;;;;;;;;;AA8X7C,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":"Content.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Content/Content.vue"],"names":[],"mappings":"AAiNA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;AAG7C,OAAO,EAAW,KAAK,MAAM,EAAE,MAAM,wBAAwB,CAAA;;;;;;;;;;;;;;;;;;AA6U7D,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"}
@@ -2,7 +2,7 @@ import o from "./Content.vue2.js";
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  import t from "../../_virtual/_plugin-vue_export-helper.js";
5
- const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-54f6ce8b"]]);
5
+ const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-075b0e63"]]);
6
6
  export {
7
- f as default
7
+ _ as default
8
8
  };
@@ -1,114 +1,93 @@
1
- import { defineComponent as E, watch as P, computed as S, openBlock as s, createElementBlock as p, Fragment as m, createElementVNode as w, renderSlot as y, createVNode as f, unref as o, createBlock as i, withCtx as u, normalizeClass as W, renderList as $, resolveDynamicComponent as k, createCommentVNode as L, createStaticVNode as D } from "vue";
2
- import { useServerStore as F } from "@scalar/api-client";
3
- import j from "./Tag/TagAccordion.vue.js";
4
- import q from "./Tag/Tag.vue.js";
5
- import G from "./Operation/OperationAccordion.vue.js";
6
- import H from "./Operation/Operation.vue.js";
7
- import J from "./Lazy/Loading.vue.js";
1
+ import { defineComponent as O, computed as m, openBlock as r, createElementBlock as n, Fragment as c, createElementVNode as h, renderSlot as u, createVNode as p, unref as o, createBlock as s, withCtx as l, normalizeClass as T, renderList as k, resolveDynamicComponent as L, createCommentVNode as $, createStaticVNode as E } from "vue";
2
+ import R from "./Tag/TagAccordion.vue.js";
3
+ import D from "./Tag/Tag.vue.js";
4
+ import F from "./Operation/OperationAccordion.vue.js";
5
+ import W from "./Operation/Operation.vue.js";
6
+ import j from "./Lazy/Loading.vue.js";
8
7
  /* empty css */
9
- import K from "./Introduction/Introduction.vue.js";
10
- import Q from "./BaseUrl/BaseUrl.vue.js";
11
- import X from "./Authentication/Authentication.vue.js";
12
- import Y from "./ClientLibraries/ClientLibraries.vue.js";
8
+ import q from "./Introduction/Introduction.vue.js";
9
+ import G from "../../features/BaseUrl/BaseUrl.vue.js";
10
+ import H from "./Authentication/Authentication.vue.js";
11
+ import J from "./ClientLibraries/ClientLibraries.vue.js";
13
12
  import C from "./Lazy/Lazy.vue.js";
14
- import Z from "./Webhooks/Webhooks.vue.js";
15
- import _ from "./Models/ModelsAccordion.vue.js";
16
- import x from "./Models/Models.vue.js";
17
- import { useSidebar as ee } from "../../hooks/useSidebar.js";
18
- import { hasModels as oe } from "../../helpers/hasModels.js";
19
- import { getModels as g } from "../../helpers/getModels.js";
20
- import { useNavState as re } from "../../hooks/useNavState.js";
21
- const se = /* @__PURE__ */ D('<div class="section-flare" data-v-54f6ce8b><div class="section-flare-item" data-v-54f6ce8b></div><div class="section-flare-item" data-v-54f6ce8b></div><div class="section-flare-item" data-v-54f6ce8b></div><div class="section-flare-item" data-v-54f6ce8b></div><div class="section-flare-item" data-v-54f6ce8b></div><div class="section-flare-item" data-v-54f6ce8b></div><div class="section-flare-item" data-v-54f6ce8b></div><div class="section-flare-item" data-v-54f6ce8b></div></div>', 1), te = { class: "narrow-references-container" }, ge = /* @__PURE__ */ E({
13
+ import K from "./Webhooks/Webhooks.vue.js";
14
+ import P from "./Models/ModelsAccordion.vue.js";
15
+ import Q from "./Models/Models.vue.js";
16
+ import { useSidebar as X } from "../../hooks/useSidebar.js";
17
+ import { hasModels as Y } from "../../helpers/hasModels.js";
18
+ import { getModels as w } from "../../helpers/getModels.js";
19
+ import { useNavState as Z } from "../../hooks/useNavState.js";
20
+ const _ = /* @__PURE__ */ E('<div class="section-flare" data-v-075b0e63><div class="section-flare-item" data-v-075b0e63></div><div class="section-flare-item" data-v-075b0e63></div><div class="section-flare-item" data-v-075b0e63></div><div class="section-flare-item" data-v-075b0e63></div><div class="section-flare-item" data-v-075b0e63></div><div class="section-flare-item" data-v-075b0e63></div><div class="section-flare-item" data-v-075b0e63></div><div class="section-flare-item" data-v-075b0e63></div></div>', 1), x = { class: "narrow-references-container" }, ke = /* @__PURE__ */ O({
22
21
  __name: "Content",
23
22
  props: {
24
23
  parsedSpec: {},
25
24
  layout: {},
26
25
  baseServerURL: {},
27
- proxy: {},
28
- servers: {}
26
+ servers: {},
27
+ proxy: {}
29
28
  },
30
29
  setup(z) {
31
- const r = z, { getOperationId: h, getTagId: l, hash: I } = re(), { setServer: M } = F(), { hideModels: N, collapsedSidebarItems: R } = ee(), U = (e) => {
32
- if (e.url.match(/^(?!(https?|file):\/\/|{).+/)) {
33
- let t = r.baseServerURL ?? window.location.origin;
34
- t = t.replace(/\/$/, "");
35
- const d = e.url.startsWith("/") ? e.url : `/${e.url}`;
36
- e.url = `${t}${d}`.replace(/\/$/, "");
37
- }
38
- return e;
39
- };
40
- P(
41
- () => r.parsedSpec,
42
- (e) => {
43
- var d, c;
44
- let t = [
45
- { url: typeof window < "u" ? window.location.origin : "/" }
46
- ];
47
- r.servers ? t = r.servers : e.servers && e.servers.length > 0 ? t = e.servers : r.parsedSpec.host && (t = [
48
- {
49
- url: `${((d = r.parsedSpec.schemes) == null ? void 0 : d[0]) ?? "http"}://${r.parsedSpec.host}${((c = r.parsedSpec) == null ? void 0 : c.basePath) ?? ""}`
50
- }
51
- ]), (r.baseServerURL || typeof window < "u") && (t = t.map(U)), M({ servers: t });
52
- },
53
- { deep: !0, immediate: !0 }
54
- );
55
- const V = S(
56
- () => r.layout === "accordion" ? j : q
57
- ), A = S(
58
- () => r.layout === "accordion" ? G : H
59
- ), B = S(
60
- () => r.layout === "accordion" ? "after" : "aside"
61
- ), O = r.layout !== "accordion" && !I.value.startsWith("model");
62
- return (e, t) => {
63
- var d, c, v, b;
64
- return s(), p(m, null, [
65
- se,
66
- w("div", te, [
67
- y(e.$slots, "start", {}, void 0, !0),
68
- f(o(J), {
30
+ const i = z, { getOperationId: f, getTagId: d, hash: I } = Z(), { hideModels: M, collapsedSidebarItems: N } = X(), V = m(
31
+ () => i.layout === "accordion" ? R : D
32
+ ), A = m(
33
+ () => i.layout === "accordion" ? F : W
34
+ ), U = m(
35
+ () => i.layout === "accordion" ? "after" : "aside"
36
+ ), g = i.layout !== "accordion" && !I.value.startsWith("model");
37
+ return (e, ee) => {
38
+ var v, y, S, b;
39
+ return r(), n(c, null, [
40
+ _,
41
+ h("div", x, [
42
+ u(e.$slots, "start", {}, void 0, !0),
43
+ p(o(j), {
69
44
  layout: e.layout,
70
45
  parsedSpec: e.parsedSpec
71
46
  }, null, 8, ["layout", "parsedSpec"]),
72
- (c = (d = e.parsedSpec) == null ? void 0 : d.info) != null && c.title || (b = (v = e.parsedSpec) == null ? void 0 : v.info) != null && b.description ? (s(), i(o(K), {
47
+ (y = (v = e.parsedSpec) == null ? void 0 : v.info) != null && y.title || (b = (S = e.parsedSpec) == null ? void 0 : S.info) != null && b.description ? (r(), s(o(q), {
73
48
  key: 0,
74
49
  info: e.parsedSpec.info,
75
50
  parsedSpec: e.parsedSpec
76
51
  }, {
77
- [B.value]: u(() => [
78
- w("div", {
79
- class: W(["introduction-card", { "introduction-card-row": e.layout === "accordion" }])
52
+ [U.value]: l(() => [
53
+ h("div", {
54
+ class: T(["introduction-card", { "introduction-card-row": e.layout === "accordion" }])
80
55
  }, [
81
- f(o(Q)),
82
- f(o(X), {
56
+ p(o(G), {
57
+ defaultServerUrl: e.baseServerURL,
58
+ servers: i.servers,
59
+ specification: e.parsedSpec
60
+ }, null, 8, ["defaultServerUrl", "servers", "specification"]),
61
+ p(o(H), {
83
62
  parsedSpec: e.parsedSpec,
84
63
  proxy: e.proxy
85
64
  }, null, 8, ["parsedSpec", "proxy"]),
86
- f(o(Y))
65
+ p(o(J))
87
66
  ], 2)
88
67
  ]),
89
68
  _: 2
90
- }, 1032, ["info", "parsedSpec"])) : y(e.$slots, "empty-state", { key: 1 }, void 0, !0),
91
- (s(!0), p(m, null, $(e.parsedSpec.tags, (a) => (s(), i(o(C), {
92
- id: o(l)(a),
93
- key: o(l)(a),
94
- isLazy: o(O) && !o(R)[o(l)(a)]
69
+ }, 1032, ["info", "parsedSpec"])) : u(e.$slots, "empty-state", { key: 1 }, void 0, !0),
70
+ (r(!0), n(c, null, k(e.parsedSpec.tags, (a) => (r(), s(o(C), {
71
+ id: o(d)(a),
72
+ key: o(d)(a),
73
+ isLazy: o(g) && !o(N)[o(d)(a)]
95
74
  }, {
96
- default: u(() => [
97
- (s(), i(k(V.value), {
98
- id: o(l)(a),
75
+ default: l(() => [
76
+ (r(), s(L(V.value), {
77
+ id: o(d)(a),
99
78
  spec: e.parsedSpec,
100
79
  tag: a
101
80
  }, {
102
- default: u(() => [
103
- (s(!0), p(m, null, $(a.operations, (n, T) => (s(), i(o(C), {
104
- id: o(h)(n, a),
105
- key: `${n.httpVerb}-${n.operationId}`,
106
- isLazy: T > 0
81
+ default: l(() => [
82
+ (r(!0), n(c, null, k(a.operations, (t, B) => (r(), s(o(C), {
83
+ id: o(f)(t, a),
84
+ key: `${t.httpVerb}-${t.operationId}`,
85
+ isLazy: B > 0
107
86
  }, {
108
- default: u(() => [
109
- (s(), i(k(A.value), {
110
- id: o(h)(n, a),
111
- operation: n,
87
+ default: l(() => [
88
+ (r(), s(L(A.value), {
89
+ id: o(f)(t, a),
90
+ operation: t,
112
91
  tag: a
113
92
  }, null, 8, ["id", "operation", "tag"]))
114
93
  ]),
@@ -120,25 +99,25 @@ const se = /* @__PURE__ */ D('<div class="section-flare" data-v-54f6ce8b><div cl
120
99
  ]),
121
100
  _: 2
122
101
  }, 1032, ["id", "isLazy"]))), 128)),
123
- e.parsedSpec.webhooks ? (s(), i(o(Z), {
102
+ e.parsedSpec.webhooks ? (r(), s(o(K), {
124
103
  key: 2,
125
104
  webhooks: e.parsedSpec.webhooks
126
- }, null, 8, ["webhooks"])) : L("", !0),
127
- o(oe)(e.parsedSpec) && !o(N) ? (s(), p(m, { key: 3 }, [
128
- e.layout === "accordion" ? (s(), i(o(_), {
105
+ }, null, 8, ["webhooks"])) : $("", !0),
106
+ o(Y)(e.parsedSpec) && !o(M) ? (r(), n(c, { key: 3 }, [
107
+ e.layout === "accordion" ? (r(), s(o(P), {
129
108
  key: 0,
130
- schemas: o(g)(e.parsedSpec)
131
- }, null, 8, ["schemas"])) : (s(), i(o(x), {
109
+ schemas: o(w)(e.parsedSpec)
110
+ }, null, 8, ["schemas"])) : (r(), s(o(Q), {
132
111
  key: 1,
133
- schemas: o(g)(e.parsedSpec)
112
+ schemas: o(w)(e.parsedSpec)
134
113
  }, null, 8, ["schemas"]))
135
- ], 64)) : L("", !0),
136
- y(e.$slots, "end", {}, void 0, !0)
114
+ ], 64)) : $("", !0),
115
+ u(e.$slots, "end", {}, void 0, !0)
137
116
  ])
138
117
  ], 64);
139
118
  };
140
119
  }
141
120
  });
142
121
  export {
143
- ge as default
122
+ ke as default
144
123
  };
@@ -1,5 +1,6 @@
1
1
  import { defineComponent as E, ref as v, watch as K, onMounted as M, withDirectives as $, openBlock as n, createElementBlock as f, normalizeClass as j, Fragment as g, renderList as k, createBlock as m, unref as o, withCtx as p, createCommentVNode as T, createVNode as w, createTextVNode as A, toDisplayString as F, vShow as H } from "vue";
2
2
  import { lazyBus as P } from "./lazyBus.js";
3
+ import { scrollToId as x } from "../../../helpers/scrollToId.js";
3
4
  import q from "../Tag/Tag.vue.js";
4
5
  import G from "../Operation/Operation.vue.js";
5
6
  import J from "../../Section/SectionContainer.vue.js";
@@ -9,7 +10,6 @@ import U from "../../Section/SectionHeader.vue.js";
9
10
  import X from "../../Anchor/Anchor.vue.js";
10
11
  import Y from "../Schema/Schema.vue.js";
11
12
  import { getModels as h } from "../../../helpers/getModels.js";
12
- import { scrollToId as x } from "../../../helpers/scrollToId.js";
13
13
  import { useNavState as Z } from "../../../hooks/useNavState.js";
14
14
  const fe = /* @__PURE__ */ E({
15
15
  __name: "Loading",
@@ -1 +1 @@
1
- {"version":3,"file":"CustomRequestExamples.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/CustomRequestExamples.vue"],"names":[],"mappings":"AAoMA,OAAO,KAAK,EACV,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,mBAAmB,CAAA;;;;;;;;;;;AA8S1B,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":"CustomRequestExamples.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/CustomRequestExamples.vue"],"names":[],"mappings":"AAmMA,OAAO,KAAK,EACV,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,mBAAmB,CAAA;;;;;;;;;;;AA+S1B,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 "./CustomRequestExamples.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-6eb9bb56"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-24c8bc21"]]);
5
5
  export {
6
6
  p as default
7
7
  };
@@ -1,14 +1,14 @@
1
- import { defineComponent as b, ref as g, computed as u, watch as y, openBlock as m, createBlock as i, unref as e, withCtx as r, createVNode as a, createTextVNode as x, toDisplayString as S, createElementVNode as c, renderSlot as d, createCommentVNode as k } from "vue";
2
- import { HttpMethod as V } from "@scalar/api-client";
3
- import { ScalarIcon as w, ScalarCodeBlock as _ } from "@scalar/components";
4
- import q from "./TextSelect.vue.js";
1
+ import { defineComponent as h, ref as g, computed as u, watch as y, openBlock as m, createBlock as i, unref as e, withCtx as r, createVNode as a, createTextVNode as x, toDisplayString as S, createElementVNode as c, renderSlot as d, createCommentVNode as k } from "vue";
2
+ import { ScalarIcon as V, ScalarCodeBlock as _ } from "@scalar/components";
3
+ import w from "./TextSelect.vue.js";
5
4
  /* empty css */
6
- import N from "../../Card/Card.vue.js";
7
- import $ from "../../Card/CardHeader.vue.js";
5
+ import $ from "../../Card/Card.vue.js";
6
+ import q from "../../Card/CardHeader.vue.js";
7
+ import N from "../../HttpMethod/HttpMethod.vue.js";
8
8
  import j from "../../Card/CardContent.vue.js";
9
9
  import E from "../../Card/CardFooter.vue.js";
10
- import { useClipboard as H } from "../../../hooks/useClipboard.js";
11
- const P = { class: "request-header" }, G = /* @__PURE__ */ b({
10
+ import { useClipboard as P } from "../../../hooks/useClipboard.js";
11
+ const T = { class: "request-header" }, K = /* @__PURE__ */ h({
12
12
  __name: "CustomRequestExamples",
13
13
  props: {
14
14
  operation: {},
@@ -49,16 +49,16 @@ const P = { class: "request-header" }, G = /* @__PURE__ */ b({
49
49
  y(l.examples, () => {
50
50
  l.examples[t.value] === "undefined" && (t.value = 0);
51
51
  });
52
- const { copyToClipboard: h } = H();
53
- return (o, s) => (m(), i(e(N), { class: "dark-mode" }, {
52
+ const { copyToClipboard: C } = P();
53
+ return (o, s) => (m(), i(e($), { class: "dark-mode" }, {
54
54
  default: r(() => [
55
- a(e($), { muted: "" }, {
55
+ a(e(q), { muted: "" }, {
56
56
  actions: r(() => [
57
- a(q, {
57
+ a(w, {
58
58
  class: "request-client-picker",
59
59
  modelValue: t.value,
60
- options: o.examples.map((n, C) => ({
61
- value: C.toString(),
60
+ options: o.examples.map((n, b) => ({
61
+ value: b.toString(),
62
62
  label: n.label
63
63
  })),
64
64
  "onUpdate:modelValue": s[0] || (s[0] = (n) => (t.value = parseInt(n), 10))
@@ -71,17 +71,17 @@ const P = { class: "request-header" }, G = /* @__PURE__ */ b({
71
71
  c("button", {
72
72
  class: "copy-button",
73
73
  type: "button",
74
- onClick: s[1] || (s[1] = (n) => e(h)(p.value.source.trim()))
74
+ onClick: s[1] || (s[1] = (n) => e(C)(p.value.source.trim()))
75
75
  }, [
76
- a(e(w), {
76
+ a(e(V), {
77
77
  icon: "Clipboard",
78
78
  width: "10px"
79
79
  })
80
80
  ])
81
81
  ]),
82
82
  default: r(() => [
83
- c("div", P, [
84
- a(e(V), {
83
+ c("div", T, [
84
+ a(e(N), {
85
85
  class: "request-method",
86
86
  method: o.operation.httpVerb
87
87
  }, null, 8, ["method"]),
@@ -120,5 +120,5 @@ const P = { class: "request-header" }, G = /* @__PURE__ */ b({
120
120
  }
121
121
  });
122
122
  export {
123
- G as default
123
+ K as default
124
124
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ExampleRequest.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/ExampleRequest.vue"],"names":[],"mappings":"AA2TA,OAAO,KAAK,EAGV,oBAAoB,EACrB,MAAM,mBAAmB,CAAA;;;;;;;;;AA+b1B,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":"ExampleRequest.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/ExampleRequest.vue"],"names":[],"mappings":"AA0TA,OAAO,KAAK,EAGV,oBAAoB,EACrB,MAAM,mBAAmB,CAAA;;;;;;;;;AAgc1B,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 "./ExampleRequest.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-0981194a"]]);
4
+ const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-c40974e9"]]);
5
5
  export {
6
- p as default
6
+ r as default
7
7
  };