@scalar/api-client 2.1.45 → 2.1.47

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 (192) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
  3. package/dist/components/AddressBar/AddressBar.vue.js +2 -2
  4. package/dist/components/AddressBar/AddressBar.vue2.js +66 -58
  5. package/dist/components/AddressBar/AddressBarHistory.vue.js +2 -2
  6. package/dist/components/AddressBar/AddressBarHistory.vue2.js +8 -8
  7. package/dist/components/AddressBar/AddressBarServer.vue.d.ts.map +1 -1
  8. package/dist/components/AddressBar/AddressBarServer.vue.js +40 -39
  9. package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
  10. package/dist/components/CodeInput/CodeInput.vue.js +1 -1
  11. package/dist/components/CodeInput/CodeInput.vue2.js +7 -7
  12. package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts.map +1 -1
  13. package/dist/components/CommandPalette/CommandPaletteRequest.vue.js +32 -26
  14. package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts.map +1 -1
  15. package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.js +14 -9
  16. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
  17. package/dist/components/CommandPalette/TheCommandPalette.vue.js +4 -4
  18. package/dist/components/CommandPalette/TheCommandPalette.vue2.js +15 -10
  19. package/dist/components/ContextBar.vue.d.ts +1 -1
  20. package/dist/components/ContextBar.vue.d.ts.map +1 -1
  21. package/dist/components/ContextBar.vue.js +2 -2
  22. package/dist/components/ContextBar.vue2.js +30 -19
  23. package/dist/components/DataTable/DataTableCheckbox.vue.d.ts.map +1 -1
  24. package/dist/components/DataTable/DataTableCheckbox.vue.js +17 -17
  25. package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
  26. package/dist/components/DataTable/DataTableInput.vue.js +2 -2
  27. package/dist/components/DataTable/DataTableInput.vue2.js +10 -10
  28. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts.map +1 -1
  29. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +23 -18
  30. package/dist/components/Form/Form.vue.js +15 -15
  31. package/dist/components/HttpMethod/HttpMethod.vue.d.ts +2 -2
  32. package/dist/components/ImportCollection/DropEventListener.vue.d.ts +2 -2
  33. package/dist/components/ImportCollection/DropEventListener.vue.js +6 -6
  34. package/dist/components/ImportCollection/ImportCollectionListener.vue.d.ts.map +1 -1
  35. package/dist/components/ImportCollection/ImportCollectionListener.vue.js +22 -21
  36. package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts +1 -0
  37. package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts.map +1 -1
  38. package/dist/components/ImportCollection/ImportCollectionModal.vue.js +87 -74
  39. package/dist/components/ImportCollection/ImportNowButton.vue.d.ts.map +1 -1
  40. package/dist/components/ImportCollection/ImportNowButton.vue.js +14 -13
  41. package/dist/components/ImportCollection/PasteEventListener.vue.d.ts +2 -2
  42. package/dist/components/ImportCollection/PasteEventListener.vue.js +5 -5
  43. package/dist/components/ImportCollection/UrlQueryParameterChecker.vue.d.ts +2 -2
  44. package/dist/components/ImportCollection/UrlQueryParameterChecker.vue.d.ts.map +1 -1
  45. package/dist/components/ImportCollection/UrlQueryParameterChecker.vue.js +10 -5
  46. package/dist/components/ImportCollection/WorkspaceSelector.vue.d.ts.map +1 -1
  47. package/dist/components/ImportCollection/WorkspaceSelector.vue.js +43 -33
  48. package/dist/components/ImportCollection/hooks/useUrlPrefetcher.d.ts +1 -0
  49. package/dist/components/ImportCollection/hooks/useUrlPrefetcher.d.ts.map +1 -1
  50. package/dist/components/ImportCollection/hooks/useUrlPrefetcher.js +31 -21
  51. package/dist/components/Search/useSearch.d.ts +2 -0
  52. package/dist/components/Search/useSearch.d.ts.map +1 -1
  53. package/dist/components/Search/useSearch.js +25 -24
  54. package/dist/components/SideNav/DownloadAppButton.vue.d.ts +3 -0
  55. package/dist/components/SideNav/DownloadAppButton.vue.d.ts.map +1 -0
  56. package/dist/components/SideNav/DownloadAppButton.vue.js +7 -0
  57. package/dist/components/SideNav/DownloadAppButton.vue2.js +33 -0
  58. package/dist/components/SideNav/SideHelp.vue.d.ts.map +1 -1
  59. package/dist/components/SideNav/SideHelp.vue.js +55 -53
  60. package/dist/components/SideNav/SideNav.vue.d.ts.map +1 -1
  61. package/dist/components/SideNav/SideNav.vue.js +82 -5
  62. package/dist/components/SideNav/SideNav.vue2.js +2 -72
  63. package/dist/components/{SubpageHeader.vue.d.ts → SideNav/SideNavGroup.vue.d.ts} +3 -3
  64. package/dist/components/SideNav/SideNavGroup.vue.d.ts.map +1 -0
  65. package/dist/components/SideNav/SideNavGroup.vue.js +16 -0
  66. package/dist/components/SideNav/SideNavGroup.vue2.js +4 -0
  67. package/dist/components/SideNav/SideNavLink.vue.d.ts +5 -5
  68. package/dist/components/SideNav/SideNavLink.vue.d.ts.map +1 -1
  69. package/dist/components/SideNav/SideNavLink.vue.js +31 -34
  70. package/dist/components/SideNav/SideNavRouterLink.vue.d.ts +25 -0
  71. package/dist/components/SideNav/SideNavRouterLink.vue.d.ts.map +1 -0
  72. package/dist/components/SideNav/SideNavRouterLink.vue.js +29 -0
  73. package/dist/components/SideNav/SideNavRouterLink.vue2.js +4 -0
  74. package/dist/components/Sidebar/SidebarButton.vue.d.ts +1 -4
  75. package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +1 -1
  76. package/dist/components/Sidebar/SidebarButton.vue.js +17 -17
  77. package/dist/components/Sidebar/SidebarToggle.vue.d.ts.map +1 -1
  78. package/dist/components/Sidebar/SidebarToggle.vue.js +16 -15
  79. package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
  80. package/dist/components/TopNav/TopNav.vue.js +2 -2
  81. package/dist/components/TopNav/TopNav.vue2.js +14 -14
  82. package/dist/components/TopNav/TopNavItem.vue.d.ts +2 -2
  83. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
  84. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +31 -31
  85. package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts.map +1 -1
  86. package/dist/components/ViewLayout/ViewLayoutSection.vue.js +13 -21
  87. package/dist/hooks/index.d.ts +2 -1
  88. package/dist/hooks/index.d.ts.map +1 -1
  89. package/dist/hooks/index.js +6 -4
  90. package/dist/hooks/useLayout.d.ts +13 -0
  91. package/dist/hooks/useLayout.d.ts.map +1 -0
  92. package/dist/hooks/useLayout.js +7 -0
  93. package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
  94. package/dist/layouts/App/ApiClientApp.vue.js +37 -37
  95. package/dist/layouts/App/MainLayout.vue.d.ts.map +1 -1
  96. package/dist/layouts/App/MainLayout.vue.js +21 -13
  97. package/dist/layouts/App/create-api-client-app.d.ts +28 -28
  98. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  99. package/dist/layouts/App/create-api-client-app.js +10 -8
  100. package/dist/layouts/Modal/ApiClientModal.vue.d.ts +3 -1
  101. package/dist/layouts/Modal/ApiClientModal.vue.d.ts.map +1 -1
  102. package/dist/layouts/Modal/ApiClientModal.vue.js +2 -2
  103. package/dist/layouts/Modal/ApiClientModal.vue2.js +37 -25
  104. package/dist/layouts/Modal/create-api-client-modal.d.ts +56 -56
  105. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  106. package/dist/layouts/Modal/create-api-client-modal.js +8 -7
  107. package/dist/layouts/Web/ApiClientWeb.vue.d.ts.map +1 -1
  108. package/dist/layouts/Web/ApiClientWeb.vue.js +30 -30
  109. package/dist/layouts/Web/create-api-client-web.d.ts +28 -28
  110. package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
  111. package/dist/layouts/Web/create-api-client-web.js +9 -7
  112. package/dist/libs/create-client.d.ts +35 -29
  113. package/dist/libs/create-client.d.ts.map +1 -1
  114. package/dist/libs/create-client.js +55 -42
  115. package/dist/libs/hot-keys.d.ts +1 -1
  116. package/dist/router.d.ts +4 -41
  117. package/dist/router.d.ts.map +1 -1
  118. package/dist/router.js +18 -149
  119. package/dist/routes.d.ts +150 -0
  120. package/dist/routes.d.ts.map +1 -0
  121. package/dist/routes.js +182 -0
  122. package/dist/store/collections.d.ts +4 -4
  123. package/dist/store/cookies.d.ts +4 -4
  124. package/dist/store/request-example.d.ts +4 -4
  125. package/dist/store/requests.d.ts +4 -4
  126. package/dist/store/router-params.js +1 -1
  127. package/dist/store/security-schemes.d.ts +4 -4
  128. package/dist/store/store.d.ts +56 -56
  129. package/dist/store/store.d.ts.map +1 -1
  130. package/dist/store/store.js +90 -90
  131. package/dist/store/tags.d.ts +4 -4
  132. package/dist/store/workspace.d.ts +4 -4
  133. package/dist/style.css +1 -1
  134. package/dist/views/Cookies/CookieRaw.vue.js +10 -10
  135. package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
  136. package/dist/views/Cookies/Cookies.vue2.js +52 -53
  137. package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
  138. package/dist/views/Environment/Environment.vue2.js +79 -80
  139. package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +1 -1
  140. package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +20 -15
  141. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +2 -2
  142. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +146 -108
  143. package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
  144. package/dist/views/Request/RequestSection/RequestParams.vue.js +53 -52
  145. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
  146. package/dist/views/Request/RequestSection/RequestSection.vue.js +1 -1
  147. package/dist/views/Request/RequestSection/RequestSection.vue2.js +102 -97
  148. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +2 -2
  149. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
  150. package/dist/views/Request/RequestSection/RequestTable.vue.js +2 -2
  151. package/dist/views/Request/RequestSection/RequestTable.vue2.js +44 -40
  152. package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
  153. package/dist/views/Request/RequestSidebar.vue.js +2 -2
  154. package/dist/views/Request/RequestSidebar.vue2.js +152 -134
  155. package/dist/views/Request/RequestSidebarItem.vue.d.ts +2 -2
  156. package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
  157. package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
  158. package/dist/views/Request/RequestSidebarItem.vue2.js +129 -115
  159. package/dist/views/Request/RequestSidebarItemMenu.vue2.js +6 -6
  160. package/dist/views/Request/RequestSubpageHeader.vue.d.ts.map +1 -1
  161. package/dist/views/Request/RequestSubpageHeader.vue.js +1 -1
  162. package/dist/views/Request/RequestSubpageHeader.vue2.js +36 -34
  163. package/dist/views/Request/ResponseSection/ResponseBody.vue.d.ts.map +1 -1
  164. package/dist/views/Request/ResponseSection/ResponseBody.vue.js +21 -21
  165. package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.d.ts.map +1 -1
  166. package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.js +13 -10
  167. package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.d.ts.map +1 -1
  168. package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.js +1 -1
  169. package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue2.js +0 -2
  170. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.d.ts.map +1 -1
  171. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.js +8 -8
  172. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +1 -1
  173. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +3 -3
  174. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +32 -33
  175. package/dist/views/Request/ResponseSection/ResponseHeaders.vue.d.ts.map +1 -1
  176. package/dist/views/Request/ResponseSection/ResponseHeaders.vue.js +61 -55
  177. package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.d.ts.map +1 -1
  178. package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.js +32 -25
  179. package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
  180. package/dist/views/Request/ResponseSection/ResponseSection.vue.js +1 -1
  181. package/dist/views/Request/ResponseSection/ResponseSection.vue2.js +102 -70
  182. package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -1
  183. package/dist/views/Request/components/WorkspaceDropdown.vue.js +60 -50
  184. package/dist/views/Request/types/sidebar-item.d.ts +2 -1
  185. package/dist/views/Request/types/sidebar-item.d.ts.map +1 -1
  186. package/dist/views/Servers/Servers.vue.d.ts.map +1 -1
  187. package/dist/views/Servers/Servers.vue2.js +12 -7
  188. package/package.json +10 -8
  189. package/dist/components/SubpageHeader.vue.d.ts.map +0 -1
  190. package/dist/components/ViewLayout/ViewLayoutSection.vue2.js +0 -4
  191. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts +0 -7
  192. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +0 -1
