@scalar/api-client 2.26.2 → 2.29.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 +218 -0
- package/dist/components/Server/ServerSelector.vue.js +6 -6
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +6 -6
- package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutSection.vue.js +1 -1
- package/dist/libs/local-storage.js +3 -3
- package/dist/style.css +1 -1
- package/dist/v2/blocks/operation-block/helpers/build-request-body.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/helpers/build-request-body.js +29 -25
- package/dist/v2/blocks/operation-block/helpers/get-example.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/helpers/get-example.js +15 -15
- package/dist/v2/blocks/operation-block/helpers/get-selected-body-content-type.d.ts +10 -0
- package/dist/v2/blocks/operation-block/helpers/get-selected-body-content-type.d.ts.map +1 -0
- package/dist/v2/blocks/operation-block/helpers/get-selected-body-content-type.js +4 -0
- package/dist/v2/blocks/request-block/RequestBlock.vue.js +1 -1
- package/dist/v2/blocks/request-block/RequestBlock.vue2.js +26 -26
- package/dist/v2/blocks/request-block/components/RequestBody.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestBody.vue.js +2 -2
- package/dist/v2/blocks/request-block/components/RequestBody.vue2.js +88 -103
- package/dist/v2/blocks/request-block/components/RequestTable.vue.d.ts +2 -0
- package/dist/v2/blocks/request-block/components/RequestTable.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts +2 -0
- package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/helpers/get-default-headers.d.ts +1 -1
- package/dist/v2/blocks/request-block/helpers/get-default-headers.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/helpers/get-default-headers.js +20 -19
- package/dist/v2/blocks/response-block/ResponseBlock.vue.js +1 -1
- package/dist/v2/blocks/response-block/ResponseBlock.vue2.js +7 -7
- package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.d.ts.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.js +1 -1
- package/dist/v2/blocks/response-block/components/ResponseEmpty.vue2.js +31 -40
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts +2 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.js +52 -54
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts +3 -2
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js +106 -86
- package/dist/v2/blocks/scalar-auth-selector-block/components/OpenIDConnect.vue.d.ts +21 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/OpenIDConnect.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/OpenIDConnect.vue.js +91 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/OpenIDConnect.vue2.js +4 -0
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js +107 -93
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/extract-security-scheme-secrets.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/extract-security-scheme-secrets.js +87 -65
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/fetch-openid-connect-discovery.d.ts +36 -0
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/fetch-openid-connect-discovery.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/fetch-openid-connect-discovery.js +35 -0
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/merge-security.d.ts +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/merge-security.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/merge-security.js +18 -10
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/openid-discovery-to-flows.d.ts +5 -0
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/openid-discovery-to-flows.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/openid-discovery-to-flows.js +27 -0
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/secret-types.d.ts +3 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/secret-types.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.d.ts +4 -3
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.js +32 -40
- package/dist/v2/components/code-input/CodeInput.vue.d.ts.map +1 -1
- package/dist/v2/components/code-input/CodeInput.vue.js +2 -2
- package/dist/v2/components/layout/CollapsibleSection.vue.js +1 -1
- package/dist/v2/components/sidebar/Sidebar.vue.d.ts +2 -0
- package/dist/v2/components/sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/v2/components/sidebar/Sidebar.vue.js +25 -24
- package/dist/v2/components/sidebar/SidebarMenu.vue.d.ts +2 -0
- package/dist/v2/components/sidebar/SidebarMenu.vue.d.ts.map +1 -1
- package/dist/v2/components/sidebar/SidebarMenu.vue.js +30 -30
- package/dist/v2/features/app/App.vue.d.ts +5 -0
- package/dist/v2/features/app/App.vue.d.ts.map +1 -1
- package/dist/v2/features/app/App.vue.js +80 -78
- package/dist/v2/features/app/app-events.d.ts +2 -1
- package/dist/v2/features/app/app-events.d.ts.map +1 -1
- package/dist/v2/features/app/app-events.js +89 -64
- package/dist/v2/features/app/app-state.d.ts.map +1 -1
- package/dist/v2/features/app/app-state.js +172 -151
- package/dist/v2/features/app/components/AppSidebar.vue.d.ts.map +1 -1
- package/dist/v2/features/app/components/AppSidebar.vue.js +3 -3
- package/dist/v2/features/app/components/AppSidebar.vue2.js +99 -97
- package/dist/v2/features/app/components/DesktopTabs.vue.d.ts.map +1 -1
- package/dist/v2/features/app/components/DesktopTabs.vue.js +4 -4
- package/dist/v2/features/app/components/DownloadAppButton.vue.d.ts.map +1 -1
- package/dist/v2/features/app/components/DownloadAppButton.vue.js +1 -1
- package/dist/v2/features/app/components/DownloadAppButton.vue2.js +9 -9
- package/dist/v2/features/app/components/SidebarItemMenu.vue.d.ts.map +1 -1
- package/dist/v2/features/app/components/SidebarItemMenu.vue.js +71 -43
- package/dist/v2/features/app/helpers/create-api-client-app.d.ts +11 -1
- package/dist/v2/features/app/helpers/create-api-client-app.d.ts.map +1 -1
- package/dist/v2/features/app/helpers/create-api-client-app.js +12 -10
- package/dist/v2/features/app/helpers/routes.d.ts +2 -0
- package/dist/v2/features/app/helpers/routes.d.ts.map +1 -1
- package/dist/v2/features/app/helpers/routes.js +11 -11
- package/dist/v2/features/app/hooks/use-theme.d.ts +42 -0
- package/dist/v2/features/app/hooks/use-theme.d.ts.map +1 -0
- package/dist/v2/features/app/hooks/use-theme.js +34 -0
- package/dist/v2/features/collection/DocumentCollection.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/DocumentCollection.vue.js +27 -26
- package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts +1 -6
- package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/WorkspaceCollection.vue.js +41 -22
- package/dist/v2/features/collection/components/Authentication.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Authentication.vue.js +2 -2
- package/dist/v2/features/collection/components/Authentication.vue2.js +49 -40
- package/dist/v2/features/collection/components/Cookies.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Cookies.vue.js +26 -13
- package/dist/v2/features/collection/components/Environment.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Environment.vue.js +27 -15
- package/dist/v2/features/collection/components/LabelInput.vue.d.ts +3 -0
- package/dist/v2/features/collection/components/LabelInput.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/LabelInput.vue.js +2 -2
- package/dist/v2/features/collection/components/LabelInput.vue2.js +20 -16
- package/dist/v2/features/collection/components/Overview.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Overview.vue.js +2 -2
- package/dist/v2/features/collection/components/Overview.vue2.js +68 -61
- package/dist/v2/features/collection/components/Servers.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Servers.vue.js +93 -88
- package/dist/v2/features/collection/components/Settings.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Settings.vue.js +19 -17
- package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.d.ts +7 -2
- package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.d.ts.map +1 -1
- package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.js +70 -71
- package/dist/v2/features/command-palette/components/{CommandPaletteDocument.vue.d.ts → CommandPaletteOpenApiDocument.vue.d.ts} +3 -3
- package/dist/v2/features/command-palette/components/CommandPaletteOpenApiDocument.vue.d.ts.map +1 -0
- package/dist/v2/features/command-palette/components/{CommandPaletteDocument.vue.js → CommandPaletteOpenApiDocument.vue.js} +15 -15
- package/dist/v2/features/command-palette/components/CommandPaletteOpenApiDocument.vue2.js +4 -0
- package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.d.ts +2 -2
- package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.d.ts.map +1 -1
- package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.js +10 -10
- package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.d.ts +27 -5
- package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.d.ts.map +1 -1
- package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.js +80 -53
- package/dist/v2/features/command-palette/hooks/use-command-palette-state.d.ts +34 -9
- package/dist/v2/features/command-palette/hooks/use-command-palette-state.d.ts.map +1 -1
- package/dist/v2/features/command-palette/hooks/use-command-palette-state.js +50 -44
- package/dist/v2/features/environments/EnvironmentsList.vue.js +1 -1
- package/dist/v2/features/global-cookies/components/CookiesTable.vue.d.ts.map +1 -1
- package/dist/v2/features/global-cookies/components/CookiesTable.vue.js +2 -2
- package/dist/v2/features/global-cookies/components/CookiesTable.vue2.js +8 -8
- package/dist/v2/features/modal/Modal.vue.d.ts.map +1 -1
- package/dist/v2/features/modal/Modal.vue.js +15 -15
- package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -1
- package/dist/v2/features/operation/Operation.vue.js +30 -33
- package/dist/v2/features/settings/CollectionSettings.vue.d.ts +10 -7
- package/dist/v2/features/settings/CollectionSettings.vue.d.ts.map +1 -1
- package/dist/v2/features/settings/CollectionSettings.vue.js +183 -149
- package/dist/v2/features/settings/DocumentSettings.vue.d.ts.map +1 -1
- package/dist/v2/features/settings/DocumentSettings.vue.js +88 -79
- package/dist/v2/features/settings/components/Section.vue.d.ts +2 -1
- package/dist/v2/features/settings/components/Section.vue.d.ts.map +1 -1
- package/dist/v2/features/settings/components/Section.vue.js +26 -15
- package/dist/v2/features/settings/helpers/get-theme-colors.d.ts +4 -3
- package/dist/v2/features/settings/helpers/get-theme-colors.d.ts.map +1 -1
- package/dist/v2/features/settings/helpers/get-theme-colors.js +6 -7
- package/dist/v2/helpers/handle-hotkeys.d.ts.map +1 -1
- package/dist/v2/helpers/handle-hotkeys.js +2 -2
- package/dist/v2/hooks/use-global-hot-keys.d.ts +3 -1
- package/dist/v2/hooks/use-global-hot-keys.d.ts.map +1 -1
- package/dist/v2/hooks/use-global-hot-keys.js +8 -6
- package/dist/v2/workspace-events.d.ts.map +1 -1
- package/dist/v2/workspace-events.js +132 -115
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/package.json +17 -16
- package/dist/v2/features/command-palette/components/CommandPaletteDocument.vue.d.ts.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteDocument.vue2.js +0 -4
|
@@ -1,55 +1,59 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useModal as x, ScalarTeleportRoot as
|
|
3
|
-
import { getThemeStyles as B } from "@scalar/themes";
|
|
1
|
+
import { defineComponent as b, computed as T, createBlock as m, openBlock as c, unref as t, withCtx as p, createElementVNode as i, createVNode as n, createElementBlock as d, renderSlot as v, createCommentVNode as g, normalizeProps as W, guardReactiveProps as y } from "vue";
|
|
2
|
+
import { useModal as x, ScalarTeleportRoot as B } from "@scalar/components";
|
|
4
3
|
import { ScalarToasts as C } from "@scalar/use-toasts";
|
|
5
|
-
import { extensions as
|
|
6
|
-
import { RouterView as
|
|
4
|
+
import { extensions as E } from "@scalar/workspace-store/schemas/extensions";
|
|
5
|
+
import { RouterView as O } from "vue-router";
|
|
7
6
|
import A from "./components/CreateWorkspaceModal.vue.js";
|
|
8
|
-
import
|
|
9
|
-
import { useDocumentWatcher as
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import {
|
|
13
|
-
import N from "
|
|
14
|
-
import P from "./components/
|
|
15
|
-
import
|
|
16
|
-
import { mergeSecurity as
|
|
17
|
-
const
|
|
18
|
-
|
|
19
|
-
class: "flex h-12 items-center justify-end border-b p-2"
|
|
20
|
-
}, z = { class: "bg-b-1 min-h-0 flex-1" }, K = { key: 1 }, q = {}, de = /* @__PURE__ */ y({
|
|
21
|
-
...q,
|
|
7
|
+
import M from "./components/SplashScreen.vue.js";
|
|
8
|
+
import { useDocumentWatcher as U } from "./hooks/use-document-watcher.js";
|
|
9
|
+
import { useTheme as _ } from "./hooks/use-theme.js";
|
|
10
|
+
import D from "../command-palette/TheCommandPalette.vue.js";
|
|
11
|
+
import { useColorMode as I } from "../../hooks/use-color-mode.js";
|
|
12
|
+
import { useGlobalHotKeys as N } from "../../hooks/use-global-hot-keys.js";
|
|
13
|
+
import P from "./components/AppSidebar.vue.js";
|
|
14
|
+
import H from "./components/DesktopTabs.vue.js";
|
|
15
|
+
import { mergeSecurity as L } from "../../blocks/scalar-auth-selector-block/helpers/merge-security.js";
|
|
16
|
+
const V = ["innerHTML"], $ = { key: 0 }, F = { class: "flex h-dvh w-dvw flex-1 flex-col" }, R = { class: "flex min-h-0 flex-1 flex-row" }, G = { class: "flex flex-1 flex-col" }, z = { class: "bg-b-1 min-h-0 flex-1" }, K = { key: 1 }, j = {}, ue = /* @__PURE__ */ b({
|
|
17
|
+
...j,
|
|
22
18
|
__name: "App",
|
|
23
19
|
props: {
|
|
24
20
|
layout: {},
|
|
25
21
|
plugins: { default: () => [] },
|
|
22
|
+
customThemes: { default: () => [] },
|
|
23
|
+
fallbackThemeSlug: { default: "default" },
|
|
26
24
|
getAppState: { type: Function },
|
|
27
25
|
getCommandPaletteState: { type: Function }
|
|
28
26
|
},
|
|
29
|
-
setup(
|
|
30
|
-
|
|
31
|
-
openCreateWorkspace: () =>
|
|
27
|
+
setup(o, { expose: k }) {
|
|
28
|
+
k({
|
|
29
|
+
openCreateWorkspace: () => l.show()
|
|
32
30
|
});
|
|
33
|
-
const e =
|
|
34
|
-
typeof window < "u" && (window.dataDumpWorkspace = () => e.store.value, window.dumpAppState = () => e),
|
|
35
|
-
documentName: () => e.store.value?.workspace[
|
|
31
|
+
const e = o.getAppState(), f = o.getCommandPaletteState();
|
|
32
|
+
typeof window < "u" && (window.dataDumpWorkspace = () => e.store.value, window.dumpAppState = () => e), N(e.eventBus, o.layout), U({
|
|
33
|
+
documentName: () => e.store.value?.workspace[E.workspace.activeDocument],
|
|
36
34
|
store: e.store,
|
|
37
35
|
initialTimeout: 5e3
|
|
38
|
-
}),
|
|
39
|
-
const
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
36
|
+
}), I({ workspaceStore: e.store });
|
|
37
|
+
const { themeStyleTag: w } = _({
|
|
38
|
+
fallbackThemeSlug: () => o.fallbackThemeSlug,
|
|
39
|
+
customThemes: () => o.customThemes,
|
|
40
|
+
store: e.store
|
|
41
|
+
}), u = (s, a) => {
|
|
42
|
+
e.eventBus.emit("ui:navigate", {
|
|
43
|
+
page: "workspace",
|
|
44
|
+
path: "environment",
|
|
45
|
+
namespace: s,
|
|
46
|
+
workspaceSlug: a
|
|
47
|
+
});
|
|
48
|
+
}, S = (s) => {
|
|
49
|
+
if (!s)
|
|
46
50
|
return;
|
|
47
|
-
const
|
|
48
|
-
(
|
|
51
|
+
const a = e.workspace.workspaceList.value?.find(
|
|
52
|
+
(r) => r.id === s
|
|
49
53
|
);
|
|
50
|
-
|
|
51
|
-
},
|
|
52
|
-
const
|
|
54
|
+
a && u(a.namespace, a.slug);
|
|
55
|
+
}, l = x(), h = T(() => {
|
|
56
|
+
const s = e.store.value?.auth ? L(
|
|
53
57
|
e.document.value?.components?.securitySchemes ?? {},
|
|
54
58
|
{},
|
|
55
59
|
e.store.value.auth,
|
|
@@ -61,73 +65,71 @@ const L = ["innerHTML"], V = { key: 0 }, F = { class: "flex h-dvh w-dvw flex-1 f
|
|
|
61
65
|
environment: e.environment.value,
|
|
62
66
|
eventBus: e.eventBus,
|
|
63
67
|
exampleName: e.activeEntities.exampleName.value,
|
|
64
|
-
layout:
|
|
68
|
+
layout: o.layout,
|
|
65
69
|
method: e.activeEntities.method.value,
|
|
66
70
|
path: e.activeEntities.path.value,
|
|
67
71
|
workspaceStore: e.store.value,
|
|
68
72
|
activeWorkspace: e.workspace.activeWorkspace.value,
|
|
69
|
-
plugins:
|
|
70
|
-
securitySchemes:
|
|
73
|
+
plugins: o.plugins,
|
|
74
|
+
securitySchemes: s,
|
|
75
|
+
customThemes: o.customThemes
|
|
71
76
|
};
|
|
72
77
|
});
|
|
73
|
-
return (
|
|
74
|
-
default:
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
t(e).store.value !== null && t(e).workspace.activeWorkspace.value !== null && !t(e).loading.value ? (
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
activeTabIndex: t(e).tabs.activeTabIndex.value,
|
|
82
|
-
eventBus: t(e).eventBus,
|
|
83
|
-
tabs: t(e).tabs.state.value
|
|
84
|
-
}, null, 8, ["activeTabIndex", "eventBus", "tabs"])) : k("", !0),
|
|
85
|
-
l("div", R, [
|
|
86
|
-
r(N, {
|
|
78
|
+
return (s, a) => (c(), m(t(B), null, {
|
|
79
|
+
default: p(() => [
|
|
80
|
+
i("div", { innerHTML: t(w) }, null, 8, V),
|
|
81
|
+
n(t(C)),
|
|
82
|
+
t(e).store.value !== null && t(e).workspace.activeWorkspace.value !== null && !t(e).loading.value ? (c(), d("main", $, [
|
|
83
|
+
i("div", F, [
|
|
84
|
+
i("div", R, [
|
|
85
|
+
n(P, {
|
|
87
86
|
isSidebarOpen: t(e).sidebar.isOpen.value,
|
|
88
|
-
"onUpdate:isSidebarOpen":
|
|
87
|
+
"onUpdate:isSidebarOpen": a[0] || (a[0] = (r) => t(e).sidebar.isOpen.value = r),
|
|
89
88
|
activeWorkspace: t(e).workspace.activeWorkspace.value,
|
|
90
89
|
eventBus: t(e).eventBus,
|
|
91
90
|
isWorkspaceOpen: t(e).workspace.isOpen.value,
|
|
92
|
-
layout:
|
|
91
|
+
layout: o.layout,
|
|
93
92
|
sidebarState: t(e).sidebar.state,
|
|
94
93
|
sidebarWidth: t(e).sidebar.width.value,
|
|
95
94
|
store: t(e).store.value,
|
|
96
95
|
workspaces: t(e).workspace.workspaceGroups.value,
|
|
97
|
-
"onClick:workspace":
|
|
98
|
-
"onCreate:workspace":
|
|
99
|
-
"onSelect:workspace":
|
|
96
|
+
"onClick:workspace": u,
|
|
97
|
+
"onCreate:workspace": a[1] || (a[1] = (r) => t(l).show()),
|
|
98
|
+
"onSelect:workspace": S,
|
|
100
99
|
onSelectItem: t(e).sidebar.handleSelectItem,
|
|
101
100
|
"onUpdate:sidebarWidth": t(e).sidebar.handleSidebarWidthUpdate
|
|
102
101
|
}, {
|
|
103
|
-
sidebarMenuActions:
|
|
104
|
-
v(
|
|
102
|
+
sidebarMenuActions: p(() => [
|
|
103
|
+
v(s.$slots, "sidebar-menu-actions")
|
|
105
104
|
]),
|
|
106
105
|
_: 3
|
|
107
|
-
}, 8, ["isSidebarOpen", "activeWorkspace", "eventBus", "isWorkspaceOpen", "layout", "sidebarState", "sidebarWidth", "store", "workspaces", "
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
106
|
+
}, 8, ["isSidebarOpen", "activeWorkspace", "eventBus", "isWorkspaceOpen", "layout", "sidebarState", "sidebarWidth", "store", "workspaces", "onSelectItem", "onUpdate:sidebarWidth"]),
|
|
107
|
+
i("div", G, [
|
|
108
|
+
o.layout === "desktop" ? (c(), m(H, {
|
|
109
|
+
key: 0,
|
|
110
|
+
activeTabIndex: t(e).tabs.activeTabIndex.value,
|
|
111
|
+
eventBus: t(e).eventBus,
|
|
112
|
+
tabs: t(e).tabs.state.value
|
|
113
|
+
}, null, 8, ["activeTabIndex", "eventBus", "tabs"])) : g("", !0),
|
|
114
|
+
i("div", z, [
|
|
115
|
+
n(t(O), W(y(h.value)), null, 16)
|
|
114
116
|
])
|
|
115
117
|
])
|
|
116
118
|
])
|
|
117
119
|
]),
|
|
118
|
-
v(
|
|
119
|
-
|
|
120
|
-
state: t(
|
|
121
|
-
"onCreate:workspace":
|
|
120
|
+
v(s.$slots, "create-workspace", { state: t(l) }, () => [
|
|
121
|
+
n(A, {
|
|
122
|
+
state: t(l),
|
|
123
|
+
"onCreate:workspace": a[2] || (a[2] = (r) => t(e).workspace.create(r))
|
|
122
124
|
}, null, 8, ["state"])
|
|
123
125
|
]),
|
|
124
|
-
|
|
126
|
+
n(D, {
|
|
125
127
|
eventBus: t(e).eventBus,
|
|
126
|
-
paletteState: t(
|
|
128
|
+
paletteState: t(f),
|
|
127
129
|
workspaceStore: t(e).store.value
|
|
128
130
|
}, null, 8, ["eventBus", "paletteState", "workspaceStore"])
|
|
129
|
-
])) : (
|
|
130
|
-
|
|
131
|
+
])) : (c(), d("main", K, [
|
|
132
|
+
n(M)
|
|
131
133
|
]))
|
|
132
134
|
]),
|
|
133
135
|
_: 3
|
|
@@ -135,5 +137,5 @@ const L = ["innerHTML"], V = { key: 0 }, F = { class: "flex h-dvh w-dvw flex-1 f
|
|
|
135
137
|
}
|
|
136
138
|
});
|
|
137
139
|
export {
|
|
138
|
-
|
|
140
|
+
ue as default
|
|
139
141
|
};
|
|
@@ -2,7 +2,7 @@ import type { WorkspaceStore } from '@scalar/workspace-store/client';
|
|
|
2
2
|
import type { OperationExampleMeta, WorkspaceEventBus } from '@scalar/workspace-store/events';
|
|
3
3
|
import { type ShallowRef } from 'vue';
|
|
4
4
|
import { type Router } from 'vue-router';
|
|
5
|
-
export declare function initializeAppEventHandlers({ eventBus, store, router, rebuildSidebar, navigateToCurrentTab, onSelectSidebarItem, onAfterExampleCreation, onCopyTabUrl, onToggleSidebar, }: {
|
|
5
|
+
export declare function initializeAppEventHandlers({ eventBus, store, router, rebuildSidebar, navigateToCurrentTab, onSelectSidebarItem, onAfterExampleCreation, onCopyTabUrl, onToggleSidebar, renameWorkspace, }: {
|
|
6
6
|
eventBus: WorkspaceEventBus;
|
|
7
7
|
store: ShallowRef<WorkspaceStore | null>;
|
|
8
8
|
router: Router;
|
|
@@ -12,5 +12,6 @@ export declare function initializeAppEventHandlers({ eventBus, store, router, re
|
|
|
12
12
|
onAfterExampleCreation: (o: OperationExampleMeta) => void;
|
|
13
13
|
onCopyTabUrl: (tabIndex: number) => void;
|
|
14
14
|
onToggleSidebar: () => void;
|
|
15
|
+
renameWorkspace: (name: string) => Promise<void>;
|
|
15
16
|
}): void;
|
|
16
17
|
//# sourceMappingURL=app-events.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-events.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/app/app-events.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,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cAAc,EACd,oBAAoB,EACpB,mBAAmB,EACnB,sBAAsB,EACtB,YAAY,EACZ,eAAe,EACf,eAAe,GAChB,EAAE;IACD,QAAQ,EAAE,iBAAiB,CAAA;IAC3B,KAAK,EAAE,UAAU,CAAC,cAAc,GAAG,IAAI,CAAC,CAAA;IACxC,MAAM,EAAE,MAAM,CAAA;IACd,cAAc,EAAE,CAAC,YAAY,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IAC/C,oBAAoB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IACzC,mBAAmB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IACzC,sBAAsB,EAAE,CAAC,CAAC,EAAE,oBAAoB,KAAK,IAAI,CAAA;IACzD,YAAY,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;IACxC,eAAe,EAAE,MAAM,IAAI,CAAA;IAC3B,eAAe,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;CACjD,QA6TA"}
|
|
@@ -1,33 +1,34 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { NavigationFailureType as
|
|
3
|
-
import { initializeWorkspaceEventHandlers as
|
|
4
|
-
function
|
|
5
|
-
eventBus:
|
|
6
|
-
store:
|
|
7
|
-
router:
|
|
1
|
+
import { computed as w } from "vue";
|
|
2
|
+
import { NavigationFailureType as v } from "vue-router";
|
|
3
|
+
import { initializeWorkspaceEventHandlers as k } from "../../workspace-events.js";
|
|
4
|
+
function S({
|
|
5
|
+
eventBus: r,
|
|
6
|
+
store: f,
|
|
7
|
+
router: m,
|
|
8
8
|
rebuildSidebar: u,
|
|
9
|
-
navigateToCurrentTab:
|
|
10
|
-
onSelectSidebarItem:
|
|
9
|
+
navigateToCurrentTab: o,
|
|
10
|
+
onSelectSidebarItem: d,
|
|
11
11
|
onAfterExampleCreation: i,
|
|
12
|
-
onCopyTabUrl:
|
|
13
|
-
onToggleSidebar:
|
|
12
|
+
onCopyTabUrl: l,
|
|
13
|
+
onToggleSidebar: x,
|
|
14
|
+
renameWorkspace: h
|
|
14
15
|
}) {
|
|
15
|
-
const
|
|
16
|
+
const s = w(() => m.currentRoute?.value), p = ({
|
|
16
17
|
documentName: e,
|
|
17
|
-
path:
|
|
18
|
+
path: c,
|
|
18
19
|
method: t,
|
|
19
|
-
exampleName:
|
|
20
|
-
}) => !(e !== void 0 && e !==
|
|
21
|
-
|
|
22
|
-
eventBus:
|
|
23
|
-
store:
|
|
20
|
+
exampleName: a
|
|
21
|
+
}) => !(e !== void 0 && e !== s.value?.params.documentSlug || c !== void 0 && encodeURIComponent(c) !== s.value?.params.pathEncoded || t !== void 0 && t !== s.value?.params.method || a !== void 0 && a !== s.value?.params.exampleName);
|
|
22
|
+
k({
|
|
23
|
+
eventBus: r,
|
|
24
|
+
store: f,
|
|
24
25
|
hooks: {
|
|
25
26
|
//------------------------------------------------------------------------------------
|
|
26
27
|
// Document Related Hooks
|
|
27
28
|
//------------------------------------------------------------------------------------
|
|
28
29
|
"document:delete:document": {
|
|
29
30
|
onAfterExecute: async (e) => {
|
|
30
|
-
|
|
31
|
+
s?.value?.params.documentSlug === e.name && await m.push({
|
|
31
32
|
name: "workspace.environment"
|
|
32
33
|
});
|
|
33
34
|
}
|
|
@@ -38,15 +39,15 @@ function A({
|
|
|
38
39
|
"operation:update:pathMethod": {
|
|
39
40
|
onBeforeExecute: (e) => ({
|
|
40
41
|
...e,
|
|
41
|
-
callback: async (
|
|
42
|
-
|
|
42
|
+
callback: async (c) => {
|
|
43
|
+
c === "success" && (await m.replace({
|
|
43
44
|
name: "example",
|
|
44
45
|
params: {
|
|
45
46
|
method: e.payload.method,
|
|
46
47
|
pathEncoded: encodeURIComponent(e.payload.path),
|
|
47
|
-
exampleName:
|
|
48
|
+
exampleName: s.value?.params.exampleName
|
|
48
49
|
}
|
|
49
|
-
}), u(
|
|
50
|
+
}), u(f.value?.workspace.activeDocument?.["x-scalar-navigation"]?.name)), e.callback(c);
|
|
50
51
|
}
|
|
51
52
|
})
|
|
52
53
|
},
|
|
@@ -63,17 +64,30 @@ function A({
|
|
|
63
64
|
onAfterExecute: async (e) => {
|
|
64
65
|
u(e.documentName);
|
|
65
66
|
const {
|
|
66
|
-
documentName:
|
|
67
|
-
meta: { path: t, method:
|
|
67
|
+
documentName: c,
|
|
68
|
+
meta: { path: t, method: a }
|
|
68
69
|
} = e;
|
|
69
70
|
p({
|
|
70
|
-
documentName:
|
|
71
|
+
documentName: c,
|
|
71
72
|
path: t,
|
|
72
|
-
method:
|
|
73
|
-
}) && await
|
|
73
|
+
method: a
|
|
74
|
+
}) && await m.replace({
|
|
74
75
|
name: "document.overview",
|
|
75
76
|
params: {
|
|
76
|
-
documentSlug:
|
|
77
|
+
documentSlug: c
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"operation:create:draft-example": {
|
|
83
|
+
onAfterExecute: async (e) => {
|
|
84
|
+
i({ ...e.meta, exampleKey: e.exampleName }), await m.push({
|
|
85
|
+
name: "example",
|
|
86
|
+
params: {
|
|
87
|
+
documentSlug: e.documentName,
|
|
88
|
+
pathEncoded: encodeURIComponent(e.meta.path),
|
|
89
|
+
method: e.meta.method,
|
|
90
|
+
exampleName: e.exampleName
|
|
77
91
|
}
|
|
78
92
|
});
|
|
79
93
|
}
|
|
@@ -82,20 +96,20 @@ function A({
|
|
|
82
96
|
onAfterExecute: async (e) => {
|
|
83
97
|
u(e.documentName);
|
|
84
98
|
const {
|
|
85
|
-
documentName:
|
|
86
|
-
meta: { path: t, method:
|
|
99
|
+
documentName: c,
|
|
100
|
+
meta: { path: t, method: a, exampleKey: n }
|
|
87
101
|
} = e;
|
|
88
102
|
p({
|
|
89
|
-
documentName:
|
|
103
|
+
documentName: c,
|
|
90
104
|
path: t,
|
|
91
|
-
method:
|
|
92
|
-
exampleName:
|
|
93
|
-
}) && await
|
|
105
|
+
method: a,
|
|
106
|
+
exampleName: n
|
|
107
|
+
}) && await m.replace({
|
|
94
108
|
name: "example",
|
|
95
109
|
params: {
|
|
96
110
|
pathEncoded: encodeURIComponent(t),
|
|
97
|
-
method:
|
|
98
|
-
documentSlug:
|
|
111
|
+
method: a,
|
|
112
|
+
documentSlug: c,
|
|
99
113
|
exampleName: "default"
|
|
100
114
|
}
|
|
101
115
|
});
|
|
@@ -116,6 +130,17 @@ function A({
|
|
|
116
130
|
"tag:create:tag": {
|
|
117
131
|
onAfterExecute: (e) => u(e.documentName)
|
|
118
132
|
},
|
|
133
|
+
"tag:edit:tag": {
|
|
134
|
+
onAfterExecute: async (e) => {
|
|
135
|
+
u(e.documentName), e.tag.children?.some(
|
|
136
|
+
(t) => t.type === "operation" && p({
|
|
137
|
+
documentName: e.documentName,
|
|
138
|
+
path: t.path,
|
|
139
|
+
method: t.method
|
|
140
|
+
})
|
|
141
|
+
) && await m.replace({ ...s.value });
|
|
142
|
+
}
|
|
143
|
+
},
|
|
119
144
|
"tag:delete:tag": {
|
|
120
145
|
onAfterExecute: (e) => u(e.documentName)
|
|
121
146
|
},
|
|
@@ -123,64 +148,64 @@ function A({
|
|
|
123
148
|
// Tabs Related Event Hooks
|
|
124
149
|
//------------------------------------------------------------------------------------
|
|
125
150
|
"tabs:add:tab": {
|
|
126
|
-
onAfterExecute:
|
|
151
|
+
onAfterExecute: o
|
|
127
152
|
},
|
|
128
153
|
"tabs:close:tab": {
|
|
129
|
-
onAfterExecute:
|
|
154
|
+
onAfterExecute: o
|
|
130
155
|
},
|
|
131
156
|
"tabs:focus:tab": {
|
|
132
|
-
onAfterExecute:
|
|
157
|
+
onAfterExecute: o
|
|
133
158
|
},
|
|
134
159
|
"tabs:focus:tab-last": {
|
|
135
|
-
onAfterExecute:
|
|
160
|
+
onAfterExecute: o
|
|
136
161
|
},
|
|
137
162
|
"tabs:navigate:previous": {
|
|
138
|
-
onAfterExecute:
|
|
163
|
+
onAfterExecute: o
|
|
139
164
|
},
|
|
140
165
|
"tabs:navigate:next": {
|
|
141
|
-
onAfterExecute:
|
|
166
|
+
onAfterExecute: o
|
|
142
167
|
},
|
|
143
168
|
"tabs:update:tabs": {
|
|
144
|
-
onAfterExecute:
|
|
169
|
+
onAfterExecute: o
|
|
145
170
|
}
|
|
146
171
|
}
|
|
147
|
-
}),
|
|
148
|
-
const a = (
|
|
149
|
-
if (!
|
|
172
|
+
}), r.on("workspace:update:name", (e) => h(e)), r.on("scroll-to:nav-item", ({ id: e }) => d(e)), r.on("ui:toggle:sidebar", x), r.on("ui:navigate", async (e) => {
|
|
173
|
+
const { replace: c = !1 } = e, t = c ? m.replace : m.push, a = (n) => {
|
|
174
|
+
if (!n)
|
|
150
175
|
return e.callback?.("success");
|
|
151
|
-
const
|
|
152
|
-
return
|
|
176
|
+
const g = v.duplicated;
|
|
177
|
+
return n.type !== g ? e.callback?.("error") : e.callback?.("success");
|
|
153
178
|
};
|
|
154
179
|
if (e.page === "document") {
|
|
155
|
-
const
|
|
180
|
+
const n = {
|
|
156
181
|
documentSlug: e.documentSlug,
|
|
157
182
|
workspaceSlug: e.workspaceSlug,
|
|
158
183
|
namespace: e.namespace
|
|
159
184
|
};
|
|
160
185
|
if (e.path === "overview")
|
|
161
|
-
return a(await
|
|
186
|
+
return a(await t({ name: "document.overview", params: n }));
|
|
162
187
|
if (e.path === "servers")
|
|
163
|
-
return a(await
|
|
188
|
+
return a(await t({ name: "document.servers", params: n }));
|
|
164
189
|
if (e.path === "environment")
|
|
165
|
-
return a(await
|
|
190
|
+
return a(await t({ name: "document.environment", params: n }));
|
|
166
191
|
if (e.path === "authentication")
|
|
167
|
-
return a(await
|
|
192
|
+
return a(await t({ name: "document.authentication", params: n }));
|
|
168
193
|
if (e.path === "cookies")
|
|
169
|
-
return a(await
|
|
194
|
+
return a(await t({ name: "document.cookies", params: n }));
|
|
170
195
|
if (e.path === "settings")
|
|
171
|
-
return a(await
|
|
196
|
+
return a(await t({ name: "document.settings", params: n }));
|
|
172
197
|
}
|
|
173
198
|
if (e.page === "workspace") {
|
|
174
|
-
const
|
|
199
|
+
const n = { workspaceSlug: e.workspaceSlug, namespace: e.namespace };
|
|
175
200
|
if (e.path === "environment")
|
|
176
|
-
return a(await
|
|
201
|
+
return a(await t({ name: "workspace.environment", params: n }));
|
|
177
202
|
if (e.path === "cookies")
|
|
178
|
-
return a(await
|
|
203
|
+
return a(await t({ name: "workspace.cookies", params: n }));
|
|
179
204
|
if (e.path === "settings")
|
|
180
|
-
return a(await
|
|
205
|
+
return a(await t({ name: "workspace.settings", params: n }));
|
|
181
206
|
}
|
|
182
207
|
if (e.page === "example") {
|
|
183
|
-
const
|
|
208
|
+
const n = {
|
|
184
209
|
namespace: e.namespace,
|
|
185
210
|
workspaceSlug: e.workspaceSlug,
|
|
186
211
|
documentSlug: e.documentSlug,
|
|
@@ -188,10 +213,10 @@ function A({
|
|
|
188
213
|
method: e.method,
|
|
189
214
|
exampleName: e.exampleName
|
|
190
215
|
};
|
|
191
|
-
return a(await
|
|
216
|
+
return a(await t({ name: "example", params: n }));
|
|
192
217
|
}
|
|
193
|
-
}),
|
|
218
|
+
}), r.on("tabs:copy:url", (e) => l(e.index));
|
|
194
219
|
}
|
|
195
220
|
export {
|
|
196
|
-
|
|
221
|
+
S as initializeAppEventHandlers
|
|
197
222
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-state.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/app/app-state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AAG7E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAA;AACnE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;
|
|
1
|
+
{"version":3,"file":"app-state.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/app/app-state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAA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