@scalar/api-client 2.0.24 → 2.0.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (166) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
  3. package/dist/components/AddressBar/AddressBar.vue.js +2 -2
  4. package/dist/components/AddressBar/AddressBar.vue2.js +79 -83
  5. package/dist/components/AddressBar/AddressBarServer.vue.d.ts.map +1 -1
  6. package/dist/components/CodeInput/CodeInput.vue.d.ts +10 -0
  7. package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
  8. package/dist/components/CodeInput/CodeInput.vue.js +3 -2
  9. package/dist/components/CodeInput/CodeInput.vue2.js +42 -37
  10. package/dist/components/CodeInput/codeDropdownWidget.d.ts +24 -0
  11. package/dist/components/CodeInput/codeDropdownWidget.d.ts.map +1 -0
  12. package/dist/components/CodeInput/codeDropdownWidget.js +110 -0
  13. package/dist/components/CodeInput/codeVariableWidget.d.ts +8 -0
  14. package/dist/components/CodeInput/codeVariableWidget.d.ts.map +1 -0
  15. package/dist/components/CodeInput/codeVariableWidget.js +124 -0
  16. package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts +2 -15
  17. package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts.map +1 -1
  18. package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +51 -54
  19. package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts +4 -2
  20. package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts.map +1 -1
  21. package/dist/components/CommandPalette/CommandPaletteExample.vue.js +106 -92
  22. package/dist/components/CommandPalette/CommandPaletteFolder.vue.d.ts +2 -15
  23. package/dist/components/CommandPalette/CommandPaletteFolder.vue.d.ts.map +1 -1
  24. package/dist/components/CommandPalette/CommandPaletteFolder.vue.js +68 -74
  25. package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts +2 -15
  26. package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts.map +1 -1
  27. package/dist/components/CommandPalette/CommandPaletteImport.vue.js +56 -62
  28. package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts +2 -15
  29. package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts.map +1 -1
  30. package/dist/components/CommandPalette/CommandPaletteRequest.vue.js +106 -99
  31. package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts +7 -0
  32. package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts.map +1 -0
  33. package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.js +57 -0
  34. package/dist/components/CommandPalette/CommandPaletteWorkspace.vue2.js +4 -0
  35. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +50 -0
  36. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -0
  37. package/dist/components/CommandPalette/TheCommandPalette.vue.js +9 -0
  38. package/dist/components/CommandPalette/TheCommandPalette.vue2.js +198 -0
  39. package/dist/components/CommandPalette/index.d.ts +2 -0
  40. package/dist/components/CommandPalette/index.d.ts.map +1 -0
  41. package/dist/components/CommandPalette/index.js +4 -0
  42. package/dist/components/ContextBar.vue.js +4 -4
  43. package/dist/components/DataTable/DataTableInput.vue.d.ts +1 -1
  44. package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
  45. package/dist/components/DataTable/DataTableInput.vue.js +3 -3
  46. package/dist/components/DataTable/DataTableInput.vue2.js +36 -49
  47. package/dist/components/SideNav/SideNav.vue.d.ts.map +1 -1
  48. package/dist/components/SideNav/SideNav.vue.js +26 -23
  49. package/dist/components/SideNav/SideNavLink.vue.d.ts +3 -2
  50. package/dist/components/SideNav/SideNavLink.vue.d.ts.map +1 -1
  51. package/dist/components/SideNav/SideNavLink.vue.js +5 -5
  52. package/dist/components/Sidebar/Sidebar.vue.d.ts +15 -2
  53. package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
  54. package/dist/components/Sidebar/Sidebar.vue.js +14 -12
  55. package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +1 -1
  56. package/dist/components/Sidebar/SidebarButton.vue.js +5 -5
  57. package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
  58. package/dist/components/TopNav/TopNav.vue.js +2 -2
  59. package/dist/components/TopNav/TopNav.vue2.js +31 -28
  60. package/dist/components/TopNav/TopNavItem.vue.d.ts +7 -3
  61. package/dist/components/TopNav/TopNavItem.vue.d.ts.map +1 -1
  62. package/dist/components/TopNav/TopNavItem.vue.js +2 -2
  63. package/dist/components/TopNav/TopNavItem.vue2.js +16 -15
  64. package/dist/components/ViewLayout/ViewLayout.vue.d.ts.map +1 -1
  65. package/dist/components/ViewLayout/ViewLayout.vue.js +1 -1
  66. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
  67. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +2 -1
  68. package/dist/constants.d.ts +13 -7
  69. package/dist/constants.d.ts.map +1 -1
  70. package/dist/constants.js +4 -4
  71. package/dist/index.d.ts +2 -4
  72. package/dist/index.d.ts.map +1 -1
  73. package/dist/index.js +11 -16
  74. package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -0
  75. package/dist/layouts/App/ApiClientApp.vue.js +72 -0
  76. package/dist/{App → layouts/App}/createApiClientApp.d.ts +1 -1
  77. package/dist/layouts/App/createApiClientApp.d.ts.map +1 -0
  78. package/dist/{App → layouts/App}/createApiClientApp.js +2 -2
  79. package/dist/layouts/App/index.d.ts.map +1 -0
  80. package/dist/{Modal → layouts/Modal}/ApiClientModal.vue.d.ts +1 -0
  81. package/dist/layouts/Modal/ApiClientModal.vue.d.ts.map +1 -0
  82. package/dist/{Modal → layouts/Modal}/ApiClientModal.vue.js +2 -2
  83. package/dist/layouts/Modal/api-client-modal.d.ts.map +1 -0
  84. package/dist/{Modal → layouts/Modal}/api-client-modal.js +2 -2
  85. package/dist/layouts/Modal/index.d.ts.map +1 -0
  86. package/dist/libs/eventBusses/command-palette.d.ts +14 -0
  87. package/dist/libs/eventBusses/command-palette.d.ts.map +1 -0
  88. package/dist/libs/eventBusses/command-palette.js +5 -0
  89. package/dist/libs/local-storage.d.ts +1 -1
  90. package/dist/libs/local-storage.d.ts.map +1 -1
  91. package/dist/libs/local-storage.js +19 -19
  92. package/dist/router.d.ts +5 -10
  93. package/dist/router.d.ts.map +1 -1
  94. package/dist/router.js +23 -19
  95. package/dist/store/topNav.d.ts +94 -82
  96. package/dist/store/topNav.d.ts.map +1 -1
  97. package/dist/store/topNav.js +21 -20
  98. package/dist/store/workspace.d.ts +314 -84
  99. package/dist/store/workspace.d.ts.map +1 -1
  100. package/dist/store/workspace.js +299 -220
  101. package/dist/style.css +1 -1
  102. package/dist/views/Collection/Collection.vue.d.ts.map +1 -1
  103. package/dist/views/Components/Schemas/Schemas.vue.d.ts.map +1 -1
  104. package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
  105. package/dist/views/Cookies/Cookies.vue2.js +9 -12
  106. package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
  107. package/dist/views/Environment/Environment.vue2.js +22 -25
  108. package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +1 -1
  109. package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +38 -47
  110. package/dist/views/Request/Request.vue.d.ts.map +1 -1
  111. package/dist/views/Request/Request.vue.js +1 -1
  112. package/dist/views/Request/Request.vue2.js +122 -105
  113. package/dist/views/Request/RequestSection/RequestAuthDataTableInput.vue.d.ts +1 -1
  114. package/dist/views/Request/RequestSection/RequestAuthDataTableInput.vue.d.ts.map +1 -1
  115. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
  116. package/dist/views/Request/RequestSection/RequestSection.vue.js +5 -4
  117. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
  118. package/dist/views/Request/RequestSection/RequestTable.vue.js +1 -1
  119. package/dist/views/Request/RequestSection/RequestTable.vue2.js +19 -19
  120. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts.map +1 -1
  121. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.js +6 -5
  122. package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
  123. package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
  124. package/dist/views/Request/RequestSidebarItem.vue2.js +78 -81
  125. package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
  126. package/dist/views/Request/RequestSidebarItemMenu.vue.js +53 -33
  127. package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
  128. package/dist/views/Request/ResponseSection/ResponseSection.vue.js +6 -5
  129. package/dist/views/Request/components/OAuth2.vue.d.ts.map +1 -1
  130. package/dist/views/Request/components/OAuth2.vue.js +2 -0
  131. package/dist/{App.vue.d.ts → views/Request/components/WorkspaceDropdown.vue.d.ts} +1 -2
  132. package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -0
  133. package/dist/views/Request/components/WorkspaceDropdown.vue.js +80 -0
  134. package/dist/views/Request/components/WorkspaceDropdown.vue2.js +4 -0
  135. package/dist/views/Request/components/index.d.ts +1 -0
  136. package/dist/views/Request/components/index.d.ts.map +1 -1
  137. package/dist/views/Request/components/index.js +4 -2
  138. package/dist/views/Servers/Servers.vue.d.ts.map +1 -1
  139. package/dist/views/Servers/Servers.vue2.js +12 -15
  140. package/package.json +20 -16
  141. package/dist/App/ApiClientApp.vue.d.ts.map +0 -1
  142. package/dist/App/ApiClientApp.vue.js +0 -56
  143. package/dist/App/createApiClientApp.d.ts.map +0 -1
  144. package/dist/App/index.d.ts.map +0 -1
  145. package/dist/App.vue.d.ts.map +0 -1
  146. package/dist/App.vue.js +0 -77
  147. package/dist/App.vue3.js +0 -5
  148. package/dist/Modal/ApiClientModal.vue.d.ts.map +0 -1
  149. package/dist/Modal/api-client-modal.d.ts.map +0 -1
  150. package/dist/Modal/index.d.ts.map +0 -1
  151. package/dist/components/AddressBar/AddressBarServer.vue.js +0 -113
  152. package/dist/components/AddressBar/AddressBarServer.vue2.js +0 -4
  153. package/dist/components/CommandPalette/CommandPalette.vue.d.ts +0 -17
  154. package/dist/components/CommandPalette/CommandPalette.vue.d.ts.map +0 -1
  155. package/dist/components/CommandPalette/CommandPalette.vue.js +0 -7
  156. package/dist/components/CommandPalette/CommandPalette.vue2.js +0 -185
  157. package/dist/main.d.ts +0 -2
  158. package/dist/main.d.ts.map +0 -1
  159. /package/dist/{App → layouts/App}/ApiClientApp.vue.d.ts +0 -0
  160. /package/dist/{App → layouts/App}/ApiClientApp.vue3.js +0 -0
  161. /package/dist/{App → layouts/App}/index.d.ts +0 -0
  162. /package/dist/{App → layouts/App}/index.js +0 -0
  163. /package/dist/{Modal → layouts/Modal}/ApiClientModal.vue2.js +0 -0
  164. /package/dist/{Modal → layouts/Modal}/api-client-modal.d.ts +0 -0
  165. /package/dist/{Modal → layouts/Modal}/index.d.ts +0 -0
  166. /package/dist/{Modal → layouts/Modal}/index.js +0 -0
