@scalar/api-client 2.34.0 → 2.36.0
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 +82 -0
- package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutSection.vue.js +1 -1
- package/dist/style.css +1 -1
- package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/OperationBlock.vue.js +88 -80
- package/dist/v2/blocks/operation-block/helpers/de-serialize-parameter.js +6 -4
- package/dist/v2/blocks/operation-block/helpers/validate-path-parameters.d.ts +16 -0
- package/dist/v2/blocks/operation-block/helpers/validate-path-parameters.d.ts.map +1 -0
- package/dist/v2/blocks/operation-block/helpers/validate-path-parameters.js +17 -0
- package/dist/v2/blocks/operation-code-sample/helpers/get-example-from-schema.d.ts.map +1 -1
- package/dist/v2/blocks/operation-code-sample/helpers/get-example-from-schema.js +90 -84
- package/dist/v2/blocks/request-block/helpers/get-default-headers.js +1 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/EnvironmentSelector.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/EnvironmentSelector.vue.js +76 -50
- package/dist/v2/components/sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/v2/components/sidebar/Sidebar.vue.js +25 -23
- package/dist/v2/features/app/App.vue.d.ts.map +1 -1
- package/dist/v2/features/app/App.vue.js +41 -35
- package/dist/v2/features/app/app-events.d.ts +5 -2
- package/dist/v2/features/app/app-events.d.ts.map +1 -1
- package/dist/v2/features/app/app-events.js +58 -44
- package/dist/v2/features/app/app-state.d.ts.map +1 -1
- package/dist/v2/features/app/app-state.js +82 -80
- package/dist/v2/features/app/components/AppSidebar.vue.d.ts.map +1 -1
- package/dist/v2/features/app/components/AppSidebar.vue.js +2 -2
- package/dist/v2/features/app/components/AppSidebar.vue2.js +78 -76
- package/dist/v2/features/app/components/SidebarItemMenu.vue.d.ts.map +1 -1
- package/dist/v2/features/app/components/SidebarItemMenu.vue.js +73 -45
- package/dist/v2/features/collection/DocumentCollection.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/DocumentCollection.vue.js +20 -20
- package/dist/v2/features/collection/OperationCollection.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/OperationCollection.vue.js +7 -7
- package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/WorkspaceCollection.vue.js +5 -4
- package/dist/v2/features/collection/components/Authentication.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Authentication.vue.js +1 -1
- package/dist/v2/features/collection/components/Authentication.vue2.js +84 -66
- 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 +1 -1
- package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.d.ts +5 -0
- package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.d.ts.map +1 -1
- package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.js +131 -96
- package/dist/v2/features/command-palette/hooks/use-command-palette-state.d.ts +25 -0
- 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 +42 -36
- package/dist/v2/features/operation/Operation.vue.js +1 -1
- package/dist/v2/workspace-events.d.ts.map +1 -1
- package/dist/v2/workspace-events.js +8 -5
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/package.json +17 -17
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as V, mergeModels as S, useSlots as
|
|
2
|
-
import { ScalarIconButton as
|
|
3
|
-
import { ScalarIconFileDashed as
|
|
4
|
-
import { ScalarSidebar as
|
|
5
|
-
import
|
|
6
|
-
import { useSearchIndex as
|
|
7
|
-
import
|
|
8
|
-
const
|
|
1
|
+
import { defineComponent as V, mergeModels as S, useSlots as B, ref as C, useModel as M, computed as h, createBlock as m, openBlock as r, unref as l, withCtx as s, createVNode as y, createSlots as E, renderSlot as i, createElementBlock as g, createCommentVNode as u, Fragment as z, normalizeProps as f, guardReactiveProps as p, createElementVNode as w, normalizeClass as N, isRef as R } from "vue";
|
|
2
|
+
import { ScalarIconButton as F, ScalarSidebarSearchInput as q } from "@scalar/components";
|
|
3
|
+
import { ScalarIconFileDashed as A, ScalarIconMagnifyingGlass as U } from "@scalar/icons";
|
|
4
|
+
import { ScalarSidebar as j } from "@scalar/sidebar";
|
|
5
|
+
import G from "./SidebarMenu.vue.js";
|
|
6
|
+
import { useSearchIndex as H } from "../../features/search/hooks/use-search-index.js";
|
|
7
|
+
import J from "../resize/Resize.vue.js";
|
|
8
|
+
const K = { class: "flex items-center justify-between" }, L = { key: 1 }, _ = /* @__PURE__ */ V({
|
|
9
9
|
__name: "Sidebar",
|
|
10
10
|
props: /* @__PURE__ */ S({
|
|
11
11
|
sidebarState: {},
|
|
@@ -23,16 +23,16 @@ const J = { class: "bg-sidebar-b-1 z-1 flex flex-col gap-1.5 px-3 pb-1.5" }, K =
|
|
|
23
23
|
}),
|
|
24
24
|
emits: /* @__PURE__ */ S(["selectItem", "select:workspace", "create:workspace", "reorder", "navigate:to:settings"], ["update:sidebarWidth"]),
|
|
25
25
|
setup(a, { emit: x }) {
|
|
26
|
-
const n = x, b =
|
|
26
|
+
const n = x, b = B(), d = C(!1), v = M(a, "sidebarWidth"), k = (o) => o.type === "example" && o.title === "draft", { query: c, results: $ } = H(() => a.documents), I = h(() => $.value ?? a.sidebarState.items.value), W = (o) => {
|
|
27
27
|
n("selectItem", o), c.value = "", d.value = !1;
|
|
28
28
|
};
|
|
29
|
-
return (o, t) => (
|
|
29
|
+
return (o, t) => (r(), m(l(J), {
|
|
30
30
|
width: v.value,
|
|
31
31
|
"onUpdate:width": t[6] || (t[6] = (e) => v.value = e),
|
|
32
32
|
class: "flex flex-col"
|
|
33
33
|
}, {
|
|
34
34
|
default: s(() => [
|
|
35
|
-
y(
|
|
35
|
+
y(l(j), {
|
|
36
36
|
class: "mac:pt-10 flex w-auto flex-1 pt-2",
|
|
37
37
|
indent: 20,
|
|
38
38
|
isDraggable: a.layout !== "modal",
|
|
@@ -45,9 +45,11 @@ const J = { class: "bg-sidebar-b-1 z-1 flex flex-col gap-1.5 px-3 pb-1.5" }, K =
|
|
|
45
45
|
onSelectItem: W
|
|
46
46
|
}, E({
|
|
47
47
|
header: s(() => [
|
|
48
|
-
w("div",
|
|
48
|
+
w("div", {
|
|
49
|
+
class: N(["bg-sidebar-b-1 z-1 flex flex-col gap-1.5 px-3 pb-1.5", { "max-md:pt-12": a.layout !== "modal" }])
|
|
50
|
+
}, [
|
|
49
51
|
w("div", K, [
|
|
50
|
-
a.layout !== "modal" ? (
|
|
52
|
+
a.layout !== "modal" ? (r(), m(G, {
|
|
51
53
|
key: 0,
|
|
52
54
|
activeWorkspace: a.activeWorkspace,
|
|
53
55
|
workspaces: a.workspaces,
|
|
@@ -59,29 +61,29 @@ const J = { class: "bg-sidebar-b-1 z-1 flex flex-col gap-1.5 px-3 pb-1.5" }, K =
|
|
|
59
61
|
i(o.$slots, "sidebarMenuActions")
|
|
60
62
|
]),
|
|
61
63
|
_: 3
|
|
62
|
-
}, 8, ["activeWorkspace", "workspaces"])) : a.layout === "modal" ? (
|
|
63
|
-
y(
|
|
64
|
-
icon:
|
|
64
|
+
}, 8, ["activeWorkspace", "workspaces"])) : a.layout === "modal" ? (r(), g("div", L)) : u("", !0),
|
|
65
|
+
y(l(F), {
|
|
66
|
+
icon: l(U),
|
|
65
67
|
label: "Search",
|
|
66
68
|
onClick: t[3] || (t[3] = (e) => d.value = !d.value)
|
|
67
69
|
}, null, 8, ["icon"])
|
|
68
70
|
]),
|
|
69
|
-
d.value ? (
|
|
71
|
+
d.value ? (r(), m(l(q), {
|
|
70
72
|
key: 0,
|
|
71
|
-
modelValue:
|
|
73
|
+
modelValue: l(c),
|
|
72
74
|
"onUpdate:modelValue": t[4] || (t[4] = (e) => R(c) ? c.value = e : null),
|
|
73
75
|
autofocus: ""
|
|
74
|
-
}, null, 8, ["modelValue"])) :
|
|
75
|
-
])
|
|
76
|
+
}, null, 8, ["modelValue"])) : u("", !0)
|
|
77
|
+
], 2)
|
|
76
78
|
]),
|
|
77
79
|
decorator: s((e) => [
|
|
78
80
|
i(o.$slots, "decorator", f(p(e)))
|
|
79
81
|
]),
|
|
80
82
|
icon: s((e) => [
|
|
81
|
-
b.icon || k(e.item) ? (
|
|
82
|
-
k(e.item) ? (
|
|
83
|
+
b.icon || k(e.item) ? (r(), g(z, { key: 0 }, [
|
|
84
|
+
k(e.item) ? (r(), m(l(A), { key: 0 })) : u("", !0),
|
|
83
85
|
i(o.$slots, "icon", f(p(e)))
|
|
84
|
-
], 64)) :
|
|
86
|
+
], 64)) : u("", !0)
|
|
85
87
|
]),
|
|
86
88
|
before: s(() => [
|
|
87
89
|
i(o.$slots, "workspaceButton")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"App.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/app/App.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"App.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/app/App.vue"],"names":[],"mappings":"AAgPA,OAAO,EAGL,KAAK,UAAU,EAChB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAY7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,+DAA+D,CAAA;AAIxG,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAErD,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,aAAa,CAAA;AAK3C;;;;GAIG;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AAGzC,QAAA,MAAM,YAAY;YAER,OAAO,CAAC,YAAY,EAAE,OAAO,CAAC;cAC5B,YAAY,EAAE;iBACX,MAAM,QAAQ;4BACH,MAAM,mBAAmB;;;;YAHzC,OAAO,CAAC,YAAY,EAAE,OAAO,CAAC;cAC5B,YAAY,EAAE;iBACX,MAAM,QAAQ;4BACH,MAAM,mBAAmB;;IAWjD;;;OAGG;4BACqB,MAAM,OAAO;IACrC;;;OAGG;yBACkB,CAAC,OAAO,EAAE;QAAE,KAAK,EAAE,UAAU,CAAA;KAAE,KAAK,OAAO;EAmV9D,CAAC;AACL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -2,18 +2,19 @@ import { defineComponent as h, computed as b, toValue as T, createBlock as p, op
|
|
|
2
2
|
import { useModal as x, ScalarTeleportRoot as B } from "@scalar/components";
|
|
3
3
|
import { ScalarToasts as _ } from "@scalar/use-toasts";
|
|
4
4
|
import { extensions as C } from "@scalar/workspace-store/schemas/extensions";
|
|
5
|
-
import { RouterView as
|
|
6
|
-
import
|
|
5
|
+
import { RouterView as O } from "vue-router";
|
|
6
|
+
import E from "./components/CreateWorkspaceModal.vue.js";
|
|
7
7
|
import M from "./components/SplashScreen.vue.js";
|
|
8
8
|
import { useDocumentWatcher as A } from "./hooks/use-document-watcher.js";
|
|
9
|
-
import
|
|
10
|
-
import { useColorMode as
|
|
11
|
-
import { useGlobalHotKeys as
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import { mergeSecurity as
|
|
15
|
-
|
|
16
|
-
|
|
9
|
+
import U from "../command-palette/TheCommandPalette.vue.js";
|
|
10
|
+
import { useColorMode as D } from "../../hooks/use-color-mode.js";
|
|
11
|
+
import { useGlobalHotKeys as V } from "../../hooks/use-global-hot-keys.js";
|
|
12
|
+
import I from "./components/AppSidebar.vue.js";
|
|
13
|
+
import N from "./components/DesktopTabs.vue.js";
|
|
14
|
+
import { mergeSecurity as P } from "../../blocks/scalar-auth-selector-block/helpers/merge-security.js";
|
|
15
|
+
import $ from "../../components/sidebar/SidebarToggle.vue.js";
|
|
16
|
+
const H = ["innerHTML"], L = { key: 0 }, F = { class: "relative flex h-dvh w-dvw flex-1 flex-col" }, R = { class: "flex min-h-0 flex-1 flex-row" }, z = { class: "flex flex-1 flex-col" }, G = { class: "bg-b-1 min-h-0 flex-1" }, K = { key: 1 }, j = {}, ce = /* @__PURE__ */ h({
|
|
17
|
+
...j,
|
|
17
18
|
__name: "App",
|
|
18
19
|
props: {
|
|
19
20
|
layout: {},
|
|
@@ -21,16 +22,16 @@ const H = ["innerHTML"], L = { key: 0 }, $ = { class: "flex h-dvh w-dvw flex-1 f
|
|
|
21
22
|
getAppState: { type: Function },
|
|
22
23
|
getCommandPaletteState: { type: Function }
|
|
23
24
|
},
|
|
24
|
-
setup(
|
|
25
|
+
setup(r, { expose: k }) {
|
|
25
26
|
k({
|
|
26
27
|
openCreateWorkspace: () => l.show()
|
|
27
28
|
});
|
|
28
|
-
const e =
|
|
29
|
-
typeof window < "u" && (window.dataDumpWorkspace = () => e.store.value, window.dumpAppState = () => e),
|
|
29
|
+
const e = r.getAppState(), f = r.getCommandPaletteState();
|
|
30
|
+
typeof window < "u" && (window.dataDumpWorkspace = () => e.store.value, window.dumpAppState = () => e), V(e.eventBus, r.layout), A({
|
|
30
31
|
documentName: () => e.store.value?.workspace[C.workspace.activeDocument],
|
|
31
32
|
store: e.store,
|
|
32
33
|
initialTimeout: 5e3
|
|
33
|
-
}),
|
|
34
|
+
}), D({ workspaceStore: e.store });
|
|
34
35
|
const c = (o, a) => {
|
|
35
36
|
e.eventBus.emit("ui:navigate", {
|
|
36
37
|
page: "workspace",
|
|
@@ -38,15 +39,15 @@ const H = ["innerHTML"], L = { key: 0 }, $ = { class: "flex h-dvh w-dvw flex-1 f
|
|
|
38
39
|
namespace: o,
|
|
39
40
|
workspaceSlug: a
|
|
40
41
|
});
|
|
41
|
-
},
|
|
42
|
+
}, w = (o) => {
|
|
42
43
|
if (!o)
|
|
43
44
|
return;
|
|
44
45
|
const a = e.workspace.workspaceList.value?.find(
|
|
45
|
-
(
|
|
46
|
+
(s) => s.id === o
|
|
46
47
|
);
|
|
47
48
|
a && c(a.namespace, a.slug);
|
|
48
49
|
}, l = x(), S = b(() => {
|
|
49
|
-
const o = e.store.value?.auth ?
|
|
50
|
+
const o = e.store.value?.auth ? P(
|
|
50
51
|
e.document.value?.components?.securitySchemes ?? {},
|
|
51
52
|
{},
|
|
52
53
|
e.store.value.auth,
|
|
@@ -58,12 +59,12 @@ const H = ["innerHTML"], L = { key: 0 }, $ = { class: "flex h-dvh w-dvw flex-1 f
|
|
|
58
59
|
environment: e.environment.value,
|
|
59
60
|
eventBus: e.eventBus,
|
|
60
61
|
exampleName: e.activeEntities.exampleName.value,
|
|
61
|
-
layout:
|
|
62
|
+
layout: r.layout,
|
|
62
63
|
method: e.activeEntities.method.value,
|
|
63
64
|
path: e.activeEntities.path.value,
|
|
64
65
|
workspaceStore: e.store.value,
|
|
65
66
|
activeWorkspace: e.workspace.activeWorkspace.value,
|
|
66
|
-
plugins:
|
|
67
|
+
plugins: r.plugins,
|
|
67
68
|
securitySchemes: o,
|
|
68
69
|
isDarkMode: e.isDarkMode.value,
|
|
69
70
|
currentTheme: e.theme.styles.value.themeStyles,
|
|
@@ -77,22 +78,27 @@ const H = ["innerHTML"], L = { key: 0 }, $ = { class: "flex h-dvh w-dvw flex-1 f
|
|
|
77
78
|
}, null, 8, H),
|
|
78
79
|
n(t(_)),
|
|
79
80
|
t(e).store.value !== null && t(e).workspace.activeWorkspace.value !== null && !t(e).loading.value ? (u(), d("main", L, [
|
|
80
|
-
i("div",
|
|
81
|
-
|
|
82
|
-
|
|
81
|
+
i("div", F, [
|
|
82
|
+
n(t($), {
|
|
83
|
+
modelValue: t(e).sidebar.isOpen.value,
|
|
84
|
+
"onUpdate:modelValue": a[0] || (a[0] = (s) => t(e).sidebar.isOpen.value = s),
|
|
85
|
+
class: "absolute top-4 left-3 z-[60] md:hidden"
|
|
86
|
+
}, null, 8, ["modelValue"]),
|
|
87
|
+
i("div", R, [
|
|
88
|
+
n(I, {
|
|
83
89
|
isSidebarOpen: t(e).sidebar.isOpen.value,
|
|
84
|
-
"onUpdate:isSidebarOpen": a[
|
|
90
|
+
"onUpdate:isSidebarOpen": a[1] || (a[1] = (s) => t(e).sidebar.isOpen.value = s),
|
|
85
91
|
activeWorkspace: t(e).workspace.activeWorkspace.value,
|
|
86
92
|
eventBus: t(e).eventBus,
|
|
87
93
|
isWorkspaceOpen: t(e).workspace.isOpen.value,
|
|
88
|
-
layout:
|
|
94
|
+
layout: r.layout,
|
|
89
95
|
sidebarState: t(e).sidebar.state,
|
|
90
96
|
sidebarWidth: t(e).sidebar.width.value,
|
|
91
97
|
store: t(e).store.value,
|
|
92
98
|
workspaces: t(e).workspace.workspaceGroups.value,
|
|
93
99
|
"onClick:workspace": c,
|
|
94
|
-
"onCreate:workspace": a[
|
|
95
|
-
"onSelect:workspace":
|
|
100
|
+
"onCreate:workspace": a[2] || (a[2] = (s) => t(l).show()),
|
|
101
|
+
"onSelect:workspace": w,
|
|
96
102
|
onSelectItem: t(e).sidebar.handleSelectItem,
|
|
97
103
|
"onUpdate:sidebarWidth": t(e).sidebar.handleSidebarWidthUpdate
|
|
98
104
|
}, {
|
|
@@ -101,31 +107,31 @@ const H = ["innerHTML"], L = { key: 0 }, $ = { class: "flex h-dvh w-dvw flex-1 f
|
|
|
101
107
|
]),
|
|
102
108
|
_: 3
|
|
103
109
|
}, 8, ["isSidebarOpen", "activeWorkspace", "eventBus", "isWorkspaceOpen", "layout", "sidebarState", "sidebarWidth", "store", "workspaces", "onSelectItem", "onUpdate:sidebarWidth"]),
|
|
104
|
-
i("div",
|
|
105
|
-
|
|
110
|
+
i("div", z, [
|
|
111
|
+
r.layout === "desktop" ? (u(), p(N, {
|
|
106
112
|
key: 0,
|
|
107
113
|
activeTabIndex: t(e).tabs.activeTabIndex.value,
|
|
108
114
|
eventBus: t(e).eventBus,
|
|
109
115
|
tabs: t(e).tabs.state.value
|
|
110
116
|
}, null, 8, ["activeTabIndex", "eventBus", "tabs"])) : y("", !0),
|
|
111
117
|
i("div", G, [
|
|
112
|
-
n(t(
|
|
118
|
+
n(t(O), W(g(S.value)), null, 16)
|
|
113
119
|
])
|
|
114
120
|
])
|
|
115
121
|
])
|
|
116
122
|
]),
|
|
117
123
|
v(o.$slots, "create-workspace", { state: t(l) }, () => [
|
|
118
|
-
n(
|
|
124
|
+
n(E, {
|
|
119
125
|
state: t(l),
|
|
120
|
-
"onCreate:workspace": a[
|
|
126
|
+
"onCreate:workspace": a[3] || (a[3] = (s) => t(e).workspace.create(s))
|
|
121
127
|
}, null, 8, ["state"])
|
|
122
128
|
]),
|
|
123
|
-
n(
|
|
129
|
+
n(U, {
|
|
124
130
|
eventBus: t(e).eventBus,
|
|
125
|
-
paletteState: t(
|
|
131
|
+
paletteState: t(f),
|
|
126
132
|
workspaceStore: t(e).store.value
|
|
127
133
|
}, null, 8, ["eventBus", "paletteState", "workspaceStore"])
|
|
128
|
-
])) : (u(), d("main",
|
|
134
|
+
])) : (u(), d("main", K, [
|
|
129
135
|
n(M)
|
|
130
136
|
]))
|
|
131
137
|
]),
|
|
@@ -134,5 +140,5 @@ const H = ["innerHTML"], L = { key: 0 }, $ = { class: "flex h-dvh w-dvw flex-1 f
|
|
|
134
140
|
}
|
|
135
141
|
});
|
|
136
142
|
export {
|
|
137
|
-
|
|
143
|
+
ce as default
|
|
138
144
|
};
|
|
@@ -2,16 +2,19 @@ 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, renameWorkspace, }: {
|
|
5
|
+
export declare function initializeAppEventHandlers({ eventBus, store, router, rebuildSidebar, navigateToCurrentTab, onSelectSidebarItem, onAfterExampleCreation, onCopyTabUrl, onToggleSidebar, closeSidebar, renameWorkspace, }: {
|
|
6
6
|
eventBus: WorkspaceEventBus;
|
|
7
7
|
store: ShallowRef<WorkspaceStore | null>;
|
|
8
8
|
router: Router;
|
|
9
9
|
rebuildSidebar: (documentName?: string) => void;
|
|
10
10
|
navigateToCurrentTab: () => Promise<void>;
|
|
11
11
|
onSelectSidebarItem: (id: string) => void;
|
|
12
|
-
onAfterExampleCreation: (o: OperationExampleMeta
|
|
12
|
+
onAfterExampleCreation: (o: OperationExampleMeta & {
|
|
13
|
+
documentName?: string;
|
|
14
|
+
}) => void;
|
|
13
15
|
onCopyTabUrl: (tabIndex: number) => void;
|
|
14
16
|
onToggleSidebar: () => void;
|
|
17
|
+
closeSidebar: () => void;
|
|
15
18
|
renameWorkspace: (name: string) => Promise<void>;
|
|
16
19
|
}): void;
|
|
17
20
|
//# 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,MAAM,gCAAgC,CAAA;AACpE,OAAO,KAAK,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAC7F,OAAO,EAAE,KAAK,UAAU,EAAY,MAAM,KAAK,CAAA;AAC/C,OAAO,EAAiD,KAAK,MAAM,EAAE,MAAM,YAAY,CAAA;AAKvF,wBAAgB,0BAA0B,CAAC,EACzC,QAAQ,EACR,KAAK,EACL,MAAM,EACN,cAAc,EACd,oBAAoB,EACpB,mBAAmB,EACnB,sBAAsB,EACtB,YAAY,EACZ,eAAe,EACf,eAAe,GAChB,EAAE;IACD,QAAQ,EAAE,iBAAiB,CAA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EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;IACrF,YAAY,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;IACxC,eAAe,EAAE,MAAM,IAAI,CAAA;IAC3B,YAAY,EAAE,MAAM,IAAI,CAAA;IACxB,eAAe,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;CACjD,QAsWA"}
|
|
@@ -1,26 +1,27 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { NavigationFailureType as
|
|
3
|
-
import { initializeWorkspaceEventHandlers as
|
|
4
|
-
function
|
|
5
|
-
eventBus:
|
|
1
|
+
import { computed as v } from "vue";
|
|
2
|
+
import { NavigationFailureType as k } from "vue-router";
|
|
3
|
+
import { initializeWorkspaceEventHandlers as E } from "../../workspace-events.js";
|
|
4
|
+
function R({
|
|
5
|
+
eventBus: u,
|
|
6
6
|
store: f,
|
|
7
|
-
router:
|
|
8
|
-
rebuildSidebar:
|
|
7
|
+
router: c,
|
|
8
|
+
rebuildSidebar: i,
|
|
9
9
|
navigateToCurrentTab: o,
|
|
10
10
|
onSelectSidebarItem: h,
|
|
11
|
-
onAfterExampleCreation:
|
|
11
|
+
onAfterExampleCreation: r,
|
|
12
12
|
onCopyTabUrl: x,
|
|
13
13
|
onToggleSidebar: d,
|
|
14
|
+
closeSidebar: l,
|
|
14
15
|
renameWorkspace: w
|
|
15
16
|
}) {
|
|
16
|
-
const
|
|
17
|
+
const s = v(() => c.currentRoute?.value), p = ({
|
|
17
18
|
documentName: e,
|
|
18
|
-
path:
|
|
19
|
+
path: m,
|
|
19
20
|
method: t,
|
|
20
21
|
exampleName: a
|
|
21
|
-
}) => !(e !== void 0 && e !==
|
|
22
|
-
|
|
23
|
-
eventBus:
|
|
22
|
+
}) => !(e !== void 0 && e !== s.value?.params.documentSlug || m !== void 0 && encodeURIComponent(m) !== s.value?.params.pathEncoded || t !== void 0 && t !== s.value?.params.method || a !== void 0 && a !== s.value?.params.exampleName);
|
|
23
|
+
E({
|
|
24
|
+
eventBus: u,
|
|
24
25
|
store: f,
|
|
25
26
|
hooks: {
|
|
26
27
|
//------------------------------------------------------------------------------------
|
|
@@ -28,7 +29,7 @@ function S({
|
|
|
28
29
|
//------------------------------------------------------------------------------------
|
|
29
30
|
"document:delete:document": {
|
|
30
31
|
onAfterExecute: async (e) => {
|
|
31
|
-
|
|
32
|
+
s?.value?.params.documentSlug === e.name && await c.push({
|
|
32
33
|
name: "workspace.environment"
|
|
33
34
|
});
|
|
34
35
|
}
|
|
@@ -39,49 +40,49 @@ function S({
|
|
|
39
40
|
"operation:update:pathMethod": {
|
|
40
41
|
onBeforeExecute: (e) => ({
|
|
41
42
|
...e,
|
|
42
|
-
callback: async (
|
|
43
|
-
|
|
43
|
+
callback: async (m) => {
|
|
44
|
+
m === "success" && (await c.replace({
|
|
44
45
|
name: "example",
|
|
45
46
|
params: {
|
|
46
47
|
method: e.payload.method,
|
|
47
48
|
pathEncoded: encodeURIComponent(e.payload.path),
|
|
48
|
-
exampleName:
|
|
49
|
+
exampleName: s.value?.params.exampleName
|
|
49
50
|
}
|
|
50
|
-
}),
|
|
51
|
+
}), i(f.value?.workspace.activeDocument?.["x-scalar-navigation"]?.name)), e.callback(m);
|
|
51
52
|
}
|
|
52
53
|
})
|
|
53
54
|
},
|
|
54
55
|
"operation:upsert:parameter": {
|
|
55
|
-
onAfterExecute: (e) =>
|
|
56
|
+
onAfterExecute: (e) => r(e.meta)
|
|
56
57
|
},
|
|
57
58
|
"operation:update:extra-parameters": {
|
|
58
|
-
onAfterExecute: (e) =>
|
|
59
|
+
onAfterExecute: (e) => r(e.meta)
|
|
59
60
|
},
|
|
60
61
|
"operation:reload:history": {
|
|
61
|
-
onAfterExecute: (e) =>
|
|
62
|
+
onAfterExecute: (e) => r({ ...e.meta, exampleKey: "draft" })
|
|
62
63
|
},
|
|
63
64
|
"operation:delete:operation": {
|
|
64
65
|
onAfterExecute: async (e) => {
|
|
65
|
-
|
|
66
|
+
i(e.documentName);
|
|
66
67
|
const {
|
|
67
|
-
documentName:
|
|
68
|
+
documentName: m,
|
|
68
69
|
meta: { path: t, method: a }
|
|
69
70
|
} = e;
|
|
70
71
|
p({
|
|
71
|
-
documentName:
|
|
72
|
+
documentName: m,
|
|
72
73
|
path: t,
|
|
73
74
|
method: a
|
|
74
|
-
}) && await
|
|
75
|
+
}) && await c.replace({
|
|
75
76
|
name: "document.overview",
|
|
76
77
|
params: {
|
|
77
|
-
documentSlug:
|
|
78
|
+
documentSlug: m
|
|
78
79
|
}
|
|
79
80
|
});
|
|
80
81
|
}
|
|
81
82
|
},
|
|
82
83
|
"operation:create:draft-example": {
|
|
83
84
|
onAfterExecute: async (e) => {
|
|
84
|
-
|
|
85
|
+
r({ ...e.meta, exampleKey: e.exampleName }), await c.push({
|
|
85
86
|
name: "example",
|
|
86
87
|
params: {
|
|
87
88
|
documentSlug: e.documentName,
|
|
@@ -94,55 +95,68 @@ function S({
|
|
|
94
95
|
},
|
|
95
96
|
"operation:delete:example": {
|
|
96
97
|
onAfterExecute: async (e) => {
|
|
97
|
-
|
|
98
|
+
i(e.documentName);
|
|
98
99
|
const {
|
|
99
|
-
documentName:
|
|
100
|
+
documentName: m,
|
|
100
101
|
meta: { path: t, method: a, exampleKey: n }
|
|
101
102
|
} = e;
|
|
102
103
|
p({
|
|
103
|
-
documentName:
|
|
104
|
+
documentName: m,
|
|
104
105
|
path: t,
|
|
105
106
|
method: a,
|
|
106
107
|
exampleName: n
|
|
107
|
-
}) && await
|
|
108
|
+
}) && await c.replace({
|
|
108
109
|
name: "example",
|
|
109
110
|
params: {
|
|
110
111
|
pathEncoded: encodeURIComponent(t),
|
|
111
112
|
method: a,
|
|
112
|
-
documentSlug:
|
|
113
|
+
documentSlug: m,
|
|
113
114
|
exampleName: "default"
|
|
114
115
|
}
|
|
115
116
|
});
|
|
116
117
|
}
|
|
117
118
|
},
|
|
119
|
+
"operation:rename:example": {
|
|
120
|
+
onAfterExecute: async ({ meta: e, payload: m, documentName: t }) => {
|
|
121
|
+
r({ ...e, exampleKey: m.name, documentName: t }), p({ documentName: t, path: e.path, method: e.method, exampleName: e.exampleKey }) && await c.replace({
|
|
122
|
+
name: "example",
|
|
123
|
+
params: {
|
|
124
|
+
documentSlug: t,
|
|
125
|
+
pathEncoded: encodeURIComponent(e.path),
|
|
126
|
+
method: e.method,
|
|
127
|
+
exampleName: m.name
|
|
128
|
+
}
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
},
|
|
118
132
|
//------------------------------------------------------------------------------------
|
|
119
133
|
// Operation Request Body Related Hooks
|
|
120
134
|
//------------------------------------------------------------------------------------
|
|
121
135
|
"operation:update:requestBody:value": {
|
|
122
|
-
onAfterExecute: (e) =>
|
|
136
|
+
onAfterExecute: (e) => r(e.meta)
|
|
123
137
|
},
|
|
124
138
|
"operation:update:requestBody:formValue": {
|
|
125
|
-
onAfterExecute: (e) =>
|
|
139
|
+
onAfterExecute: (e) => r(e.meta)
|
|
126
140
|
},
|
|
127
141
|
//------------------------------------------------------------------------------------
|
|
128
142
|
// Tag Related Event Hooks
|
|
129
143
|
//------------------------------------------------------------------------------------
|
|
130
144
|
"tag:create:tag": {
|
|
131
|
-
onAfterExecute: (e) =>
|
|
145
|
+
onAfterExecute: (e) => i(e.documentName)
|
|
132
146
|
},
|
|
133
147
|
"tag:edit:tag": {
|
|
134
148
|
onAfterExecute: async (e) => {
|
|
135
|
-
|
|
149
|
+
i(e.documentName), e.tag.children?.some(
|
|
136
150
|
(t) => t.type === "operation" && p({
|
|
137
151
|
documentName: e.documentName,
|
|
138
152
|
path: t.path,
|
|
139
153
|
method: t.method
|
|
140
154
|
})
|
|
141
|
-
) && await
|
|
155
|
+
) && await c.replace({ ...s.value });
|
|
142
156
|
}
|
|
143
157
|
},
|
|
144
158
|
"tag:delete:tag": {
|
|
145
|
-
onAfterExecute: (e) =>
|
|
159
|
+
onAfterExecute: (e) => i(e.documentName)
|
|
146
160
|
},
|
|
147
161
|
//------------------------------------------------------------------------------------
|
|
148
162
|
// Tabs Related Event Hooks
|
|
@@ -169,11 +183,11 @@ function S({
|
|
|
169
183
|
onAfterExecute: o
|
|
170
184
|
}
|
|
171
185
|
}
|
|
172
|
-
}),
|
|
173
|
-
const { replace:
|
|
186
|
+
}), u.on("workspace:update:name", (e) => w(e)), u.on("scroll-to:nav-item", ({ id: e }) => h(e)), u.on("ui:toggle:sidebar", d), u.on("ui:navigate", async (e) => {
|
|
187
|
+
const { replace: m = !1 } = e, t = m ? c.replace : c.push, a = (n) => {
|
|
174
188
|
if (!n)
|
|
175
|
-
return e.callback?.("success");
|
|
176
|
-
const g =
|
|
189
|
+
return l(), e.callback?.("success");
|
|
190
|
+
const g = k.duplicated;
|
|
177
191
|
return n.type !== g ? e.callback?.("error") : e.callback?.("success");
|
|
178
192
|
};
|
|
179
193
|
if (e.page === "document") {
|
|
@@ -230,8 +244,8 @@ function S({
|
|
|
230
244
|
if (e.path === "authentication")
|
|
231
245
|
return a(await t({ name: "operation.authentication", params: n }));
|
|
232
246
|
}
|
|
233
|
-
}),
|
|
247
|
+
}), u.on("tabs:copy:url", (e) => x(e.index));
|
|
234
248
|
}
|
|
235
249
|
export {
|
|
236
|
-
|
|
250
|
+
R as initializeAppEventHandlers
|
|
237
251
|
};
|
|
@@ -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;AAE7D,OAAO,EAAE,kBAAkB,EAAwB,MAAM,iBAAiB,CAAA;AAC1E,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAC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