@scalar/api-client 2.1.45 → 2.1.46

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 (145) hide show
  1. package/CHANGELOG.md +23 -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/ContextBar.vue.d.ts +1 -1
  13. package/dist/components/ContextBar.vue.d.ts.map +1 -1
  14. package/dist/components/ContextBar.vue.js +2 -2
  15. package/dist/components/ContextBar.vue2.js +30 -19
  16. package/dist/components/DataTable/DataTableCheckbox.vue.d.ts.map +1 -1
  17. package/dist/components/DataTable/DataTableCheckbox.vue.js +17 -17
  18. package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
  19. package/dist/components/DataTable/DataTableInput.vue.js +2 -2
  20. package/dist/components/DataTable/DataTableInput.vue2.js +10 -10
  21. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts.map +1 -1
  22. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +8 -8
  23. package/dist/components/Form/Form.vue.js +15 -15
  24. package/dist/components/HttpMethod/HttpMethod.vue.d.ts +2 -2
  25. package/dist/components/ImportCollection/ImportNowButton.vue.d.ts.map +1 -1
  26. package/dist/components/ImportCollection/ImportNowButton.vue.js +14 -13
  27. package/dist/components/Search/useSearch.d.ts +2 -0
  28. package/dist/components/Search/useSearch.d.ts.map +1 -1
  29. package/dist/components/Search/useSearch.js +25 -24
  30. package/dist/components/SideNav/DownloadAppButton.vue.d.ts +3 -0
  31. package/dist/components/SideNav/DownloadAppButton.vue.d.ts.map +1 -0
  32. package/dist/components/SideNav/DownloadAppButton.vue.js +7 -0
  33. package/dist/components/SideNav/DownloadAppButton.vue2.js +33 -0
  34. package/dist/components/SideNav/SideHelp.vue.d.ts.map +1 -1
  35. package/dist/components/SideNav/SideHelp.vue.js +55 -53
  36. package/dist/components/SideNav/SideNav.vue.d.ts.map +1 -1
  37. package/dist/components/SideNav/SideNav.vue.js +82 -5
  38. package/dist/components/SideNav/SideNav.vue2.js +2 -72
  39. package/dist/components/SideNav/SideNavGroup.vue.d.ts +18 -0
  40. package/dist/components/SideNav/SideNavGroup.vue.d.ts.map +1 -0
  41. package/dist/components/SideNav/SideNavGroup.vue.js +16 -0
  42. package/dist/components/SideNav/SideNavGroup.vue2.js +4 -0
  43. package/dist/components/SideNav/SideNavLink.vue.d.ts +5 -5
  44. package/dist/components/SideNav/SideNavLink.vue.d.ts.map +1 -1
  45. package/dist/components/SideNav/SideNavLink.vue.js +31 -34
  46. package/dist/components/SideNav/SideNavRouterLink.vue.d.ts +25 -0
  47. package/dist/components/SideNav/SideNavRouterLink.vue.d.ts.map +1 -0
  48. package/dist/components/SideNav/SideNavRouterLink.vue.js +29 -0
  49. package/dist/components/SideNav/SideNavRouterLink.vue2.js +4 -0
  50. package/dist/components/Sidebar/SidebarButton.vue.d.ts +1 -4
  51. package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +1 -1
  52. package/dist/components/Sidebar/SidebarButton.vue.js +17 -17
  53. package/dist/components/Sidebar/SidebarToggle.vue.d.ts.map +1 -1
  54. package/dist/components/Sidebar/SidebarToggle.vue.js +16 -15
  55. package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
  56. package/dist/components/TopNav/TopNav.vue.js +2 -2
  57. package/dist/components/TopNav/TopNav.vue2.js +14 -14
  58. package/dist/components/TopNav/TopNavItem.vue.d.ts +2 -2
  59. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
  60. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +27 -27
  61. package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts.map +1 -1
  62. package/dist/components/ViewLayout/ViewLayoutSection.vue.js +13 -21
  63. package/dist/hooks/index.d.ts +2 -1
  64. package/dist/hooks/index.d.ts.map +1 -1
  65. package/dist/hooks/index.js +6 -4
  66. package/dist/hooks/useLayout.d.ts +13 -0
  67. package/dist/hooks/useLayout.d.ts.map +1 -0
  68. package/dist/hooks/useLayout.js +7 -0
  69. package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
  70. package/dist/layouts/App/ApiClientApp.vue.js +37 -37
  71. package/dist/layouts/App/MainLayout.vue.d.ts.map +1 -1
  72. package/dist/layouts/App/MainLayout.vue.js +21 -13
  73. package/dist/layouts/App/create-api-client-app.d.ts +28 -28
  74. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  75. package/dist/layouts/App/create-api-client-app.js +14 -13
  76. package/dist/layouts/Modal/ApiClientModal.vue.d.ts +3 -1
  77. package/dist/layouts/Modal/ApiClientModal.vue.d.ts.map +1 -1
  78. package/dist/layouts/Modal/ApiClientModal.vue.js +2 -2
  79. package/dist/layouts/Modal/ApiClientModal.vue2.js +37 -25
  80. package/dist/layouts/Modal/create-api-client-modal.d.ts +56 -56
  81. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  82. package/dist/layouts/Modal/create-api-client-modal.js +8 -7
  83. package/dist/layouts/Web/ApiClientWeb.vue.d.ts.map +1 -1
  84. package/dist/layouts/Web/ApiClientWeb.vue.js +30 -30
  85. package/dist/layouts/Web/create-api-client-web.d.ts +28 -28
  86. package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
  87. package/dist/layouts/Web/create-api-client-web.js +12 -11
  88. package/dist/libs/create-client.d.ts +35 -29
  89. package/dist/libs/create-client.d.ts.map +1 -1
  90. package/dist/libs/create-client.js +46 -45
  91. package/dist/libs/hot-keys.d.ts +1 -1
  92. package/dist/store/collections.d.ts +4 -4
  93. package/dist/store/cookies.d.ts +4 -4
  94. package/dist/store/request-example.d.ts +4 -4
  95. package/dist/store/requests.d.ts +4 -4
  96. package/dist/store/security-schemes.d.ts +4 -4
  97. package/dist/store/store.d.ts +56 -56
  98. package/dist/store/tags.d.ts +4 -4
  99. package/dist/store/workspace.d.ts +4 -4
  100. package/dist/style.css +1 -1
  101. package/dist/views/Cookies/CookieRaw.vue.js +10 -10
  102. package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
  103. package/dist/views/Cookies/Cookies.vue2.js +52 -53
  104. package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
  105. package/dist/views/Environment/Environment.vue2.js +79 -80
  106. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +2 -2
  107. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +146 -108
  108. package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
  109. package/dist/views/Request/RequestSection/RequestParams.vue.js +53 -52
  110. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
  111. package/dist/views/Request/RequestSection/RequestSection.vue.js +1 -1
  112. package/dist/views/Request/RequestSection/RequestSection.vue2.js +102 -97
  113. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +2 -2
  114. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
  115. package/dist/views/Request/RequestSection/RequestTable.vue.js +2 -2
  116. package/dist/views/Request/RequestSection/RequestTable.vue2.js +44 -40
  117. package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
  118. package/dist/views/Request/RequestSidebar.vue.js +2 -2
  119. package/dist/views/Request/RequestSidebar.vue2.js +152 -134
  120. package/dist/views/Request/RequestSidebarItem.vue.d.ts +2 -2
  121. package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
  122. package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
  123. package/dist/views/Request/RequestSidebarItem.vue2.js +103 -102
  124. package/dist/views/Request/RequestSubpageHeader.vue.d.ts.map +1 -1
  125. package/dist/views/Request/RequestSubpageHeader.vue.js +1 -1
  126. package/dist/views/Request/RequestSubpageHeader.vue2.js +36 -34
  127. package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.d.ts.map +1 -1
  128. package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.js +13 -10
  129. package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.d.ts.map +1 -1
  130. package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.js +1 -1
  131. package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue2.js +0 -2
  132. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +1 -1
  133. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +3 -3
  134. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +32 -33
  135. package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.d.ts.map +1 -1
  136. package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.js +32 -25
  137. package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
  138. package/dist/views/Request/ResponseSection/ResponseSection.vue.js +2 -2
  139. package/dist/views/Request/ResponseSection/ResponseSection.vue2.js +47 -46
  140. package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -1
  141. package/dist/views/Request/components/WorkspaceDropdown.vue.js +1 -1
  142. package/package.json +8 -6
  143. package/dist/components/ViewLayout/ViewLayoutSection.vue2.js +0 -4
  144. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts +0 -7
  145. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +0 -1
