@scalar/api-client 2.1.16 → 2.1.17

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 (36) hide show
  1. package/CHANGELOG.md +8 -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 +67 -66
  5. package/dist/components/ContextBar.vue.js +2 -2
  6. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +2 -2
  7. package/dist/components/SideNav/SideNav.vue.js +2 -2
  8. package/dist/components/SideNav/SideNav.vue2.js +1 -1
  9. package/dist/components/TopNav/TopNav.vue.js +2 -2
  10. package/dist/components/TopNav/TopNav.vue2.js +11 -11
  11. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +1 -1
  12. package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
  13. package/dist/layouts/App/ApiClientApp.vue.js +37 -38
  14. package/dist/layouts/App/hotkeys.d.ts +6 -0
  15. package/dist/layouts/App/hotkeys.d.ts.map +1 -0
  16. package/dist/layouts/App/hotkeys.js +21 -0
  17. package/dist/layouts/Web/ApiClientWeb.vue.d.ts +3 -0
  18. package/dist/layouts/Web/ApiClientWeb.vue.d.ts.map +1 -0
  19. package/dist/layouts/Web/ApiClientWeb.vue.js +57 -0
  20. package/dist/layouts/Web/ApiClientWeb.vue3.js +5 -0
  21. package/dist/layouts/Web/create-api-client-web.d.ts +3593 -0
  22. package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -0
  23. package/dist/layouts/Web/create-api-client-web.js +18 -0
  24. package/dist/layouts/Web/index.d.ts +3 -0
  25. package/dist/layouts/Web/index.d.ts.map +1 -0
  26. package/dist/layouts/Web/index.js +7 -0
  27. package/dist/libs/event-busses/hot-keys-bus.d.ts +0 -1
  28. package/dist/libs/event-busses/hot-keys-bus.d.ts.map +1 -1
  29. package/dist/libs/event-busses/hot-keys-bus.js +19 -35
  30. package/dist/style.css +1 -1
  31. package/dist/views/Request/RequestSection/RequestSection.vue.js +1 -1
  32. package/dist/views/Request/RequestSubpageHeader.vue.js +3 -3
  33. package/dist/views/Request/RequestSubpageHeader.vue2.js +2 -2
  34. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  35. package/dist/views/Request/components/WorkspaceDropdown.vue.js +2 -2
  36. package/package.json +7 -3
