@scalar/api-client 2.0.43 → 2.0.45
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 +24 -0
- package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBar.vue.js +2 -2
- package/dist/components/AddressBar/AddressBar.vue2.js +77 -69
- package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
- package/dist/components/CodeInput/CodeInput.vue.js +2 -2
- package/dist/components/ContextBar.vue.d.ts.map +1 -1
- package/dist/components/ContextBar.vue.js +5 -23
- package/dist/components/ContextBar.vue2.js +25 -2
- package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.js +1 -1
- package/dist/components/Form/Form.vue.d.ts +12 -3
- package/dist/components/Form/Form.vue.d.ts.map +1 -1
- package/dist/components/Form/Form.vue.js +24 -24
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue.js +25 -22
- package/dist/components/SideNav/SideHelp.vue.js +1 -1
- package/dist/components/SideNav/SideNavLink.vue.js +2 -2
- package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Sidebar.vue.js +2 -2
- package/dist/components/Sidebar/SidebarButton.vue.js +1 -1
- package/dist/components/Sidebar/SidebarListElement.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarListElement.vue.js +2 -2
- package/dist/components/Sidebar/SidebarListElement.vue2.js +21 -21
- package/dist/components/Sidebar/SidebarListElementActions.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarListElementActions.vue.js +19 -18
- package/dist/components/Sidebar/SidebarToggle.vue.js +1 -1
- package/dist/components/SubpageHeader.vue.d.ts.map +1 -1
- package/dist/components/SubpageHeader.vue.js +3 -3
- package/dist/components/SubpageHeader.vue2.js +7 -7
- package/dist/components/TopNav/TopNav.vue.js +2 -2
- package/dist/components/TopNav/TopNav.vue2.js +2 -2
- package/dist/components/TopNav/TopNavItem.vue.d.ts.map +1 -1
- package/dist/components/TopNav/TopNavItem.vue.js +2 -2
- package/dist/components/ViewLayout/ViewLayout.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayout.vue.js +6 -6
- package/dist/components/ViewLayout/ViewLayoutContent.vue.js +1 -1
- package/dist/components/ViewLayout/ViewLayoutSection.vue.js +1 -1
- package/dist/errors.d.ts +5 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +7 -0
- package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
- package/dist/layouts/App/create-api-client-app.d.ts +36 -36
- package/dist/layouts/Modal/ApiClientModal.vue.js +2 -2
- package/dist/layouts/Modal/create-api-client-modal.d.ts +72 -72
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
- package/dist/layouts/Modal/create-api-client-modal.js +26 -18
- package/dist/libs/create-client.d.ts +39 -37
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/eventBusses/index.d.ts +1 -0
- package/dist/libs/eventBusses/index.d.ts.map +1 -1
- package/dist/libs/eventBusses/index.js +3 -1
- package/dist/libs/eventBusses/requestStatusBus.d.ts +5 -0
- package/dist/libs/eventBusses/requestStatusBus.d.ts.map +1 -0
- package/dist/libs/eventBusses/requestStatusBus.js +5 -0
- package/dist/libs/index.js +7 -5
- package/dist/libs/sendRequest.d.ts +2 -0
- package/dist/libs/sendRequest.d.ts.map +1 -1
- package/dist/libs/sendRequest.js +46 -37
- package/dist/store/workspace.d.ts +121 -120
- package/dist/store/workspace.d.ts.map +1 -1
- package/dist/store/workspace.js +274 -274
- package/dist/style.css +1 -1
- package/dist/views/Cookies/CookieForm.vue.d.ts.map +1 -1
- package/dist/views/Cookies/CookieForm.vue.js +34 -17
- package/dist/views/Cookies/Cookies.vue2.js +9 -9
- package/dist/views/Environment/Environment.vue2.js +24 -24
- 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 +170 -166
- package/dist/views/Request/RequestSection/RequestAuth.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestAuth.vue2.js +115 -126
- package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestPathParams.vue.js +63 -42
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.js +69 -51
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestTable.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestTable.vue2.js +47 -44
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.js +30 -28
- package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
- package/dist/views/Request/RequestSidebarItem.vue2.js +4 -4
- package/dist/views/Request/ResponseSection/ResponseSection.vue.js +18 -18
- package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -1
- package/dist/views/Request/components/WorkspaceDropdown.vue.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @scalar/api-client
|
|
2
2
|
|
|
3
|
+
## 2.0.45
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- ee80ee5: feat: allow renaming requests, cookies, environments
|
|
8
|
+
- f3fec79: fix: adds delete sidebar list element close event
|
|
9
|
+
- 2301345: fix: authentication select
|
|
10
|
+
- 57f5691: feat: set path variables from url
|
|
11
|
+
- faf3ed9: fix: style updates to client app
|
|
12
|
+
- a1c73a0: feat(api-client): improve client request loading and feedback
|
|
13
|
+
- Updated dependencies [faf3ed9]
|
|
14
|
+
- @scalar/themes@0.9.21
|
|
15
|
+
- @scalar/components@0.12.28
|
|
16
|
+
- @scalar/oas-utils@0.2.26
|
|
17
|
+
|
|
18
|
+
## 2.0.44
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- d65dbcb: fix: long content info button position
|
|
23
|
+
- 9cc6311: fix: add overload to servers as prop for create client app
|
|
24
|
+
- Updated dependencies [9cc6311]
|
|
25
|
+
- @scalar/oas-utils@0.2.25
|
|
26
|
+
|
|
3
27
|
## 2.0.43
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddressBar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AddressBar/AddressBar.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"AddressBar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AddressBar/AddressBar.vue"],"names":[],"mappings":";AAmpBA,wBAKG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./AddressBar.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const d = /* @__PURE__ */ r(o, [["__scopeId", "data-v-6d9e4813"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
d as default
|
|
7
7
|
};
|
|
@@ -1,121 +1,129 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import { useWorkspace as
|
|
4
|
-
import { Listbox as
|
|
5
|
-
import { ScalarButton as
|
|
6
|
-
import { REQUEST_METHODS as
|
|
7
|
-
import { isMacOS as
|
|
8
|
-
import { useMagicKeys as
|
|
9
|
-
import
|
|
10
|
-
import
|
|
1
|
+
import { defineComponent as M, ref as d, watch as U, unref as l, openBlock as L, createElementBlock as $, createElementVNode as o, createVNode as n, withCtx as g, normalizeClass as w, normalizeStyle as O, createCommentVNode as H, pushScopeId as N, popScopeId as T } from "vue";
|
|
2
|
+
import A from "../CodeInput/CodeInput.vue.js";
|
|
3
|
+
import { useWorkspace as D } from "../../store/workspace.js";
|
|
4
|
+
import { Listbox as K } from "@headlessui/vue";
|
|
5
|
+
import { ScalarButton as Q, ScalarIcon as W } from "@scalar/components";
|
|
6
|
+
import { REQUEST_METHODS as j } from "@scalar/oas-utils/helpers";
|
|
7
|
+
import { isMacOS as F } from "@scalar/use-tooltip";
|
|
8
|
+
import { useMagicKeys as G, whenever as J } from "@vueuse/core";
|
|
9
|
+
import P from "../HttpMethod/HttpMethod.vue.js";
|
|
10
|
+
import X from "./AddressBarHistory.vue.js";
|
|
11
11
|
import { executeRequestBus as m } from "../../libs/eventBusses/executeRequestBus.js";
|
|
12
|
-
|
|
12
|
+
import { requestStatusBus as Y } from "../../libs/eventBusses/requestStatusBus.js";
|
|
13
|
+
const v = (c) => (N("data-v-6d9e4813"), c = c(), T(), c), Z = {
|
|
13
14
|
key: 0,
|
|
14
15
|
class: "order-last lg:order-none lg:w-auto w-full"
|
|
15
|
-
},
|
|
16
|
+
}, ee = { class: "m-auto flex basis-1/2 flex-row items-center" }, te = { class: "pointer-events-none absolute left-0 top-0 z-10 block h-full w-full overflow-hidden" }, le = { class: "flex gap-1" }, oe = { class: "scroll-timeline-x scroll-timeline-x-hidden relative flex w-full" }, ae = /* @__PURE__ */ v(() => /* @__PURE__ */ o("div", { class: "fade-left" }, null, -1)), re = /* @__PURE__ */ v(() => /* @__PURE__ */ o("div", { class: "fade-right" }, null, -1)), se = /* @__PURE__ */ v(() => /* @__PURE__ */ o("span", { class: "text-xxs relative z-10 lg:flex hidden" }, "Send", -1)), ge = /* @__PURE__ */ M({
|
|
16
17
|
__name: "AddressBar",
|
|
17
|
-
setup(
|
|
18
|
+
setup(c) {
|
|
18
19
|
const {
|
|
19
20
|
activeRequest: t,
|
|
20
|
-
activeExample:
|
|
21
|
+
activeExample: f,
|
|
21
22
|
isReadOnly: p,
|
|
22
|
-
requestMutators:
|
|
23
|
-
requestExampleMutators:
|
|
24
|
-
requestsHistory:
|
|
25
|
-
} =
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
requestMutators: h,
|
|
24
|
+
requestExampleMutators: S,
|
|
25
|
+
requestsHistory: k
|
|
26
|
+
} = D(), x = d(k.value[0]), _ = G();
|
|
27
|
+
J(
|
|
28
|
+
F() ? _.meta_enter : _.ctrl_enter,
|
|
28
29
|
() => m.emit()
|
|
29
30
|
);
|
|
30
|
-
const
|
|
31
|
-
!t.value || t.value.path === e ||
|
|
31
|
+
const E = (e) => {
|
|
32
|
+
!t.value || t.value.path === e || h.edit(t.value.uid, "path", e);
|
|
32
33
|
};
|
|
33
|
-
|
|
34
|
+
U(
|
|
34
35
|
() => {
|
|
35
36
|
var e;
|
|
36
37
|
return (e = t.value) == null ? void 0 : e.path;
|
|
37
38
|
},
|
|
38
39
|
(e) => {
|
|
39
|
-
t.value &&
|
|
40
|
+
t.value && E(e);
|
|
40
41
|
}
|
|
41
42
|
);
|
|
42
|
-
const
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
43
|
+
const a = d(100), b = d(0), r = d(!1), i = d();
|
|
44
|
+
function y() {
|
|
45
|
+
r.value ? a.value -= (a.value - 15) / 60 : a.value -= b.value / 20, a.value <= 0 && (clearInterval(i.value), i.value = void 0, a.value = 100, r.value = !1);
|
|
46
|
+
}
|
|
47
|
+
function C() {
|
|
48
|
+
r.value || (r.value = !0, i.value = setInterval(y, 20));
|
|
49
|
+
}
|
|
50
|
+
function q() {
|
|
51
|
+
b.value = a.value, r.value = !1;
|
|
52
|
+
}
|
|
53
|
+
function B() {
|
|
54
|
+
clearInterval(i.value), i.value = void 0, a.value = 100, r.value = !1;
|
|
55
|
+
}
|
|
56
|
+
Y.on((e) => {
|
|
57
|
+
e === "start" && C(), e === "stop" && q(), e === "abort" && B();
|
|
49
58
|
});
|
|
50
|
-
function
|
|
51
|
-
t.value &&
|
|
59
|
+
function I(e) {
|
|
60
|
+
t.value && h.edit(t.value.uid, "method", e);
|
|
52
61
|
}
|
|
53
|
-
function
|
|
62
|
+
function V() {
|
|
54
63
|
if (!t.value) return;
|
|
55
64
|
const { method: e } = t.value;
|
|
56
|
-
return
|
|
65
|
+
return j[e].backgroundColor;
|
|
57
66
|
}
|
|
58
|
-
const
|
|
59
|
-
|
|
67
|
+
const R = (e) => {
|
|
68
|
+
f.value && S.edit(f.value.uid, "url", e);
|
|
60
69
|
};
|
|
61
|
-
return (e,
|
|
62
|
-
o("div",
|
|
63
|
-
|
|
70
|
+
return (e, s) => l(t) && l(f) ? (L(), $("div", Z, [
|
|
71
|
+
o("div", ee, [
|
|
72
|
+
n(l(K), {
|
|
64
73
|
modelValue: x.value,
|
|
65
|
-
"onUpdate:modelValue":
|
|
74
|
+
"onUpdate:modelValue": s[2] || (s[2] = (u) => x.value = u)
|
|
66
75
|
}, {
|
|
67
|
-
default:
|
|
76
|
+
default: g(({ open: u }) => [
|
|
68
77
|
o("div", {
|
|
69
|
-
class:
|
|
70
|
-
"text-xxs bg-b-1 relative flex w-full lg:min-w-[720px] lg:max-w-[720px] order-last lg:order-none flex-1 flex-row items-stretch rounded border p-[3px]",
|
|
71
|
-
{ "rounded-b-none":
|
|
72
|
-
{ "border-transparent":
|
|
78
|
+
class: w([
|
|
79
|
+
"text-xxs bg-b-1 relative flex w-full lg:min-w-[720px] lg:max-w-[720px] order-last lg:order-none flex-1 flex-row items-stretch rounded border-1/2 p-[3px]",
|
|
80
|
+
{ "rounded-b-none": u },
|
|
81
|
+
{ "border-transparent": u }
|
|
73
82
|
])
|
|
74
83
|
}, [
|
|
75
|
-
o("div",
|
|
84
|
+
o("div", te, [
|
|
76
85
|
o("div", {
|
|
77
|
-
class:
|
|
78
|
-
style:
|
|
86
|
+
class: w(["bg-mix-transparent bg-mix-amount-90 absolute left-0 top-0 h-full w-full", V()]),
|
|
87
|
+
style: O({ transform: `translate3d(-${a.value}%,0,0)` })
|
|
79
88
|
}, null, 6)
|
|
80
89
|
]),
|
|
81
|
-
o("div",
|
|
82
|
-
|
|
83
|
-
class: "font-code text-xxs font-medium",
|
|
90
|
+
o("div", le, [
|
|
91
|
+
n(P, {
|
|
84
92
|
isEditable: !l(p),
|
|
85
93
|
isSquare: "",
|
|
86
94
|
method: l(t).method,
|
|
87
|
-
onChange:
|
|
95
|
+
onChange: I
|
|
88
96
|
}, null, 8, ["isEditable", "method"])
|
|
89
97
|
]),
|
|
90
|
-
o("div",
|
|
91
|
-
|
|
92
|
-
|
|
98
|
+
o("div", oe, [
|
|
99
|
+
ae,
|
|
100
|
+
n(A, {
|
|
93
101
|
disableCloseBrackets: "",
|
|
94
102
|
disabled: l(p),
|
|
95
103
|
disableEnter: "",
|
|
96
104
|
disableTabIndent: "",
|
|
97
105
|
emitOnBlur: !1,
|
|
98
|
-
modelValue: l(
|
|
106
|
+
modelValue: l(f).url,
|
|
99
107
|
placeholder: "Enter URL to get started",
|
|
100
108
|
server: "",
|
|
101
|
-
onSubmit:
|
|
102
|
-
"onUpdate:modelValue":
|
|
109
|
+
onSubmit: s[0] || (s[0] = (z) => l(m).emit()),
|
|
110
|
+
"onUpdate:modelValue": R
|
|
103
111
|
}, null, 8, ["disabled", "modelValue"]),
|
|
104
|
-
|
|
112
|
+
re
|
|
105
113
|
]),
|
|
106
|
-
|
|
107
|
-
|
|
114
|
+
n(X, { open: u }, null, 8, ["open"]),
|
|
115
|
+
n(l(Q), {
|
|
108
116
|
class: "relative h-auto shrink-0 gap-1 overflow-hidden pl-2 pr-2.5 py-1 z-[1] font-bold",
|
|
109
|
-
disabled:
|
|
110
|
-
onClick:
|
|
117
|
+
disabled: r.value,
|
|
118
|
+
onClick: s[1] || (s[1] = (z) => l(m).emit())
|
|
111
119
|
}, {
|
|
112
|
-
default:
|
|
113
|
-
|
|
120
|
+
default: g(() => [
|
|
121
|
+
n(l(W), {
|
|
114
122
|
class: "relative z-10 shrink-0 fill-current",
|
|
115
123
|
icon: "Play",
|
|
116
124
|
size: "xs"
|
|
117
125
|
}),
|
|
118
|
-
|
|
126
|
+
se
|
|
119
127
|
]),
|
|
120
128
|
_: 1
|
|
121
129
|
}, 8, ["disabled"])
|
|
@@ -124,9 +132,9 @@ const f = (n) => (M("data-v-556303b4"), n = n(), U(), n), j = {
|
|
|
124
132
|
_: 1
|
|
125
133
|
}, 8, ["modelValue"])
|
|
126
134
|
])
|
|
127
|
-
])) :
|
|
135
|
+
])) : H("", !0);
|
|
128
136
|
}
|
|
129
137
|
});
|
|
130
138
|
export {
|
|
131
|
-
|
|
139
|
+
ge as default
|
|
132
140
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodeInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CodeInput/CodeInput.vue"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"CodeInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CodeInput/CodeInput.vue"],"names":[],"mappings":"AAAA,OAuTO,EAGL,KAAK,kBAAkB,EAExB,MAAM,wBAAwB,CAAA;;kBAeb,OAAO;gBACT,MAAM,GAAG,MAAM;YACnB,OAAO;iBACF,OAAO;kBACN,OAAO;WACd,OAAO;uBACK,OAAO;eACf,kBAAkB;wBACT,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;wBACnB,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;kBACzB,MAAM;eACT,OAAO;mBACH,OAAO;2BACC,OAAO;WACvB,MAAM,EAAE;WACR,MAAM;eACF,OAAO;oBACF,OAAO;kBACT,OAAO;;;;;;;;;;;;;;kBAlBP,OAAO;gBACT,MAAM,GAAG,MAAM;YACnB,OAAO;iBACF,OAAO;kBACN,OAAO;WACd,OAAO;uBACK,OAAO;eACf,kBAAkB;wBACT,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;wBACnB,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;kBACzB,MAAM;eACT,OAAO;mBACH,OAAO;2BACC,OAAO;WACvB,MAAM,EAAE;WACR,MAAM;eACF,OAAO;oBACF,OAAO;kBACT,OAAO;;;;;;;;;;;;;;iBAAP,OAAO;iBAlBP,OAAO;gBAGR,OAAO;sBAGD,OAAO;kBAMX,OAAO;0BACC,OAAO;cAGnB,OAAO;mBACF,OAAO;;qBAgRG,GAAG;kBACN,GAAG;;AArS9B,wBAwUC;AAMD,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"}
|
|
@@ -2,7 +2,7 @@ import o from "./CodeInput.vue2.js";
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const
|
|
5
|
+
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-5894c305"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
a as default
|
|
8
8
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContextBar.vue.d.ts","sourceRoot":"","sources":["../../src/components/ContextBar.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"ContextBar.vue.d.ts","sourceRoot":"","sources":["../../src/components/ContextBar.vue"],"names":[],"mappings":";cA8CY,MAAM,EAAE;mBACH,MAAM;;;;cADX,MAAM,EAAE;mBACH,MAAM;;;;AA6FvB,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"}
|
|
@@ -1,25 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
sections: {},
|
|
6
|
-
activeSection: {}
|
|
7
|
-
},
|
|
8
|
-
emits: ["setActiveSection"],
|
|
9
|
-
setup(d) {
|
|
10
|
-
return (t, b) => (n(), o("div", p, [
|
|
11
|
-
(n(!0), o(i, null, s(t.sections, (e) => (n(), o("button", {
|
|
12
|
-
key: e,
|
|
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 pointer-events-none" : "border border-transparent"
|
|
15
|
-
]]),
|
|
16
|
-
isActive: t.activeSection === e,
|
|
17
|
-
type: "button",
|
|
18
|
-
onClick: (u) => t.$emit("setActiveSection", e)
|
|
19
|
-
}, a(e), 11, l))), 128))
|
|
20
|
-
]));
|
|
21
|
-
}
|
|
22
|
-
});
|
|
1
|
+
import o from "./ContextBar.vue2.js";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import t from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-4d2fa661"]]);
|
|
23
5
|
export {
|
|
24
|
-
|
|
6
|
+
m as default
|
|
25
7
|
};
|
|
@@ -1,4 +1,27 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { defineComponent as r, openBlock as n, createElementBlock as o, createElementVNode as s, Fragment as i, renderList as c, normalizeClass as a, toDisplayString as d } from "vue";
|
|
2
|
+
const p = { class: "fade-request-section-content sticky top-0 z-10 pointer-events-none" }, l = { class: "request-section-content request-section-content-filter bg-b-2 text-c-3 bg-b-1 mb-2.5 hidden xl:flex justify-center rounded p-[2.25px] text-xs gap-0.5 pointer-events-auto" }, u = ["isActive", "onClick"], _ = /* @__PURE__ */ r({
|
|
3
|
+
__name: "ContextBar",
|
|
4
|
+
props: {
|
|
5
|
+
sections: {},
|
|
6
|
+
activeSection: {}
|
|
7
|
+
},
|
|
8
|
+
emits: ["setActiveSection"],
|
|
9
|
+
setup(b) {
|
|
10
|
+
return (t, m) => (n(), o("div", p, [
|
|
11
|
+
s("div", l, [
|
|
12
|
+
(n(!0), o(i, null, c(t.sections, (e) => (n(), o("button", {
|
|
13
|
+
key: e,
|
|
14
|
+
class: a(["hover:bg-b-3 w-full rounded px-1 py-1 text-center font-medium", [
|
|
15
|
+
t.activeSection === e ? "bg-b-1 text-c-1 dark:bg-b-3 border pointer-events-none" : "border border-transparent"
|
|
16
|
+
]]),
|
|
17
|
+
isActive: t.activeSection === e,
|
|
18
|
+
type: "button",
|
|
19
|
+
onClick: (v) => t.$emit("setActiveSection", e)
|
|
20
|
+
}, d(e), 11, u))), 128))
|
|
21
|
+
])
|
|
22
|
+
]));
|
|
23
|
+
}
|
|
24
|
+
});
|
|
2
25
|
export {
|
|
3
|
-
|
|
26
|
+
_ as default
|
|
4
27
|
};
|
|
@@ -7,7 +7,7 @@ const w = /* @__PURE__ */ c({
|
|
|
7
7
|
setup(g) {
|
|
8
8
|
const { toggleDarkMode: t, isDark: a } = f();
|
|
9
9
|
return (k, o) => (l(), s("button", {
|
|
10
|
-
class: "min-w-[37px] max-w-[42px] hover:bg-b-
|
|
10
|
+
class: "min-w-[37px] max-w-[42px] hover:bg-b-3 flex items-center justify-center rounded-lg p-[7px] text-c-3 focus:text-c-1 w-full aspect-square scalar-app-nav-padding",
|
|
11
11
|
type: "button",
|
|
12
12
|
onClick: o[0] || (o[0] = //@ts-ignore
|
|
13
13
|
(...n) => e(t) && e(t)(...n))
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
declare
|
|
2
|
-
title:
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
title?(_: {}): any;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
5
|
+
title?: string;
|
|
3
6
|
options: {
|
|
4
7
|
key: string;
|
|
5
8
|
label: string;
|
|
@@ -8,7 +11,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
|
8
11
|
data: Record<string, any>;
|
|
9
12
|
onUpdate: (key: string, value: any) => void;
|
|
10
13
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
11
|
-
title
|
|
14
|
+
title?: string;
|
|
12
15
|
options: {
|
|
13
16
|
key: string;
|
|
14
17
|
label: string;
|
|
@@ -17,7 +20,13 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
|
17
20
|
data: Record<string, any>;
|
|
18
21
|
onUpdate: (key: string, value: any) => void;
|
|
19
22
|
}>>>, {}, {}>;
|
|
23
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
20
24
|
export default _default;
|
|
25
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
21
30
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
22
31
|
type __VLS_TypePropsToOption<T> = {
|
|
23
32
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Form.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Form/Form.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Form.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Form/Form.vue"],"names":[],"mappings":"AA8DA,iBAAS,cAAc;mBA4FI,GAAG;EAkB7B;AACD,QAAA,MAAM,eAAe;YA3HX,MAAM;aACL;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,EAAE;UACxD,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;cACf,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI;;YAHnC,MAAM;aACL;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,EAAE;UACxD,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;cACf,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI;aA8H3C,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,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent as m, openBlock as t, createBlock as o, withCtx as l, createElementBlock as n, toDisplayString as s, renderSlot as p, createElementVNode as c, Fragment as i, renderList as u, normalizeClass as f, createVNode as _, createTextVNode as k, createCommentVNode as y } from "vue";
|
|
2
|
+
import h from "../DataTable/DataTable.vue.js";
|
|
3
3
|
import V from "../DataTable/DataTableInput.vue.js";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
const
|
|
4
|
+
import b from "../DataTable/DataTableRow.vue.js";
|
|
5
|
+
import g from "../ViewLayout/ViewLayoutSection.vue.js";
|
|
6
|
+
const C = { key: 0 }, N = { class: "custom-scroll flex flex-1 flex-col gap-1.5 px-5 py-5" }, w = /* @__PURE__ */ m({
|
|
7
7
|
__name: "Form",
|
|
8
8
|
props: {
|
|
9
9
|
title: {},
|
|
@@ -11,30 +11,30 @@ const g = { class: "custom-scroll flex flex-1 flex-col gap-1.5 px-5 py-5" }, w =
|
|
|
11
11
|
data: {},
|
|
12
12
|
onUpdate: { type: Function }
|
|
13
13
|
},
|
|
14
|
-
setup(
|
|
15
|
-
return (e,
|
|
16
|
-
title:
|
|
17
|
-
n("span",
|
|
14
|
+
setup(U) {
|
|
15
|
+
return (e, B) => (t(), o(g, null, {
|
|
16
|
+
title: l(() => [
|
|
17
|
+
e.title ? (t(), n("span", C, s(e.title), 1)) : p(e.$slots, "title", { key: 1 })
|
|
18
18
|
]),
|
|
19
|
-
default:
|
|
20
|
-
|
|
21
|
-
Object.keys(e.data).length > 0 ? (
|
|
19
|
+
default: l(() => [
|
|
20
|
+
c("div", N, [
|
|
21
|
+
Object.keys(e.data).length > 0 ? (t(), o(h, {
|
|
22
22
|
key: 0,
|
|
23
23
|
columns: [""]
|
|
24
24
|
}, {
|
|
25
|
-
default:
|
|
26
|
-
(
|
|
25
|
+
default: l(() => [
|
|
26
|
+
(t(!0), n(i, null, u(e.options, (a, r) => (t(), o(b, {
|
|
27
27
|
key: r,
|
|
28
|
-
class:
|
|
28
|
+
class: f({ "border-t": r === 0 })
|
|
29
29
|
}, {
|
|
30
|
-
default:
|
|
31
|
-
|
|
32
|
-
modelValue: String(e.data[
|
|
33
|
-
placeholder:
|
|
34
|
-
"onUpdate:modelValue": (d) => e.onUpdate(
|
|
30
|
+
default: l(() => [
|
|
31
|
+
_(V, {
|
|
32
|
+
modelValue: String(e.data[a.key] ?? ""),
|
|
33
|
+
placeholder: a.placeholder,
|
|
34
|
+
"onUpdate:modelValue": (d) => e.onUpdate(a.key, d)
|
|
35
35
|
}, {
|
|
36
|
-
default:
|
|
37
|
-
|
|
36
|
+
default: l(() => [
|
|
37
|
+
k(s(a.label), 1)
|
|
38
38
|
]),
|
|
39
39
|
_: 2
|
|
40
40
|
}, 1032, ["modelValue", "placeholder", "onUpdate:modelValue"])
|
|
@@ -43,10 +43,10 @@ const g = { class: "custom-scroll flex flex-1 flex-col gap-1.5 px-5 py-5" }, w =
|
|
|
43
43
|
}, 1032, ["class"]))), 128))
|
|
44
44
|
]),
|
|
45
45
|
_: 1
|
|
46
|
-
})) :
|
|
46
|
+
})) : y("", !0)
|
|
47
47
|
])
|
|
48
48
|
]),
|
|
49
|
-
_:
|
|
49
|
+
_: 3
|
|
50
50
|
}));
|
|
51
51
|
}
|
|
52
52
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HttpMethod.vue.d.ts","sourceRoot":"","sources":["../../../src/components/HttpMethod/HttpMethod.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"HttpMethod.vue.d.ts","sourceRoot":"","sources":["../../../src/components/HttpMethod/HttpMethod.vue"],"names":[],"mappings":";eAiGe,OAAO;YACV,MAAM;iBACD,OAAO;;;;;;;;eAFT,OAAO;YACV,MAAM;iBACD,OAAO;;;;;;;;cAFT,OAAO;gBAEL,OAAO;;AA0IxB,wBAOG;AAOH,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,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,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as g, computed as l, openBlock as
|
|
2
|
-
import { ScalarListbox as x, ScalarIcon as
|
|
3
|
-
import { getRequest as
|
|
1
|
+
import { defineComponent as g, computed as l, openBlock as r, createBlock as m, unref as t, withCtx as y, createElementVNode as n, normalizeClass as a, toDisplayString as p, createCommentVNode as q, createElementBlock as k } from "vue";
|
|
2
|
+
import { ScalarListbox as x, ScalarIcon as C } from "@scalar/components";
|
|
3
|
+
import { getRequest as w, REQUEST_METHODS as B } from "@scalar/oas-utils/helpers";
|
|
4
4
|
import { cva as V, cx as f } from "cva";
|
|
5
|
-
const
|
|
5
|
+
const j = /* @__PURE__ */ g({
|
|
6
6
|
__name: "HttpMethod",
|
|
7
7
|
props: {
|
|
8
8
|
isSquare: { type: Boolean, default: !1 },
|
|
@@ -11,16 +11,19 @@ const z = /* @__PURE__ */ g({
|
|
|
11
11
|
},
|
|
12
12
|
emits: ["change"],
|
|
13
13
|
setup(b, { emit: h }) {
|
|
14
|
-
const
|
|
15
|
-
([e, { short:
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
const i = b, v = h, o = l(() => w(i.method)), u = Object.entries(B).map(
|
|
15
|
+
([e, { short: s }]) => ({
|
|
16
|
+
id: e,
|
|
17
|
+
label: e.charAt(0) + e.toLowerCase().slice(1)
|
|
18
|
+
})
|
|
19
|
+
), d = l({
|
|
20
|
+
get: () => u.find(({ id: e }) => e === i.method),
|
|
18
21
|
set: (e) => (e == null ? void 0 : e.id) && v("change", e.id)
|
|
19
22
|
}), c = V({
|
|
20
23
|
base: "text-center font-code text-3xs justify-center items-center flex",
|
|
21
24
|
variants: {
|
|
22
25
|
isSquare: {
|
|
23
|
-
true: "px-2.5 rounded-md
|
|
26
|
+
true: "px-2.5 rounded-md border-1/2 whitespace-nowrap !bg-transparent font-bold",
|
|
24
27
|
false: "rounded-full"
|
|
25
28
|
},
|
|
26
29
|
isEditable: {
|
|
@@ -28,25 +31,25 @@ const z = /* @__PURE__ */ g({
|
|
|
28
31
|
false: "cusor-pointer"
|
|
29
32
|
}
|
|
30
33
|
}
|
|
31
|
-
}), E = l(() =>
|
|
32
|
-
return (e,
|
|
34
|
+
}), E = l(() => o.value.short);
|
|
35
|
+
return (e, s) => e.isEditable ? (r(), m(t(x), {
|
|
33
36
|
key: 0,
|
|
34
|
-
modelValue:
|
|
35
|
-
"onUpdate:modelValue":
|
|
36
|
-
options: t(
|
|
37
|
+
modelValue: d.value,
|
|
38
|
+
"onUpdate:modelValue": s[0] || (s[0] = (S) => d.value = S),
|
|
39
|
+
options: t(u)
|
|
37
40
|
}, {
|
|
38
41
|
default: y(() => [
|
|
39
42
|
n("div", {
|
|
40
|
-
class:
|
|
43
|
+
class: a(["h-full", { "pointer-events-none": !e.isEditable }])
|
|
41
44
|
}, [
|
|
42
45
|
n("button", {
|
|
43
|
-
class:
|
|
46
|
+
class: a(["relative h-full gap-1", t(f)(t(c)({ isSquare: e.isSquare, isEditable: e.isEditable }), o.value.color)]),
|
|
44
47
|
type: "button"
|
|
45
48
|
}, [
|
|
46
49
|
n("span", null, p(E.value), 1),
|
|
47
|
-
e.isEditable ? (
|
|
50
|
+
e.isEditable ? (r(), m(t(C), {
|
|
48
51
|
key: 0,
|
|
49
|
-
class:
|
|
52
|
+
class: a(o.value.color),
|
|
50
53
|
icon: "ChevronDown",
|
|
51
54
|
size: "xs"
|
|
52
55
|
}, null, 8, ["class"])) : q("", !0)
|
|
@@ -54,13 +57,13 @@ const z = /* @__PURE__ */ g({
|
|
|
54
57
|
], 2)
|
|
55
58
|
]),
|
|
56
59
|
_: 1
|
|
57
|
-
}, 8, ["modelValue", "options"])) : (
|
|
60
|
+
}, 8, ["modelValue", "options"])) : (r(), k("div", {
|
|
58
61
|
key: 1,
|
|
59
|
-
class:
|
|
62
|
+
class: a(["relative gap-1", t(f)(t(c)({ isSquare: e.isSquare, isEditable: e.isEditable }), o.value.color)]),
|
|
60
63
|
type: "button"
|
|
61
|
-
}, p(
|
|
64
|
+
}, p(o.value.short), 3));
|
|
62
65
|
}
|
|
63
66
|
});
|
|
64
67
|
export {
|
|
65
|
-
|
|
68
|
+
j as default
|
|
66
69
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as l, openBlock as o, createBlock as i, unref as s, withCtx as c, createElementVNode as e, createVNode as t } from "vue";
|
|
2
2
|
import { ScalarDropdown as r, ScalarDropdownItem as a, ScalarIcon as n } from "@scalar/components";
|
|
3
3
|
const d = {
|
|
4
|
-
class: "min-w-[37px] max-w-[42px] hover:bg-b-
|
|
4
|
+
class: "min-w-[37px] max-w-[42px] hover:bg-b-3 flex items-center justify-center rounded-lg p-[7px] text-c-3 focus:text-c-1 scalar-app-nav-padding",
|
|
5
5
|
type: "button"
|
|
6
6
|
}, _ = /* @__PURE__ */ e("span", { class: "px-2.5 py-1.5 text-xs text-c-2 font-medium" }, "Support", -1), p = {
|
|
7
7
|
class: "no-underline block",
|
|
@@ -21,8 +21,8 @@ const k = { class: "no-underline font-medium text-[11px] hidden scalar-app-show
|
|
|
21
21
|
}, {
|
|
22
22
|
default: p(() => [
|
|
23
23
|
o("div", {
|
|
24
|
-
class: l(["min-w-[37px] max-w-[42px] group-hover:bg-b-
|
|
25
|
-
"bg-b-
|
|
24
|
+
class: l(["min-w-[37px] max-w-[42px] group-hover:bg-b-3 active:text-c-1 flex items-center justify-center rounded-lg p-[7px] scalar-app-nav-padding text-c-3", {
|
|
25
|
+
"bg-b-3 transition-none group-hover:cursor-auto !text-c-1": e.active
|
|
26
26
|
}])
|
|
27
27
|
}, [
|
|
28
28
|
m(t(v), {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sidebar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/Sidebar.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Sidebar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/Sidebar.vue"],"names":[],"mappings":"AAuDA,iBAAS,cAAc;oBAwDK,GAAG;qBACF,GAAG;oBACJ,GAAG;EAe9B;AACD,QAAA,MAAM,eAAe;YApFW,MAAM;;YAAN,MAAM;aA0FpC,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,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as a, openBlock as o, createElementBlock as r, renderSlot as t, unref as l, createElementVNode as n, toDisplayString as i, createCommentVNode as d, normalizeClass as m } from "vue";
|
|
2
2
|
import { useWorkspace as c } from "../../store/workspace.js";
|
|
3
|
-
const p = { class: "w-sidebar relative flex flex-col border-r bg-b-1" }, b = {
|
|
3
|
+
const p = { class: "w-sidebar relative flex flex-col border-r-1/2 bg-b-1" }, b = {
|
|
4
4
|
key: 0,
|
|
5
|
-
class: "xl:min-h-header py-2.5 flex items-center border-b px-4 text-sm"
|
|
5
|
+
class: "xl:min-h-header py-2.5 flex items-center border-b-1/2 px-4 text-sm"
|
|
6
6
|
}, f = { class: "font-medium m-0 text-sm" }, x = /* @__PURE__ */ a({
|
|
7
7
|
__name: "Sidebar",
|
|
8
8
|
props: {
|