@scalar/api-client 2.1.45 → 2.1.46
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/AddressBar.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBar.vue.js +2 -2
- package/dist/components/AddressBar/AddressBar.vue2.js +66 -58
- package/dist/components/AddressBar/AddressBarHistory.vue.js +2 -2
- package/dist/components/AddressBar/AddressBarHistory.vue2.js +8 -8
- package/dist/components/AddressBar/AddressBarServer.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBarServer.vue.js +40 -39
- 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 +7 -7
- package/dist/components/ContextBar.vue.d.ts +1 -1
- package/dist/components/ContextBar.vue.d.ts.map +1 -1
- package/dist/components/ContextBar.vue.js +2 -2
- package/dist/components/ContextBar.vue2.js +30 -19
- package/dist/components/DataTable/DataTableCheckbox.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableCheckbox.vue.js +17 -17
- package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInput.vue.js +2 -2
- package/dist/components/DataTable/DataTableInput.vue2.js +10 -10
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts.map +1 -1
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +8 -8
- package/dist/components/Form/Form.vue.js +15 -15
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts +2 -2
- package/dist/components/ImportCollection/ImportNowButton.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/ImportNowButton.vue.js +14 -13
- package/dist/components/Search/useSearch.d.ts +2 -0
- package/dist/components/Search/useSearch.d.ts.map +1 -1
- package/dist/components/Search/useSearch.js +25 -24
- package/dist/components/SideNav/DownloadAppButton.vue.d.ts +3 -0
- package/dist/components/SideNav/DownloadAppButton.vue.d.ts.map +1 -0
- package/dist/components/SideNav/DownloadAppButton.vue.js +7 -0
- package/dist/components/SideNav/DownloadAppButton.vue2.js +33 -0
- package/dist/components/SideNav/SideHelp.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideHelp.vue.js +55 -53
- package/dist/components/SideNav/SideNav.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideNav.vue.js +82 -5
- package/dist/components/SideNav/SideNav.vue2.js +2 -72
- package/dist/components/SideNav/SideNavGroup.vue.d.ts +18 -0
- package/dist/components/SideNav/SideNavGroup.vue.d.ts.map +1 -0
- package/dist/components/SideNav/SideNavGroup.vue.js +16 -0
- package/dist/components/SideNav/SideNavGroup.vue2.js +4 -0
- package/dist/components/SideNav/SideNavLink.vue.d.ts +5 -5
- package/dist/components/SideNav/SideNavLink.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideNavLink.vue.js +31 -34
- package/dist/components/SideNav/SideNavRouterLink.vue.d.ts +25 -0
- package/dist/components/SideNav/SideNavRouterLink.vue.d.ts.map +1 -0
- package/dist/components/SideNav/SideNavRouterLink.vue.js +29 -0
- package/dist/components/SideNav/SideNavRouterLink.vue2.js +4 -0
- package/dist/components/Sidebar/SidebarButton.vue.d.ts +1 -4
- package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarButton.vue.js +17 -17
- package/dist/components/Sidebar/SidebarToggle.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarToggle.vue.js +16 -15
- package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
- package/dist/components/TopNav/TopNav.vue.js +2 -2
- package/dist/components/TopNav/TopNav.vue2.js +14 -14
- package/dist/components/TopNav/TopNavItem.vue.d.ts +2 -2
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +27 -27
- package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutSection.vue.js +13 -21
- package/dist/hooks/index.d.ts +2 -1
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +6 -4
- package/dist/hooks/useLayout.d.ts +13 -0
- package/dist/hooks/useLayout.d.ts.map +1 -0
- package/dist/hooks/useLayout.js +7 -0
- package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
- package/dist/layouts/App/ApiClientApp.vue.js +37 -37
- package/dist/layouts/App/MainLayout.vue.d.ts.map +1 -1
- package/dist/layouts/App/MainLayout.vue.js +21 -13
- package/dist/layouts/App/create-api-client-app.d.ts +28 -28
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/App/create-api-client-app.js +14 -13
- package/dist/layouts/Modal/ApiClientModal.vue.d.ts +3 -1
- package/dist/layouts/Modal/ApiClientModal.vue.d.ts.map +1 -1
- package/dist/layouts/Modal/ApiClientModal.vue.js +2 -2
- package/dist/layouts/Modal/ApiClientModal.vue2.js +37 -25
- package/dist/layouts/Modal/create-api-client-modal.d.ts +56 -56
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
- package/dist/layouts/Modal/create-api-client-modal.js +8 -7
- package/dist/layouts/Web/ApiClientWeb.vue.d.ts.map +1 -1
- package/dist/layouts/Web/ApiClientWeb.vue.js +30 -30
- package/dist/layouts/Web/create-api-client-web.d.ts +28 -28
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/layouts/Web/create-api-client-web.js +12 -11
- package/dist/libs/create-client.d.ts +35 -29
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/create-client.js +46 -45
- package/dist/libs/hot-keys.d.ts +1 -1
- package/dist/store/collections.d.ts +4 -4
- package/dist/store/cookies.d.ts +4 -4
- package/dist/store/request-example.d.ts +4 -4
- package/dist/store/requests.d.ts +4 -4
- package/dist/store/security-schemes.d.ts +4 -4
- package/dist/store/store.d.ts +56 -56
- package/dist/store/tags.d.ts +4 -4
- package/dist/store/workspace.d.ts +4 -4
- package/dist/style.css +1 -1
- package/dist/views/Cookies/CookieRaw.vue.js +10 -10
- package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
- package/dist/views/Cookies/Cookies.vue2.js +52 -53
- package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
- package/dist/views/Environment/Environment.vue2.js +79 -80
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +146 -108
- package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestParams.vue.js +53 -52
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue2.js +102 -97
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +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/RequestSection/RequestTable.vue2.js +44 -40
- 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 +152 -134
- package/dist/views/Request/RequestSidebarItem.vue.d.ts +2 -2
- package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
- package/dist/views/Request/RequestSidebarItem.vue2.js +103 -102
- package/dist/views/Request/RequestSubpageHeader.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSubpageHeader.vue.js +1 -1
- package/dist/views/Request/RequestSubpageHeader.vue2.js +36 -34
- package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.js +13 -10
- package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue2.js +0 -2
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +3 -3
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +32 -33
- package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.js +32 -25
- package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue.js +2 -2
- package/dist/views/Request/ResponseSection/ResponseSection.vue2.js +47 -46
- package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -1
- package/dist/views/Request/components/WorkspaceDropdown.vue.js +1 -1
- package/package.json +8 -6
- package/dist/components/ViewLayout/ViewLayoutSection.vue2.js +0 -4
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts +0 -7
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +0 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as ne, useCssVars as
|
|
2
|
-
import { PathId as
|
|
3
|
-
import { ScalarButton as
|
|
1
|
+
import { defineComponent as ne, useCssVars as se, computed as c, ref as re, resolveComponent as le, openBlock as p, createElementBlock as k, normalizeClass as f, unref as n, createVNode as h, withCtx as g, createBlock as v, withModifiers as M, createElementVNode as a, toDisplayString as T, createCommentVNode as b, createTextVNode as P, renderSlot as ae, Fragment as oe, renderList as ue } from "vue";
|
|
2
|
+
import { PathId as de } from "../../router.js";
|
|
3
|
+
import { ScalarButton as $, ScalarIcon as y, ScalarTooltip as pe } from "@scalar/components";
|
|
4
4
|
import { Draggable as fe } from "@scalar/draggable";
|
|
5
5
|
import { RouterLink as me } from "vue-router";
|
|
6
6
|
import ce from "../../components/HttpMethod/HttpMethod.vue.js";
|
|
7
7
|
import { useSidebar as ge } from "../../hooks/useSidebar.js";
|
|
8
8
|
import { getModifiers as ve } from "../../libs/hot-keys.js";
|
|
9
9
|
import { useWorkspace as be } from "../../store/store.js";
|
|
10
|
-
const he = { class: "flex flex-row gap-1 items-center" },
|
|
10
|
+
const he = { class: "flex flex-row gap-1 items-center" }, ye = { class: "relative" }, xe = { class: "flex items-start" }, we = ["aria-expanded"], ke = { class: "flex h-5 items-center justify-center max-w-[14px]" }, Ue = { class: "flex flex-1 flex-row justify-between editable-sidebar-hover" }, qe = { class: "relative flex h-fit" }, De = { class: "grid gap-1.5 pointer-events-none max-w-10 w-content shadow-lg rounded bg-b-1 z-100 p-2 text-xxs leading-5 z-10 text-c-1" }, Ce = { class: "flex items-center text-c-2" }, Re = { class: "text-pretty break-all" }, Me = { key: 2 }, j = "hover:bg-sidebar-active-b indent-padding-left", je = /* @__PURE__ */ ne({
|
|
11
11
|
__name: "RequestSidebarItem",
|
|
12
12
|
props: {
|
|
13
13
|
isDraggable: { type: Boolean, default: !1 },
|
|
@@ -17,32 +17,32 @@ const he = { class: "flex flex-row gap-1 items-center" }, xe = { class: "relativ
|
|
|
17
17
|
menuItem: {}
|
|
18
18
|
},
|
|
19
19
|
emits: ["onDragEnd", "newTab", "openMenu"],
|
|
20
|
-
setup(
|
|
21
|
-
|
|
22
|
-
"
|
|
23
|
-
|
|
20
|
+
setup(B, { emit: V }) {
|
|
21
|
+
se((e) => ({
|
|
22
|
+
"3fa247ad": K.value,
|
|
23
|
+
cfd41a1e: Q.value
|
|
24
24
|
}));
|
|
25
|
-
const
|
|
25
|
+
const s = B, W = V, {
|
|
26
26
|
activeCollection: A,
|
|
27
|
-
activeRequest:
|
|
27
|
+
activeRequest: I,
|
|
28
28
|
activeRouterParams: F,
|
|
29
|
-
activeWorkspace:
|
|
29
|
+
activeWorkspace: x,
|
|
30
30
|
collections: U,
|
|
31
31
|
tags: Y,
|
|
32
32
|
isReadOnly: m,
|
|
33
|
-
requests:
|
|
33
|
+
requests: E,
|
|
34
34
|
requestExamples: q,
|
|
35
35
|
collectionMutators: D,
|
|
36
|
-
tagMutators:
|
|
37
|
-
requestMutators:
|
|
38
|
-
requestExampleMutators:
|
|
36
|
+
tagMutators: S,
|
|
37
|
+
requestMutators: z,
|
|
38
|
+
requestExampleMutators: N,
|
|
39
39
|
router: H,
|
|
40
40
|
events: L
|
|
41
|
-
} = be(), { collapsedSidebarFolders:
|
|
42
|
-
var
|
|
43
|
-
const e = U[
|
|
41
|
+
} = be(), { collapsedSidebarFolders: C, toggleSidebarFolder: G } = ge(), i = c(() => {
|
|
42
|
+
var l, d;
|
|
43
|
+
const e = U[s.uid], t = Y[s.uid], r = E[s.uid], o = q[s.uid];
|
|
44
44
|
return e ? {
|
|
45
|
-
title: ((
|
|
45
|
+
title: ((l = e.info) == null ? void 0 : l.title) ?? "Unknown title",
|
|
46
46
|
entity: e,
|
|
47
47
|
resourceTitle: "Collection",
|
|
48
48
|
children: e.children,
|
|
@@ -50,65 +50,65 @@ const he = { class: "flex flex-row gap-1 items-center" }, xe = { class: "relativ
|
|
|
50
50
|
documentUrl: e.documentUrl,
|
|
51
51
|
watchMode: e.watchMode,
|
|
52
52
|
warning: "This cannot be undone. You’re about to delete the collection and all folders and requests inside it.",
|
|
53
|
-
edit: (
|
|
54
|
-
D.edit(e.uid, "info.title",
|
|
53
|
+
edit: (u, w) => {
|
|
54
|
+
D.edit(e.uid, "info.title", u), w && D.edit(e.uid, "x-scalar-icon", w);
|
|
55
55
|
},
|
|
56
|
-
delete: () => D.delete(e,
|
|
56
|
+
delete: () => D.delete(e, x.value)
|
|
57
57
|
} : t ? {
|
|
58
58
|
title: t.name,
|
|
59
59
|
entity: t,
|
|
60
60
|
resourceTitle: "Tag",
|
|
61
61
|
children: t.children,
|
|
62
62
|
warning: "This cannot be undone. You’re about to delete the tag and all requests inside it",
|
|
63
|
-
edit: (
|
|
64
|
-
delete: () =>
|
|
65
|
-
} :
|
|
66
|
-
title:
|
|
67
|
-
link: `/workspace/${
|
|
68
|
-
method:
|
|
69
|
-
entity:
|
|
63
|
+
edit: (u) => S.edit(t.uid, "name", u),
|
|
64
|
+
delete: () => S.delete(t, s.parentUids[0])
|
|
65
|
+
} : r ? {
|
|
66
|
+
title: r.summary ?? [r.method, r.path].join(" - "),
|
|
67
|
+
link: `/workspace/${x.value.uid}/request/${r.uid}`,
|
|
68
|
+
method: r.method,
|
|
69
|
+
entity: r,
|
|
70
70
|
resourceTitle: "Request",
|
|
71
71
|
warning: "This cannot be undone. You’re about to delete the request.",
|
|
72
|
-
children:
|
|
73
|
-
edit: (
|
|
74
|
-
delete: () =>
|
|
72
|
+
children: r.examples,
|
|
73
|
+
edit: (u) => z.edit(r.uid, "summary", u),
|
|
74
|
+
delete: () => z.delete(r, s.parentUids[0])
|
|
75
75
|
} : {
|
|
76
76
|
title: o.name,
|
|
77
|
-
link: `/workspace/${
|
|
78
|
-
method: (
|
|
77
|
+
link: `/workspace/${x.value.uid}/request/${o.requestUid}/examples/${o.uid}`,
|
|
78
|
+
method: (d = E[o.requestUid]) == null ? void 0 : d.method,
|
|
79
79
|
entity: o,
|
|
80
80
|
resourceTitle: "Example",
|
|
81
81
|
warning: "This cannot be undone. You’re about to delete the example from the request.",
|
|
82
82
|
children: [],
|
|
83
|
-
edit: (
|
|
84
|
-
delete: () =>
|
|
83
|
+
edit: (u) => N.edit(o.uid, "name", u),
|
|
84
|
+
delete: () => N.delete(o)
|
|
85
85
|
};
|
|
86
86
|
}), J = c(
|
|
87
87
|
() => i.value.entity.type === "collection" && i.value.title === "Drafts"
|
|
88
|
-
), K = c(() =>
|
|
88
|
+
), K = c(() => s.parentUids.length ? m.value ? `${(s.parentUids.length - 1) * 12}px` : `${s.parentUids.length * 12}px` : "12px"), Q = c(() => s.parentUids.length ? m.value ? `${(s.parentUids.length - 1) * 12}px` : `${s.parentUids.length * 12}px` : "0px"), X = c(
|
|
89
89
|
() => {
|
|
90
90
|
var e;
|
|
91
|
-
return
|
|
91
|
+
return C[s.uid] || ((e = I.value) == null ? void 0 : e.uid) === s.uid && i.value.entity.examples.length > 1;
|
|
92
92
|
}
|
|
93
93
|
), Z = c(
|
|
94
94
|
() => {
|
|
95
95
|
var e;
|
|
96
|
-
return F.value[
|
|
96
|
+
return F.value[de.Request] === "default" && ((e = I.value) == null ? void 0 : e.uid) === s.uid;
|
|
97
97
|
}
|
|
98
|
-
),
|
|
98
|
+
), R = re(null), O = c(() => {
|
|
99
99
|
let e = 0.5, t = 0.5;
|
|
100
|
-
if (!
|
|
101
|
-
const { draggingItem:
|
|
102
|
-
return !U[
|
|
103
|
-
}), _ = (e, t) => !(
|
|
104
|
-
e && (ve(["default"]).some((
|
|
100
|
+
if (!R.value) return { ceiling: e, floor: t };
|
|
101
|
+
const { draggingItem: r } = R.value;
|
|
102
|
+
return !U[r == null ? void 0 : r.id] && i.value.entity.type === "collection" ? (e = 1, t = 0) : i.value.entity.type === "tag" && (e = 0.8, t = 0.2), { ceiling: e, floor: t };
|
|
103
|
+
}), _ = (e, t) => !(x.value.isReadOnly || q[t.id] || U[e.id]), ee = (e, t) => {
|
|
104
|
+
e && (ve(["default"]).some((l) => e[l]) ? W("newTab", t.title || "", t.entity.uid) : t.link && H.push(t.link));
|
|
105
105
|
};
|
|
106
106
|
function te() {
|
|
107
107
|
L.commandPalette.emit({
|
|
108
108
|
commandName: "Create Request",
|
|
109
109
|
metaData: {
|
|
110
|
-
itemUid:
|
|
111
|
-
parentUid:
|
|
110
|
+
itemUid: s.uid,
|
|
111
|
+
parentUid: s.parentUids[0]
|
|
112
112
|
}
|
|
113
113
|
});
|
|
114
114
|
}
|
|
@@ -117,8 +117,8 @@ const he = { class: "flex flex-row gap-1 items-center" }, xe = { class: "relativ
|
|
|
117
117
|
return e !== i.value.entity.uid ? "text-c-3" : t === "WATCHING" ? "text-c-1" : t === "ERROR" ? "text-red" : "text-c-3";
|
|
118
118
|
});
|
|
119
119
|
return (e, t) => {
|
|
120
|
-
const
|
|
121
|
-
return p(), k("
|
|
120
|
+
const r = le("RequestSidebarItem", !0);
|
|
121
|
+
return p(), k("li", {
|
|
122
122
|
class: f(["relative flex flex-row", [
|
|
123
123
|
n(m) && e.parentUids.length > 1 || !n(m) && e.parentUids.length ? "before:bg-border before:pointer-events-none before:z-1 before:absolute before:left-[calc(.75rem_+_.5px)] before:top-0 before:h-[calc(100%_+_.5px)] last:before:h-full before:w-[.5px] mb-[.5px] last:mb-0 indent-border-line-offset" : ""
|
|
124
124
|
]])
|
|
@@ -126,7 +126,7 @@ const he = { class: "flex flex-row gap-1 items-center" }, xe = { class: "relativ
|
|
|
126
126
|
h(n(fe), {
|
|
127
127
|
id: i.value.entity.uid,
|
|
128
128
|
ref_key: "draggableRef",
|
|
129
|
-
ref:
|
|
129
|
+
ref: R,
|
|
130
130
|
ceiling: O.value.ceiling,
|
|
131
131
|
class: "flex flex-1 flex-col gap-[.5px] text-sm",
|
|
132
132
|
floor: O.value.floor,
|
|
@@ -140,39 +140,38 @@ const he = { class: "flex flex-row gap-1 items-center" }, xe = { class: "relativ
|
|
|
140
140
|
return [
|
|
141
141
|
i.value.link ? (p(), v(n(me), {
|
|
142
142
|
key: 0,
|
|
143
|
-
class: "no-underline",
|
|
143
|
+
class: "group no-underline",
|
|
144
144
|
to: i.value.link,
|
|
145
|
-
onClick: t[1] || (t[1] =
|
|
146
|
-
(
|
|
145
|
+
onClick: t[1] || (t[1] = M(
|
|
146
|
+
(l) => ee(l, i.value),
|
|
147
147
|
["prevent"]
|
|
148
148
|
))
|
|
149
149
|
}, {
|
|
150
|
-
default: g(({ isExactActive:
|
|
151
|
-
var
|
|
150
|
+
default: g(({ isExactActive: l }) => {
|
|
151
|
+
var d, u;
|
|
152
152
|
return [
|
|
153
153
|
a("div", {
|
|
154
|
-
class: f(["
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
]])
|
|
158
|
-
tabindex: "0"
|
|
154
|
+
class: f(["relative flex min-h-8 cursor-pointer flex-row items-start justify-between gap-2 py-1.5 pr-2 rounded editable-sidebar-hover w-full", [
|
|
155
|
+
j,
|
|
156
|
+
l || Z.value ? "bg-sidebar-active-b text-sidebar-active-c transition-none" : "text-sidebar-c-2"
|
|
157
|
+
]])
|
|
159
158
|
}, [
|
|
160
159
|
a("span", {
|
|
161
160
|
class: f(["line-clamp-3 font-medium w-full pl-2 word-break-break-word", {
|
|
162
161
|
"editable-sidebar-hover-item": !n(m)
|
|
163
162
|
}])
|
|
164
|
-
},
|
|
163
|
+
}, T(i.value.title), 3),
|
|
165
164
|
a("div", he, [
|
|
166
|
-
a("div",
|
|
167
|
-
n(m) ? b("", !0) : (p(), v(n(
|
|
165
|
+
a("div", ye, [
|
|
166
|
+
n(m) ? b("", !0) : (p(), v(n($), {
|
|
168
167
|
key: 0,
|
|
169
|
-
class: f(["px-0.5 py-0 hover:bg-b-3
|
|
170
|
-
flex: ((
|
|
168
|
+
class: f(["px-0.5 py-0 hover:bg-b-3 opacity-0 group-hover:opacity-100 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100 absolute -translate-y-1/2 right-0 aspect-square inset-y-2/4 h-fit", {
|
|
169
|
+
flex: ((u = (d = e.menuItem) == null ? void 0 : d.item) == null ? void 0 : u.entity.uid) === i.value.entity.uid && e.menuItem.open
|
|
171
170
|
}]),
|
|
172
171
|
size: "sm",
|
|
173
172
|
type: "button",
|
|
174
173
|
variant: "ghost",
|
|
175
|
-
onClick: t[0] || (t[0] =
|
|
174
|
+
onClick: t[0] || (t[0] = M(
|
|
176
175
|
(w) => e.$emit("openMenu", {
|
|
177
176
|
item: i.value,
|
|
178
177
|
parentUids: e.parentUids,
|
|
@@ -183,7 +182,7 @@ const he = { class: "flex flex-row gap-1 items-center" }, xe = { class: "relativ
|
|
|
183
182
|
))
|
|
184
183
|
}, {
|
|
185
184
|
default: g(() => [
|
|
186
|
-
h(n(
|
|
185
|
+
h(n(y), {
|
|
187
186
|
icon: "Ellipses",
|
|
188
187
|
size: "sm"
|
|
189
188
|
})
|
|
@@ -191,8 +190,9 @@ const he = { class: "flex flex-row gap-1 items-center" }, xe = { class: "relativ
|
|
|
191
190
|
_: 1
|
|
192
191
|
}, 8, ["class"]))
|
|
193
192
|
]),
|
|
194
|
-
a("span",
|
|
195
|
-
t[9] || (t[9] =
|
|
193
|
+
a("span", xe, [
|
|
194
|
+
t[9] || (t[9] = P(" ")),
|
|
195
|
+
t[10] || (t[10] = a("span", { class: "sr-only" }, "HTTP Method:", -1)),
|
|
196
196
|
i.value.method ? (p(), v(n(ce), {
|
|
197
197
|
key: 0,
|
|
198
198
|
class: "font-bold",
|
|
@@ -206,18 +206,19 @@ const he = { class: "flex flex-row gap-1 items-center" }, xe = { class: "relativ
|
|
|
206
206
|
_: 1
|
|
207
207
|
}, 8, ["to"])) : !n(m) || e.parentUids.length ? (p(), k("button", {
|
|
208
208
|
key: 1,
|
|
209
|
-
|
|
209
|
+
"aria-expanded": n(C)[i.value.entity.uid],
|
|
210
|
+
class: f(["hover:bg-b-2 group relative flex w-full flex-row justify-start gap-1.5 rounded p-1.5 focus-visible:z-10", j]),
|
|
210
211
|
type: "button",
|
|
211
|
-
onClick: t[3] || (t[3] = (
|
|
212
|
+
onClick: t[3] || (t[3] = (l) => n(G)(i.value.entity.uid))
|
|
212
213
|
}, [
|
|
213
|
-
a("span",
|
|
214
|
+
a("span", ke, [
|
|
214
215
|
ae(e.$slots, "leftIcon", {}, () => [
|
|
215
216
|
a("div", {
|
|
216
217
|
class: f({
|
|
217
|
-
"rotate-90": n(
|
|
218
|
+
"rotate-90": n(C)[i.value.entity.uid]
|
|
218
219
|
})
|
|
219
220
|
}, [
|
|
220
|
-
h(n(
|
|
221
|
+
h(n(y), {
|
|
221
222
|
class: "text-c-3 text-sm",
|
|
222
223
|
icon: "ChevronRight",
|
|
223
224
|
size: "sm",
|
|
@@ -225,35 +226,35 @@ const he = { class: "flex flex-row gap-1 items-center" }, xe = { class: "relativ
|
|
|
225
226
|
})
|
|
226
227
|
], 2)
|
|
227
228
|
], !0),
|
|
228
|
-
t[
|
|
229
|
+
t[11] || (t[11] = P(" "))
|
|
229
230
|
]),
|
|
230
|
-
a("div",
|
|
231
|
+
a("div", Ue, [
|
|
231
232
|
a("span", {
|
|
232
233
|
class: f(["line-clamp-3 font-medium text-left w-full word-break-break-word", {
|
|
233
234
|
"editable-sidebar-hover-item": !n(m)
|
|
234
235
|
}])
|
|
235
|
-
},
|
|
236
|
-
a("div",
|
|
237
|
-
!n(m) && !J.value ? (p(), v(n(
|
|
236
|
+
}, T(i.value.title), 3),
|
|
237
|
+
a("div", qe, [
|
|
238
|
+
!n(m) && !J.value ? (p(), v(n($), {
|
|
238
239
|
key: 0,
|
|
239
|
-
class: f(["px-0.5 py-0 hover:bg-b-3
|
|
240
|
+
class: f(["px-0.5 py-0 hover:bg-b-3 opacity-0 group-hover:opacity-100 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100 absolute -translate-y-1/2 right-0 aspect-square inset-y-2/4 h-fit", {
|
|
240
241
|
flex: ((o = e.menuItem.item) == null ? void 0 : o.entity.uid) === i.value.entity.uid && e.menuItem.open,
|
|
241
242
|
"right-5": i.value.watchMode
|
|
242
243
|
}]),
|
|
243
244
|
size: "sm",
|
|
244
245
|
variant: "ghost",
|
|
245
|
-
onClick: t[2] || (t[2] =
|
|
246
|
-
(
|
|
246
|
+
onClick: t[2] || (t[2] = M(
|
|
247
|
+
(l) => e.$emit("openMenu", {
|
|
247
248
|
item: i.value,
|
|
248
249
|
parentUids: e.parentUids,
|
|
249
|
-
targetRef:
|
|
250
|
+
targetRef: l.currentTarget.parentNode,
|
|
250
251
|
open: !0
|
|
251
252
|
}),
|
|
252
253
|
["stop", "prevent"]
|
|
253
254
|
))
|
|
254
255
|
}, {
|
|
255
256
|
default: g(() => [
|
|
256
|
-
h(n(
|
|
257
|
+
h(n(y), {
|
|
257
258
|
icon: "Ellipses",
|
|
258
259
|
size: "sm"
|
|
259
260
|
})
|
|
@@ -266,7 +267,7 @@ const he = { class: "flex flex-row gap-1 items-center" }, xe = { class: "relativ
|
|
|
266
267
|
sideOffset: 12
|
|
267
268
|
}, {
|
|
268
269
|
trigger: g(() => [
|
|
269
|
-
h(n(
|
|
270
|
+
h(n(y), {
|
|
270
271
|
class: f(["text-sm", ie.value]),
|
|
271
272
|
icon: "Watch",
|
|
272
273
|
size: "sm",
|
|
@@ -274,43 +275,43 @@ const he = { class: "flex flex-row gap-1 items-center" }, xe = { class: "relativ
|
|
|
274
275
|
}, null, 8, ["class"])
|
|
275
276
|
]),
|
|
276
277
|
content: g(() => [
|
|
277
|
-
a("div",
|
|
278
|
-
a("div",
|
|
279
|
-
a("p",
|
|
278
|
+
a("div", De, [
|
|
279
|
+
a("div", Ce, [
|
|
280
|
+
a("p", Re, " Watching: " + T(i.value.documentUrl), 1)
|
|
280
281
|
])
|
|
281
282
|
])
|
|
282
283
|
]),
|
|
283
284
|
_: 1
|
|
284
285
|
})) : b("", !0),
|
|
285
|
-
t[
|
|
286
|
+
t[12] || (t[12] = a("span", null, " ", -1))
|
|
286
287
|
])
|
|
287
288
|
])
|
|
288
|
-
])) : b("", !0),
|
|
289
|
-
X.value ? (p(), k("
|
|
290
|
-
(p(!0), k(oe, null,
|
|
291
|
-
key:
|
|
292
|
-
isDraggable: !n(q)[
|
|
289
|
+
], 8, we)) : b("", !0),
|
|
290
|
+
X.value ? (p(), k("ul", Me, [
|
|
291
|
+
(p(!0), k(oe, null, ue(i.value.children, (l) => (p(), v(r, {
|
|
292
|
+
key: l,
|
|
293
|
+
isDraggable: !n(q)[l],
|
|
293
294
|
isDroppable: _,
|
|
294
295
|
menuItem: e.menuItem,
|
|
295
296
|
parentUids: [...e.parentUids, e.uid],
|
|
296
|
-
uid:
|
|
297
|
-
onNewTab: t[4] || (t[4] = (
|
|
298
|
-
onOnDragEnd: t[5] || (t[5] = (...
|
|
299
|
-
onOpenMenu: t[6] || (t[6] = (
|
|
297
|
+
uid: l,
|
|
298
|
+
onNewTab: t[4] || (t[4] = (d, u) => e.$emit("newTab", d, u)),
|
|
299
|
+
onOnDragEnd: t[5] || (t[5] = (...d) => e.$emit("onDragEnd", ...d)),
|
|
300
|
+
onOpenMenu: t[6] || (t[6] = (d) => e.$emit("openMenu", d))
|
|
300
301
|
}, null, 8, ["isDraggable", "menuItem", "parentUids", "uid"]))), 128)),
|
|
301
|
-
i.value.children.length === 0 ? (p(), v(n(
|
|
302
|
+
i.value.children.length === 0 ? (p(), v(n($), {
|
|
302
303
|
key: 0,
|
|
303
304
|
class: f(["mb-[.5px] flex gap-1.5 h-8 text-c-1 py-0 justify-start text-xs w-full hover:bg-b-2", e.parentUids.length ? "pl-9" : ""]),
|
|
304
305
|
variant: "ghost",
|
|
305
|
-
onClick: t[7] || (t[7] = (
|
|
306
|
+
onClick: t[7] || (t[7] = (l) => te())
|
|
306
307
|
}, {
|
|
307
308
|
default: g(() => [
|
|
308
|
-
h(n(
|
|
309
|
+
h(n(y), {
|
|
309
310
|
class: "ml-0.5 h-2.5 w-2.5",
|
|
310
311
|
icon: "Add",
|
|
311
312
|
thickness: "3"
|
|
312
313
|
}),
|
|
313
|
-
t[
|
|
314
|
+
t[13] || (t[13] = a("span", null, "Add Request", -1))
|
|
314
315
|
]),
|
|
315
316
|
_: 1
|
|
316
317
|
}, 8, ["class"])) : b("", !0)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestSubpageHeader.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/RequestSubpageHeader.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RequestSubpageHeader.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/RequestSubpageHeader.vue"],"names":[],"mappings":"AAuGA,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,OAAO,CAAA;IACnB,UAAU,EAAE,OAAO,CAAA;CACpB,CAAC;;;;;;;;;;AA4OF,wBAQG"}
|
|
@@ -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-d570aee1"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
|
@@ -1,77 +1,79 @@
|
|
|
1
|
-
import { defineComponent as b, openBlock as l, createElementBlock as
|
|
1
|
+
import { defineComponent as b, openBlock as l, createElementBlock as d, createElementVNode as n, createVNode as s, createBlock as a, unref as t, createCommentVNode as i } from "vue";
|
|
2
2
|
import c from "../../components/AddressBar/AddressBar.vue.js";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
3
|
+
import y from "../../components/EnvironmentSelector/EnvironmentSelector.vue.js";
|
|
4
|
+
import k from "../../components/Sidebar/SidebarToggle.vue.js";
|
|
5
5
|
import { ScalarIcon as g } from "@scalar/components";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import { useWorkspace as
|
|
9
|
-
const
|
|
6
|
+
import C from "./components/WorkspaceDropdown.vue.js";
|
|
7
|
+
import v from "../../components/OpenApiClientButton.vue.js";
|
|
8
|
+
import { useWorkspace as w } from "../../store/store.js";
|
|
9
|
+
const V = { class: "lg:min-h-header flex items-center w-full justify-center p-2 pt-2 lg:pt-1 lg:p-1 flex-wrap t-app__top-container border-b-1/2" }, x = { class: "flex flex-row items-center gap-1 lg:px-1 lg:mb-0 lg:mb-0 mb-2 lg:flex-1 w-6/12" }, $ = { class: "flex flex-row items-center gap-1 lg:px-2.5 lg:mb-0 mb-2 lg:flex-1 justify-end w-6/12" }, A = /* @__PURE__ */ b({
|
|
10
10
|
__name: "RequestSubpageHeader",
|
|
11
11
|
props: {
|
|
12
12
|
modelValue: { type: Boolean },
|
|
13
13
|
isReadonly: { type: Boolean }
|
|
14
14
|
},
|
|
15
15
|
emits: ["update:modelValue", "hideModal", "importCurl"],
|
|
16
|
-
setup(
|
|
17
|
-
const { activeCollection: m } =
|
|
18
|
-
return (
|
|
16
|
+
setup(h) {
|
|
17
|
+
const { activeCollection: m } = w();
|
|
18
|
+
return (o, e) => {
|
|
19
19
|
var p, u, f;
|
|
20
|
-
return l(),
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
return l(), d("div", V, [
|
|
21
|
+
n("div", x, [
|
|
22
|
+
s(k, {
|
|
23
23
|
class: "gitbook-hidden",
|
|
24
|
-
modelValue:
|
|
25
|
-
"onUpdate:modelValue":
|
|
24
|
+
modelValue: o.modelValue,
|
|
25
|
+
"onUpdate:modelValue": e[0] || (e[0] = (r) => o.$emit("update:modelValue", r))
|
|
26
26
|
}, null, 8, ["modelValue"]),
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
o.isReadonly ? i("", !0) : (l(), a(t(C), { key: 0 })),
|
|
28
|
+
e[4] || (e[4] = n("a", {
|
|
29
29
|
class: "text-c-2 text-sm font-medium gitbook-show ml-.5 hover:text-c-1 border p-1 rounded hover:bg-b-3",
|
|
30
30
|
href: "https://scalar.com/",
|
|
31
31
|
target: "_blank"
|
|
32
32
|
}, " Powered by Scalar.com ", -1))
|
|
33
33
|
]),
|
|
34
|
-
|
|
35
|
-
onImportCurl:
|
|
34
|
+
s(c, {
|
|
35
|
+
onImportCurl: e[1] || (e[1] = (r) => o.$emit("importCurl", r))
|
|
36
36
|
}),
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
n("div", $, [
|
|
38
|
+
o.isReadonly ? i("", !0) : (l(), a(y, { key: 0 })),
|
|
39
|
+
o.isReadonly && ((p = t(m)) != null && p.documentUrl) ? (l(), a(t(v), {
|
|
40
40
|
key: 1,
|
|
41
41
|
buttonSource: "modal",
|
|
42
42
|
class: "gitbook-hidden !w-fit lg:-mr-1",
|
|
43
43
|
integration: (u = t(m)) == null ? void 0 : u.integration,
|
|
44
44
|
url: (f = t(m)) == null ? void 0 : f.documentUrl
|
|
45
|
-
}, null, 8, ["integration", "url"])) :
|
|
46
|
-
|
|
45
|
+
}, null, 8, ["integration", "url"])) : i("", !0),
|
|
46
|
+
o.isReadonly ? (l(), d("button", {
|
|
47
47
|
key: 2,
|
|
48
48
|
class: "app-exit-button p-2 rounded-full fixed right-2 top-2 gitbook-hidden",
|
|
49
49
|
type: "button",
|
|
50
|
-
onClick:
|
|
50
|
+
onClick: e[2] || (e[2] = (r) => o.$emit("hideModal"))
|
|
51
51
|
}, [
|
|
52
|
-
|
|
52
|
+
s(t(g), {
|
|
53
53
|
icon: "Close",
|
|
54
54
|
size: "lg",
|
|
55
55
|
thickness: "2"
|
|
56
|
-
})
|
|
57
|
-
|
|
58
|
-
|
|
56
|
+
}),
|
|
57
|
+
e[5] || (e[5] = n("span", { class: "sr-only" }, "Close Client", -1))
|
|
58
|
+
])) : i("", !0),
|
|
59
|
+
o.isReadonly ? (l(), d("button", {
|
|
59
60
|
key: 3,
|
|
60
61
|
class: "text-c-1 hover:bg-b-2 active:text-c-1 p-2 rounded -mr-1.5 gitbook-show",
|
|
61
62
|
type: "button",
|
|
62
|
-
onClick:
|
|
63
|
+
onClick: e[3] || (e[3] = (r) => o.$emit("hideModal"))
|
|
63
64
|
}, [
|
|
64
|
-
|
|
65
|
+
s(t(g), {
|
|
65
66
|
icon: "Close",
|
|
66
67
|
size: "md",
|
|
67
68
|
thickness: "1.75"
|
|
68
|
-
})
|
|
69
|
-
|
|
69
|
+
}),
|
|
70
|
+
e[6] || (e[6] = n("span", { class: "sr-only" }, "Close Client", -1))
|
|
71
|
+
])) : i("", !0)
|
|
70
72
|
])
|
|
71
73
|
]);
|
|
72
74
|
};
|
|
73
75
|
}
|
|
74
76
|
});
|
|
75
77
|
export {
|
|
76
|
-
|
|
78
|
+
A as default
|
|
77
79
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResponseBodyDownload.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/ResponseSection/ResponseBodyDownload.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ResponseBodyDownload.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/ResponseSection/ResponseBodyDownload.vue"],"names":[],"mappings":"AAuCA,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAC;;AAgFF,wBAOG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as l, computed as p, openBlock as a, createElementBlock as i, withModifiers as d, createVNode as m, unref as f, createElementVNode as s } from "vue";
|
|
2
2
|
import { ScalarIcon as c } from "@scalar/components";
|
|
3
3
|
import { mediaTypes as u } from "../consts/mediaTypes.js";
|
|
4
|
-
const x = ["download", "href"], k = /* @__PURE__ */
|
|
4
|
+
const x = ["download", "href"], k = /* @__PURE__ */ l({
|
|
5
5
|
__name: "ResponseBodyDownload",
|
|
6
6
|
props: {
|
|
7
7
|
href: {},
|
|
@@ -9,23 +9,26 @@ const x = ["download", "href"], k = /* @__PURE__ */ s({
|
|
|
9
9
|
filename: {}
|
|
10
10
|
},
|
|
11
11
|
setup(t) {
|
|
12
|
-
const
|
|
12
|
+
const n = t, r = p(() => {
|
|
13
13
|
var e;
|
|
14
|
-
const
|
|
15
|
-
return
|
|
14
|
+
const o = ((e = u[n.type ?? ""]) == null ? void 0 : e.extension) ?? ".unknown";
|
|
15
|
+
return n.filename ? n.filename : `response${o}`;
|
|
16
16
|
});
|
|
17
|
-
return (
|
|
17
|
+
return (o, e) => (a(), i("a", {
|
|
18
18
|
class: "flex gap-1 text-c-3 text-xxs no-underline items-center hover:bg-b-3 rounded py-0.5 px-1.5",
|
|
19
19
|
download: `${r.value}`,
|
|
20
|
-
href:
|
|
21
|
-
onClick: e[0] || (e[0] =
|
|
20
|
+
href: o.href,
|
|
21
|
+
onClick: e[0] || (e[0] = d(() => {
|
|
22
22
|
}, ["stop"]))
|
|
23
23
|
}, [
|
|
24
|
-
|
|
24
|
+
m(f(c), {
|
|
25
25
|
icon: "Download",
|
|
26
26
|
size: "xs"
|
|
27
27
|
}),
|
|
28
|
-
e[1] || (e[1] =
|
|
28
|
+
e[1] || (e[1] = s("span", null, [
|
|
29
|
+
s("span", null, "Download"),
|
|
30
|
+
s("span", { class: "sr-only" }, "Response Body")
|
|
31
|
+
], -1))
|
|
29
32
|
], 8, x));
|
|
30
33
|
}
|
|
31
34
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResponseBodyPreview.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/ResponseSection/ResponseBodyPreview.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ResponseBodyPreview.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/ResponseSection/ResponseBodyPreview.vue"],"names":[],"mappings":"AAqEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAO1D,KAAK,WAAW,GAAG;IACjB,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB,CAAC;;AA8HF,wBAMG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ResponseBodyPreview.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-
|
|
4
|
+
const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-ce1255fa"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -26,7 +26,6 @@ const k = ["src"], w = ["src", "type"], B = ["src", "type"], E = ["data", "type"
|
|
|
26
26
|
key: 1,
|
|
27
27
|
autoplay: "",
|
|
28
28
|
controls: "",
|
|
29
|
-
loop: "",
|
|
30
29
|
width: "100%",
|
|
31
30
|
onError: o[1] || (o[1] = (l) => r.value = !0)
|
|
32
31
|
}, [
|
|
@@ -38,7 +37,6 @@ const k = ["src"], w = ["src", "type"], B = ["src", "type"], E = ["data", "type"
|
|
|
38
37
|
key: 2,
|
|
39
38
|
class: "my-12",
|
|
40
39
|
controls: "",
|
|
41
|
-
loop: "",
|
|
42
40
|
onError: o[2] || (o[2] = (l) => r.value = !0)
|
|
43
41
|
}, [
|
|
44
42
|
a("source", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResponseEmpty.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/ResponseSection/ResponseEmpty.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"ResponseEmpty.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/ResponseSection/ResponseEmpty.vue"],"names":[],"mappings":";AA6PA,wBAMG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ResponseEmpty.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-319a1f9c"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
s as default
|
|
7
7
|
};
|