@@ -15,7 +15,7 @@ const I = { class: "flex-1 flex gap-1 items-center lg:pr-24 pointer-events-none"
15
15
  }, P = ["value"], z = {
16
16
  key: 2,
17
17
  class: "text-c-2"
18
- }, L = { class: "request-section-content custom-scroll flex flex-1 flex-col px-2 xl:px-5 py-2.5" }, ee = /* @__PURE__ */ B({
18
+ }, L = { class: "request-section-content custom-scroll flex flex-1 flex-col px-2 xl:px-4 py-2.5" }, ee = /* @__PURE__ */ B({
19
19
  __name: "RequestSection",
20
20
  setup(O) {
21
21
  const { activeRequest: a, activeExample: h, isReadOnly: p, requestMutators: k } = D(), S = _(() => {
@@ -1,7 +1,7 @@
1
- import e from "./RequestSubpageHeader.vue2.js";
1
+ import a from "./RequestSubpageHeader.vue2.js";
2
2
  /* empty css */
3
- import o from "../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ o(e, [["__scopeId", "data-v-d2e340a5"]]);
3
+ import e from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const p = /* @__PURE__ */ e(a, [["__scopeId", "data-v-a60a547f"]]);
5
5
  export {
6
6
  p as default
7
7
  };
@@ -3,11 +3,11 @@ import f from "../../components/AddressBar/AddressBar.vue.js";
3
3
  import b from "../../components/EnvironmentSelector/EnvironmentSelector.vue.js";
4
4
  import g from "../../components/Sidebar/SidebarToggle.vue.js";
5
5
  import { ScalarIcon as h } from "@scalar/components";
6
- const _ = (o) => (c("data-v-d2e340a5"), o = o(), u(), o), x = { class: "lg:min-h-header flex items-center w-full justify-center p-1 flex-wrap t-app__top-container border-b-1/2" }, y = { class: "flex flex-row items-center gap-1 lg:px-1 lg:mb-0 mb-0.5 lg:flex-1 w-6/12" }, k = /* @__PURE__ */ _(() => /* @__PURE__ */ r("a", {
6
+ const _ = (o) => (c("data-v-a60a547f"), o = o(), u(), o), x = { class: "lg:min-h-header flex items-center w-full justify-center p-1 flex-wrap t-app__top-container border-b-1/2" }, y = { class: "flex flex-row items-center gap-1 lg:px-1 lg:mb-0 mb-0.5 lg:flex-1 w-6/12" }, k = /* @__PURE__ */ _(() => /* @__PURE__ */ r("a", {
7
7
  class: "text-c-2 text-sm font-medium gitbook-show ml-.5 hover:text-c-1 border p-1 rounded hover:bg-b-3",
8
8
  href: "https://scalar.com/",
9
9
  target: "_blank"
10
- }, " Powered by Scalar.com ", -1)), V = { class: "flex flex-row items-center gap-1 lg:px-1 lg:mb-0 mb-0.5 lg:flex-1 justify-end w-6/12" }, C = /* @__PURE__ */ m({
10
+ }, " Powered by Scalar.com ", -1)), V = { class: "flex flex-row items-center gap-1 lg:px-2.5 lg:mb-0 mb-0.5 lg:flex-1 justify-end w-6/12" }, C = /* @__PURE__ */ m({
11
11
  __name: "RequestSubpageHeader",
12
12
  props: {
13
13
  modelValue: { type: Boolean },
@@ -21,7 +21,7 @@ const f = (o) => (g("data-v-43fc1968"), o = o(), b(), o), V = { class: "relative
21
21
  q.emit({ commandName: "Create Request" });
22
22
  }, i = (l) => {
23
23
  l.openCommandPaletteRequest && r();
24
- }, x = "2.1.16";
24
+ }, x = "2.1.17";
25
25
  return k(() => d.on(i)), R(() => d.off(i)), (l, m) => (a(), c("div", V, [
26
26
  e("div", w, [
27
27
  t(h).isReadOnly ? p("", !0) : (a(), c("div", E, [
@@ -168,9 +168,9 @@ const H = { class: "flex items-center text-sm w-[inherit]" }, J = { class: "font
168
168
  o("div", J, [
169
169
  o("h2", K, z(e(f).name), 1),
170
170
  t(e(i), {
171
- class: "size-2.5",
171
+ class: "size-3",
172
172
  icon: "ChevronDown",
173
- thickness: "3.5"
173
+ thickness: "3"
174
174
  })
175
175
  ])
176
176
  ]),
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "rest",
19
19
  "testing"
20
20
  ],
21
- "version": "2.1.16",
21
+ "version": "2.1.17",
22
22
  "engines": {
23
23
  "node": ">=18"
24
24
  },
@@ -57,6 +57,10 @@
57
57
  "import": "./dist/libs/event-busses/index.js",
58
58
  "types": "./dist/libs/event-busses/index.d.ts"
59
59
  },
60
+ "./layouts/Web": {
61
+ "import": "./dist/layouts/Web/index.js",
62
+ "types": "./dist/layouts/Web/index.d.ts"
63
+ },
60
64
  "./layouts/Modal": {
61
65
  "import": "./dist/layouts/Modal/index.js",
62
66
  "types": "./dist/layouts/Modal/index.d.ts"
@@ -131,11 +135,11 @@
131
135
  "yaml": "^2.4.5",
132
136
  "zod": "^3.23.8",
133
137
  "@scalar/components": "0.12.50",
134
- "@scalar/icons": "0.1.0",
135
138
  "@scalar/draggable": "0.1.5",
136
139
  "@scalar/oas-utils": "0.2.52",
137
- "@scalar/object-utils": "1.1.9",
140
+ "@scalar/icons": "0.1.0",
138
141
  "@scalar/openapi-parser": "0.8.5",
142
+ "@scalar/object-utils": "1.1.9",
139
143
  "@scalar/openapi-types": "0.1.1",
140
144
  "@scalar/themes": "0.9.34",
141
145
  "@scalar/types": "0.0.13",