@scalar/api-client 2.2.35 → 2.2.37

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 (78) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/components/AddressBar/AddressBarHistory.vue.js +1 -1
  3. package/dist/components/AddressBar/AddressBarHistory.vue2.js +18 -18
  4. package/dist/components/CodeInput/CodeInput.vue.d.ts +3 -0
  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 +114 -108
  8. package/dist/components/CommandPalette/CommandActionInput.vue.d.ts +1 -0
  9. package/dist/components/CommandPalette/CommandActionInput.vue.d.ts.map +1 -1
  10. package/dist/components/CommandPalette/CommandActionInput.vue.js +21 -18
  11. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
  12. package/dist/components/CommandPalette/TheCommandPalette.vue.js +2 -2
  13. package/dist/components/CommandPalette/TheCommandPalette.vue2.js +2 -2
  14. package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
  15. package/dist/components/DataTable/DataTableInput.vue.js +2 -2
  16. package/dist/components/DataTable/DataTableInputSelect.vue.d.ts.map +1 -1
  17. package/dist/components/DataTable/DataTableInputSelect.vue.js +43 -43
  18. package/dist/components/Form/Form.vue.d.ts.map +1 -1
  19. package/dist/components/Form/Form.vue.js +3 -3
  20. package/dist/components/Sidebar/SidebarListElement.vue.d.ts.map +1 -1
  21. package/dist/components/Sidebar/SidebarListElement.vue.js +1 -1
  22. package/dist/components/TopNav/TopNav.vue.js +27 -27
  23. package/dist/layouts/App/create-api-client-app.d.ts +4 -58
  24. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  25. package/dist/layouts/Modal/create-api-client-modal.d.ts +8 -116
  26. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  27. package/dist/layouts/Web/create-api-client-web.d.ts +4 -58
  28. package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
  29. package/dist/libs/create-client.d.ts +4 -58
  30. package/dist/libs/create-client.d.ts.map +1 -1
  31. package/dist/libs/index.js +18 -19
  32. package/dist/libs/send-request/index.js +3 -4
  33. package/dist/libs/send-request/send-request.d.ts +0 -14
  34. package/dist/libs/send-request/send-request.d.ts.map +1 -1
  35. package/dist/libs/send-request/send-request.js +120 -142
  36. package/dist/libs/send-request/set-request-cookies.d.ts +27 -0
  37. package/dist/libs/send-request/set-request-cookies.d.ts.map +1 -0
  38. package/dist/libs/send-request/set-request-cookies.js +54 -0
  39. package/dist/store/active-entities.d.ts.map +1 -1
  40. package/dist/store/active-entities.js +15 -12
  41. package/dist/store/cookies.d.ts +4 -58
  42. package/dist/store/cookies.d.ts.map +1 -1
  43. package/dist/store/cookies.js +5 -17
  44. package/dist/store/store.d.ts +4 -58
  45. package/dist/store/store.d.ts.map +1 -1
  46. package/dist/style.css +1 -1
  47. package/dist/views/Cookies/CookieForm.vue.d.ts.map +1 -1
  48. package/dist/views/Cookies/CookieForm.vue.js +24 -37
  49. package/dist/views/Cookies/CookieModal.vue.d.ts +21 -0
  50. package/dist/views/Cookies/CookieModal.vue.d.ts.map +1 -0
  51. package/dist/views/Cookies/CookieModal.vue.js +7 -0
  52. package/dist/views/Cookies/CookieModal.vue2.js +88 -0
  53. package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
  54. package/dist/views/Cookies/Cookies.vue2.js +98 -119
  55. package/dist/views/Request/RequestSection/RequestBody.vue.js +2 -2
  56. package/dist/views/Request/RequestSection/RequestBody.vue2.js +34 -34
  57. package/dist/views/Request/RequestSection/RequestParams.vue.d.ts +7 -0
  58. package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
  59. package/dist/views/Request/RequestSection/RequestParams.vue.js +79 -66
  60. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
  61. package/dist/views/Request/RequestSection/RequestSection.vue.js +2 -2
  62. package/dist/views/Request/RequestSection/RequestSection.vue2.js +90 -64
  63. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +9 -2
  64. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
  65. package/dist/views/Request/RequestSection/RequestTable.vue.js +1 -1
  66. package/dist/views/Request/RequestSection/RequestTable.vue2.js +168 -130
  67. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts.map +1 -1
  68. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.js +5 -64
  69. package/dist/views/Request/RequestSection/RequestTableTooltip.vue2.js +46 -2
  70. package/dist/views/Request/ResponseSection/ResponseCookies.vue.js +19 -17
  71. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  72. package/dist/views/Request/ResponseSection/ResponseHeaders.vue.js +31 -31
  73. package/dist/views/Request/libs/request.d.ts +12 -0
  74. package/dist/views/Request/libs/request.d.ts.map +1 -0
  75. package/dist/views/Request/libs/request.js +4 -0
  76. package/package.json +11 -13
  77. package/dist/views/Cookies/CookieRaw.vue.js +0 -28
  78. package/dist/views/Cookies/CookieRaw.vue2.js +0 -4
