@scalar/api-client 2.1.17 → 2.1.19
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 +43 -0
- package/dist/components/AddressBar/AddressBar.vue.d.ts +5 -1
- 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 +78 -75
- 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 +6 -6
- package/dist/components/CodeInput/CodeInput.vue.d.ts +6 -2
- package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
- package/dist/components/CodeInput/CodeInput.vue.js +2 -2
- package/dist/components/CodeInput/CodeInput.vue2.js +57 -49
- package/dist/components/CommandPalette/CommandActionForm.vue.d.ts +3 -0
- package/dist/components/CommandPalette/CommandActionForm.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandActionForm.vue.js +13 -11
- package/dist/components/CommandPalette/CommandActionInput.vue.d.ts +0 -2
- package/dist/components/CommandPalette/CommandActionInput.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandActionInput.vue.js +36 -38
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts +1 -1
- package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts +1 -1
- package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts +1 -1
- package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteImport.vue.js +100 -80
- package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts +1 -1
- package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts +1 -1
- package/dist/components/CommandPalette/CommandPaletteTag.vue.d.ts +1 -1
- package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts +1 -1
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +7 -7
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/TheCommandPalette.vue.js +4 -4
- package/dist/components/CommandPalette/TheCommandPalette.vue2.js +42 -42
- package/dist/components/ContextBar.vue.d.ts.map +1 -1
- package/dist/components/ContextBar.vue.js +2 -2
- package/dist/components/DataTable/DataTableCheckbox.vue.d.ts +19 -3
- package/dist/components/DataTable/DataTableCheckbox.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableCheckbox.vue.js +27 -14
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts.map +1 -1
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +8 -8
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts +2 -2
- package/dist/components/ImportCurl/ImportCurlModal.vue.d.ts +39 -0
- package/dist/components/ImportCurl/ImportCurlModal.vue.d.ts.map +1 -0
- package/dist/components/ImportCurl/ImportCurlModal.vue.js +7 -0
- package/dist/components/ImportCurl/ImportCurlModal.vue2.js +88 -0
- package/dist/components/SideNav/SideHelp.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideNav.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideNav.vue.js +1 -1
- package/dist/components/SideNav/SideNav.vue2.js +37 -26
- package/dist/components/SideNav/SideNavLink.vue.d.ts +2 -2
- package/dist/components/SideNav/SideNavLink.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideNavLink.vue.js +10 -11
- package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts +1 -1
- package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Sidebar.vue.js +1 -1
- package/dist/components/Sidebar/Sidebar.vue2.js +1 -1
- package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarButton.vue.js +1 -1
- package/dist/components/Sidebar/SidebarListElement.vue.d.ts +24 -3
- package/dist/components/Sidebar/SidebarListElement.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarListElement.vue.js +2 -2
- package/dist/components/Sidebar/SidebarListElement.vue2.js +26 -22
- package/dist/components/Sidebar/SidebarListElementActions.vue.d.ts +4 -0
- package/dist/components/Sidebar/SidebarListElementActions.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarListElementActions.vue.js +35 -32
- package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
- package/dist/components/TopNav/TopNav.vue.js +1 -1
- package/dist/components/TopNav/TopNav.vue2.js +1 -1
- 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 +1 -1
- package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutSection.vue.js +11 -11
- package/dist/constants.d.ts +4 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +2 -1
- package/dist/hooks/useDarkModeState.d.ts +4 -3
- package/dist/hooks/useDarkModeState.d.ts.map +1 -1
- package/dist/hooks/useDarkModeState.js +36 -21
- package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
- package/dist/layouts/App/ApiClientApp.vue.js +34 -41
- package/dist/layouts/App/create-api-client-app.d.ts +35 -32
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -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 +6 -6
- package/dist/layouts/Modal/create-api-client-modal.d.ts +70 -64
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
- package/dist/layouts/Web/ApiClientWeb.vue.d.ts.map +1 -1
- package/dist/layouts/Web/ApiClientWeb.vue.js +35 -42
- package/dist/layouts/Web/create-api-client-web.d.ts +35 -32
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/libs/create-client.d.ts +35 -32
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/event-busses/hot-keys-bus.d.ts +1 -1
- package/dist/libs/extractAttachmentFilename.d.ts +2 -0
- package/dist/libs/extractAttachmentFilename.d.ts.map +1 -0
- package/dist/libs/extractAttachmentFilename.js +20 -0
- package/dist/libs/getOpenApiDocumentDetails.d.ts +10 -0
- package/dist/libs/getOpenApiDocumentDetails.d.ts.map +1 -0
- package/dist/libs/getOpenApiDocumentDetails.js +40 -0
- package/dist/libs/importers/curl.d.ts +3 -0
- package/dist/libs/importers/curl.d.ts.map +1 -0
- package/dist/libs/importers/curl.js +61 -0
- package/dist/libs/importers/index.d.ts +2 -0
- package/dist/libs/importers/index.d.ts.map +1 -0
- package/dist/libs/importers/index.js +4 -0
- package/dist/libs/index.d.ts +2 -2
- package/dist/libs/index.d.ts.map +1 -1
- package/dist/libs/index.js +22 -22
- package/dist/libs/isUrl.d.ts +1 -1
- package/dist/libs/isUrl.d.ts.map +1 -1
- package/dist/libs/isUrl.js +4 -3
- package/dist/libs/parse-curl.d.ts +12 -0
- package/dist/libs/parse-curl.d.ts.map +1 -0
- package/dist/libs/parse-curl.js +70 -0
- package/dist/router.d.ts +2 -1
- package/dist/router.d.ts.map +1 -1
- package/dist/router.js +33 -24
- package/dist/store/collections.d.ts +4 -4
- package/dist/store/cookies.d.ts +4 -4
- package/dist/store/environment.d.ts +4 -4
- package/dist/store/import-spec.d.ts.map +1 -1
- package/dist/store/import-spec.js +21 -26
- package/dist/store/request-example.d.ts +4 -4
- package/dist/store/requests.d.ts +4 -4
- package/dist/store/router-params.d.ts +1 -0
- package/dist/store/router-params.d.ts.map +1 -1
- package/dist/store/router-params.js +2 -1
- package/dist/store/servers.d.ts +4 -4
- package/dist/store/store.d.ts +70 -64
- package/dist/store/store.d.ts.map +1 -1
- package/dist/store/store.js +126 -119
- 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/Cookies.vue.d.ts.map +1 -1
- package/dist/views/Cookies/Cookies.vue2.js +18 -18
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +1 -1
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +9 -9
- package/dist/views/Request/Request.vue.d.ts.map +1 -1
- package/dist/views/Request/Request.vue.js +1 -1
- package/dist/views/Request/Request.vue2.js +146 -96
- 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 +1 -1
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.js +4 -4
- package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebar.vue.js +3 -3
- package/dist/views/Request/RequestSidebar.vue2.js +2 -2
- 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 +49 -49
- package/dist/views/Request/RequestSubpageHeader.vue.d.ts +2 -0
- package/dist/views/Request/RequestSubpageHeader.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSubpageHeader.vue.js +4 -4
- package/dist/views/Request/RequestSubpageHeader.vue2.js +17 -15
- package/dist/views/Request/ResponseSection/ResponseBody.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBody.vue.js +63 -55
- package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.d.ts +2 -0
- package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.js +14 -14
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue2.js +1 -1
- package/dist/views/Settings/Settings.vue.d.ts +4 -0
- package/dist/views/Settings/Settings.vue.d.ts.map +1 -0
- package/dist/views/Settings/Settings.vue.js +4 -0
- package/dist/views/Settings/Settings.vue2.js +59 -0
- package/dist/{components/DarkModeToggle/DarkModeIconToggle.vue.d.ts → views/Settings/SettingsGeneral.vue.d.ts} +1 -1
- package/dist/views/Settings/SettingsGeneral.vue.d.ts.map +1 -0
- package/dist/views/Settings/SettingsGeneral.vue.js +124 -0
- package/dist/views/Settings/SettingsGeneral.vue2.js +4 -0
- package/dist/views/Settings/SettingsGeneralMode.vue.d.ts +3 -0
- package/dist/views/Settings/SettingsGeneralMode.vue.d.ts.map +1 -0
- package/dist/views/Settings/SettingsGeneralMode.vue.js +78 -0
- package/dist/views/Settings/SettingsGeneralMode.vue2.js +4 -0
- package/package.json +60 -36
- package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.d.ts.map +0 -1
- package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.js +0 -31
- package/dist/components/DarkModeToggle/DarkModeIconToggle.vue2.js +0 -4
- package/dist/components/DarkModeToggle/index.d.ts +0 -2
- package/dist/components/DarkModeToggle/index.d.ts.map +0 -1
- package/dist/components/DarkModeToggle/index.js +0 -4
- package/dist/components/ScreenReader.vue.js +0 -7
- package/dist/components/ScreenReader.vue2.js +0 -18
- package/dist/libs/getOpenApiDocumentVersion.d.ts +0 -8
- package/dist/libs/getOpenApiDocumentVersion.d.ts.map +0 -1
- package/dist/libs/getOpenApiDocumentVersion.js +0 -20
- package/dist/libs/isDocument.d.ts +0 -3
- package/dist/libs/isDocument.d.ts.map +0 -1
- package/dist/libs/isDocument.js +0 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Cookies.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Cookies/Cookies.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Cookies.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Cookies/Cookies.vue"],"names":[],"mappings":";AAsgBA,wBAKG"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { defineComponent as V, computed as D, onMounted as M, openBlock as l, createBlock as y, withCtx as a, createVNode as s, unref as n, createElementVNode as m, createElementBlock as f, Fragment as _, renderList as x, normalizeClass as w, createTextVNode as v, toDisplayString as S, withDirectives as O, vShow as $ } from "vue";
|
|
2
|
+
import N from "../../components/Sidebar/SidebarButton.vue.js";
|
|
3
|
+
import z from "../../components/Sidebar/SidebarList.vue.js";
|
|
4
4
|
import B from "../../components/Sidebar/SidebarListElement.vue.js";
|
|
5
5
|
import F from "../../components/ViewLayout/ViewLayout.vue.js";
|
|
6
6
|
import I from "../../components/ViewLayout/ViewLayoutContent.vue.js";
|
|
@@ -12,7 +12,7 @@ import P from "./CookieRaw.vue.js";
|
|
|
12
12
|
import { useSidebar as T } from "../../hooks/useSidebar.js";
|
|
13
13
|
import { useWorkspace as W } from "../../store/store.js";
|
|
14
14
|
import q from "../../components/Sidebar/Sidebar.vue.js";
|
|
15
|
-
const G = { class: "flex-1" }, J = ["onClick"], K = { class: "before:bg-b-3 before:absolute before:left-[calc(1rem_-_1.5px)] before:top-0 before:
|
|
15
|
+
const G = { class: "flex-1" }, J = ["onClick"], K = { class: "before:bg-b-3 before:absolute before:left-[calc(1rem_-_1.5px)] before:top-0 before:h-[calc(100%_+_.5px)] last:before:h-full before:w-[.5px] mb-[.5px] last:mb-0 relative" }, Q = ["onClick"], U = { class: "before:bg-b-3 before:absolute before:left-[calc(1.75rem_-_1.5px)] before:top-0 before:h-[calc(100%_+_.5px)] last:before:h-full before:w-[.5px] mb-[.5px] last:mb-0 relative" }, de = /* @__PURE__ */ V({
|
|
16
16
|
__name: "Cookies",
|
|
17
17
|
setup(X) {
|
|
18
18
|
const { cookies: p, cookieMutators: g } = W(), { collapsedSidebarFolders: i, toggleSidebarFolder: k } = T(), b = A(), E = () => {
|
|
@@ -26,7 +26,7 @@ const G = { class: "flex-1" }, J = ["onClick"], K = { class: "before:bg-b-3 befo
|
|
|
26
26
|
sameSite: "None"
|
|
27
27
|
});
|
|
28
28
|
g.add(e), b.push(e.uid);
|
|
29
|
-
},
|
|
29
|
+
}, L = (t) => {
|
|
30
30
|
g.delete(t);
|
|
31
31
|
const e = Object.values(p).filter(
|
|
32
32
|
(o) => o.uid !== t
|
|
@@ -35,13 +35,13 @@ const G = { class: "flex-1" }, J = ["onClick"], K = { class: "before:bg-b-3 befo
|
|
|
35
35
|
const o = e[e.length - 1];
|
|
36
36
|
b.push(o.uid);
|
|
37
37
|
} else e.length === 1 && e[0].uid === "default" && b.push("default");
|
|
38
|
-
}, h =
|
|
38
|
+
}, h = D(() => {
|
|
39
39
|
const t = {};
|
|
40
40
|
return Object.values(p).forEach((e) => {
|
|
41
41
|
e.domain && e.path && (t[e.domain] || (t[e.domain] = {}), t[e.domain][e.path] || (t[e.domain][e.path] = []), t[e.domain][e.path].push(e));
|
|
42
42
|
}), t;
|
|
43
43
|
}), C = (t) => i[t];
|
|
44
|
-
return
|
|
44
|
+
return M(() => {
|
|
45
45
|
const t = Object.keys(h.value), e = Object.entries(h.value).flatMap(
|
|
46
46
|
([o, r]) => Object.keys(r).map((d) => o + d)
|
|
47
47
|
);
|
|
@@ -54,11 +54,11 @@ const G = { class: "flex-1" }, J = ["onClick"], K = { class: "before:bg-b-3 befo
|
|
|
54
54
|
default: a(() => [
|
|
55
55
|
s(n(q), { title: "Cookies" }, {
|
|
56
56
|
content: a(() => [
|
|
57
|
-
|
|
58
|
-
s(
|
|
57
|
+
m("div", G, [
|
|
58
|
+
s(z, null, {
|
|
59
59
|
default: a(() => [
|
|
60
|
-
(l(!0),
|
|
61
|
-
|
|
60
|
+
(l(!0), f(_, null, x(h.value, (o, r) => (l(), f("div", { key: r }, [
|
|
61
|
+
m("button", {
|
|
62
62
|
class: "flex font-medium gap-1.5 items-center px-2 py-1.5 text-left text-sm w-full break-words rounded hover:bg-b-2",
|
|
63
63
|
type: "button",
|
|
64
64
|
onClick: (d) => n(k)(r)
|
|
@@ -73,9 +73,9 @@ const G = { class: "flex-1" }, J = ["onClick"], K = { class: "before:bg-b-3 befo
|
|
|
73
73
|
}, null, 8, ["class"]),
|
|
74
74
|
v(" " + S(r), 1)
|
|
75
75
|
], 8, J),
|
|
76
|
-
O(
|
|
77
|
-
(l(!0),
|
|
78
|
-
|
|
76
|
+
O(m("div", K, [
|
|
77
|
+
(l(!0), f(_, null, x(o, (d, c) => (l(), f("div", { key: c }, [
|
|
78
|
+
m("button", {
|
|
79
79
|
class: "flex font-medium gap-1.5 items-center pl-5 pr-2 py-1.5 text-left text-sm w-full break-words rounded hover:bg-b-2",
|
|
80
80
|
type: "button",
|
|
81
81
|
onClick: (u) => n(k)(r + c)
|
|
@@ -90,13 +90,13 @@ const G = { class: "flex-1" }, J = ["onClick"], K = { class: "before:bg-b-3 befo
|
|
|
90
90
|
}, null, 8, ["class"]),
|
|
91
91
|
v(" " + S(c), 1)
|
|
92
92
|
], 8, Q),
|
|
93
|
-
O(
|
|
94
|
-
(l(!0),
|
|
93
|
+
O(m("div", U, [
|
|
94
|
+
(l(!0), f(_, null, x(d, (u) => (l(), y(B, {
|
|
95
95
|
key: u.uid,
|
|
96
96
|
class: "cookie text-xs",
|
|
97
97
|
variable: { name: u.name, uid: u.uid },
|
|
98
98
|
warningMessage: "Are you sure you want to delete this cookie?",
|
|
99
|
-
onDelete: (Y) =>
|
|
99
|
+
onDelete: (Y) => L(u.uid)
|
|
100
100
|
}, null, 8, ["variable", "onDelete"]))), 128))
|
|
101
101
|
], 512), [
|
|
102
102
|
[$, C(r + c)]
|
|
@@ -112,7 +112,7 @@ const G = { class: "flex-1" }, J = ["onClick"], K = { class: "before:bg-b-3 befo
|
|
|
112
112
|
])
|
|
113
113
|
]),
|
|
114
114
|
button: a(() => [
|
|
115
|
-
s(
|
|
115
|
+
s(N, { click: E }, {
|
|
116
116
|
title: a(() => [
|
|
117
117
|
v("Add Item")
|
|
118
118
|
]),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EnvironmentVariableDropdown.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Environment/EnvironmentVariableDropdown.vue"],"names":[],"mappings":"AA0HA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAK7C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAA;;WAK/B,MAAM;wBACO,cAAc,CAAC,oBAAoB,CAAC;YAChD,MAAM;uBAEK;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE;;;;WAJzC,MAAM;wBACO,cAAc,CAAC,oBAAoB,CAAC;YAChD,MAAM;uBAEK;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE;;;;
|
|
1
|
+
{"version":3,"file":"EnvironmentVariableDropdown.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Environment/EnvironmentVariableDropdown.vue"],"names":[],"mappings":"AA0HA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAK7C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAA;;WAK/B,MAAM;wBACO,cAAc,CAAC,oBAAoB,CAAC;YAChD,MAAM;uBAEK;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE;;;;WAJzC,MAAM;wBACO,cAAc,CAAC,oBAAoB,CAAC;YAChD,MAAM;uBAEK;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE;;;;AAgPlD,wBAOG;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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as B, ref as f, computed as O, openBlock as o, createBlock as m, unref as i, normalizeStyle as
|
|
2
|
-
import { ScalarDropdown as
|
|
1
|
+
import { defineComponent as B, ref as f, computed as O, openBlock as o, createBlock as m, unref as i, normalizeStyle as D, withCtx as v, createElementBlock as c, Fragment as N, renderList as P, createElementVNode as u, normalizeClass as R, createTextVNode as w, toDisplayString as h, createVNode as $ } from "vue";
|
|
2
|
+
import { ScalarDropdown as j, ScalarButton as q, ScalarIcon as z } from "@scalar/components";
|
|
3
3
|
import { onClickOutside as A } from "@vueuse/core";
|
|
4
4
|
import F from "fuse.js";
|
|
5
5
|
import { parseEnvVariables as k } from "../../libs/environment-parser.js";
|
|
@@ -38,13 +38,13 @@ const I = { key: 0 }, T = ["onClick"], L = { class: "flex items-center gap-1.5 w
|
|
|
38
38
|
{ ignore: [a] }
|
|
39
39
|
), (e, l) => {
|
|
40
40
|
var r, d;
|
|
41
|
-
return o(), m(i(
|
|
41
|
+
return o(), m(i(j), {
|
|
42
42
|
ref_key: "dropdownRef",
|
|
43
43
|
ref: a,
|
|
44
|
-
class: "mt-2
|
|
44
|
+
class: "mt-2 min-w-60 rounded border bg-b-1 p-1 w-fit",
|
|
45
45
|
static: "",
|
|
46
46
|
staticOpen: s.value,
|
|
47
|
-
style:
|
|
47
|
+
style: D({
|
|
48
48
|
left: ((r = e.dropdownPosition) == null ? void 0 : r.left) + "px",
|
|
49
49
|
top: ((d = e.dropdownPosition) == null ? void 0 : d.top) + "px"
|
|
50
50
|
}),
|
|
@@ -52,27 +52,27 @@ const I = { key: 0 }, T = ["onClick"], L = { class: "flex items-center gap-1.5 w
|
|
|
52
52
|
}, {
|
|
53
53
|
items: v(() => [
|
|
54
54
|
p.value.length ? (o(), c("ul", I, [
|
|
55
|
-
(o(!0), c(
|
|
55
|
+
(o(!0), c(N, null, P(p.value, (n) => (o(), c("li", {
|
|
56
56
|
key: n.key,
|
|
57
57
|
class: "h-8 font-code text-xxs hover:bg-b-2 flex cursor-pointer items-center justify-between gap-1.5 rounded p-1.5 transition-colors duration-150",
|
|
58
58
|
onClick: (G) => C(n.key)
|
|
59
59
|
}, [
|
|
60
60
|
u("div", L, [
|
|
61
61
|
u("span", {
|
|
62
|
-
class:
|
|
62
|
+
class: R(["h-2.5 w-2.5 min-w-2.5 rounded-full", S()])
|
|
63
63
|
}, null, 2),
|
|
64
64
|
w(" " + h(n.key), 1)
|
|
65
65
|
]),
|
|
66
66
|
u("span", Q, h(n.value), 1)
|
|
67
67
|
], 8, T))), 128))
|
|
68
|
-
])) : (o(), m(i(
|
|
68
|
+
])) : (o(), m(i(q), {
|
|
69
69
|
key: 1,
|
|
70
70
|
class: "font-code text-xxs hover:bg-b-2 flex h-8 w-full justify-start gap-2 px-1.5 transition-colors duration-150",
|
|
71
71
|
variant: "secondary",
|
|
72
72
|
onClick: _
|
|
73
73
|
}, {
|
|
74
74
|
default: v(() => [
|
|
75
|
-
|
|
75
|
+
$(i(z), {
|
|
76
76
|
class: "w-2.5",
|
|
77
77
|
icon: "Add"
|
|
78
78
|
}),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Request.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/Request.vue"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"Request.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/Request.vue"],"names":[],"mappings":";;cAwO8B,MAAM;aAAO,MAAM;;;;cAAnB,MAAM;aAAO,MAAM;;;AAkWjD,wBAMG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Request.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-8362ecae"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
|
@@ -1,111 +1,161 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
1
|
+
import { defineComponent as z, ref as R, computed as J, watch as G, onMounted as K, onBeforeUnmount as P, openBlock as q, createElementBlock as X, Fragment as Y, createElementVNode as Z, normalizeClass as B, unref as s, createVNode as v, withCtx as C, createBlock as N, createCommentVNode as V } from "vue";
|
|
2
|
+
import ee from "../../components/ImportCurl/ImportCurlModal.vue.js";
|
|
3
|
+
import oe from "../../components/ViewLayout/ViewLayout.vue.js";
|
|
4
|
+
import te from "../../components/ViewLayout/ViewLayoutContent.vue.js";
|
|
5
|
+
import { importCurlCommand as re } from "../../libs/importers/curl.js";
|
|
6
|
+
import { createRequestOperation as ae } from "../../libs/send-request.js";
|
|
7
|
+
import se from "./RequestSection/RequestSection.vue.js";
|
|
6
8
|
/* empty css */
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import { safeJSON as
|
|
10
|
-
import { useToasts as
|
|
11
|
-
import { useMediaQuery as
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
|
|
9
|
+
import ue from "./RequestSubpageHeader.vue.js";
|
|
10
|
+
import le from "./ResponseSection/ResponseSection.vue.js";
|
|
11
|
+
import { safeJSON as ne } from "@scalar/object-utils/parse";
|
|
12
|
+
import { useToasts as ie } from "@scalar/use-toasts";
|
|
13
|
+
import { useMediaQuery as me } from "@vueuse/core";
|
|
14
|
+
import { useRouter as ve } from "vue-router";
|
|
15
|
+
import de from "./RequestSidebar.vue.js";
|
|
16
|
+
import { ERRORS as ce } from "../../libs/errors.js";
|
|
17
|
+
import { useWorkspace as pe } from "../../store/store.js";
|
|
18
|
+
import { executeRequestBus as g } from "../../libs/event-busses/execute-request-bus.js";
|
|
19
|
+
import { cancelRequestBus as fe } from "../../libs/event-busses/cancel-request-bus.js";
|
|
20
|
+
const $e = /* @__PURE__ */ z({
|
|
18
21
|
__name: "Request",
|
|
19
22
|
emits: ["newTab"],
|
|
20
|
-
setup(
|
|
21
|
-
var
|
|
22
|
-
const
|
|
23
|
-
activeCollection:
|
|
24
|
-
activeExample:
|
|
25
|
-
activeEnvironment:
|
|
26
|
-
activeRequest:
|
|
27
|
-
activeWorkspace:
|
|
28
|
-
activeServer:
|
|
29
|
-
cookies:
|
|
30
|
-
modalState:
|
|
31
|
-
requestHistory:
|
|
32
|
-
securitySchemes:
|
|
33
|
-
|
|
34
|
-
|
|
23
|
+
setup(Re) {
|
|
24
|
+
var E;
|
|
25
|
+
const I = pe(), { toast: w } = ie(), {
|
|
26
|
+
activeCollection: b,
|
|
27
|
+
activeExample: d,
|
|
28
|
+
activeEnvironment: M,
|
|
29
|
+
activeRequest: x,
|
|
30
|
+
activeWorkspace: a,
|
|
31
|
+
activeServer: T,
|
|
32
|
+
cookies: U,
|
|
33
|
+
modalState: l,
|
|
34
|
+
requestHistory: h,
|
|
35
|
+
securitySchemes: $,
|
|
36
|
+
requestMutators: H,
|
|
37
|
+
serverMutators: L,
|
|
38
|
+
servers: _
|
|
39
|
+
} = I, u = R(!((E = a.value) != null && E.isReadOnly)), S = R(), e = R(), y = R(""), A = ve(), j = J(
|
|
40
|
+
() => h.findLast((t) => {
|
|
35
41
|
var o;
|
|
36
|
-
return
|
|
42
|
+
return t.request.uid === ((o = d.value) == null ? void 0 : o.uid);
|
|
37
43
|
})
|
|
38
|
-
),
|
|
39
|
-
|
|
40
|
-
const
|
|
41
|
-
var
|
|
42
|
-
if (!
|
|
44
|
+
), D = me("(max-width: 780px)");
|
|
45
|
+
G(D, (t) => u.value = !t);
|
|
46
|
+
const k = async () => {
|
|
47
|
+
var p;
|
|
48
|
+
if (!x.value || !d.value || !b.value)
|
|
43
49
|
return;
|
|
44
|
-
const
|
|
45
|
-
|
|
46
|
-
const o =
|
|
47
|
-
auth:
|
|
48
|
-
request:
|
|
49
|
-
example:
|
|
50
|
-
proxy:
|
|
50
|
+
const t = ne.parse(((p = M.value) == null ? void 0 : p.value) || "{}");
|
|
51
|
+
t.error && console.error("INVALID ENVIRONMENT!");
|
|
52
|
+
const o = t.error || typeof t.data != "object" ? {} : t.data ?? {}, r = a.value.cookies.map((f) => U[f]), [n, i] = ae({
|
|
53
|
+
auth: b.value.auth,
|
|
54
|
+
request: x.value,
|
|
55
|
+
example: d.value,
|
|
56
|
+
proxy: a.value.proxyUrl ?? "",
|
|
51
57
|
environment: o,
|
|
52
|
-
globalCookies:
|
|
53
|
-
securitySchemes:
|
|
54
|
-
server:
|
|
58
|
+
globalCookies: r,
|
|
59
|
+
securitySchemes: $,
|
|
60
|
+
server: T.value
|
|
55
61
|
});
|
|
56
|
-
if (
|
|
57
|
-
|
|
62
|
+
if (n) {
|
|
63
|
+
w(n.message, "error");
|
|
58
64
|
return;
|
|
59
65
|
}
|
|
60
|
-
|
|
61
|
-
const [
|
|
62
|
-
|
|
63
|
-
},
|
|
64
|
-
var
|
|
65
|
-
return (
|
|
66
|
+
S.value = i.controller;
|
|
67
|
+
const [m, c] = await i.sendRequest();
|
|
68
|
+
m ? w(m.message, "error") : h.push(c);
|
|
69
|
+
}, F = async () => {
|
|
70
|
+
var t;
|
|
71
|
+
return (t = S.value) == null ? void 0 : t.abort(ce.REQUEST_ABORTED);
|
|
66
72
|
};
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}),
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
73
|
+
K(() => {
|
|
74
|
+
g.on(k), fe.on(F);
|
|
75
|
+
}), P(() => g.off(k));
|
|
76
|
+
function Q({ requestName: t }) {
|
|
77
|
+
var r, n, i, m;
|
|
78
|
+
if (!e.value) return;
|
|
79
|
+
if (e.value.servers) {
|
|
80
|
+
const c = Object.values(_).find(
|
|
81
|
+
(p) => {
|
|
82
|
+
var f, O;
|
|
83
|
+
return p.url === ((O = (f = e == null ? void 0 : e.value) == null ? void 0 : f.servers) == null ? void 0 : O[0]);
|
|
84
|
+
}
|
|
85
|
+
);
|
|
86
|
+
c ? y.value = c.uid : y.value = L.add(
|
|
87
|
+
{ url: e.value.servers[0] },
|
|
88
|
+
a.value.collections[0]
|
|
89
|
+
).uid;
|
|
90
|
+
}
|
|
91
|
+
const o = H.add(
|
|
92
|
+
{
|
|
93
|
+
summary: t,
|
|
94
|
+
path: (r = e == null ? void 0 : e.value) == null ? void 0 : r.path,
|
|
95
|
+
method: (n = e == null ? void 0 : e.value) == null ? void 0 : n.method,
|
|
96
|
+
parameters: (i = e == null ? void 0 : e.value) == null ? void 0 : i.parameters,
|
|
97
|
+
selectedServerUid: y.value,
|
|
98
|
+
requestBody: (m = e == null ? void 0 : e.value) == null ? void 0 : m.requestBody
|
|
99
|
+
},
|
|
100
|
+
a.value.collections[0]
|
|
101
|
+
);
|
|
102
|
+
o && A.push(
|
|
103
|
+
`/workspace/${a.value.uid}/request/${o.uid}`
|
|
104
|
+
), l.hide();
|
|
105
|
+
}
|
|
106
|
+
function W(t) {
|
|
107
|
+
e.value = re(t), l.show();
|
|
108
|
+
}
|
|
109
|
+
return (t, o) => (q(), X(Y, null, [
|
|
110
|
+
Z("div", {
|
|
111
|
+
class: B(["flex flex-1 flex-col pt-0 h-full bg-b-1 relative overflow-hidden", {
|
|
112
|
+
"!mr-0 !mb-0 !border-0": s(a).isReadOnly
|
|
113
|
+
}])
|
|
114
|
+
}, [
|
|
115
|
+
v(ue, {
|
|
116
|
+
modelValue: u.value,
|
|
117
|
+
"onUpdate:modelValue": o[0] || (o[0] = (r) => u.value = r),
|
|
118
|
+
isReadonly: s(a).isReadOnly,
|
|
119
|
+
onHideModal: o[1] || (o[1] = () => s(l).hide()),
|
|
120
|
+
onImportCurl: W
|
|
121
|
+
}, null, 8, ["modelValue", "isReadonly"]),
|
|
122
|
+
v(oe, null, {
|
|
123
|
+
default: C(() => [
|
|
124
|
+
v(de, {
|
|
125
|
+
isReadonly: s(a).isReadOnly,
|
|
126
|
+
showSidebar: u.value,
|
|
127
|
+
onNewTab: o[2] || (o[2] = (r) => t.$emit("newTab", r)),
|
|
128
|
+
"onUpdate:showSidebar": o[3] || (o[3] = (r) => u.value = r)
|
|
129
|
+
}, null, 8, ["isReadonly", "showSidebar"]),
|
|
130
|
+
s(d) ? (q(), N(te, {
|
|
131
|
+
key: 0,
|
|
132
|
+
class: B(["flex-1", [u.value ? "sidebar-active-hide-layout" : ""]])
|
|
133
|
+
}, {
|
|
134
|
+
default: C(() => {
|
|
135
|
+
var r;
|
|
136
|
+
return [
|
|
137
|
+
v(se),
|
|
138
|
+
v(le, {
|
|
139
|
+
response: (r = j.value) == null ? void 0 : r.response
|
|
140
|
+
}, null, 8, ["response"])
|
|
141
|
+
];
|
|
142
|
+
}),
|
|
143
|
+
_: 1
|
|
144
|
+
}, 8, ["class"])) : V("", !0)
|
|
145
|
+
]),
|
|
146
|
+
_: 1
|
|
147
|
+
})
|
|
148
|
+
], 2),
|
|
149
|
+
e.value ? (q(), N(ee, {
|
|
150
|
+
key: 0,
|
|
151
|
+
parsedCurl: e.value,
|
|
152
|
+
state: s(l),
|
|
153
|
+
onClose: o[4] || (o[4] = (r) => s(l).hide()),
|
|
154
|
+
onImportCurl: Q
|
|
155
|
+
}, null, 8, ["parsedCurl", "state"])) : V("", !0)
|
|
156
|
+
], 64));
|
|
107
157
|
}
|
|
108
158
|
});
|
|
109
159
|
export {
|
|
110
|
-
|
|
160
|
+
$e as default
|
|
111
161
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestAuth.vue.d.ts","sourceRoot":"","sources":["../../../../../src/views/Request/RequestSection/RequestAuth/RequestAuth.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"RequestAuth.vue.d.ts","sourceRoot":"","sources":["../../../../../src/views/Request/RequestSection/RequestAuth/RequestAuth.vue"],"names":[],"mappings":";WAyUS,MAAM;;WAAN,MAAM;;AAocf,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"}
|
|
@@ -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 p = /* @__PURE__ */ o(t, [["__scopeId", "data-v-edb96e81"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
|
@@ -10,7 +10,7 @@ import le from "../../../../components/DataTable/DataTable.vue.js";
|
|
|
10
10
|
import oe from "../../../../components/DataTable/DataTableRow.vue.js";
|
|
11
11
|
import se from "../../../../components/DataTable/DataTableHeader.vue.js";
|
|
12
12
|
import { useWorkspace as ae } from "../../../../store/store.js";
|
|
13
|
-
const b = (h) => (H("data-v-
|
|
13
|
+
const b = (h) => (H("data-v-edb96e81"), h = h(), L(), h), ce = { class: "flex gap-1" }, ie = /* @__PURE__ */ b(() => /* @__PURE__ */ n("div", { class: "text-c-2 h-8 flex min-w-[120px] items-center border-r-1/2 pr-0 pl-2" }, " Auth Type ", -1)), re = {
|
|
14
14
|
key: 0,
|
|
15
15
|
class: "flex relative scroll-timeline-x w-full"
|
|
16
16
|
}, ne = /* @__PURE__ */ b(() => /* @__PURE__ */ n("div", { class: "fade-left" }, null, -1)), ue = { class: "flex flex-1 gap-0.75 mr-1.5 items-center" }, me = /* @__PURE__ */ b(() => /* @__PURE__ */ n("div", { class: "fade-right" }, null, -1)), de = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestTableTooltip.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestTableTooltip.vue"],"names":[],"mappings":"AAyEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAA;;UAKhD,uBAAuB;;UAAvB,uBAAuB;;
|
|
1
|
+
{"version":3,"file":"RequestTableTooltip.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestTableTooltip.vue"],"names":[],"mappings":"AAyEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAA;;UAKhD,uBAAuB;;UAAvB,uBAAuB;;AA2JrD,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"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as l, computed as f, openBlock as t, createBlock as p, unref as i, withCtx as n, createElementVNode as m, createVNode as d, createElementBlock as o, toDisplayString as r, createCommentVNode as s } from "vue";
|
|
2
2
|
import { ScalarTooltip as u, ScalarIcon as b } from "@scalar/components";
|
|
3
|
-
const x = { class: "pl-1 pr-1.5 py-[9px]" }, h = { class: "grid gap-1.5 pointer-events-none min-w-48 w-content shadow-lg rounded bg-b-1
|
|
3
|
+
const x = { class: "pl-1 pr-1.5 py-[9px]" }, h = { class: "grid gap-1.5 pointer-events-none min-w-48 w-content shadow-lg rounded bg-b-1 p-2 text-xxs leading-5 text-c-1" }, _ = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "flex items-center text-c-2"
|
|
6
6
|
}, g = { key: 0 }, k = {
|
|
@@ -19,7 +19,7 @@ const x = { class: "pl-1 pr-1.5 py-[9px]" }, h = { class: "grid gap-1.5 pointer-
|
|
|
19
19
|
key: 1,
|
|
20
20
|
class: "leading-snug text-pretty text-sm",
|
|
21
21
|
style: { maxWidth: "16rem" }
|
|
22
|
-
},
|
|
22
|
+
}, T = /* @__PURE__ */ l({
|
|
23
23
|
__name: "RequestTableTooltip",
|
|
24
24
|
props: {
|
|
25
25
|
item: {}
|
|
@@ -28,7 +28,7 @@ const x = { class: "pl-1 pr-1.5 py-[9px]" }, h = { class: "grid gap-1.5 pointer-
|
|
|
28
28
|
const e = a, c = f(
|
|
29
29
|
() => e.item.type || e.item.format || e.item.minimum || e.item.maximum || e.item.default
|
|
30
30
|
);
|
|
31
|
-
return (
|
|
31
|
+
return (B, I) => (t(), p(i(u), {
|
|
32
32
|
align: "start",
|
|
33
33
|
class: "w-full",
|
|
34
34
|
delay: 0,
|
|
@@ -62,5 +62,5 @@ const x = { class: "pl-1 pr-1.5 py-[9px]" }, h = { class: "grid gap-1.5 pointer-
|
|
|
62
62
|
}
|
|
63
63
|
});
|
|
64
64
|
export {
|
|
65
|
-
|
|
65
|
+
T as default
|
|
66
66
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestSidebar.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/RequestSidebar.vue"],"names":[],"mappings":";iBAoVe,OAAO;gBACR,OAAO;;;;cAMkB,MAAM;aAAO,MAAM;;;iBAP3C,OAAO;gBACR,OAAO;;;cAMkB,MAAM;aAAO,MAAM;;;;
|
|
1
|
+
{"version":3,"file":"RequestSidebar.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/RequestSidebar.vue"],"names":[],"mappings":";iBAoVe,OAAO;gBACR,OAAO;;;;cAMkB,MAAM;aAAO,MAAM;;;iBAP3C,OAAO;gBACR,OAAO;;;cAMkB,MAAM;aAAO,MAAM;;;;AAimB1D,wBAOG;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"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import o from "./RequestSidebar.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const m = /* @__PURE__ */ o
|
|
3
|
+
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-c76358d8"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
|
@@ -16,7 +16,7 @@ import { useSidebar as ye } from "../../hooks/useSidebar.js";
|
|
|
16
16
|
import { useWorkspace as ke } from "../../store/store.js";
|
|
17
17
|
import { hotKeyBus as q } from "../../libs/event-busses/hot-keys-bus.js";
|
|
18
18
|
import { commandPaletteBus as E } from "../../libs/event-busses/command-palette-bus.js";
|
|
19
|
-
const ge = (p) => (ae("data-v-
|
|
19
|
+
const ge = (p) => (ae("data-v-c76358d8"), p = p(), ie(), p), Ie = { class: "search-button-fade sticky px-3 py-2.5 top-0 z-1" }, xe = { class: "empty-sidebar-item-content px-2.5 py-2.5" }, Ce = { class: "w-[60px] h-[68px] m-auto rabbit-ascii mt-2 relative" }, De = /* @__PURE__ */ ge(() => /* @__PURE__ */ i("div", { class: "text-center text-balance text-sm mb-2 mt-2" }, [
|
|
20
20
|
/* @__PURE__ */ i("b", { class: "font-medium" }, "Let's Get Started"),
|
|
21
21
|
/* @__PURE__ */ i("p", { class: "mt-2" }, " Create request, folder, collection or import OpenAPI document ")
|
|
22
22
|
], -1)), je = /* @__PURE__ */ Q({
|
|
@@ -198,7 +198,7 @@ const ge = (p) => (ae("data-v-8ce3ee0b"), p = p(), ie(), p), Ie = { class: "sear
|
|
|
198
198
|
r.isReadonly ? void 0 : {
|
|
199
199
|
name: "header",
|
|
200
200
|
fn: n(() => [
|
|
201
|
-
l(e(we), { class: "xl:min-h-header xl:py-2.5 py-1 px-2.5 border-b-1/2" })
|
|
201
|
+
l(e(we), { class: "min-h-11 xl:min-h-header xl:py-2.5 py-1 px-2.5 border-b-1/2" })
|
|
202
202
|
]),
|
|
203
203
|
key: "0"
|
|
204
204
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestSidebarItem.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/RequestSidebarItem.vue"],"names":[],"mappings":"AA2bA,OAAO,KAAK,EAAe,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAEzE,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,WAAW,EACjB,MAAM,mBAAmB,CAAA;AAwO1B,iBAAS,cAAc;gBAjMT,IAAI;;gBAAJ,IAAI;
|
|
1
|
+
{"version":3,"file":"RequestSidebarItem.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/RequestSidebarItem.vue"],"names":[],"mappings":"AA2bA,OAAO,KAAK,EAAe,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAEzE,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,WAAW,EACjB,MAAM,mBAAmB,CAAA;AAwO1B,iBAAS,cAAc;gBAjMT,IAAI;;gBAAJ,IAAI;EAwvBjB;AACD,QAAA,MAAM,eAAe;IAxxBjB;;;;OAIG;kBACW,OAAO;IACrB;;;;OAIG;kBACW,cAAc,CAAC,aAAa,CAAC;IAC3C,oEAAoE;gBACxD,MAAM,EAAE;IACpB,0DAA0D;SACrD,MAAM;IACX,2CAA2C;cACjC,eAAe;;;;;;;;;;IAjBzB;;;;OAIG;kBACW,OAAO;IACrB;;;;OAIG;kBACW,cAAc,CAAC,aAAa,CAAC;IAC3C,oEAAoE;gBACxD,MAAM,EAAE;IACpB,0DAA0D;SACrD,MAAM;IACX,2CAA2C;cACjC,eAAe;;;;;;;;;;;iBAZX,OAAO;MA0xBvB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAC1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAC7C,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KAAC,CAAC,GACvC,CAAC,CAAC,CAAC,CAAC;CACP,CAAC;AAEN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AAExD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,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"}
|
|
@@ -2,7 +2,7 @@ import t from "./RequestSidebarItem.vue2.js";
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
import o from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const p = /* @__PURE__ */ o(t, [["__scopeId", "data-v-
|
|
5
|
+
const p = /* @__PURE__ */ o(t, [["__scopeId", "data-v-a2f84453"]]);
|
|
6
6
|
export {
|
|
7
7
|
p as default
|
|
8
8
|
};
|