@scalar/api-client 2.0.28 → 2.0.30

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 (47) hide show
  1. package/CHANGELOG.md +17 -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 +23 -23
  5. package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
  6. package/dist/components/CodeInput/CodeInput.vue.js +1 -1
  7. package/dist/components/CodeInput/CodeInput.vue2.js +1 -1
  8. package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.d.ts.map +1 -1
  9. package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.js +5 -5
  10. package/dist/components/SideNav/SideNav.vue.d.ts.map +1 -1
  11. package/dist/components/SideNav/SideNav.vue.js +5 -43
  12. package/dist/components/SideNav/SideNav.vue2.js +44 -2
  13. package/dist/components/SideNav/SideNavLink.vue.d.ts +2 -0
  14. package/dist/components/SideNav/SideNavLink.vue.d.ts.map +1 -1
  15. package/dist/components/SideNav/SideNavLink.vue.js +29 -20
  16. package/dist/components/SideNav/WorkspaceProfileIcon.vue.d.ts.map +1 -1
  17. package/dist/components/SubpageHeader.vue.d.ts +12 -0
  18. package/dist/components/SubpageHeader.vue.d.ts.map +1 -0
  19. package/dist/components/SubpageHeader.vue.js +31 -0
  20. package/dist/components/SubpageHeader.vue2.js +4 -0
  21. package/dist/constants.d.ts +4 -0
  22. package/dist/constants.d.ts.map +1 -1
  23. package/dist/constants.js +4 -4
  24. package/dist/index.d.ts +1 -1
  25. package/dist/index.d.ts.map +1 -1
  26. package/dist/index.js +11 -10
  27. package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
  28. package/dist/layouts/App/ApiClientApp.vue.js +9 -9
  29. package/dist/router.d.ts +10 -4
  30. package/dist/router.d.ts.map +1 -1
  31. package/dist/router.js +31 -27
  32. package/dist/style.css +1 -1
  33. package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
  34. package/dist/views/Cookies/Cookies.vue2.js +44 -38
  35. package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
  36. package/dist/views/Environment/Environment.vue2.js +92 -86
  37. package/dist/views/Request/Request.vue.d.ts.map +1 -1
  38. package/dist/views/Request/Request.vue.js +2 -2
  39. package/dist/views/Request/Request.vue2.js +11 -11
  40. package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
  41. package/dist/views/Request/RequestSection/RequestBody.vue.js +13 -13
  42. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
  43. package/dist/views/Request/RequestSection/RequestTable.vue.js +1 -1
  44. package/dist/views/Request/RequestSection/RequestTable.vue2.js +2 -2
  45. package/dist/views/Servers/Servers.vue.d.ts.map +1 -1
  46. package/dist/views/Servers/Servers.vue2.js +45 -39
  47. package/package.json +6 -6
@@ -1,21 +1,22 @@
1
- import { defineComponent as u, openBlock as i, createBlock as a, withCtx as e, createVNode as t, unref as m, createElementVNode as f, createElementBlock as d, Fragment as p, renderList as _, createTextVNode as k } from "vue";
1
+ import { defineComponent as u, openBlock as i, createBlock as a, withCtx as e, createVNode as t, unref as m, createElementVNode as f, createElementBlock as d, Fragment as _, renderList as p, createTextVNode as k } from "vue";
2
2
  import x from "../../components/Sidebar/SidebarButton.vue.js";
3
3
  import C from "../../components/Sidebar/SidebarList.vue.js";
4
4
  import h from "../../components/Sidebar/SidebarListElement.vue.js";
5
- import b from "../../components/ViewLayout/ViewLayout.vue.js";
6
- import L from "../../components/ViewLayout/ViewLayoutContent.vue.js";
7
- import { useWorkspace as V } from "../../store/workspace.js";
5
+ import b from "../../components/SubpageHeader.vue.js";
6
+ import L from "../../components/ViewLayout/ViewLayout.vue.js";
7
+ import V from "../../components/ViewLayout/ViewLayoutContent.vue.js";
8
+ import { useWorkspace as $ } from "../../store/workspace.js";
8
9
  import { createCookie as v } from "@scalar/oas-utils/entities/workspace/cookie";
