@scalar/api-client 2.2.23 → 2.2.25

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.
@@ -1 +1 @@
1
- {"version":3,"file":"Request.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/Request.vue"],"names":[],"mappings":";;cAyS8B,MAAM;aAAO,MAAM;;;;cAAnB,MAAM;aAAO,MAAM;;;AAqajD,wBAMG"}
1
+ {"version":3,"file":"Request.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/Request.vue"],"names":[],"mappings":";;cA+S8B,MAAM;aAAO,MAAM;;;;cAAnB,MAAM;aAAO,MAAM;;;AA2ajD,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-32033bf8"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-90ff0226"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as se, ref as R, computed as L, watch as ue, onMounted as le, onBeforeUnmount as ae, openBlock as b, createElementBlock as ie, Fragment as ne, createElementVNode as E, normalizeClass as H, unref as u, createBlock as O, createCommentVNode as V, createVNode as h, withCtx as W } from "vue";
1
+ import { defineComponent as se, ref as h, computed as H, watch as ue, onMounted as le, onBeforeUnmount as ae, openBlock as x, createElementBlock as ie, Fragment as ne, createElementVNode as V, normalizeClass as W, unref as l, createBlock as C, createCommentVNode as N, createVNode as U, withCtx as _ } from "vue";
2
2
  import ce from "../../components/ImportCurl/ImportCurlModal.vue.js";
3
3
  import me from "../../components/ViewLayout/ViewLayout.vue.js";
4
4
  import de from "../../components/ViewLayout/ViewLayoutContent.vue.js";