@@ -1,21 +1,21 @@
1
- import { defineComponent as r, resolveComponent as s, openBlock as a, createBlock as c, normalizeClass as i, unref as o, withCtx as l, createVNode as p, createElementVNode as u, renderSlot as m } from "vue";
1
+ import { defineComponent as r, resolveComponent as a, openBlock as s, createBlock as c, normalizeClass as i, unref as o, withCtx as l, createVNode as p, createElementVNode as u, renderSlot as m } from "vue";
2
2
  import { useWorkspace as d } from "../../store/workspace.js";
3
3
  import { ScalarIcon as f } from "@scalar/components";
4
4
  const k = { class: "sr-only" }, x = /* @__PURE__ */ r({
5
5
  __name: "SideNavLink",
6
6
  props: {
7
7
  icon: {},
8
- path: {},
8
+ name: {},
9
9
  active: { type: Boolean }
10
10
  },
11
11
  setup(v) {
12
12
  const { activeWorkspace: t } = d();
13
13
  return (e, _) => {
14
- const n = s("router-link");
15
- return a(), c(n, {
14
+ const n = a("router-link");
15
+ return s(), c(n, {
16
16
  activeClass: "active-link",
17
17
  class: i(["w-[37px] hover:bg-b-2 active:text-c-1 flex items-center justify-center rounded-lg p-[7px]", { "bg-b-2 transition-none hover:cursor-auto text-c-1": e.active }]),
18
- to: `/workspace/${o(t).uid}${e.path}`
18
+ to: `/workspace/${o(t).uid}/${e.name}/default`
19
19
  }, {
20
20
  default: l(() => [
21
21
  p(o(f), {
@@ -1,9 +1,13 @@
1
1
  declare function __VLS_template(): {
2
- title?(_: {}): any;
2
+ header?(_: {}): any;
3
3
  content?(_: {}): any;
4
4
  button?(_: {}): any;
5
5
  };
6
- declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
6
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<{
7
+ title?: string;
8
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
9
+ title?: string;
10
+ }>>>, {}, {}>;
7
11
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
8
12
  export default _default;
9
13
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -11,4 +15,13 @@ type __VLS_WithTemplateSlots<T, S> = T & {
11
15
  $slots: S;
12
16
  };
13
17
  };
18
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
+ type __VLS_TypePropsToOption<T> = {
20
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
21
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
22
+ } : {
23
+ type: import('vue').PropType<T[K]>;
24
+ required: true;
25
+ };
26
+ };
14
27
  //# sourceMappingURL=Sidebar.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Sidebar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/Sidebar.vue"],"names":[],"mappings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;KAAE;CACzD,CAAC"}
@@ -1,19 +1,21 @@
1
- import { defineComponent as l, openBlock as s, createElementBlock as o, unref as c, createElementVNode as r, renderSlot as t, createCommentVNode as i } from "vue";
2
- import { useWorkspace as a } from "../../store/workspace.js";
3
- const d = { class: "w-sidebar relative flex flex-col border-r bg-b-1" }, m = {
1
+ import { defineComponent as l, openBlock as s, createElementBlock as o, renderSlot as t, unref as i, createElementVNode as r, toDisplayString as a, createCommentVNode as d } from "vue";
2
+ import { useWorkspace as c } from "../../store/workspace.js";
3
+ const m = { class: "w-sidebar relative flex flex-col border-r bg-b-1" }, p = {
4
4
  key: 0,
5
5
  class: "xl:min-h-header py-2.5 flex items-center border-b px-4 text-sm"
6
- }, _ = { class: "font-medium m-0 text-sm" }, p = { class: "custom-scroll sidebar-height" }, x = /* @__PURE__ */ l({
6
+ }, h = { class: "font-medium m-0 text-sm" }, _ = { class: "custom-scroll sidebar-height" }, x = /* @__PURE__ */ l({
7
7
  __name: "Sidebar",
8
+ props: {
9
+ title: {}
10
+ },
8
11
  setup(f) {
9
- const { isReadOnly: n } = a();
10
- return (e, h) => (s(), o("aside", d, [
11
- c(n) ? i("", !0) : (s(), o("div", m, [
12
- r("h2", _, [
13
- t(e.$slots, "title")
14
- ])
15
- ])),
16
- r("div", p, [
12
+ const { isReadOnly: n } = c();
13
+ return (e, u) => (s(), o("aside", m, [
14
+ t(e.$slots, "header"),
15
+ !i(n) && e.title ? (s(), o("div", p, [
16
+ r("h2", h, a(e.title), 1)
17
+ ])) : d("", !0),
18
+ r("div", _, [
17
19
  t(e.$slots, "content")
18
20
  ]),
19
21
  t(e.$slots, "button")
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/SidebarButton.vue"],"names":[],"mappings":"AA+CA,iBAAS,cAAc;mBAsFI,GAAG;EAiB7B;AACD,QAAA,MAAM,eAAe;WApHZ,MAAM,IAAI;;WAAV,MAAM,IAAI;aA0HjB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5D,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,4 +1,4 @@
1
- import { defineComponent as n, openBlock as l, createElementBlock as s, createVNode as e, unref as a, withCtx as i, renderSlot as p } from "vue";
1
+ import { defineComponent as n, openBlock as l, createElementBlock as i, createVNode as e, unref as a, withCtx as s, renderSlot as p } from "vue";
2
2
  import u from "../ScalarHotkey.vue.js";
3
3
  import { ScalarButton as d } from "@scalar/components";
4
4
  const f = { class: "fixed relative bottom-[50px] z-10 flex p-2" }, k = /* @__PURE__ */ n({
@@ -10,17 +10,17 @@ const f = { class: "fixed relative bottom-[50px] z-10 flex p-2" }, k = /* @__PUR
10
10
  const r = o, t = () => {
11
11
  r.click();
12
12
  };
13
- return (c, m) => (l(), s("div", f, [
13
+ return (c, m) => (l(), i("div", f, [
14
14
  e(a(d), {
15
15
  class: "bg-b-1 text-c-1 hover:bg-b-2 group relative w-full border p-1.5 h-auto",
16
16
  icon: "Plus",
17
- variant: "ghost",
17
+ variant: "outlined",
18
18
  onClick: t
19
19
  }, {
20
- default: i(() => [
20
+ default: s(() => [
21
21
  p(c.$slots, "title"),
22
22
  e(u, {
23
- class: "absolute right-2 group-hover:opacity-80",
23
+ class: "absolute right-2 group-hover:opacity-80 text-c-2",
24
24
  hotkey: "N",
25
25
  onHotkeyPressed: t
26
26
  })
@@ -1 +1 @@
1
- {"version":3,"file":"TopNav.vue.d.ts","sourceRoot":"","sources":["../../../src/components/TopNav/TopNav.vue"],"names":[],"mappings":";AA6NA,wBAKG"}
1
+ {"version":3,"file":"TopNav.vue.d.ts","sourceRoot":"","sources":["../../../src/components/TopNav/TopNav.vue"],"names":[],"mappings":";AAkPA,wBAKG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./TopNav.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-24eea304"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-31a24876"]]);
5
5
  export {
6
- e as default
6
+ m as default
7
7
  };
@@ -1,46 +1,49 @@
1
- import { defineComponent as _, computed as k, openBlock as l, createElementBlock as a, createElementVNode as c, unref as e, createVNode as i, toDisplayString as I, Fragment as N, renderList as x, createBlock as y } from "vue";
2
- import { useTopNav as b } from "../../store/topNav.js";
1
+ import { defineComponent as k, computed as h, openBlock as c, createElementBlock as s, createElementVNode as l, unref as e, createVNode as p, toDisplayString as I, Fragment as g, renderList as b, createBlock as N, pushScopeId as x, popScopeId as y } from "vue";
2
+ import { useTopNav as C } from "../../store/topNav.js";
3
3
  import { ScalarIcon as m } from "@scalar/components";
4
- import g from "./TopNavItem.vue.js";
5
- const h = { class: "flex h-10 t-app__top-nav" }, C = { class: "flex h-10 flex-1 items-center justify-center gap-1.5 text-sm font-medium" }, B = {
4
+ import S from "./TopNavItem.vue.js";
5
+ const w = (o) => (x("data-v-31a24876"), o = o(), y(), o), B = { class: "flex h-10 t-app__top-nav" }, T = /* @__PURE__ */ w(() => /* @__PURE__ */ l("div", { class: "t-app__top-nav-draggable" }, null, -1)), V = { class: "flex h-10 flex-1 items-center justify-center gap-1.5 text-sm font-medium relative" }, j = {
6
6
  key: 0,
7
7
  class: "flex items-center gap-1 w-full justify-center"
8
- }, $ = /* @__PURE__ */ _({
8
+ }, F = /* @__PURE__ */ k({
9
9
  __name: "TopNav",
10
- setup(S) {
10
+ setup(o) {
11
11
  const {
12
- topNavItems: o,
13
- addNavItem: s,
12
+ topNavItems: n,
13
+ addNavItem: i,
14
14
  activeNavItemIdx: v,
15
- setNavItemIdx: p,
15
+ setNavItemIdx: d,
16
16
  removeNavItem: u
17
- } = b(), d = k(() => v.value);
18
- return (T, r) => (l(), a("nav", h, [
19
- c("div", C, [
20
- e(o).length === 1 ? (l(), a("div", B, [
21
- i(e(m), {
22
- icon: e(o)[0].icon,
23
- size: "xs"
17
+ } = C(), _ = h(() => v.value);
18
+ return (z, r) => (c(), s("nav", B, [
19
+ T,
20
+ l("div", V, [
21
+ e(n).length === 1 ? (c(), s("div", j, [
22
+ p(e(m), {
23
+ icon: e(n)[0].icon,
24
+ size: "xs",
25
+ thickness: "2.5"
24
26
  }, null, 8, ["icon"]),
25
- c("div", null, I(e(o)[0].label), 1)
26
- ])) : (l(!0), a(N, { key: 1 }, x(e(o), (n, t) => (l(), y(g, {
27
+ l("div", null, I(e(n)[0].label), 1)
28
+ ])) : (c(!0), s(g, { key: 1 }, b(e(n), (a, t) => (c(), N(S, {
27
29
  key: t,
28
- active: t === d.value,
30
+ active: t === _.value,
29
31
  hotkey: (t + 1).toString(),
30
- icon: n.icon,
31
- label: n.label,
32
- onClick: (f) => e(p)(t),
32
+ icon: a.icon,
33
+ label: a.label,
34
+ onClick: (f) => e(d)(t),
33
35
  onClose: (f) => e(u)(t)
34
36
  }, null, 8, ["active", "hotkey", "icon", "label", "onClick", "onClose"]))), 128)),
35
- c("button", {
36
- class: "text-c-3 hover:bg-b-2 p-1.5 rounded-lg",
37
+ l("button", {
38
+ class: "text-c-3 hover:bg-b-2 p-1.5 rounded-lg webkit-app-no-drag",
37
39
  type: "button",
38
40
  onClick: r[0] || (r[0] = //@ts-ignore
39
- (...n) => e(s) && e(s)(...n))
41
+ (...a) => e(i) && e(i)(...a))
40
42
  }, [
41
- i(e(m), {
43
+ p(e(m), {
42
44
  icon: "Add",
43
- size: "xs"
45
+ size: "xs",
46
+ thickness: "2.5"
44
47
  })
45
48
  ])
46
49
  ])
@@ -48,5 +51,5 @@ const h = { class: "flex h-10 t-app__top-nav" }, C = { class: "flex h-10 flex-1
48
51
  }
49
52
  });
50
53
  export {
51
- $ as default
54
+ F as default
52
55
  };
@@ -1,13 +1,17 @@
1
- import type { Route } from '../../constants.js';
2
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Omit<Route, "path"> & {
1
+ import { type Icon } from '@scalar/components';
2
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
3
3
  hotkey?: string;
4
4
  active: boolean;
5
+ label: string;
6
+ icon: Icon;
5
7
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
8
  click: () => void;
7
9
  close: () => void;
8
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Omit<Route, "path"> & {
10
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
9
11
  hotkey?: string;
10
12
  active: boolean;
13
+ label: string;
14
+ icon: Icon;
11
15
  }>>> & {
12
16
  onClick?: (() => any) | undefined;
13
17
  onClose?: (() => any) | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"TopNavItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/TopNav/TopNavItem.vue"],"names":[],"mappings":"AA4HA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;;aAM3B,MAAM;YACP,OAAO;;;;;aADN,MAAM;YACP,OAAO;;;;;AAoJnB,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":"TopNavItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/TopNav/TopNavItem.vue"],"names":[],"mappings":"AA+HA,OAAO,EAAE,KAAK,IAAI,EAA6B,MAAM,oBAAoB,CAAA;;aAK9D,MAAM;YACP,OAAO;WACR,MAAM;UACP,IAAI;;;;;aAHD,MAAM;YACP,OAAO;WACR,MAAM;UACP,IAAI;;;;;AAoJZ,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 "./TopNavItem.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-7c0ee464"]]);
4
+ const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-26cc8e34"]]);
5
5
  export {
6
- r as default
6
+ a as default
7
7
  };
@@ -1,56 +1,57 @@
1
- import { defineComponent as m, openBlock as i, createBlock as s, unref as n, withCtx as l, createElementVNode as o, normalizeClass as p, createVNode as a, toDisplayString as f, createCommentVNode as k } from "vue";
1
+ import { defineComponent as m, openBlock as i, createBlock as s, unref as n, withCtx as a, createElementVNode as o, normalizeClass as p, createVNode as l, toDisplayString as k, createCommentVNode as f } from "vue";
2
2
  import v from "../ScalarHotkey.vue.js";
3
3
  import { ScalarTooltip as y, ScalarIcon as c } from "@scalar/components";
4
- const d = { class: "nav-item-icon-copy flex flex-1 items-center justify-center gap-1.5" }, u = { class: "nav-item-copy text-xs" }, b = /* @__PURE__ */ m({
4
+ const d = { class: "nav-item-icon-copy flex flex-1 items-center justify-center gap-1.5" }, u = { class: "nav-item-copy text-xs" }, g = /* @__PURE__ */ m({
5
5
  __name: "TopNavItem",
6
6
  props: {
7
- label: {},
8
- icon: {},
9
7
  hotkey: {},
10
- active: { type: Boolean }
8
+ active: { type: Boolean },
9
+ label: {},
10
+ icon: {}
11
11
  },
12
12
  emits: ["click", "close"],
13
- setup(C) {
13
+ setup(h) {
14
14
  return (e, t) => (i(), s(n(y), {
15
15
  class: "scalar-client",
16
16
  delay: 500,
17
17
  resize: "",
18
18
  sideOffset: 4
19
19
  }, {
20
- trigger: l(() => [
20
+ trigger: a(() => [
21
21
  o("div", {
22
- class: p(["nav-item", { "nav-item__active": e.active }]),
22
+ class: p(["nav-item webkit-app-no-drag", { "nav-item__active": e.active }]),
23
23
  onClick: t[1] || (t[1] = (r) => e.$emit("click"))
24
24
  }, [
25
25
  o("div", d, [
26
- a(n(c), {
26
+ l(n(c), {
27
27
  icon: e.icon,
28
- size: "xs"
28
+ size: "xs",
29
+ thickness: "2.5"
29
30
  }, null, 8, ["icon"]),
30
- o("span", u, f(e.label), 1)
31
+ o("span", u, k(e.label), 1)
31
32
  ]),
32
33
  o("button", {
33
34
  class: "nav-item-close",
34
35
  type: "button",
35
36
  onClick: t[0] || (t[0] = (r) => e.$emit("close"))
36
37
  }, [
37
- a(n(c), {
38
+ l(n(c), {
38
39
  icon: "Close",
39
40
  thickness: "1.75"
40
41
  })
41
42
  ])
42
43
  ], 2)
43
44
  ]),
44
- content: l(() => [
45
+ content: a(() => [
45
46
  e.hotkey ? (i(), s(v, {
46
47
  key: 0,
47
48
  hotkey: e.hotkey
48
- }, null, 8, ["hotkey"])) : k("", !0)
49
+ }, null, 8, ["hotkey"])) : f("", !0)
49
50
  ]),
50
51
  _: 1
51
52
  }));
52
53
  }
53
54
  });
54
55
  export {
55
- b as default
56
+ g as default
56
57
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ViewLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ViewLayout/ViewLayout.vue"],"names":[],"mappings":"AAcA,iBAAS,cAAc;qBA2BM,GAAG;EAa/B;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":"ViewLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ViewLayout/ViewLayout.vue"],"names":[],"mappings":"AAcA,iBAAS,cAAc;qBA4BM,GAAG;EAa/B;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,6 +1,6 @@
1
1
  import { openBlock as o, createElementBlock as r, renderSlot as t } from "vue";
2
2
  import n from "../../_virtual/_plugin-vue_export-helper.js";
3
- const l = {}, d = { class: "m-1 mt-0 flex min-h-0 flex-1 rounded xl:rounded-lg xl:border xl:overflow-hidden leading-3" };
3
+ const l = {}, d = { class: "m-1 mt-0 flex min-h-0 flex-1 rounded xl:rounded-lg xl:border xl:overflow-hidden leading-3 z-0" };
4
4
  function c(e, s) {
5
5
  return o(), r("div", d, [
6
6
  t(e.$slots, "default")
@@ -1 +1 @@
1
- {"version":3,"file":"ViewLayoutCollapse.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ViewLayout/ViewLayoutCollapse.vue"],"names":[],"mappings":"AA+EA,iBAAS,cAAc;;;QA4IK,GAAG;;;QACD,GAAG;;;QACH,GAAG;EAkBhC;AACD,QAAA,MAAM,eAAe;kBApLH,OAAO;gBACT,MAAM;;;;;kBADJ,OAAO;gBACT,MAAM;;;;;iBADJ,OAAO;eACT,MAAM;MAyLpB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,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,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KAAC,CAAC,GACvC,CAAC,CAAC,CAAC,CAAC;CACP,CAAC;AAEN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AAExD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC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,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AAExD,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"}
@@ -25,7 +25,8 @@ const x = { class: "flex flex-1 items-center gap-1.5" }, _ = {
25
25
  i(o(b), {
26
26
  class: "text-c-3 group-hover:text-c-1 ui-open:rotate-90 ui-not-open:rotate-0",
27
27
  icon: "ChevronRight",
28
- size: "sm"
28
+ size: "sm",
29
+ thickness: "2.5"
29
30
  }),
30
31
  r("div", x, [
31
32
  l(e.$slots, "title", { open: t }),
@@ -1,8 +1,14 @@
1
- import type { Icon } from '@scalar/components';
2
- export type Route = {
3
- label: string;
4
- icon: Icon;
5
- path: string;
6
- };
7
- export declare const ROUTES: Route[];
1
+ export declare const ROUTES: readonly [{
2
+ readonly name: "request";
3
+ readonly icon: "ExternalLink";
4
+ }, {
5
+ readonly name: "cookies";
6
+ readonly icon: "Cookie";
7
+ }, {
8
+ readonly name: "environment";
9
+ readonly icon: "Brackets";
10
+ }, {
11
+ readonly name: "servers";
12
+ readonly icon: "Server";
13
+ }];
8
14
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAE9C,MAAM,MAAM,KAAK,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,IAAI,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAA;AAE/D,eAAO,MAAM,MAAM,EAAE,KAAK,EAMhB,CAAA"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;EAMT,CAAA"}
package/dist/constants.js CHANGED
@@ -1,8 +1,8 @@
1
1
  const e = [
2
- { label: "Requests", icon: "ExternalLink", path: "/request" },
3
- { label: "Cookies", icon: "Cookie", path: "/cookies" },
4
- { label: "Environment", icon: "Brackets", path: "/environment" },
5
- { label: "Servers", icon: "Server", path: "/servers" }
2
+ { name: "request", icon: "ExternalLink" },
3
+ { name: "cookies", icon: "Cookie" },
4
+ { name: "environment", icon: "Brackets" },
5
+ { name: "servers", icon: "Server" }
6
6
  // { label: 'Git Sync', icon: 'Branch', path: '/git-sync' },
7
7
  ];
8
8
  export {
package/dist/index.d.ts CHANGED
@@ -1,6 +1,4 @@
1
- export { default as ScalarClient } from './App.vue.js';
2
- export * from './Modal/index.js';
3
- export * from './App/index.js';
1
+ export * from './layouts/Modal/index.js';
2
+ export * from './layouts/App/index.js';
4
3
  export { useWorkspace } from './store/workspace.js';
5
- export { modalRouter } from './router.js';
6
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,WAAW,CAAA;AACnD,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA;AAErB,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAEhD,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAE7B,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA"}
package/dist/index.js CHANGED
@@ -1,18 +1,13 @@
1
- import { default as p } from "./App.vue.js";
2
- /* empty css */
3
- import { useWorkspace as l } from "./store/workspace.js";
4
- import { modalRouter as f } from "./router.js";
5
- import { default as x } from "./App/ApiClientApp.vue.js";
6
- /* empty css */
7
- import { default as A } from "./Modal/ApiClientModal.vue.js";
8
- import { createApiClientModal as s } from "./Modal/api-client-modal.js";
9
- import { createApiClientApp as C } from "./App/createApiClientApp.js";
1
+ import { useWorkspace as r } from "./store/workspace.js";
2
+ import { default as a } from "./layouts/App/ApiClientApp.vue.js";
3
+ /* empty css */
4
+ import { default as l } from "./layouts/Modal/ApiClientModal.vue.js";
5
+ import { createApiClientModal as m } from "./layouts/Modal/api-client-modal.js";
6
+ import { createApiClientApp as x } from "./layouts/App/createApiClientApp.js";
10
7
  export {
11
- x as ApiClientApp,
12
- A as ApiClientModal,
13
- p as ScalarClient,
14
- C as createApiClientApp,
15
- s as createApiClientModal,
16
- f as modalRouter,
17
- l as useWorkspace
8
+ a as ApiClientApp,
9
+ l as ApiClientModal,
10
+ x as createApiClientApp,
11
+ m as createApiClientModal,
12
+ r as useWorkspace
18
13
  };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ApiClientApp.vue.d.ts","sourceRoot":"","sources":["../../../src/layouts/App/ApiClientApp.vue"],"names":[],"mappings":";AA+SA,wBAKG"}
@@ -0,0 +1,72 @@
1
+ import { defineComponent as f, onMounted as u, watchEffect as _, onBeforeMount as g, computed as h, openBlock as r, createElementBlock as m, Fragment as k, createElementVNode as i, createVNode as a, unref as s, withCtx as v, createBlock as p, KeepAlive as y, resolveDynamicComponent as x, createCommentVNode as S } from "vue";
2
+ import T from "../../components/SideNav/SideNav.vue.js";
3
+ import C from "../../components/TopNav/TopNav.vue.js";
4
+ import { useWorkspace as w } from "../../store/workspace.js";
5
+ import { addScalarClassesToHeadless as B } from "@scalar/components";
6
+ import { LS_KEYS as L } from "@scalar/object-utils/mutator-record";
7
+ import { getThemeStyles as M } from "@scalar/themes";
8
+ import { ScalarToasts as W } from "@scalar/use-toasts";
9
+ import { RouterView as A } from "vue-router";
10
+ import { loadAllResources as E } from "../../libs/local-storage.js";
11
+ import K from "../../components/CommandPalette/TheCommandPalette.vue.js";
12
+ import { useDarkModeState as b } from "../../hooks/useDarkModeState.js";
13
+ const N = ["innerHTML"], V = {
14
+ key: 0,
15
+ class: "flex min-h-0 flex-1"
16
+ }, D = { class: "flex flex-1 flex-col min-w-0" }, J = /* @__PURE__ */ f({
17
+ __name: "ApiClientApp",
18
+ setup(F) {
19
+ u(() => {
20
+ _(() => {
21
+ document.body.classList.toggle("dark-mode", n.value), document.body.classList.toggle("light-mode", !n.value);
22
+ });
23
+ });
24
+ const { isDark: n } = b(), t = w();
25
+ g(async () => {
26
+ if (localStorage.getItem(L.WORKSPACE)) {
27
+ const l = {};
28
+ let c = 0, o = 0, e = "";
29
+ for (e in localStorage)
30
+ Object.prototype.hasOwnProperty.call(localStorage, e) && (o = (localStorage[e].length + e.length) * 2, c += o, l[e] = (o / 1024).toFixed(2) + " KB");
31
+ l.Total = (c / 1024).toFixed(2) + " KB", console.table(l), E(t);
32
+ } else
33
+ t.workspaceMutators.add({
34
+ uid: "default",
35
+ name: "Workspace",
36
+ proxyUrl: "https://proxy.scalar.com"
37
+ });
38
+ B();
39
+ });
40
+ const d = h(
41
+ () => t.activeWorkspace.value && `<style>
42
+ ${M(t.activeWorkspace.value.themeId, {
43
+ fonts: !0
44
+ })}</style>`
45
+ );
46
+ return (l, c) => {
47
+ var o;
48
+ return r(), m(k, null, [
49
+ i("div", { innerHTML: d.value }, null, 8, N),
50
+ a(C),
51
+ (o = s(t).activeWorkspace.value) != null && o.uid ? (r(), m("main", V, [
52
+ a(T),
53
+ a(s(K)),
54
+ i("div", D, [
55
+ a(s(A), null, {
56
+ default: v(({ Component: e }) => [
57
+ (r(), p(y, null, [
58
+ (r(), p(x(e)))
59
+ ], 1024))
60
+ ]),
61
+ _: 1
62
+ })
63
+ ])
64
+ ])) : S("", !0),
65
+ a(s(W))
66
+ ], 64);
67
+ };
68
+ }
69
+ });
70
+ export {
71
+ J as default
72
+ };
@@ -1,4 +1,4 @@
1
- import type { ClientConfiguration } from '../Modal/index.js';
1
+ import type { ClientConfiguration } from '../../layouts/Modal/index.js';
2
2
  import type { SpecConfiguration } from '@scalar/oas-utils';
3
3
  /**
4
4
  * Mount the full-blown API Client modal to a given element.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createApiClientApp.d.ts","sourceRoot":"","sources":["../../../src/layouts/App/createApiClientApp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AAG1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAA;AAM1D;;GAEG;AACH,eAAO,MAAM,kBAAkB,OAEzB,WAAW,GAAG,IAAI,UAEd,mBAAmB;IAiEzB,+DAA+D;;IAE/D,mCAAmC;4BACX,mBAAmB;IAQ3C,uEAAuE;uBACpD,iBAAiB;IAapC,8CAA8C;;EAGjD,CAAA"}
@@ -1,5 +1,5 @@
1
- import { router as A } from "../router.js";
2
- import { useWorkspace as h } from "../store/workspace.js";
1
+ import { router as A } from "../../router.js";
2
+ import { useWorkspace as h } from "../../store/workspace.js";
3
3
  import { objectMerge as I } from "@scalar/oas-utils/helpers";
4
4
  import { createApp as v } from "vue";
5
5
  import P from "./ApiClientApp.vue.js";
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/layouts/App/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAC5D,cAAc,sBAAsB,CAAA"}
@@ -7,6 +7,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
7
7
  modalState: ReturnType<typeof useModal>;
8
8
  }>>>, {}, {}>;
9
9
  export default _default;
10
+
10
11
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
11
12
  type __VLS_TypePropsToOption<T> = {
12
13
  [K in keyof T]-?: {} extends Pick<T, K> ? {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ApiClientModal.vue.d.ts","sourceRoot":"","sources":["../../../src/layouts/Modal/ApiClientModal.vue"],"names":[],"mappings":"AAsLA,OAAO,EAA8B,KAAK,QAAQ,EAAE,MAAM,oBAAoB,CAAA;;IAQ5E,6CAA6C;gBACjC,UAAU,CAAC,OAAO,QAAQ,CAAC;;IADvC,6CAA6C;gBACjC,UAAU,CAAC,OAAO,QAAQ,CAAC;;AAiHzC,wBAMG;AAEH,eAAO,MAAM,sBAAsB,IAAK,CAAC;AACzC,OAAO,CAAC,MAAM,CAAC;IAEd,KAAK,uBAAuB,GAAG,gBAAgB,CAAC,OAAO,iBAAiB,EAAE,GAAG,CAAC,iBAAiB,EAAE,gBAAgB,CAAC,UAAU,CAAC,GAAG,CAAC,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC;IAE1K,KAAK,aAAa,GAAG,gBAAgB,CAAC,OAAO,iBAAiB,EAAE,GAAG,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IAErG,KAAK,sBAAsB,GAAG,gBAAgB,CAAC,OAAO,KAAK,EAAE,gBAAgB,EAAE,EAAE,CAAC,GAAG,gBAAgB,CAAC,OAAO,mBAAmB,EAAE,gBAAgB,EAAE,EAAE,CAAC,GAAG,gBAAgB,CA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AI,CAAC,GAAG,MAAM,GAAG,CAAC,GAAG,IAAI,EAAE,CAAC,KAAK,IAAI;KAAG,GAC5C,KAAK,GACL,KAAK,CAAC;IACT,KAAK,oBAAoB,CAAC,CAAC,IAAI,oBAAoB,CAClD,yBAAyB,CACxB,0BAA0B,CAAC,CAAC,CAAC,GAAG;SAC9B,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,GAAG,EAAE,GAAG;YAAE,CAAC,GAAG,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,CAAA;SAAE,GAAG,KAAK;KACtE,CACD,CACD,CAAC;IACF,KAAK,oBAAoB,CAAC,CAAC,IAAI;SAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;KAAG,GAAG,EAAE,CAAC;CAC9D;AACD,eAAO,MAAM,oBAAoB,IAAK,CAAC;AAMvC,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,8 +1,8 @@
1
1
  import o from "./ApiClientModal.vue2.js";
2
2
  /* empty css */
3
3
  /* empty css */
4
- import t from "../_virtual/_plugin-vue_export-helper.js";
5
- const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-852791d6"]]);
4
+ import t from "../../_virtual/_plugin-vue_export-helper.js";
5
+ const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-5357614d"]]);
6
6
  export {
7
7
  a as default
8
8
  };