@scalar/api-client 2.0.42 → 2.0.44

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 (40) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/components/AddressBar/AddressBarHistory.vue.d.ts.map +1 -1
  3. package/dist/components/AddressBar/AddressBarHistory.vue.js +43 -46
  4. package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
  5. package/dist/components/CodeInput/CodeInput.vue.js +2 -2
  6. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
  7. package/dist/components/CommandPalette/TheCommandPalette.vue.js +1 -1
  8. package/dist/components/CommandPalette/TheCommandPalette.vue2.js +3 -2
  9. package/dist/components/SubpageHeader.vue.d.ts.map +1 -1
  10. package/dist/components/SubpageHeader.vue.js +2 -2
  11. package/dist/components/SubpageHeader.vue2.js +10 -9
  12. package/dist/layouts/App/create-api-client-app.d.ts +36 -36
  13. package/dist/layouts/Modal/create-api-client-modal.d.ts +72 -72
  14. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  15. package/dist/layouts/Modal/create-api-client-modal.js +26 -18
  16. package/dist/libs/create-client.d.ts +39 -37
  17. package/dist/libs/create-client.d.ts.map +1 -1
  18. package/dist/libs/normalizeHeaders.d.ts +12 -0
  19. package/dist/libs/normalizeHeaders.d.ts.map +1 -0
  20. package/dist/libs/normalizeHeaders.js +25 -0
  21. package/dist/libs/sendRequest.d.ts.map +1 -1
  22. package/dist/libs/sendRequest.js +22 -20
  23. package/dist/store/workspace.d.ts +121 -120
  24. package/dist/store/workspace.d.ts.map +1 -1
  25. package/dist/store/workspace.js +274 -274
  26. package/dist/style.css +1 -1
  27. package/dist/views/Request/RequestSection/RequestAuth.vue.d.ts.map +1 -1
  28. package/dist/views/Request/RequestSection/RequestAuth.vue.js +2 -2
  29. package/dist/views/Request/RequestSection/RequestAuth.vue2.js +147 -117
  30. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
  31. package/dist/views/Request/RequestSection/RequestTable.vue.js +2 -2
  32. package/dist/views/Request/RequestSection/RequestTable.vue2.js +47 -44
  33. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts.map +1 -1
  34. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.js +30 -28
  35. package/dist/views/Request/ResponseSection/ResponseHeaders.vue.d.ts +7 -10
  36. package/dist/views/Request/ResponseSection/ResponseHeaders.vue.d.ts.map +1 -1
  37. package/dist/views/Request/ResponseSection/ResponseHeaders.vue.js +23 -24
  38. package/dist/views/Request/consts/mediaTypes.d.ts.map +1 -1
  39. package/dist/views/Request/consts/mediaTypes.js +5 -0
  40. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # @scalar/api-client
2
2
 
3
+ ## 2.0.44
4
+
5
+ ### Patch Changes
6
+
7
+ - d65dbcb: fix: long content info button position
8
+ - 9cc6311: fix: add overload to servers as prop for create client app
9
+ - Updated dependencies [9cc6311]
10
+ - @scalar/oas-utils@0.2.25
11
+
12
+ ## 2.0.43
13
+
14
+ ### Patch Changes
15
+
16
+ - 425dc83: fix(api-client): rebuild address bar history with grid
17
+ - 9afa9c5: feat: selected authentication pill ui
18
+ - 13b2f6d: fix: scalar icon chevron left update
19
+ - cd028bd: feat: added application/problem+json media type
20
+ - 554df83: feat: intercept requests to avoid CORS issues
21
+ - Updated dependencies [425dc83]
22
+ - Updated dependencies [13b2f6d]
23
+ - @scalar/themes@0.9.20
24
+ - @scalar/components@0.12.28
25
+ - @scalar/oas-utils@0.2.24
26
+
3
27
  ## 2.0.42
4
28
 