@@ -22,164 +22,164 @@ const Ce = { class: "flex h-full" }, Ne = { class: "flex flex-1 flex-col h-full"
22
22
  __name: "Request",
23
23
  emits: ["newTab"],
24
24
  setup(Be) {
25
- const _ = Oe(), { toast: C } = xe(), { layout: $ } = Ve(), {
26
- activeCollection: x,
27
- activeExample: v,
28
- activeEnvironment: N,
29
- activeRequest: U,
30
- activeWorkspace: f,
31
- activeServer: j,
32
- activeWorkspaceCollections: z
25
+ const $ = Oe(), { toast: B } = xe(), { layout: j } = Ve(), {
26
+ activeCollection: p,
27
+ activeExample: S,
28
+ activeEnvironment: g,
29
+ activeRequest: k,
30
+ activeWorkspace: y,
31
+ activeServer: z,
32
+ activeWorkspaceCollections: F
33
33
  } = fe(), {
34
- cookies: F,
35
- isReadOnly: k,
36
- modalState: a,
37
- requestHistory: B,
38
- showSidebar: Q,
39
- securitySchemes: J,
40
- requestMutators: G,
41
- serverMutators: K,
42
- servers: P,
43
- events: p
44
- } = _, l = R(!k), g = R(), e = R(), w = R(""), X = Ue(), Y = L(
45
- () => B.findLast((o) => {
34
+ cookies: Q,
35
+ isReadOnly: w,
36
+ modalState: i,
37
+ requestHistory: I,
38
+ showSidebar: J,
39
+ securitySchemes: G,
40
+ requestMutators: K,
41
+ serverMutators: P,
42
+ servers: X,
43
+ events: q
44
+ } = $, a = h(!w), T = h(), e = h(), E = h(""), Y = Ue(), Z = H(
45
+ () => I.findLast((o) => {
46
46
  var t;
47
- return o.request.uid === ((t = v.value) == null ? void 0 : t.uid);
47
+ return o.request.uid === ((t = S.value) == null ? void 0 : t.uid);
48
48
  })
49
- ), { mediaQueries: Z } = he();
50
- ue(Z.xl, (o) => l.value = o, {
51
- immediate: $ !== "modal"
49
+ ), { mediaQueries: ee } = he();
50
+ ue(ee.xl, (o) => a.value = o, {
51
+ immediate: j !== "modal"
52
52
  });
53
- const I = L(
53
+ const D = H(
54
54
  () => {
55
55
  var o, t;
56
- return (k ? (o = x.value) == null ? void 0 : o.selectedSecuritySchemeUids : (t = U.value) == null ? void 0 : t.selectedSecuritySchemeUids) ?? [];
56
+ return (w ? (o = p.value) == null ? void 0 : o.selectedSecuritySchemeUids : (t = k.value) == null ? void 0 : t.selectedSecuritySchemeUids) ?? [];
57
57
  }
58
- ), T = async () => {
59
- var m, d;
60
- if (!U.value || !v.value || !x.value)
58
+ ), M = async () => {
59
+ var d, v, f, u;
60
+ if (!k.value || !S.value || !p.value)
61
61
  return;
62
- const o = typeof N.value == "object" ? N.value.value : "{}", t = be.parse(o);
62
+ const o = typeof g.value == "object" ? g.value.value : "{}", t = be.parse(o);
63
63
  t.error && console.error("INVALID ENVIRONMENT!");
64
- const s = t.error || typeof t.data != "object" ? {} : t.data ?? {}, r = ((m = f.value) == null ? void 0 : m.cookies.map((y) => F[y]).filter(Re)) ?? [], [i, n] = we({
65
- request: U.value,
66
- example: v.value,
67
- selectedSecuritySchemeUids: I.value,
68
- proxyUrl: ((d = f.value) == null ? void 0 : d.proxyUrl) ?? "",
64
+ const s = t.error || typeof t.data != "object" ? {} : t.data ?? {}, r = ((d = y.value) == null ? void 0 : d.cookies.map((O) => Q[O]).filter(Re)) ?? [], R = ((f = (v = p.value) == null ? void 0 : v.info) == null ? void 0 : f.title) === "Drafts" ? void 0 : z.value, [n, c] = we({
65
+ request: k.value,
66
+ example: S.value,
67
+ selectedSecuritySchemeUids: D.value,
68
+ proxyUrl: ((u = y.value) == null ? void 0 : u.proxyUrl) ?? "",
69
69
  environment: s,
70
70
  globalCookies: r,
71
- status: p.requestStatus,
72
- securitySchemes: J,
73
- server: j.value
71
+ status: q.requestStatus,
72
+ securitySchemes: G,
73
+ server: R
74
74
  });
75
- if (i) {
76
- C(i.message, "error");
75
+ if (n) {
76
+ B(n.message, "error");
77
77
  return;
78
78
  }
79
- g.value = n.controller;
80
- const [c, S] = await n.sendRequest();
81
- c ? C(c.message, "error") : B.push(S);
82
- }, ee = async () => {
79
+ T.value = c.controller;
80
+ const [m, b] = await c.sendRequest();
81
+ m ? B(m.message, "error") : I.push(b);
82
+ }, te = async () => {
83
83
  var o;
84
- return (o = g.value) == null ? void 0 : o.abort(Ee.REQUEST_ABORTED);
84
+ return (o = T.value) == null ? void 0 : o.abort(Ee.REQUEST_ABORTED);
85
85
  };
86
86
  le(() => {
87
- p.executeRequest.on(T), p.cancelRequest.on(ee);
88
- }), qe(), ae(() => p.executeRequest.off(T));
89
- function te({
87
+ q.executeRequest.on(M), q.cancelRequest.on(te);
88
+ }), qe(), ae(() => q.executeRequest.off(M));
89
+ function oe({
90
90
  requestName: o,
91
91
  collectionUid: t
92
92
  }) {
93
- var n, c, S, m, d, y, M;
93
+ var n, c, m, b, d, v, f;
94
94
  if (!e.value) return;
95
- const s = z.value.find(
96
- (q) => q.uid === t
95
+ const s = F.value.find(
96
+ (u) => u.uid === t
97
97
  );
98
98
  if (!s) return;
99
99
  const r = ((n = s == null ? void 0 : s.info) == null ? void 0 : n.title) === "Drafts";
100
100
  if (!r && e.value.servers) {
101
- const q = Object.values(P).find(
102
- (re) => {
103
- var A, D;
104
- return re.url === ((D = (A = e == null ? void 0 : e.value) == null ? void 0 : A.servers) == null ? void 0 : D[0]);
101
+ const u = Object.values(X).find(
102
+ (O) => {
103
+ var A, L;
104
+ return O.url === ((L = (A = e == null ? void 0 : e.value) == null ? void 0 : A.servers) == null ? void 0 : L[0]);
105
105
  }
106
106
  );
107
- q ? w.value = q.uid : w.value = K.add(
107
+ u ? E.value = u.uid : E.value = P.add(
108
108
  { url: e.value.servers[0] },
109
109
  s.uid
110
110
  ).uid;
111
111
  }
112
- const i = G.add(
112
+ const R = K.add(
113
113
  {
114
114
  summary: o,
115
- path: r ? (c = e == null ? void 0 : e.value) == null ? void 0 : c.url : (S = e == null ? void 0 : e.value) == null ? void 0 : S.path,
116
- method: (m = e == null ? void 0 : e.value) == null ? void 0 : m.method,
115
+ path: r ? (c = e == null ? void 0 : e.value) == null ? void 0 : c.url : (m = e == null ? void 0 : e.value) == null ? void 0 : m.path,
116
+ method: (b = e == null ? void 0 : e.value) == null ? void 0 : b.method,
117
117
  parameters: (d = e == null ? void 0 : e.value) == null ? void 0 : d.parameters,
118
- selectedServerUid: r ? void 0 : w.value,
119
- requestBody: (y = e == null ? void 0 : e.value) == null ? void 0 : y.requestBody
118
+ selectedServerUid: r ? void 0 : E.value,
119
+ requestBody: (v = e == null ? void 0 : e.value) == null ? void 0 : v.requestBody
120
120
  },
121
121
  s.uid
122
122
  );
123
- i && ((M = f.value) != null && M.uid) && X.push(
124
- `/workspace/${f.value.uid}/request/${i.uid}`
125
- ), a.hide();
123
+ R && ((f = y.value) != null && f.uid) && Y.push(
124
+ `/workspace/${y.value.uid}/request/${R.uid}`
125
+ ), i.hide();
126
126
  }
127
- function oe(o) {
128
- e.value = ve(o), a.show();
127
+ function re(o) {
128
+ e.value = ve(o), i.show();
129
129
  }
130
130
  return (o, t) => {
131
131
  var s;
132
- return b(), ie(ne, null, [
133
- E("div", {
134
- class: H(["flex flex-1 flex-col pt-0 h-full bg-b-1 relative z-0 overflow-hidden", {
135
- "!mr-0 !mb-0 !border-0": u(k)
132
+ return x(), ie(ne, null, [
133
+ V("div", {
134
+ class: W(["flex flex-1 flex-col pt-0 h-full bg-b-1 relative z-0 overflow-hidden", {
135
+ "!mr-0 !mb-0 !border-0": l(w)
136
136
  }])
137
137
  }, [
138
- E("div", Ce, [
139
- u(Q) ? (b(), O(ke, {
138
+ V("div", Ce, [
139
+ l(J) ? (x(), C(ke, {
140
140
  key: 0,
141
- isSidebarOpen: l.value,
141
+ isSidebarOpen: a.value,
142
142
  onNewTab: t[0] || (t[0] = (r) => o.$emit("newTab", r)),
143
- "onUpdate:isSidebarOpen": t[1] || (t[1] = (r) => l.value = r)
144
- }, null, 8, ["isSidebarOpen"])) : V("", !0),
145
- E("div", Ne, [
146
- h(Se, {
147
- modelValue: l.value,
148
- "onUpdate:modelValue": t[2] || (t[2] = (r) => l.value = r),
149
- onHideModal: t[3] || (t[3] = () => u(a).hide()),
150
- onImportCurl: oe
143
+ "onUpdate:isSidebarOpen": t[1] || (t[1] = (r) => a.value = r)
144
+ }, null, 8, ["isSidebarOpen"])) : N("", !0),
145
+ V("div", Ne, [
146
+ U(Se, {
147
+ modelValue: a.value,
148
+ "onUpdate:modelValue": t[2] || (t[2] = (r) => a.value = r),
149
+ onHideModal: t[3] || (t[3] = () => l(i).hide()),
150
+ onImportCurl: re
151
151
  }, null, 8, ["modelValue"]),
152
- h(me, null, {
153
- default: W(() => [
154
- u(v) ? (b(), O(de, {
152
+ U(me, null, {
153
+ default: _(() => [
154
+ l(S) ? (x(), C(de, {
155
155
  key: 0,
156
- class: H(["flex-1", [l.value ? "sidebar-active-hide-layout" : ""]])
156
+ class: W(["flex-1", [a.value ? "sidebar-active-hide-layout" : ""]])
157
157
  }, {
158
- default: W(() => {
158
+ default: _(() => {
159
159
  var r;
160
160
  return [
161
- h(pe, { selectedSecuritySchemeUids: I.value }, null, 8, ["selectedSecuritySchemeUids"]),
162
- h(ye, {
163
- response: (r = Y.value) == null ? void 0 : r.response
161
+ U(pe, { selectedSecuritySchemeUids: D.value }, null, 8, ["selectedSecuritySchemeUids"]),
162
+ U(ye, {
163
+ response: (r = Z.value) == null ? void 0 : r.response
164
164
  }, null, 8, ["response"])
165
165
  ];
166
166
  }),
167
167
  _: 1
168
- }, 8, ["class"])) : V("", !0)
168
+ }, 8, ["class"])) : N("", !0)
169
169
  ]),
170
170
  _: 1
171
171
  })
172
172
  ])
173
173
  ])
174
174
  ], 2),
175
- e.value ? (b(), O(ce, {
175
+ e.value ? (x(), C(ce, {
176
176
  key: 0,
177
- collectionUid: ((s = u(x)) == null ? void 0 : s.uid) ?? "",
177
+ collectionUid: ((s = l(p)) == null ? void 0 : s.uid) ?? "",
178
178
  parsedCurl: e.value,
179
- state: u(a),
180
- onClose: t[4] || (t[4] = (r) => u(a).hide()),
181
- onImportCurl: te
182
- }, null, 8, ["collectionUid", "parsedCurl", "state"])) : V("", !0)
179
+ state: l(i),
180
+ onClose: t[4] || (t[4] = (r) => l(i).hide()),
181
+ onImportCurl: oe
182
+ }, null, 8, ["collectionUid", "parsedCurl", "state"])) : N("", !0)
183
183
  ], 64);
184
184
  };
185
185
  }
@@ -1 +1 @@
1
- {"version":3,"file":"RequestParams.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestParams.vue"],"names":[],"mappings":"AAkNA,OAAO,EACL,KAAK,cAAc,EAEpB,MAAM,iCAAiC,CAAA;AAKxC,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,cAAc,CAAC,YAAY,CAAC,CAAA;CAC7C,CAAC;;AA2UF,wBAOG"}
1
+ {"version":3,"file":"RequestParams.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestParams.vue"],"names":[],"mappings":"AA8MA,OAAO,EACL,KAAK,cAAc,EAEpB,MAAM,iCAAiC,CAAA;AAKxC,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,cAAc,CAAC,YAAY,CAAC,CAAA;CAC7C,CAAC;;AAuUF,wBAOG"}
@@ -1,76 +1,70 @@
1
- import { defineComponent as B, computed as q, onMounted as M, ref as N, watch as V, openBlock as W, createBlock as D, withCtx as r, createTextVNode as C, toDisplayString as K, createElementVNode as i, createVNode as f, unref as $, withModifiers as O, nextTick as w } from "vue";
2
- import U from "../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
3
- import { useActiveEntities as j } from "../../../store/active-entities.js";
4
- import F from "./RequestTable.vue.js";
5
- import { ScalarTooltip as G, ScalarButton as H } from "@scalar/components";
6
- import { requestExampleParametersSchema as E } from "@scalar/oas-utils/entities/spec";
7
- import { useWorkspace as J } from "../../../store/store.js";
8
- const L = { class: "text-c-2 flex whitespace-nowrap opacity-0 group-hover/params:opacity-100 has-[:focus-visible]:opacity-100 request-meta-buttons" }, Q = { class: "sr-only" }, ne = /* @__PURE__ */ B({
1
+ import { defineComponent as K, computed as y, onMounted as $, ref as E, watch as S, openBlock as T, createBlock as A, withCtx as n, createTextVNode as h, toDisplayString as R, createElementVNode as i, createVNode as f, unref as k, withModifiers as z, nextTick as x } from "vue";
2
+ import B from "../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
3
+ import { useActiveEntities as M } from "../../../store/active-entities.js";
4
+ import N from "./RequestTable.vue.js";
5
+ import { ScalarTooltip as V, ScalarButton as W } from "@scalar/components";
6
+ import { requestExampleParametersSchema as b } from "@scalar/oas-utils/entities/spec";
7
+ import { useWorkspace as D } from "../../../store/store.js";
8
+ const O = { class: "text-c-2 flex whitespace-nowrap opacity-0 group-hover/params:opacity-100 has-[:focus-visible]:opacity-100 request-meta-buttons" }, U = { class: "sr-only" }, Z = /* @__PURE__ */ K({
9
9
  __name: "RequestParams",
10
10
  props: {
11
11
  title: {},
12
12
  paramKey: {}
13
13
  },
14
- setup(S) {
15
- const n = S, { activeRequest: u, activeExample: s } = j(), { requestExampleMutators: o } = J(), l = q(
14
+ setup(_) {
15
+ const r = _, { activeRequest: u, activeExample: s } = M(), { requestExampleMutators: o } = D(), l = y(
16
16
  () => {
17
17
  var e;
18
- return ((e = s.value) == null ? void 0 : e.parameters[n.paramKey]) ?? [];
18
+ return ((e = s.value) == null ? void 0 : e.parameters[r.paramKey]) ?? [];
19
19
  }
20
20
  );
21
- M(() => {
21
+ $(() => {
22
22
  v();
23
23
  });
24
24
  const p = () => {
25
25
  if (!u.value || !s.value) return;
26
- const e = E.parse({ enabled: !1 }), t = [...l.value, e];
26
+ const e = b.parse({ enabled: !1 }), t = [...l.value, e];
27
27
  o.edit(
28
28
  s.value.uid,
29
- `parameters.${n.paramKey}`,
29
+ `parameters.${r.paramKey}`,
30
30
  t
31
31
  );
32
- }, c = N(null), T = (e, t, d) => {
33
- var g, y, h, k, b, R, _;
32
+ }, m = E(null), q = (e, t, d) => {
34
33
  if (!u.value || !s.value) return;
35
- const m = l.value;
36
- if (m.length > e) {
37
- const a = [...m];
38
- a[e] = {
39
- ...a[e],
40
- [t]: d || "",
41
- value: ((g = a[e]) == null ? void 0 : g.value) || "",
42
- key: ((y = a[e]) == null ? void 0 : y.key) || "",
43
- enabled: ((h = a[e]) == null ? void 0 : h.enabled) ?? !1
44
- }, (((k = a[e]) == null ? void 0 : k.key) !== "" || ((b = a[e]) == null ? void 0 : b.value) !== "") && (a[e].enabled = !0), ((R = a[e]) == null ? void 0 : R.key) === "" && ((_ = a[e]) == null ? void 0 : _.value) === "" && a.splice(e, 1), o.edit(
34
+ const c = l.value;
35
+ if (c.length > e) {
36
+ const a = [...c];
37
+ if (!a[e]) return;
38
+ a[e] = { ...a[e], [t]: d }, (a[e].key !== "" || a[e].value !== "") && (a[e].enabled = !0), a[e].key === "" && a[e].value === "" && a.splice(e, 1), o.edit(
45
39
  s.value.uid,
46
- `parameters.${n.paramKey}`,
40
+ `parameters.${r.paramKey}`,
47
41
  a
48
42
  );
49
43
  } else {
50
- const a = [E.parse({ [t]: d })];
44
+ const a = [b.parse({ [t]: d })];
51
45
  o.edit(
52
46
  s.value.uid,
53
- `parameters.${n.paramKey}`,
47
+ `parameters.${r.paramKey}`,
54
48
  a
55
- ), w(() => {
56
- var x;
57
- if (!c.value) return;
58
- (x = c.value.querySelectorAll("input")[t === "key" ? 0 : 1]) == null || x.focus();
49
+ ), x(() => {
50
+ var g;
51
+ if (!m.value) return;
52
+ (g = m.value.querySelectorAll("input")[t === "key" ? 0 : 1]) == null || g.focus();
59
53
  });
60
54
  }
61
- e === m.length - 1 && p();
62
- }, A = (e, t) => u.value && s.value && o.edit(
55
+ e === c.length - 1 && p();
56
+ }, C = (e, t) => u.value && s.value && o.edit(
63
57
  s.value.uid,
64
- `parameters.${n.paramKey}.${e}.enabled`,
58
+ `parameters.${r.paramKey}.${e}.enabled`,
65
59
  t
66
60
  ), P = () => {
67
61
  if (!u.value || !s.value) return;
68
62
  const e = l.value.filter((t) => t.required);
69
63
  o.edit(
70
64
  s.value.uid,
71
- `parameters.${n.paramKey}`,
65
+ `parameters.${r.paramKey}`,
72
66
  e
73
- ), w(() => {
67
+ ), x(() => {
74
68
  p();
75
69
  });
76
70
  };
@@ -79,46 +73,46 @@ const L = { class: "text-c-2 flex whitespace-nowrap opacity-0 group-hover/params
79
73
  p();
80
74
  else if (l.value.length >= 1) {
81
75
  const e = l.value[l.value.length - 1];
82
- (e == null ? void 0 : e.key) !== "" && (e == null ? void 0 : e.value) !== "" && p();
76
+ e && e.key !== "" && e.value !== "" && p();
83
77
  }
84
78
  }
85
- const z = q(
79
+ const w = y(
86
80
  () => l.value.filter((e) => e.key || e.value).length
87
81
  );
88
- return V(
82
+ return S(
89
83
  () => s.value,
90
84
  (e, t) => {
91
85
  e !== t && v();
92
86
  },
93
87
  { immediate: !0 }
94
- ), (e, t) => (W(), D(U, {
88
+ ), (e, t) => (T(), A(B, {
95
89
  class: "group/params",
96
- itemCount: z.value
90
+ itemCount: w.value
97
91
  }, {
98
- title: r(() => [
99
- C(K(e.title), 1)
92
+ title: n(() => [
93
+ h(R(e.title), 1)
100
94
  ]),
101
- actions: r(() => [
102
- i("div", L, [
103
- f($(G), {
95
+ actions: n(() => [
96
+ i("div", O, [
97
+ f(k(V), {
104
98
  side: "right",
105
99
  sideOffset: 12
106
100
  }, {
107
- trigger: r(() => [
108
- f($(H), {
101
+ trigger: n(() => [
102
+ f(k(W), {
109
103
  class: "px-1 transition-none",
110
104
  size: "sm",
111
105
  variant: "ghost",
112
- onClick: O(P, ["stop"])
106
+ onClick: z(P, ["stop"])
113
107
  }, {
114
- default: r(() => [
115
- t[0] || (t[0] = C(" Clear ")),
116
- i("span", Q, "All " + K(e.title), 1)
108
+ default: n(() => [
109
+ t[0] || (t[0] = h(" Clear ")),
110
+ i("span", U, "All " + R(e.title), 1)
117
111
  ]),
118
112
  _: 1
119
113
  })
120
114
  ]),
121
- content: r(() => t[1] || (t[1] = [
115
+ content: n(() => t[1] || (t[1] = [
122
116
  i("div", { class: "grid gap-1.5 pointer-events-none min-w-48 w-content shadow-lg rounded bg-b-1 z-context p-2 text-xxs leading-5 z-10 text-c-1" }, [
123
117
  i("div", { class: "flex items-center text-c-2" }, [
124
118
  i("span", null, "Clear optional parameters")
@@ -129,17 +123,17 @@ const L = { class: "text-c-2 flex whitespace-nowrap opacity-0 group-hover/params
129
123
  })
130
124
  ])
131
125
  ]),
132
- default: r(() => [
126
+ default: n(() => [
133
127
  i("div", {
134
128
  ref_key: "tableWrapperRef",
135
- ref: c
129
+ ref: m
136
130
  }, [
137
- f(F, {
131
+ f(N, {
138
132
  class: "flex-1",
139
133
  columns: ["32px", "", ""],
140
134
  items: l.value,
141
- onToggleRow: A,
142
- onUpdateRow: T
135
+ onToggleRow: C,
136
+ onUpdateRow: q
143
137
  }, null, 8, ["items"])
144
138
  ], 512)
145
139
  ]),
@@ -148,5 +142,5 @@ const L = { class: "text-c-2 flex whitespace-nowrap opacity-0 group-hover/params
148
142
  }
149
143
  });
150
144
  export {
151
- ne as default
145
+ Z as default
152
146
  };
@@ -17,7 +17,7 @@ const K = { class: "relative col-1 flex-center gap-6 p-2 capitalize" }, A = {
17
17
  a.commandPalette.emit({ commandName: "Create Request" });
18
18
  }, y = (i) => {
19
19
  i != null && i.createNew && v.name === "request" && f();
20
- }, h = "2.2.23";
20
+ }, h = "2.2.25";
21
21
  return R(() => a.hotKeys.on(y)), C(() => a.hotKeys.off(y)), (i, e) => (r(), l("div", K, [
22
22
  o("div", {
23
23
  class: k(["flex h-[calc(100%_-_50px)] flex-col items-center justify-center", {
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "rest",
19
19
  "testing"
20
20
  ],
21
- "version": "2.2.23",
21
+ "version": "2.2.25",
22
22
  "engines": {
23
23
  "node": ">=18"
24
24
  },
@@ -170,20 +170,20 @@
170
170
  "yaml": "^2.4.5",
171
171
  "zod": "^3.23.8",
172
172
  "@scalar/components": "0.13.10",
173
- "@scalar/draggable": "0.1.8",
174
- "@scalar/import": "0.2.12",
175
173
  "@scalar/icons": "0.1.2",
176
- "@scalar/oas-utils": "0.2.92",
174
+ "@scalar/import": "0.2.13",
175
+ "@scalar/draggable": "0.1.8",
176
+ "@scalar/object-utils": "1.1.12",
177
+ "@scalar/oas-utils": "0.2.93",
177
178
  "@scalar/openapi-parser": "0.10.2",
178
179
  "@scalar/openapi-types": "0.1.5",
179
- "@scalar/object-utils": "1.1.12",
180
+ "@scalar/postman-to-openapi": "0.1.16",
180
181
  "@scalar/themes": "0.9.58",
181
- "@scalar/postman-to-openapi": "0.1.15",
182
+ "@scalar/types": "0.0.25",
182
183
  "@scalar/use-codemirror": "0.11.54",
184
+ "@scalar/use-toasts": "0.7.7",
183
185
  "@scalar/use-hooks": "0.1.11",
184
- "@scalar/types": "0.0.25",
185
- "@scalar/use-tooltip": "1.0.4",
186
- "@scalar/use-toasts": "0.7.7"
186
+ "@scalar/use-tooltip": "1.0.4"
187
187
  },
188
188
  "devDependencies": {
189
189
  "@types/js-cookie": "^3.0.6",