9
10
  import { nanoid as y } from "nanoid";
10
11
  import { useRouter as N } from "vue-router";
11
- import $ from "./CookieForm.vue.js";
12
- import w from "./CookieRaw.vue.js";
13
- import B from "../../components/Sidebar/Sidebar.vue.js";
12
+ import w from "./CookieForm.vue.js";
13
+ import B from "./CookieRaw.vue.js";
14
+ import E from "../../components/Sidebar/Sidebar.vue.js";
14
15
  /* empty css */
15
- const E = { class: "flex-1" }, J = /* @__PURE__ */ u({
16
+ const S = { class: "flex-1" }, P = /* @__PURE__ */ u({
16
17
  __name: "Cookies",
17
- setup(S) {
18
- const { cookies: n, cookieMutators: s } = V(), l = N(), c = () => {
18
+ setup(g) {
19
+ const { cookies: n, cookieMutators: s } = $(), l = N(), c = () => {
19
20
  const o = v({
20
21
  uid: y(),
21
22
  name: "Cookie",
@@ -28,39 +29,44 @@ const E = { class: "flex-1" }, J = /* @__PURE__ */ u({
28
29
  });
29
30
  s.add(o), l.push(o.uid);
30
31
  };
31
- return (o, g) => (i(), a(b, null, {
32
+ return (o, A) => (i(), a(b, null, {
32
33
  default: e(() => [
33
- t(m(B), { title: "Domain" }, {
34
- content: e(() => [
35
- f("div", E, [
36
- t(C, null, {
37
- default: e(() => [
38
- (i(!0), d(p, null, _(m(n), (r) => (i(), a(h, {
39
- key: r.uid,
40
- class: "text-xs",
41
- variable: { name: r.name, uid: r.uid }
42
- }, null, 8, ["variable"]))), 128))
43
- ]),
44
- _: 1
45
- })
46
- ])
47
- ]),
48
- button: e(() => [
49
- t(x, { click: c }, {
50
- title: e(() => [
51
- k("Add Item")
34
+ t(L, null, {
35
+ default: e(() => [
36
+ t(m(E), { title: "Domain" }, {
37
+ content: e(() => [
38
+ f("div", S, [
39
+ t(C, null, {
40
+ default: e(() => [
41
+ (i(!0), d(_, null, p(m(n), (r) => (i(), a(h, {
42
+ key: r.uid,
43
+ class: "text-xs",
44
+ variable: { name: r.name, uid: r.uid }
45
+ }, null, 8, ["variable"]))), 128))
46
+ ]),
47
+ _: 1
48
+ })
49
+ ])
50
+ ]),
51
+ button: e(() => [
52
+ t(x, { click: c }, {
53
+ title: e(() => [
54
+ k("Add Item")
55
+ ]),
56
+ _: 1
57
+ })
58
+ ]),
59
+ _: 1
60
+ }),
61
+ t(V, { class: "flex-1" }, {
62
+ default: e(() => [
63
+ t(w),
64
+ t(B)
52
65
  ]),
53
66
  _: 1
54
67
  })
55
68
  ]),
56
69
  _: 1
57
- }),
58
- t(L, { class: "flex-1" }, {
59
- default: e(() => [
60
- t($),
61
- t(w)
62
- ]),
63
- _: 1
64
70
  })
65
71
  ]),
66
72
  _: 1
@@ -68,5 +74,5 @@ const E = { class: "flex-1" }, J = /* @__PURE__ */ u({
68
74
  }
69
75
  });
70
76
  export {
71
- J as default
77
+ P as default
72
78
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Environment.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Environment/Environment.vue"],"names":[],"mappings":";AA2fA,wBAKG"}
1
+ {"version":3,"file":"Environment.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Environment/Environment.vue"],"names":[],"mappings":";AAghBA,wBAKG"}
@@ -1,31 +1,32 @@
1
- import { defineComponent as N, ref as c, onMounted as C, openBlock as a, createBlock as f, withCtx as o, createVNode as r, createElementVNode as _, createElementBlock as v, Fragment as w, renderList as $, unref as u, createTextVNode as I, createSlots as S, createCommentVNode as h, toDisplayString as L, withKeys as B, nextTick as R } from "vue";
1
+ import { defineComponent as N, ref as c, onMounted as C, openBlock as r, createBlock as f, withCtx as o, createVNode as a, createElementVNode as _, createElementBlock as d, Fragment as w, renderList as $, unref as u, createTextVNode as I, createSlots as S, createCommentVNode as h, toDisplayString as L, withKeys as B, nextTick as R } from "vue";
2
2
  import K from "../../components/CodeInput/CodeInput.vue.js";
3
3
  import A from "../../components/Sidebar/Sidebar.vue.js";
4
4
  /* empty css */
5
5
  import M from "../../components/Sidebar/SidebarButton.vue.js";
6
6
  import T from "../../components/Sidebar/SidebarList.vue.js";
7
7
  import U from "../../components/Sidebar/SidebarListElement.vue.js";
8
- import F from "../../components/ViewLayout/ViewLayout.vue.js";
9
- import J from "../../components/ViewLayout/ViewLayoutContent.vue.js";
10
- import O from "../../components/ViewLayout/ViewLayoutSection.vue.js";
11
- import { useWorkspace as W } from "../../store/workspace.js";
12
- import { nanoid as j } from "nanoid";
13
- import { useRouter as q } from "vue-router";
14
- import z from "./EnvironmentColors.vue.js";
15
- const G = { class: "flex-1" }, H = ["value"], P = { class: "colors ml-auto" }, ce = /* @__PURE__ */ N({
8
+ import F from "../../components/SubpageHeader.vue.js";
9
+ import J from "../../components/ViewLayout/ViewLayout.vue.js";
10
+ import O from "../../components/ViewLayout/ViewLayoutContent.vue.js";
11
+ import W from "../../components/ViewLayout/ViewLayoutSection.vue.js";
12
+ import { useWorkspace as j } from "../../store/workspace.js";
13
+ import { nanoid as q } from "nanoid";
14
+ import { useRouter as z } from "vue-router";
15
+ import G from "./EnvironmentColors.vue.js";
16
+ const H = { class: "flex-1" }, P = ["value"], Q = { class: "colors ml-auto" }, de = /* @__PURE__ */ N({
16
17
  __name: "Environment",
17
- setup(Q) {
18
- const d = q(), { environments: n, environmentMutators: m } = W(), e = c(null), p = c(null), s = c(!1);
18
+ setup(X) {
19
+ const v = z(), { environments: n, environmentMutators: m } = j(), e = c(null), p = c(null), s = c(!1);
19
20
  function E() {
20
21
  const t = {
21
22
  name: "New Environment",
22
- uid: j(),
23
+ uid: q(),
23
24
  color: "grey",
24
25
  raw: JSON.stringify({ exampleKey: "exampleValue" }, null, 2),
25
26
  parsed: [],
26
27
  isDefault: !1
27
28
  };
28
- m.add(t), e.value = t.uid, d.push(e.value);
29
+ m.add(t), e.value = t.uid, v.push(e.value);
29
30
  }
30
31
  function k(t) {
31
32
  e.value && m.edit(e.value, "raw", t);
@@ -35,7 +36,7 @@ const G = { class: "flex-1" }, H = ["value"], P = { class: "colors ml-auto" }, c
35
36
  }, x = (t) => {
36
37
  e.value && (n[e.value].color = t);
37
38
  }, V = () => {
38
- d.currentRoute.value.params.environment === "default" && (e.value = n.default.uid);
39
+ v.currentRoute.value.params.environment === "default" && (e.value = n.default.uid);
39
40
  }, b = () => {
40
41
  e.value && !n[e.value].isDefault && (s.value = !0, R(() => {
41
42
  var t;
@@ -45,82 +46,87 @@ const G = { class: "flex-1" }, H = ["value"], P = { class: "colors ml-auto" }, c
45
46
  const l = t.target.value;
46
47
  e.value && !n[e.value].isDefault && (n[e.value].name = l);
47
48
  };
48
- return C(V), (t, i) => (a(), f(F, null, {
49
+ return C(V), (t, i) => (r(), f(F, null, {
49
50
  default: o(() => [
50
- r(A, { title: "Environment" }, {
51
- content: o(() => [
52
- _("div", G, [
53
- r(T, null, {
54
- default: o(() => [
55
- (a(!0), v(w, null, $(u(n), (l) => (a(), f(U, {
56
- key: l.uid,
57
- class: "text-xs",
58
- variable: {
59
- name: l.name,
60
- uid: l.uid,
61
- color: l.color,
62
- isDefault: l.isDefault
63
- },
64
- onClick: (D) => e.value = l.uid,
65
- onDelete: (D) => y(l.uid)
66
- }, null, 8, ["variable", "onClick", "onDelete"]))), 128))
67
- ]),
68
- _: 1
69
- })
70
- ])
71
- ]),
72
- button: o(() => [
73
- r(M, { click: E }, {
74
- title: o(() => [
75
- I("Add Environment Variable")
51
+ a(J, null, {
52
+ default: o(() => [
53
+ a(A, { title: "Environment" }, {
54
+ content: o(() => [
55
+ _("div", H, [
56
+ a(T, null, {
57
+ default: o(() => [
58
+ (r(!0), d(w, null, $(u(n), (l) => (r(), f(U, {
59
+ key: l.uid,
60
+ class: "text-xs",
61
+ variable: {
62
+ name: l.name,
63
+ uid: l.uid,
64
+ color: l.color,
65
+ isDefault: l.isDefault
66
+ },
67
+ onClick: (D) => e.value = l.uid,
68
+ onDelete: (D) => y(l.uid)
69
+ }, null, 8, ["variable", "onClick", "onDelete"]))), 128))
70
+ ]),
71
+ _: 1
72
+ })
73
+ ])
74
+ ]),
75
+ button: o(() => [
76
+ a(M, { click: E }, {
77
+ title: o(() => [
78
+ I("Add Environment Variable")
79
+ ]),
80
+ _: 1
81
+ })
76
82
  ]),
77
83
  _: 1
78
- })
79
- ]),
80
- _: 1
81
- }),
82
- r(J, { class: "flex-1" }, {
83
- default: o(() => [
84
- r(O, null, S({
84
+ }),
85
+ a(O, { class: "flex-1" }, {
85
86
  default: o(() => [
86
- e.value ? (a(), f(K, {
87
- key: 0,
88
- class: "px-2 py-2.5",
89
- lineNumbers: "",
90
- modelValue: u(n)[e.value].raw,
91
- "onUpdate:modelValue": k
92
- }, null, 8, ["modelValue"])) : h("", !0)
87
+ a(W, null, S({
88
+ default: o(() => [
89
+ e.value ? (r(), f(K, {
90
+ key: 0,
91
+ class: "px-2 py-2.5",
92
+ lineNumbers: "",
93
+ modelValue: u(n)[e.value].raw,
94
+ "onUpdate:modelValue": k
95
+ }, null, 8, ["modelValue"])) : h("", !0)
96
+ ]),
97
+ _: 2
98
+ }, [
99
+ e.value ? {
100
+ name: "title",
101
+ fn: o(() => [
102
+ !s.value || u(n)[e.value].isDefault ? (r(), d("span", {
103
+ key: 0,
104
+ onDblclick: b
105
+ }, L(u(n)[e.value].name), 33)) : (r(), d("input", {
106
+ key: 1,
107
+ ref_key: "nameInputRef",
108
+ ref: p,
109
+ class: "ring-1 ring-offset-4 ring-b-outline rounded",
110
+ spellcheck: "false",
111
+ type: "text",
112
+ value: u(n)[e.value].name,
113
+ onBlur: i[0] || (i[0] = (l) => s.value = !1),
114
+ onInput: g,
115
+ onKeyup: i[1] || (i[1] = B((l) => s.value = !1, ["enter"]))
116
+ }, null, 40, P)),
117
+ _("div", Q, [
118
+ a(G, {
119
+ activeColor: u(n)[e.value].color,
120
+ onSelect: x
121
+ }, null, 8, ["activeColor"])
122
+ ])
123
+ ]),
124
+ key: "0"
125
+ } : void 0
126
+ ]), 1024)
93
127
  ]),
94
- _: 2
95
- }, [
96
- e.value ? {
97
- name: "title",
98
- fn: o(() => [
99
- !s.value || u(n)[e.value].isDefault ? (a(), v("span", {
100
- key: 0,
101
- onDblclick: b
102
- }, L(u(n)[e.value].name), 33)) : (a(), v("input", {
103
- key: 1,
104
- ref_key: "nameInputRef",
105
- ref: p,
106
- class: "ring-1 ring-offset-4 ring-b-outline rounded",
107
- spellcheck: "false",
108
- type: "text",
109
- value: u(n)[e.value].name,
110
- onBlur: i[0] || (i[0] = (l) => s.value = !1),
111
- onInput: g,
112
- onKeyup: i[1] || (i[1] = B((l) => s.value = !1, ["enter"]))
113
- }, null, 40, H)),
114
- _("div", P, [
115
- r(z, {
116
- activeColor: u(n)[e.value].color,
117
- onSelect: x
118
- }, null, 8, ["activeColor"])
119
- ])
120
- ]),
121
- key: "0"
122
- } : void 0
123
- ]), 1024)
128
+ _: 1
129
+ })
124
130
  ]),
125
131
  _: 1
126
132
  })
@@ -130,5 +136,5 @@ const G = { class: "flex-1" }, H = ["value"], P = { class: "colors ml-auto" }, c
130
136
  }
131
137
  });
132
138
  export {
133
- ce as default
139
+ de as default
134
140
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Request.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/Request.vue"],"names":[],"mappings":";AA4gCA,wBAKG"}
1
+ {"version":3,"file":"Request.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/Request.vue"],"names":[],"mappings":";AA6gCA,wBAKG"}
@@ -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 p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-945c36e9"]]);
4
+ const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-0c56ac02"]]);
5
5
  export {
6
- p as default
6
+ e as default
7
7
  };
@@ -18,11 +18,11 @@ import { useMagicKeys as de, useEventListener as pe } from "@vueuse/core";
18
18
  import fe from "./RequestSidebarItem.vue.js";
19
19
  import ve from "../../components/Sidebar/Sidebar.vue.js";
20
20
  /* empty css */
21
- import ge from "./components/WorkspaceDropdown.vue.js";
22
- import { useSidebar as he } from "../../hooks/useSidebar.js";
21
+ import he from "./components/WorkspaceDropdown.vue.js";
22
+ import { useSidebar as ge } from "../../hooks/useSidebar.js";
23
23
  import { sendRequest as xe } from "../../libs/sendRequest.js";
24
24
  import { executeRequestBus as q } from "../../libs/eventBusses/executeRequestBus.js";
25
- const be = (h) => (X("data-v-945c36e9"), h = h(), Y(), h), _e = { class: "lg:min-h-header flex items-center w-full justify-center p-1 flex-wrap t-app__top-container" }, ye = { class: "flex flex-row items-center gap-1 lg:px-1 lg:mb-0 mb-0.5 lg:flex-1 w-6/12" }, we = /* @__PURE__ */ be(() => /* @__PURE__ */ n("div", { class: "text-c-2 text-sm font-medium gitbook-show pl-2" }, [
25
+ const be = (g) => (X("data-v-0c56ac02"), g = g(), Y(), g), _e = { class: "lg:min-h-header flex items-center w-full justify-center p-1 flex-wrap t-app__top-container" }, ye = { class: "flex flex-row items-center gap-1 lg:px-1 lg:mb-0 mb-0.5 lg:flex-1 w-6/12" }, we = /* @__PURE__ */ be(() => /* @__PURE__ */ n("div", { class: "text-c-2 text-sm font-medium gitbook-show pl-2" }, [
26
26
  /* @__PURE__ */ B(" Powered by "),
27
27
  /* @__PURE__ */ n("a", {
28
28
  class: "hover:text-c-1",
@@ -31,7 +31,7 @@ const be = (h) => (X("data-v-945c36e9"), h = h(), Y(), h), _e = { class: "lg:min
31
31
  }, "Scalar.com")
32
32
  ], -1)), ke = { class: "flex flex-row items-center gap-1 lg:px-1 lg:mb-0 mb-0.5 lg:flex-1 justify-end w-6/12" }, Ke = /* @__PURE__ */ F({
33
33
  __name: "Request",
34
- setup(h) {
34
+ setup(g) {
35
35
  var R;
36
36
  const {
37
37
  activeExample: x,
@@ -43,8 +43,8 @@ const be = (h) => (X("data-v-945c36e9"), h = h(), Y(), h), _e = { class: "lg:min
43
43
  requestMutators: $,
44
44
  activeWorkspaceCollections: N,
45
45
  modalState: U
46
- } = ne(), { collapsedSidebarFolders: z } = he(), v = ue(), c = P(!((R = i.value) != null && R.isReadOnly)), C = async () => {
47
- var g;
46
+ } = ne(), { collapsedSidebarFolders: z } = ge(), v = ue(), c = P(!((R = i.value) != null && R.isReadOnly)), C = async () => {
47
+ var h;
48
48
  if (!l.value || !x.value) {
49
49
  console.warn(
50
50
  "There is no request active at the moment. Please select one then try again."
@@ -71,7 +71,7 @@ const be = (h) => (X("data-v-945c36e9"), h = h(), Y(), h), _e = { class: "lg:min
71
71
  x.value,
72
72
  s,
73
73
  M.value,
74
- (g = i.value) == null ? void 0 : g.proxyUrl
74
+ (h = i.value) == null ? void 0 : h.proxyUrl
75
75
  );
76
76
  a && u ? $.edit(l.value.uid, "history", [
77
77
  ...l.value.history,
@@ -95,7 +95,7 @@ const be = (h) => (X("data-v-945c36e9"), h = h(), Y(), h), _e = { class: "lg:min
95
95
  };
96
96
  return (s, o) => (f(), y(O, null, [
97
97
  n("div", {
98
- class: _(["flex flex-1 flex-col rounded-lg rounded-b-none rounded-r-none pt-0 h-full client-wrapper-bg-color", W()])
98
+ class: _(["flex flex-1 flex-col rounded rounded-b-none rounded-r-none pt-0 h-full client-wrapper-bg-color relative", W()])
99
99
  }, [
100
100
  n("div", _e, [
101
101
  n("div", ye, [
@@ -185,7 +185,7 @@ const be = (h) => (X("data-v-945c36e9"), h = h(), Y(), h), _e = { class: "lg:min
185
185
  e(i).isReadOnly ? void 0 : {
186
186
  name: "header",
187
187
  fn: m(() => [
188
- r(e(ge))
188
+ r(e(he))
189
189
  ]),
190
190
  key: "0"
191
191
  }
@@ -197,11 +197,11 @@ const be = (h) => (X("data-v-945c36e9"), h = h(), Y(), h), _e = { class: "lg:min
197
197
  class: _(["flex-1", [c.value ? "sidebar-active-hide-layout" : ""]])
198
198
  }, {
199
199
  default: m(() => {
200
- var t, a, u, g, d;
200
+ var t, a, u, h, d;
201
201
  return [
202
202
  r(ie),
203
203
  r(ce, {
204
- response: (d = (g = (t = e(l)) == null ? void 0 : t.history) == null ? void 0 : g[((u = (a = e(l)) == null ? void 0 : a.history) == null ? void 0 : u.length) - 1]) == null ? void 0 : d.response
204
+ response: (d = (h = (t = e(l)) == null ? void 0 : t.history) == null ? void 0 : h[((u = (a = e(l)) == null ? void 0 : a.history) == null ? void 0 : u.length) - 1]) == null ? void 0 : d.response
205
205
  }, null, 8, ["response"])
206
206
  ];
207
207
  }),
@@ -1 +1 @@
1
- {"version":3,"file":"RequestBody.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestBody.vue"],"names":[],"mappings":";WA4dS,MAAM;WACN,MAAM;eACF,GAAG,EAAE;;WAFT,MAAM;WACN,MAAM;eACF,GAAG,EAAE;;AAqzBlB,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":"RequestBody.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestBody.vue"],"names":[],"mappings":";WA4dS,MAAM;WACN,MAAM;eACF,GAAG,EAAE;;WAFT,MAAM;WACN,MAAM;eACF,GAAG,EAAE;;AAuzBlB,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"}
@@ -82,9 +82,9 @@ const le = {
82
82
  }
83
83
  );
84
84
  function $() {
85
- f.value.length === 0 && x();
85
+ f.value.length === 0 && w();
86
86
  }
87
- const x = () => {
87
+ const w = () => {
88
88
  if (!p.value || !t.value) return;
89
89
  const e = S({
90
90
  enabled: !1
@@ -194,14 +194,14 @@ const le = {
194
194
  label: a,
195
195
  value: e
196
196
  })
197
- ), g = _({
197
+ ), x = _({
198
198
  get: () => B.find((e) => e.id === u.value),
199
199
  set: (e) => {
200
200
  e != null && e.id && (u.value = e.id);
201
201
  }
202
- }), w = _(() => t.value ? t.value.body.activeBody === "formData" && t.value.body.formData && t.value.body.formData.value.length > 0 ? "multipartForm" : t.value.body.activeBody === "raw" ? t.value.body.raw.encoding : u.value : "none");
203
- return w.value !== "none" && (u.value = w.value), N(
204
- w,
202
+ }), g = _(() => t.value ? t.value.body.activeBody === "formData" && t.value.body.formData && t.value.body.formData.value.length > 0 ? "multipartForm" : t.value.body.activeBody === "raw" ? t.value.body.raw.encoding : u.value : "none");
203
+ return g.value !== "none" && (u.value = g.value), N(
204
+ g,
205
205
  (e) => {
206
206
  e && (u.value = e);
207
207
  },
@@ -227,8 +227,8 @@ const le = {
227
227
  m(te, { class: "relative col-span-full flex h-8 cursor-pointer items-center px-[2.25px] py-[2.25px]" }, {
228
228
  default: d(() => [
229
229
  m(c(ne), {
230
- modelValue: g.value,
231
- "onUpdate:modelValue": a[0] || (a[0] = (o) => g.value = o),
230
+ modelValue: x.value,
231
+ "onUpdate:modelValue": a[0] || (a[0] = (o) => x.value = o),
232
232
  class: "text-xxs w-full",
233
233
  fullWidth: "",
234
234
  options: c(B),
@@ -243,7 +243,7 @@ const le = {
243
243
  default: d(() => {
244
244
  var o;
245
245
  return [
246
- b("span", null, k((o = g.value) == null ? void 0 : o.label), 1),
246
+ b("span", null, k((o = x.value) == null ? void 0 : o.label), 1),
247
247
  m(c(q), {
248
248
  icon: "ChevronDown",
249
249
  size: "xs",
@@ -270,7 +270,7 @@ const le = {
270
270
  (o = c(t)) != null && o.body.binary ? (i(), y(j, { key: 0 }, [
271
271
  b("span", me, k((s = c(t)) == null ? void 0 : s.body.binary.name), 1),
272
272
  m(c(D), {
273
- class: "bg-b-2 hover:bg-b-3 border-0 text-c-2 ml-1",
273
+ class: "bg-b-2 hover:bg-b-3 border-0 text-c-2 ml-1 shadow-none",
274
274
  size: "sm",
275
275
  variant: "outlined",
276
276
  onClick: G
@@ -282,7 +282,7 @@ const le = {
282
282
  })
283
283
  ], 64)) : (i(), v(c(D), {
284
284
  key: 1,
285
- class: "bg-b-2 hover:bg-b-3 border-0 text-c-2",
285
+ class: "bg-b-2 hover:bg-b-3 border-0 text-c-2 shadow-none",
286
286
  size: "sm",
287
287
  variant: "outlined",
288
288
  onClick: K
@@ -306,7 +306,7 @@ const le = {
306
306
  columns: ["32px", "", "", "61px"],
307
307
  items: f.value,
308
308
  showUploadButton: "",
309
- onAddRow: x,
309
+ onAddRow: w,
310
310
  onDeleteRow: R,
311
311
  onRemoveFile: U,
312
312
  onUpdateRow: C,
@@ -319,7 +319,7 @@ const le = {
319
319
  columns: ["32px", "", "", "61px"],
320
320
  items: f.value,
321
321
  showUploadButton: "",
322
- onAddRow: x,
322
+ onAddRow: w,
323
323
  onDeleteRow: R,
324
324
  onRemoveFile: U,
325
325
  onUpdateRow: C,
@@ -1 +1 @@
1
- {"version":3,"file":"RequestTable.vue.d.ts","sourceRoot":"","sources":["../../../../src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7 +1,7 @@
1
1
  import o from "./RequestTable.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-92212893"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-2b656c55"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -6,7 +6,7 @@ import q from "../../../components/DataTable/DataTableCheckbox.vue.js";
6
6
  import D from "../../../components/DataTable/DataTableRow.vue.js";
7
7
  import { ScalarButton as H, ScalarIcon as z } from "@scalar/components";
8
8
  import A from "./RequestTableTooltip.vue.js";
9
- const M = (s) => (E("data-v-92212893"), s = s(), T(), s), O = { class: "text-c-2 max-w-[100%] overflow-hidden filemask flex items-end justify-end" }, j = ["onClick"], K = /* @__PURE__ */ M(() => /* @__PURE__ */ p("span", null, "File", -1)), Z = /* @__PURE__ */ F({
9
+ const M = (s) => (E("data-v-2b656c55"), s = s(), T(), s), O = { class: "text-c-2 max-w-[100%] overflow-hidden filemask flex items-end justify-end" }, j = ["onClick"], K = /* @__PURE__ */ M(() => /* @__PURE__ */ p("span", null, "File", -1)), Z = /* @__PURE__ */ F({
10
10
  __name: "RequestTable",
11
11
  props: {
12
12
  items: {},
@@ -115,7 +115,7 @@ const M = (s) => (E("data-v-92212893"), s = s(), T(), s), O = { class: "text-c-2
115
115
  }, " Delete ", 8, j)
116
116
  ], 64)) : (u(), r(m(H), {
117
117
  key: 1,
118
- class: "bg-b-2 hover:bg-b-3 border-0 py-px text-c-2",
118
+ class: "bg-b-2 hover:bg-b-3 border-0 py-px text-c-2 shadow-none",
119
119
  size: "sm",
120
120
  variant: "outlined",
121
121
  onClick: (S) => _(a)
@@ -1 +1 @@
1
- {"version":3,"file":"Servers.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Servers/Servers.vue"],"names":[],"mappings":";AAyMA,wBAKG"}
1
+ {"version":3,"file":"Servers.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Servers/Servers.vue"],"names":[],"mappings":";AAqNA,wBAKG"}