@scalar/api-client 2.1.8 → 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 (78) hide show
  1. package/CHANGELOG.md +11 -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 +7 -7
  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/IconSelector.vue.d.ts.map +1 -1
  13. package/dist/components/IconSelector.vue.js +4 -3
  14. package/dist/components/ScalarAsciiArt.vue.d.ts.map +1 -1
  15. package/dist/components/ScalarAsciiArt.vue.js +1 -1
  16. package/dist/components/ScalarAsciiArt.vue2.js +10 -10
  17. package/dist/components/SideNav/SideHelp.vue.js +1 -1
  18. package/dist/components/SideNav/SideNav.vue.d.ts.map +1 -1
  19. package/dist/components/SideNav/SideNav.vue.js +2 -2
  20. package/dist/components/SideNav/SideNav.vue2.js +19 -22
  21. package/dist/components/SideNav/SideNavLink.vue.d.ts +0 -2
  22. package/dist/components/SideNav/SideNavLink.vue.d.ts.map +1 -1
  23. package/dist/components/SideNav/SideNavLink.vue.js +19 -21
  24. package/dist/components/Sidebar/Sidebar.vue.js +2 -2
  25. package/dist/components/Sidebar/Sidebar.vue2.js +1 -1
  26. package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +1 -1
  27. package/dist/components/Sidebar/SidebarButton.vue.js +24 -26
  28. package/dist/components/ViewLayout/ViewLayoutSection.vue.js +1 -1
  29. package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
  30. package/dist/layouts/App/ApiClientApp.vue.js +4 -4
  31. package/dist/layouts/App/create-api-client-app.d.ts +2 -2
  32. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  33. package/dist/layouts/Modal/create-api-client-modal.d.ts +4 -4
  34. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  35. package/dist/layouts/Modal/create-api-client-modal.js +19 -17
  36. package/dist/libs/create-client.d.ts +7 -18
  37. package/dist/libs/create-client.d.ts.map +1 -1
  38. package/dist/store/import-spec.d.ts +3 -2
  39. package/dist/store/import-spec.d.ts.map +1 -1
  40. package/dist/store/import-spec.js +34 -26
  41. package/dist/store/store.d.ts +4 -4
  42. package/dist/style.css +1 -1
  43. package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
  44. package/dist/views/Cookies/Cookies.vue2.js +74 -80
  45. package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
  46. package/dist/views/Environment/Environment.vue2.js +86 -92
  47. package/dist/views/Request/Request.vue.d.ts.map +1 -1
  48. package/dist/views/Request/Request.vue.js +1 -1
  49. package/dist/views/Request/Request.vue2.js +26 -26
  50. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
  51. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +2 -2
  52. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +88 -80
  53. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
  54. package/dist/views/Request/RequestSection/RequestSection.vue.js +45 -45
  55. package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
  56. package/dist/views/Request/RequestSidebar.vue.js +2 -2
  57. package/dist/views/Request/RequestSidebar.vue2.js +131 -108
  58. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +1 -1
  59. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +2 -2
  60. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +8 -5
  61. package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
  62. package/dist/views/Request/ResponseSection/ResponseSection.vue.js +33 -33
  63. package/dist/views/Servers/Servers.vue.d.ts.map +1 -1
  64. package/dist/views/Servers/Servers.vue2.js +48 -54
  65. package/package.json +5 -9
  66. package/dist/components/Search/SearchButton.vue.d.ts +0 -7
  67. package/dist/components/Search/SearchButton.vue.d.ts.map +0 -1
  68. package/dist/components/Search/SearchModal.vue.d.ts +0 -17
  69. package/dist/components/Search/SearchModal.vue.d.ts.map +0 -1
  70. package/dist/components/Search/SearchModal.vue.js +0 -7
  71. package/dist/components/Search/SearchModal.vue2.js +0 -142
  72. package/dist/components/Search/index.d.ts +0 -3
  73. package/dist/components/Search/index.d.ts.map +0 -1
  74. package/dist/components/Search/index.js +0 -4
  75. package/dist/components/SideNav/WorkspaceProfileIcon.vue.js +0 -31
  76. package/dist/components/SideNav/WorkspaceProfileIcon.vue3.js +0 -5
  77. package/dist/components/SubpageHeader.vue.js +0 -7
  78. package/dist/components/SubpageHeader.vue2.js +0 -34
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @scalar/api-client
2
2
 