@@ -1,13 +1,13 @@
1
- import { defineComponent as ne, useCssVars as re, computed as c, ref as le, resolveComponent as se, openBlock as p, createElementBlock as k, normalizeClass as f, unref as n, createVNode as h, withCtx as g, createBlock as v, withModifiers as R, createElementVNode as a, toDisplayString as M, createCommentVNode as b, createTextVNode as j, renderSlot as ae, Fragment as oe, renderList as de } from "vue";
2
- import { PathId as ue } from "../../router.js";
3
- import { ScalarButton as T, ScalarIcon as x, ScalarTooltip as pe } from "@scalar/components";
1
+ import { defineComponent as ne, useCssVars as se, computed as c, ref as re, resolveComponent as le, openBlock as p, createElementBlock as k, normalizeClass as f, unref as n, createVNode as h, withCtx as g, createBlock as v, withModifiers as M, createElementVNode as a, toDisplayString as T, createCommentVNode as b, createTextVNode as P, renderSlot as ae, Fragment as oe, renderList as ue } from "vue";
2
+ import { PathId as de } from "../../router.js";
3
+ import { ScalarButton as $, ScalarIcon as y, ScalarTooltip as pe } from "@scalar/components";
4
4
  import { Draggable as fe } from "@scalar/draggable";
5
5
  import { RouterLink as me } from "vue-router";
6
6
  import ce from "../../components/HttpMethod/HttpMethod.vue.js";
7
7
  import { useSidebar as ge } from "../../hooks/useSidebar.js";
8
8
  import { getModifiers as ve } from "../../libs/hot-keys.js";
9
9
  import { useWorkspace as be } from "../../store/store.js";
