@scalar/api-client 2.1.7 → 2.1.9

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 (112) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/dist/assets/rabbit.ascii.js +11 -0
  3. package/dist/assets/rabbitjump.ascii.js +11 -0
  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/CommandPaletteCollection.vue.d.ts.map +1 -1
  7. package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +48 -21
  8. package/dist/components/ContextBar.vue.d.ts.map +1 -1
  9. package/dist/components/ContextBar.vue.js +2 -2
  10. package/dist/components/ContextBar.vue2.js +22 -13
  11. package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.js +1 -1
  12. package/dist/components/DataTable/DataTableInput.vue.d.ts +1 -1
  13. package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
  14. package/dist/components/HttpMethod/HttpMethod.vue.d.ts +2 -2
  15. package/dist/components/IconSelector.vue.d.ts +35 -0
  16. package/dist/components/IconSelector.vue.d.ts.map +1 -0
  17. package/dist/components/IconSelector.vue.js +74 -0
  18. package/dist/components/IconSelector.vue2.js +4 -0
  19. package/dist/components/ScalarAsciiArt.vue.d.ts.map +1 -1
  20. package/dist/components/ScalarAsciiArt.vue.js +1 -1
  21. package/dist/components/ScalarAsciiArt.vue2.js +10 -10
  22. package/dist/components/SideNav/SideHelp.vue.js +1 -1
  23. package/dist/components/SideNav/SideNav.vue.d.ts.map +1 -1
  24. package/dist/components/SideNav/SideNav.vue.js +2 -2
  25. package/dist/components/SideNav/SideNav.vue2.js +19 -22
  26. package/dist/components/SideNav/SideNavLink.vue.d.ts +0 -2
  27. package/dist/components/SideNav/SideNavLink.vue.d.ts.map +1 -1
  28. package/dist/components/SideNav/SideNavLink.vue.js +19 -21
  29. package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.d.ts +24 -0
  30. package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.d.ts.map +1 -0
  31. package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.js +58 -0
  32. package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue2.js +4 -0
  33. package/dist/components/Sidebar/Actions/{RenameSidebarListElement.vue.d.ts → EditSidebarListElement.vue.d.ts} +3 -3
  34. package/dist/components/Sidebar/Actions/EditSidebarListElement.vue.d.ts.map +1 -0
  35. package/dist/components/Sidebar/Actions/{RenameSidebarListElement.vue.js → EditSidebarListElement.vue.js} +9 -9
  36. package/dist/components/Sidebar/Actions/EditSidebarListElement.vue2.js +4 -0
  37. package/dist/components/Sidebar/Sidebar.vue.js +2 -2
  38. package/dist/components/Sidebar/Sidebar.vue2.js +1 -1
  39. package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +1 -1
  40. package/dist/components/Sidebar/SidebarButton.vue.js +24 -26
  41. package/dist/components/ViewLayout/ViewLayoutSection.vue.js +1 -1
  42. package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
  43. package/dist/layouts/App/ApiClientApp.vue.js +4 -4
  44. package/dist/layouts/App/create-api-client-app.d.ts +34 -22
  45. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  46. package/dist/layouts/Modal/create-api-client-modal.d.ts +68 -44
  47. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  48. package/dist/layouts/Modal/create-api-client-modal.js +19 -17
  49. package/dist/libs/create-client.d.ts +39 -38
  50. package/dist/libs/create-client.d.ts.map +1 -1
  51. package/dist/libs/event-busses/hot-keys-bus.d.ts +1 -1
  52. package/dist/store/collections.d.ts +14 -4
  53. package/dist/store/collections.d.ts.map +1 -1
  54. package/dist/store/import-spec.d.ts +3 -2
  55. package/dist/store/import-spec.d.ts.map +1 -1
  56. package/dist/store/import-spec.js +34 -26
  57. package/dist/store/request-example.d.ts +2 -2
  58. package/dist/store/requests.d.ts +2 -2
  59. package/dist/store/security-schemes.d.ts +4 -4
  60. package/dist/store/store.d.ts +68 -44
  61. package/dist/store/store.d.ts.map +1 -1
  62. package/dist/store/tags.d.ts +4 -4
  63. package/dist/store/workspace.d.ts +4 -4
  64. package/dist/style.css +1 -1
  65. package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
  66. package/dist/views/Cookies/Cookies.vue2.js +74 -80
  67. package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
  68. package/dist/views/Environment/Environment.vue2.js +86 -92
  69. package/dist/views/Request/Request.vue.d.ts.map +1 -1
  70. package/dist/views/Request/Request.vue.js +1 -1
  71. package/dist/views/Request/Request.vue2.js +26 -26
  72. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
  73. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +2 -2
  74. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +88 -80
  75. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
  76. package/dist/views/Request/RequestSection/RequestSection.vue.js +45 -45
  77. package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
  78. package/dist/views/Request/RequestSidebar.vue.js +1 -1
  79. package/dist/views/Request/RequestSidebar.vue2.js +135 -113
  80. package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
  81. package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
  82. package/dist/views/Request/RequestSidebarItem.vue2.js +94 -91
  83. package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
  84. package/dist/views/Request/RequestSidebarItemMenu.vue.js +4 -4
  85. package/dist/views/Request/RequestSidebarItemMenu.vue2.js +93 -79
  86. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +1 -1
  87. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +2 -2
  88. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +8 -5
  89. package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
  90. package/dist/views/Request/ResponseSection/ResponseSection.vue.js +33 -33
  91. package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -1
  92. package/dist/views/Request/components/WorkspaceDropdown.vue.js +109 -95
  93. package/dist/views/Request/types/sidebar-item.d.ts +2 -1
  94. package/dist/views/Request/types/sidebar-item.d.ts.map +1 -1
  95. package/dist/views/Servers/Servers.vue.d.ts.map +1 -1
  96. package/dist/views/Servers/Servers.vue2.js +48 -54
  97. package/package.json +9 -12
  98. package/dist/components/Search/SearchButton.vue.d.ts +0 -7
  99. package/dist/components/Search/SearchButton.vue.d.ts.map +0 -1
  100. package/dist/components/Search/SearchModal.vue.d.ts +0 -17
  101. package/dist/components/Search/SearchModal.vue.d.ts.map +0 -1
  102. package/dist/components/Search/SearchModal.vue.js +0 -7
  103. package/dist/components/Search/SearchModal.vue2.js +0 -142
  104. package/dist/components/Search/index.d.ts +0 -3
  105. package/dist/components/Search/index.d.ts.map +0 -1
  106. package/dist/components/Search/index.js +0 -4
  107. package/dist/components/SideNav/WorkspaceProfileIcon.vue.js +0 -31
  108. package/dist/components/SideNav/WorkspaceProfileIcon.vue3.js +0 -5
  109. package/dist/components/Sidebar/Actions/RenameSidebarListElement.vue.d.ts.map +0 -1
  110. package/dist/components/Sidebar/Actions/RenameSidebarListElement.vue2.js +0 -4
  111. package/dist/components/SubpageHeader.vue.js +0 -7
  112. package/dist/components/SubpageHeader.vue2.js +0 -34