5
29
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"AddressBarHistory.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AddressBar/AddressBarHistory.vue"],"names":[],"mappings":";UA4GQ,OAAO;;UAAP,OAAO;;AAwOf,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":"AddressBarHistory.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AddressBar/AddressBarHistory.vue"],"names":[],"mappings":";UA2GQ,OAAO;;UAAP,OAAO;;AAkOf,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,34 +1,33 @@
1
- import { defineComponent as y, openBlock as n, createElementBlock as p, Fragment as f, unref as e, createBlock as i, withCtx as m, createVNode as d, createCommentVNode as x, createElementVNode as r, normalizeClass as h, renderList as k, toDisplayString as u } from "vue";
2
- import { formatMs as w } from "../../libs/formatters.js";
3
- import { useWorkspace as C } from "../../store/workspace.js";
4
- import { ListboxButton as q, ListboxOptions as U, ListboxOption as L } from "@headlessui/vue";
5
- import { ScalarIcon as R } from "@scalar/components";
6
- import { httpStatusCodes as B } from "@scalar/oas-utils/helpers";
7
- import { useRouter as S } from "vue-router";
8
- import P from "../HttpMethod/HttpMethod.vue.js";
9
- import { getStatusCodeColor as z } from "./httpStatusCodeColors.js";
10
- const E = { class: "font-code flex flex-1 gap-1.5 text-sm font-medium" }, H = { class: "text-c-2 gap-0" }, N = { class: "font-code text-c-3 flex flex-row items-center gap-1.5 text-sm font-medium" }, G = /* @__PURE__ */ y({
1
+ import { defineComponent as C, computed as w, openBlock as n, createElementBlock as m, Fragment as d, unref as t, createBlock as i, withCtx as p, createVNode as f, createCommentVNode as b, createElementVNode as r, normalizeClass as h, renderList as U, toDisplayString as l } from "vue";
2
+ import { formatMs as L } from "../../libs/formatters.js";
3
+ import { useWorkspace as q } from "../../store/workspace.js";
4
+ import { ListboxButton as B, ListboxOptions as y, ListboxOption as S } from "@headlessui/vue";
5
+ import { ScalarIcon as P } from "@scalar/components";
6
+ import { httpStatusCodes as R } from "@scalar/oas-utils/helpers";
7
+ import { useRouter as z } from "vue-router";
8
+ import E from "../HttpMethod/HttpMethod.vue.js";
9
+ import { getStatusCodeColor as H } from "./httpStatusCodeColors.js";
10
+ const N = { class: "min-w-0" }, V = { class: "min-w-0 truncate text-c-1" }, J = /* @__PURE__ */ C({
11
11
  __name: "AddressBarHistory",
12
12
  props: {
13
13
  open: { type: Boolean }
14
14
  },
15
- setup(V) {
16
- const { activeRequest: l, requestExampleMutators: b } = C(), g = S();
17
- function _(a) {
18
- const o = new URL(a), s = new URLSearchParams(o.search).get("scalar_url");
19
- return s ? new URL(s).href : o.href;
15
+ setup($) {
16
+ const { activeRequest: u, requestExampleMutators: x } = q(), g = z(), v = w(() => u.value.history.slice().reverse());
17
+ function _(o) {
18
+ const c = new URL(o), s = new URLSearchParams(c.search).get("scalar_url");
19
+ return s ? new URL(s).href : c.href;
20
20
  }
21
- function v(a) {
22
- const o = l.value.history[a];
23
- l.value.uid !== o.request.requestUid && g.push(`/request/${o.request.requestUid}`), b.set(o.request);
21
+ function k(o) {
22
+ u.value.uid !== o.request.requestUid && g.push(`/request/${o.request.requestUid}`), x.set({ ...o.request });
24
23
  }
25
- return (a, o) => (n(), p(f, null, [
26
- e(l).history.length ? (n(), i(e(q), {
24
+ return (o, c) => (n(), m(d, null, [
25
+ t(u).history.length ? (n(), i(t(B), {
27
26
  key: 0,
28
27
  class: "hover:bg-b-2 mr-1 rounded p-1.5"
29
28
  }, {
30
- default: m(() => [
31
- d(e(R), {
29
+ default: p(() => [
30
+ f(t(P), {
32
31
  class: "text-c-3",
33
32
  icon: "History",
34
33
  size: "sm",
@@ -36,39 +35,37 @@ const E = { class: "font-code flex flex-1 gap-1.5 text-sm font-medium" }, H = {
36
35
  })
37
36
  ]),
38
37
  _: 1
39
- })) : x("", !0),
38
+ })) : b("", !0),
40
39
  r("div", {
41
40
  class: h([
42
41
  "absolute left-0 top-[33px] w-full rounded before:pointer-events-none before:absolute before:left-0 before:top-[-33px] before:h-[calc(100%+33px)] before:w-full before:rounded z-50",
43
- { "before:shadow-lg": a.open }
42
+ { "before:shadow-lg": o.open }
44
43
  ])
45
44
  }, [
46
- d(e(U), { class: "bg-b-1 custom-scroll bg-mix-transparent bg-mix-amount-30 max-h-[300px] rounded-b p-[3px] pt-0 backdrop-blur" }, {
47
- default: m(() => [
48
- (n(!0), p(f, null, k(e(l).history, ({ response: t }, s) => (n(), i(e(L), {
45
+ f(t(y), { class: "bg-b-1 custom-scroll bg-mix-transparent bg-mix-amount-30 max-h-[300px] rounded-b p-[3px] pt-0 backdrop-blur grid grid-cols-[44px,1fr,repeat(3,auto)] items-center" }, {
46
+ default: p(() => [
47
+ (n(!0), m(d, null, U(v.value, (e, s) => (n(), i(t(S), {
49
48
  key: s,
50
- class: "ui-active:bg-b-2 text-c-1 ui-active:text-c-1 flex cursor-pointer flex-row gap-2.5 rounded py-1.5 pr-3",
49
+ class: "contents font-code text-sm *:rounded-none first:*:rounded-l last:*:rounded-r *:h-8 *:hover:bg-b-2 *:flex *:items-center *:cursor-pointer *:px-1.5 text-c-2 font-medium",
51
50
  value: s,
52
- onClick: (c) => v(s)
51
+ onClick: (a) => k(e)
53
52
  }, {
54
- default: m(() => {
55
- var c;
53
+ default: p(() => {
54
+ var a;
56
55
  return [
57
- r("div", E, [
58
- t.config.method ? (n(), i(P, {
59
- key: 0,
60
- class: "text-[11px] min-w-[44px]",
61
- method: t.config.method
62
- }, null, 8, ["method"])) : x("", !0),
63
- r("span", H, u(_(t.config.url)), 1)
64
- ]),
56
+ e.response.config.method ? (n(), i(E, {
57
+ key: 0,
58
+ class: "text-[11px]",
59
+ method: e.response.config.method
60
+ }, null, 8, ["method"])) : b("", !0),
65
61
  r("div", N, [
66
- r("span", null, u(e(w)(t.duration)), 1),
67
- r("span", {
68
- class: h([e(z)(t.status).color])
69
- }, u(t.status), 3),
70
- r("span", null, u((c = e(B)[t.status]) == null ? void 0 : c.name), 1)
71
- ])
62
+ r("div", V, l(_(e.response.config.url)), 1)
63
+ ]),
64
+ r("div", null, l(t(L)(e.response.duration)), 1),
65
+ r("div", {
66
+ class: h([t(H)(e.response.status).color])
67
+ }, l(e.response.status), 3),
68
+ r("div", null, l((a = t(R)[e.response.status]) == null ? void 0 : a.name), 1)
72
69
  ];
73
70
  }),
74
71
  _: 2
@@ -81,5 +78,5 @@ const E = { class: "font-code flex flex-1 gap-1.5 text-sm font-medium" }, H = {
81
78
  }
82
79
  });
83
80
  export {
84
- G as default
81
+ J as default
85
82
  };
@@ -1 +1 @@
1
- {"version":3,"file":"CodeInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CodeInput/CodeInput.vue"],"names":[],"mappings":"AAAA,OA6SO,EAGL,KAAK,kBAAkB,EAExB,MAAM,wBAAwB,CAAA;;kBAeb,OAAO;gB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C,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -2,7 +2,7 @@ import o from "./CodeInput.vue2.js";
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  import t from "../../_virtual/_plugin-vue_export-helper.js";
5
- const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-4c6b20da"]]);
5
+ const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-1124186d"]]);
6
6
  export {
7
- _ as default
7
+ a as default
8
8
  };
@@ -1 +1 @@
1
- {"version":3,"file":"TheCommandPalette.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/TheCommandPalette.vue"],"names":[],"mappings":"AAwYA;;;;GAIG;;AACH,wBAuaI;AAEJ,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOpB,CAAA;AAEV,yCAAyC;AACzC,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,iBAAiB,CACxD"}
1
+ {"version":3,"file":"TheCommandPalette.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/TheCommandPalette.vue"],"names":[],"mappings":"AAyYA;;;;GAIG;;AACH,wBAuaI;AAEJ,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOpB,CAAA;AAEV,yCAAyC;AACzC,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,iBAAiB,CACxD"}
@@ -2,7 +2,7 @@ import o from "./TheCommandPalette.vue2.js";
2
2
  import { PaletteComponents as s } from "./TheCommandPalette.vue2.js";
3
3
  /* empty css */
4
4
  import t from "../../_virtual/_plugin-vue_export-helper.js";
5
- const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-3cd38882"]]);
5
+ const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-531483de"]]);
6
6
  export {
7
7
  s as PaletteComponents,
8
8
  a as default
@@ -130,13 +130,14 @@ const le = { class: "commandmenu" }, re = { class: "bg-b-2 flex items-center rou
130
130
  k(c("div", le, [
131
131
  m.value ? (a(), s(d, { key: 1 }, [
132
132
  c("button", {
133
- class: "absolute p-1 hover:bg-b-3 rounded text-c-3 active:text-c-1 m-1.5 z-10",
133
+ class: "absolute p-0.75 hover:bg-b-3 rounded text-c-3 active:text-c-1 m-1.5 z-10",
134
134
  type: "button",
135
135
  onClick: n[2] || (n[2] = (t) => m.value = null)
136
136
  }, [
137
137
  S(p(g), {
138
138
  icon: "ChevronLeft",
139
- size: "sm"
139
+ size: "md",
140
+ thickness: "1.5"
140
141
  })
141
142
  ]),
142
143
  (a(), H(O(ue[m.value]), {
@@ -1 +1 @@
1
- {"version":3,"file":"SubpageHeader.vue.d.ts","sourceRoot":"","sources":["../../src/components/SubpageHeader.vue"],"names":[],"mappings":"AA0CA,iBAAS,cAAc;qBAmFO,GAAG;EAehC;AACD,QAAA,MAAM,eAAe,0NAKnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"SubpageHeader.vue.d.ts","sourceRoot":"","sources":["../../src/components/SubpageHeader.vue"],"names":[],"mappings":"AA2CA,iBAAS,cAAc;qBAoFO,GAAG;EAehC;AACD,QAAA,MAAM,eAAe,0NAKnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./SubpageHeader.vue2.js";
2
2
  /* empty css */
3
- import e from "../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-49d7e652"]]);
3
+ import r from "../_virtual/_plugin-vue_export-helper.js";
4
+ const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-609611d1"]]);
5
5
  export {
6
6
  p as default
7
7
  };
@@ -1,29 +1,30 @@
1
- import { defineComponent as a, resolveComponent as d, openBlock as l, createElementBlock as p, createElementVNode as r, createVNode as t, unref as o, withCtx as u, renderSlot as i, pushScopeId as m, popScopeId as _ } from "vue";
1
+ import { defineComponent as a, resolveComponent as d, openBlock as l, createElementBlock as p, createElementVNode as r, createVNode as t, unref as o, withCtx as i, renderSlot as u, pushScopeId as m, popScopeId as _ } from "vue";
2
2
  import { ScalarIcon as f } from "@scalar/components";
3
3
  import { useRoute as h } from "vue-router";
4
- const v = (e) => (m("data-v-49d7e652"), e = e(), _(), e), x = { class: "flex flex-1 flex-col rounded-lg rounded-b-none rounded-r-none pt-0 h-full bg-b-2 relative darkmode-subpage-wrapper" }, b = { class: "lg:min-h-header items-center w-full p-1 t-app__top-container flex items-center" }, k = /* @__PURE__ */ v(() => /* @__PURE__ */ r("span", null, "Back To Requests", -1)), I = /* @__PURE__ */ a({
4
+ const k = (e) => (m("data-v-609611d1"), e = e(), _(), e), v = { class: "flex flex-1 flex-col rounded-lg rounded-b-none rounded-r-none pt-0 h-full bg-b-2 relative darkmode-subpage-wrapper" }, x = { class: "lg:min-h-header items-center w-full p-1 t-app__top-container flex items-center" }, b = /* @__PURE__ */ k(() => /* @__PURE__ */ r("span", { class: "leading-none" }, "Back To Requests", -1)), I = /* @__PURE__ */ a({
5
5
  __name: "SubpageHeader",
6
6
  setup(e) {
7
7
  const n = h();
8
8
  return (s, g) => {
9
9
  const c = d("router-link");
10
- return l(), p("div", x, [
11
- r("div", b, [
10
+ return l(), p("div", v, [
11
+ r("div", x, [
12
12
  t(c, {
13
- class: "text-c-2 text-sm font-medium ml-1 flex items-center p-1.5 hover:bg-b-3 rounded cursor-pointer gap-1 active:text-c-1 no-underline dark:hover:bg-b-2",
13
+ class: "text-c-2 text-sm font-medium ml-1 flex items-center p-1.5 hover:bg-b-3 rounded cursor-pointer gap-0.5 active:text-c-1 no-underline dark:hover:bg-b-2",
14
14
  to: `/workspace/${o(n).params.workspace}/request/default`
15
15
  }, {
16
- default: u(() => [
16
+ default: i(() => [
17
17
  t(o(f), {
18
18
  icon: "ChevronLeft",
19
- size: "sm"
19
+ size: "md",
20
+ thickness: "1.75"
20
21
  }),
21
- k
22
+ b
22
23
  ]),
23
24
  _: 1
24
25
  }, 8, ["to"])
25
26
  ]),
26
- i(s.$slots, "default", {}, void 0, !0)
27
+ u(s.$slots, "default", {}, void 0, !0)
27
28
  ]);
28
29
  };
29
30
  }