@scalar/api-client 2.1.15 → 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.
- package/CHANGELOG.md +16 -0
- package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBar.vue.js +2 -2
- package/dist/components/AddressBar/AddressBar.vue2.js +67 -66
- package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
- package/dist/components/CodeInput/CodeInput.vue.js +2 -2
- package/dist/components/ContextBar.vue.js +2 -2
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +2 -2
- package/dist/components/SideNav/SideNav.vue.js +2 -2
- package/dist/components/SideNav/SideNav.vue2.js +1 -1
- package/dist/components/TopNav/TopNav.vue.js +2 -2
- package/dist/components/TopNav/TopNav.vue2.js +11 -11
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +1 -1
- package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
- package/dist/layouts/App/ApiClientApp.vue.js +37 -38
- package/dist/layouts/App/hotkeys.d.ts +6 -0
- package/dist/layouts/App/hotkeys.d.ts.map +1 -0
- package/dist/layouts/App/hotkeys.js +21 -0
- package/dist/layouts/Web/ApiClientWeb.vue.d.ts +3 -0
- package/dist/layouts/Web/ApiClientWeb.vue.d.ts.map +1 -0
- package/dist/layouts/Web/ApiClientWeb.vue.js +57 -0
- package/dist/layouts/Web/ApiClientWeb.vue3.js +5 -0
- package/dist/layouts/Web/create-api-client-web.d.ts +3593 -0
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -0
- package/dist/layouts/Web/create-api-client-web.js +18 -0
- package/dist/layouts/Web/index.d.ts +3 -0
- package/dist/layouts/Web/index.d.ts.map +1 -0
- package/dist/layouts/Web/index.js +7 -0
- package/dist/libs/event-busses/hot-keys-bus.d.ts +0 -1
- package/dist/libs/event-busses/hot-keys-bus.d.ts.map +1 -1
- package/dist/libs/event-busses/hot-keys-bus.js +19 -35
- package/dist/style.css +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.js +1 -1
- package/dist/views/Request/RequestSubpageHeader.vue.js +3 -3
- package/dist/views/Request/RequestSubpageHeader.vue2.js +2 -2
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/dist/views/Request/components/WorkspaceDropdown.vue.js +2 -2
- package/package.json +8 -4
|
@@ -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-
|
|
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
|
|
1
|
+
import a from "./RequestSubpageHeader.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const p = /* @__PURE__ */
|
|
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-
|
|
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-
|
|
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.
|
|
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-
|
|
171
|
+
class: "size-3",
|
|
172
172
|
icon: "ChevronDown",
|
|
173
|
-
thickness: "3
|
|
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.
|
|
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"
|
|
@@ -132,14 +136,14 @@
|
|
|
132
136
|
"zod": "^3.23.8",
|
|
133
137
|
"@scalar/components": "0.12.50",
|
|
134
138
|
"@scalar/draggable": "0.1.5",
|
|
139
|
+
"@scalar/oas-utils": "0.2.52",
|
|
135
140
|
"@scalar/icons": "0.1.0",
|
|
141
|
+
"@scalar/openapi-parser": "0.8.5",
|
|
136
142
|
"@scalar/object-utils": "1.1.9",
|
|
137
|
-
"@scalar/oas-utils": "0.2.52",
|
|
138
143
|
"@scalar/openapi-types": "0.1.1",
|
|
139
|
-
"@scalar/openapi-parser": "0.8.5",
|
|
140
144
|
"@scalar/themes": "0.9.34",
|
|
141
|
-
"@scalar/use-codemirror": "0.11.16",
|
|
142
145
|
"@scalar/types": "0.0.13",
|
|
146
|
+
"@scalar/use-codemirror": "0.11.17",
|
|
143
147
|
"@scalar/use-toasts": "0.7.6",
|
|
144
148
|
"@scalar/use-tooltip": "1.0.2"
|
|
145
149
|
},
|