@scalar/api-client 2.1.52 → 2.2.1
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 +41 -0
- package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBar.vue.js +1 -1
- package/dist/components/AddressBar/AddressBar.vue2.js +36 -43
- package/dist/components/AddressBar/AddressBarHistory.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBarHistory.vue.js +2 -2
- package/dist/components/AddressBar/AddressBarHistory.vue2.js +25 -24
- package/dist/components/AddressBar/AddressBarServer.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBarServer.vue.js +32 -39
- package/dist/components/AddressBar/AddressBarServerItem.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBarServerItem.vue.js +10 -15
- 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 +48 -47
- package/dist/components/CodeInput/codeVariableWidget.d.ts +3 -2
- package/dist/components/CodeInput/codeVariableWidget.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +15 -14
- package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteExample.vue.js +18 -23
- package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteImport.vue.js +27 -26
- package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteRequest.vue.js +19 -20
- package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteServer.vue.js +19 -24
- package/dist/components/CommandPalette/CommandPaletteTag.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteTag.vue.js +23 -22
- 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 +47 -46
- package/dist/components/DataTable/DataTableInput.vue.d.ts +1 -1
- package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts.map +1 -1
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +23 -28
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts +2 -2
- package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/ImportCollectionModal.vue.js +127 -96
- package/dist/components/ImportCollection/ImportNowButton.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/ImportNowButton.vue.js +28 -27
- package/dist/components/ImportCollection/IntegrationLogo.vue.d.ts +1 -1
- package/dist/components/ImportCollection/IntegrationLogo.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/IntegrationLogo.vue.js +14 -18
- package/dist/components/ImportCollection/WorkspaceSelector.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/WorkspaceSelector.vue.js +15 -14
- package/dist/components/Search/useSearch.d.ts.map +1 -1
- package/dist/components/Search/useSearch.js +20 -19
- package/dist/components/SideNav/SideNav.vue.js +4 -4
- package/dist/components/SideNav/SideNavRouterLink.vue.js +9 -9
- package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
- package/dist/components/TopNav/TopNav.vue.js +165 -5
- package/dist/components/TopNav/TopNav.vue2.js +2 -164
- package/dist/components/TopNav/TopNavItem.vue.d.ts +2 -2
- package/dist/components/TopNav/TopNavItem.vue.d.ts.map +1 -1
- package/dist/components/TopNav/TopNavItem.vue.js +2 -2
- package/dist/components/TopNav/TopNavItem.vue2.js +5 -5
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +1 -1
- package/dist/components/ViewLayout/ViewLayoutSection.vue.js +2 -2
- package/dist/hooks/index.js +3 -2
- package/dist/hooks/useLayout.d.ts +2 -0
- package/dist/hooks/useLayout.d.ts.map +1 -1
- package/dist/hooks/useLayout.js +4 -3
- package/dist/layouts/App/ApiClientApp.vue.d.ts +1 -1
- package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
- package/dist/layouts/App/ApiClientApp.vue.js +35 -31
- package/dist/layouts/App/MainLayout.vue.d.ts.map +1 -1
- package/dist/layouts/App/MainLayout.vue.js +3 -3
- package/dist/layouts/App/create-api-client-app.d.ts +669 -1232
- 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 +1 -1
- package/dist/layouts/Modal/ApiClientModal.vue2.js +24 -23
- package/dist/layouts/Modal/create-api-client-modal.d.ts +1382 -2508
- 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 +34 -33
- package/dist/layouts/Web/create-api-client-web.d.ts +669 -1232
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/libs/create-client.d.ts +673 -1236
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/create-client.js +91 -102
- package/dist/libs/hot-keys.d.ts +1 -1
- package/dist/libs/send-request.d.ts +2 -3
- package/dist/libs/send-request.d.ts.map +1 -1
- package/dist/libs/send-request.js +127 -123
- package/dist/store/active-entities.d.ts +333 -0
- package/dist/store/active-entities.d.ts.map +1 -0
- package/dist/store/active-entities.js +97 -0
- package/dist/store/collections.d.ts +4 -274
- 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 +0 -54
- package/dist/store/import-spec.d.ts.map +1 -1
- package/dist/store/index.js +4 -3
- package/dist/store/request-example.d.ts +4 -4
- package/dist/store/requests.d.ts +15 -15
- package/dist/store/security-schemes.d.ts +527 -317
- package/dist/store/security-schemes.d.ts.map +1 -1
- package/dist/store/security-schemes.js +33 -41
- package/dist/store/servers.d.ts +4 -4
- package/dist/store/store-context.d.ts +0 -3
- package/dist/store/store-context.d.ts.map +1 -1
- package/dist/store/store.d.ts +640 -5297
- package/dist/store/store.d.ts.map +1 -1
- package/dist/store/store.js +111 -189
- package/dist/store/tags.d.ts +4 -4
- package/dist/store/workspace.d.ts +14 -24
- package/dist/store/workspace.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/tailwind/desktop-variants.d.ts +18 -0
- package/dist/tailwind/desktop-variants.d.ts.map +1 -0
- package/dist/views/Cookies/CookieForm.vue.d.ts.map +1 -1
- package/dist/views/Cookies/CookieForm.vue.js +14 -13
- package/dist/views/Cookies/CookieRaw.vue.d.ts.map +1 -1
- package/dist/views/Cookies/CookieRaw.vue.js +14 -13
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts +3 -3
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +1 -1
- 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 +92 -92
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +96 -99
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.js +49 -46
- 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 +94 -100
- package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue.js +60 -67
- 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 +2 -2
- package/dist/views/Request/RequestSection/RequestBody.vue2.js +29 -28
- package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestParams.vue.js +11 -10
- package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestPathParams.vue.js +24 -28
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestSection.vue2.js +17 -16
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +2 -2
- package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebar.vue.js +1 -1
- package/dist/views/Request/RequestSidebar.vue2.js +72 -73
- 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 +111 -109
- package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebarItemMenu.vue.js +2 -2
- package/dist/views/Request/RequestSidebarItemMenu.vue2.js +15 -16
- package/dist/views/Request/RequestSubpageHeader.vue.js +1 -1
- package/dist/views/Request/RequestSubpageHeader.vue2.js +14 -14
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue2.js +25 -21
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +2 -2
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +26 -25
- package/dist/views/Request/ResponseSection/ResponseHeaders.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseHeaders.vue.js +7 -7
- package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -1
- package/dist/views/Request/components/WorkspaceDropdown.vue.js +32 -31
- package/dist/views/Request/consts/new-auth-options.d.ts +16 -8
- package/dist/views/Request/consts/new-auth-options.d.ts.map +1 -1
- package/dist/views/Request/consts/new-auth-options.js +16 -8
- package/dist/views/Request/handle-drag.d.ts +2 -1
- package/dist/views/Request/handle-drag.d.ts.map +1 -1
- package/dist/views/Request/handle-drag.js +23 -25
- package/dist/views/Request/hooks/useOpenApiWatcher.d.ts.map +1 -1
- package/dist/views/Request/hooks/useOpenApiWatcher.js +40 -39
- package/dist/views/Request/libs/auth.d.ts +1 -29
- package/dist/views/Request/libs/auth.d.ts.map +1 -1
- package/dist/views/Request/libs/auth.js +2 -9
- package/dist/views/Request/libs/index.js +6 -8
- package/dist/views/Request/libs/live-sync.d.ts +6 -5
- package/dist/views/Request/libs/live-sync.d.ts.map +1 -1
- package/dist/views/Request/libs/live-sync.js +164 -185
- package/dist/views/Request/libs/oauth2.d.ts +6 -10
- package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
- package/dist/views/Request/libs/oauth2.js +54 -69
- package/dist/views/Servers/ServerForm.vue.d.ts.map +1 -1
- package/dist/views/Servers/ServerForm.vue.js +14 -13
- package/dist/views/Servers/Servers.vue.d.ts.map +1 -1
- package/dist/views/Servers/Servers.vue2.js +18 -17
- package/dist/views/Settings/SettingsGeneral.vue.d.ts.map +1 -1
- package/dist/views/Settings/SettingsGeneral.vue.js +218 -126
- package/dist/views/Settings/{SettingsGeneralMode.vue.d.ts → components/SettingsAppearance.vue.d.ts} +2 -2
- package/dist/views/Settings/components/SettingsAppearance.vue.d.ts.map +1 -0
- package/dist/views/Settings/components/SettingsAppearance.vue.js +74 -0
- package/dist/views/Settings/components/SettingsAppearance.vue2.js +4 -0
- package/dist/views/Settings/components/SettingsSection.vue.d.ts +24 -0
- package/dist/views/Settings/components/SettingsSection.vue.d.ts.map +1 -0
- package/dist/views/Settings/components/SettingsSection.vue.js +24 -0
- package/dist/views/Settings/components/SettingsSection.vue2.js +4 -0
- package/package.json +9 -9
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthModal.vue.d.ts +0 -16
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthModal.vue.d.ts.map +0 -1
- package/dist/views/Settings/SettingsGeneralMode.vue.d.ts.map +0 -1
- package/dist/views/Settings/SettingsGeneralMode.vue.js +0 -78
- package/dist/views/Settings/SettingsGeneralMode.vue2.js +0 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ResponseBodyRaw.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-f3712b08"]]);
|
|
5
5
|
export {
|
|
6
6
|
a as default
|
|
7
7
|
};
|
|
@@ -1,40 +1,44 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ScalarIcon as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
1
|
+
import { defineComponent as m, ref as f, toRef as c, openBlock as a, createElementBlock as l, createElementVNode as t, unref as i, createVNode as y, createCommentVNode as C } from "vue";
|
|
2
|
+
import { ScalarIcon as b } from "@scalar/components";
|
|
3
|
+
import { prettyPrintJson as g } from "@scalar/oas-utils/helpers";
|
|
4
|
+
import { useCodeMirror as v } from "@scalar/use-codemirror";
|
|
5
|
+
import { useClipboard as _ } from "@scalar/use-hooks/useClipboard";
|
|
6
|
+
const k = { class: "body-raw relative overflow-auto" }, R = {
|
|
7
|
+
key: 0,
|
|
8
|
+
class: "scalar-code-copy"
|
|
9
|
+
}, E = /* @__PURE__ */ m({
|
|
6
10
|
__name: "ResponseBodyRaw",
|
|
7
11
|
props: {
|
|
8
12
|
content: {},
|
|
9
13
|
language: {}
|
|
10
14
|
},
|
|
11
|
-
setup(
|
|
12
|
-
const r =
|
|
15
|
+
setup(u) {
|
|
16
|
+
const r = u, n = f(null), { copyToClipboard: d } = _(), { codeMirror: p } = v({
|
|
13
17
|
codeMirrorRef: n,
|
|
14
18
|
readOnly: !0,
|
|
15
19
|
lineNumbers: !0,
|
|
16
|
-
content:
|
|
17
|
-
language:
|
|
20
|
+
content: c(() => g(r.content)),
|
|
21
|
+
language: c(() => r.language),
|
|
18
22
|
forceFoldGutter: !0
|
|
19
|
-
}),
|
|
20
|
-
var
|
|
21
|
-
return ((
|
|
23
|
+
}), s = () => {
|
|
24
|
+
var o;
|
|
25
|
+
return ((o = p.value) == null ? void 0 : o.state.doc.toString()) || "";
|
|
22
26
|
};
|
|
23
|
-
return (
|
|
24
|
-
|
|
25
|
-
|
|
27
|
+
return (o, e) => (a(), l("div", k, [
|
|
28
|
+
s() ? (a(), l("div", R, [
|
|
29
|
+
t("button", {
|
|
26
30
|
class: "copy-button",
|
|
27
31
|
type: "button",
|
|
28
|
-
onClick: e[0] || (e[0] = (
|
|
32
|
+
onClick: e[0] || (e[0] = (M) => i(d)(s()))
|
|
29
33
|
}, [
|
|
30
|
-
e[1] || (e[1] =
|
|
31
|
-
y(
|
|
34
|
+
e[1] || (e[1] = t("span", { class: "sr-only" }, "Copy content", -1)),
|
|
35
|
+
y(i(b), {
|
|
32
36
|
icon: "Clipboard",
|
|
33
37
|
size: "md"
|
|
34
38
|
})
|
|
35
39
|
])
|
|
36
|
-
]),
|
|
37
|
-
|
|
40
|
+
])) : C("", !0),
|
|
41
|
+
t("div", {
|
|
38
42
|
ref_key: "codeMirrorRef",
|
|
39
43
|
ref: n
|
|
40
44
|
}, null, 512)
|
|
@@ -42,5 +46,5 @@ const _ = { class: "relative" }, v = { class: "scalar-code-copy" }, x = /* @__PU
|
|
|
42
46
|
}
|
|
43
47
|
});
|
|
44
48
|
export {
|
|
45
|
-
|
|
49
|
+
E as default
|
|
46
50
|
};
|
|
@@ -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":";AA6XA,wBAMG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ResponseEmpty.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-886982fd"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
s as default
|
|
7
7
|
};
|
|
@@ -1,29 +1,30 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as b, onMounted as R, onBeforeUnmount as C, openBlock as n, createElementBlock as l, createElementVNode as o, normalizeClass as k, unref as t, createTextVNode as c, toDisplayString as N, createCommentVNode as m, createVNode as s } from "vue";
|
|
2
2
|
import q from "../../../assets/computer.ascii.js";
|
|
3
3
|
import x from "../../../assets/keycap.ascii.js";
|
|
4
|
-
import
|
|
4
|
+
import u from "../../../components/ScalarAsciiArt.vue.js";
|
|
5
5
|
import p from "../../../components/ScalarHotkey.vue.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
|
|
6
|
+
import { useActiveEntities as V } from "../../../store/active-entities.js";
|
|
7
|
+
import { useRoute as K } from "vue-router";
|
|
8
|
+
import { useWorkspace as S } from "../../../store/store.js";
|
|
9
|
+
import { useLayout as A } from "../../../hooks/useLayout.js";
|
|
10
|
+
const B = { class: "relative col-1 flex-center gap-6 p-2 capitalize" }, E = {
|
|
10
11
|
key: 0,
|
|
11
12
|
class: "scalar-version-number"
|
|
12
|
-
},
|
|
13
|
+
}, w = { class: "scale-75 flex" }, P = { class: "relative" }, $ = { class: "relative -ml-12" }, j = { class: "text-c-3 right-4 mt-auto flex w-full flex-col items-end gap-2 text-sm" }, F = /* @__PURE__ */ b({
|
|
13
14
|
__name: "ResponseEmpty",
|
|
14
|
-
setup(
|
|
15
|
-
const {
|
|
15
|
+
setup(z) {
|
|
16
|
+
const { activeWorkspaceRequests: d } = V(), { isReadOnly: g, events: a } = S(), v = K(), { layout: r } = A(), f = () => {
|
|
16
17
|
a.commandPalette.emit({ commandName: "Create Request" });
|
|
17
18
|
}, y = (i) => {
|
|
18
19
|
i != null && i.createNew && v.name === "request" && f();
|
|
19
|
-
}, h = "2.1
|
|
20
|
-
return
|
|
20
|
+
}, h = "2.2.1";
|
|
21
|
+
return R(() => a.hotKeys.on(y)), C(() => a.hotKeys.off(y)), (i, e) => (n(), l("div", B, [
|
|
21
22
|
o("div", {
|
|
22
23
|
class: k(["flex h-[calc(100%_-_50px)] flex-col items-center justify-center", {
|
|
23
|
-
"hidden opacity-0": t(
|
|
24
|
+
"hidden opacity-0": t(d).length <= 1 && t(r) !== "modal"
|
|
24
25
|
}])
|
|
25
26
|
}, [
|
|
26
|
-
t(g)
|
|
27
|
+
t(g) ? m("", !0) : (n(), l("div", E, [
|
|
27
28
|
c(" Scalar App V" + N(t(h)) + " Beta ", 1),
|
|
28
29
|
e[2] || (e[2] = o("div", { class: "mt-2" }, [
|
|
29
30
|
o("a", {
|
|
@@ -32,39 +33,39 @@ const B = { class: "relative col-1 flex-center gap-6 p-2 capitalize" }, w = {
|
|
|
32
33
|
}, " Roadmap ")
|
|
33
34
|
], -1))
|
|
34
35
|
])),
|
|
35
|
-
s(
|
|
36
|
+
s(u, {
|
|
36
37
|
art: t(q),
|
|
37
38
|
class: "text-c-3"
|
|
38
39
|
}, null, 8, ["art"])
|
|
39
40
|
], 2),
|
|
40
|
-
t(r) !== "modal" ? (
|
|
41
|
+
t(r) !== "modal" ? (n(), l("div", {
|
|
41
42
|
key: 0,
|
|
42
43
|
class: k(["h-[calc(100%_-_50px)] items-center justify-center hidden pb-5", {
|
|
43
|
-
"!flex opacity-100": t(
|
|
44
|
+
"!flex opacity-100": t(d).length == 1
|
|
44
45
|
}])
|
|
45
46
|
}, [
|
|
46
|
-
o("div",
|
|
47
|
-
o("div",
|
|
47
|
+
o("div", w, [
|
|
48
|
+
o("div", P, [
|
|
48
49
|
s(p, {
|
|
49
50
|
class: "keycap-hotkey",
|
|
50
51
|
hotkey: ""
|
|
51
52
|
}),
|
|
52
|
-
s(
|
|
53
|
+
s(u, {
|
|
53
54
|
art: t(x),
|
|
54
55
|
class: "!leading-[6px] text-c-3"
|
|
55
56
|
}, null, 8, ["art"])
|
|
56
57
|
]),
|
|
57
|
-
o("div",
|
|
58
|
+
o("div", $, [
|
|
58
59
|
e[3] || (e[3] = o("div", { class: "keycap-hotkey !right-[60px]" }, "K", -1)),
|
|
59
|
-
s(
|
|
60
|
+
s(u, {
|
|
60
61
|
art: t(x),
|
|
61
62
|
class: "!leading-[6px] keycap-n"
|
|
62
63
|
}, null, 8, ["art"])
|
|
63
64
|
])
|
|
64
65
|
])
|
|
65
66
|
], 2)) : m("", !0),
|
|
66
|
-
o("div",
|
|
67
|
-
t(r) !== "modal" ? (
|
|
67
|
+
o("div", j, [
|
|
68
|
+
t(r) !== "modal" ? (n(), l("button", {
|
|
68
69
|
key: 0,
|
|
69
70
|
class: "flex items-center gap-1.5",
|
|
70
71
|
type: "button",
|
|
@@ -81,7 +82,7 @@ const B = { class: "relative col-1 flex-center gap-6 p-2 capitalize" }, w = {
|
|
|
81
82
|
e[5] || (e[5] = c(" Send Request ")),
|
|
82
83
|
s(p, { hotkey: "↵" })
|
|
83
84
|
]),
|
|
84
|
-
t(r)
|
|
85
|
+
t(r) === "desktop" ? (n(), l("button", {
|
|
85
86
|
key: 1,
|
|
86
87
|
class: "flex items-center gap-1.5",
|
|
87
88
|
type: "button",
|
|
@@ -95,5 +96,5 @@ const B = { class: "relative col-1 flex-center gap-6 p-2 capitalize" }, w = {
|
|
|
95
96
|
}
|
|
96
97
|
});
|
|
97
98
|
export {
|
|
98
|
-
|
|
99
|
+
F as default
|
|
99
100
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResponseHeaders.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/ResponseSection/ResponseHeaders.vue"],"names":[],"mappings":"AA0EA,KAAK,MAAM,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAA;CAAE,CAAA;AAEhE,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,EAAE,CAAA;CAClB,CAAC;;
|
|
1
|
+
{"version":3,"file":"ResponseHeaders.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/ResponseSection/ResponseHeaders.vue"],"names":[],"mappings":"AA0EA,KAAK,MAAM,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAA;CAAE,CAAA;AAEhE,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,EAAE,CAAA;CAClB,CAAC;;AAwJF,wBAOG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as _, openBlock as e, createBlock as n, withCtx as t, createTextVNode as l, createElementBlock as s, createVNode as m, Fragment as
|
|
1
|
+
import { defineComponent as _, openBlock as e, createBlock as n, withCtx as t, createTextVNode as l, createElementBlock as s, createVNode as m, Fragment as c, renderList as x, toDisplayString as i } from "vue";
|
|
2
2
|
import h from "../../../components/DataTable/DataTable.vue.js";
|
|
3
3
|
import y from "../../../components/DataTable/DataTableRow.vue.js";
|
|
4
4
|
import u from "../../../components/DataTable/DataTableText.vue.js";
|
|
@@ -10,7 +10,7 @@ const w = {
|
|
|
10
10
|
class: "border max-h-[calc(100%-32px)] overflow-y-auto rounded"
|
|
11
11
|
}, C = {
|
|
12
12
|
key: 1,
|
|
13
|
-
class: "text-c-3 px-4 text-sm border rounded min-h-12 justify-center flex items-center bg-b-1
|
|
13
|
+
class: "text-c-3 px-4 text-sm border rounded min-h-12 justify-center flex items-center bg-b-1"
|
|
14
14
|
}, R = /* @__PURE__ */ _({
|
|
15
15
|
__name: "ResponseHeaders",
|
|
16
16
|
props: {
|
|
@@ -21,7 +21,7 @@ const w = {
|
|
|
21
21
|
(a) => a.name.toLowerCase() === r.toLowerCase()
|
|
22
22
|
);
|
|
23
23
|
return (r, a) => (e(), n(b, {
|
|
24
|
-
class: "overflow-
|
|
24
|
+
class: "overflow-auto",
|
|
25
25
|
defaultOpen: !1,
|
|
26
26
|
itemCount: r.headers.length
|
|
27
27
|
}, {
|
|
@@ -36,16 +36,16 @@ const w = {
|
|
|
36
36
|
scroll: ""
|
|
37
37
|
}, {
|
|
38
38
|
default: t(() => [
|
|
39
|
-
(e(!0), s(
|
|
39
|
+
(e(!0), s(c, null, x(r.headers, (o, p) => (e(), n(y, {
|
|
40
40
|
key: p,
|
|
41
41
|
class: "text-c-1"
|
|
42
42
|
}, {
|
|
43
43
|
default: t(() => [
|
|
44
44
|
m(u, { class: "sticky left-0 z-1 bg-b-1 max-w-48" }, {
|
|
45
45
|
default: t(() => {
|
|
46
|
-
var
|
|
46
|
+
var f;
|
|
47
47
|
return [
|
|
48
|
-
typeof ((
|
|
48
|
+
typeof ((f = d(o.name)) == null ? void 0 : f.url) == "string" ? (e(), n(k, {
|
|
49
49
|
key: 0,
|
|
50
50
|
class: "decoration-c-3",
|
|
51
51
|
href: d(o.name).url
|
|
@@ -54,7 +54,7 @@ const w = {
|
|
|
54
54
|
l(i(o.name), 1)
|
|
55
55
|
]),
|
|
56
56
|
_: 2
|
|
57
|
-
}, 1032, ["href"])) : (e(), s(
|
|
57
|
+
}, 1032, ["href"])) : (e(), s(c, { key: 1 }, [
|
|
58
58
|
l(i(o.name), 1)
|
|
59
59
|
], 64))
|
|
60
60
|
];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkspaceDropdown.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/components/WorkspaceDropdown.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"WorkspaceDropdown.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/components/WorkspaceDropdown.vue"],"names":[],"mappings":";AAg0BA,wBAMG"}
|
|
@@ -1,29 +1,30 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as A, computed as O, ref as M, openBlock as m, createElementBlock as W, createElementVNode as a, createVNode as s, unref as e, withCtx as n, Fragment as I, renderList as L, createBlock as h, withModifiers as c, normalizeClass as U, toDisplayString as z } from "vue";
|
|
2
2
|
import V from "../../../components/Sidebar/Actions/DeleteSidebarListElement.vue.js";
|
|
3
3
|
import q from "../../../components/Sidebar/Actions/EditSidebarListElement.vue.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
4
|
+
import { useActiveEntities as F } from "../../../store/active-entities.js";
|
|
5
|
+
import { useModal as C, ScalarDropdown as S, ScalarDropdownItem as u, ScalarIcon as i, ScalarTooltip as P, ScalarButton as $, ScalarDropdownDivider as Y, ScalarModal as E } from "@scalar/components";
|
|
6
|
+
import { useRouter as G } from "vue-router";
|
|
7
|
+
import { useWorkspace as H } from "../../../store/store.js";
|
|
8
|
+
const J = { class: "flex items-center text-sm w-[inherit]" }, K = { class: "font-medium m-0 flex gap-1.5 items-center" }, Q = { class: "line-clamp-1 text-left w-[calc(100%-10px)]" }, X = { class: "text-ellipsis overflow-hidden" }, Z = { class: "flex items-center justify-center h-4 w-4" }, re = /* @__PURE__ */ A({
|
|
8
9
|
__name: "WorkspaceDropdown",
|
|
9
|
-
setup(
|
|
10
|
-
const { activeWorkspace: f, workspaces: d, workspaceMutators: g, events:
|
|
10
|
+
setup(ee) {
|
|
11
|
+
const { activeWorkspace: f } = F(), { workspaces: d, workspaceMutators: g, events: N } = H(), { push: b } = G(), T = (o) => {
|
|
11
12
|
o !== f.value.uid && b({
|
|
12
13
|
name: "workspace",
|
|
13
14
|
params: {
|
|
14
15
|
workspace: o
|
|
15
16
|
}
|
|
16
17
|
});
|
|
17
|
-
}, _ =
|
|
18
|
-
v.value = d[o].name,
|
|
18
|
+
}, _ = O(() => Object.keys(d).length === 1), j = () => N.commandPalette.emit({ commandName: "Create Workspace" }), v = M(""), r = M(""), w = C(), k = C(), y = (o) => {
|
|
19
|
+
v.value = d[o].name, r.value = o, w.show();
|
|
19
20
|
}, B = (o) => {
|
|
20
|
-
o.trim() && (g.edit(
|
|
21
|
+
o.trim() && (g.edit(r.value, "name", o.trim()), w.hide());
|
|
21
22
|
}, D = (o) => {
|
|
22
|
-
v.value = d[o].name,
|
|
23
|
+
v.value = d[o].name, r.value = o, k.show();
|
|
23
24
|
}, R = async () => {
|
|
24
25
|
if (!_.value) {
|
|
25
|
-
const o = f.value.uid ===
|
|
26
|
-
if (delete t[
|
|
26
|
+
const o = f.value.uid === r.value, t = { ...d };
|
|
27
|
+
if (delete t[r.value], g.delete(r.value), o) {
|
|
27
28
|
const p = Object.keys(t)[0];
|
|
28
29
|
await b({
|
|
29
30
|
name: "workspace",
|
|
@@ -36,13 +37,13 @@ const H = { class: "flex items-center text-sm w-[inherit]" }, J = { class: "font
|
|
|
36
37
|
k.hide();
|
|
37
38
|
};
|
|
38
39
|
return (o, t) => (m(), W("div", null, [
|
|
39
|
-
a("div",
|
|
40
|
+
a("div", J, [
|
|
40
41
|
s(e(S), null, {
|
|
41
42
|
items: n(() => [
|
|
42
43
|
(m(!0), W(I, null, L(e(d), (p, l) => (m(), h(e(u), {
|
|
43
44
|
key: l,
|
|
44
45
|
class: "flex gap-1.5 group/item items-center whitespace-nowrap text-ellipsis overflow-hidden w-full",
|
|
45
|
-
onClick: c((x) =>
|
|
46
|
+
onClick: c((x) => T(l), ["stop"])
|
|
46
47
|
}, {
|
|
47
48
|
default: n(() => [
|
|
48
49
|
a("div", {
|
|
@@ -51,13 +52,13 @@ const H = { class: "flex items-center text-sm w-[inherit]" }, J = { class: "font
|
|
|
51
52
|
e(f).uid === l ? "bg-c-accent text-b-1" : "group-hover/item:shadow-border text-transparent"
|
|
52
53
|
])
|
|
53
54
|
}, [
|
|
54
|
-
s(e(
|
|
55
|
+
s(e(i), {
|
|
55
56
|
class: "size-2.5",
|
|
56
57
|
icon: "Checkmark",
|
|
57
58
|
thickness: "3.5"
|
|
58
59
|
})
|
|
59
60
|
], 2),
|
|
60
|
-
a("span",
|
|
61
|
+
a("span", X, z(p.name), 1),
|
|
61
62
|
s(e(S), { teleport: ".scalar-client" }, {
|
|
62
63
|
items: n(() => [
|
|
63
64
|
s(e(u), {
|
|
@@ -66,7 +67,7 @@ const H = { class: "flex items-center text-sm w-[inherit]" }, J = { class: "font
|
|
|
66
67
|
onTouchend: c((x) => y(l), ["prevent"])
|
|
67
68
|
}, {
|
|
68
69
|
default: n(() => [
|
|
69
|
-
s(e(
|
|
70
|
+
s(e(i), {
|
|
70
71
|
class: "inline-flex",
|
|
71
72
|
icon: "Edit",
|
|
72
73
|
size: "md",
|
|
@@ -76,7 +77,7 @@ const H = { class: "flex items-center text-sm w-[inherit]" }, J = { class: "font
|
|
|
76
77
|
]),
|
|
77
78
|
_: 2
|
|
78
79
|
}, 1032, ["onMousedown", "onTouchend"]),
|
|
79
|
-
_.value ? (m(), h(e(
|
|
80
|
+
_.value ? (m(), h(e(P), {
|
|
80
81
|
key: 0,
|
|
81
82
|
class: "z-10",
|
|
82
83
|
side: "bottom"
|
|
@@ -91,7 +92,7 @@ const H = { class: "flex items-center text-sm w-[inherit]" }, J = { class: "font
|
|
|
91
92
|
}, ["prevent"]))
|
|
92
93
|
}, {
|
|
93
94
|
default: n(() => [
|
|
94
|
-
s(e(
|
|
95
|
+
s(e(i), {
|
|
95
96
|
class: "inline-flex",
|
|
96
97
|
icon: "Delete",
|
|
97
98
|
size: "md",
|
|
@@ -117,7 +118,7 @@ const H = { class: "flex items-center text-sm w-[inherit]" }, J = { class: "font
|
|
|
117
118
|
onTouchend: c((x) => D(l), ["prevent"])
|
|
118
119
|
}, {
|
|
119
120
|
default: n(() => [
|
|
120
|
-
s(e(
|
|
121
|
+
s(e(i), {
|
|
121
122
|
class: "inline-flex",
|
|
122
123
|
icon: "Delete",
|
|
123
124
|
size: "sm",
|
|
@@ -136,7 +137,7 @@ const H = { class: "flex items-center text-sm w-[inherit]" }, J = { class: "font
|
|
|
136
137
|
variant: "ghost"
|
|
137
138
|
}, {
|
|
138
139
|
default: n(() => [
|
|
139
|
-
s(e(
|
|
140
|
+
s(e(i), {
|
|
140
141
|
icon: "Ellipses",
|
|
141
142
|
size: "sm"
|
|
142
143
|
})
|
|
@@ -149,14 +150,14 @@ const H = { class: "flex items-center text-sm w-[inherit]" }, J = { class: "font
|
|
|
149
150
|
]),
|
|
150
151
|
_: 2
|
|
151
152
|
}, 1032, ["onClick"]))), 128)),
|
|
152
|
-
s(e(
|
|
153
|
+
s(e(Y)),
|
|
153
154
|
s(e(u), {
|
|
154
155
|
class: "flex items-center gap-1.5",
|
|
155
156
|
onClick: j
|
|
156
157
|
}, {
|
|
157
158
|
default: n(() => [
|
|
158
|
-
a("div",
|
|
159
|
-
s(e(
|
|
159
|
+
a("div", Z, [
|
|
160
|
+
s(e(i), {
|
|
160
161
|
class: "h-2.5",
|
|
161
162
|
icon: "Add",
|
|
162
163
|
thickness: "3"
|
|
@@ -174,9 +175,9 @@ const H = { class: "flex items-center text-sm w-[inherit]" }, J = { class: "font
|
|
|
174
175
|
variant: "ghost"
|
|
175
176
|
}, {
|
|
176
177
|
default: n(() => [
|
|
177
|
-
a("div",
|
|
178
|
-
a("h2",
|
|
179
|
-
s(e(
|
|
178
|
+
a("div", K, [
|
|
179
|
+
a("h2", Q, z(e(f).name), 1),
|
|
180
|
+
s(e(i), {
|
|
180
181
|
class: "size-3",
|
|
181
182
|
icon: "ChevronDown",
|
|
182
183
|
thickness: "3"
|
|
@@ -189,7 +190,7 @@ const H = { class: "flex items-center text-sm w-[inherit]" }, J = { class: "font
|
|
|
189
190
|
_: 1
|
|
190
191
|
})
|
|
191
192
|
]),
|
|
192
|
-
s(e(
|
|
193
|
+
s(e(E), {
|
|
193
194
|
size: "xxs",
|
|
194
195
|
state: e(k),
|
|
195
196
|
title: "Delete workspace"
|
|
@@ -204,7 +205,7 @@ const H = { class: "flex items-center text-sm w-[inherit]" }, J = { class: "font
|
|
|
204
205
|
]),
|
|
205
206
|
_: 1
|
|
206
207
|
}, 8, ["state"]),
|
|
207
|
-
s(e(
|
|
208
|
+
s(e(E), {
|
|
208
209
|
size: "xxs",
|
|
209
210
|
state: e(w),
|
|
210
211
|
title: "Rename Workspace"
|
|
@@ -222,5 +223,5 @@ const H = { class: "flex items-center text-sm w-[inherit]" }, J = { class: "font
|
|
|
222
223
|
}
|
|
223
224
|
});
|
|
224
225
|
export {
|
|
225
|
-
|
|
226
|
+
re as default
|
|
226
227
|
};
|
|
@@ -60,8 +60,10 @@ export declare const ADD_AUTH_DICT: {
|
|
|
60
60
|
readonly payload: {
|
|
61
61
|
readonly type: "oauth2";
|
|
62
62
|
readonly nameKey: "oauth2Implicit";
|
|
63
|
-
readonly
|
|
64
|
-
readonly
|
|
63
|
+
readonly flows: {
|
|
64
|
+
readonly implicit: {
|
|
65
|
+
readonly type: "implicit";
|
|
66
|
+
};
|
|
65
67
|
};
|
|
66
68
|
};
|
|
67
69
|
};
|
|
@@ -70,8 +72,10 @@ export declare const ADD_AUTH_DICT: {
|
|
|
70
72
|
readonly payload: {
|
|
71
73
|
readonly type: "oauth2";
|
|
72
74
|
readonly nameKey: "oauth2Password";
|
|
73
|
-
readonly
|
|
74
|
-
readonly
|
|
75
|
+
readonly flows: {
|
|
76
|
+
readonly password: {
|
|
77
|
+
readonly type: "password";
|
|
78
|
+
};
|
|
75
79
|
};
|
|
76
80
|
};
|
|
77
81
|
};
|
|
@@ -80,8 +84,10 @@ export declare const ADD_AUTH_DICT: {
|
|
|
80
84
|
readonly payload: {
|
|
81
85
|
readonly type: "oauth2";
|
|
82
86
|
readonly nameKey: "oauth2ClientCredentials";
|
|
83
|
-
readonly
|
|
84
|
-
readonly
|
|
87
|
+
readonly flows: {
|
|
88
|
+
readonly clientCredentials: {
|
|
89
|
+
readonly type: "clientCredentials";
|
|
90
|
+
};
|
|
85
91
|
};
|
|
86
92
|
};
|
|
87
93
|
};
|
|
@@ -90,8 +96,10 @@ export declare const ADD_AUTH_DICT: {
|
|
|
90
96
|
readonly payload: {
|
|
91
97
|
readonly type: "oauth2";
|
|
92
98
|
readonly nameKey: "oauth2AuthorizationFlow";
|
|
93
|
-
readonly
|
|
94
|
-
readonly
|
|
99
|
+
readonly flows: {
|
|
100
|
+
readonly authorizationCode: {
|
|
101
|
+
readonly type: "authorizationCode";
|
|
102
|
+
};
|
|
95
103
|
};
|
|
96
104
|
};
|
|
97
105
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"new-auth-options.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/consts/new-auth-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAA;AAG5E,MAAM,MAAM,oBAAoB,GAAG;IACjC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,OAAO,CAAC,EAAE,qBAAqB,CAAA;CAChC,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,oBAAoB,EAAE,CAAA;CAChC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"new-auth-options.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/consts/new-auth-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAA;AAG5E,MAAM,MAAM,oBAAoB,GAAG;IACjC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,OAAO,CAAC,EAAE,qBAAqB,CAAA;CAChC,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,oBAAoB,EAAE,CAAA;CAChC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyFhB,CAAA;AAIV,+CAA+C;AAC/C,eAAO,MAAM,gBAAgB,EAAE,oBAAoB,EAOlD,CAAA"}
|
|
@@ -44,8 +44,10 @@ const t = {
|
|
|
44
44
|
payload: {
|
|
45
45
|
type: "oauth2",
|
|
46
46
|
nameKey: "oauth2Implicit",
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
flows: {
|
|
48
|
+
implicit: {
|
|
49
|
+
type: "implicit"
|
|
50
|
+
}
|
|
49
51
|
}
|
|
50
52
|
}
|
|
51
53
|
},
|
|
@@ -54,8 +56,10 @@ const t = {
|
|
|
54
56
|
payload: {
|
|
55
57
|
type: "oauth2",
|
|
56
58
|
nameKey: "oauth2Password",
|
|
57
|
-
|
|
58
|
-
|
|
59
|
+
flows: {
|
|
60
|
+
password: {
|
|
61
|
+
type: "password"
|
|
62
|
+
}
|
|
59
63
|
}
|
|
60
64
|
}
|
|
61
65
|
},
|
|
@@ -64,8 +68,10 @@ const t = {
|
|
|
64
68
|
payload: {
|
|
65
69
|
type: "oauth2",
|
|
66
70
|
nameKey: "oauth2ClientCredentials",
|
|
67
|
-
|
|
68
|
-
|
|
71
|
+
flows: {
|
|
72
|
+
clientCredentials: {
|
|
73
|
+
type: "clientCredentials"
|
|
74
|
+
}
|
|
69
75
|
}
|
|
70
76
|
}
|
|
71
77
|
},
|
|
@@ -74,8 +80,10 @@ const t = {
|
|
|
74
80
|
payload: {
|
|
75
81
|
type: "oauth2",
|
|
76
82
|
nameKey: "oauth2AuthorizationFlow",
|
|
77
|
-
|
|
78
|
-
|
|
83
|
+
flows: {
|
|
84
|
+
authorizationCode: {
|
|
85
|
+
type: "authorizationCode"
|
|
86
|
+
}
|
|
79
87
|
}
|
|
80
88
|
}
|
|
81
89
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { WorkspaceStore } from '../../store/index.js';
|
|
2
|
+
import type { ActiveEntitiesStore } from '../../store/active-entities.js';
|
|
2
3
|
import type { DraggingItem, HoveredItem } from '@scalar/draggable';
|
|
3
4
|
/** Create DnD handlers */
|
|
4
|
-
export declare function dragHandlerFactory({ collections, collectionMutators, tags, tagMutators,
|
|
5
|
+
export declare function dragHandlerFactory(activeWorkspace: ActiveEntitiesStore['activeWorkspace'], { collections, collectionMutators, isReadOnly, tags, tagMutators, workspaceMutators, }: WorkspaceStore): {
|
|
5
6
|
handleDragEnd: (draggingItem: DraggingItem, hoveredItem: HoveredItem) => void;
|
|
6
7
|
isDroppable: (draggingItem: DraggingItem, hoveredItem: HoveredItem) => boolean;
|
|
7
8
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handle-drag.d.ts","sourceRoot":"","sources":["../../../src/views/Request/handle-drag.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAC7C,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAElE,0BAA0B;AAC1B,wBAAgB,kBAAkB,CAAC,
|
|
1
|
+
{"version":3,"file":"handle-drag.d.ts","sourceRoot":"","sources":["../../../src/views/Request/handle-drag.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAC7C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAClE,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAElE,0BAA0B;AAC1B,wBAAgB,kBAAkB,CAChC,eAAe,EAAE,mBAAmB,CAAC,iBAAiB,CAAC,EACvD,EACE,WAAW,EACX,kBAAkB,EAClB,UAAU,EACV,IAAI,EACJ,WAAW,EACX,iBAAiB,GAClB,EAAE,cAAc;kCASoB,YAAY,eAAe,WAAW;gCAmE3D,YAAY,eACb,WAAW;EAoB3B"}
|