@@ -1,66 +1,7 @@
1
- import { defineComponent as p, computed as d, openBlock as t, createBlock as b, unref as c, withCtx as a, createElementVNode as m, createVNode as u, createElementBlock as o, toDisplayString as i, createCommentVNode as s } from "vue";
2
- import { ScalarTooltip as x, ScalarIcon as h } from "@scalar/components";
3
- const _ = { class: "pl-1 pr-1.5 py-[9px]" }, g = { 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" }, k = {
4
- key: 0,
5
- class: "flex items-center text-c-2"
6
- }, y = { key: 0 }, w = {
7
- key: 1,
8
- class: "before:content-['·'] before:block before:mx-[0.5ch] flex"
9
- }, v = {
10
- key: 2,
11
- class: "before:content-['·'] before:block before:mx-[0.5ch] flex whitespace-nowrap"
12
- }, C = {
13
- key: 3,
14
- class: "before:content-['·'] before:block before:mx-[0.5ch] flex whitespace-nowrap"
15
- }, B = {
16
- key: 4,
17
- class: "before:content-['·'] before:block before:mx-[0.5ch] flex whitespace-nowrap"
18
- }, I = {
19
- key: 1,
20
- class: "leading-snug text-pretty text-sm",
21
- style: { maxWidth: "16rem" }
22
- }, V = /* @__PURE__ */ p({
23
- __name: "RequestTableTooltip",
24
- props: {
25
- item: {}
26
- },
27
- setup(l) {
28
- const e = l, r = (n) => n !== void 0, f = d(
29
- () => e.item.type || e.item.format || r(e.item.minimum) || r(e.item.maximum) || r(e.item.default)
30
- );
31
- return (n, N) => (t(), b(c(x), {
32
- align: "start",
33
- class: "w-full",
34
- delay: 0,
35
- side: "left",
36
- triggerClass: "before:absolute before:content-[''] before:bg-gradient-to-r before:from-transparent before:to-b-1 before:min-h-[calc(100%-4px)] before:pointer-events-none before:right-[23px] before:top-0.5 before:w-3 absolute h-full right-0"
37
- }, {
38
- trigger: a(() => [
39
- m("div", _, [
40
- u(c(h), {
41
- class: "text-c-3 group-hover/info:text-c-1",
42
- icon: "Info",
43
- size: "sm",
44
- thickness: "1.5"
45
- })
46
- ])
47
- ]),
48
- content: a(() => [
49
- m("div", g, [
50
- f.value ? (t(), o("div", k, [
51
- e.item.type ? (t(), o("span", y, i(e.item.type), 1)) : s("", !0),
52
- e.item.format ? (t(), o("span", w, i(e.item.format), 1)) : s("", !0),
53
- r(e.item.minimum) ? (t(), o("span", v, "min: " + i(e.item.minimum), 1)) : s("", !0),
54
- r(e.item.maximum) ? (t(), o("span", C, "max: " + i(e.item.maximum), 1)) : s("", !0),
55
- r(e.item.default) ? (t(), o("span", B, "default: " + i(e.item.default), 1)) : s("", !0)
56
- ])) : s("", !0),
57
- e.item.description ? (t(), o("span", I, i(e.item.description), 1)) : s("", !0)
58
- ])
59
- ]),
60
- _: 1
61
- }));
62
- }
63
- });
1
+ import o from "./RequestTableTooltip.vue2.js";
2
+ /* empty css */
3
+ import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
+ const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-3774d9af"]]);
64
5
  export {
65
- V as default
6
+ r as default
66
7
  };