3
+ ## 2.1.9
4
+
5
+ ### Patch Changes
6
+
7
+ - 963b9cd: fix: removed global listeners to prevent random jumping bug
8
+ - cd8ba1c: feat: added setting of initial security schemes in the client
9
+ - 8b6633d: style: increases icon library usage stroke
10
+ - fb0d9a3: fix(api-client): don't teleport auth combobox to body
11
+ - Updated dependencies [cd8ba1c]
12
+ - @scalar/oas-utils@0.2.49
13
+
3
14
  ## 2.1.8
4
15
 
5
16
  ### Patch Changes
@@ -0,0 +1,11 @@
1
+ const _ = ` ,\\
2
+ \\\\\\,_
3
+ \\\` ,\\
4
+ __,.-" =__)
5
+ ." )
6
+ ,_/ , \\/\\_
7
+ \\_| )_-\\ \\_-\`
8
+ \`-----\` \`--\``;
9
+ export {
10
+ _ as default
11
+ };
@@ -0,0 +1,11 @@
1
+ const _ = ` __
2
+ // \\,_
3
+ \\\` ,\\
4
+ __,.-" =__)
5
+ ." )
6
+ ,_/ , \\/\\
7
+ \\_| // / / /
8
+ / / `;
9
+ export {
10
+ _ as default
11
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"CodeInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CodeInput/CodeInput.vue"],"names":[],"mappings":"AAAA,OAqVO,EAGL,KAAK,kBAAkB,EAGxB,MAAM,wBAAwB,CAAA;;kBAcb,OAAO;gBACT,MAAM,GAAG,MAAM;YACnB,OAAO;iBACF,OAAO;kBACN,OAAO;WACd,OAAO;uBACK,OAAO;eACf,kBAAkB;wBACT,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;wBACnB,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;kBACzB,MAAM;eACT,OAAO;mBACH,OAAO;2BACC,OAAO;WACvB,MAAM,EAAE;WACR,MAAM;eACF,OAAO;oBACF,OAAO;;;;;;;;;;;;;;;kBAjBT,OAAO;gBACT,MAAM,GAAG,MAAM;YACnB,OAAO;iBACF,OAAO;kBACN,OAAO;WACd,OAAO;uBACK,OAAO;eACf,kBAAkB;wBACT,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;wBACnB,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;kBACzB,MAAM;eACT,OAAO;mBACH,OAAO;2BACC,OAAO;WACvB,MAAM,EAAE;WACR,MAAM;eACF,OAAO;oBACF,OAAO;;;;;;;;;;;;;iBAjBT,OAAO;gBAGR,OAAO;sBAGD,OAAO;kBAMX,OAAO;0BACC,OAAO;cAGnB,OAAO;mBACF,OAAO;;qBAoTG,GAAG;kBACN,GAAG;;AAzU9B,wBAsXC;AAMD,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAC1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAC7C,cAAc,C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AAI,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"}
@@ -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 f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-4fa80db6"]]);
5
+ const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-e8c15468"]]);
6
6
  export {
7
- f as default
7
+ _ as default
8
8
  };