@@ -1,38 +1,36 @@
1
- import { defineComponent as a, resolveComponent as s, openBlock as i, createBlock as c, unref as t, withCtx as p, createElementVNode as o, normalizeClass as l, createVNode as m, toDisplayString as u, renderSlot as d } from "vue";
2
- import { ScalarIcon as f } from "@scalar/components";
3
- import { useRouter as v } from "vue-router";
4
- import { useWorkspace as _ } from "../../store/store.js";
5
- const k = { class: "no-underline font-medium text-[11px] hidden scalar-app-show capitalize" }, x = { class: "sr-only" }, b = /* @__PURE__ */ a({
1
+ import { defineComponent as a, resolveComponent as c, openBlock as s, createBlock as i, unref as o, withCtx as l, createElementVNode as t, normalizeClass as p, createVNode as u, renderSlot as m } from "vue";
2
+ import { ScalarIcon as d } from "@scalar/components";
3
+ import { useRouter as f } from "vue-router";
4
+ import { useWorkspace as v } from "../../store/store.js";
5
+ const k = { class: "sr-only" }, w = /* @__PURE__ */ a({
6
6
  __name: "SideNavLink",
7
7
  props: {
8
8
  icon: {},
9
9
  name: {},
10
- prettyName: {},
11
10
  active: { type: Boolean }
12
11
  },
13
- setup(g) {
14
- const { activeWorkspace: n } = _();
15
- return v(), (e, h) => {
16
- const r = s("router-link");
17
- return i(), c(r, {
12
+ setup(_) {
13
+ const { activeWorkspace: n } = v();
14
+ return f(), (e, x) => {
15
+ const r = c("router-link");
16
+ return s(), i(r, {
18
17
  activeClass: "active-link",
19
18
  class: "flex flex-col items-center gap-1 group no-underline",
20
- to: `/workspace/${t(n).uid}/${e.name}/default`
19
+ to: `/workspace/${o(n).uid}/${e.name}/default`
21
20
  }, {
22
- default: p(() => [
23
- o("div", {
24
- class: l(["min-w-[37px] max-w-[42px] group-hover:bg-b-3 active:text-c-1 flex items-center justify-center rounded-lg p-[7px] scalar-app-nav-padding text-c-3", {
25
- "bg-b-3 transition-none group-hover:cursor-auto !text-c-1": e.active
21
+ default: l(() => [
22
+ t("div", {
23
+ class: p(["min-w-[37px] max-w-[37px] group-hover:bg-b-2 active:text-c-1 flex items-center justify-center rounded-lg p-[7px] scalar-app-nav-padding text-c-3", {
24
+ "bg-b-2 transition-none group-hover:cursor-auto !text-c-1": e.active
26
25
  }])
27
26
  }, [
28
- m(t(f), {
27
+ u(o(d), {
29
28
  icon: e.icon,
30
29
  thickness: "1.5"
31
30
  }, null, 8, ["icon"])
32
31
  ], 2),
33
- o("div", k, u(e.prettyName), 1),
34
- o("span", x, [
35
- d(e.$slots, "default")
32
+ t("span", k, [
33
+ m(e.$slots, "default")
36
34
  ])
37
35
  ]),
38
36
  _: 3
@@ -41,5 +39,5 @@ const k = { class: "no-underline font-medium text-[11px] hidden scalar-app-show
41
39
  }
42
40
  });
43
41
  export {
44
- b as default
42
+ w as default
45
43
  };
@@ -0,0 +1,24 @@
1
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
2
+ name: string;
3
+ icon: string;
4
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ close: () => void;
6
+ edit: (newName: string, newIcon: string) => void;
7
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
8
+ name: string;
9
+ icon: string;
10
+ }>>> & {
11
+ onClose?: (() => any) | undefined;
12
+ onEdit?: ((newName: string, newIcon: string) => any) | undefined;
13
+ }, {}, {}>;
14
+ export default _default;
15
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
+ type __VLS_TypePropsToOption<T> = {
17
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
18
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
19
+ } : {
20
+ type: import('vue').PropType<T[K]>;
21
+ required: true;
22
+ };
23
+ };
24
+ //# sourceMappingURL=EditSidebarListCollection.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EditSidebarListCollection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/Actions/EditSidebarListCollection.vue"],"names":[],"mappings":";UAwDQ,MAAM;UACN,MAAM;;;;;UADN,MAAM;UACN,MAAM;;;;;AA+Jd,wBAOG;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"}
@@ -0,0 +1,58 @@
1
+ import { defineComponent as p, ref as m, openBlock as f, createBlock as v, withCtx as n, createElementVNode as u, createVNode as l, unref as s } from "vue";
2
+ import x from "../../IconSelector.vue.js";
3
+ import V from "./SidebarListElementForm.vue.js";
4
+ import { ScalarButton as _, ScalarTextField as b } from "@scalar/components";
5
+ import { LibraryIcon as S } from "@scalar/icons";
6
+ const C = { class: "grid gap-2 grid-cols-[auto,1fr]" }, g = { class: "flex aspect-square" }, k = /* @__PURE__ */ p({
7
+ __name: "EditSidebarListCollection",
8
+ props: {
9
+ name: {},
10
+ icon: {}
11
+ },
12
+ emits: ["close", "edit"],
13
+ setup(d, { emit: c }) {
14
+ const r = d, i = c, a = m(r.name), o = m(r.icon);
15
+ return (w, e) => (f(), v(V, {
16
+ onCancel: e[2] || (e[2] = (t) => i("close")),
17
+ onSubmit: e[3] || (e[3] = (t) => i("edit", a.value, o.value))
18
+ }, {
19
+ default: n(() => [
20
+ u("div", C, [
21
+ u("div", g, [
22
+ l(x, {
23
+ modelValue: o.value,
24
+ "onUpdate:modelValue": e[0] || (e[0] = (t) => o.value = t),
25
+ placement: "bottom-start"
26
+ }, {
27
+ default: n(() => [
28
+ l(s(_), {
29
+ class: "aspect-square px-0 h-auto",
30
+ variant: "outlined"
31
+ }, {
32
+ default: n(() => [
33
+ l(s(S), {
34
+ class: "size-4 text-c-2",
35
+ src: o.value
36
+ }, null, 8, ["src"])
37
+ ]),
38
+ _: 1
39
+ })
40
+ ]),
41
+ _: 1
42
+ }, 8, ["modelValue"])
43
+ ]),
44
+ l(s(b), {
45
+ modelValue: a.value,
46
+ "onUpdate:modelValue": e[1] || (e[1] = (t) => a.value = t),
47
+ autofocus: "",
48
+ class: "flex-1"
49
+ }, null, 8, ["modelValue"])
50
+ ])
51
+ ]),
52
+ _: 1
53
+ }));
54
+ }
55
+ });
56
+ export {
57
+ k as default
58
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./EditSidebarListCollection.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -2,12 +2,12 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
2
2
  name: string;
3
3
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
4
  close: () => void;
5
- rename: (newName: string) => void;
5
+ edit: (newName: string) => void;
6
6
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
7
7
  name: string;
8
8
  }>>> & {
9
9
  onClose?: (() => any) | undefined;
10
- onRename?: ((newName: string) => any) | undefined;
10
+ onEdit?: ((newName: string) => any) | undefined;
11
11
  }, {}, {}>;
12
12
  export default _default;
13
13
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -19,4 +19,4 @@ type __VLS_TypePropsToOption<T> = {
19
19
  required: true;
20
20
  };
21
21
  };
22
- //# sourceMappingURL=RenameSidebarListElement.vue.d.ts.map
22
+ //# sourceMappingURL=EditSidebarListElement.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EditSidebarListElement.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/Actions/EditSidebarListElement.vue"],"names":[],"mappings":";UAkCQ,MAAM;;;;;UAAN,MAAM;;;;;AAyGd,wBAOG;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,20 +1,20 @@
1
- import { defineComponent as a, ref as u, openBlock as i, createBlock as s, withCtx as p, createVNode as d, unref as f } from "vue";
1
+ import { defineComponent as a, ref as i, openBlock as u, createBlock as s, withCtx as d, createVNode as p, unref as f } from "vue";
2
2
  import c from "./SidebarListElementForm.vue.js";
3
3
  import { ScalarTextField as v } from "@scalar/components";
4
4
  const C = /* @__PURE__ */ a({
5
- __name: "RenameSidebarListElement",
5
+ __name: "EditSidebarListElement",
6
6
  props: {
7
7
  name: {}
8
8
  },
9
- emits: ["close", "rename"],
10
- setup(m, { emit: r }) {
11
- const l = m, n = r, t = u(l.name);
12
- return (x, e) => (i(), s(c, {
9
+ emits: ["close", "edit"],
10
+ setup(l, { emit: m }) {
11
+ const r = l, n = m, t = i(r.name);
12
+ return (x, e) => (u(), s(c, {
13
13
  onCancel: e[1] || (e[1] = (o) => n("close")),
14
- onSubmit: e[2] || (e[2] = (o) => n("rename", t.value))
14
+ onSubmit: e[2] || (e[2] = (o) => n("edit", t.value))
15
15
  }, {
16
- default: p(() => [
17
- d(f(v), {
16
+ default: d(() => [
17
+ p(f(v), {
18
18
  modelValue: t.value,
19
19
  "onUpdate:modelValue": e[0] || (e[0] = (o) => t.value = o),
20
20
  autofocus: ""
@@ -0,0 +1,4 @@
1
+ import f from "./EditSidebarListElement.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -1,7 +1,7 @@
1
1
  import o from "./Sidebar.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-ae519e15"]]);
4
+ const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-4610d0c0"]]);
5
5
  export {
6
- m as default
6
+ p as default
7
7
  };
@@ -37,7 +37,7 @@ const z = {
37
37
  t(p) ? r(e.$slots, "button", { key: 0 }, void 0, !0) : n("", !0)
38
38
  ])) : n("", !0),
39
39
  w("div", {
40
- class: g(["custom-scroll sidebar-height pb-0 md:pb-[42px] w-[inherit]", {
40
+ class: g(["custom-scroll sidebar-height pb-0 md:pb-[37px] w-[inherit]", {
41
41
  "sidebar-mask": !t(m)
42
42
  }])
43
43
  }, [
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/SidebarButton.vue"],"names":[],"mappings":"AAgDA,iBAAS,cAAc;mBA+FI,GAAG;EAiB7B;AACD,QAAA,MAAM,eAAe;WA9HZ,MAAM,IAAI;;WAAV,MAAM,IAAI;aAoIjB,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;AAEN,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":"SidebarButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/SidebarButton.vue"],"names":[],"mappings":"AA8CA,iBAAS,cAAc;mBAuFI,GAAG;EAiB7B;AACD,QAAA,MAAM,eAAe;WAtHZ,MAAM,IAAI;;WAAV,MAAM,IAAI;aA4HjB,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;AAEN,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,35 +1,33 @@
1
- import { defineComponent as n, openBlock as i, createElementBlock as l, createVNode as e, unref as a, withCtx as s, renderSlot as d } from "vue";
2
- import p from "../ScalarHotkey.vue.js";
3
- import { ScalarButton as m } from "@scalar/components";
4
- const u = { class: "fixed relative z-10 pt-0 md:px-2.5 md:pb-2 md:bottom-[42px]" }, _ = /* @__PURE__ */ n({
1
+ import { defineComponent as c, openBlock as n, createBlock as a, unref as i, withCtx as l, renderSlot as s, createVNode as p } from "vue";
2
+ import d from "../ScalarHotkey.vue.js";
3
+ import { ScalarButton as u } from "@scalar/components";
4
+ const b = /* @__PURE__ */ c({
5
5
  __name: "SidebarButton",
6
6
  props: {
7
7
  click: { type: Function }
8
8
  },
9
- setup(o) {
10
- const r = o, t = () => {
11
- r.click();
9
+ setup(e) {
10
+ const o = e, t = () => {
11
+ o.click();
12
12
  };
13
- return (c, f) => (i(), l("div", u, [
14
- e(a(m), {
15
- class: "bg-b-1 text-c-1 hover:bg-b-2 group relative w-full border-1/2 px-2 py-1 md:p-1.5 h-auto",
16
- icon: "Plus",
17
- variant: "outlined",
18
- onClick: t
19
- }, {
20
- default: s(() => [
21
- d(c.$slots, "title"),
22
- e(p, {
23
- class: "hidden md:block absolute right-2 group-hover:opacity-80 text-c-2 add-item-hotkey",
24
- hotkey: "K",
25
- onHotkeyPressed: t
26
- })
27
- ]),
28
- _: 3
29
- })
30
- ]));
13
+ return (r, m) => (n(), a(i(u), {
14
+ class: "bg-b-1 text-c-1 hover:bg-b-2 group relative w-full border-1/2 px-2 py-1 md:p-1.5 h-auto",
15
+ icon: "Plus",
16
+ variant: "outlined",
17
+ onClick: t
18
+ }, {
19
+ default: l(() => [
20
+ s(r.$slots, "title"),
21
+ p(d, {
22
+ class: "hidden md:block absolute right-2 group-hover:opacity-80 text-c-2 add-item-hotkey",
23
+ hotkey: "K",
24
+ onHotkeyPressed: t
25
+ })
26
+ ]),
27
+ _: 3
28
+ }));
31
29
  }
32
30
  });
33
31
  export {
34
- _ as default
32
+ b as default
35
33
  };
@@ -10,7 +10,7 @@ const a = ["aria-labelledby"], c = ["id"], u = /* @__PURE__ */ n({
10
10
  }, [
11
11
  d("div", {
12
12
  id: o(e),
13
- class: "xl:min-h-header flex items-center border-b-1/2 p-2 md:px-4 md:py-2.5 xl:pl-6 xl:pr-5 text-sm font-medium sticky top-0 bg-b-1 z-20 rounded-t xl:rounded-none"
13
+ class: "xl:min-h-header flex items-center border-b-1/2 p-2 md:px-4 md:py-2.5 xl:px-6 xl:pr-5 text-sm font-medium sticky top-0 bg-b-1 z-20 rounded-t xl:rounded-none"
14
14
  }, [
15
15
  l(t.$slots, "title")
16
16
  ], 8, c),
@@ -1 +1 @@
1
- {"version":3,"file":"ApiClientApp.vue.d.ts","sourceRoot":"","sources":["../../../src/layouts/App/ApiClientApp.vue"],"names":[],"mappings":";;cAiI8B,MAAM;aAAO,MAAM;;;;cAAnB,MAAM;aAAO,MAAM;;;AAqMjD,wBAMG"}
1
+ {"version":3,"file":"ApiClientApp.vue.d.ts","sourceRoot":"","sources":["../../../src/layouts/App/ApiClientApp.vue"],"names":[],"mappings":";;cAiI8B,MAAM;aAAO,MAAM;;;;cAAnB,MAAM;aAAO,MAAM;;;AAuMjD,wBAMG"}
@@ -1,4 +1,4 @@
1
- import { defineComponent as w, ref as _, onMounted as c, watchEffect as h, onBeforeMount as k, onBeforeUnmount as T, computed as y, openBlock as t, createElementBlock as i, Fragment as N, createElementVNode as d, createVNode as e, unref as n, withCtx as b, createBlock as p, KeepAlive as g, resolveDynamicComponent as x, createCommentVNode as C } from "vue";
1
+ import { defineComponent as w, ref as _, onMounted as c, watchEffect as h, onBeforeMount as k, onBeforeUnmount as T, computed as y, openBlock as t, createElementBlock as i, Fragment as b, createElementVNode as d, createVNode as e, unref as n, withCtx as N, createBlock as p, KeepAlive as g, resolveDynamicComponent as x, createCommentVNode as C } from "vue";
2
2
  import S from "../../components/SideNav/SideNav.vue.js";
3
3
  import L from "../../components/TopNav/TopNav.vue.js";
4
4
  import { addScalarClassesToHeadless as B } from "@scalar/components";
@@ -12,7 +12,7 @@ import { handleHotKeyDown as A } from "../../libs/event-busses/hot-keys-bus.js";
12
12
  const K = ["innerHTML"], z = {
13
13
  key: 0,
14
14
  class: "flex min-h-0 flex-1 z-0"
15
- }, F = { class: "flex flex-1 flex-col min-w-0" }, Z = /* @__PURE__ */ w({
15
+ }, F = { class: "flex flex-1 flex-col min-w-0 border-l-1/2 border-t-1/2" }, Z = /* @__PURE__ */ w({
16
16
  __name: "ApiClientApp",
17
17
  emits: ["newTab"],
18
18
  setup(I) {
@@ -38,7 +38,7 @@ const K = ["innerHTML"], z = {
38
38
  );
39
39
  return (o, P) => {
40
40
  var m;
41
- return t(), i(N, null, [
41
+ return t(), i(b, null, [
42
42
  d("div", { innerHTML: f.value }, null, 8, K),
43
43
  e(L, { openNewTab: r.value }, null, 8, ["openNewTab"]),
44
44
  (m = n(a).activeWorkspace.value) != null && m.uid ? (t(), i("main", z, [
@@ -46,7 +46,7 @@ const K = ["innerHTML"], z = {
46
46
  e(n(H)),
47
47
  d("div", F, [
48
48
  e(n(M), { onNewTab: u }, {
49
- default: b(({ Component: v }) => [
49
+ default: N(({ Component: v }) => [
50
50
  (t(), p(g, null, [
51
51
  (t(), p(x(v)))
52
52
  ], 1024))