@scalar/api-client 2.14.0 → 2.15.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 +54 -0
- package/dist/libs/string-template.d.ts +2 -0
- package/dist/libs/string-template.d.ts.map +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 +28 -51
- package/dist/v2/blocks/operation-block/components/Header.vue.d.ts +0 -12
- package/dist/v2/blocks/operation-block/components/Header.vue.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/components/Header.vue.js +3 -3
- package/dist/v2/blocks/operation-block/components/Header.vue2.js +26 -28
- package/dist/v2/blocks/operation-block/helpers/build-request-parameters.d.ts +33 -0
- package/dist/v2/blocks/operation-block/helpers/build-request-parameters.d.ts.map +1 -0
- package/dist/v2/blocks/operation-block/helpers/build-request-security.d.ts +18 -0
- package/dist/v2/blocks/operation-block/helpers/build-request-security.d.ts.map +1 -0
- package/dist/v2/blocks/operation-block/helpers/decode-buffer.d.ts +7 -0
- package/dist/v2/blocks/operation-block/helpers/decode-buffer.d.ts.map +1 -0
- package/dist/v2/blocks/operation-block/helpers/get-delimiter.d.ts +8 -0
- package/dist/v2/blocks/operation-block/helpers/get-delimiter.d.ts.map +1 -0
- package/dist/v2/blocks/operation-block/helpers/get-example.d.ts +4 -0
- package/dist/v2/blocks/operation-block/helpers/get-example.d.ts.map +1 -0
- package/dist/v2/blocks/request-block/RequestBlock.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/RequestBlock.vue.js +1 -1
- package/dist/v2/blocks/request-block/RequestBlock.vue2.js +134 -125
- package/dist/v2/blocks/request-block/components/RequestBody.vue.d.ts +2 -0
- 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 +11 -10
- package/dist/v2/blocks/request-block/components/RequestParams.vue.d.ts +2 -2
- package/dist/v2/blocks/request-block/components/RequestParams.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestTable.vue.d.ts +2 -4
- package/dist/v2/blocks/request-block/components/RequestTable.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestTable.vue.js +1 -1
- package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts +2 -2
- package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestTableRow.vue.js +10 -10
- package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.d.ts +1 -1
- package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.js +21 -15
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts +4 -13
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.js +1 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue2.js +106 -70
- package/dist/v2/components/code-input/CodeInput.vue.d.ts +10 -1
- package/dist/v2/components/code-input/CodeInput.vue.d.ts.map +1 -1
- package/dist/v2/components/code-input/CodeInput.vue.js +1 -1
- package/dist/v2/components/code-input/CodeInput.vue2.js +65 -51
- package/dist/v2/components/sidebar/Sidebar.vue.d.ts +4 -0
- package/dist/v2/components/sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/v2/components/sidebar/Sidebar.vue.js +42 -39
- package/dist/v2/features/app/App.vue.d.ts.map +1 -1
- package/dist/v2/features/app/App.vue.js +64 -66
- 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 +193 -106
- package/dist/v2/features/app/components/ItemDecorator.vue.d.ts +22 -0
- package/dist/v2/features/app/components/ItemDecorator.vue.d.ts.map +1 -0
- package/dist/v2/features/app/components/ItemDecorator.vue.js +138 -0
- package/dist/v2/features/app/components/ItemDecorator.vue2.js +4 -0
- package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.d.ts +8 -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 +76 -68
- package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.d.ts +8 -0
- package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.d.ts.map +1 -1
- package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.js +83 -75
- package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.d.ts +4 -0
- package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.d.ts.map +1 -1
- package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.js +32 -34
- package/dist/v2/features/command-palette/hooks/use-command-palette-state.d.ts +16 -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 +24 -21
- package/dist/v2/features/operation/Operation.vue.js +1 -1
- package/dist/v2/features/settings/DocumentSettings.vue.js +2 -2
- package/dist/v2/features/settings/DocumentSettings.vue2.js +1 -1
- package/dist/v2/helpers/storage.d.ts.map +1 -1
- package/dist/v2/helpers/storage.js +5 -5
- package/dist/v2/hooks/use-workspace-client-events.d.ts.map +1 -1
- package/dist/v2/hooks/use-workspace-client-events.js +102 -61
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/package.json +21 -21
|
@@ -1,62 +1,60 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as g, ref as f, computed as i, createBlock as k, openBlock as S, withCtx as l, createVNode as n, createTextVNode as w, unref as c, createElementVNode as V, normalizeClass as C, toDisplayString as B } from "vue";
|
|
2
2
|
import { ScalarListbox as D, ScalarButton as N, ScalarIcon as T } from "@scalar/components";
|
|
3
|
-
import
|
|
3
|
+
import I from "./CommandActionForm.vue.js";
|
|
4
4
|
import h from "./CommandActionInput.vue.js";
|
|
5
5
|
const j = {
|
|
6
6
|
name: "CommandPaletteTag"
|
|
7
|
-
}, E = /* @__PURE__ */
|
|
7
|
+
}, E = /* @__PURE__ */ g({
|
|
8
8
|
...j,
|
|
9
9
|
props: {
|
|
10
10
|
workspaceStore: {},
|
|
11
|
-
eventBus: {}
|
|
11
|
+
eventBus: {},
|
|
12
|
+
documentId: {}
|
|
12
13
|
},
|
|
13
14
|
emits: ["close", "back"],
|
|
14
15
|
setup(o, { emit: p }) {
|
|
15
|
-
const
|
|
16
|
+
const d = p, u = f(""), m = i(() => u.value.trim()), s = i(
|
|
16
17
|
() => Object.entries(o.workspaceStore.workspace.documents).map(
|
|
17
|
-
([
|
|
18
|
-
id:
|
|
19
|
-
label:
|
|
18
|
+
([e, t]) => ({
|
|
19
|
+
id: e,
|
|
20
|
+
label: t.info.title || e
|
|
20
21
|
})
|
|
21
22
|
)
|
|
22
|
-
),
|
|
23
|
-
|
|
23
|
+
), a = f(
|
|
24
|
+
o.documentId ? s.value.find((e) => e.id === o.documentId) : s.value[0] ?? void 0
|
|
24
25
|
), v = i(() => {
|
|
25
|
-
if (!
|
|
26
|
+
if (!m.value || !a.value)
|
|
26
27
|
return !0;
|
|
27
|
-
const
|
|
28
|
-
return !!(!
|
|
28
|
+
const e = o.workspaceStore.workspace.documents[a.value.id];
|
|
29
|
+
return !!(!e || e.tags?.some((t) => t.name === m.value));
|
|
29
30
|
}), b = () => {
|
|
30
|
-
v.value || !
|
|
31
|
-
name:
|
|
32
|
-
documentName:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}), c("close"));
|
|
37
|
-
}, k = (t) => {
|
|
38
|
-
c("back", t);
|
|
31
|
+
v.value || !a.value || (o.eventBus.emit("tag:create:tag", {
|
|
32
|
+
name: m.value,
|
|
33
|
+
documentName: a.value.id
|
|
34
|
+
}), d("close"));
|
|
35
|
+
}, x = (e) => {
|
|
36
|
+
d("back", e);
|
|
39
37
|
};
|
|
40
|
-
return (
|
|
38
|
+
return (e, t) => (S(), k(I, {
|
|
41
39
|
disabled: v.value,
|
|
42
40
|
onSubmit: b
|
|
43
41
|
}, {
|
|
44
42
|
options: l(() => [
|
|
45
|
-
n(
|
|
46
|
-
modelValue:
|
|
47
|
-
"onUpdate:modelValue":
|
|
48
|
-
options:
|
|
43
|
+
n(c(D), {
|
|
44
|
+
modelValue: a.value,
|
|
45
|
+
"onUpdate:modelValue": t[1] || (t[1] = (r) => a.value = r),
|
|
46
|
+
options: s.value
|
|
49
47
|
}, {
|
|
50
48
|
default: l(() => [
|
|
51
|
-
n(
|
|
49
|
+
n(c(N), {
|
|
52
50
|
class: "hover:bg-b-2 max-h-8 w-fit justify-between gap-1 p-2 text-xs",
|
|
53
51
|
variant: "outlined"
|
|
54
52
|
}, {
|
|
55
53
|
default: l(() => [
|
|
56
54
|
V("span", {
|
|
57
|
-
class: C(
|
|
58
|
-
}, B(
|
|
59
|
-
n(
|
|
55
|
+
class: C(a.value ? "text-c-1" : "text-c-3")
|
|
56
|
+
}, B(a.value ? a.value.label : "Select Collection"), 3),
|
|
57
|
+
n(c(T), {
|
|
60
58
|
class: "text-c-3",
|
|
61
59
|
icon: "ChevronDown",
|
|
62
60
|
size: "md"
|
|
@@ -68,16 +66,16 @@ const j = {
|
|
|
68
66
|
_: 1
|
|
69
67
|
}, 8, ["modelValue", "options"])
|
|
70
68
|
]),
|
|
71
|
-
submit: l(() => [...
|
|
69
|
+
submit: l(() => [...t[2] || (t[2] = [
|
|
72
70
|
w("Create Tag", -1)
|
|
73
71
|
])]),
|
|
74
72
|
default: l(() => [
|
|
75
73
|
n(h, {
|
|
76
74
|
modelValue: u.value,
|
|
77
|
-
"onUpdate:modelValue":
|
|
75
|
+
"onUpdate:modelValue": t[0] || (t[0] = (r) => u.value = r),
|
|
78
76
|
label: "Tag Name",
|
|
79
77
|
placeholder: "Tag Name",
|
|
80
|
-
onDelete:
|
|
78
|
+
onDelete: x
|
|
81
79
|
}, null, 8, ["modelValue"])
|
|
82
80
|
]),
|
|
83
81
|
_: 1
|
|
@@ -60,16 +60,32 @@ export declare const commands: [{
|
|
|
60
60
|
readonly id: "add-tag";
|
|
61
61
|
readonly name: "Add Tag";
|
|
62
62
|
readonly icon: "Folder";
|
|
63
|
+
readonly props: {
|
|
64
|
+
/** Document id to add the tag to */
|
|
65
|
+
documentId?: string;
|
|
66
|
+
};
|
|
63
67
|
}, {
|
|
64
68
|
readonly type: "folder";
|
|
65
69
|
readonly id: "create-request";
|
|
66
70
|
readonly name: "Create Request";
|
|
67
71
|
readonly icon: "ExternalLink";
|
|
72
|
+
readonly props: {
|
|
73
|
+
/** The id of the document to create the request in */
|
|
74
|
+
documentId?: string;
|
|
75
|
+
/** Tag id to add the request to (optional) */
|
|
76
|
+
tagId?: string;
|
|
77
|
+
};
|
|
68
78
|
}, {
|
|
69
79
|
readonly type: "folder";
|
|
70
80
|
readonly id: "add-example";
|
|
71
81
|
readonly name: "Add Example";
|
|
72
82
|
readonly icon: "Example";
|
|
83
|
+
readonly props: {
|
|
84
|
+
/** Document id to add the example to */
|
|
85
|
+
documentId?: string;
|
|
86
|
+
/** Operation id to add the example to */
|
|
87
|
+
operationId?: string;
|
|
88
|
+
};
|
|
73
89
|
}, {
|
|
74
90
|
readonly type: "hidden-folder";
|
|
75
91
|
readonly id: "import-curl-command";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-command-palette-state.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/command-palette/hooks/use-command-palette-state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,oBAAoB,CAAA;AAE1D,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,GAAG,EAAiB,MAAM,KAAK,CAAA;AAC/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAQlD,6DAA6D;AAC7D,KAAK,WAAW,GAAG;IACjB,wCAAwC;IACxC,EAAE,EAAE,MAAM,CAAA;IACV,gDAAgD;IAChD,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED,KAAK,aAAa,GAAG,WAAW,GAAG;IACjC,IAAI,EAAE,QAAQ,CAAA;IACd,IAAI,EAAE,QAAQ,CAAA;IACd,4BAA4B;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAChC,CAAA;AAED,KAAK,mBAAmB,GAAG,WAAW,GAAG;IACvC,IAAI,EAAE,eAAe,CAAA;IACrB,4BAA4B;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAChC,CAAA;AAED,KAAK,YAAY,GAAG,WAAW,GAAG;IAChC,IAAI,EAAE,OAAO,CAAA;IACb,EAAE,EAAE,gBAAgB,CAAA;IACpB,IAAI,EAAE,QAAQ,CAAA;CACf,CAAA;AAED;;;GAGG;AACH,MAAM,MAAM,OAAO,GAAG,aAAa,GAAG,YAAY,GAAG,mBAAmB,CAAA;AAExE;;;GAGG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB,sEAAsE;IACtE,KAAK,EAAE,MAAM,CAAA;IACb,qCAAqC;IACrC,QAAQ,EAAE,OAAO,EAAE,CAAA;CACpB,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"use-command-palette-state.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/command-palette/hooks/use-command-palette-state.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { useModal as
|
|
2
|
-
import { ref as
|
|
3
|
-
const
|
|
1
|
+
import { useModal as g } from "@scalar/components";
|
|
2
|
+
import { ref as s, computed as c } from "vue";
|
|
3
|
+
const n = () => null, v = [
|
|
4
4
|
{
|
|
5
5
|
label: "",
|
|
6
6
|
commands: [
|
|
@@ -20,26 +20,29 @@ const g = () => null, v = [
|
|
|
20
20
|
type: "folder",
|
|
21
21
|
id: "add-tag",
|
|
22
22
|
name: "Add Tag",
|
|
23
|
-
icon: "Folder"
|
|
23
|
+
icon: "Folder",
|
|
24
|
+
props: n()
|
|
24
25
|
},
|
|
25
26
|
{
|
|
26
27
|
type: "folder",
|
|
27
28
|
id: "create-request",
|
|
28
29
|
name: "Create Request",
|
|
29
|
-
icon: "ExternalLink"
|
|
30
|
+
icon: "ExternalLink",
|
|
31
|
+
props: n()
|
|
30
32
|
},
|
|
31
33
|
{
|
|
32
34
|
type: "folder",
|
|
33
35
|
id: "add-example",
|
|
34
36
|
name: "Add Example",
|
|
35
|
-
icon: "Example"
|
|
37
|
+
icon: "Example",
|
|
38
|
+
props: n()
|
|
36
39
|
},
|
|
37
40
|
/** Hidden commands accessible programmatically but not shown in UI */
|
|
38
41
|
{
|
|
39
42
|
type: "hidden-folder",
|
|
40
43
|
id: "import-curl-command",
|
|
41
44
|
name: "Import cURL Command",
|
|
42
|
-
props:
|
|
45
|
+
props: n()
|
|
43
46
|
}
|
|
44
47
|
]
|
|
45
48
|
},
|
|
@@ -76,30 +79,30 @@ const g = () => null, v = [
|
|
|
76
79
|
]
|
|
77
80
|
}
|
|
78
81
|
], w = () => {
|
|
79
|
-
const
|
|
82
|
+
const r = g(), t = s(""), a = s(null), m = s(null), d = c(() => r.open), p = c(() => {
|
|
80
83
|
const e = t.value.toLowerCase().trim();
|
|
81
84
|
return v.map((o) => ({
|
|
82
85
|
label: o.label,
|
|
83
|
-
commands: o.commands.filter((
|
|
86
|
+
commands: o.commands.filter((i) => i.type === "hidden-folder" ? !1 : e ? i.name.toLowerCase().includes(e) : !0)
|
|
84
87
|
})).filter((o) => o.commands.length > 0);
|
|
85
|
-
}),
|
|
86
|
-
e && (a.value = e,
|
|
87
|
-
},
|
|
88
|
-
|
|
89
|
-
},
|
|
88
|
+
}), u = (e, ...o) => {
|
|
89
|
+
e && (a.value = e, m.value = o[0] ?? null), r.show();
|
|
90
|
+
}, f = () => {
|
|
91
|
+
r.hide(), l();
|
|
92
|
+
}, y = (e) => {
|
|
90
93
|
t.value = e;
|
|
91
94
|
}, l = () => {
|
|
92
|
-
t.value = "", a.value = null,
|
|
95
|
+
t.value = "", a.value = null, m.value = null;
|
|
93
96
|
};
|
|
94
97
|
return {
|
|
95
|
-
isOpen:
|
|
98
|
+
isOpen: d,
|
|
96
99
|
activeCommand: a,
|
|
97
|
-
activeCommandProps:
|
|
100
|
+
activeCommandProps: m,
|
|
98
101
|
filterQuery: t,
|
|
99
|
-
filteredCommands:
|
|
100
|
-
open:
|
|
101
|
-
close:
|
|
102
|
-
setFilterQuery:
|
|
102
|
+
filteredCommands: p,
|
|
103
|
+
open: u,
|
|
104
|
+
close: f,
|
|
105
|
+
setFilterQuery: y,
|
|
103
106
|
reset: l
|
|
104
107
|
};
|
|
105
108
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import t from "./DocumentSettings.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const c = /* @__PURE__ */ o(t, [["__scopeId", "data-v-cda64f02"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
c as default
|
|
7
7
|
};
|
|
@@ -71,8 +71,8 @@ const U = { class: "flex flex-col gap-12" }, C = { class: "flex flex-col gap-2"
|
|
|
71
71
|
], -1)),
|
|
72
72
|
n(o(y), {
|
|
73
73
|
class: "custom-scroll h-8 gap-1.5 px-2.5 font-medium whitespace-nowrap shadow-none focus:outline-none",
|
|
74
|
-
variant: "danger",
|
|
75
74
|
disabled: l.isDraftDocument,
|
|
75
|
+
variant: "danger",
|
|
76
76
|
onClick: b
|
|
77
77
|
}, {
|
|
78
78
|
default: m(() => [...t[6] || (t[6] = [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storage.d.ts","sourceRoot":"","sources":["../../../src/v2/helpers/storage.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,gBAAgB;IAC3B;;OAEG;oCACoB,MAAM,KAAG,IAAI;
|
|
1
|
+
{"version":3,"file":"storage.d.ts","sourceRoot":"","sources":["../../../src/v2/helpers/storage.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,gBAAgB;IAC3B;;OAEG;oCACoB,MAAM,KAAG,IAAI;IAQpC;;OAEG;gCACc,MAAM,GAAG,IAAI;CAGtB,CAAA"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { safeLocalStorage as
|
|
2
|
-
const
|
|
1
|
+
import { safeLocalStorage as e } from "@scalar/helpers/object/local-storage";
|
|
2
|
+
const r = "scalar.currentPath", o = {
|
|
3
3
|
/**
|
|
4
4
|
* We keep the currently active path so we can reload it if needed
|
|
5
5
|
*/
|
|
6
|
-
setCurrentPath: (
|
|
7
|
-
t().setItem(
|
|
6
|
+
setCurrentPath: (t) => {
|
|
7
|
+
t !== "/" && e().setItem(r, t);
|
|
8
8
|
},
|
|
9
9
|
/**
|
|
10
10
|
* Retrieve the last active path
|
|
11
11
|
*/
|
|
12
|
-
getLastPath: () =>
|
|
12
|
+
getLastPath: () => e().getItem(r)
|
|
13
13
|
};
|
|
14
14
|
export {
|
|
15
15
|
o as workspaceStorage
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-workspace-client-events.d.ts","sourceRoot":"","sources":["../../../src/v2/hooks/use-workspace-client-events.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-workspace-client-events.d.ts","sourceRoot":"","sources":["../../../src/v2/hooks/use-workspace-client-events.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AACpE,OAAO,KAAK,EAAwC,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAmD7G,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAA;AAClF,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,GAAG,EAAW,MAAM,KAAK,CAAA;AAGzD,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,+DAA+D,CAAA;AACjH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAA;AAEzE;;GAEG;AACH,eAAO,MAAM,wBAAwB,GAAI,2FAOtC;IACD,QAAQ,EAAE,iBAAiB,CAAA;IAC3B,QAAQ,EAAE,WAAW,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAA;IAC/C,cAAc,EAAE,GAAG,CAAC,cAAc,GAAG,IAAI,CAAC,CAAA;IAC1C,aAAa,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IAC3B,mBAAmB,EAAE,4BAA4B,CAAA;IACjD,YAAY,EAAE,qBAAqB,CAAA;CACpC,SAqWA,CAAA"}
|
|
@@ -1,112 +1,153 @@
|
|
|
1
|
-
import { mergeObjects as
|
|
2
|
-
import { updateActiveProxy as
|
|
3
|
-
import { toValue as
|
|
4
|
-
import { useRouter as
|
|
5
|
-
const
|
|
1
|
+
import { mergeObjects as x } from "@scalar/workspace-store/helpers/merge-object";
|
|
2
|
+
import { updateActiveProxy as g, updateColorMode as T, updateTheme as y, updateDocumentIcon as R, toggleSecurity as w, updateWatchMode as O, createEmptyDocument as N, deleteDocument as C, upsertEnvironment as E, upsertEnvironmentVariable as q, upsertCookie as P, deleteCookie as I, deleteSecurityScheme as M, updateSelectedAuthTab as k, updateSecurityScheme as A, updateSelectedScopes as D, updateSelectedSecuritySchemes as F, addServer as U, updateServer as V, deleteServer as K, updateServerVariables as L, updateSelectedServer as W, createOperation as j, updateOperationPathMethod as z, updateOperationSummary as G, deleteOperation as H, deleteOperationExample as J, addOperationParameter as Q, updateOperationParameter as S, deleteOperationParameter as X, deleteAllOperationParameters as Y, updateOperationRequestBodyContentType as Z, updateOperationRequestBodyExample as _, addOperationRequestBodyFormRow as $, updateOperationRequestBodyFormRow as B, deleteOperationRequestBodyFormRow as ee, createTag as ae, deleteTag as te, addTab as oe, closeTab as re, closeOtherTabs as ne, focusTab as le, focusLastTab as ie, navigatePreviousTab as ue, navigateNextTab as me, updateTabs as pe } from "@scalar/workspace-store/mutators";
|
|
3
|
+
import { toValue as f } from "vue";
|
|
4
|
+
import { useRouter as ce, useRoute as de } from "vue-router";
|
|
5
|
+
const fe = ({
|
|
6
6
|
eventBus: a,
|
|
7
7
|
document: t,
|
|
8
8
|
workspaceStore: o,
|
|
9
|
-
isSidebarOpen:
|
|
10
|
-
commandPaletteState:
|
|
11
|
-
sidebarState:
|
|
9
|
+
isSidebarOpen: d,
|
|
10
|
+
commandPaletteState: s,
|
|
11
|
+
sidebarState: v
|
|
12
12
|
}) => {
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
return
|
|
16
|
-
},
|
|
17
|
-
const e =
|
|
13
|
+
const m = ce(), i = de(), p = (e, r) => {
|
|
14
|
+
const n = f(o);
|
|
15
|
+
return n ? r === "document" ? e.value : n.workspace : null;
|
|
16
|
+
}, l = async () => {
|
|
17
|
+
const e = f(o);
|
|
18
18
|
if (!e)
|
|
19
19
|
return;
|
|
20
|
-
const r = e.workspace["x-scalar-active-tab"] ?? 0,
|
|
21
|
-
|
|
22
|
-
},
|
|
20
|
+
const r = e.workspace["x-scalar-active-tab"] ?? 0, n = e.workspace["x-scalar-tabs"]?.[r];
|
|
21
|
+
n && await m.replace(n.path);
|
|
22
|
+
}, u = (e) => {
|
|
23
|
+
e && o.value?.buildSidebar(e);
|
|
24
|
+
}, c = (e) => {
|
|
23
25
|
const r = t.value?.["x-scalar-navigation"]?.id;
|
|
24
26
|
if (!r)
|
|
25
27
|
return;
|
|
26
|
-
const
|
|
28
|
+
const n = v.getEntryByLocation({
|
|
27
29
|
document: r,
|
|
28
30
|
path: e.path,
|
|
29
31
|
method: e.method,
|
|
30
32
|
example: e.exampleKey
|
|
31
33
|
});
|
|
32
|
-
(!
|
|
33
|
-
}
|
|
34
|
-
|
|
34
|
+
(!n || n.type !== "example") && u(r);
|
|
35
|
+
}, h = ({
|
|
36
|
+
documentName: e,
|
|
37
|
+
path: r,
|
|
38
|
+
method: n,
|
|
39
|
+
exampleName: b
|
|
40
|
+
}) => !(e !== void 0 && e !== i.params.documentSlug || r !== void 0 && encodeURIComponent(r) !== i.params.pathEncoded || n !== void 0 && n !== i.params.method || b !== void 0 && b !== i.params.exampleName);
|
|
41
|
+
a.on("scroll-to:nav-item", ({ id: e }) => v.handleSelectItem(e)), a.on(
|
|
35
42
|
"workspace:update:active-proxy",
|
|
36
|
-
(e) =>
|
|
43
|
+
(e) => g(o.value?.workspace ?? null, e)
|
|
37
44
|
), a.on(
|
|
38
45
|
"workspace:update:color-mode",
|
|
39
|
-
(e) =>
|
|
40
|
-
), a.on("workspace:update:theme", (e) => y(o.value?.workspace ?? null, e)), a.on("document:update:icon", (e) =>
|
|
41
|
-
o.value
|
|
46
|
+
(e) => T(o.value?.workspace ?? null, e)
|
|
47
|
+
), a.on("workspace:update:theme", (e) => y(o.value?.workspace ?? null, e)), a.on("document:update:icon", (e) => R(t.value, e)), a.on("document:update:info", (e) => t.value && x(t.value.info, e)), a.on("document:toggle:security", () => w(t.value)), a.on("document:update:watch-mode", (e) => O(t.value, e)), a.on("document:create:empty-document", (e) => N(o.value, e)), a.on("document:delete:document", async (e) => {
|
|
48
|
+
C(o.value, e), i.params.documentSlug === e.name && await m.push({
|
|
49
|
+
name: "workspace.environment"
|
|
50
|
+
});
|
|
51
|
+
}), a.on("environment:upsert:environment", (e) => {
|
|
52
|
+
o.value && E(t.value, o.value.workspace, e);
|
|
42
53
|
}), a.on(
|
|
43
54
|
"environment:delete:environment",
|
|
44
|
-
({ environmentName: e, collectionType: r }) => delete
|
|
55
|
+
({ environmentName: e, collectionType: r }) => delete p(t, r)?.["x-scalar-environments"]?.[e]
|
|
45
56
|
), a.on("environment:upsert:environment-variable", (e) => {
|
|
46
|
-
const r =
|
|
47
|
-
|
|
57
|
+
const r = p(t, e.collectionType);
|
|
58
|
+
q(r, e);
|
|
48
59
|
}), a.on(
|
|
49
60
|
"environment:delete:environment-variable",
|
|
50
|
-
({ environmentName: e, index: r, collectionType:
|
|
61
|
+
({ environmentName: e, index: r, collectionType: n }) => p(t, n)?.["x-scalar-environments"]?.[e]?.variables?.splice(r, 1)
|
|
51
62
|
), a.on("cookie:upsert:cookie", (e) => {
|
|
52
|
-
const r =
|
|
53
|
-
|
|
63
|
+
const r = p(t, e.collectionType);
|
|
64
|
+
P(r, e);
|
|
54
65
|
}), a.on("cookie:delete:cookie", (e) => {
|
|
55
|
-
const r =
|
|
56
|
-
|
|
57
|
-
}), a.on("auth:delete:security-scheme", (e) =>
|
|
66
|
+
const r = p(t, e.collectionType);
|
|
67
|
+
I(r, e);
|
|
68
|
+
}), a.on("auth:delete:security-scheme", (e) => M(t.value, e)), a.on("auth:update:active-index", (e) => k(t.value, e)), a.on("auth:update:security-scheme", (e) => A(t.value, e)), a.on("auth:update:selected-scopes", (e) => D(t.value, e)), a.on(
|
|
58
69
|
"auth:update:selected-security-schemes",
|
|
59
|
-
async (e) => await
|
|
60
|
-
), a.on("server:add:server", () =>
|
|
61
|
-
"operation:update:
|
|
62
|
-
(e) =>
|
|
63
|
-
r &&
|
|
70
|
+
async (e) => await F(t.value, e)
|
|
71
|
+
), a.on("server:add:server", () => U(t.value)), a.on("server:update:server", (e) => V(t.value, e)), a.on("server:delete:server", (e) => K(t.value, e)), a.on("server:update:variables", (e) => L(t.value, e)), a.on("server:update:selected", (e) => W(t.value, e)), a.on("operation:create:operation", (e) => j(o.value, e)), a.on(
|
|
72
|
+
"operation:update:pathMethod",
|
|
73
|
+
(e) => z(t.value, o.value, e, async (r) => {
|
|
74
|
+
r === "success" && (await m.replace({
|
|
64
75
|
name: "example",
|
|
65
76
|
params: {
|
|
66
77
|
method: e.payload.method,
|
|
67
|
-
pathEncoded: encodeURIComponent(e.
|
|
68
|
-
exampleName:
|
|
78
|
+
pathEncoded: encodeURIComponent(e.payload.path),
|
|
79
|
+
exampleName: i.params.exampleName
|
|
69
80
|
}
|
|
70
|
-
});
|
|
81
|
+
}), u(t.value?.["x-scalar-navigation"]?.id)), e.callback(r);
|
|
71
82
|
})
|
|
72
|
-
), a.on("operation:update:
|
|
73
|
-
|
|
83
|
+
), a.on("operation:update:summary", (e) => G(t.value, e)), a.on("operation:delete:operation", (e) => {
|
|
84
|
+
H(o.value, e), u(e.documentName), h({
|
|
85
|
+
documentName: e.documentName,
|
|
86
|
+
path: e.meta.path,
|
|
87
|
+
method: e.meta.method
|
|
88
|
+
}) && m.replace({
|
|
89
|
+
name: "document.overview",
|
|
90
|
+
params: {
|
|
91
|
+
documentSlug: e.documentName
|
|
92
|
+
}
|
|
93
|
+
});
|
|
94
|
+
}), a.on("operation:delete:example", (e) => {
|
|
95
|
+
J(o.value, e), u(e.documentName), h({
|
|
96
|
+
documentName: e.documentName,
|
|
97
|
+
path: e.meta.path,
|
|
98
|
+
method: e.meta.method,
|
|
99
|
+
exampleName: e.meta.exampleKey
|
|
100
|
+
}) && m.replace({
|
|
101
|
+
name: "example",
|
|
102
|
+
params: {
|
|
103
|
+
pathEncoded: encodeURIComponent(e.meta.path),
|
|
104
|
+
method: e.meta.method,
|
|
105
|
+
documentSlug: e.documentName,
|
|
106
|
+
exampleName: "default"
|
|
107
|
+
}
|
|
108
|
+
});
|
|
109
|
+
}), a.on("operation:add:parameter", (e) => {
|
|
110
|
+
Q(t.value, e), c(e.meta);
|
|
74
111
|
}), a.on("operation:update:parameter", (e) => {
|
|
75
|
-
|
|
76
|
-
}), a.on("operation:delete:parameter", (e) =>
|
|
112
|
+
S(t.value, e), c(e.meta);
|
|
113
|
+
}), a.on("operation:delete:parameter", (e) => X(t.value, e)), a.on("operation:delete-all:parameters", (e) => Y(t.value, e)), a.on(
|
|
77
114
|
"operation:update:requestBody:contentType",
|
|
78
|
-
(e) =>
|
|
115
|
+
(e) => Z(t.value, e)
|
|
79
116
|
), a.on("operation:update:requestBody:value", (e) => {
|
|
80
|
-
|
|
117
|
+
_(t.value, e), c(e.meta);
|
|
81
118
|
}), a.on("operation:add:requestBody:formRow", (e) => {
|
|
82
|
-
|
|
119
|
+
$(t.value, e), c(e.meta);
|
|
83
120
|
}), a.on(
|
|
84
121
|
"operation:update:requestBody:formRow",
|
|
85
|
-
(e) =>
|
|
122
|
+
(e) => B(t.value, e)
|
|
86
123
|
), a.on(
|
|
87
124
|
"operation:delete:requestBody:formRow",
|
|
88
|
-
(e) =>
|
|
89
|
-
), a.on("tag:create:tag", (e) =>
|
|
125
|
+
(e) => ee(t.value, e)
|
|
126
|
+
), a.on("tag:create:tag", (e) => {
|
|
127
|
+
ae(o.value, e), u(e.documentName);
|
|
128
|
+
}), a.on("tag:delete:tag", (e) => {
|
|
129
|
+
te(o.value, e), u(e.documentName);
|
|
130
|
+
}), a.on("ui:toggle:sidebar", () => d.value = !d.value), a.on(
|
|
90
131
|
"ui:open:command-palette",
|
|
91
132
|
(e) => {
|
|
92
|
-
e ?
|
|
133
|
+
e ? s.open(e.action, e.payload) : s.open();
|
|
93
134
|
}
|
|
94
135
|
), a.on("tabs:add:tab", async (e) => {
|
|
95
|
-
|
|
136
|
+
oe(o.value?.workspace ?? null, e), await l();
|
|
96
137
|
}), a.on("tabs:close:tab", async (e) => {
|
|
97
|
-
|
|
98
|
-
}), a.on("tabs:close:other-tabs", (e) =>
|
|
99
|
-
|
|
138
|
+
re(o.value?.workspace ?? null, e), await l();
|
|
139
|
+
}), a.on("tabs:close:other-tabs", (e) => ne(o.value?.workspace ?? null, e)), a.on("tabs:focus:tab", async (e) => {
|
|
140
|
+
le(o.value?.workspace ?? null, e), await l();
|
|
100
141
|
}), a.on("tabs:focus:tab-last", async (e) => {
|
|
101
|
-
|
|
142
|
+
ie(o.value?.workspace ?? null, e), await l();
|
|
102
143
|
}), a.on("tabs:navigate:previous", async (e) => {
|
|
103
|
-
|
|
144
|
+
ue(o.value?.workspace ?? null, e), await l();
|
|
104
145
|
}), a.on("tabs:navigate:next", async (e) => {
|
|
105
|
-
|
|
146
|
+
me(o.value?.workspace ?? null, e), await l();
|
|
106
147
|
}), a.on("tabs:update:tabs", async (e) => {
|
|
107
|
-
|
|
148
|
+
pe(o.value?.workspace ?? null, e), await l();
|
|
108
149
|
});
|
|
109
150
|
};
|
|
110
151
|
export {
|
|
111
|
-
|
|
152
|
+
fe as useWorkspaceClientEvents
|
|
112
153
|
};
|
|
@@ -33,7 +33,7 @@ const W = { class: "flex-center relative flex flex-1 flex-col gap-6 p-2 capitali
|
|
|
33
33
|
}));
|
|
34
34
|
}, f = (o) => {
|
|
35
35
|
o?.createNew && g.name === "request" && d();
|
|
36
|
-
}, v = "2.
|
|
36
|
+
}, v = "2.15.0";
|
|
37
37
|
return q(() => a.hotKeys.on(f)), R(() => a.hotKeys.off(f)), (o, e) => (i(), l("div", W, [
|
|
38
38
|
s("div", {
|
|
39
39
|
class: y(["flex h-[calc(100%_-_50px)] flex-col items-center justify-center", {
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"rest",
|
|
19
19
|
"testing"
|
|
20
20
|
],
|
|
21
|
-
"version": "2.
|
|
21
|
+
"version": "2.15.0",
|
|
22
22
|
"engines": {
|
|
23
23
|
"node": ">=20"
|
|
24
24
|
},
|
|
@@ -319,28 +319,28 @@
|
|
|
319
319
|
"vue": "^3.5.21",
|
|
320
320
|
"vue-router": "4.6.2",
|
|
321
321
|
"whatwg-mimetype": "^4.0.0",
|
|
322
|
-
"yaml": "2.8.0",
|
|
323
|
-
"zod": "4.1.11",
|
|
324
|
-
"@scalar/analytics-client": "1.0.
|
|
322
|
+
"yaml": "^2.8.0",
|
|
323
|
+
"zod": "^4.1.11",
|
|
324
|
+
"@scalar/analytics-client": "1.0.1",
|
|
325
|
+
"@scalar/helpers": "0.2.2",
|
|
325
326
|
"@scalar/draggable": "0.3.0",
|
|
326
|
-
"@scalar/
|
|
327
|
-
"@scalar/components": "0.16.6",
|
|
327
|
+
"@scalar/components": "0.16.8",
|
|
328
328
|
"@scalar/icons": "0.5.0",
|
|
329
|
-
"@scalar/import": "0.4.
|
|
330
|
-
"@scalar/json-magic": "0.8.
|
|
331
|
-
"@scalar/object-utils": "1.2.
|
|
332
|
-
"@scalar/
|
|
333
|
-
"@scalar/
|
|
334
|
-
"@scalar/openapi
|
|
335
|
-
"@scalar/
|
|
336
|
-
"@scalar/sidebar": "0.
|
|
337
|
-
"@scalar/snippetz": "0.5.
|
|
338
|
-
"@scalar/types": "0.5.
|
|
339
|
-
"@scalar/
|
|
340
|
-
"@scalar/use-hooks": "0.3.
|
|
341
|
-
"@scalar/
|
|
342
|
-
"@scalar/workspace-store": "0.
|
|
343
|
-
"@scalar/use-
|
|
329
|
+
"@scalar/import": "0.4.39",
|
|
330
|
+
"@scalar/json-magic": "0.8.6",
|
|
331
|
+
"@scalar/object-utils": "1.2.16",
|
|
332
|
+
"@scalar/oas-utils": "0.6.8",
|
|
333
|
+
"@scalar/openapi-types": "0.5.3",
|
|
334
|
+
"@scalar/postman-to-openapi": "0.3.49",
|
|
335
|
+
"@scalar/openapi-parser": "0.23.7",
|
|
336
|
+
"@scalar/sidebar": "0.6.0",
|
|
337
|
+
"@scalar/snippetz": "0.5.5",
|
|
338
|
+
"@scalar/types": "0.5.2",
|
|
339
|
+
"@scalar/use-codemirror": "0.13.2",
|
|
340
|
+
"@scalar/use-hooks": "0.3.3",
|
|
341
|
+
"@scalar/themes": "0.13.26",
|
|
342
|
+
"@scalar/workspace-store": "0.23.0",
|
|
343
|
+
"@scalar/use-toasts": "0.9.1"
|
|
344
344
|
},
|
|
345
345
|
"devDependencies": {
|
|
346
346
|
"@tailwindcss/vite": "^4.1.7",
|