@@ -1,4 +1,48 @@
1
- import f from "./RequestTableTooltip.vue.js";
1
+ import { defineComponent as m, openBlock as t, createBlock as l, unref as r, withCtx as a, createElementVNode as n, createVNode as p, createElementBlock as o, toDisplayString as s, createCommentVNode as i } from "vue";
2
+ import { ScalarTooltip as c, ScalarIcon as d } from "@scalar/components";
3
+ const f = { class: "pl-1 pr-1.5 py-[9px]" }, u = { 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" }, h = { class: "schema flex items-center text-c-2" }, g = { key: 0 }, b = { key: 1 }, _ = { key: 2 }, y = { key: 3 }, k = { key: 4 }, x = {
4
+ key: 0,
5
+ class: "leading-snug text-pretty text-sm",
6
+ style: { maxWidth: "16rem" }
7
+ }, N = /* @__PURE__ */ m({
8
+ __name: "RequestTableTooltip",
9
+ props: {
10
+ item: {}
11
+ },
12
+ setup(v) {
13
+ return (e, w) => (t(), l(r(c), {
14
+ align: "start",
15
+ class: "w-full",
16
+ delay: 0,
17
+ side: "left",
18
+ triggerClass: "before:absolute before:content-[''] before:bg-gradient-to-r before:from-transparent before:to-b-1 before:min-h-[calc(100%-4px)] before:pointer-events-none before:right-[23px] before:top-0.5 before:w-3 absolute h-full right-0"
19
+ }, {
20
+ trigger: a(() => [
21
+ n("div", f, [
22
+ p(r(d), {
23
+ class: "text-c-3 group-hover/info:text-c-1",
24
+ icon: "Info",
25
+ size: "sm",
26
+ thickness: "1.5"
27
+ })
28
+ ])
29
+ ]),
30
+ content: a(() => [
31
+ n("div", u, [
32
+ n("div", h, [
33
+ e.item.type ? (t(), o("span", g, s(e.item.type), 1)) : i("", !0),
34
+ e.item.format ? (t(), o("span", b, s(e.item.format), 1)) : i("", !0),
35
+ e.item.minimum ? (t(), o("span", _, "min: " + s(e.item.minimum), 1)) : i("", !0),
36
+ e.item.maximum ? (t(), o("span", y, "max: " + s(e.item.maximum), 1)) : i("", !0),
37
+ e.item.default ? (t(), o("span", k, "default: " + s(e.item.default), 1)) : i("", !0)
38
+ ]),
39
+ e.item.description ? (t(), o("span", x, s(e.item.description), 1)) : i("", !0)
40
+ ])
41
+ ]),
42
+ _: 1
43
+ }));
44
+ }
45
+ });
2
46
  export {
3
- f as default
47
+ N as default
4
48
  };
@@ -1,43 +1,45 @@
1
- import { defineComponent as f, openBlock as e, createBlock as o, withCtx as t, createTextVNode as p, createElementBlock as r, Fragment as a, renderList as u, createVNode as i } from "vue";
2
- import _ from "../../../components/DataTable/DataTable.vue.js";
3
- import k from "../../../components/DataTable/DataTableRow.vue.js";
1
+ import { defineComponent as c, openBlock as e, createBlock as r, withCtx as t, createTextVNode as f, createElementBlock as n, Fragment as a, renderList as p, createVNode as i } from "vue";
2
+ import u from "../../../components/DataTable/DataTable.vue.js";
3
+ import _ from "../../../components/DataTable/DataTableRow.vue.js";
4
4
  import m from "../../../components/DataTable/DataTableText.vue.js";
