@scalar/api-client 2.1.48 → 2.1.50
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 +31 -0
- package/dist/assets/keycap.ascii.js +25 -0
- package/dist/components/CodeInput/CodeInput.vue.js +2 -2
- package/dist/components/CodeInput/CodeInput.vue2.js +1 -1
- package/dist/components/CodeInput/codeVariableWidget.js +12 -12
- package/dist/components/DataTable/DataTableInput.vue.d.ts +1 -1
- package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarListElementActions.vue.js +1 -1
- package/dist/components/TopNav/TopNav.vue.js +2 -2
- package/dist/components/TopNav/TopNav.vue2.js +7 -7
- package/dist/components/ViewLayout/ViewLayoutSection.vue.js +2 -2
- package/dist/hooks/index.d.ts +0 -2
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +8 -12
- package/dist/layouts/App/ApiClientApp.vue.js +19 -19
- package/dist/layouts/App/create-api-client-app.d.ts +317 -151
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/Modal/create-api-client-modal.d.ts +634 -302
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
- package/dist/layouts/Web/ApiClientWeb.vue.js +20 -20
- package/dist/layouts/Web/create-api-client-web.d.ts +317 -151
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/libs/create-client.d.ts +310 -144
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/store/collections.d.ts +134 -4
- package/dist/store/collections.d.ts.map +1 -1
- package/dist/store/cookies.d.ts +4 -4
- package/dist/store/environment.d.ts +4 -4
- package/dist/store/import-spec.d.ts +26 -0
- package/dist/store/import-spec.d.ts.map +1 -1
- package/dist/store/request-example.d.ts +22 -72
- package/dist/store/request-example.d.ts.map +1 -1
- package/dist/store/requests.d.ts +54 -14
- package/dist/store/requests.d.ts.map +1 -1
- package/dist/store/requests.js +65 -55
- package/dist/store/servers.d.ts +4 -4
- package/dist/store/store.d.ts +632 -300
- package/dist/store/store.d.ts.map +1 -1
- package/dist/store/tags.d.ts +34 -34
- package/dist/store/tags.d.ts.map +1 -1
- package/dist/store/workspace.d.ts.map +1 -1
- package/dist/store/workspace.js +24 -29
- package/dist/style.css +1 -1
- package/dist/views/Request/RequestSection/RequestAuthDataTableInput.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestAuthDataTableInput.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue2.js +20 -21
- package/dist/views/Request/RequestSection/RequestPathParams.vue.js +23 -23
- package/dist/views/Request/RequestSidebar.vue.d.ts +2 -0
- package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebar.vue.js +2 -2
- package/dist/views/Request/RequestSidebar.vue2.js +169 -133
- package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebarItem.vue.js +1 -1
- package/dist/views/Request/RequestSidebarItem.vue2.js +181 -155
- package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts +2 -0
- package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebarItemMenu.vue.js +3 -3
- package/dist/views/Request/RequestSidebarItemMenu.vue2.js +155 -96
- 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 +74 -34
- package/dist/views/Settings/SettingsGeneralMode.vue.d.ts.map +1 -1
- package/dist/views/Settings/SettingsGeneralMode.vue.js +38 -46
- package/package.json +8 -7
- package/dist/hooks/useClipboard.d.ts +0 -4
- package/dist/hooks/useClipboard.d.ts.map +0 -1
- package/dist/hooks/useClipboard.js +0 -14
- package/dist/hooks/useDarkModeState.d.ts +0 -8
- package/dist/hooks/useDarkModeState.d.ts.map +0 -1
- package/dist/hooks/useDarkModeState.js +0 -46
|
@@ -27,8 +27,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
|
|
|
27
27
|
onInputFocus?: (() => any) | undefined;
|
|
28
28
|
onInputBlur?: (() => any) | undefined;
|
|
29
29
|
}>, {
|
|
30
|
-
required: boolean;
|
|
31
30
|
readOnly: boolean;
|
|
31
|
+
required: boolean;
|
|
32
32
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
33
33
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
34
34
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestAuthDataTableInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestAuthDataTableInput.vue"],"names":[],"mappings":"AAoDA,KAAK,WAAW,GAAG;IACf,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,EAAE,MAAM,GAAG,MAAM,CAAA;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;AAqBJ,iBAAS,cAAc;WA4GT,OAAO,IAA6B;;yBATpB,GAAG;sBACN,GAAG;;;;EAa7B;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"RequestAuthDataTableInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestAuthDataTableInput.vue"],"names":[],"mappings":"AAoDA,KAAK,WAAW,GAAG;IACf,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,EAAE,MAAM,GAAG,MAAM,CAAA;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;AAqBJ,iBAAS,cAAc;WA4GT,OAAO,IAA6B;;yBATpB,GAAG;sBACN,GAAG;;;;EAa7B;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;cApJN,OAAO;cAFP,OAAO;6EA+JpB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAgBpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestBody.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestBody.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RequestBody.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestBody.vue"],"names":[],"mappings":"AAmhBA,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAA;CACd,CAAC;;AAw0BF,wBAOG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./RequestBody.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-8da1a870"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as G, computed as w, ref as K, watch as S, openBlock as
|
|
1
|
+
import { defineComponent as G, computed as w, ref as K, watch as S, openBlock as f, createBlock as b, withCtx as u, createTextVNode as q, toDisplayString as F, createVNode as s, unref as c, createElementVNode as x, createElementBlock as R, Fragment as Q, nextTick as Z } from "vue";
|
|
2
2
|
import I from "../../../components/CodeInput/CodeInput.vue.js";
|
|
3
3
|
import ee from "../../../components/DataTable/DataTable.vue.js";
|
|
4
4
|
import ae from "../../../components/DataTable/DataTableHeader.vue.js";
|
|
@@ -7,9 +7,9 @@ import te from "../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
|
|
|
7
7
|
import { ScalarListbox as oe, ScalarButton as _, ScalarIcon as L } from "@scalar/components";
|
|
8
8
|
import { requestExampleParametersSchema as M } from "@scalar/oas-utils/entities/spec";
|
|
9
9
|
import { canMethodHaveBody as ne } from "@scalar/oas-utils/helpers";
|
|
10
|
-
import
|
|
10
|
+
import A from "./RequestTable.vue.js";
|
|
11
11
|
import { useWorkspace as le } from "../../../store/store.js";
|
|
12
|
-
import { useFileDialog as
|
|
12
|
+
import { useFileDialog as W } from "../../../hooks/useFileDialog.js";
|
|
13
13
|
const re = {
|
|
14
14
|
key: 0,
|
|
15
15
|
class: "text-c-3 flex min-h-10 w-full items-center justify-center p-2 text-sm"
|
|
@@ -144,7 +144,7 @@ const re = {
|
|
|
144
144
|
encoding: "html",
|
|
145
145
|
header: "application/html"
|
|
146
146
|
} : { activeBody: "raw", encoding: void 0, header: void 0 }, C = (e) => {
|
|
147
|
-
var
|
|
147
|
+
var p, y;
|
|
148
148
|
if (!a.value) return;
|
|
149
149
|
const { activeBody: t, encoding: o, header: l } = H(e);
|
|
150
150
|
if (r.edit(
|
|
@@ -154,7 +154,7 @@ const re = {
|
|
|
154
154
|
), o && t === "raw")
|
|
155
155
|
r.edit(a.value.uid, "body.raw", {
|
|
156
156
|
encoding: o,
|
|
157
|
-
value: ((
|
|
157
|
+
value: ((p = a.value.body.raw) == null ? void 0 : p.value) ?? ""
|
|
158
158
|
});
|
|
159
159
|
else if (o && t === "formData")
|
|
160
160
|
r.edit(a.value.uid, "body.formData", {
|
|
@@ -178,7 +178,7 @@ const re = {
|
|
|
178
178
|
n
|
|
179
179
|
);
|
|
180
180
|
}, j = async (e) => {
|
|
181
|
-
const { open: t } =
|
|
181
|
+
const { open: t } = W({
|
|
182
182
|
onChange: async (o) => {
|
|
183
183
|
const l = o == null ? void 0 : o[0];
|
|
184
184
|
if (l && i.value && a.value) {
|
|
@@ -214,7 +214,7 @@ const re = {
|
|
|
214
214
|
);
|
|
215
215
|
}
|
|
216
216
|
function X() {
|
|
217
|
-
const { open: e } =
|
|
217
|
+
const { open: e } = W({
|
|
218
218
|
onChange: async (t) => {
|
|
219
219
|
const o = t == null ? void 0 : t[0];
|
|
220
220
|
o && i.value && a.value && r.edit(
|
|
@@ -246,7 +246,7 @@ const re = {
|
|
|
246
246
|
) && E();
|
|
247
247
|
},
|
|
248
248
|
{ immediate: !0 }
|
|
249
|
-
), (e, t) => (
|
|
249
|
+
), (e, t) => (f(), b(te, null, {
|
|
250
250
|
title: u(() => [
|
|
251
251
|
q(F(e.title), 1)
|
|
252
252
|
]),
|
|
@@ -255,19 +255,18 @@ const re = {
|
|
|
255
255
|
default: u(() => [
|
|
256
256
|
s(k, null, {
|
|
257
257
|
default: u(() => [
|
|
258
|
-
s(ae, { class: "relative col-span-full flex h-8 cursor-pointer items-center
|
|
258
|
+
s(ae, { class: "relative col-span-full flex h-8 cursor-pointer items-center !p-0" }, {
|
|
259
259
|
default: u(() => [
|
|
260
260
|
s(c(oe), {
|
|
261
261
|
modelValue: m.value,
|
|
262
262
|
"onUpdate:modelValue": t[0] || (t[0] = (o) => m.value = o),
|
|
263
|
-
class: "text-xxs
|
|
264
|
-
fullWidth: "",
|
|
263
|
+
class: "text-xxs",
|
|
265
264
|
options: c(h),
|
|
266
265
|
teleport: ""
|
|
267
266
|
}, {
|
|
268
267
|
default: u(() => [
|
|
269
268
|
s(c(_), {
|
|
270
|
-
class: "flex gap-1.5 h-
|
|
269
|
+
class: "flex gap-1.5 h-full px-2 text-c-2 font-normal hover:text-c-1",
|
|
271
270
|
fullWidth: "",
|
|
272
271
|
variant: "ghost"
|
|
273
272
|
}, {
|
|
@@ -295,12 +294,12 @@ const re = {
|
|
|
295
294
|
}),
|
|
296
295
|
s(k, null, {
|
|
297
296
|
default: u(() => {
|
|
298
|
-
var o, l, n, d,
|
|
297
|
+
var o, l, n, d, p;
|
|
299
298
|
return [
|
|
300
|
-
m.value.id === "none" ? (
|
|
299
|
+
m.value.id === "none" ? (f(), R("div", re, t[1] || (t[1] = [
|
|
301
300
|
x("span", null, "No Body", -1)
|
|
302
|
-
]))) : m.value.id === "binaryFile" ? (
|
|
303
|
-
(o = c(a)) != null && o.body.binary ? (
|
|
301
|
+
]))) : m.value.id === "binaryFile" ? (f(), R("div", de, [
|
|
302
|
+
(o = c(a)) != null && o.body.binary ? (f(), R(Q, { key: 0 }, [
|
|
304
303
|
x("span", ie, F(((l = c(a)) == null ? void 0 : l.body.binary).name), 1),
|
|
305
304
|
s(c(_), {
|
|
306
305
|
class: "bg-b-2 hover:bg-b-3 border-0 text-c-2 ml-1 shadow-none",
|
|
@@ -313,7 +312,7 @@ const re = {
|
|
|
313
312
|
])),
|
|
314
313
|
_: 1
|
|
315
314
|
})
|
|
316
|
-
], 64)) : (
|
|
315
|
+
], 64)) : (f(), b(c(_), {
|
|
317
316
|
key: 1,
|
|
318
317
|
class: "bg-b-2 hover:bg-b-3 border-0 text-c-2 shadow-none",
|
|
319
318
|
size: "sm",
|
|
@@ -331,7 +330,7 @@ const re = {
|
|
|
331
330
|
]),
|
|
332
331
|
_: 1
|
|
333
332
|
}))
|
|
334
|
-
])) : m.value.id == "multipartForm" ? (
|
|
333
|
+
])) : m.value.id == "multipartForm" ? (f(), b(A, {
|
|
335
334
|
key: 2,
|
|
336
335
|
ref_key: "tableWrapperRef",
|
|
337
336
|
ref: g,
|
|
@@ -345,7 +344,7 @@ const re = {
|
|
|
345
344
|
onToggleRow: P,
|
|
346
345
|
onUpdateRow: T,
|
|
347
346
|
onUploadFile: j
|
|
348
|
-
}, null, 8, ["items"])) : m.value.id == "formUrlEncoded" ? (
|
|
347
|
+
}, null, 8, ["items"])) : m.value.id == "formUrlEncoded" ? (f(), b(A, {
|
|
349
348
|
key: 3,
|
|
350
349
|
ref_key: "tableWrapperRef",
|
|
351
350
|
ref: g,
|
|
@@ -359,13 +358,13 @@ const re = {
|
|
|
359
358
|
onToggleRow: P,
|
|
360
359
|
onUpdateRow: T,
|
|
361
360
|
onUploadFile: j
|
|
362
|
-
}, null, 8, ["items"])) : (
|
|
361
|
+
}, null, 8, ["items"])) : (f(), b(I, {
|
|
363
362
|
key: 4,
|
|
364
363
|
content: "",
|
|
365
364
|
language: O.value,
|
|
366
365
|
lineNumbers: "",
|
|
367
366
|
lint: "",
|
|
368
|
-
modelValue: ((
|
|
367
|
+
modelValue: ((p = (d = (n = c(a)) == null ? void 0 : n.body) == null ? void 0 : d.raw) == null ? void 0 : p.value) ?? "",
|
|
369
368
|
"onUpdate:modelValue": $
|
|
370
369
|
}, null, 8, ["language", "modelValue"]))
|
|
371
370
|
];
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent as _, computed as $, watch as K, openBlock as d, createBlock as h, withCtx as y, createTextVNode as x, toDisplayString as q, createElementBlock as C, createElementVNode as P } from "vue";
|
|
2
|
+
import w from "../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
|
|
3
3
|
import V from "./RequestTable.vue.js";
|
|
4
|
-
import {
|
|
4
|
+
import { REGEX as M } from "@scalar/oas-utils/helpers";
|
|
5
5
|
import { useWorkspace as B } from "../../../store/store.js";
|
|
6
6
|
const N = {
|
|
7
7
|
key: 1,
|
|
8
8
|
class: "text-c-3 px-4 text-sm border rounded min-h-12 justify-center flex items-center bg-b-1 mx-1"
|
|
9
|
-
},
|
|
9
|
+
}, D = /* @__PURE__ */ _({
|
|
10
10
|
__name: "RequestPathParams",
|
|
11
11
|
props: {
|
|
12
12
|
title: {},
|
|
13
13
|
paramKey: {}
|
|
14
14
|
},
|
|
15
|
-
setup(
|
|
16
|
-
const o =
|
|
15
|
+
setup(b) {
|
|
16
|
+
const o = b, {
|
|
17
17
|
activeRequest: s,
|
|
18
18
|
activeExample: n,
|
|
19
|
-
requestMutators:
|
|
20
|
-
requestExampleMutators:
|
|
21
|
-
} = B(), i =
|
|
19
|
+
requestMutators: v,
|
|
20
|
+
requestExampleMutators: f
|
|
21
|
+
} = B(), i = $(() => {
|
|
22
22
|
const e = n.value;
|
|
23
23
|
return e ? e.parameters[o.paramKey].map((a) => {
|
|
24
24
|
var r;
|
|
@@ -27,7 +27,7 @@ const N = {
|
|
|
27
27
|
enum: a.enum || ((r = e.serverVariables) == null ? void 0 : r[a.key])
|
|
28
28
|
};
|
|
29
29
|
}) : [];
|
|
30
|
-
}),
|
|
30
|
+
}), g = (e, a, r) => {
|
|
31
31
|
var u, t;
|
|
32
32
|
if (!s.value || !n.value) return;
|
|
33
33
|
const p = n.value.parameters[o.paramKey], l = (u = p[e]) == null ? void 0 : u.key;
|
|
@@ -35,18 +35,18 @@ const N = {
|
|
|
35
35
|
if ((t = p[e]) != null && t.required)
|
|
36
36
|
return;
|
|
37
37
|
if (r) {
|
|
38
|
-
const c = encodeURIComponent(l), m = encodeURIComponent(r),
|
|
39
|
-
|
|
38
|
+
const c = encodeURIComponent(l), m = encodeURIComponent(r), E = new RegExp(`(?<=/):${c}(?=[/?#]|$)`, "g"), R = s.value.path.replace(
|
|
39
|
+
E,
|
|
40
40
|
`:${m}`
|
|
41
41
|
);
|
|
42
|
-
|
|
42
|
+
v.edit(s.value.uid, "path", R);
|
|
43
43
|
} else {
|
|
44
44
|
p.splice(e, 1);
|
|
45
45
|
const c = new RegExp(`/:${encodeURIComponent(l)}(?=[/?#]|$)`, "g"), m = s.value.path.replace(c, "");
|
|
46
|
-
|
|
46
|
+
v.edit(s.value.uid, "path", m);
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
|
|
49
|
+
f.edit(
|
|
50
50
|
n.value.uid,
|
|
51
51
|
`parameters.${o.paramKey}.${e}.${a}`,
|
|
52
52
|
r
|
|
@@ -54,18 +54,18 @@ const N = {
|
|
|
54
54
|
}, k = (e) => {
|
|
55
55
|
var u;
|
|
56
56
|
if (!n.value) return;
|
|
57
|
-
const a = ((u = e.match(M)) == null ? void 0 : u.map((t) => t.slice(1, -1))) || [], r = n.value.parameters[o.paramKey], p = new Map(r.map((t) => [t.key, t])), l = a.map(
|
|
57
|
+
const a = ((u = e.match(M.PATH)) == null ? void 0 : u.map((t) => t.slice(1, -1))) || [], r = n.value.parameters[o.paramKey], p = new Map(r.map((t) => [t.key, t])), l = a.map(
|
|
58
58
|
(t) => p.get(t) || { key: t, value: "", enabled: !0 }
|
|
59
59
|
);
|
|
60
60
|
r.forEach((t) => {
|
|
61
61
|
!a.includes(t.key) && (t.value || t.required) && l.push(t);
|
|
62
|
-
}), r.splice(0, r.length, ...l),
|
|
62
|
+
}), r.splice(0, r.length, ...l), f.edit(
|
|
63
63
|
n.value.uid,
|
|
64
64
|
`parameters.${o.paramKey}`,
|
|
65
65
|
r
|
|
66
66
|
);
|
|
67
67
|
};
|
|
68
|
-
return
|
|
68
|
+
return K(
|
|
69
69
|
() => {
|
|
70
70
|
var e;
|
|
71
71
|
return (e = s.value) == null ? void 0 : e.path;
|
|
@@ -73,22 +73,22 @@ const N = {
|
|
|
73
73
|
(e) => {
|
|
74
74
|
e && k(e);
|
|
75
75
|
}
|
|
76
|
-
), (e, a) => (d(),
|
|
76
|
+
), (e, a) => (d(), h(w, {
|
|
77
77
|
itemCount: i.value.length
|
|
78
78
|
}, {
|
|
79
79
|
title: y(() => [
|
|
80
80
|
x(q(e.title), 1)
|
|
81
81
|
]),
|
|
82
82
|
default: y(() => [
|
|
83
|
-
i.value.length ? (d(),
|
|
83
|
+
i.value.length ? (d(), h(V, {
|
|
84
84
|
key: 0,
|
|
85
85
|
class: "flex-1",
|
|
86
86
|
isEnabledHidden: "",
|
|
87
87
|
items: i.value,
|
|
88
|
-
onUpdateRow:
|
|
88
|
+
onUpdateRow: g
|
|
89
89
|
}, null, 8, ["items"])) : (d(), C("div", N, a[0] || (a[0] = [
|
|
90
90
|
x(" You can use variables in your path: "),
|
|
91
|
-
|
|
91
|
+
P("code", { class: "bg-b-2 ml-1 px-1 rounded" }, "/endpoint/{my_path_variable}", -1)
|
|
92
92
|
])))
|
|
93
93
|
]),
|
|
94
94
|
_: 1
|
|
@@ -96,5 +96,5 @@ const N = {
|
|
|
96
96
|
}
|
|
97
97
|
});
|
|
98
98
|
export {
|
|
99
|
-
|
|
99
|
+
D as default
|
|
100
100
|
};
|
|
@@ -3,12 +3,14 @@ type __VLS_Props = {
|
|
|
3
3
|
isReadonly: boolean;
|
|
4
4
|
};
|
|
5
5
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
6
|
+
clearDrafts: () => any;
|
|
6
7
|
newTab: (args_0: {
|
|
7
8
|
name: string;
|
|
8
9
|
uid: string;
|
|
9
10
|
}) => any;
|
|
10
11
|
"update:showSidebar": (v: boolean) => any;
|
|
11
12
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
onClearDrafts?: (() => any) | undefined;
|
|
12
14
|
onNewTab?: ((args_0: {
|
|
13
15
|
name: string;
|
|
14
16
|
uid: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestSidebar.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/RequestSidebar.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RequestSidebar.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/RequestSidebar.vue"],"names":[],"mappings":"AAmaA,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,OAAO,CAAA;IACpB,UAAU,EAAE,OAAO,CAAA;CACpB,CAAC;;;;cAKqC,MAAM;aAAO,MAAM;;;;;;cAAnB,MAAM;aAAO,MAAM;;;;AAgoB1D,wBAOG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./RequestSidebar.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-3c33a096"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|