@scalar/api-client 2.1.17 → 2.1.19

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 (194) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/dist/components/AddressBar/AddressBar.vue.d.ts +5 -1
  3. package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
  4. package/dist/components/AddressBar/AddressBar.vue.js +2 -2
  5. package/dist/components/AddressBar/AddressBar.vue2.js +78 -75
  6. package/dist/components/AddressBar/AddressBarHistory.vue.js +2 -2
  7. package/dist/components/AddressBar/AddressBarHistory.vue2.js +8 -8
  8. package/dist/components/AddressBar/AddressBarServer.vue.d.ts.map +1 -1
  9. package/dist/components/AddressBar/AddressBarServer.vue.js +6 -6
  10. package/dist/components/CodeInput/CodeInput.vue.d.ts +6 -2
  11. package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
  12. package/dist/components/CodeInput/CodeInput.vue.js +2 -2
  13. package/dist/components/CodeInput/CodeInput.vue2.js +57 -49
  14. package/dist/components/CommandPalette/CommandActionForm.vue.d.ts +3 -0
  15. package/dist/components/CommandPalette/CommandActionForm.vue.d.ts.map +1 -1
  16. package/dist/components/CommandPalette/CommandActionForm.vue.js +13 -11
  17. package/dist/components/CommandPalette/CommandActionInput.vue.d.ts +0 -2
  18. package/dist/components/CommandPalette/CommandActionInput.vue.d.ts.map +1 -1
  19. package/dist/components/CommandPalette/CommandActionInput.vue.js +36 -38
  20. package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts +1 -1
  21. package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts +1 -1
  22. package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts +1 -1
  23. package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts.map +1 -1
  24. package/dist/components/CommandPalette/CommandPaletteImport.vue.js +100 -80
  25. package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts +1 -1
  26. package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts +1 -1
  27. package/dist/components/CommandPalette/CommandPaletteTag.vue.d.ts +1 -1
  28. package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts +1 -1
  29. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +7 -7
  30. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
  31. package/dist/components/CommandPalette/TheCommandPalette.vue.js +4 -4
  32. package/dist/components/CommandPalette/TheCommandPalette.vue2.js +42 -42
  33. package/dist/components/ContextBar.vue.d.ts.map +1 -1
  34. package/dist/components/ContextBar.vue.js +2 -2
  35. package/dist/components/DataTable/DataTableCheckbox.vue.d.ts +19 -3
  36. package/dist/components/DataTable/DataTableCheckbox.vue.d.ts.map +1 -1
  37. package/dist/components/DataTable/DataTableCheckbox.vue.js +27 -14
  38. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts.map +1 -1
  39. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +8 -8
  40. package/dist/components/HttpMethod/HttpMethod.vue.d.ts +2 -2
  41. package/dist/components/ImportCurl/ImportCurlModal.vue.d.ts +39 -0
  42. package/dist/components/ImportCurl/ImportCurlModal.vue.d.ts.map +1 -0
  43. package/dist/components/ImportCurl/ImportCurlModal.vue.js +7 -0
  44. package/dist/components/ImportCurl/ImportCurlModal.vue2.js +88 -0
  45. package/dist/components/SideNav/SideHelp.vue.d.ts.map +1 -1
  46. package/dist/components/SideNav/SideNav.vue.d.ts.map +1 -1
  47. package/dist/components/SideNav/SideNav.vue.js +1 -1
  48. package/dist/components/SideNav/SideNav.vue2.js +37 -26
  49. package/dist/components/SideNav/SideNavLink.vue.d.ts +2 -2
  50. package/dist/components/SideNav/SideNavLink.vue.d.ts.map +1 -1
  51. package/dist/components/SideNav/SideNavLink.vue.js +10 -11
  52. package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts +1 -1
  53. package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
  54. package/dist/components/Sidebar/Sidebar.vue.js +1 -1
  55. package/dist/components/Sidebar/Sidebar.vue2.js +1 -1
  56. package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +1 -1
  57. package/dist/components/Sidebar/SidebarButton.vue.js +1 -1
  58. package/dist/components/Sidebar/SidebarListElement.vue.d.ts +24 -3
  59. package/dist/components/Sidebar/SidebarListElement.vue.d.ts.map +1 -1
  60. package/dist/components/Sidebar/SidebarListElement.vue.js +2 -2
  61. package/dist/components/Sidebar/SidebarListElement.vue2.js +26 -22
  62. package/dist/components/Sidebar/SidebarListElementActions.vue.d.ts +4 -0
  63. package/dist/components/Sidebar/SidebarListElementActions.vue.d.ts.map +1 -1
  64. package/dist/components/Sidebar/SidebarListElementActions.vue.js +35 -32
  65. package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
  66. package/dist/components/TopNav/TopNav.vue.js +1 -1
  67. package/dist/components/TopNav/TopNav.vue2.js +1 -1
  68. package/dist/components/ViewLayout/ViewLayout.vue.d.ts.map +1 -1
  69. package/dist/components/ViewLayout/ViewLayout.vue.js +7 -7
  70. package/dist/components/ViewLayout/ViewLayoutContent.vue.d.ts.map +1 -1
  71. package/dist/components/ViewLayout/ViewLayoutContent.vue.js +1 -1
  72. package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts.map +1 -1
  73. package/dist/components/ViewLayout/ViewLayoutSection.vue.js +11 -11
  74. package/dist/constants.d.ts +4 -0
  75. package/dist/constants.d.ts.map +1 -1
  76. package/dist/constants.js +2 -1
  77. package/dist/hooks/useDarkModeState.d.ts +4 -3
  78. package/dist/hooks/useDarkModeState.d.ts.map +1 -1
  79. package/dist/hooks/useDarkModeState.js +36 -21
  80. package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
  81. package/dist/layouts/App/ApiClientApp.vue.js +34 -41
  82. package/dist/layouts/App/create-api-client-app.d.ts +35 -32
  83. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  84. package/dist/layouts/Modal/ApiClientModal.vue.d.ts.map +1 -1
  85. package/dist/layouts/Modal/ApiClientModal.vue.js +2 -2
  86. package/dist/layouts/Modal/ApiClientModal.vue2.js +6 -6
  87. package/dist/layouts/Modal/create-api-client-modal.d.ts +70 -64
  88. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  89. package/dist/layouts/Web/ApiClientWeb.vue.d.ts.map +1 -1
  90. package/dist/layouts/Web/ApiClientWeb.vue.js +35 -42
  91. package/dist/layouts/Web/create-api-client-web.d.ts +35 -32
  92. package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
  93. package/dist/libs/create-client.d.ts +35 -32
  94. package/dist/libs/create-client.d.ts.map +1 -1
  95. package/dist/libs/event-busses/hot-keys-bus.d.ts +1 -1
  96. package/dist/libs/extractAttachmentFilename.d.ts +2 -0
  97. package/dist/libs/extractAttachmentFilename.d.ts.map +1 -0
  98. package/dist/libs/extractAttachmentFilename.js +20 -0
  99. package/dist/libs/getOpenApiDocumentDetails.d.ts +10 -0
  100. package/dist/libs/getOpenApiDocumentDetails.d.ts.map +1 -0
  101. package/dist/libs/getOpenApiDocumentDetails.js +40 -0
  102. package/dist/libs/importers/curl.d.ts +3 -0
  103. package/dist/libs/importers/curl.d.ts.map +1 -0
  104. package/dist/libs/importers/curl.js +61 -0
  105. package/dist/libs/importers/index.d.ts +2 -0
  106. package/dist/libs/importers/index.d.ts.map +1 -0
  107. package/dist/libs/importers/index.js +4 -0
  108. package/dist/libs/index.d.ts +2 -2
  109. package/dist/libs/index.d.ts.map +1 -1
  110. package/dist/libs/index.js +22 -22
  111. package/dist/libs/isUrl.d.ts +1 -1
  112. package/dist/libs/isUrl.d.ts.map +1 -1
  113. package/dist/libs/isUrl.js +4 -3
  114. package/dist/libs/parse-curl.d.ts +12 -0
  115. package/dist/libs/parse-curl.d.ts.map +1 -0
  116. package/dist/libs/parse-curl.js +70 -0
  117. package/dist/router.d.ts +2 -1
  118. package/dist/router.d.ts.map +1 -1
  119. package/dist/router.js +33 -24
  120. package/dist/store/collections.d.ts +4 -4
  121. package/dist/store/cookies.d.ts +4 -4
  122. package/dist/store/environment.d.ts +4 -4
  123. package/dist/store/import-spec.d.ts.map +1 -1
  124. package/dist/store/import-spec.js +21 -26
  125. package/dist/store/request-example.d.ts +4 -4
  126. package/dist/store/requests.d.ts +4 -4
  127. package/dist/store/router-params.d.ts +1 -0
  128. package/dist/store/router-params.d.ts.map +1 -1
  129. package/dist/store/router-params.js +2 -1
  130. package/dist/store/servers.d.ts +4 -4
  131. package/dist/store/store.d.ts +70 -64
  132. package/dist/store/store.d.ts.map +1 -1
  133. package/dist/store/store.js +126 -119
  134. package/dist/store/tags.d.ts +4 -4
  135. package/dist/store/workspace.d.ts +4 -4
  136. package/dist/style.css +1 -1
  137. package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
  138. package/dist/views/Cookies/Cookies.vue2.js +18 -18
  139. package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +1 -1
  140. package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +9 -9
  141. package/dist/views/Request/Request.vue.d.ts.map +1 -1
  142. package/dist/views/Request/Request.vue.js +1 -1
  143. package/dist/views/Request/Request.vue2.js +146 -96
  144. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
  145. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +2 -2
  146. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +1 -1
  147. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts.map +1 -1
  148. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.js +4 -4
  149. package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
  150. package/dist/views/Request/RequestSidebar.vue.js +3 -3
  151. package/dist/views/Request/RequestSidebar.vue2.js +2 -2
  152. package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
  153. package/dist/views/Request/RequestSidebarItem.vue.js +1 -1
  154. package/dist/views/Request/RequestSidebarItem.vue2.js +49 -49
  155. package/dist/views/Request/RequestSubpageHeader.vue.d.ts +2 -0
  156. package/dist/views/Request/RequestSubpageHeader.vue.d.ts.map +1 -1
  157. package/dist/views/Request/RequestSubpageHeader.vue.js +4 -4
  158. package/dist/views/Request/RequestSubpageHeader.vue2.js +17 -15
  159. package/dist/views/Request/ResponseSection/ResponseBody.vue.d.ts.map +1 -1
  160. package/dist/views/Request/ResponseSection/ResponseBody.vue.js +63 -55
  161. package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.d.ts +2 -0
  162. package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.d.ts.map +1 -1
  163. package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.js +14 -14
  164. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  165. package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.d.ts.map +1 -1
  166. package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.js +1 -1
  167. package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue2.js +1 -1
  168. package/dist/views/Settings/Settings.vue.d.ts +4 -0
  169. package/dist/views/Settings/Settings.vue.d.ts.map +1 -0
  170. package/dist/views/Settings/Settings.vue.js +4 -0
  171. package/dist/views/Settings/Settings.vue2.js +59 -0
  172. package/dist/{components/DarkModeToggle/DarkModeIconToggle.vue.d.ts → views/Settings/SettingsGeneral.vue.d.ts} +1 -1
  173. package/dist/views/Settings/SettingsGeneral.vue.d.ts.map +1 -0
  174. package/dist/views/Settings/SettingsGeneral.vue.js +124 -0
  175. package/dist/views/Settings/SettingsGeneral.vue2.js +4 -0
  176. package/dist/views/Settings/SettingsGeneralMode.vue.d.ts +3 -0
  177. package/dist/views/Settings/SettingsGeneralMode.vue.d.ts.map +1 -0
  178. package/dist/views/Settings/SettingsGeneralMode.vue.js +78 -0
  179. package/dist/views/Settings/SettingsGeneralMode.vue2.js +4 -0
  180. package/package.json +60 -36
  181. package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.d.ts.map +0 -1
  182. package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.js +0 -31
  183. package/dist/components/DarkModeToggle/DarkModeIconToggle.vue2.js +0 -4
  184. package/dist/components/DarkModeToggle/index.d.ts +0 -2
  185. package/dist/components/DarkModeToggle/index.d.ts.map +0 -1
  186. package/dist/components/DarkModeToggle/index.js +0 -4
  187. package/dist/components/ScreenReader.vue.js +0 -7
  188. package/dist/components/ScreenReader.vue2.js +0 -18
  189. package/dist/libs/getOpenApiDocumentVersion.d.ts +0 -8
  190. package/dist/libs/getOpenApiDocumentVersion.d.ts.map +0 -1
  191. package/dist/libs/getOpenApiDocumentVersion.js +0 -20
  192. package/dist/libs/isDocument.d.ts +0 -3
  193. package/dist/libs/isDocument.d.ts.map +0 -1
  194. package/dist/libs/isDocument.js +0 -7