5
- import d from "../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
6
- const x = {
5
+ import k from "../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
6
+ const d = {
7
7
  key: 1,
8
8
  class: "text-c-3 px-4 text-sm border-t-1/2 min-h-16 justify-center flex items-center bg-b-1"
9
- }, N = /* @__PURE__ */ f({
9
+ }, B = /* @__PURE__ */ c({
10
10
  __name: "ResponseCookies",
11
11
  props: {
12
12
  cookies: {}
13
13
  },
14
- setup(y) {
15
- return (s, n) => (e(), o(d, { defaultOpen: !1 }, {
16
- title: t(() => n[0] || (n[0] = [
17
- p("Cookies")
14
+ setup(x) {
15
+ return (s, l) => (e(), r(k, { defaultOpen: !1 }, {
16
+ title: t(() => l[0] || (l[0] = [
17
+ f("Cookies")
18
18
  ])),
19
19
  default: t(() => [
20
- (e(), r(a, { key: 0 }, [
21
- s.cookies.length ? (e(), o(_, {
20
+ (e(), n(a, { key: 0 }, [
21
+ s.cookies.length ? (e(), r(u, {
22
22
  key: 0,
23
23
  class: "flex-1",
24
24
  columns: ["", ""]
25
25
  }, {
26
26
  default: t(() => [
27
- (e(!0), r(a, null, u(s.cookies, (l, c) => (e(), o(k, { key: c }, {
27
+ (e(!0), n(a, null, p(s.cookies, (o) => (e(), r(_, {
28
+ key: o.name
29
+ }, {
28
30
  default: t(() => [
29
31
  i(m, {
30
- text: l.name
32
+ text: o.name
31
33
  }, null, 8, ["text"]),
32
34
  i(m, {
33
- text: l.value
35
+ text: o.value
34
36
  }, null, 8, ["text"])
35
37
  ]),
36
38
  _: 2
37
39
  }, 1024))), 128))
38
40
  ]),
39
41
  _: 1
40
- })) : (e(), r("div", x, " No cookies "))
42
+ })) : (e(), n("div", d, " No cookies "))
41
43
  ], 64))
42
44
  ]),
43
45
  _: 1
@@ -45,5 +47,5 @@ const x = {
45
47
  }
46
48
  });
47
49
  export {
48
- N as default
50
+ B as default
49
51
  };
@@ -17,7 +17,7 @@ const K = { class: "border-t relative col-1 flex-center gap-6 p-2 capitalize" },
17
17
  a.commandPalette.emit({ commandName: "Create Request" });
18
18
  }, y = (i) => {
19
19
  i != null && i.createNew && v.name === "request" && f();
20
- }, b = "2.2.35";
20
+ }, b = "2.2.37";
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", {
@@ -1,61 +1,61 @@
1
- import { defineComponent as _, openBlock as e, createBlock as n, withCtx as t, createTextVNode as l, createElementBlock as s, createVNode as m, Fragment as c, renderList as x, toDisplayString as i } from "vue";
2
- import h from "../../../components/DataTable/DataTable.vue.js";
3
- import b from "../../../components/DataTable/DataTableRow.vue.js";
1
+ import { defineComponent as p, openBlock as e, createBlock as n, withCtx as r, createTextVNode as l, createElementBlock as s, createVNode as m, Fragment as c, renderList as _, toDisplayString as i } from "vue";
2
+ import x from "../../../components/DataTable/DataTable.vue.js";
3
+ import h from "../../../components/DataTable/DataTableRow.vue.js";
4
4
  import u from "../../../components/DataTable/DataTableText.vue.js";
5
- import y from "../../../components/HelpfulLink.vue.js";
6
- import k from "../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
7
- import { httpHeaders as g } from "../../../data/httpHeaders.js";
8
- const w = {
5
+ import b from "../../../components/HelpfulLink.vue.js";
6
+ import y from "../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
7
+ import { httpHeaders as k } from "../../../data/httpHeaders.js";
8
+ const g = {
9
9
  key: 0,
10
10
  class: "border-t-1/2 border-b-1/2 max-h-[calc(100%-32px)] overflow-y-auto"
11
- }, C = {
11
+ }, w = {
12
12
  key: 1,
13
13
  class: "text-c-3 px-4 text-sm border rounded min-h-12 justify-center flex items-center bg-b-1"
14
- }, R = /* @__PURE__ */ _({
14
+ }, D = /* @__PURE__ */ p({
15
15
  __name: "ResponseHeaders",
16
16
  props: {
17
17
  headers: {}
18
18
  },
19
- setup(v) {
20
- const d = (r) => g.find(
21
- (a) => a.name.toLowerCase() === r.toLowerCase()
19
+ setup(C) {
20
+ const d = (o) => k.find(
21
+ (a) => a.name.toLowerCase() === o.toLowerCase()
22
22
  );
23
- return (r, a) => (e(), n(k, {
23
+ return (o, a) => (e(), n(y, {
24
24
  class: "overflow-auto",
25
25
  defaultOpen: !1,
26
- itemCount: r.headers.length
26
+ itemCount: o.headers.length
27
27
  }, {
28
- title: t(() => a[0] || (a[0] = [
28
+ title: r(() => a[0] || (a[0] = [
29
29
  l("Headers")
30
30
  ])),
31
- default: t(() => [
32
- r.headers.length ? (e(), s("div", w, [
33
- m(h, {
31
+ default: r(() => [
32
+ o.headers.length ? (e(), s("div", g, [
33
+ m(x, {
34
34
  class: "!border-0 !mx-0",
35
35
  columns: ["minmax(auto, min-content)", "minmax(50%, 1fr)"],
36
36
  scroll: ""
37
37
  }, {
38
- default: t(() => [
39
- (e(!0), s(c, null, x(r.headers, (o, p) => (e(), n(b, {
40
- key: p,
38
+ default: r(() => [
39
+ (e(!0), s(c, null, _(o.headers, (t) => (e(), n(h, {
40
+ key: t.name,
41
41
  class: "text-c-1"
42
42
  }, {
43
- default: t(() => [
43
+ default: r(() => [
44
44
  m(u, { class: "sticky left-0 z-1 bg-b-1 max-w-48" }, {
45
- default: t(() => {
45
+ default: r(() => {
46
46
  var f;
47
47
  return [
48
- typeof ((f = d(o.name)) == null ? void 0 : f.url) == "string" ? (e(), n(y, {
48
+ typeof ((f = d(t.name)) == null ? void 0 : f.url) == "string" ? (e(), n(b, {
49
49
  key: 0,
50
50
  class: "decoration-c-3",
51
- href: d(o.name).url
51
+ href: d(t.name).url
52
52
  }, {
53
- default: t(() => [
54
- l(i(o.name), 1)
53
+ default: r(() => [
54
+ l(i(t.name), 1)
55
55
  ]),
56
56
  _: 2
57
57
  }, 1032, ["href"])) : (e(), s(c, { key: 1 }, [
58
- l(i(o.name), 1)
58
+ l(i(t.name), 1)
59
59
  ], 64))
60
60
  ];
61
61
  }),
@@ -63,7 +63,7 @@ const w = {
63
63
  }, 1024),
64
64
  m(u, {
65
65
  class: "z-0",
66
- text: o.value
66
+ text: t.value
67
67
  }, null, 8, ["text"])
68
68
  ]),
69
69
  _: 2
@@ -71,12 +71,12 @@ const w = {
71
71
  ]),
72
72
  _: 1
73
73
  })
74
- ])) : (e(), s("div", C, " No Headers "))
74
+ ])) : (e(), s("div", w, " No Headers "))
75
75
  ]),
76
76
  _: 1
77
77
  }, 8, ["itemCount"]));
78
78
  }
79
79
  });
80
80
  export {
81
- R as default
81
+ D as default
82
82
  };
@@ -0,0 +1,12 @@
1
+ import type { RequestExampleParameter } from '@scalar/oas-utils/entities/spec';
2
+ /**
3
+ * Check if a RequestExampleParameter has any of the following properties:
4
+ * - description
5
+ * - type
6
+ * - default
7
+ * - format
8
+ * - minimum
9
+ * - maximum
10
+ */
11
+ export declare const hasItemProperties: (item: RequestExampleParameter) => boolean;
12
+ //# sourceMappingURL=request.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/libs/request.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAA;AAE9E;;;;;;;;GAQG;AACH,eAAO,MAAM,iBAAiB,SAAU,uBAAuB,YAQ5D,CAAA"}
@@ -0,0 +1,4 @@
1
+ const a = (o) => !!(o.description || o.type || o.default || o.format || o.minimum || o.maximum);
2
+ export {
3
+ a as hasItemProperties
4
+ };
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "rest",
19
19
  "testing"
20
20
  ],
21
- "version": "2.2.35",
21
+ "version": "2.2.37",
22
22
  "engines": {
23
23
  "node": ">=18"
24
24
  },
@@ -168,7 +168,6 @@
168
168
  "@vueuse/integrations": "^11.2.0",
169
169
  "focus-trap": "^7",
170
170
  "fuse.js": "^7.0.0",
171
- "js-cookie": "^3.0.5",
172
171
  "microdiff": "^1.4.0",
173
172
  "nanoid": "^5.0.7",
174
173
  "pretty-bytes": "^6.1.1",
@@ -179,24 +178,23 @@
179
178
  "whatwg-mimetype": "^4.0.0",
180
179
  "yaml": "^2.4.5",
181
180
  "zod": "^3.23.8",
182
- "@scalar/components": "0.13.15",
181
+ "@scalar/components": "0.13.16",
183
182
  "@scalar/draggable": "0.1.8",
184
- "@scalar/icons": "0.1.2",
183
+ "@scalar/import": "0.2.19",
184
+ "@scalar/oas-utils": "0.2.99",
185
185
  "@scalar/object-utils": "1.1.12",
186
- "@scalar/import": "0.2.18",
186
+ "@scalar/icons": "0.1.2",
187
187
  "@scalar/openapi-parser": "0.10.4",
188
188
  "@scalar/openapi-types": "0.1.6",
189
- "@scalar/oas-utils": "0.2.98",
189
+ "@scalar/postman-to-openapi": "0.1.22",
190
190
  "@scalar/themes": "0.9.61",
191
- "@scalar/postman-to-openapi": "0.1.21",
192
191
  "@scalar/types": "0.0.27",
193
- "@scalar/use-codemirror": "0.11.60",
192
+ "@scalar/use-codemirror": "0.11.61",
194
193
  "@scalar/use-hooks": "0.1.15",
195
- "@scalar/use-toasts": "0.7.8",
196
- "@scalar/use-tooltip": "1.0.5"
194
+ "@scalar/use-tooltip": "1.0.5",
195
+ "@scalar/use-toasts": "0.7.8"
197
196
  },
198
197
  "devDependencies": {
199
- "@types/js-cookie": "^3.0.6",
200
198
  "@types/shell-quote": "^1.7.5",
201
199
  "@types/whatwg-mimetype": "^3.0.2",
202
200
  "@vitejs/plugin-vue": "^5.0.4",
@@ -210,8 +208,8 @@
210
208
  "vite": "^5.4.10",
211
209
  "vite-svg-loader": "^5.1.0",
212
210
  "vitest": "^1.6.0",
213
- "@scalar/build-tooling": "0.1.12",
214
- "@scalar/galaxy": "0.2.17"
211
+ "@scalar/galaxy": "0.2.17",
212
+ "@scalar/build-tooling": "0.1.12"
215
213
  },
216
214
  "scripts": {
217
215
  "build": "vite build && pnpm types:build && tsc-alias -p tsconfig.build.json",
@@ -1,28 +0,0 @@
1
- import { defineComponent as p, openBlock as r, createBlock as n, withCtx as i, createElementVNode as s, unref as e, createCommentVNode as a } from "vue";
2
- import l from "../../components/CodeInput/CodeInput.vue.js";
3
- import u from "../../components/ViewLayout/ViewLayoutSection.vue.js";
4
- import { useActiveEntities as c } from "../../store/active-entities.js";
5
- import { useWorkspace as f } from "../../store/store.js";
6
- const y = /* @__PURE__ */ p({
7
- __name: "CookieRaw",
8
- setup(d) {
9
- const { activeCookieId: o } = c(), { cookies: m } = f();
10
- return (k, t) => (r(), n(u, null, {
11
- title: i(() => t[0] || (t[0] = [
12
- s("span", null, "Raw Cookie String", -1)
13
- ])),
14
- default: i(() => [
15
- e(o) && e(m)[e(o)] ? (r(), n(l, {
16
- key: 0,
17
- class: "pl-px pr-2 md:px-2 py-2.5",
18
- lineNumbers: "",
19
- modelValue: ""
20
- })) : a("", !0)
21
- ]),
22
- _: 1
23
- }));
24
- }
25
- });
26
- export {
27
- y as default
28
- };
@@ -1,4 +0,0 @@
1
- import f from "./CookieRaw.vue.js";
2
- export {
3
- f as default
4
- };