@scalar/api-client 2.0.29 → 2.0.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 +11 -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 +23 -23
- package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
- package/dist/components/CodeInput/CodeInput.vue.js +1 -1
- package/dist/components/CodeInput/CodeInput.vue2.js +1 -1
- package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.d.ts.map +1 -1
- package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.js +5 -5
- package/dist/components/SideNav/SideNav.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideNav.vue.js +5 -43
- package/dist/components/SideNav/SideNav.vue2.js +44 -2
- package/dist/components/SideNav/SideNavLink.vue.d.ts +2 -0
- package/dist/components/SideNav/SideNavLink.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideNavLink.vue.js +29 -20
- package/dist/components/SideNav/WorkspaceProfileIcon.vue.d.ts.map +1 -1
- package/dist/components/SubpageHeader.vue.d.ts.map +1 -1
- package/dist/components/SubpageHeader.vue.js +1 -1
- package/dist/constants.d.ts +4 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +4 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +11 -10
- package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
- package/dist/layouts/App/ApiClientApp.vue.js +9 -9
- package/dist/router.d.ts +10 -4
- package/dist/router.d.ts.map +1 -1
- package/dist/router.js +31 -27
- package/dist/style.css +1 -1
- package/dist/views/Request/Request.vue.d.ts.map +1 -1
- package/dist/views/Request/Request.vue.js +2 -2
- package/dist/views/Request/Request.vue2.js +11 -11
- package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue.js +13 -13
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestTable.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestTable.vue2.js +2 -2
- package/package.json +5 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestBody.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestBody.vue"],"names":[],"mappings":";WA4dS,MAAM;WACN,MAAM;eACF,GAAG,EAAE;;WAFT,MAAM;WACN,MAAM;eACF,GAAG,EAAE;;
|
|
1
|
+
{"version":3,"file":"RequestBody.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestBody.vue"],"names":[],"mappings":";WA4dS,MAAM;WACN,MAAM;eACF,GAAG,EAAE;;WAFT,MAAM;WACN,MAAM;eACF,GAAG,EAAE;;AAuzBlB,wBAMG;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"}
|
|
@@ -82,9 +82,9 @@ const le = {
|
|
|
82
82
|
}
|
|
83
83
|
);
|
|
84
84
|
function $() {
|
|
85
|
-
f.value.length === 0 &&
|
|
85
|
+
f.value.length === 0 && w();
|
|
86
86
|
}
|
|
87
|
-
const
|
|
87
|
+
const w = () => {
|
|
88
88
|
if (!p.value || !t.value) return;
|
|
89
89
|
const e = S({
|
|
90
90
|
enabled: !1
|
|
@@ -194,14 +194,14 @@ const le = {
|
|
|
194
194
|
label: a,
|
|
195
195
|
value: e
|
|
196
196
|
})
|
|
197
|
-
),
|
|
197
|
+
), x = _({
|
|
198
198
|
get: () => B.find((e) => e.id === u.value),
|
|
199
199
|
set: (e) => {
|
|
200
200
|
e != null && e.id && (u.value = e.id);
|
|
201
201
|
}
|
|
202
|
-
}),
|
|
203
|
-
return
|
|
204
|
-
|
|
202
|
+
}), g = _(() => t.value ? t.value.body.activeBody === "formData" && t.value.body.formData && t.value.body.formData.value.length > 0 ? "multipartForm" : t.value.body.activeBody === "raw" ? t.value.body.raw.encoding : u.value : "none");
|
|
203
|
+
return g.value !== "none" && (u.value = g.value), N(
|
|
204
|
+
g,
|
|
205
205
|
(e) => {
|
|
206
206
|
e && (u.value = e);
|
|
207
207
|
},
|
|
@@ -227,8 +227,8 @@ const le = {
|
|
|
227
227
|
m(te, { class: "relative col-span-full flex h-8 cursor-pointer items-center px-[2.25px] py-[2.25px]" }, {
|
|
228
228
|
default: d(() => [
|
|
229
229
|
m(c(ne), {
|
|
230
|
-
modelValue:
|
|
231
|
-
"onUpdate:modelValue": a[0] || (a[0] = (o) =>
|
|
230
|
+
modelValue: x.value,
|
|
231
|
+
"onUpdate:modelValue": a[0] || (a[0] = (o) => x.value = o),
|
|
232
232
|
class: "text-xxs w-full",
|
|
233
233
|
fullWidth: "",
|
|
234
234
|
options: c(B),
|
|
@@ -243,7 +243,7 @@ const le = {
|
|
|
243
243
|
default: d(() => {
|
|
244
244
|
var o;
|
|
245
245
|
return [
|
|
246
|
-
b("span", null, k((o =
|
|
246
|
+
b("span", null, k((o = x.value) == null ? void 0 : o.label), 1),
|
|
247
247
|
m(c(q), {
|
|
248
248
|
icon: "ChevronDown",
|
|
249
249
|
size: "xs",
|
|
@@ -270,7 +270,7 @@ const le = {
|
|
|
270
270
|
(o = c(t)) != null && o.body.binary ? (i(), y(j, { key: 0 }, [
|
|
271
271
|
b("span", me, k((s = c(t)) == null ? void 0 : s.body.binary.name), 1),
|
|
272
272
|
m(c(D), {
|
|
273
|
-
class: "bg-b-2 hover:bg-b-3 border-0 text-c-2 ml-1",
|
|
273
|
+
class: "bg-b-2 hover:bg-b-3 border-0 text-c-2 ml-1 shadow-none",
|
|
274
274
|
size: "sm",
|
|
275
275
|
variant: "outlined",
|
|
276
276
|
onClick: G
|
|
@@ -282,7 +282,7 @@ const le = {
|
|
|
282
282
|
})
|
|
283
283
|
], 64)) : (i(), v(c(D), {
|
|
284
284
|
key: 1,
|
|
285
|
-
class: "bg-b-2 hover:bg-b-3 border-0 text-c-2",
|
|
285
|
+
class: "bg-b-2 hover:bg-b-3 border-0 text-c-2 shadow-none",
|
|
286
286
|
size: "sm",
|
|
287
287
|
variant: "outlined",
|
|
288
288
|
onClick: K
|
|
@@ -306,7 +306,7 @@ const le = {
|
|
|
306
306
|
columns: ["32px", "", "", "61px"],
|
|
307
307
|
items: f.value,
|
|
308
308
|
showUploadButton: "",
|
|
309
|
-
onAddRow:
|
|
309
|
+
onAddRow: w,
|
|
310
310
|
onDeleteRow: R,
|
|
311
311
|
onRemoveFile: U,
|
|
312
312
|
onUpdateRow: C,
|
|
@@ -319,7 +319,7 @@ const le = {
|
|
|
319
319
|
columns: ["32px", "", "", "61px"],
|
|
320
320
|
items: f.value,
|
|
321
321
|
showUploadButton: "",
|
|
322
|
-
onAddRow:
|
|
322
|
+
onAddRow: w,
|
|
323
323
|
onDeleteRow: R,
|
|
324
324
|
onRemoveFile: U,
|
|
325
325
|
onUpdateRow: C,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestTable.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestTable.vue"],"names":[],"mappings":"AAmMA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAA;;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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 "./RequestTable.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-2b656c55"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
|
@@ -6,7 +6,7 @@ import q from "../../../components/DataTable/DataTableCheckbox.vue.js";
|
|
|
6
6
|
import D from "../../../components/DataTable/DataTableRow.vue.js";
|
|
7
7
|
import { ScalarButton as H, ScalarIcon as z } from "@scalar/components";
|
|
8
8
|
import A from "./RequestTableTooltip.vue.js";
|
|
9
|
-
const M = (s) => (E("data-v-
|
|
9
|
+
const M = (s) => (E("data-v-2b656c55"), s = s(), T(), s), O = { class: "text-c-2 max-w-[100%] overflow-hidden filemask flex items-end justify-end" }, j = ["onClick"], K = /* @__PURE__ */ M(() => /* @__PURE__ */ p("span", null, "File", -1)), Z = /* @__PURE__ */ F({
|
|
10
10
|
__name: "RequestTable",
|
|
11
11
|
props: {
|
|
12
12
|
items: {},
|
|
@@ -115,7 +115,7 @@ const M = (s) => (E("data-v-92212893"), s = s(), T(), s), O = { class: "text-c-2
|
|
|
115
115
|
}, " Delete ", 8, j)
|
|
116
116
|
], 64)) : (u(), r(m(H), {
|
|
117
117
|
key: 1,
|
|
118
|
-
class: "bg-b-2 hover:bg-b-3 border-0 py-px text-c-2",
|
|
118
|
+
class: "bg-b-2 hover:bg-b-3 border-0 py-px text-c-2 shadow-none",
|
|
119
119
|
size: "sm",
|
|
120
120
|
variant: "outlined",
|
|
121
121
|
onClick: (S) => _(a)
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"rest",
|
|
19
19
|
"testing"
|
|
20
20
|
],
|
|
21
|
-
"version": "2.0.
|
|
21
|
+
"version": "2.0.30",
|
|
22
22
|
"engines": {
|
|
23
23
|
"node": ">=18"
|
|
24
24
|
},
|
|
@@ -118,14 +118,14 @@
|
|
|
118
118
|
"vue": "^3.4.29",
|
|
119
119
|
"vue-router": "^4.3.0",
|
|
120
120
|
"zod": "^3.22.4",
|
|
121
|
-
"@scalar/
|
|
122
|
-
"@scalar/oas-utils": "0.2.16",
|
|
121
|
+
"@scalar/oas-utils": "0.2.17",
|
|
123
122
|
"@scalar/object-utils": "1.1.4",
|
|
124
123
|
"@scalar/draggable": "0.1.3",
|
|
125
|
-
"@scalar/themes": "0.9.15",
|
|
126
124
|
"@scalar/use-codemirror": "0.11.8",
|
|
125
|
+
"@scalar/use-toasts": "0.7.4",
|
|
127
126
|
"@scalar/use-tooltip": "1.0.2",
|
|
128
|
-
"@scalar/
|
|
127
|
+
"@scalar/themes": "0.9.16",
|
|
128
|
+
"@scalar/components": "0.12.19"
|
|
129
129
|
},
|
|
130
130
|
"devDependencies": {
|
|
131
131
|
"@types/content-type": "^1.1.8",
|