@scalar/api-client 2.1.28 → 2.1.30
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 +23 -0
- package/dist/components/AddressBar/AddressBarServerItem.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBarServerItem.vue.js +15 -15
- package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInput.vue.js +3 -3
- package/dist/components/DataTable/DataTableInput.vue2.js +43 -43
- package/dist/components/DataTable/DataTableInputSelect.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInputSelect.vue.js +14 -14
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts.map +1 -1
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +17 -17
- package/dist/components/ImportCollection/WorkspaceSelector.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/WorkspaceSelector.vue.js +2 -2
- package/dist/components/ViewLayout/ViewLayout.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayout.vue.js +7 -7
- package/dist/components/ViewLayout/ViewLayoutContent.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutContent.vue.js +7 -7
- package/dist/layouts/App/create-api-client-app.d.ts +4 -4
- package/dist/layouts/Modal/create-api-client-modal.d.ts +8 -8
- package/dist/layouts/Web/create-api-client-web.d.ts +4 -4
- package/dist/libs/create-client.d.ts +4 -4
- package/dist/libs/hot-keys.d.ts +1 -1
- package/dist/libs/send-request.d.ts.map +1 -1
- package/dist/libs/send-request.js +63 -60
- package/dist/libs/string-template.d.ts.map +1 -1
- package/dist/libs/string-template.js +6 -6
- package/dist/store/request-example.d.ts +2 -2
- package/dist/store/store.d.ts +8 -8
- package/dist/store/workspace.d.ts +2 -2
- 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 +2 -2
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestTable.vue.js +2 -2
- package/dist/views/Request/RequestSubpageHeader.vue.js +1 -1
- package/dist/views/Request/RequestSubpageHeader.vue2.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue.js +1 -1
- package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -1
- package/dist/views/Request/components/WorkspaceDropdown.vue.js +2 -2
- package/package.json +8 -8
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestAuth.vue.d.ts","sourceRoot":"","sources":["../../../../../src/views/Request/RequestSection/RequestAuth/RequestAuth.vue"],"names":[],"mappings":";WAyUS,MAAM;;WAAN,MAAM;;
|
|
1
|
+
{"version":3,"file":"RequestAuth.vue.d.ts","sourceRoot":"","sources":["../../../../../src/views/Request/RequestSection/RequestAuth/RequestAuth.vue"],"names":[],"mappings":";WAyUS,MAAM;;WAAN,MAAM;;AAqcf,wBAMG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import t from "./RequestAuth.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import o from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const f = /* @__PURE__ */ o(t, [["__scopeId", "data-v-4a75f9a1"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
f as default
|
|
7
7
|
};
|
|
@@ -13,7 +13,7 @@ import { useWorkspace as te } from "../../../../store/store.js";
|
|
|
13
13
|
const le = { class: "flex gap-1" }, oe = {
|
|
14
14
|
key: 0,
|
|
15
15
|
class: "flex relative scroll-timeline-x w-full"
|
|
16
|
-
}, se = { class: "flex flex-1 gap-0.
|
|
16
|
+
}, se = { class: "flex flex-1 gap-0.25 mr-1.5 items-center" }, ae = {
|
|
17
17
|
key: 1,
|
|
18
18
|
class: "pl-2"
|
|
19
19
|
}, _e = /* @__PURE__ */ N({
|
|
@@ -138,7 +138,7 @@ const le = { class: "flex gap-1" }, oe = {
|
|
|
138
138
|
c("div", se, [
|
|
139
139
|
(p(!0), x(I, null, W(h.value, (o) => (p(), x("span", {
|
|
140
140
|
key: o.id,
|
|
141
|
-
class: "cm-pill flex items-center mx-0 h-fit"
|
|
141
|
+
class: "cm-pill flex items-center mx-0 h-fit pr-1"
|
|
142
142
|
}, [
|
|
143
143
|
q(w(o.label) + " ", 1),
|
|
144
144
|
a(i(A), {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestTable.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestTable.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RequestTable.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestTable.vue"],"names":[],"mappings":"AA8MA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAA;;YAQlE,uBAAuB,EAAE;IACjC,8BAA8B;sBACZ,OAAO;uBACN,OAAO;;;;;;;;;;;YAHlB,uBAAuB,EAAE;IACjC,8BAA8B;sBACZ,OAAO;uBACN,OAAO;;;;;;;;;;;qBADR,OAAO;sBACN,OAAO;;AA4e9B,wBAiBG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./RequestTable.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-1f355550"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
f as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./RequestSubpageHeader.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import o from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const p = /* @__PURE__ */ o(e, [["__scopeId", "data-v-
|
|
4
|
+
const p = /* @__PURE__ */ o(e, [["__scopeId", "data-v-89f09c6b"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
|
@@ -4,7 +4,7 @@ import u from "../../components/EnvironmentSelector/EnvironmentSelector.vue.js";
|
|
|
4
4
|
import f from "../../components/Sidebar/SidebarToggle.vue.js";
|
|
5
5
|
import { ScalarIcon as c } from "@scalar/components";
|
|
6
6
|
import b from "./components/WorkspaceDropdown.vue.js";
|
|
7
|
-
const g = { class: "lg:min-h-header flex items-center w-full justify-center p-2 pt-1 lg:p-1 flex-wrap t-app__top-container
|
|
7
|
+
const g = { class: "lg:min-h-header flex items-center w-full justify-center p-2 pt-1 lg: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 = { 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" }, $ = /* @__PURE__ */ i({
|
|
8
8
|
__name: "RequestSubpageHeader",
|
|
9
9
|
props: {
|
|
10
10
|
modelValue: { type: Boolean },
|
|
@@ -13,7 +13,7 @@ const N = { class: "relative col-1 flex-center gap-6 p-2 capitalize" }, q = { cl
|
|
|
13
13
|
s.commandPalette.emit({ commandName: "Create Request" });
|
|
14
14
|
}, c = (n) => {
|
|
15
15
|
n != null && n.openCommandPaletteRequest && m();
|
|
16
|
-
}, x = "2.1.
|
|
16
|
+
}, x = "2.1.30";
|
|
17
17
|
return k(() => s.hotKeys.on(c)), R(() => s.hotKeys.off(c)), (n, e) => (r(), l("div", N, [
|
|
18
18
|
t("div", q, [
|
|
19
19
|
o(f).isReadOnly ? p("", !0) : (r(), l("div", v, [
|
|
@@ -9,7 +9,7 @@ import g from "./ResponseBodyVirtual.vue.js";
|
|
|
9
9
|
/* empty css */
|
|
10
10
|
import E from "./ResponseCookies.vue.js";
|
|
11
11
|
import I from "./ResponseHeaders.vue.js";
|
|
12
|
-
const L = { class: "flex items-center flex-1" }, O = { class: "custom-scroll relative flex flex-1 flex-col px-2 xl:px-4 py-2.5" }, T =
|
|
12
|
+
const L = { class: "flex items-center flex-1" }, O = { class: "custom-scroll relative flex flex-1 flex-col px-2 xl:px-4 py-2.5" }, T = 2e5, X = /* @__PURE__ */ A({
|
|
13
13
|
__name: "ResponseSection",
|
|
14
14
|
props: {
|
|
15
15
|
response: {}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkspaceDropdown.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/components/WorkspaceDropdown.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"WorkspaceDropdown.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/components/WorkspaceDropdown.vue"],"names":[],"mappings":";AAy7BA,wBAKG"}
|
|
@@ -37,8 +37,8 @@ const H = { class: "flex items-center text-sm w-[inherit]" }, J = { class: "font
|
|
|
37
37
|
default: n(() => [
|
|
38
38
|
l("div", {
|
|
39
39
|
class: U([
|
|
40
|
-
"flex items-center justify-center rounded-full p-[3px] w-4 h-4
|
|
41
|
-
e(f).uid === a ? "bg-
|
|
40
|
+
"flex items-center justify-center rounded-full p-[3px] w-4 h-4",
|
|
41
|
+
e(f).uid === a ? "bg-c-accent text-b-1" : "group-hover/item:shadow-border text-transparent"
|
|
42
42
|
])
|
|
43
43
|
}, [
|
|
44
44
|
s(e(i), {
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"rest",
|
|
19
19
|
"testing"
|
|
20
20
|
],
|
|
21
|
-
"version": "2.1.
|
|
21
|
+
"version": "2.1.30",
|
|
22
22
|
"engines": {
|
|
23
23
|
"node": ">=18"
|
|
24
24
|
},
|
|
@@ -153,18 +153,18 @@
|
|
|
153
153
|
"whatwg-mimetype": "^4.0.0",
|
|
154
154
|
"yaml": "^2.4.5",
|
|
155
155
|
"zod": "^3.23.8",
|
|
156
|
+
"@scalar/components": "0.12.57",
|
|
156
157
|
"@scalar/draggable": "0.1.6",
|
|
157
158
|
"@scalar/icons": "0.1.1",
|
|
158
|
-
"@scalar/oas-utils": "0.2.
|
|
159
|
+
"@scalar/oas-utils": "0.2.60",
|
|
159
160
|
"@scalar/object-utils": "1.1.10",
|
|
160
|
-
"@scalar/openapi-
|
|
161
|
-
"@scalar/themes": "0.9.
|
|
162
|
-
"@scalar/
|
|
161
|
+
"@scalar/openapi-parser": "0.8.7",
|
|
162
|
+
"@scalar/themes": "0.9.41",
|
|
163
|
+
"@scalar/openapi-types": "0.1.4",
|
|
164
|
+
"@scalar/types": "0.0.17",
|
|
163
165
|
"@scalar/use-toasts": "0.7.7",
|
|
164
|
-
"@scalar/components": "0.12.56",
|
|
165
|
-
"@scalar/types": "0.0.16",
|
|
166
166
|
"@scalar/use-tooltip": "1.0.3",
|
|
167
|
-
"@scalar/
|
|
167
|
+
"@scalar/use-codemirror": "0.11.24"
|
|
168
168
|
},
|
|
169
169
|
"devDependencies": {
|
|
170
170
|
"@types/js-cookie": "^3.0.6",
|