@scalar/api-client 2.0.15 → 2.0.16
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 +22 -0
- package/README.md +46 -3
- package/dist/App/ApiClientApp.vue.d.ts +3 -0
- package/dist/App/ApiClientApp.vue.d.ts.map +1 -0
- package/dist/App/ApiClientApp.vue.js +56 -0
- package/dist/App/ApiClientApp.vue3.js +5 -0
- package/dist/App/createApiClientApp.d.ts +16 -0
- package/dist/App/createApiClientApp.d.ts.map +1 -0
- package/dist/App/createApiClientApp.js +62 -0
- package/dist/App/index.d.ts +3 -0
- package/dist/App/index.d.ts.map +1 -0
- package/dist/App/index.js +6 -0
- package/dist/App.vue.d.ts.map +1 -1
- package/dist/App.vue.js +49 -33
- package/dist/Modal/api-client-modal.d.ts +1 -1
- package/dist/Modal/api-client-modal.d.ts.map +1 -1
- package/dist/Modal/api-client-modal.js +7 -7
- package/dist/Modal/index.js +4 -4
- package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBar.vue.js +1 -1
- package/dist/components/AddressBar/AddressBar.vue2.js +2 -2
- package/dist/components/CodeInput/CodeInput.vue.d.ts +31 -4
- package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
- package/dist/components/CodeInput/CodeInput.vue.js +2 -2
- package/dist/components/CodeInput/CodeInput.vue2.js +61 -37
- package/dist/components/CommandPalette/CommandPalette.vue.d.ts +17 -0
- package/dist/components/CommandPalette/CommandPalette.vue.d.ts.map +1 -0
- package/dist/components/CommandPalette/CommandPalette.vue.js +7 -0
- package/dist/components/CommandPalette/CommandPalette.vue2.js +184 -0
- package/dist/components/{ActionModal/ActionModalImport.vue.d.ts → CommandPalette/CommandPaletteCollection.vue.d.ts} +1 -1
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts.map +1 -0
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +66 -0
- package/dist/components/CommandPalette/CommandPaletteCollection.vue2.js +4 -0
- package/dist/components/{ActionModal/ActionModalCollection.vue.d.ts → CommandPalette/CommandPaletteExample.vue.d.ts} +1 -1
- package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts.map +1 -0
- package/dist/components/CommandPalette/CommandPaletteExample.vue.js +107 -0
- package/dist/components/CommandPalette/CommandPaletteExample.vue2.js +4 -0
- package/dist/components/{ActionModal/ActionModalRequest.vue.d.ts → CommandPalette/CommandPaletteFolder.vue.d.ts} +1 -1
- package/dist/components/CommandPalette/CommandPaletteFolder.vue.d.ts.map +1 -0
- package/dist/components/CommandPalette/CommandPaletteFolder.vue.js +104 -0
- package/dist/components/CommandPalette/CommandPaletteFolder.vue2.js +4 -0
- package/dist/components/{ActionModal/ActionModalVariant.vue.d.ts → CommandPalette/CommandPaletteImport.vue.d.ts} +1 -1
- package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts.map +1 -0
- package/dist/components/CommandPalette/CommandPaletteImport.vue.js +86 -0
- package/dist/components/CommandPalette/CommandPaletteImport.vue2.js +4 -0
- package/dist/components/{ActionModal/ActionModalFolder.vue.d.ts → CommandPalette/CommandPaletteRequest.vue.d.ts} +1 -1
- package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts.map +1 -0
- package/dist/components/CommandPalette/CommandPaletteRequest.vue.js +119 -0
- package/dist/components/CommandPalette/CommandPaletteRequest.vue2.js +4 -0
- package/dist/components/ContextBar.vue.js +5 -5
- package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.js +6 -6
- package/dist/components/DataTable/DataTableCell.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableCell.vue.js +4 -4
- package/dist/components/SideNav/SideNavLink.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideNavLink.vue.js +3 -3
- package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
- package/dist/components/TopNav/TopNav.vue.js +1 -1
- package/dist/components/TopNav/TopNav.vue2.js +26 -26
- package/dist/components/TopNav/TopNavItem.vue.js +2 -2
- package/dist/components/TopNav/TopNavItem.vue2.js +8 -8
- package/dist/hooks/index.d.ts +0 -1
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +6 -9
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +11 -6
- package/dist/router.d.ts +4 -1
- package/dist/router.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +1 -1
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +32 -31
- package/dist/views/Request/Request.vue.d.ts.map +1 -1
- package/dist/views/Request/Request.vue.js +2 -2
- package/dist/views/Request/Request.vue2.js +68 -74
- package/dist/views/Request/RequestSection/RequestSection.vue.js +7 -7
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestTable.vue.js +4 -5
- package/dist/views/Request/RequestSection/RequestTable.vue2.js +80 -64
- package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebarItem.vue.js +1 -1
- package/dist/views/Request/RequestSidebarItem.vue2.js +48 -48
- package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebarItemMenu.vue.js +41 -68
- package/dist/views/Request/ResponseSection/ResponseSection.vue.js +2 -2
- package/package.json +11 -6
- package/dist/assets/ascii/collection.ascii.js +0 -10
- package/dist/assets/ascii/folder.ascii.js +0 -10
- package/dist/assets/ascii/import.ascii.js +0 -10
- package/dist/assets/ascii/request.ascii.js +0 -10
- package/dist/assets/ascii/variant.ascii.js +0 -10
- package/dist/components/ActionModal/ActionModal.vue.d.ts +0 -21
- package/dist/components/ActionModal/ActionModal.vue.d.ts.map +0 -1
- package/dist/components/ActionModal/ActionModal.vue.js +0 -7
- package/dist/components/ActionModal/ActionModal.vue2.js +0 -117
- package/dist/components/ActionModal/ActionModalCollection.vue.d.ts.map +0 -1
- package/dist/components/ActionModal/ActionModalCollection.vue.js +0 -54
- package/dist/components/ActionModal/ActionModalCollection.vue2.js +0 -4
- package/dist/components/ActionModal/ActionModalFolder.vue.d.ts.map +0 -1
- package/dist/components/ActionModal/ActionModalFolder.vue.js +0 -92
- package/dist/components/ActionModal/ActionModalFolder.vue2.js +0 -4
- package/dist/components/ActionModal/ActionModalImport.vue.d.ts.map +0 -1
- package/dist/components/ActionModal/ActionModalImport.vue.js +0 -70
- package/dist/components/ActionModal/ActionModalImport.vue2.js +0 -4
- package/dist/components/ActionModal/ActionModalRequest.vue.d.ts.map +0 -1
- package/dist/components/ActionModal/ActionModalRequest.vue.js +0 -108
- package/dist/components/ActionModal/ActionModalRequest.vue2.js +0 -4
- package/dist/components/ActionModal/ActionModalVariant.vue.d.ts.map +0 -1
- package/dist/components/ActionModal/ActionModalVariant.vue.js +0 -93
- package/dist/components/ActionModal/ActionModalVariant.vue2.js +0 -4
- package/dist/hooks/useActionModal.d.ts +0 -16
- package/dist/hooks/useActionModal.d.ts.map +0 -1
- package/dist/hooks/useActionModal.js +0 -25
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CommandPaletteImport.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/CommandPaletteImport.vue"],"names":[],"mappings":";WA+FS,MAAM;;;;WAAN,MAAM;;;;AAgMf,wBAOG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { defineComponent as v, ref as m, onMounted as S, openBlock as y, createElementBlock as F, Fragment as C, createElementVNode as t, toDisplayString as k, withModifiers as I, createVNode as a, unref as o, withCtx as u, createTextVNode as d } from "vue";
|
|
2
|
+
import { useWorkspace as N } from "../../store/workspace.js";
|
|
3
|
+
import { ScalarButton as f, ScalarIcon as R } from "@scalar/components";
|
|
4
|
+
import { useFileDialog as U } from "../../hooks/useFileDialog.js";
|
|
5
|
+
const A = { class: "gap-3 rounded bg-b-2 focus-within:bg-b-1 focus-within:shadow-border min-h-20 relative" }, B = /* @__PURE__ */ t("label", {
|
|
6
|
+
class: "absolute w-full h-full opacity-0 cursor-text",
|
|
7
|
+
for: "requestimport"
|
|
8
|
+
}, null, -1), D = { class: "flex gap-2" }, L = { class: "flex flex-1 gap-2 max-h-8" }, T = /* @__PURE__ */ v({
|
|
9
|
+
__name: "CommandPaletteImport",
|
|
10
|
+
props: {
|
|
11
|
+
title: {}
|
|
12
|
+
},
|
|
13
|
+
emits: ["close"],
|
|
14
|
+
setup(M, { emit: h }) {
|
|
15
|
+
const s = h, { importSpecFile: x, importSpecFromUrl: g } = N(), r = m(""), { open: _ } = U({
|
|
16
|
+
onChange: async (e) => {
|
|
17
|
+
const l = e == null ? void 0 : e[0];
|
|
18
|
+
if (l) {
|
|
19
|
+
const c = new FileReader();
|
|
20
|
+
c.onload = async (b) => {
|
|
21
|
+
var p;
|
|
22
|
+
const w = (p = b.target) == null ? void 0 : p.result;
|
|
23
|
+
x(w), n(), s("close");
|
|
24
|
+
}, c.readAsText(l);
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
multiple: !1,
|
|
28
|
+
accept: ".json,.yaml,.yml"
|
|
29
|
+
}), n = async () => {
|
|
30
|
+
r.value && (await g(r.value), s("close"));
|
|
31
|
+
}, i = m(null);
|
|
32
|
+
return S(() => {
|
|
33
|
+
var e;
|
|
34
|
+
(e = i.value) == null || e.focus();
|
|
35
|
+
}), (e, l) => (y(), F(C, null, [
|
|
36
|
+
t("h2", null, k(e.title), 1),
|
|
37
|
+
t("form", {
|
|
38
|
+
class: "flex w-full flex-col gap-3",
|
|
39
|
+
onSubmit: I(n, ["prevent"])
|
|
40
|
+
}, [
|
|
41
|
+
t("div", A, [
|
|
42
|
+
B,
|
|
43
|
+
t("input", {
|
|
44
|
+
id: "requestimport",
|
|
45
|
+
ref_key: "importInput",
|
|
46
|
+
ref: i,
|
|
47
|
+
class: "border-transparent outline-none w-full pl-8 text-sm min-h-8 py-1.5",
|
|
48
|
+
label: "Paste Swagger File URL",
|
|
49
|
+
placeholder: "Paste Swagger File URL"
|
|
50
|
+
}, null, 512)
|
|
51
|
+
]),
|
|
52
|
+
t("div", D, [
|
|
53
|
+
t("div", L, [
|
|
54
|
+
a(o(f), {
|
|
55
|
+
class: "p-2 max-h-8 gap-1 text-xs hover:bg-b-2 relative",
|
|
56
|
+
variant: "outlined",
|
|
57
|
+
onClick: o(_)
|
|
58
|
+
}, {
|
|
59
|
+
default: u(() => [
|
|
60
|
+
d(" JSON, or YAML Files "),
|
|
61
|
+
a(o(R), {
|
|
62
|
+
class: "text-c-3 -rotate-90",
|
|
63
|
+
icon: "ArrowRight",
|
|
64
|
+
size: "sm"
|
|
65
|
+
})
|
|
66
|
+
]),
|
|
67
|
+
_: 1
|
|
68
|
+
}, 8, ["onClick"])
|
|
69
|
+
]),
|
|
70
|
+
a(o(f), {
|
|
71
|
+
class: "max-h-8 text-xs p-0 px-3",
|
|
72
|
+
type: "submit"
|
|
73
|
+
}, {
|
|
74
|
+
default: u(() => [
|
|
75
|
+
d(" Import Collection ")
|
|
76
|
+
]),
|
|
77
|
+
_: 1
|
|
78
|
+
})
|
|
79
|
+
])
|
|
80
|
+
], 32)
|
|
81
|
+
], 64));
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
export {
|
|
85
|
+
T as default
|
|
86
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CommandPaletteRequest.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/CommandPaletteRequest.vue"],"names":[],"mappings":";WAwIS,MAAM;;;;WAAN,MAAM;;;;AA0Pf,wBAOG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { defineComponent as y, ref as u, computed as v, onMounted as M, openBlock as V, createElementBlock as N, Fragment as R, createElementVNode as l, toDisplayString as h, withModifiers as I, withDirectives as k, vModelText as E, createVNode as s, unref as n, withCtx as c, normalizeClass as F, createTextVNode as U } from "vue";
|
|
2
|
+
import B from "../HttpMethod/HttpMethod.vue.js";
|
|
3
|
+
import { useWorkspace as D } from "../../store/workspace.js";
|
|
4
|
+
import { ScalarListbox as T, ScalarButton as x, ScalarIcon as j } from "@scalar/components";
|
|
5
|
+
import { useRouter as z } from "vue-router";
|
|
6
|
+
const $ = { class: "gap-3 rounded bg-b-2 focus-within:bg-b-1 focus-within:shadow-border min-h-20 relative" }, G = /* @__PURE__ */ l("label", {
|
|
7
|
+
class: "absolute w-full h-full opacity-0 cursor-text",
|
|
8
|
+
for: "requestname"
|
|
9
|
+
}, null, -1), L = { class: "flex" }, O = { class: "flex flex-1 gap-2 max-h-8" }, Q = /* @__PURE__ */ y({
|
|
10
|
+
__name: "CommandPaletteRequest",
|
|
11
|
+
props: {
|
|
12
|
+
title: {}
|
|
13
|
+
},
|
|
14
|
+
emits: ["close"],
|
|
15
|
+
setup(P, { emit: b }) {
|
|
16
|
+
const _ = b, { push: q } = z(), { requestMutators: g, activeCollection: r, folders: w } = D(), a = u(""), i = u("GET"), m = u(""), f = v(() => r.value ? Object.values(r.value.childUids).flatMap((e) => {
|
|
17
|
+
const t = w[e];
|
|
18
|
+
return t ? [
|
|
19
|
+
{
|
|
20
|
+
id: t.uid,
|
|
21
|
+
label: t.name
|
|
22
|
+
}
|
|
23
|
+
] : [];
|
|
24
|
+
}) : []), o = v({
|
|
25
|
+
get: () => f.value.find(({ id: e }) => e === m.value),
|
|
26
|
+
set: (e) => {
|
|
27
|
+
e != null && e.id && (m.value = e.id);
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
function C(e) {
|
|
31
|
+
i.value = e;
|
|
32
|
+
}
|
|
33
|
+
function S() {
|
|
34
|
+
if (!r.value) return;
|
|
35
|
+
const e = g.add({
|
|
36
|
+
path: "",
|
|
37
|
+
method: i.value.toUpperCase(),
|
|
38
|
+
description: a.value,
|
|
39
|
+
operationId: a.value,
|
|
40
|
+
summary: a.value,
|
|
41
|
+
tags: ["default"]
|
|
42
|
+
});
|
|
43
|
+
q(`/request/${e.uid}`), _("close");
|
|
44
|
+
}
|
|
45
|
+
const p = u(null);
|
|
46
|
+
return M(() => {
|
|
47
|
+
var e;
|
|
48
|
+
(e = p.value) == null || e.focus();
|
|
49
|
+
}), (e, t) => (V(), N(R, null, [
|
|
50
|
+
l("h2", null, h(e.title), 1),
|
|
51
|
+
l("form", {
|
|
52
|
+
class: "flex w-full flex-col gap-3",
|
|
53
|
+
onSubmit: I(S, ["prevent"])
|
|
54
|
+
}, [
|
|
55
|
+
l("div", $, [
|
|
56
|
+
G,
|
|
57
|
+
k(l("input", {
|
|
58
|
+
id: "requestname",
|
|
59
|
+
ref_key: "requestInput",
|
|
60
|
+
ref: p,
|
|
61
|
+
"onUpdate:modelValue": t[0] || (t[0] = (d) => a.value = d),
|
|
62
|
+
class: "border-transparent outline-none w-full pl-8 text-sm min-h-8 py-1.5",
|
|
63
|
+
label: "Request Name",
|
|
64
|
+
placeholder: "Request Name"
|
|
65
|
+
}, null, 512), [
|
|
66
|
+
[E, a.value]
|
|
67
|
+
])
|
|
68
|
+
]),
|
|
69
|
+
l("div", L, [
|
|
70
|
+
l("div", O, [
|
|
71
|
+
s(B, {
|
|
72
|
+
isEditable: !0,
|
|
73
|
+
isSquare: "",
|
|
74
|
+
method: i.value,
|
|
75
|
+
onChange: C
|
|
76
|
+
}, null, 8, ["method"]),
|
|
77
|
+
s(n(T), {
|
|
78
|
+
modelValue: o.value,
|
|
79
|
+
"onUpdate:modelValue": t[1] || (t[1] = (d) => o.value = d),
|
|
80
|
+
options: f.value
|
|
81
|
+
}, {
|
|
82
|
+
default: c(() => [
|
|
83
|
+
s(n(x), {
|
|
84
|
+
class: "justify-between p-2 max-h-8 w-full gap-1 text-xs hover:bg-b-2",
|
|
85
|
+
variant: "outlined"
|
|
86
|
+
}, {
|
|
87
|
+
default: c(() => [
|
|
88
|
+
l("span", {
|
|
89
|
+
class: F(o.value ? "text-c-1" : "text-c-3")
|
|
90
|
+
}, h(o.value ? o.value.label : "Select Folder"), 3),
|
|
91
|
+
s(n(j), {
|
|
92
|
+
class: "text-c-3",
|
|
93
|
+
icon: "ChevronDown",
|
|
94
|
+
size: "xs"
|
|
95
|
+
})
|
|
96
|
+
]),
|
|
97
|
+
_: 1
|
|
98
|
+
})
|
|
99
|
+
]),
|
|
100
|
+
_: 1
|
|
101
|
+
}, 8, ["modelValue", "options"])
|
|
102
|
+
]),
|
|
103
|
+
s(n(x), {
|
|
104
|
+
class: "max-h-8 text-xs p-0 px-3",
|
|
105
|
+
type: "submit"
|
|
106
|
+
}, {
|
|
107
|
+
default: c(() => [
|
|
108
|
+
U(" Create Request ")
|
|
109
|
+
]),
|
|
110
|
+
_: 1
|
|
111
|
+
})
|
|
112
|
+
])
|
|
113
|
+
], 32)
|
|
114
|
+
], 64));
|
|
115
|
+
}
|
|
116
|
+
});
|
|
117
|
+
export {
|
|
118
|
+
Q as default
|
|
119
|
+
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { defineComponent as r, openBlock as n, createElementBlock as o, Fragment as i, renderList as s, normalizeClass as c, toDisplayString as a } from "vue";
|
|
2
|
-
const b = { class: "request-section-content request-section-content-filter bg-b-2 text-c-3 bg-b-1 sticky top-0 z-10 mb-2.5 hidden xl:flex justify-center rounded p-[2.25px] text-xs" }, l = ["isActive", "onClick"], v = /* @__PURE__ */ r({
|
|
2
|
+
const b = { class: "request-section-content request-section-content-filter bg-b-2 text-c-3 bg-b-1 sticky top-0 z-10 mb-2.5 hidden xl:flex justify-center rounded p-[2.25px] text-xs gap-0.5" }, l = ["isActive", "onClick"], v = /* @__PURE__ */ r({
|
|
3
3
|
__name: "ContextBar",
|
|
4
4
|
props: {
|
|
5
5
|
sections: {},
|
|
6
6
|
activeSection: {}
|
|
7
7
|
},
|
|
8
8
|
emits: ["setActiveSection"],
|
|
9
|
-
setup(
|
|
10
|
-
return (t,
|
|
9
|
+
setup(p) {
|
|
10
|
+
return (t, d) => (n(), o("div", b, [
|
|
11
11
|
(n(!0), o(i, null, s(t.sections, (e) => (n(), o("button", {
|
|
12
12
|
key: e,
|
|
13
|
-
class: c(["hover:
|
|
14
|
-
t.activeSection === e ? "bg-b-1 text-c-1 dark:bg-b-3 border hover:bg-b-1" : "border border-transparent"
|
|
13
|
+
class: c(["hover:bg-b-3 w-full rounded px-1 py-1 text-center font-medium", [
|
|
14
|
+
t.activeSection === e ? "!bg-b-1 text-c-1 dark:bg-b-3 border hover:bg-b-1" : "border border-transparent"
|
|
15
15
|
]]),
|
|
16
16
|
isActive: t.activeSection === e,
|
|
17
17
|
type: "button",
|
|
@@ -2,18 +2,18 @@ import { defineComponent as c, openBlock as l, createElementBlock as i, unref as
|
|
|
2
2
|
import m from "../ScreenReader.vue.js";
|
|
3
3
|
import { ScalarIcon as u } from "@scalar/components";
|
|
4
4
|
import { useDarkModeState as f } from "../../hooks/useDarkModeState.js";
|
|
5
|
-
const
|
|
5
|
+
const h = /* @__PURE__ */ c({
|
|
6
6
|
__name: "DarkModeIconToggle",
|
|
7
|
-
setup(
|
|
7
|
+
setup(g) {
|
|
8
8
|
const { toggleDarkMode: t, isDark: n } = f();
|
|
9
|
-
return (
|
|
10
|
-
class: "w-[37px] hover:
|
|
9
|
+
return (k, o) => (l(), i("button", {
|
|
10
|
+
class: "w-[37px] hover:bg-b-2 flex items-center justify-center rounded-lg p-[7px]",
|
|
11
11
|
type: "button",
|
|
12
12
|
onClick: o[0] || (o[0] = //@ts-ignore
|
|
13
13
|
(...a) => e(t) && e(t)(...a))
|
|
14
14
|
}, [
|
|
15
15
|
r(e(u), {
|
|
16
|
-
class: "block h-6 w-6 stroke-[
|
|
16
|
+
class: "block h-6 w-6 stroke-[1.5]",
|
|
17
17
|
icon: "LightDarkModeToggle"
|
|
18
18
|
}),
|
|
19
19
|
r(m, null, {
|
|
@@ -26,5 +26,5 @@ const M = /* @__PURE__ */ c({
|
|
|
26
26
|
}
|
|
27
27
|
});
|
|
28
28
|
export {
|
|
29
|
-
|
|
29
|
+
h as default
|
|
30
30
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTableCell.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTableCell.vue"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAiBpC,iBAAS,cAAc;
|
|
1
|
+
{"version":3,"file":"DataTableCell.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTableCell.vue"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAiBpC,iBAAS,cAAc;qBAsCM,GAAG;EAc/B;AACD,QAAA,MAAM,eAAe;SAjEZ,MAAM,GAAG,SAAS;;;;SAAlB,MAAM,GAAG,SAAS;;;;QAAlB,MAAM,GAAG,SAAS;MAuEzB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAC1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAC7C,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KAAC,CAAC,GACvC,CAAC,CAAC,CAAC,CAAC;CACP,CAAC;AAEN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AAExD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { defineComponent as r, openBlock as t, createBlock as o, resolveDynamicComponent as l, withCtx as a, renderSlot as
|
|
1
|
+
import { defineComponent as r, openBlock as t, createBlock as o, resolveDynamicComponent as l, withCtx as a, renderSlot as n } from "vue";
|
|
2
2
|
const m = /* @__PURE__ */ r({
|
|
3
3
|
__name: "DataTableCell",
|
|
4
4
|
props: {
|
|
5
5
|
is: { default: "td" }
|
|
6
6
|
},
|
|
7
|
-
setup(
|
|
7
|
+
setup(s) {
|
|
8
8
|
return (e, d) => (t(), o(l(e.is), {
|
|
9
|
-
class: "min-h-8 border-l-0 border-t-0 border-b-1/2 border-r-1/2 flex text-sm last:border-r-0 group-last:border-b-transparent p-0 m-0",
|
|
9
|
+
class: "min-h-8 border-l-0 border-t-0 border-b-1/2 border-r-1/2 flex text-sm last:border-r-0 group-last:border-b-transparent p-0 m-0 relative min-w-full",
|
|
10
10
|
role: "cell"
|
|
11
11
|
}, {
|
|
12
12
|
default: a(() => [
|
|
13
|
-
|
|
13
|
+
n(e.$slots, "default")
|
|
14
14
|
]),
|
|
15
15
|
_: 3
|
|
16
16
|
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SideNavLink.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SideNav/SideNavLink.vue"],"names":[],"mappings":"AAyBA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAI/C,KAAK,SAAS,GAAG,YAAY,CAAC,OAAO,UAAU,CAAC,CAAC,QAAQ,CAAC,CAAA;AAa1D,iBAAS,cAAc;
|
|
1
|
+
{"version":3,"file":"SideNavLink.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SideNav/SideNavLink.vue"],"names":[],"mappings":"AAyBA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAI/C,KAAK,SAAS,GAAG,YAAY,CAAC,OAAO,UAAU,CAAC,CAAC,QAAQ,CAAC,CAAA;AAa1D,iBAAS,cAAc;qBAwDO,GAAG;EAehC;AACD,QAAA,MAAM,eAAe;UAlFb,SAAS,CAAC,MAAM,CAAC;UACjB,MAAM;aACH,OAAO;;UAFV,SAAS,CAAC,MAAM,CAAC;UACjB,MAAM;aACH,OAAO;aAsFhB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as t, resolveComponent as n, openBlock as r, createBlock as
|
|
1
|
+
import { defineComponent as t, resolveComponent as n, openBlock as r, createBlock as a, normalizeClass as s, withCtx as c, createVNode as l, unref as i, createElementVNode as p, renderSlot as u } from "vue";
|
|
2
2
|
import { ScalarIcon as m } from "@scalar/components";
|
|
3
3
|
const d = { class: "sr-only" }, k = /* @__PURE__ */ t({
|
|
4
4
|
__name: "SideNavLink",
|
|
@@ -10,9 +10,9 @@ const d = { class: "sr-only" }, k = /* @__PURE__ */ t({
|
|
|
10
10
|
setup(f) {
|
|
11
11
|
return (e, _) => {
|
|
12
12
|
const o = n("router-link");
|
|
13
|
-
return r(),
|
|
13
|
+
return r(), a(o, {
|
|
14
14
|
activeClass: "active-link",
|
|
15
|
-
class:
|
|
15
|
+
class: s(["w-[37px] hover:bg-b-2 active:text-c-1 flex items-center justify-center rounded-lg p-[7px]", { "bg-b-2 transition-none hover:cursor-auto text-c-1": e.active }]),
|
|
16
16
|
to: e.path
|
|
17
17
|
}, {
|
|
18
18
|
default: c(() => [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TopNav.vue.d.ts","sourceRoot":"","sources":["../../../src/components/TopNav/TopNav.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"TopNav.vue.d.ts","sourceRoot":"","sources":["../../../src/components/TopNav/TopNav.vue"],"names":[],"mappings":";AA+NA,wBAKG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./TopNav.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d4581e27"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as _, computed as k, openBlock as l, createElementBlock as a, createElementVNode as c, unref as e, createVNode as i, toDisplayString as I, Fragment as N, renderList as x, createBlock as y } from "vue";
|
|
2
2
|
import { useTopNav as b } from "../../store/topNav.js";
|
|
3
3
|
import { ScalarIcon as m } from "@scalar/components";
|
|
4
4
|
import g from "./TopNavItem.vue.js";
|
|
5
|
-
const
|
|
5
|
+
const h = { class: "flex h-10 t-app__top-nav" }, C = { class: "flex h-10 flex-1 items-center justify-center gap-1.5 text-sm font-medium" }, B = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "flex items-center gap-1 w-full justify-center"
|
|
8
|
-
},
|
|
8
|
+
}, $ = /* @__PURE__ */ _({
|
|
9
9
|
__name: "TopNav",
|
|
10
|
-
setup(
|
|
10
|
+
setup(S) {
|
|
11
11
|
const {
|
|
12
|
-
topNavItems:
|
|
12
|
+
topNavItems: o,
|
|
13
13
|
addNavItem: s,
|
|
14
|
-
activeNavItemIdx:
|
|
15
|
-
setNavItemIdx:
|
|
16
|
-
removeNavItem:
|
|
17
|
-
} = b();
|
|
18
|
-
return (
|
|
19
|
-
c("div",
|
|
20
|
-
e(
|
|
14
|
+
activeNavItemIdx: v,
|
|
15
|
+
setNavItemIdx: p,
|
|
16
|
+
removeNavItem: u
|
|
17
|
+
} = b(), d = k(() => v.value);
|
|
18
|
+
return (T, r) => (l(), a("nav", h, [
|
|
19
|
+
c("div", C, [
|
|
20
|
+
e(o).length === 1 ? (l(), a("div", B, [
|
|
21
21
|
i(e(m), {
|
|
22
|
-
|
|
22
|
+
class: "stroke-[2]",
|
|
23
|
+
icon: e(o)[0].icon,
|
|
23
24
|
size: "xs"
|
|
24
25
|
}, null, 8, ["icon"]),
|
|
25
|
-
c("div", null,
|
|
26
|
-
])) : (l(!0), a(
|
|
27
|
-
key:
|
|
28
|
-
active:
|
|
29
|
-
hotkey: (
|
|
30
|
-
icon:
|
|
31
|
-
label:
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}, null, 8, ["active", "hotkey", "icon", "label", "path", "onClick", "onClose"]))), 128)),
|
|
26
|
+
c("div", null, I(e(o)[0].label), 1)
|
|
27
|
+
])) : (l(!0), a(N, { key: 1 }, x(e(o), (n, t) => (l(), y(g, {
|
|
28
|
+
key: t,
|
|
29
|
+
active: t === d.value,
|
|
30
|
+
hotkey: (t + 1).toString(),
|
|
31
|
+
icon: n.icon,
|
|
32
|
+
label: n.label,
|
|
33
|
+
onClick: (f) => e(p)(t),
|
|
34
|
+
onClose: (f) => e(u)(t)
|
|
35
|
+
}, null, 8, ["active", "hotkey", "icon", "label", "onClick", "onClose"]))), 128)),
|
|
36
36
|
c("button", {
|
|
37
37
|
class: "text-c-3 hover:bg-b-2 p-1.5 rounded-lg",
|
|
38
38
|
type: "button",
|
|
39
39
|
onClick: r[0] || (r[0] = //@ts-ignore
|
|
40
|
-
(...
|
|
40
|
+
(...n) => e(s) && e(s)(...n))
|
|
41
41
|
}, [
|
|
42
42
|
i(e(m), {
|
|
43
43
|
icon: "Add",
|
|
@@ -49,5 +49,5 @@ const x = { class: "flex h-10 t-app__top-nav" }, N = { class: "flex h-10 flex-1
|
|
|
49
49
|
}
|
|
50
50
|
});
|
|
51
51
|
export {
|
|
52
|
-
|
|
52
|
+
$ as default
|
|
53
53
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./TopNavItem.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-a1e15ecf"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as m, openBlock as
|
|
1
|
+
import { defineComponent as m, openBlock as n, createBlock as i, unref as s, withCtx as l, createElementVNode as o, normalizeClass as p, createVNode as a, toDisplayString as k, createCommentVNode as f } from "vue";
|
|
2
2
|
import v from "../ScalarHotkey.vue.js";
|
|
3
3
|
import { ScalarTooltip as y, ScalarIcon as c } from "@scalar/components";
|
|
4
4
|
const d = { class: "nav-item-icon-copy flex flex-1 items-center justify-center gap-1.5" }, u = { class: "nav-item-copy text-xs" }, b = /* @__PURE__ */ m({
|
|
@@ -11,7 +11,7 @@ const d = { class: "nav-item-icon-copy flex flex-1 items-center justify-center g
|
|
|
11
11
|
},
|
|
12
12
|
emits: ["click", "close"],
|
|
13
13
|
setup(C) {
|
|
14
|
-
return (e, t) => (
|
|
14
|
+
return (e, t) => (n(), i(s(y), {
|
|
15
15
|
class: "scalar-client",
|
|
16
16
|
delay: 500,
|
|
17
17
|
resize: "",
|
|
@@ -23,19 +23,19 @@ const d = { class: "nav-item-icon-copy flex flex-1 items-center justify-center g
|
|
|
23
23
|
onClick: t[1] || (t[1] = (r) => e.$emit("click"))
|
|
24
24
|
}, [
|
|
25
25
|
o("div", d, [
|
|
26
|
-
a(
|
|
27
|
-
class: "
|
|
26
|
+
a(s(c), {
|
|
27
|
+
class: "stroke-[2]",
|
|
28
28
|
icon: e.icon,
|
|
29
29
|
size: "xs"
|
|
30
30
|
}, null, 8, ["icon"]),
|
|
31
|
-
o("span", u,
|
|
31
|
+
o("span", u, k(e.label), 1)
|
|
32
32
|
]),
|
|
33
33
|
o("button", {
|
|
34
34
|
class: "nav-item-close",
|
|
35
35
|
type: "button",
|
|
36
36
|
onClick: t[0] || (t[0] = (r) => e.$emit("close"))
|
|
37
37
|
}, [
|
|
38
|
-
a(
|
|
38
|
+
a(s(c), {
|
|
39
39
|
class: "stroke-[1.75]",
|
|
40
40
|
icon: "Close"
|
|
41
41
|
})
|
|
@@ -43,10 +43,10 @@ const d = { class: "nav-item-icon-copy flex flex-1 items-center justify-center g
|
|
|
43
43
|
], 2)
|
|
44
44
|
]),
|
|
45
45
|
content: l(() => [
|
|
46
|
-
e.hotkey ? (
|
|
46
|
+
e.hotkey ? (n(), i(v, {
|
|
47
47
|
key: 0,
|
|
48
48
|
hotkey: e.hotkey
|
|
49
|
-
}, null, 8, ["hotkey"])) :
|
|
49
|
+
}, null, 8, ["hotkey"])) : f("", !0)
|
|
50
50
|
]),
|
|
51
51
|
_: 1
|
|
52
52
|
}));
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export * from './useDarkModeState.js';
|
|
2
2
|
export * from './useClipboard.js';
|
|
3
3
|
export * from './useKeyMap.js';
|
|
4
|
-
export * from './useActionModal.js';
|
|
5
4
|
export * from './useFileDialog.js';
|
|
6
5
|
export { useSidebar } from './useSidebar.js';
|
|
7
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAA;AAC/B,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA"}
|
package/dist/hooks/index.js
CHANGED
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
import { useDarkModeState as r } from "./useDarkModeState.js";
|
|
2
|
-
import { useClipboard as
|
|
2
|
+
import { useClipboard as t } from "./useClipboard.js";
|
|
3
3
|
import { keyMap as f } from "./useKeyMap.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { useSidebar as u } from "./useSidebar.js";
|
|
4
|
+
import { useFileDialog as x } from "./useFileDialog.js";
|
|
5
|
+
import { useSidebar as s } from "./useSidebar.js";
|
|
7
6
|
export {
|
|
8
|
-
m as ActionModalTab,
|
|
9
7
|
f as keyMap,
|
|
10
|
-
|
|
11
|
-
a as useClipboard,
|
|
8
|
+
t as useClipboard,
|
|
12
9
|
r as useDarkModeState,
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
x as useFileDialog,
|
|
11
|
+
s as useSidebar
|
|
15
12
|
};
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,WAAW,CAAA;AACnD,cAAc,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,WAAW,CAAA;AACnD,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA;AAErB,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAEhD,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,13 +1,18 @@
|
|
|
1
|
-
import { default as
|
|
1
|
+
import { default as p } from "./App.vue.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import { useWorkspace as l } from "./store/workspace.js";
|
|
4
4
|
import { modalRouter as f } from "./router.js";
|
|
5
|
-
import { default as
|
|
6
|
-
|
|
5
|
+
import { default as x } from "./App/ApiClientApp.vue.js";
|
|
6
|
+
/* empty css */
|
|
7
|
+
import { default as A } from "./Modal/ApiClientModal.vue.js";
|
|
8
|
+
import { createApiClientModal as s } from "./Modal/api-client-modal.js";
|
|
9
|
+
import { createApiClientApp as C } from "./App/createApiClientApp.js";
|
|
7
10
|
export {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
+
x as ApiClientApp,
|
|
12
|
+
A as ApiClientModal,
|
|
13
|
+
p as ScalarClient,
|
|
14
|
+
C as createApiClientApp,
|
|
15
|
+
s as createApiClientModal,
|
|
11
16
|
f as modalRouter,
|
|
12
17
|
l as useWorkspace
|
|
13
18
|
};
|
package/dist/router.d.ts
CHANGED
|
@@ -17,8 +17,11 @@ export declare const modalRoutes: ({
|
|
|
17
17
|
component: () => Promise<typeof import("./views/Request/Request.vue.js")>;
|
|
18
18
|
redirect?: undefined;
|
|
19
19
|
})[];
|
|
20
|
+
/**
|
|
21
|
+
* Router for the API Client app
|
|
22
|
+
*/
|
|
20
23
|
export declare const router: import("vue-router").Router;
|
|
21
|
-
/**
|
|
24
|
+
/** Router for the API Client modal */
|
|
22
25
|
export declare const modalRouter: import("vue-router").Router;
|
|
23
26
|
export declare const activeRouterParams: import("vue").ComputedRef<{
|
|
24
27
|
collection: string;
|
package/dist/router.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../src/router.ts"],"names":[],"mappings":"AAGA,oBAAY,MAAM;IAChB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,UAAU,eAAe;IACzB,MAAM,WAAW;IACjB,WAAW,gBAAgB;IAC3B,MAAM,WAAW;CAClB;AAED,0CAA0C;AAC1C,eAAO,MAAM,WAAW;;;;;;;;IAcvB,CAAA;AAyDD,eAAO,MAAM,MAAM,6BAGjB,CAAA;AAEF,
|
|
1
|
+
{"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../src/router.ts"],"names":[],"mappings":"AAGA,oBAAY,MAAM;IAChB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,UAAU,eAAe;IACzB,MAAM,WAAW;IACjB,WAAW,gBAAgB;IAC3B,MAAM,WAAW;CAClB;AAED,0CAA0C;AAC1C,eAAO,MAAM,WAAW;;;;;;;;IAcvB,CAAA;AAyDD;;GAEG;AACH,eAAO,MAAM,MAAM,6BAGjB,CAAA;AAEF,sCAAsC;AACtC,eAAO,MAAM,WAAW,6BAGtB,CAAA;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;EAyB7B,CAAA;AAEF,gGAAgG;AAChG,wBAAgB,qBAAqB,CACnC,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,QAmBtC"}
|