@@ -1 +1 @@
1
- {"version":3,"file":"Cookies.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Cookies/Cookies.vue"],"names":[],"mappings":";AAwgBA,wBAKG"}
1
+ {"version":3,"file":"Cookies.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Cookies/Cookies.vue"],"names":[],"mappings":";AAsgBA,wBAKG"}
@@ -1,6 +1,6 @@
1
- import { defineComponent as L, computed as V, onMounted as D, openBlock as l, createBlock as y, withCtx as a, createVNode as s, unref as n, createElementVNode as f, createElementBlock as m, Fragment as _, renderList as x, normalizeClass as w, createTextVNode as v, toDisplayString as S, withDirectives as O, vShow as $ } from "vue";
2
- import M from "../../components/Sidebar/SidebarButton.vue.js";
3
- import N from "../../components/Sidebar/SidebarList.vue.js";
1
+ import { defineComponent as V, computed as D, onMounted as M, openBlock as l, createBlock as y, withCtx as a, createVNode as s, unref as n, createElementVNode as m, createElementBlock as f, Fragment as _, renderList as x, normalizeClass as w, createTextVNode as v, toDisplayString as S, withDirectives as O, vShow as $ } from "vue";
2
+ import N from "../../components/Sidebar/SidebarButton.vue.js";
3
+ import z from "../../components/Sidebar/SidebarList.vue.js";
4
4
  import B from "../../components/Sidebar/SidebarListElement.vue.js";