10
- const he = { class: "flex flex-row gap-1 items-center" }, xe = { class: "relative" }, ye = { class: "flex items-start" }, we = { class: "flex h-5 items-center justify-center max-w-[14px]" }, ke = { class: "flex flex-1 flex-row justify-between editable-sidebar-hover" }, Ue = { class: "relative flex h-fit" }, qe = { class: "grid gap-1.5 pointer-events-none max-w-10 w-content shadow-lg rounded bg-b-1 z-100 p-2 text-xxs leading-5 z-10 text-c-1" }, De = { class: "flex items-center text-c-2" }, Ce = { class: "text-pretty break-all" }, Re = { key: 2 }, B = "hover:bg-sidebar-active-b indent-padding-left", je = /* @__PURE__ */ ne({
10
+ const he = { class: "flex flex-row gap-1 items-center" }, ye = { class: "relative" }, xe = { class: "flex items-start" }, we = ["aria-expanded"], ke = { class: "flex h-5 items-center justify-center max-w-[14px]" }, Ue = { class: "flex flex-1 flex-row justify-between editable-sidebar-hover" }, qe = { class: "relative flex h-fit" }, De = { class: "grid gap-1.5 pointer-events-none max-w-10 w-content shadow-lg rounded bg-b-1 z-100 p-2 text-xxs leading-5 z-10 text-c-1" }, Ce = { class: "flex items-center text-c-2" }, Re = { class: "text-pretty break-all" }, Me = { key: 2 }, j = "hover:bg-sidebar-active-b indent-padding-left", je = /* @__PURE__ */ ne({
11
11
  __name: "RequestSidebarItem",
12
12
  props: {
13
13
  isDraggable: { type: Boolean, default: !1 },
@@ -17,32 +17,32 @@ const he = { class: "flex flex-row gap-1 items-center" }, xe = { class: "relativ
17
17
  menuItem: {}
18
18
  },
19
19
  emits: ["onDragEnd", "newTab", "openMenu"],
20
- setup(P, { emit: V }) {
21
- re((e) => ({
22
- "2ec00a5e": K.value,
23
- "5f4d32c0": Q.value
20
+ setup(B, { emit: V }) {
21
+ se((e) => ({
22
+ "3fa247ad": K.value,
23
+ cfd41a1e: Q.value
24
24
  }));
25
- const r = P, W = V, {
25
+ const s = B, W = V, {
26
26
  activeCollection: A,
27
- activeRequest: $,
27
+ activeRequest: I,
28
28
  activeRouterParams: F,
29
- activeWorkspace: y,
29
+ activeWorkspace: x,
30
30
  collections: U,
31
31
  tags: Y,
32
32
  isReadOnly: m,
33
- requests: I,
33
+ requests: E,
34
34
  requestExamples: q,
35
35
  collectionMutators: D,
36
- tagMutators: E,
37
- requestMutators: S,
38
- requestExampleMutators: z,
36
+ tagMutators: S,
37
+ requestMutators: z,
38
+ requestExampleMutators: N,
39
39
  router: H,
40
40
  events: L
41
- } = be(), { collapsedSidebarFolders: N, toggleSidebarFolder: G } = ge(), i = c(() => {
42
- var s, u;
43
- const e = U[r.uid], t = Y[r.uid], l = I[r.uid], o = q[r.uid];
41
+ } = be(), { collapsedSidebarFolders: C, toggleSidebarFolder: G } = ge(), i = c(() => {
42
+ var l, d;
43
+ const e = U[s.uid], t = Y[s.uid], r = E[s.uid], o = q[s.uid];
44
44
  return e ? {
45
- title: ((s = e.info) == null ? void 0 : s.title) ?? "Unknown title",
45
+ title: ((l = e.info) == null ? void 0 : l.title) ?? "Unknown title",
46
46
  entity: e,
47
47
  resourceTitle: "Collection",
48
48
  children: e.children,
@@ -50,65 +50,65 @@ const he = { class: "flex flex-row gap-1 items-center" }, xe = { class: "relativ
50
50
  documentUrl: e.documentUrl,
51
51
  watchMode: e.watchMode,
52
52
  warning: "This cannot be undone. You’re about to delete the collection and all folders and requests inside it.",
53
- edit: (d, w) => {
54
- D.edit(e.uid, "info.title", d), w && D.edit(e.uid, "x-scalar-icon", w);
53
+ edit: (u, w) => {
54
+ D.edit(e.uid, "info.title", u), w && D.edit(e.uid, "x-scalar-icon", w);
55
55
  },
56
- delete: () => D.delete(e, y.value)
56
+ delete: () => D.delete(e, x.value)
57
57
  } : t ? {
58
58
  title: t.name,
59
59
  entity: t,
60
60
  resourceTitle: "Tag",
61
61
  children: t.children,
62
62
  warning: "This cannot be undone. You’re about to delete the tag and all requests inside it",
63
- edit: (d) => E.edit(t.uid, "name", d),
64
- delete: () => E.delete(t, r.parentUids[0])
65
- } : l ? {
66
- title: l.summary ?? [l.method, l.path].join(" - "),
67
- link: `/workspace/${y.value.uid}/request/${l.uid}`,
68
- method: l.method,
69
- entity: l,
63
+ edit: (u) => S.edit(t.uid, "name", u),
64
+ delete: () => S.delete(t, s.parentUids[0])
65
+ } : r ? {
66
+ title: r.summary ?? [r.method, r.path].join(" - "),
67
+ link: `/workspace/${x.value.uid}/request/${r.uid}`,
68
+ method: r.method,
69
+ entity: r,
70
70
  resourceTitle: "Request",
71
71
  warning: "This cannot be undone. You’re about to delete the request.",
72
- children: l.examples,
73
- edit: (d) => S.edit(l.uid, "summary", d),
74
- delete: () => S.delete(l, r.parentUids[0])
72
+ children: r.examples,
73
+ edit: (u) => z.edit(r.uid, "summary", u),
74
+ delete: () => z.delete(r, s.parentUids[0])
75
75
  } : {
76
76
  title: o.name,
77
- link: `/workspace/${y.value.uid}/request/${o.requestUid}/examples/${o.uid}`,
78
- method: (u = I[o.requestUid]) == null ? void 0 : u.method,
77
+ link: `/workspace/${x.value.uid}/request/${o.requestUid}/examples/${o.uid}`,
78
+ method: (d = E[o.requestUid]) == null ? void 0 : d.method,
79
79
  entity: o,
80
80
  resourceTitle: "Example",
81
81
  warning: "This cannot be undone. You’re about to delete the example from the request.",
82
82
  children: [],
83
- edit: (d) => z.edit(o.uid, "name", d),
84
- delete: () => z.delete(o)
83
+ edit: (u) => N.edit(o.uid, "name", u),
84
+ delete: () => N.delete(o)
85
85
  };
86
86
  }), J = c(
87
87
  () => i.value.entity.type === "collection" && i.value.title === "Drafts"
88
- ), K = c(() => r.parentUids.length ? m.value ? `${(r.parentUids.length - 1) * 12}px` : `${r.parentUids.length * 12}px` : "12px"), Q = c(() => r.parentUids.length ? m.value ? `${(r.parentUids.length - 1) * 12}px` : `${r.parentUids.length * 12}px` : "0px"), X = c(
88
+ ), K = c(() => s.parentUids.length ? m.value ? `${(s.parentUids.length - 1) * 12}px` : `${s.parentUids.length * 12}px` : "12px"), Q = c(() => s.parentUids.length ? m.value ? `${(s.parentUids.length - 1) * 12}px` : `${s.parentUids.length * 12}px` : "0px"), X = c(
89
89
  () => {
90
90
  var e;
91
- return N[r.uid] || ((e = $.value) == null ? void 0 : e.uid) === r.uid && i.value.entity.examples.length > 1;
91
+ return C[s.uid] || ((e = I.value) == null ? void 0 : e.uid) === s.uid && i.value.entity.examples.length > 1;
92
92
  }
93
93
  ), Z = c(
94
94
  () => {
95
95
  var e;
96
- return F.value[ue.Request] === "default" && ((e = $.value) == null ? void 0 : e.uid) === r.uid;
96
+ return F.value[de.Request] === "default" && ((e = I.value) == null ? void 0 : e.uid) === s.uid;
97
97
  }
98
- ), C = le(null), O = c(() => {
98
+ ), R = re(null), O = c(() => {
99
99
  let e = 0.5, t = 0.5;
100
- if (!C.value) return { ceiling: e, floor: t };
101
- const { draggingItem: l } = C.value;
102
- return !U[l == null ? void 0 : l.id] && i.value.entity.type === "collection" ? (e = 1, t = 0) : i.value.entity.type === "tag" && (e = 0.8, t = 0.2), { ceiling: e, floor: t };
103
- }), _ = (e, t) => !(y.value.isReadOnly || q[t.id] || U[e.id]), ee = (e, t) => {
104
- e && (ve(["default"]).some((s) => e[s]) ? W("newTab", t.title || "", t.entity.uid) : t.link && H.push(t.link));
100
+ if (!R.value) return { ceiling: e, floor: t };
101
+ const { draggingItem: r } = R.value;
102
+ return !U[r == null ? void 0 : r.id] && i.value.entity.type === "collection" ? (e = 1, t = 0) : i.value.entity.type === "tag" && (e = 0.8, t = 0.2), { ceiling: e, floor: t };
103
+ }), _ = (e, t) => !(x.value.isReadOnly || q[t.id] || U[e.id]), ee = (e, t) => {
104
+ e && (ve(["default"]).some((l) => e[l]) ? W("newTab", t.title || "", t.entity.uid) : t.link && H.push(t.link));
105
105
  };
106
106
  function te() {
107
107
  L.commandPalette.emit({
108
108
  commandName: "Create Request",
109
109
  metaData: {
110
- itemUid: r.uid,
111
- parentUid: r.parentUids[0]
110
+ itemUid: s.uid,
111
+ parentUid: s.parentUids[0]
112
112
  }
113
113
  });
114
114
  }
@@ -117,8 +117,8 @@ const he = { class: "flex flex-row gap-1 items-center" }, xe = { class: "relativ
117
117
  return e !== i.value.entity.uid ? "text-c-3" : t === "WATCHING" ? "text-c-1" : t === "ERROR" ? "text-red" : "text-c-3";
118
118
  });
119
119
  return (e, t) => {
120
- const l = se("RequestSidebarItem", !0);
121
- return p(), k("div", {
120
+ const r = le("RequestSidebarItem", !0);
121
+ return p(), k("li", {
122
122
  class: f(["relative flex flex-row", [
123
123
  n(m) && e.parentUids.length > 1 || !n(m) && e.parentUids.length ? "before:bg-border before:pointer-events-none before:z-1 before:absolute before:left-[calc(.75rem_+_.5px)] before:top-0 before:h-[calc(100%_+_.5px)] last:before:h-full before:w-[.5px] mb-[.5px] last:mb-0 indent-border-line-offset" : ""
124
124
  ]])
@@ -126,7 +126,7 @@ const he = { class: "flex flex-row gap-1 items-center" }, xe = { class: "relativ
126
126
  h(n(fe), {
127
127
  id: i.value.entity.uid,
128
128
  ref_key: "draggableRef",
129
- ref: C,
129
+ ref: R,
130
130
  ceiling: O.value.ceiling,
131
131
  class: "flex flex-1 flex-col gap-[.5px] text-sm",
132
132
  floor: O.value.floor,
@@ -140,39 +140,38 @@ const he = { class: "flex flex-row gap-1 items-center" }, xe = { class: "relativ
140
140
  return [
141
141
  i.value.link ? (p(), v(n(me), {
142
142
  key: 0,
143
- class: "no-underline",
143
+ class: "group no-underline",
144
144
  to: i.value.link,
145
- onClick: t[1] || (t[1] = R(
146
- (s) => ee(s, i.value),
145
+ onClick: t[1] || (t[1] = M(
146
+ (l) => ee(l, i.value),
147
147
  ["prevent"]
148
148
  ))
149
149
  }, {
150
- default: g(({ isExactActive: s }) => {
151
- var u, d;
150
+ default: g(({ isExactActive: l }) => {
151
+ var d, u;
152
152
  return [
153
153
  a("div", {
154
- class: f(["group relative flex min-h-8 cursor-pointer flex-row items-start justify-between gap-2 py-1.5 pr-2 rounded editable-sidebar-hover w-full", [
155
- B,
156
- s || Z.value ? "bg-sidebar-active-b text-sidebar-active-c transition-none" : "text-sidebar-c-2"
157
- ]]),
158
- tabindex: "0"
154
+ class: f(["relative flex min-h-8 cursor-pointer flex-row items-start justify-between gap-2 py-1.5 pr-2 rounded editable-sidebar-hover w-full", [
155
+ j,
156
+ l || Z.value ? "bg-sidebar-active-b text-sidebar-active-c transition-none" : "text-sidebar-c-2"
157
+ ]])
159
158
  }, [
160
159
  a("span", {
161
160
  class: f(["line-clamp-3 font-medium w-full pl-2 word-break-break-word", {
162
161
  "editable-sidebar-hover-item": !n(m)
163
162
  }])
164
- }, M(i.value.title), 3),
163
+ }, T(i.value.title), 3),
165
164
  a("div", he, [
166
- a("div", xe, [
167
- n(m) ? b("", !0) : (p(), v(n(T), {
165
+ a("div", ye, [
166
+ n(m) ? b("", !0) : (p(), v(n($), {
168
167
  key: 0,
169
- class: f(["px-0.5 py-0 hover:bg-b-3 hidden group-hover:flex absolute -translate-y-1/2 right-0 aspect-square inset-y-2/4 h-fit", {
170
- flex: ((d = (u = e.menuItem) == null ? void 0 : u.item) == null ? void 0 : d.entity.uid) === i.value.entity.uid && e.menuItem.open
168
+ class: f(["px-0.5 py-0 hover:bg-b-3 opacity-0 group-hover:opacity-100 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100 absolute -translate-y-1/2 right-0 aspect-square inset-y-2/4 h-fit", {
169
+ flex: ((u = (d = e.menuItem) == null ? void 0 : d.item) == null ? void 0 : u.entity.uid) === i.value.entity.uid && e.menuItem.open
171
170
  }]),
172
171
  size: "sm",
173
172
  type: "button",
174
173
  variant: "ghost",
175
- onClick: t[0] || (t[0] = R(
174
+ onClick: t[0] || (t[0] = M(
176
175
  (w) => e.$emit("openMenu", {
177
176
  item: i.value,
178
177
  parentUids: e.parentUids,
@@ -183,7 +182,7 @@ const he = { class: "flex flex-row gap-1 items-center" }, xe = { class: "relativ
183
182
  ))
184
183
  }, {
185
184
  default: g(() => [
186
- h(n(x), {
185
+ h(n(y), {
187
186
  icon: "Ellipses",
188
187
  size: "sm"
189
188
  })
@@ -191,8 +190,9 @@ const he = { class: "flex flex-row gap-1 items-center" }, xe = { class: "relativ
191
190
  _: 1
192
191
  }, 8, ["class"]))
193
192
  ]),
194
- a("span", ye, [
195
- t[9] || (t[9] = j("   ")),
193
+ a("span", xe, [
194
+ t[9] || (t[9] = P("   ")),
195
+ t[10] || (t[10] = a("span", { class: "sr-only" }, "HTTP Method:", -1)),
196
196
  i.value.method ? (p(), v(n(ce), {
197
197
  key: 0,
198
198
  class: "font-bold",
@@ -206,18 +206,19 @@ const he = { class: "flex flex-row gap-1 items-center" }, xe = { class: "relativ
206
206
  _: 1
207
207
  }, 8, ["to"])) : !n(m) || e.parentUids.length ? (p(), k("button", {
208
208
  key: 1,
209
- class: f(["hover:bg-b-2 group relative flex w-full flex-row justify-start gap-1.5 rounded p-1.5", B]),
209
+ "aria-expanded": n(C)[i.value.entity.uid],
210
+ class: f(["hover:bg-b-2 group relative flex w-full flex-row justify-start gap-1.5 rounded p-1.5 focus-visible:z-10", j]),
210
211
  type: "button",
211
- onClick: t[3] || (t[3] = (s) => n(G)(i.value.entity.uid))
212
+ onClick: t[3] || (t[3] = (l) => n(G)(i.value.entity.uid))
212
213
  }, [
213
- a("span", we, [
214
+ a("span", ke, [
214
215
  ae(e.$slots, "leftIcon", {}, () => [
215
216
  a("div", {
216
217
  class: f({
217
- "rotate-90": n(N)[i.value.entity.uid]
218
+ "rotate-90": n(C)[i.value.entity.uid]
218
219
  })
219
220
  }, [
220
- h(n(x), {
221
+ h(n(y), {
221
222
  class: "text-c-3 text-sm",
222
223
  icon: "ChevronRight",
223
224
  size: "sm",
@@ -225,35 +226,35 @@ const he = { class: "flex flex-row gap-1 items-center" }, xe = { class: "relativ
225
226
  })
226
227
  ], 2)
227
228
  ], !0),
228
- t[10] || (t[10] = j("   "))
229
+ t[11] || (t[11] = P("   "))
229
230
  ]),
230
- a("div", ke, [
231
+ a("div", Ue, [
231
232
  a("span", {
232
233
  class: f(["line-clamp-3 font-medium text-left w-full word-break-break-word", {
233
234
  "editable-sidebar-hover-item": !n(m)
234
235
  }])
235
- }, M(i.value.title), 3),
236
- a("div", Ue, [
237
- !n(m) && !J.value ? (p(), v(n(T), {
236
+ }, T(i.value.title), 3),
237
+ a("div", qe, [
238
+ !n(m) && !J.value ? (p(), v(n($), {
238
239
  key: 0,
239
- class: f(["px-0.5 py-0 hover:bg-b-3 hidden group-hover:flex absolute -translate-y-1/2 right-0 aspect-square inset-y-2/4 h-fit", {
240
+ class: f(["px-0.5 py-0 hover:bg-b-3 opacity-0 group-hover:opacity-100 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100 absolute -translate-y-1/2 right-0 aspect-square inset-y-2/4 h-fit", {
240
241
  flex: ((o = e.menuItem.item) == null ? void 0 : o.entity.uid) === i.value.entity.uid && e.menuItem.open,
241
242
  "right-5": i.value.watchMode
242
243
  }]),
243
244
  size: "sm",
244
245
  variant: "ghost",
245
- onClick: t[2] || (t[2] = R(
246
- (s) => e.$emit("openMenu", {
246
+ onClick: t[2] || (t[2] = M(
247
+ (l) => e.$emit("openMenu", {
247
248
  item: i.value,
248
249
  parentUids: e.parentUids,
249
- targetRef: s.currentTarget.parentNode,
250
+ targetRef: l.currentTarget.parentNode,
250
251
  open: !0
251
252
  }),
252
253
  ["stop", "prevent"]
253
254
  ))
254
255
  }, {
255
256
  default: g(() => [
256
- h(n(x), {
257
+ h(n(y), {
257
258
  icon: "Ellipses",
258
259
  size: "sm"
259
260
  })
@@ -266,7 +267,7 @@ const he = { class: "flex flex-row gap-1 items-center" }, xe = { class: "relativ
266
267
  sideOffset: 12
267
268
  }, {
268
269
  trigger: g(() => [
269
- h(n(x), {
270
+ h(n(y), {
270
271
  class: f(["text-sm", ie.value]),
271
272
  icon: "Watch",
272
273
  size: "sm",
@@ -274,43 +275,43 @@ const he = { class: "flex flex-row gap-1 items-center" }, xe = { class: "relativ
274
275
  }, null, 8, ["class"])
275
276
  ]),
276
277
  content: g(() => [
277
- a("div", qe, [
278
- a("div", De, [
279
- a("p", Ce, " Watching: " + M(i.value.documentUrl), 1)
278
+ a("div", De, [
279
+ a("div", Ce, [
280
+ a("p", Re, " Watching: " + T(i.value.documentUrl), 1)
280
281
  ])
281
282
  ])
282
283
  ]),
283
284
  _: 1
284
285
  })) : b("", !0),
285
- t[11] || (t[11] = a("span", null, " ", -1))
286
+ t[12] || (t[12] = a("span", null, " ", -1))
286
287
  ])
287
288
  ])
288
- ])) : b("", !0),
289
- X.value ? (p(), k("div", Re, [
290
- (p(!0), k(oe, null, de(i.value.children, (s) => (p(), v(l, {
291
- key: s,
292
- isDraggable: !n(q)[s],
289
+ ], 8, we)) : b("", !0),
290
+ X.value ? (p(), k("ul", Me, [
291
+ (p(!0), k(oe, null, ue(i.value.children, (l) => (p(), v(r, {
292
+ key: l,
293
+ isDraggable: !n(q)[l],
293
294
  isDroppable: _,
294
295
  menuItem: e.menuItem,
295
296
  parentUids: [...e.parentUids, e.uid],
296
- uid: s,
297
- onNewTab: t[4] || (t[4] = (u, d) => e.$emit("newTab", u, d)),
298
- onOnDragEnd: t[5] || (t[5] = (...u) => e.$emit("onDragEnd", ...u)),
299
- onOpenMenu: t[6] || (t[6] = (u) => e.$emit("openMenu", u))
297
+ uid: l,
298
+ onNewTab: t[4] || (t[4] = (d, u) => e.$emit("newTab", d, u)),
299
+ onOnDragEnd: t[5] || (t[5] = (...d) => e.$emit("onDragEnd", ...d)),
300
+ onOpenMenu: t[6] || (t[6] = (d) => e.$emit("openMenu", d))
300
301
  }, null, 8, ["isDraggable", "menuItem", "parentUids", "uid"]))), 128)),
301
- i.value.children.length === 0 ? (p(), v(n(T), {
302
+ i.value.children.length === 0 ? (p(), v(n($), {
302
303
  key: 0,
303
304
  class: f(["mb-[.5px] flex gap-1.5 h-8 text-c-1 py-0 justify-start text-xs w-full hover:bg-b-2", e.parentUids.length ? "pl-9" : ""]),
304
305
  variant: "ghost",
305
- onClick: t[7] || (t[7] = (s) => te())
306
+ onClick: t[7] || (t[7] = (l) => te())
306
307
  }, {
307
308
  default: g(() => [
308
- h(n(x), {
309
+ h(n(y), {
309
310
  class: "ml-0.5 h-2.5 w-2.5",
310
311
  icon: "Add",
311
312
  thickness: "3"
312
313
  }),
313
- t[12] || (t[12] = a("span", null, "Add Request", -1))
314
+ t[13] || (t[13] = a("span", null, "Add Request", -1))
314
315
  ]),
315
316
  _: 1
316
317
  }, 8, ["class"])) : b("", !0)
@@ -1 +1 @@
1
- {"version":3,"file":"RequestSubpageHeader.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/RequestSubpageHeader.vue"],"names":[],"mappings":"AAqGA,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,OAAO,CAAA;IACnB,UAAU,EAAE,OAAO,CAAA;CACpB,CAAC;;;;;;;;;;AAwOF,wBAQG"}
1
+ {"version":3,"file":"RequestSubpageHeader.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/RequestSubpageHeader.vue"],"names":[],"mappings":"AAuGA,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,OAAO,CAAA;IACnB,UAAU,EAAE,OAAO,CAAA;CACpB,CAAC;;;;;;;;;;AA4OF,wBAQG"}
@@ -1,7 +1,7 @@
1
1
  import e from "./RequestSubpageHeader.vue2.js";
2
2
  /* empty css */
3
3
  import o from "../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ o(e, [["__scopeId", "data-v-98729408"]]);
4
+ const p = /* @__PURE__ */ o(e, [["__scopeId", "data-v-d570aee1"]]);
5
5
  export {
6
6
  p as default
7
7
  };
@@ -1,77 +1,79 @@
1
- import { defineComponent as b, openBlock as l, createElementBlock as s, createElementVNode as d, createVNode as i, createBlock as a, unref as t, createCommentVNode as n } from "vue";
1
+ import { defineComponent as b, openBlock as l, createElementBlock as d, createElementVNode as n, createVNode as s, createBlock as a, unref as t, createCommentVNode as i } from "vue";
2
2
  import c from "../../components/AddressBar/AddressBar.vue.js";
3
- import k from "../../components/EnvironmentSelector/EnvironmentSelector.vue.js";
4
- import y from "../../components/Sidebar/SidebarToggle.vue.js";
3
+ import y from "../../components/EnvironmentSelector/EnvironmentSelector.vue.js";
4
+ import k from "../../components/Sidebar/SidebarToggle.vue.js";
5
5
  import { ScalarIcon as g } from "@scalar/components";
6
- import h from "./components/WorkspaceDropdown.vue.js";
7
- import C from "../../components/OpenApiClientButton.vue.js";
8
- import { useWorkspace as v } from "../../store/store.js";
9
- const w = { class: "lg:min-h-header flex items-center w-full justify-center p-2 pt-2 lg:pt-1 lg:p-1 flex-wrap t-app__top-container border-b-1/2" }, V = { class: "flex flex-row items-center gap-1 lg:px-1 lg:mb-0 lg:mb-0 mb-2 lg:flex-1 w-6/12" }, x = { class: "flex flex-row items-center gap-1 lg:px-2.5 lg:mb-0 mb-2 lg:flex-1 justify-end w-6/12" }, z = /* @__PURE__ */ b({
6
+ import C from "./components/WorkspaceDropdown.vue.js";
7
+ import v from "../../components/OpenApiClientButton.vue.js";
8
+ import { useWorkspace as w } from "../../store/store.js";
9
+ const V = { class: "lg:min-h-header flex items-center w-full justify-center p-2 pt-2 lg:pt-1 lg:p-1 flex-wrap t-app__top-container border-b-1/2" }, x = { class: "flex flex-row items-center gap-1 lg:px-1 lg:mb-0 lg:mb-0 mb-2 lg:flex-1 w-6/12" }, $ = { class: "flex flex-row items-center gap-1 lg:px-2.5 lg:mb-0 mb-2 lg:flex-1 justify-end w-6/12" }, A = /* @__PURE__ */ b({
10
10
  __name: "RequestSubpageHeader",
11
11
  props: {
12
12
  modelValue: { type: Boolean },
13
13
  isReadonly: { type: Boolean }
14
14
  },
15
15
  emits: ["update:modelValue", "hideModal", "importCurl"],
16
- setup($) {
17
- const { activeCollection: m } = v();
18
- return (e, o) => {
16
+ setup(h) {
17
+ const { activeCollection: m } = w();
18
+ return (o, e) => {
19
19
  var p, u, f;
20
- return l(), s("div", w, [
21
- d("div", V, [
22
- i(y, {
20
+ return l(), d("div", V, [
21
+ n("div", x, [
22
+ s(k, {
23
23
  class: "gitbook-hidden",
24
- modelValue: e.modelValue,
25
- "onUpdate:modelValue": o[0] || (o[0] = (r) => e.$emit("update:modelValue", r))
24
+ modelValue: o.modelValue,
25
+ "onUpdate:modelValue": e[0] || (e[0] = (r) => o.$emit("update:modelValue", r))
26
26
  }, null, 8, ["modelValue"]),
27
- e.isReadonly ? n("", !0) : (l(), a(t(h), { key: 0 })),
28
- o[4] || (o[4] = d("a", {
27
+ o.isReadonly ? i("", !0) : (l(), a(t(C), { key: 0 })),
28
+ e[4] || (e[4] = n("a", {
29
29
  class: "text-c-2 text-sm font-medium gitbook-show ml-.5 hover:text-c-1 border p-1 rounded hover:bg-b-3",
30
30
  href: "https://scalar.com/",
31
31
  target: "_blank"
32
32
  }, " Powered by Scalar.com ", -1))
33
33
  ]),
34
- i(c, {
35
- onImportCurl: o[1] || (o[1] = (r) => e.$emit("importCurl", r))
34
+ s(c, {
35
+ onImportCurl: e[1] || (e[1] = (r) => o.$emit("importCurl", r))
36
36
  }),
37
- d("div", x, [
38
- e.isReadonly ? n("", !0) : (l(), a(k, { key: 0 })),
39
- e.isReadonly && ((p = t(m)) != null && p.documentUrl) ? (l(), a(t(C), {
37
+ n("div", $, [
38
+ o.isReadonly ? i("", !0) : (l(), a(y, { key: 0 })),
39
+ o.isReadonly && ((p = t(m)) != null && p.documentUrl) ? (l(), a(t(v), {
40
40
  key: 1,
41
41
  buttonSource: "modal",
42
42
  class: "gitbook-hidden !w-fit lg:-mr-1",
43
43
  integration: (u = t(m)) == null ? void 0 : u.integration,
44
44
  url: (f = t(m)) == null ? void 0 : f.documentUrl
45
- }, null, 8, ["integration", "url"])) : n("", !0),
46
- e.isReadonly ? (l(), s("button", {
45
+ }, null, 8, ["integration", "url"])) : i("", !0),
46
+ o.isReadonly ? (l(), d("button", {
47
47
  key: 2,
48
48
  class: "app-exit-button p-2 rounded-full fixed right-2 top-2 gitbook-hidden",
49
49
  type: "button",
50
- onClick: o[2] || (o[2] = (r) => e.$emit("hideModal"))
50
+ onClick: e[2] || (e[2] = (r) => o.$emit("hideModal"))
51
51
  }, [
52
- i(t(g), {
52
+ s(t(g), {
53
53
  icon: "Close",
54
54
  size: "lg",
55
55
  thickness: "2"
56
- })
57
- ])) : n("", !0),
58
- e.isReadonly ? (l(), s("button", {
56
+ }),
57
+ e[5] || (e[5] = n("span", { class: "sr-only" }, "Close Client", -1))
58
+ ])) : i("", !0),
59
+ o.isReadonly ? (l(), d("button", {
59
60
  key: 3,
60
61
  class: "text-c-1 hover:bg-b-2 active:text-c-1 p-2 rounded -mr-1.5 gitbook-show",
61
62
  type: "button",
62
- onClick: o[3] || (o[3] = (r) => e.$emit("hideModal"))
63
+ onClick: e[3] || (e[3] = (r) => o.$emit("hideModal"))
63
64
  }, [
64
- i(t(g), {
65
+ s(t(g), {
65
66
  icon: "Close",
66
67
  size: "md",
67
68
  thickness: "1.75"
68
- })
69
- ])) : n("", !0)
69
+ }),
70
+ e[6] || (e[6] = n("span", { class: "sr-only" }, "Close Client", -1))
71
+ ])) : i("", !0)
70
72
  ])
71
73
  ]);
72
74
  };
73
75
  }
74
76
  });
75
77
  export {
76
- z as default
78
+ A as default
77
79
  };
@@ -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":"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
  };