@scalar/api-client 2.1.10 → 2.1.11
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 +15 -0
- package/dist/components/AddressBar/AddressBarServer.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBarServer.vue.js +18 -18
- package/dist/router.js +1 -1
- package/dist/style.css +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +82 -88
- package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebar.vue.js +1 -1
- package/dist/views/Request/RequestSidebar.vue2.js +107 -98
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +26 -26
- package/package.json +6 -6
- package/dist/views/Components/Schemas/Schemas.vue.d.ts +0 -3
- package/dist/views/Components/Schemas/Schemas.vue.d.ts.map +0 -1
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { defineComponent as y, onMounted as k, onBeforeUnmount as R, openBlock as a, createElementBlock as c, createElementVNode as e, unref as t, createTextVNode as s, toDisplayString as v, createCommentVNode as p, createVNode as n, pushScopeId as g, popScopeId as b } from "vue";
|
|
2
|
+
import C from "../../../assets/computer.ascii.js";
|
|
3
|
+
import B from "../../../components/ScalarAsciiArt.vue.js";
|
|
4
4
|
import u from "../../../components/ScalarHotkey.vue.js";
|
|
5
|
-
import { useWorkspace as
|
|
5
|
+
import { useWorkspace as N } from "../../../store/store.js";
|
|
6
6
|
import { hotKeyBus as d } from "../../../libs/event-busses/hot-keys-bus.js";
|
|
7
|
-
import { executeRequestBus as
|
|
7
|
+
import { executeRequestBus as S } from "../../../libs/event-busses/execute-request-bus.js";
|
|
8
8
|
import { commandPaletteBus as q } from "../../../libs/event-busses/command-palette-bus.js";
|
|
9
|
-
const f = (
|
|
9
|
+
const f = (o) => (g("data-v-43fc1968"), o = o(), b(), o), V = { class: "relative col-1 flex-center gap-6 p-2 capitalize" }, w = { class: "flex h-[calc(100%_-_50px)] flex-col items-center justify-center" }, E = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "scalar-version-number"
|
|
12
|
-
},
|
|
12
|
+
}, I = /* @__PURE__ */ f(() => /* @__PURE__ */ e("b", null, "Beta", -1)), P = /* @__PURE__ */ f(() => /* @__PURE__ */ e("div", { class: "mt-1" }, [
|
|
13
13
|
/* @__PURE__ */ e("a", {
|
|
14
14
|
href: "https://github.com/scalar/scalar/issues/2669",
|
|
15
15
|
target: "_blank"
|
|
16
|
-
}, "Roadmap")
|
|
17
|
-
], -1)),
|
|
16
|
+
}, " Roadmap ")
|
|
17
|
+
], -1)), A = { class: "text-c-3 right-4 mt-auto flex w-full flex-col items-end gap-2 text-sm" }, T = /* @__PURE__ */ y({
|
|
18
18
|
__name: "ResponseEmpty",
|
|
19
|
-
setup(
|
|
20
|
-
const { isReadOnly: _, activeWorkspace: h } =
|
|
19
|
+
setup(o) {
|
|
20
|
+
const { isReadOnly: _, activeWorkspace: h } = N(), r = () => {
|
|
21
21
|
q.emit({ commandName: "Create Request" });
|
|
22
|
-
},
|
|
23
|
-
|
|
24
|
-
};
|
|
25
|
-
return
|
|
26
|
-
e("div",
|
|
27
|
-
|
|
28
|
-
s(" Scalar
|
|
29
|
-
|
|
22
|
+
}, i = (l) => {
|
|
23
|
+
l.openCommandPaletteRequest && r();
|
|
24
|
+
}, x = "2.1.11";
|
|
25
|
+
return k(() => d.on(i)), R(() => d.off(i)), (l, m) => (a(), c("div", V, [
|
|
26
|
+
e("div", w, [
|
|
27
|
+
t(h).isReadOnly ? p("", !0) : (a(), c("div", E, [
|
|
28
|
+
s(" Scalar V" + v(t(x)) + " ", 1),
|
|
29
|
+
I,
|
|
30
30
|
s(" Release "),
|
|
31
|
-
|
|
31
|
+
P
|
|
32
32
|
])),
|
|
33
|
-
n(
|
|
34
|
-
art:
|
|
33
|
+
n(B, {
|
|
34
|
+
art: t(C),
|
|
35
35
|
class: "text-c-3"
|
|
36
36
|
}, null, 8, ["art"])
|
|
37
37
|
]),
|
|
38
|
-
e("div",
|
|
38
|
+
e("div", A, [
|
|
39
39
|
e("button", {
|
|
40
40
|
class: "flex items-center gap-1.5",
|
|
41
41
|
type: "button",
|
|
42
|
-
onClick:
|
|
42
|
+
onClick: m[0] || (m[0] = (K) => t(S).emit())
|
|
43
43
|
}, [
|
|
44
44
|
s(" Send Request "),
|
|
45
45
|
n(u, { hotkey: "↵" })
|
|
46
46
|
]),
|
|
47
|
-
|
|
47
|
+
t(_) ? p("", !0) : (a(), c("button", {
|
|
48
48
|
key: 0,
|
|
49
49
|
class: "flex items-center gap-1.5",
|
|
50
50
|
type: "button",
|
|
@@ -58,5 +58,5 @@ const f = (t) => (R("data-v-54db086c"), t = t(), v(), t), B = { class: "relative
|
|
|
58
58
|
}
|
|
59
59
|
});
|
|
60
60
|
export {
|
|
61
|
-
|
|
61
|
+
T as default
|
|
62
62
|
};
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"rest",
|
|
19
19
|
"testing"
|
|
20
20
|
],
|
|
21
|
-
"version": "2.1.
|
|
21
|
+
"version": "2.1.11",
|
|
22
22
|
"engines": {
|
|
23
23
|
"node": ">=18"
|
|
24
24
|
},
|
|
@@ -125,18 +125,18 @@
|
|
|
125
125
|
"vue-router": "^4.3.0",
|
|
126
126
|
"whatwg-mimetype": "^4.0.0",
|
|
127
127
|
"zod": "^3.23.8",
|
|
128
|
-
"@scalar/components": "0.12.48",
|
|
129
128
|
"@scalar/draggable": "0.1.5",
|
|
129
|
+
"@scalar/components": "0.12.49",
|
|
130
130
|
"@scalar/icons": "0.1.0",
|
|
131
|
-
"@scalar/oas-utils": "0.2.
|
|
132
|
-
"@scalar/object-utils": "1.1.9",
|
|
131
|
+
"@scalar/oas-utils": "0.2.50",
|
|
133
132
|
"@scalar/openapi-parser": "0.8.4",
|
|
133
|
+
"@scalar/object-utils": "1.1.9",
|
|
134
134
|
"@scalar/openapi-types": "0.1.1",
|
|
135
135
|
"@scalar/themes": "0.9.32",
|
|
136
136
|
"@scalar/types": "0.0.11",
|
|
137
|
-
"@scalar/use-codemirror": "0.11.14",
|
|
138
137
|
"@scalar/use-toasts": "0.7.6",
|
|
139
|
-
"@scalar/use-tooltip": "1.0.2"
|
|
138
|
+
"@scalar/use-tooltip": "1.0.2",
|
|
139
|
+
"@scalar/use-codemirror": "0.11.15"
|
|
140
140
|
},
|
|
141
141
|
"devDependencies": {
|
|
142
142
|
"@types/content-type": "^1.1.8",
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
-
export default _default;
|
|
3
|
-
//# sourceMappingURL=Schemas.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Schemas.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Components/Schemas/Schemas.vue"],"names":[],"mappings":";AA0DA,wBAKG"}
|