@@ -1 +1 @@
1
- {"version":3,"file":"CommandPaletteCollection.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/CommandPaletteCollection.vue"],"names":[],"mappings":";;;;;AAoOA,wBAMG"}
1
+ {"version":3,"file":"CommandPaletteCollection.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/CommandPaletteCollection.vue"],"names":[],"mappings":";;;;;AAqOA,wBAMG"}
@@ -2,15 +2,15 @@ import { defineComponent as f, ref as n, openBlock as v, createBlock as _, withC
2
2
  import C from "../IconSelector.vue.js";
3
3
  import { ScalarButton as V } from "@scalar/components";
4
4
  import { LibraryIcon as x } from "@scalar/icons";
5
- import { useToasts as N } from "@scalar/use-toasts";
6
- import k from "./CommandActionForm.vue.js";
5
+ import { useToasts as k } from "@scalar/use-toasts";
6
+ import N from "./CommandActionForm.vue.js";
7
7
  import B from "./CommandActionInput.vue.js";
8
8
  import { useWorkspace as S } from "../../store/store.js";
9
9
  const y = /* @__PURE__ */ f({
10
10
  __name: "CommandPaletteCollection",
11
11
  emits: ["close"],
12
12
  setup($, { emit: c }) {
13
- const m = c, { activeWorkspace: s, collectionMutators: u } = S(), e = n(""), t = n("interface-content-folder"), { toast: d } = N(), p = () => {
13
+ const s = c, { activeWorkspace: m, collectionMutators: u } = S(), e = n(""), t = n("interface-content-folder"), { toast: d } = k(), p = () => {
14
14
  if (!e.value) {
15
15
  d("Please enter a name before creating a collection.", "error");
16
16
  return;
@@ -24,10 +24,10 @@ const y = /* @__PURE__ */ f({
24
24
  },
25
25
  "x-scalar-icon": t.value
26
26
  },
27
- s.value.uid
28
- ), m("close");
27
+ m.value.uid
28
+ ), s("close");
29
29
  };
30
- return (I, a) => (v(), _(k, {
30
+ return (I, a) => (v(), _(N, {
31
31
  disabled: !e.value.trim(),
32
32
  onSubmit: p
33
33
  }, {
@@ -44,7 +44,7 @@ const y = /* @__PURE__ */ f({
44
44
  }, {
45
45
  default: o(() => [
46
46
  l(i(x), {
47
- class: "size-4 text-c-2",
47
+ class: "size-4 text-c-2 stroke-2",
48
48
  src: t.value
49
49
  }, null, 8, ["src"])
50
50
  ]),
@@ -1 +1 @@
1
- {"version":3,"file":"ContextBar.vue.d.ts","sourceRoot":"","sources":["../../src/components/ContextBar.vue"],"names":[],"mappings":";cA8CY,MAAM,EAAE;mBACH,MAAM;;;;cADX,MAAM,EAAE;mBACH,MAAM;;;;AA6FvB,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
+ {"version":3,"file":"ContextBar.vue.d.ts","sourceRoot":"","sources":["../../src/components/ContextBar.vue"],"names":[],"mappings":";cA2HY,MAAM,EAAE;mBACH,MAAM;;;;cADX,MAAM,EAAE;mBACH,MAAM;;;;AAqIvB,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,7 +1,7 @@
1
1
  import o from "./ContextBar.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-200b65e3"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-59badb72"]]);
5
5
  export {
6
- m as default
6
+ p as default
7
7
  };
@@ -1,27 +1,36 @@
1
- import { defineComponent as i, openBlock as n, createElementBlock as o, createElementVNode as s, Fragment as c, renderList as r, normalizeClass as a, toDisplayString as l } from "vue";
2
- const p = { class: "fade-request-section-content sticky top-0 z-10 pointer-events-none" }, d = { class: "request-section-content request-section-content-filter bg-b-1 border-1/2 text-c-3 bg-b-1 mb-2.5 hidden xl:flex justify-center rounded p-[1.5px] text-xs gap-[1.5px] pointer-events-auto" }, u = ["isActive", "onClick"], _ = /* @__PURE__ */ i({
1
+ import { defineComponent as r, openBlock as n, createElementBlock as o, createElementVNode as i, Fragment as c, renderList as a, normalizeClass as l, toDisplayString as s, createVNode as d, unref as p } from "vue";
2
+ import { ScalarIcon as u } from "@scalar/components";
3
+ const m = { class: "hidden lg:flex ml-auto filter-hover group lg:w-[120px]" }, v = { class: "request-section-content request-section-content-filter fade-request-section-content text-c-3 hidden xl:flex justify-end rounded text-xs gap-[1.5px] pointer-events-auto relative w-full py-2" }, f = ["isActive", "onClick"], h = { class: "flex items-center group-hover:text-c-1 absolute -right-6 top-1/2 -translate-y-1/2" }, _ = { class: "mr-4 group-hover:hidden" }, b = /* @__PURE__ */ r({
3
4
  __name: "ContextBar",
4
5
  props: {
5
6
  sections: {},
6
7
  activeSection: {}
7
8
  },
8
9
  emits: ["setActiveSection"],
9
- setup(m) {
10
- return (t, v) => (n(), o("div", p, [
11
- s("div", d, [
12
- (n(!0), o(c, null, r(t.sections, (e) => (n(), o("button", {
13
- key: e,
14
- class: a(["hover:bg-b-2 w-full rounded p-1 text-center font-medium", [
15
- t.activeSection === e ? "bg-b-2 text-c-1 pointer-events-none" : ""
10
+ setup(x) {
11
+ return (e, g) => (n(), o("div", m, [
12
+ i("div", v, [
13
+ (n(!0), o(c, null, a(e.sections, (t) => (n(), o("button", {
14
+ key: t,
15
+ class: l(["hover:bg-b-2 rounded p-1 px-2 text-center font-medium w-fit", [
16
+ e.activeSection === t ? "text-c-1 pointer-events-none" : ""
16
17
  ]]),
17
- isActive: t.activeSection === e,
18
+ isActive: e.activeSection === t,
18
19
  type: "button",
19
- onClick: (b) => t.$emit("setActiveSection", e)
20
- }, l(e), 11, u))), 128))
20
+ onClick: (S) => e.$emit("setActiveSection", t)
21
+ }, s(t), 11, f))), 128)),
22
+ i("div", h, [
23
+ i("span", _, s(e.activeSection), 1),
24
+ d(p(u), {
25
+ icon: "FilterList",
26
+ size: "md",
27
+ thickness: "2"
28
+ })
29
+ ])
21
30
  ])
22
31
  ]));
23
32
  }
24
33
  });
25
34
  export {
26
- _ as default
35
+ b as default
27
36
  };
@@ -7,7 +7,7 @@ const w = /* @__PURE__ */ c({
7
7
  setup(g) {
8
8
  const { toggleDarkMode: t, isDark: a } = f();
9
9
  return (k, o) => (l(), s("button", {
10
- class: "min-w-[37px] max-w-[42px] hover:bg-b-3 flex items-center justify-center rounded-lg p-[7px] text-c-3 focus:text-c-1 w-full aspect-square scalar-app-nav-padding",
10
+ class: "min-w-[37px] max-w-[37px] hover:bg-b-3 flex items-center justify-center rounded-lg p-[7px] text-c-3 focus:text-c-1 w-full aspect-square scalar-app-nav-padding",
11
11
  type: "button",
12
12
  onClick: o[0] || (o[0] = //@ts-ignore
13
13
  (...n) => e(t) && e(t)(...n))
@@ -1 +1 @@
1
- {"version":3,"file":"IconSelector.vue.d.ts","sourceRoot":"","sources":["../../src/components/IconSelector.vue"],"names":[],"mappings":"AA4EA,KAAK,IAAI,GAAG,KAAK,GAAG,QAAQ,CAAA;AAC5B,KAAK,SAAS,GAAG,OAAO,GAAG,KAAK,CAAA;AAChC,KAAK,gBAAgB,GAAG,GAAG,IAAI,IAAI,SAAS,EAAE,CAAA;AAa9C,iBAAS,cAAc;qBAmKM,GAAG;mBACJ,GAAG;EAsB9B;AACD,QAAA,MAAM,eAAe;gBAnNP,MAAM;gBACN,gBAAgB;;;;gBADhB,MAAM;gBACN,gBAAgB;;;UAyN5B,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,GA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AAC,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,4 +1,4 @@
1
- import { defineComponent as g, computed as V, openBlock as a, createBlock as n, unref as e, withCtx as o, createVNode as r, createElementVNode as u, renderSlot as d, createTextVNode as p, createElementBlock as _, Fragment as y, renderList as k, toDisplayString as w } from "vue";
1
+ import { defineComponent as g, computed as V, openBlock as a, createBlock as n, unref as e, withCtx as o, createVNode as r, createElementVNode as u, renderSlot as d, createTextVNode as p, createElementBlock as _, Fragment as k, renderList as y, toDisplayString as w } from "vue";
2
2
  import { RadioGroup as h, RadioGroupLabel as m, RadioGroupOption as S } from "@headlessui/vue";
3
3
  import { ScalarPopover as C } from "@scalar/components";
4
4
  import { libraryIcons as I, LibraryIcon as B } from "@scalar/icons";
@@ -29,14 +29,14 @@ const G = { class: "flex text-sm" }, L = { class: "grid grid-cols-[repeat(auto-f
29
29
  r(e(m), { class: "text-c-2 py-1 px-1" }, {
30
30
  default: o(() => [
31
31
  d(l.$slots, "title", {}, () => [
32
- p("Select an icon...")
32
+ p("Select an icon")
33
33
  ])
34
34
  ]),
35
35
  _: 3
36
36
  })
37
37
  ]),
38
38
  u("ul", L, [
39
- (a(!0), _(y, null, k(e(I), (t) => (a(), n(e(S), {
39
+ (a(!0), _(k, null, y(e(I), (t) => (a(), n(e(S), {
40
40
  key: t.src,
41
41
  as: "li",
42
42
  class: "p-2.25 rounded flex items-center justify-center text-c-3 cursor-pointer hover:text-c-2 hover:bg-b-2 ui-checked:bg-b-3 ui-active:bg-b-2",
@@ -51,6 +51,7 @@ const G = { class: "flex text-sm" }, L = { class: "grid grid-cols-[repeat(auto-f
51
51
  _: 2
52
52
  }, 1024),
53
53
  r(e(B), {
54
+ class: "stroke-2",
54
55
  src: t.src
55
56
  }, null, 8, ["src"])
56
57
  ]),
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarAsciiArt.vue.d.ts","sourceRoot":"","sources":["../../src/components/ScalarAsciiArt.vue"],"names":[],"mappings":";SAgE6B,MAAM;cAAY,OAAO;;SAAzB,MAAM;cAAY,OAAO;;AA6EtD,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":"ScalarAsciiArt.vue.d.ts","sourceRoot":"","sources":["../../src/components/ScalarAsciiArt.vue"],"names":[],"mappings":";SAgE6B,MAAM;cAAY,OAAO;;SAAzB,MAAM;cAAY,OAAO;;AA4EtD,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,7 +1,7 @@
1
1
  import o from "./ScalarAsciiArt.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../_virtual/_plugin-vue_export-helper.js";
4
- const i = /* @__PURE__ */ r(o, [["__scopeId", "data-v-80684d49"]]);
4
+ const i = /* @__PURE__ */ r(o, [["__scopeId", "data-v-93347509"]]);
5
5
  export {
6
6
  i as default
7
7
  };
@@ -1,5 +1,5 @@
1
- import { defineComponent as d, computed as g, openBlock as a, createElementBlock as i, normalizeClass as h, Fragment as f, renderList as x, normalizeStyle as c, createElementVNode as y, toDisplayString as v } from "vue";
2
- const r = 500, l = 100, k = /* @__PURE__ */ d({
1
+ import { defineComponent as d, computed as g, openBlock as a, createElementBlock as i, normalizeClass as h, Fragment as f, renderList as y, normalizeStyle as r, createElementVNode as v, toDisplayString as x } from "vue";
2
+ const c = 500, l = 100, k = /* @__PURE__ */ d({
3
3
  __name: "ScalarAsciiArt",
4
4
  props: {
5
5
  art: {},
@@ -8,23 +8,23 @@ const r = 500, l = 100, k = /* @__PURE__ */ d({
8
8
  setup(m) {
9
9
  const p = m, e = g(() => p.art.split(`
10
10
  `)), u = (t, o) => ({
11
- animationDuration: `${t * l}ms, ${r}ms`,
11
+ animationDuration: `${t * l}ms, ${c}ms`,
12
12
  animationTimingFunction: `steps(${t}), step-end`,
13
13
  animationDelay: `${o * l}ms, 0ms`,
14
- animationIterationCount: `1, ${(e.value.length + e.value[e.value.length - 1].length + 5) * l / r}`
14
+ animationIterationCount: `1, ${(e.value.length + e.value[e.value.length - 1].length + 5) * l / c}`
15
15
  });
16
16
  return (t, o) => (a(), i("div", {
17
- class: h(["ascii-art font-code text-c-3 flex flex-col items-start text-[6px] leading-[7px]", { "ascii-art-animate": t.animate }])
17
+ class: h(["ascii-art font-code flex flex-col items-start text-[6px] leading-[7px]", { "ascii-art-animate": t.animate }])
18
18
  }, [
19
- (a(!0), i(f, null, x(e.value, (n, s) => (a(), i("span", {
19
+ (a(!0), i(f, null, y(e.value, (n, s) => (a(), i("span", {
20
20
  key: s,
21
21
  class: "inline-block",
22
- style: c({ width: `calc(${n.length + 1}ch)` })
22
+ style: r({ width: `calc(${n.length + 1}ch)` })
23
23
  }, [
24
- y("span", {
24
+ v("span", {
25
25
  class: "inline-block whitespace-pre overflow-hidden",
26
- style: c(u(n.length, s))
27
- }, v(n), 5)
26
+ style: r(u(n.length, s))
27
+ }, x(n), 5)
28
28
  ], 4))), 128))
29
29
  ], 2));
30
30
  }
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as l, openBlock as o, createBlock as i, unref as s, withCtx as c, createElementVNode as e, createVNode as t } from "vue";
2
2
  import { ScalarDropdown as r, ScalarDropdownItem as a, ScalarIcon as n } from "@scalar/components";
3
3
  const d = {
4
- class: "min-w-[37px] max-w-[42px] hover:bg-b-3 flex items-center justify-center rounded-lg p-[7px] text-c-3 focus:text-c-1 scalar-app-nav-padding",
4
+ class: "min-w-[37px] max-w-[37px] hover:bg-b-3 flex items-center justify-center rounded-lg p-[7px] text-c-3 focus:text-c-1 scalar-app-nav-padding",
5
5
  type: "button"
6
6
  }, _ = /* @__PURE__ */ e("span", { class: "px-2.5 py-1.5 text-xs text-c-2 font-medium" }, "Support", -1), p = {
7
7
  class: "no-underline block",
@@ -1 +1 @@
1
- {"version":3,"file":"SideNav.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SideNav/SideNav.vue"],"names":[],"mappings":";AAmLA,wBAKG"}
1
+ {"version":3,"file":"SideNav.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SideNav/SideNav.vue"],"names":[],"mappings":";AA0KA,wBAKG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./SideNav.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-ed782b2b"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-34c56294"]]);
5
5
  export {
6
- m as default
6
+ p as default
7
7
  };
@@ -1,53 +1,50 @@
1
- import { defineComponent as _, openBlock as r, createElementBlock as a, createVNode as e, createElementVNode as t, Fragment as f, renderList as d, unref as n, withCtx as p, createTextVNode as u, toDisplayString as g } from "vue";
1
+ import { defineComponent as _, openBlock as o, createElementBlock as r, createElementVNode as e, Fragment as f, renderList as d, unref as n, createVNode as a, withCtx as p, createTextVNode as u, toDisplayString as g } from "vue";
2
2
  import x from "../DarkModeToggle/DarkModeIconToggle.vue.js";
3
3
  import { ROUTES as h } from "../../constants.js";
4
4
  import { useRouter as v } from "vue-router";
5
5
  import N from "./SideHelp.vue.js";
6
6
  import y from "./SideNavLink.vue.js";
7
- import S from "./WorkspaceProfileIcon.vue.js";
8
- /* empty css */
9
- const $ = {
7
+ const b = {
10
8
  "aria-label": "Side Navigation",
11
- class: "text-c-2 w-15 flex flex-col items-center px-2 py-2 scalar-sidenav relative drag-region",
9
+ class: "text-c-2 w-15 flex flex-col items-center px-2 py-2 scalar-sidenav relative drag-region bg-b-1 border-t-1/2",
12
10
  role: "navigation"
13
- }, k = { class: "mt-3.5 flex flex-col gap-1.5" }, E = { class: "mt-auto flex flex-col py-1.5" }, R = { class: "flex items-center no-drag-region" }, V = { class: "flex items-center no-drag-region" }, j = /* @__PURE__ */ _({
11
+ }, S = { class: "flex flex-col gap-1.5" }, k = { class: "mt-auto flex flex-col py-1.5" }, E = { class: "flex items-center no-drag-region" }, R = { class: "flex items-center no-drag-region" }, O = /* @__PURE__ */ _({
14
12
  __name: "SideNav",
15
- setup(w) {
13
+ setup(V) {
16
14
  const { currentRoute: s } = v();
17
- return (B, C) => (r(), a("nav", $, [
18
- e(S, { class: "no-drag-region" }),
19
- t("ul", k, [
20
- (r(!0), a(f, null, d(n(h), ({ icon: c, name: o, prettyName: l }, m) => {
15
+ return ($, w) => (o(), r("nav", b, [
16
+ e("ul", S, [
17
+ (o(!0), r(f, null, d(n(h), ({ icon: c, name: t, prettyName: l }, m) => {
21
18
  var i;
22
- return r(), a("li", {
19
+ return o(), r("li", {
23
20
  key: m,
24
21
  class: "no-drag-region"
25
22
  }, [
26
- e(y, {
27
- active: (i = n(s).name) == null ? void 0 : i.startsWith(o),
23
+ a(y, {
24
+ active: (i = n(s).name) == null ? void 0 : i.startsWith(t),
28
25
  icon: c,
29
- name: o,
26
+ name: t,
30
27
  prettyName: l
31
28
  }, {
32
29
  default: p(() => [
33
- u(g(o), 1)
30
+ u(g(t), 1)
34
31
  ]),
35
32
  _: 2
36
33
  }, 1032, ["active", "icon", "name", "prettyName"])
37
34
  ]);
38
35
  }), 128))
39
36
  ]),
40
- t("ul", E, [
41
- t("li", R, [
42
- e(N)
37
+ e("ul", k, [
38
+ e("li", E, [
39
+ a(N)
43
40
  ]),
44
- t("li", V, [
45
- e(x)
41
+ e("li", R, [
42
+ a(x)
46
43
  ])
47
44
  ])
48
45
  ]));
49
46
  }
50
47
  });
51
48
  export {
52
- j as default
49
+ O as default
53
50
  };
@@ -7,12 +7,10 @@ declare function __VLS_template(): {
7
7
  declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<{
8
8
  icon: IconProps["icon"];
9
9
  name: (typeof ROUTES)[number]["name"];
10
- prettyName: (typeof ROUTES)[number]["prettyName"];
11
10
  active?: boolean;
12
11
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
13
12
  icon: IconProps["icon"];
14
13
  name: (typeof ROUTES)[number]["name"];
15
- prettyName: (typeof ROUTES)[number]["prettyName"];
16
14
  active?: boolean;
17
15
  }>>>, {}, {}>;
18
16
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
@@ -1 +1 @@
1
- {"version":3,"file":"SideNavLink.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SideNav/SideNavLink.vue"],"names":[],"mappings":"AA0CA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AAEzC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAK/C,KAAK,SAAS,GAAG,YAAY,CAAC,OAAO,UAAU,CAAC,CAAC,QAAQ,CAAC,CAAA;AAmB1D,iBAAS,cAAc;qBA+EO,GAAG;EAgBhC;AACD,QAAA,MAAM,eAAe;UAhHb,SAAS,CAAC,MAAM,CAAC;UACjB,CAAC,OAAO,MAAM,EAAE,MAAM,CAAC,CAAC,MAAM,CAAC;gBACzB,CAAC,OAAO,MAAM,EAAE,MAAM,CAAC,CAAC,YAAY,CAAC;aACxC,OAAO;;UAHV,SAAS,CAAC,MAAM,CAAC;UACjB,CAAC,OAAO,MAAM,EAAE,MAAM,CAAC,CAAC,MAAM,CAAC;gBACzB,CAAC,OAAO,MAAM,EAAE,MAAM,CAAC,CAAC,YAAY,CAAC;aACxC,OAAO;aAmHhB,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,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AAC,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,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
  };
@@ -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))