5
5
  import F from "../../components/ViewLayout/ViewLayout.vue.js";
6
6
  import I from "../../components/ViewLayout/ViewLayoutContent.vue.js";
@@ -12,7 +12,7 @@ import P from "./CookieRaw.vue.js";
12
12
  import { useSidebar as T } from "../../hooks/useSidebar.js";
13
13
  import { useWorkspace as W } from "../../store/store.js";
14
14
  import q from "../../components/Sidebar/Sidebar.vue.js";
15
- const G = { class: "flex-1" }, J = ["onClick"], K = { class: "before:bg-b-3 before:absolute before:left-[calc(1rem_-_1.5px)] before:top-0 before:z-10 before:h-[calc(100%_+_.5px)] last:before:h-full before:w-[.5px] mb-[.5px] last:mb-0 relative" }, Q = ["onClick"], U = { class: "before:bg-b-3 before:absolute before:left-[calc(1.75rem_-_1.5px)] before:top-0 before:z-10 before:h-[calc(100%_+_.5px)] last:before:h-full before:w-[.5px] mb-[.5px] last:mb-0 relative" }, de = /* @__PURE__ */ L({
15
+ const G = { class: "flex-1" }, J = ["onClick"], K = { class: "before:bg-b-3 before:absolute before:left-[calc(1rem_-_1.5px)] before:top-0 before:h-[calc(100%_+_.5px)] last:before:h-full before:w-[.5px] mb-[.5px] last:mb-0 relative" }, Q = ["onClick"], U = { class: "before:bg-b-3 before:absolute before:left-[calc(1.75rem_-_1.5px)] before:top-0 before:h-[calc(100%_+_.5px)] last:before:h-full before:w-[.5px] mb-[.5px] last:mb-0 relative" }, de = /* @__PURE__ */ V({
16
16
  __name: "Cookies",
17
17
  setup(X) {
18
18
  const { cookies: p, cookieMutators: g } = W(), { collapsedSidebarFolders: i, toggleSidebarFolder: k } = T(), b = A(), E = () => {
@@ -26,7 +26,7 @@ const G = { class: "flex-1" }, J = ["onClick"], K = { class: "before:bg-b-3 befo
26
26
  sameSite: "None"
27
27
  });
28
28
  g.add(e), b.push(e.uid);
29
- }, z = (t) => {
29
+ }, L = (t) => {
30
30
  g.delete(t);
31
31
  const e = Object.values(p).filter(
32
32
  (o) => o.uid !== t
@@ -35,13 +35,13 @@ const G = { class: "flex-1" }, J = ["onClick"], K = { class: "before:bg-b-3 befo
35
35
  const o = e[e.length - 1];
36
36
  b.push(o.uid);
37
37
  } else e.length === 1 && e[0].uid === "default" && b.push("default");
38
- }, h = V(() => {
38
+ }, h = D(() => {
39
39
  const t = {};
40
40
  return Object.values(p).forEach((e) => {
41
41
  e.domain && e.path && (t[e.domain] || (t[e.domain] = {}), t[e.domain][e.path] || (t[e.domain][e.path] = []), t[e.domain][e.path].push(e));
42
42
  }), t;
43
43
  }), C = (t) => i[t];
44
- return D(() => {
44
+ return M(() => {
45
45
  const t = Object.keys(h.value), e = Object.entries(h.value).flatMap(
46
46
  ([o, r]) => Object.keys(r).map((d) => o + d)
47
47
  );
@@ -54,11 +54,11 @@ const G = { class: "flex-1" }, J = ["onClick"], K = { class: "before:bg-b-3 befo
54
54
  default: a(() => [
55
55
  s(n(q), { title: "Cookies" }, {
56
56
  content: a(() => [
57
- f("div", G, [
58
- s(N, null, {
57
+ m("div", G, [
58
+ s(z, null, {
59
59
  default: a(() => [
60
- (l(!0), m(_, null, x(h.value, (o, r) => (l(), m("div", { key: r }, [
61
- f("button", {
60
+ (l(!0), f(_, null, x(h.value, (o, r) => (l(), f("div", { key: r }, [
61
+ m("button", {
62
62
  class: "flex font-medium gap-1.5 items-center px-2 py-1.5 text-left text-sm w-full break-words rounded hover:bg-b-2",
63
63
  type: "button",
64
64
  onClick: (d) => n(k)(r)
@@ -73,9 +73,9 @@ const G = { class: "flex-1" }, J = ["onClick"], K = { class: "before:bg-b-3 befo
73
73
  }, null, 8, ["class"]),
74
74
  v(" " + S(r), 1)
75
75
  ], 8, J),
76
- O(f("div", K, [
77
- (l(!0), m(_, null, x(o, (d, c) => (l(), m("div", { key: c }, [
78
- f("button", {
76
+ O(m("div", K, [
77
+ (l(!0), f(_, null, x(o, (d, c) => (l(), f("div", { key: c }, [
78
+ m("button", {
79
79
  class: "flex font-medium gap-1.5 items-center pl-5 pr-2 py-1.5 text-left text-sm w-full break-words rounded hover:bg-b-2",
80
80
  type: "button",
81
81
  onClick: (u) => n(k)(r + c)
@@ -90,13 +90,13 @@ const G = { class: "flex-1" }, J = ["onClick"], K = { class: "before:bg-b-3 befo
90
90
  }, null, 8, ["class"]),
91
91
  v(" " + S(c), 1)
92
92
  ], 8, Q),
93
- O(f("div", U, [
94
- (l(!0), m(_, null, x(d, (u) => (l(), y(B, {
93
+ O(m("div", U, [
94
+ (l(!0), f(_, null, x(d, (u) => (l(), y(B, {
95
95
  key: u.uid,
96
96
  class: "cookie text-xs",
97
97
  variable: { name: u.name, uid: u.uid },
98
98
  warningMessage: "Are you sure you want to delete this cookie?",
99
- onDelete: (Y) => z(u.uid)
99
+ onDelete: (Y) => L(u.uid)
100
100
  }, null, 8, ["variable", "onDelete"]))), 128))
101
101
  ], 512), [
102
102
  [$, C(r + c)]
@@ -112,7 +112,7 @@ const G = { class: "flex-1" }, J = ["onClick"], K = { class: "before:bg-b-3 befo
112
112
  ])
113
113
  ]),
114
114
  button: a(() => [
115
- s(M, { click: E }, {
115
+ s(N, { click: E }, {
116
116
  title: a(() => [
117
117
  v("Add Item")
118
118
  ]),
@@ -1 +1 @@
1
- {"version":3,"file":"EnvironmentVariableDropdown.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Environment/EnvironmentVariableDropdown.vue"],"names":[],"mappings":"AA0HA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAK7C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAA;;WAK/B,MAAM;wBACO,cAAc,CAAC,oBAAoB,CAAC;YAChD,MAAM;uBAEK;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE;;;;WAJzC,MAAM;wBACO,cAAc,CAAC,oBAAoB,CAAC;YAChD,MAAM;uBAEK;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE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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,5 +1,5 @@
1
- import { defineComponent as B, ref as f, computed as O, openBlock as o, createBlock as m, unref as i, normalizeStyle as z, withCtx as v, createElementBlock as c, Fragment as D, renderList as N, createElementVNode as u, normalizeClass as P, createTextVNode as w, toDisplayString as h, createVNode as R } from "vue";
2
- import { ScalarDropdown as $, ScalarButton as j, ScalarIcon as q } from "@scalar/components";
1
+ import { defineComponent as B, ref as f, computed as O, openBlock as o, createBlock as m, unref as i, normalizeStyle as D, withCtx as v, createElementBlock as c, Fragment as N, renderList as P, createElementVNode as u, normalizeClass as R, createTextVNode as w, toDisplayString as h, createVNode as $ } from "vue";
2
+ import { ScalarDropdown as j, ScalarButton as q, ScalarIcon as z } from "@scalar/components";
3
3
  import { onClickOutside as A } from "@vueuse/core";
4
4
  import F from "fuse.js";
5
5
  import { parseEnvVariables as k } from "../../libs/environment-parser.js";
@@ -38,13 +38,13 @@ const I = { key: 0 }, T = ["onClick"], L = { class: "flex items-center gap-1.5 w
38
38
  { ignore: [a] }
39
39
  ), (e, l) => {
40
40
  var r, d;
41
- return o(), m(i($), {
41
+ return o(), m(i(j), {
42
42
  ref_key: "dropdownRef",
43
43
  ref: a,
44
- class: "mt-2 z-10 min-w-60 rounded border bg-b-1 p-1 w-fit",
44
+ class: "mt-2 min-w-60 rounded border bg-b-1 p-1 w-fit",
45
45
  static: "",
46
46
  staticOpen: s.value,
47
- style: z({
47
+ style: D({
48
48
  left: ((r = e.dropdownPosition) == null ? void 0 : r.left) + "px",
49
49
  top: ((d = e.dropdownPosition) == null ? void 0 : d.top) + "px"
50
50
  }),
@@ -52,27 +52,27 @@ const I = { key: 0 }, T = ["onClick"], L = { class: "flex items-center gap-1.5 w
52
52
  }, {
53
53
  items: v(() => [
54
54
  p.value.length ? (o(), c("ul", I, [
55
- (o(!0), c(D, null, N(p.value, (n) => (o(), c("li", {
55
+ (o(!0), c(N, null, P(p.value, (n) => (o(), c("li", {
56
56
  key: n.key,
57
57
  class: "h-8 font-code text-xxs hover:bg-b-2 flex cursor-pointer items-center justify-between gap-1.5 rounded p-1.5 transition-colors duration-150",
58
58
  onClick: (G) => C(n.key)
59
59
  }, [
60
60
  u("div", L, [
61
61
  u("span", {
62
- class: P(["h-2.5 w-2.5 min-w-2.5 rounded-full", S()])
62
+ class: R(["h-2.5 w-2.5 min-w-2.5 rounded-full", S()])
63
63
  }, null, 2),
64
64
  w(" " + h(n.key), 1)
65
65
  ]),
66
66
  u("span", Q, h(n.value), 1)
67
67
  ], 8, T))), 128))
68
- ])) : (o(), m(i(j), {
68
+ ])) : (o(), m(i(q), {
69
69
  key: 1,
70
70
  class: "font-code text-xxs hover:bg-b-2 flex h-8 w-full justify-start gap-2 px-1.5 transition-colors duration-150",
71
71
  variant: "secondary",
72
72
  onClick: _
73
73
  }, {
74
74
  default: v(() => [
75
- R(i(q), {
75
+ $(i(z), {
76
76
  class: "w-2.5",
77
77
  icon: "Add"
78
78
  }),
@@ -1 +1 @@
1
- {"version":3,"file":"Request.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/Request.vue"],"names":[],"mappings":";;cAwK8B,MAAM;aAAO,MAAM;;;;cAAnB,MAAM;aAAO,MAAM;;;AAyPjD,wBAMG"}
1
+ {"version":3,"file":"Request.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/Request.vue"],"names":[],"mappings":";;cAwO8B,MAAM;aAAO,MAAM;;;;cAAnB,MAAM;aAAO,MAAM;;;AAkWjD,wBAMG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./Request.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d69f8ce9"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8362ecae"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1,111 +1,161 @@
1
- import { defineComponent as H, ref as q, computed as L, watch as M, onMounted as A, onBeforeUnmount as I, openBlock as w, createElementBlock as $, normalizeClass as x, unref as s, createVNode as l, withCtx as S, createBlock as D, createCommentVNode as Q } from "vue";
2
- import W from "../../components/ViewLayout/ViewLayout.vue.js";
3
- import j from "../../components/ViewLayout/ViewLayoutContent.vue.js";
4
- import { createRequestOperation as z } from "../../libs/send-request.js";
5
- import J from "./RequestSection/RequestSection.vue.js";
1
+ import { defineComponent as z, ref as R, computed as J, watch as G, onMounted as K, onBeforeUnmount as P, openBlock as q, createElementBlock as X, Fragment as Y, createElementVNode as Z, normalizeClass as B, unref as s, createVNode as v, withCtx as C, createBlock as N, createCommentVNode as V } from "vue";
2
+ import ee from "../../components/ImportCurl/ImportCurlModal.vue.js";
3
+ import oe from "../../components/ViewLayout/ViewLayout.vue.js";
4
+ import te from "../../components/ViewLayout/ViewLayoutContent.vue.js";
5
+ import { importCurlCommand as re } from "../../libs/importers/curl.js";
6
+ import { createRequestOperation as ae } from "../../libs/send-request.js";
7
+ import se from "./RequestSection/RequestSection.vue.js";
6
8
  /* empty css */
7
- import F from "./RequestSubpageHeader.vue.js";
8
- import G from "./ResponseSection/ResponseSection.vue.js";
9
- import { safeJSON as K } from "@scalar/object-utils/parse";
10
- import { useToasts as P } from "@scalar/use-toasts";
11
- import { useMediaQuery as X } from "@vueuse/core";
12
- import Y from "./RequestSidebar.vue.js";
13
- import { ERRORS as Z } from "../../libs/errors.js";
14
- import { useWorkspace as ee } from "../../store/store.js";
15
- import { executeRequestBus as E } from "../../libs/event-busses/execute-request-bus.js";
16
- import { cancelRequestBus as oe } from "../../libs/event-busses/cancel-request-bus.js";
17
- const qe = /* @__PURE__ */ H({
9
+ import ue from "./RequestSubpageHeader.vue.js";
10
+ import le from "./ResponseSection/ResponseSection.vue.js";
11
+ import { safeJSON as ne } from "@scalar/object-utils/parse";
12
+ import { useToasts as ie } from "@scalar/use-toasts";
13
+ import { useMediaQuery as me } from "@vueuse/core";
14
+ import { useRouter as ve } from "vue-router";
15
+ import de from "./RequestSidebar.vue.js";
16
+ import { ERRORS as ce } from "../../libs/errors.js";
17
+ import { useWorkspace as pe } from "../../store/store.js";
18
+ import { executeRequestBus as g } from "../../libs/event-busses/execute-request-bus.js";
19
+ import { cancelRequestBus as fe } from "../../libs/event-busses/cancel-request-bus.js";
20
+ const $e = /* @__PURE__ */ z({
18
21
  __name: "Request",
19
22
  emits: ["newTab"],
20
- setup(te) {
21
- var f;
22
- const k = ee(), { toast: u } = P(), {
23
- activeCollection: i,
24
- activeExample: n,
25
- activeEnvironment: O,
26
- activeRequest: m,
27
- activeWorkspace: r,
28
- activeServer: C,
29
- cookies: N,
30
- modalState: V,
31
- requestHistory: d,
32
- securitySchemes: h
33
- } = k, a = q(!((f = r.value) != null && f.isReadOnly)), c = q(), B = L(
34
- () => d.findLast((e) => {
23
+ setup(Re) {
24
+ var E;
25
+ const I = pe(), { toast: w } = ie(), {
26
+ activeCollection: b,
27
+ activeExample: d,
28
+ activeEnvironment: M,
29
+ activeRequest: x,
30
+ activeWorkspace: a,
31
+ activeServer: T,
32
+ cookies: U,
33
+ modalState: l,
34
+ requestHistory: h,
35
+ securitySchemes: $,
36
+ requestMutators: H,
37
+ serverMutators: L,
38
+ servers: _
39
+ } = I, u = R(!((E = a.value) != null && E.isReadOnly)), S = R(), e = R(), y = R(""), A = ve(), j = J(
40
+ () => h.findLast((t) => {
35
41
  var o;
36
- return e.request.uid === ((o = n.value) == null ? void 0 : o.uid);
42
+ return t.request.uid === ((o = d.value) == null ? void 0 : o.uid);
37
43
  })
38
- ), T = X("(max-width: 780px)");
39
- M(T, (e) => a.value = !e);
40
- const p = async () => {
41
- var b;
42
- if (!m.value || !n.value || !i.value)
44
+ ), D = me("(max-width: 780px)");
45
+ G(D, (t) => u.value = !t);
46
+ const k = async () => {
47
+ var p;
48
+ if (!x.value || !d.value || !b.value)
43
49
  return;
44
- const e = K.parse(((b = O.value) == null ? void 0 : b.value) || "{}");
45
- e.error && console.error("INVALID ENVIRONMENT!");
46
- const o = e.error || typeof e.data != "object" ? {} : e.data ?? {}, t = r.value.cookies.map((U) => N[U]), [v, R] = z({
47
- auth: i.value.auth,
48
- request: m.value,
49
- example: n.value,
50
- proxy: r.value.proxyUrl ?? "",
50
+ const t = ne.parse(((p = M.value) == null ? void 0 : p.value) || "{}");
51
+ t.error && console.error("INVALID ENVIRONMENT!");
52
+ const o = t.error || typeof t.data != "object" ? {} : t.data ?? {}, r = a.value.cookies.map((f) => U[f]), [n, i] = ae({
53
+ auth: b.value.auth,
54
+ request: x.value,
55
+ example: d.value,
56
+ proxy: a.value.proxyUrl ?? "",
51
57
  environment: o,
52
- globalCookies: t,
53
- securitySchemes: h,
54
- server: C.value
58
+ globalCookies: r,
59
+ securitySchemes: $,
60
+ server: T.value
55
61
  });
56
- if (v) {
57
- u(v.message, "error");
62
+ if (n) {
63
+ w(n.message, "error");
58
64
  return;
59
65
  }
60
- c.value = R.controller;
61
- const [y, g] = await R.sendRequest();
62
- y ? u(y.message, "error") : d.push(g);
63
- }, _ = async () => {
64
- var e;
65
- return (e = c.value) == null ? void 0 : e.abort(Z.REQUEST_ABORTED);
66
+ S.value = i.controller;
67
+ const [m, c] = await i.sendRequest();
68
+ m ? w(m.message, "error") : h.push(c);
69
+ }, F = async () => {
70
+ var t;
71
+ return (t = S.value) == null ? void 0 : t.abort(ce.REQUEST_ABORTED);
66
72
  };
67
- return A(() => {
68
- E.on(p), oe.on(_);
69
- }), I(() => E.off(p)), (e, o) => (w(), $("div", {
70
- class: x(["flex flex-1 flex-col pt-0 h-full bg-b-1 relative overflow-hidden", {
71
- "!mr-0 !mb-0 !border-0": s(r).isReadOnly
72
- }])
73
- }, [
74
- l(F, {
75
- modelValue: a.value,
76
- "onUpdate:modelValue": o[0] || (o[0] = (t) => a.value = t),
77
- isReadonly: s(r).isReadOnly,
78
- onHideModal: o[1] || (o[1] = () => s(V).hide())
79
- }, null, 8, ["modelValue", "isReadonly"]),
80
- l(W, null, {
81
- default: S(() => [
82
- l(Y, {
83
- isReadonly: s(r).isReadOnly,
84
- showSidebar: a.value,
85
- onNewTab: o[2] || (o[2] = (t) => e.$emit("newTab", t)),
86
- "onUpdate:showSidebar": o[3] || (o[3] = (t) => a.value = t)
87
- }, null, 8, ["isReadonly", "showSidebar"]),
88
- s(n) ? (w(), D(j, {
89
- key: 0,
90
- class: x(["flex-1", [a.value ? "sidebar-active-hide-layout" : ""]])
91
- }, {
92
- default: S(() => {
93
- var t;
94
- return [
95
- l(J),
96
- l(G, {
97
- response: (t = B.value) == null ? void 0 : t.response
98
- }, null, 8, ["response"])
99
- ];
100
- }),
101
- _: 1
102
- }, 8, ["class"])) : Q("", !0)
103
- ]),
104
- _: 1
105
- })
106
- ], 2));
73
+ K(() => {
74
+ g.on(k), fe.on(F);
75
+ }), P(() => g.off(k));
76
+ function Q({ requestName: t }) {
77
+ var r, n, i, m;
78
+ if (!e.value) return;
79
+ if (e.value.servers) {
80
+ const c = Object.values(_).find(
81
+ (p) => {
82
+ var f, O;
83
+ return p.url === ((O = (f = e == null ? void 0 : e.value) == null ? void 0 : f.servers) == null ? void 0 : O[0]);
84
+ }
85
+ );
86
+ c ? y.value = c.uid : y.value = L.add(
87
+ { url: e.value.servers[0] },
88
+ a.value.collections[0]
89
+ ).uid;
90
+ }
91
+ const o = H.add(
92
+ {
93
+ summary: t,
94
+ path: (r = e == null ? void 0 : e.value) == null ? void 0 : r.path,
95
+ method: (n = e == null ? void 0 : e.value) == null ? void 0 : n.method,
96
+ parameters: (i = e == null ? void 0 : e.value) == null ? void 0 : i.parameters,
97
+ selectedServerUid: y.value,
98
+ requestBody: (m = e == null ? void 0 : e.value) == null ? void 0 : m.requestBody
99
+ },
100
+ a.value.collections[0]
101
+ );
102
+ o && A.push(
103
+ `/workspace/${a.value.uid}/request/${o.uid}`
104
+ ), l.hide();
105
+ }
106
+ function W(t) {
107
+ e.value = re(t), l.show();
108
+ }
109
+ return (t, o) => (q(), X(Y, null, [
110
+ Z("div", {
111
+ class: B(["flex flex-1 flex-col pt-0 h-full bg-b-1 relative overflow-hidden", {
112
+ "!mr-0 !mb-0 !border-0": s(a).isReadOnly
113
+ }])
114
+ }, [
115
+ v(ue, {
116
+ modelValue: u.value,
117
+ "onUpdate:modelValue": o[0] || (o[0] = (r) => u.value = r),
118
+ isReadonly: s(a).isReadOnly,
119
+ onHideModal: o[1] || (o[1] = () => s(l).hide()),
120
+ onImportCurl: W
121
+ }, null, 8, ["modelValue", "isReadonly"]),
122
+ v(oe, null, {
123
+ default: C(() => [
124
+ v(de, {
125
+ isReadonly: s(a).isReadOnly,
126
+ showSidebar: u.value,
127
+ onNewTab: o[2] || (o[2] = (r) => t.$emit("newTab", r)),
128
+ "onUpdate:showSidebar": o[3] || (o[3] = (r) => u.value = r)
129
+ }, null, 8, ["isReadonly", "showSidebar"]),
130
+ s(d) ? (q(), N(te, {
131
+ key: 0,
132
+ class: B(["flex-1", [u.value ? "sidebar-active-hide-layout" : ""]])
133
+ }, {
134
+ default: C(() => {
135
+ var r;
136
+ return [
137
+ v(se),
138
+ v(le, {
139
+ response: (r = j.value) == null ? void 0 : r.response
140
+ }, null, 8, ["response"])
141
+ ];
142
+ }),
143
+ _: 1
144
+ }, 8, ["class"])) : V("", !0)
145
+ ]),
146
+ _: 1
147
+ })
148
+ ], 2),
149
+ e.value ? (q(), N(ee, {
150
+ key: 0,
151
+ parsedCurl: e.value,
152
+ state: s(l),
153
+ onClose: o[4] || (o[4] = (r) => s(l).hide()),
154
+ onImportCurl: Q
155
+ }, null, 8, ["parsedCurl", "state"])) : V("", !0)
156
+ ], 64));
107
157
  }
108
158
  });
109
159
  export {
110
- qe as default
160
+ $e as default
111
161
  };
@@ -1 +1 @@
1
- {"version":3,"file":"RequestAuth.vue.d.ts","sourceRoot":"","sources":["../../../../../src/views/Request/RequestSection/RequestAuth/RequestAuth.vue"],"names":[],"mappings":";WA0US,MAAM;;WAAN,MAAM;;AAocf,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
1
+ {"version":3,"file":"RequestAuth.vue.d.ts","sourceRoot":"","sources":["../../../../../src/views/Request/RequestSection/RequestAuth/RequestAuth.vue"],"names":[],"mappings":";WAyUS,MAAM;;WAAN,MAAM;;AAocf,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import t from "./RequestAuth.vue2.js";
2
2
  /* empty css */
3
3
  import o from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ o(t, [["__scopeId", "data-v-ab00a92e"]]);
4
+ const p = /* @__PURE__ */ o(t, [["__scopeId", "data-v-edb96e81"]]);
5
5
  export {
6
- m as default
6
+ p as default
7
7
  };
@@ -10,7 +10,7 @@ import le from "../../../../components/DataTable/DataTable.vue.js";
10
10
  import oe from "../../../../components/DataTable/DataTableRow.vue.js";
11
11
  import se from "../../../../components/DataTable/DataTableHeader.vue.js";
12
12
  import { useWorkspace as ae } from "../../../../store/store.js";
13
- const b = (h) => (H("data-v-ab00a92e"), h = h(), L(), h), ce = { class: "flex gap-1" }, ie = /* @__PURE__ */ b(() => /* @__PURE__ */ n("div", { class: "text-c-2 h-8 flex min-w-[120px] items-center border-r-1/2 pr-0 pl-2" }, " Auth Type ", -1)), re = {
13
+ const b = (h) => (H("data-v-edb96e81"), h = h(), L(), h), ce = { class: "flex gap-1" }, ie = /* @__PURE__ */ b(() => /* @__PURE__ */ n("div", { class: "text-c-2 h-8 flex min-w-[120px] items-center border-r-1/2 pr-0 pl-2" }, " Auth Type ", -1)), re = {
14
14
  key: 0,
15
15
  class: "flex relative scroll-timeline-x w-full"
16
16
  }, ne = /* @__PURE__ */ b(() => /* @__PURE__ */ n("div", { class: "fade-left" }, null, -1)), ue = { class: "flex flex-1 gap-0.75 mr-1.5 items-center" }, me = /* @__PURE__ */ b(() => /* @__PURE__ */ n("div", { class: "fade-right" }, null, -1)), de = {
@@ -1 +1 @@
1
- {"version":3,"file":"RequestTableTooltip.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestTableTooltip.vue"],"names":[],"mappings":"AAyEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAA;;UA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@@ -1,6 +1,6 @@
1
1
  import { defineComponent as l, computed as f, openBlock as t, createBlock as p, unref as i, withCtx as n, createElementVNode as m, createVNode as d, createElementBlock as o, toDisplayString as r, createCommentVNode as s } from "vue";
2
2
  import { ScalarTooltip as u, ScalarIcon as b } from "@scalar/components";
3
- const x = { class: "pl-1 pr-1.5 py-[9px]" }, h = { class: "grid gap-1.5 pointer-events-none min-w-48 w-content shadow-lg rounded bg-b-1 z-100 p-2 text-xxs leading-5 z-10 text-c-1" }, _ = {
3
+ const x = { class: "pl-1 pr-1.5 py-[9px]" }, h = { class: "grid gap-1.5 pointer-events-none min-w-48 w-content shadow-lg rounded bg-b-1 p-2 text-xxs leading-5 text-c-1" }, _ = {
4
4
  key: 0,
5
5
  class: "flex items-center text-c-2"
6
6
  }, g = { key: 0 }, k = {
@@ -19,7 +19,7 @@ const x = { class: "pl-1 pr-1.5 py-[9px]" }, h = { class: "grid gap-1.5 pointer-
19
19
  key: 1,
20
20
  class: "leading-snug text-pretty text-sm",
21
21
  style: { maxWidth: "16rem" }
22
- }, S = /* @__PURE__ */ l({
22
+ }, T = /* @__PURE__ */ l({
23
23
  __name: "RequestTableTooltip",
24
24
  props: {
25
25
  item: {}
@@ -28,7 +28,7 @@ const x = { class: "pl-1 pr-1.5 py-[9px]" }, h = { class: "grid gap-1.5 pointer-
28
28
  const e = a, c = f(
29
29
  () => e.item.type || e.item.format || e.item.minimum || e.item.maximum || e.item.default
30
30
  );
31
- return (z, B) => (t(), p(i(u), {
31
+ return (B, I) => (t(), p(i(u), {
32
32
  align: "start",
33
33
  class: "w-full",
34
34
  delay: 0,
@@ -62,5 +62,5 @@ const x = { class: "pl-1 pr-1.5 py-[9px]" }, h = { class: "grid gap-1.5 pointer-
62
62
  }
63
63
  });
64
64
  export {
65
- S as default
65
+ T as default
66
66
  };
@@ -1 +1 @@
1
- {"version":3,"file":"RequestSidebar.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/RequestSidebar.vue"],"names":[],"mappings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,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -1,7 +1,7 @@
1
- import e from "./RequestSidebar.vue2.js";
1
+ import o from "./RequestSidebar.vue2.js";
2
2
  /* empty css */
3
- import o from "../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ o(e, [["__scopeId", "data-v-8ce3ee0b"]]);
3
+ import t from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-c76358d8"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -16,7 +16,7 @@ import { useSidebar as ye } from "../../hooks/useSidebar.js";
16
16
  import { useWorkspace as ke } from "../../store/store.js";
17
17
  import { hotKeyBus as q } from "../../libs/event-busses/hot-keys-bus.js";
18
18
  import { commandPaletteBus as E } from "../../libs/event-busses/command-palette-bus.js";
19
- const ge = (p) => (ae("data-v-8ce3ee0b"), p = p(), ie(), p), Ie = { class: "search-button-fade sticky px-3 py-2.5 top-0 z-50" }, xe = { class: "empty-sidebar-item-content px-2.5 py-2.5" }, Ce = { class: "w-[60px] h-[68px] m-auto rabbit-ascii mt-2 relative" }, De = /* @__PURE__ */ ge(() => /* @__PURE__ */ i("div", { class: "text-center text-balance text-sm mb-2 mt-2" }, [
19
+ const ge = (p) => (ae("data-v-c76358d8"), p = p(), ie(), p), Ie = { class: "search-button-fade sticky px-3 py-2.5 top-0 z-1" }, xe = { class: "empty-sidebar-item-content px-2.5 py-2.5" }, Ce = { class: "w-[60px] h-[68px] m-auto rabbit-ascii mt-2 relative" }, De = /* @__PURE__ */ ge(() => /* @__PURE__ */ i("div", { class: "text-center text-balance text-sm mb-2 mt-2" }, [
20
20
  /* @__PURE__ */ i("b", { class: "font-medium" }, "Let's Get Started"),
21
21
  /* @__PURE__ */ i("p", { class: "mt-2" }, " Create request, folder, collection or import OpenAPI document ")
22
22
  ], -1)), je = /* @__PURE__ */ Q({
@@ -198,7 +198,7 @@ const ge = (p) => (ae("data-v-8ce3ee0b"), p = p(), ie(), p), Ie = { class: "sear
198
198
  r.isReadonly ? void 0 : {
199
199
  name: "header",
200
200
  fn: n(() => [
201
- l(e(we), { class: "xl:min-h-header xl:py-2.5 py-1 px-2.5 border-b-1/2" })
201
+ l(e(we), { class: "min-h-11 xl:min-h-header xl:py-2.5 py-1 px-2.5 border-b-1/2" })
202
202
  ]),
203
203
  key: "0"
204
204
  }
@@ -1 +1 @@
1
- {"version":3,"file":"RequestSidebarItem.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/RequestSidebarItem.vue"],"names":[],"mappings":"AA2bA,OAAO,KAAK,EAAe,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAEzE,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,WAAW,EACjB,MAAM,mBAAmB,CAAA;AAwO1B,iBAAS,cAAc;gBAjMT,IAAI;;gBAAJ,IAAI;EA8vBjB;AACD,QAAA,MAAM,eAAe;IA9xBjB;;;;OAIG;kBACW,OAAO;IACrB;;;;OAIG;kBACW,cAAc,CAAC,aAAa,CAAC;IAC3C,oEAAoE;gBACxD,MAAM,EAAE;IACpB,0DAA0D;SACrD,MAAM;IACX,2CAA2C;cACjC,eAAe;;;;;;;;;;IAjBzB;;;;OAIG;kBACW,OAAO;IACrB;;;;OAIG;kBACW,cAAc,CAAC,aAAa,CAAC;IAC3C,oEAAoE;gBACxD,MAAM,EAAE;IACpB,0DAA0D;SACrD,MAAM;IACX,2CAA2C;cACjC,eAAe;;;;;;;;;;;iBAZX,OAAO;MAgyBvB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAC1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,C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AAC,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 t from "./RequestSidebarItem.vue2.js";
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  import o from "../../_virtual/_plugin-vue_export-helper.js";
5
- const p = /* @__PURE__ */ o(t, [["__scopeId", "data-v-d3581d0d"]]);
5
+ const p = /* @__PURE__ */ o(t, [["__scopeId", "data-v-a2f84453"]]);
6
6
  export {
7
7
  p as default
8
8
  };