@@ -1,4 +1,4 @@
1
- import { defineComponent as L, ref as U, computed as n, openBlock as s, createBlock as i, createSlots as V, withCtx as m, createTextVNode as w, toDisplayString as g, createElementBlock as j, createElementVNode as b, createCommentVNode as c, createVNode as C } from "vue";
1
+ import { defineComponent as L, ref as U, computed as n, openBlock as s, createBlock as u, createSlots as V, withCtx as m, createTextVNode as w, toDisplayString as g, createElementBlock as j, createElementVNode as h, createCommentVNode as c, createVNode as C } from "vue";
2
2
  import O from "../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
3
3
  import { extractFilename as T } from "../../../libs/extractAttachmentFilename.js";
4
4
  import N from "whatwg-mimetype";
@@ -10,7 +10,7 @@ import F from "./ResponseBodyToggle.vue.js";
10
10
  import { mediaTypes as D } from "../consts/mediaTypes.js";
11
11
  const I = {
12
12
  key: 0,
13
- class: "mx-1 border-1/2 flex flex-col rounded bg-b-1"
13
+ class: "max-h-[calc(100%-32px)] mx-1 border-1/2 flex flex-col rounded bg-b-1 overflow-hidden"
14
14
  }, J = { class: "flex justify-between items-center border-b-1/2 px-3 py-1.5" }, M = { class: "text-xxs leading-3 font-code" }, Z = /* @__PURE__ */ L({
15
15
  __name: "ResponseBody",
16
16
  props: {
@@ -18,30 +18,30 @@ const I = {
18
18
  data: {},
19
19
  headers: {}
20
20
  },
21
- setup(h) {
22
- const a = h, B = (e) => e instanceof Blob, d = U(!0), p = n(
21
+ setup(b) {
22
+ const a = b, x = (e) => e instanceof Blob, d = U(!0), p = n(
23
23
  () => {
24
24
  var e;
25
25
  return !!((e = o.value) != null && e.raw && o.value.preview);
26
26
  }
27
- ), R = n(() => d.value || !p.value), _ = n(() => !d.value || !p.value), r = n(() => {
27
+ ), B = n(() => d.value || !p.value), R = n(() => !d.value || !p.value), r = n(() => {
28
28
  var t;
29
29
  const e = ((t = a.headers.find((l) => l.name.toLowerCase() === "content-type")) == null ? void 0 : t.value) ?? "";
30
30
  return new N(e);
31
- }), k = n(() => {
31
+ }), _ = n(() => {
32
32
  var t;
33
33
  const e = ((t = a.headers.find(
34
34
  (l) => l.name.toLowerCase() === "content-disposition"
35
35
  )) == null ? void 0 : t.value) ?? "";
36
36
  return T(e);
37
- }), o = n(() => D[r.value.essence]), u = n(() => B(a.data) ? URL.createObjectURL(a.data) : typeof a.data == "string" ? URL.createObjectURL(
37
+ }), o = n(() => D[r.value.essence]), i = n(() => x(a.data) ? URL.createObjectURL(a.data) : typeof a.data == "string" ? URL.createObjectURL(
38
38
  new Blob([a.data], { type: r.value.toString() })
39
39
  ) : a.data instanceof Object && Object.keys(a.data).length ? URL.createObjectURL(
40
40
  new Blob([JSON.stringify(a.data)], {
41
41
  type: r.value.toString()
42
42
  })
43
43
  ) : "");
44
- return (e, t) => (s(), i(O, null, V({
44
+ return (e, t) => (s(), u(O, { class: "max-h-content overflow-x-auto" }, V({
45
45
  title: m(() => [
46
46
  w(g(e.title), 1)
47
47
  ]),
@@ -49,27 +49,27 @@ const I = {
49
49
  var l, v, f, y;
50
50
  return [
51
51
  e.data ? (s(), j("div", I, [
52
- b("div", J, [
53
- b("span", M, g(r.value.essence), 1),
54
- p.value ? (s(), i(F, {
52
+ h("div", J, [
53
+ h("span", M, g(r.value.essence), 1),
54
+ p.value ? (s(), u(F, {
55
55
  key: 0,
56
56
  modelValue: d.value,
57
- "onUpdate:modelValue": t[0] || (t[0] = (x) => d.value = x)
57
+ "onUpdate:modelValue": t[0] || (t[0] = (k) => d.value = k)
58
58
  }, null, 8, ["modelValue"])) : c("", !0)
59
59
  ]),
60
- (l = o.value) != null && l.raw && _.value ? (s(), i(E, {
61
- key: u.value,
60
+ (l = o.value) != null && l.raw && R.value ? (s(), u(E, {
61
+ key: i.value,
62
62
  content: e.data,
63
63
  language: o.value.language
64
64
  }, null, 8, ["content", "language"])) : c("", !0),
65
- (v = o.value) != null && v.preview && R.value ? (s(), i($, {
66
- key: u.value,
65
+ (v = o.value) != null && v.preview && B.value ? (s(), u($, {
66
+ key: i.value,
67
67
  alpha: o.value.alpha,
68
68
  mode: o.value.preview,
69
- src: u.value,
69
+ src: i.value,
70
70
  type: r.value.essence
71
71
  }, null, 8, ["alpha", "mode", "src", "type"])) : c("", !0),
72
- !((f = o.value) != null && f.raw) && !((y = o.value) != null && y.preview) ? (s(), i(P, { key: 2 }, {
72
+ !((f = o.value) != null && f.raw) && !((y = o.value) != null && y.preview) ? (s(), u(P, { key: 2 }, {
73
73
  default: m(() => t[1] || (t[1] = [
74
74
  w(" Binary file ")
75
75
  ])),
@@ -80,12 +80,12 @@ const I = {
80
80
  }),
81
81
  _: 2
82
82
  }, [
83
- e.data && u.value ? {
83
+ e.data && i.value ? {
84
84
  name: "actions",
85
85
  fn: m(() => [
86
86
  C(S, {
87
- filename: k.value,
88
- href: u.value,
87
+ filename: _.value,
88
+ href: i.value,
89
89
  type: r.value.essence
90
90
  }, null, 8, ["filename", "href", "type"])
91
91
  ]),
@@ -1 +1 @@
1
- {"version":3,"file":"ResponseBodyDownload.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/ResponseSection/ResponseBodyDownload.vue"],"names":[],"mappings":"AAoCA,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAC;;AA6EF,wBAOG"}
1
+ {"version":3,"file":"ResponseBodyDownload.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/ResponseSection/ResponseBodyDownload.vue"],"names":[],"mappings":"AAuCA,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAC;;AAgFF,wBAOG"}
@@ -1,7 +1,7 @@
1
- import { defineComponent as s, computed as i, openBlock as l, createElementBlock as p, withModifiers as a, createVNode as d, unref as m, createElementVNode as f } from "vue";
1
+ import { defineComponent as l, computed as p, openBlock as a, createElementBlock as i, withModifiers as d, createVNode as m, unref as f, createElementVNode as s } from "vue";
2
2
  import { ScalarIcon as c } from "@scalar/components";
3
3
  import { mediaTypes as u } from "../consts/mediaTypes.js";
4
- const x = ["download", "href"], k = /* @__PURE__ */ s({
4
+ const x = ["download", "href"], k = /* @__PURE__ */ l({
5
5
  __name: "ResponseBodyDownload",
6
6
  props: {
7
7
  href: {},
@@ -9,23 +9,26 @@ const x = ["download", "href"], k = /* @__PURE__ */ s({
9
9
  filename: {}
10
10
  },
11
11
  setup(t) {
12
- const o = t, r = i(() => {
12
+ const n = t, r = p(() => {
13
13
  var e;
14
- const n = ((e = u[o.type ?? ""]) == null ? void 0 : e.extension) ?? ".unknown";
15
- return o.filename ? o.filename : `response${n}`;
14
+ const o = ((e = u[n.type ?? ""]) == null ? void 0 : e.extension) ?? ".unknown";
15
+ return n.filename ? n.filename : `response${o}`;
16
16
  });
17
- return (n, e) => (l(), p("a", {
17
+ return (o, e) => (a(), i("a", {
18
18
  class: "flex gap-1 text-c-3 text-xxs no-underline items-center hover:bg-b-3 rounded py-0.5 px-1.5",
19
19
  download: `${r.value}`,
20
- href: n.href,
21
- onClick: e[0] || (e[0] = a(() => {
20
+ href: o.href,
21
+ onClick: e[0] || (e[0] = d(() => {
22
22
  }, ["stop"]))
23
23
  }, [
24
- d(m(c), {
24
+ m(f(c), {
25
25
  icon: "Download",
26
26
  size: "xs"
27
27
  }),
28
- e[1] || (e[1] = f("span", null, "Download", -1))
28
+ e[1] || (e[1] = s("span", null, [
29
+ s("span", null, "Download"),
30
+ s("span", { class: "sr-only" }, "Response Body")
31
+ ], -1))
29
32
  ], 8, x));
30
33
  }
31
34
  });
@@ -1 +1 @@
1
- {"version":3,"file":"ResponseBodyPreview.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/ResponseSection/ResponseBodyPreview.vue"],"names":[],"mappings":"AAuEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAO1D,KAAK,WAAW,GAAG;IACjB,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB,CAAC;;AA8HF,wBAMG"}
1
+ {"version":3,"file":"ResponseBodyPreview.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/ResponseSection/ResponseBodyPreview.vue"],"names":[],"mappings":"AAqEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAO1D,KAAK,WAAW,GAAG;IACjB,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB,CAAC;;AA8HF,wBAMG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./ResponseBodyPreview.vue2.js";
2
2
  /* empty css */
3
3
  import e from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-7fbe3767"]]);
4
+ const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-ce1255fa"]]);
5
5
  export {
6
6
  s as default
7
7
  };
@@ -26,7 +26,6 @@ const k = ["src"], w = ["src", "type"], B = ["src", "type"], E = ["data", "type"
26
26
  key: 1,
27
27
  autoplay: "",
28
28
  controls: "",
29
- loop: "",
30
29
  width: "100%",
31
30
  onError: o[1] || (o[1] = (l) => r.value = !0)
32
31
  }, [
@@ -38,7 +37,6 @@ const k = ["src"], w = ["src", "type"], B = ["src", "type"], E = ["data", "type"
38
37
  key: 2,
39
38
  class: "my-12",
40
39
  controls: "",
41
- loop: "",
42
40
  onError: o[2] || (o[2] = (l) => r.value = !0)
43
41
  }, [
44
42
  a("source", {
@@ -1 +1 @@
1
- {"version":3,"file":"ResponseBodyVirtual.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/ResponseSection/ResponseBodyVirtual.vue"],"names":[],"mappings":"AA+CA,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,CAAA;CAChB,CAAC;;AAsFF,wBAOG"}
1
+ {"version":3,"file":"ResponseBodyVirtual.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/ResponseSection/ResponseBodyVirtual.vue"],"names":[],"mappings":"AA6CA,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,CAAA;CAChB,CAAC;;AAwFF,wBAOG"}
@@ -1,6 +1,6 @@
1
- import { defineComponent as s, computed as l, openBlock as a, createBlock as i, withCtx as t, createTextVNode as d, createElementVNode as c, createVNode as p, unref as m } from "vue";
2
- import u from "../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
3
- import { ScalarVirtualText as x } from "@scalar/components";
1
+ import { defineComponent as s, computed as l, openBlock as a, createBlock as i, withCtx as t, createTextVNode as c, createElementVNode as d, createVNode as m, unref as p } from "vue";
2
+ import x from "../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
3
+ import { ScalarVirtualText as u } from "@scalar/components";
4
4
  import { formatJsonOrYamlString as f } from "@scalar/oas-utils/helpers";
5
5
  const V = /* @__PURE__ */ s({
6
6
  __name: "ResponseBodyVirtual",
@@ -9,14 +9,14 @@ const V = /* @__PURE__ */ s({
9
9
  },
10
10
  setup(o) {
11
11
  const r = o, n = l(() => f(r.content));
12
- return (b, e) => (a(), i(u, { class: "response-body-virtual" }, {
12
+ return (b, e) => (a(), i(x, { class: "!max-h-[calc(100%-32px)] response-body-virtual" }, {
13
13
  title: t(() => e[0] || (e[0] = [
14
- d("Body")
14
+ c("Body")
15
15
  ])),
16
16
  default: t(() => [
17
- e[1] || (e[1] = c("div", { class: "py-1.5 px-2.5 font-code text-xxs border-1/2 rounded-t border-b-0" }, " This response body is massive! Syntax highlighting won’t work here. ", -1)),
18
- p(m(x), {
19
- containerClass: "custom-scroll scalar-code-block border-1/2 rounded-b flex flex-1",
17
+ e[1] || (e[1] = d("div", { class: "mx-1 py-1.5 px-2.5 font-code text-xxs border-1/2 rounded-t border-b-0" }, " This response body is massive! Syntax highlighting won’t work here. ", -1)),
18
+ m(p(u), {
19
+ containerClass: "custom-scroll scalar-code-block border-1/2 rounded-b flex flex-1 mx-1",
20
20
  contentClass: "hljs language-plaintext",
21
21
  lineHeight: 20,
22
22
  text: n.value
@@ -1 +1 @@
1
- {"version":3,"file":"ResponseEmpty.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/ResponseSection/ResponseEmpty.vue"],"names":[],"mappings":";AA8OA,wBAMG"}
1
+ {"version":3,"file":"ResponseEmpty.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/ResponseSection/ResponseEmpty.vue"],"names":[],"mappings":";AA6PA,wBAMG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./ResponseEmpty.vue2.js";
2
2
  /* empty css */
3
- import e from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = /* @__PURE__ */ e(o, [["__scopeId", "data-v-8ee083e8"]]);
3
+ import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
+ const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-319a1f9c"]]);
5
5
  export {
6
- r as default
6
+ s as default
7
7
  };
@@ -1,60 +1,59 @@
1
- import { defineComponent as R, inject as g, onMounted as _, onBeforeUnmount as b, openBlock as r, createElementBlock as l, createElementVNode as t, unref as o, createTextVNode as a, toDisplayString as N, createCommentVNode as u, createVNode as i } from "vue";
2
- import C from "../../../assets/computer.ascii.js";
3
- import q from "../../../components/ScalarAsciiArt.vue.js";
4
- import p from "../../../components/ScalarHotkey.vue.js";
5
- import { useRoute as v } from "vue-router";
6
- import { useWorkspace as V } from "../../../store/store.js";
7
- const B = { class: "relative col-1 flex-center gap-6 p-2 capitalize" }, S = { class: "flex h-[calc(100%_-_50px)] flex-col items-center justify-center" }, h = {
1
+ import { defineComponent as _, onMounted as R, onBeforeUnmount as g, openBlock as r, createElementBlock as n, createElementVNode as o, unref as t, createTextVNode as c, toDisplayString as N, createCommentVNode as p, createVNode as l } from "vue";
2
+ import b from "../../../assets/computer.ascii.js";
3
+ import h from "../../../components/ScalarAsciiArt.vue.js";
4
+ import u from "../../../components/ScalarHotkey.vue.js";
5
+ import { useRoute as C } from "vue-router";
6
+ import { useWorkspace as q } from "../../../store/store.js";
7
+ import { useLayout as v } from "../../../hooks/useLayout.js";
8
+ const V = { class: "relative col-1 flex-center gap-6 p-2 capitalize" }, B = { class: "flex h-[calc(100%_-_50px)] flex-col items-center justify-center" }, S = {
8
9
  key: 0,
9
10
  class: "scalar-version-number"
10
- }, w = { class: "text-c-3 right-4 mt-auto flex w-full flex-col items-end gap-2 text-sm" }, z = /* @__PURE__ */ R({
11
+ }, w = { class: "text-c-3 right-4 mt-auto flex w-full flex-col items-end gap-2 text-sm" }, D = /* @__PURE__ */ _({
11
12
  __name: "ResponseEmpty",
12
- setup(E) {
13
- const { isReadOnly: d, activeWorkspace: f, events: s } = V(), y = v(), x = g("layout"), m = () => {
13
+ setup(A) {
14
+ const { isReadOnly: d, activeWorkspace: f, events: s } = q(), y = C(), { layout: x } = v(), m = () => {
14
15
  s.commandPalette.emit({ commandName: "Create Request" });
15
- }, c = (n) => {
16
- n != null && n.createNew && y.name === "request" && m();
17
- }, k = "2.1.45";
18
- return _(() => s.hotKeys.on(c)), b(() => s.hotKeys.off(c)), (n, e) => (r(), l("div", B, [
19
- t("div", S, [
20
- o(f).isReadOnly ? u("", !0) : (r(), l("div", h, [
21
- a(" Scalar V" + N(o(k)) + " ", 1),
22
- e[1] || (e[1] = t("b", null, "Beta", -1)),
23
- e[2] || (e[2] = a(" Release ")),
24
- e[3] || (e[3] = t("div", { class: "mt-1" }, [
25
- t("a", {
16
+ }, i = (a) => {
17
+ a != null && a.createNew && y.name === "request" && m();
18
+ }, k = "2.1.47";
19
+ return R(() => s.hotKeys.on(i)), g(() => s.hotKeys.off(i)), (a, e) => (r(), n("div", V, [
20
+ o("div", B, [
21
+ t(f).isReadOnly ? p("", !0) : (r(), n("div", S, [
22
+ c(" Scalar App V" + N(t(k)) + " Beta ", 1),
23
+ e[1] || (e[1] = o("div", { class: "mt-2" }, [
24
+ o("a", {
26
25
  href: "https://github.com/scalar/scalar/issues/2669",
27
26
  target: "_blank"
28
27
  }, " Roadmap ")
29
28
  ], -1))
30
29
  ])),
31
- i(q, {
32
- art: o(C),
30
+ l(h, {
31
+ art: t(b),
33
32
  class: "text-c-3"
34
33
  }, null, 8, ["art"])
35
34
  ]),
36
- t("div", w, [
37
- t("button", {
35
+ o("div", w, [
36
+ o("button", {
38
37
  class: "flex items-center gap-1.5",
39
38
  type: "button",
40
- onClick: e[0] || (e[0] = (K) => o(s).executeRequest.emit())
39
+ onClick: e[0] || (e[0] = (E) => t(s).executeRequest.emit())
41
40
  }, [
42
- e[4] || (e[4] = a(" Send Request ")),
43
- i(p, { hotkey: "↵" })
41
+ e[2] || (e[2] = c(" Send Request ")),
42
+ l(u, { hotkey: "↵" })
44
43
  ]),
45
- !o(d) && o(x) === "desktop" ? (r(), l("button", {
44
+ !t(d) && t(x) === "desktop" ? (r(), n("button", {
46
45
  key: 0,
47
46
  class: "flex items-center gap-1.5",
48
47
  type: "button",
49
48
  onClick: m
50
49
  }, [
51
- e[5] || (e[5] = a(" New Request ")),
52
- i(p, { hotkey: "N" })
53
- ])) : u("", !0)
50
+ e[3] || (e[3] = c(" New Request ")),
51
+ l(u, { hotkey: "N" })
52
+ ])) : p("", !0)
54
53
  ])
55
54
  ]));
56
55
  }
57
56
  });
58
57
  export {
59
- z as default
58
+ D as default
60
59
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ResponseHeaders.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/ResponseSection/ResponseHeaders.vue"],"names":[],"mappings":"AAqEA,KAAK,MAAM,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAA;CAAE,CAAA;AAEhE,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,EAAE,CAAA;CAClB,CAAC;;AAiJF,wBAOG"}
1
+ {"version":3,"file":"ResponseHeaders.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/ResponseSection/ResponseHeaders.vue"],"names":[],"mappings":"AA0EA,KAAK,MAAM,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAA;CAAE,CAAA;AAEhE,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,EAAE,CAAA;CAClB,CAAC;;AA0JF,wBAOG"}
@@ -1,76 +1,82 @@
1
- import { defineComponent as _, openBlock as e, createBlock as o, withCtx as t, createTextVNode as s, createElementBlock as m, Fragment as i, renderList as x, createVNode as d, toDisplayString as c } from "vue";
1
+ import { defineComponent as _, openBlock as e, createBlock as n, withCtx as t, createTextVNode as l, createElementBlock as s, createVNode as m, Fragment as f, renderList as x, toDisplayString as i } from "vue";
2
2
  import h from "../../../components/DataTable/DataTable.vue.js";
3
- import k from "../../../components/DataTable/DataTableRow.vue.js";
3
+ import y from "../../../components/DataTable/DataTableRow.vue.js";
4
4
  import u from "../../../components/DataTable/DataTableText.vue.js";
5
- import y from "../../../components/HelpfulLink.vue.js";
6
- import g from "../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
7
- import { httpHeaders as b } from "../../../data/httpHeaders.js";
8
- const C = {
5
+ import k from "../../../components/HelpfulLink.vue.js";
6
+ import b from "../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
7
+ import { httpHeaders as g } from "../../../data/httpHeaders.js";
8
+ const w = {
9
+ key: 0,
10
+ class: "border max-h-[calc(100%-32px)] overflow-y-auto rounded md:mx-1"
11
+ }, C = {
9
12
  key: 1,
10
13
  class: "text-c-3 px-4 text-sm border rounded min-h-12 justify-center flex items-center bg-b-1 mx-1"
11
- }, D = /* @__PURE__ */ _({
14
+ }, R = /* @__PURE__ */ _({
12
15
  __name: "ResponseHeaders",
13
16
  props: {
14
17
  headers: {}
15
18
  },
16
- setup(w) {
17
- const l = (r) => b.find(
18
- (n) => n.name.toLowerCase() === r.toLowerCase()
19
+ setup(v) {
20
+ const d = (r) => g.find(
21
+ (a) => a.name.toLowerCase() === r.toLowerCase()
19
22
  );
20
- return (r, n) => (e(), o(g, {
23
+ return (r, a) => (e(), n(b, {
24
+ class: "overflow-scroll",
21
25
  defaultOpen: !1,
22
26
  itemCount: r.headers.length
23
27
  }, {
24
- title: t(() => n[0] || (n[0] = [
25
- s("Headers")
28
+ title: t(() => a[0] || (a[0] = [
29
+ l("Headers")
26
30
  ])),
27
31
  default: t(() => [
28
- r.headers.length ? (e(), o(h, {
29
- key: 0,
30
- columns: ["minmax(auto, min-content)", "minmax(50%, 1fr)"],
31
- scroll: ""
32
- }, {
33
- default: t(() => [
34
- (e(!0), m(i, null, x(r.headers, (a, p) => (e(), o(k, {
35
- key: p,
36
- class: "text-c-1"
37
- }, {
38
- default: t(() => [
39
- d(u, { class: "sticky left-0 z-1 bg-b-1 max-w-48" }, {
40
- default: t(() => {
41
- var f;
42
- return [
43
- typeof ((f = l(a.name)) == null ? void 0 : f.url) == "string" ? (e(), o(y, {
44
- key: 0,
45
- class: "decoration-c-3",
46
- href: l(a.name).url
47
- }, {
48
- default: t(() => [
49
- s(c(a.name), 1)
50
- ]),
51
- _: 2
52
- }, 1032, ["href"])) : (e(), m(i, { key: 1 }, [
53
- s(c(a.name), 1)
54
- ], 64))
55
- ];
56
- }),
57
- _: 2
58
- }, 1024),
59
- d(u, {
60
- class: "z-0",
61
- text: a.value
62
- }, null, 8, ["text"])
63
- ]),
64
- _: 2
65
- }, 1024))), 128))
66
- ]),
67
- _: 1
68
- })) : (e(), m("div", C, " No Headers "))
32
+ r.headers.length ? (e(), s("div", w, [
33
+ m(h, {
34
+ class: "!border-0 !mx-0",
35
+ columns: ["minmax(auto, min-content)", "minmax(50%, 1fr)"],
36
+ scroll: ""
37
+ }, {
38
+ default: t(() => [
39
+ (e(!0), s(f, null, x(r.headers, (o, p) => (e(), n(y, {
40
+ key: p,
41
+ class: "text-c-1"
42
+ }, {
43
+ default: t(() => [
44
+ m(u, { class: "sticky left-0 z-1 bg-b-1 max-w-48" }, {
45
+ default: t(() => {
46
+ var c;
47
+ return [
48
+ typeof ((c = d(o.name)) == null ? void 0 : c.url) == "string" ? (e(), n(k, {
49
+ key: 0,
50
+ class: "decoration-c-3",
51
+ href: d(o.name).url
52
+ }, {
53
+ default: t(() => [
54
+ l(i(o.name), 1)
55
+ ]),
56
+ _: 2
57
+ }, 1032, ["href"])) : (e(), s(f, { key: 1 }, [
58
+ l(i(o.name), 1)
59
+ ], 64))
60
+ ];
61
+ }),
62
+ _: 2
63
+ }, 1024),
64
+ m(u, {
65
+ class: "z-0",
66
+ text: o.value
67
+ }, null, 8, ["text"])
68
+ ]),
69
+ _: 2
70
+ }, 1024))), 128))
71
+ ]),
72
+ _: 1
73
+ })
74
+ ])) : (e(), s("div", C, " No Headers "))
69
75
  ]),
70
76
  _: 1
71
77
  }, 8, ["itemCount"]));
72
78
  }
73
79
  });
74
80
  export {
75
- D as default
81
+ R as default
76
82
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ResponseMetaInformation.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/ResponseSection/ResponseMetaInformation.vue"],"names":[],"mappings":"AA0EA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAA;AAQvE,KAAK,WAAW,GAAG;IAAE,QAAQ,EAAE,gBAAgB,CAAA;CAAE,CAAC;;AAqIlD,wBAOG"}
1
+ {"version":3,"file":"ResponseMetaInformation.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/ResponseSection/ResponseMetaInformation.vue"],"names":[],"mappings":"AA+EA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAA;AAQvE,KAAK,WAAW,GAAG;IAAE,QAAQ,EAAE,gBAAgB,CAAA;CAAE,CAAC;;AAyIlD,wBAOG"}
@@ -1,50 +1,57 @@
1
- import { defineComponent as y, ref as i, computed as g, openBlock as t, createElementBlock as s, toDisplayString as o, unref as m, Fragment as d, createElementVNode as C, createCommentVNode as v, createBlock as I, withCtx as B, createTextVNode as S } from "vue";
1
+ import { defineComponent as I, ref as v, computed as S, openBlock as s, createElementBlock as o, toDisplayString as n, unref as c, Fragment as f, createElementVNode as u, createTextVNode as p, createCommentVNode as y, createBlock as _, withCtx as B } from "vue";
2
2
  import L from "../../../components/HelpfulLink.vue.js";
3
3
  import { httpStatusCodes as N } from "@scalar/oas-utils/helpers";
4
4
  import V from "pretty-bytes";
5
- import f from "pretty-ms";
5
+ import h from "pretty-ms";
6
6
  import { useWorkspace as w } from "../../../store/store.js";
7
- const E = { class: "flex gap-1.5 text-c-1" }, M = { key: 0 }, q = { key: 0 }, x = { key: 1 }, b = /* @__PURE__ */ y({
7
+ const D = { class: "flex gap-1.5 text-c-1" }, E = { key: 0 }, M = { key: 0 }, R = { key: 1 }, $ = /* @__PURE__ */ I({
8
8
  __name: "ResponseMetaInformation",
9
9
  props: {
10
10
  response: {}
11
11
  },
12
- setup(h) {
13
- const _ = h, { events: k } = w(), r = i(), a = i(0);
14
- k.requestStatus.on((e) => {
15
- e === "start" ? r.value = setInterval(() => a.value += 1e3, 1e3) : (clearInterval(r.value), r.value = void 0, a.value = 0);
12
+ setup(k) {
13
+ const g = k, { events: C } = w(), a = v(), l = v(0);
14
+ C.requestStatus.on((e) => {
15
+ e === "start" ? a.value = setInterval(() => l.value += 1e3, 1e3) : (clearInterval(a.value), a.value = void 0, l.value = 0);
16
16
  });
17
- const l = (e) => {
18
- var p, c;
19
- const u = parseInt(
20
- ((p = e.headers) == null ? void 0 : p["Content-Length"]) || ((c = e.headers) == null ? void 0 : c["content-length"]) || "0",
17
+ const i = (e) => {
18
+ var m, d;
19
+ const t = parseInt(
20
+ ((m = e.headers) == null ? void 0 : m["Content-Length"]) || ((d = e.headers) == null ? void 0 : d["content-length"]) || "0",
21
21
  10
22
22
  );
23
- return u ? V(u) : void 0;
24
- }, n = g(() => {
25
- const e = _.response.status;
23
+ return t ? V(t) : void 0;
24
+ }, r = S(() => {
25
+ const e = g.response.status;
26
26
  if (e)
27
27
  return N[e] ?? void 0;
28
28
  });
29
- return (e, u) => (t(), s("div", E, [
30
- r.value && a.value ? (t(), s("span", M, o(m(f)(a.value)), 1)) : (t(), s(d, { key: 1 }, [
31
- C("span", null, o(m(f)(e.response.duration)), 1),
32
- l(e.response) ? (t(), s("span", q, o(l(e.response)), 1)) : v("", !0),
33
- n.value ? (t(), s(d, { key: 1 }, [
34
- n.value.url ? (t(), I(L, {
29
+ return (e, t) => (s(), o("div", D, [
30
+ a.value && l.value ? (s(), o("span", E, n(c(h)(l.value)), 1)) : (s(), o(f, { key: 1 }, [
31
+ u("span", null, [
32
+ t[0] || (t[0] = u("span", { class: "sr-only" }, "Response Information, Duration:", -1)),
33
+ p(" " + n(c(h)(e.response.duration)), 1)
34
+ ]),
35
+ i(e.response) ? (s(), o("span", M, [
36
+ t[1] || (t[1] = u("span", { class: "sr-only" }, ", Size:", -1)),
37
+ p(" " + n(i(e.response)), 1)
38
+ ])) : y("", !0),
39
+ r.value ? (s(), o(f, { key: 1 }, [
40
+ t[2] || (t[2] = u("span", { class: "sr-only" }, ", Status:", -1)),
41
+ r.value.url ? (s(), _(L, {
35
42
  key: 0,
36
- href: n.value.url
43
+ href: r.value.url
37
44
  }, {
38
45
  default: B(() => [
39
- S(o(e.response.status) + " " + o(n.value.name), 1)
46
+ p(n(e.response.status) + " " + n(r.value.name), 1)
40
47
  ]),
41
48
  _: 1
42
- }, 8, ["href"])) : (t(), s("span", x, o(e.response.status) + " " + o(n.value.name), 1))
43
- ], 64)) : v("", !0)
49
+ }, 8, ["href"])) : (s(), o("span", R, n(e.response.status) + " " + n(r.value.name), 1))
50
+ ], 64)) : y("", !0)
44
51
  ], 64))
45
52
  ]));
46
53
  }
47
54
  });
48
55
  export {
49
- b as default
56
+ $ as default
50
57
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ResponseSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/ResponseSection/ResponseSection.vue"],"names":[],"mappings":"AA4JA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAA;AASvE,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,gBAAgB,GAAG,SAAS,CAAA;CACvC,CAAC;;AA0OF,wBAOG"}
1
+ {"version":3,"file":"ResponseSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/ResponseSection/ResponseSection.vue"],"names":[],"mappings":"AA6MA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAA;AASvE,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,gBAAgB,GAAG,SAAS,CAAA;CACvC,CAAC;;AA2RF,wBAOG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./ResponseSection.vue2.js";
2
2
  /* empty css */
3
3
  import e from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-f15e1ace"]]);
4
+ const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-ec63eb00"]]);
5
5
  export {
6
6
  s as default
7
7
  };