@scalar/api-client 2.5.17 → 2.5.19
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 +47 -0
- package/dist/components/AddressBar/AddressBarHistory.vue2.js +9 -8
- package/dist/components/CommandPalette/CommandPaletteImport.vue.js +15 -13
- package/dist/components/CommandPalette/CommandPaletteServer.vue.js +10 -9
- package/dist/components/CommandPalette/TheCommandPalette.vue2.js +28 -26
- package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInputSelect.vue.js +9 -8
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +9 -7
- package/dist/components/ImportCollection/ImportNowButton.vue.js +6 -4
- package/dist/components/ImportCollection/WorkspaceSelector.vue.js +4 -2
- package/dist/components/SectionFilter.vue.d.ts.map +1 -1
- package/dist/components/SectionFilter.vue.js +2 -2
- package/dist/components/SectionFilter.vue2.js +8 -8
- package/dist/components/Server/ServerSelector.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerSelector.vue.js +3 -2
- package/dist/components/Server/ServerVariablesForm.vue.js +1 -1
- package/dist/components/Server/ServerVariablesSelect.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerVariablesSelect.vue.js +7 -7
- package/dist/components/SideNav/SideHelp.vue.js +16 -10
- package/dist/components/SideNav/SideNav.vue.js +2 -1
- package/dist/components/Sidebar/Actions/SidebarListElementForm.vue2.js +2 -1
- package/dist/components/TopNav/TopNav.vue.js +9 -7
- package/dist/components/TopNav/TopNavItem.vue2.js +8 -4
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +14 -14
- package/dist/layouts/App/create-api-client-app.d.ts +42 -2
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/Modal/create-api-client-modal.d.ts +84 -4
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
- package/dist/layouts/Web/create-api-client-web.d.ts +42 -2
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/libs/create-client.d.ts +42 -2
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/store/security-schemes.d.ts +42 -2
- package/dist/store/security-schemes.d.ts.map +1 -1
- package/dist/store/store.d.ts +42 -2
- package/dist/store/store.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/views/Collection/CollectionEnvironment.vue2.js +8 -7
- package/dist/views/Collection/CollectionServers.vue2.js +2 -1
- package/dist/views/Collection/CollectionSettings.vue2.js +2 -1
- package/dist/views/Collection/components/EnvironmentForm.vue2.js +4 -2
- package/dist/views/Collection/components/MarkdownInput.vue2.js +4 -2
- package/dist/views/Environment/Environment.vue2.js +2 -1
- package/dist/views/Environment/EnvironmentModal.vue.js +10 -9
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +2 -1
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.js +5 -4
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +22 -11
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.js +9 -8
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +7 -7
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue2.js +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue2.js +33 -28
- package/dist/views/Request/RequestSection/RequestBody.vue2.js +4 -2
- package/dist/views/Request/RequestSection/RequestParams.vue.js +2 -1
- package/dist/views/Request/RequestSection/RequestTable.vue2.js +12 -10
- package/dist/views/Request/RequestSidebar.vue2.js +2 -1
- package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebarItem.vue2.js +2 -1
- package/dist/views/Request/RequestSidebarItemMenu.vue2.js +6 -3
- package/dist/views/Request/ResponseSection/RequestHeaders.vue.js +4 -2
- package/dist/views/Request/ResponseSection/ResponseBody.vue2.js +2 -1
- package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue2.js +2 -1
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.js +3 -3
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue2.js +4 -4
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseHeaders.vue.js +4 -2
- package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue2.js +5 -4
- package/dist/views/Request/components/WorkspaceDropdown.vue.js +13 -10
- package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
- package/dist/views/Request/libs/oauth2.js +46 -44
- package/dist/views/Settings/SettingsGeneral.vue.js +19 -17
- package/dist/views/Settings/components/SettingsAppearance.vue.js +8 -5
- package/package.json +20 -20
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,52 @@
|
|
|
1
1
|
# @scalar/api-client
|
|
2
2
|
|
|
3
|
+
## 2.5.19
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 60c7bef: fix: updates auth description overflowing line clamp
|
|
8
|
+
- e895f86: fix: enables highlight scroll along mouse scroll for response body
|
|
9
|
+
- cac47ea: fix: sets missing line height contraint and transform reset
|
|
10
|
+
- cac47ea: fix: updates request auth border radius
|
|
11
|
+
- Updated dependencies [60c7bef]
|
|
12
|
+
- Updated dependencies [fb62e1b]
|
|
13
|
+
- Updated dependencies [cac47ea]
|
|
14
|
+
- Updated dependencies [fb62e1b]
|
|
15
|
+
- Updated dependencies [1c2b9f3]
|
|
16
|
+
- @scalar/components@0.14.20
|
|
17
|
+
- @scalar/types@0.2.10
|
|
18
|
+
- @scalar/themes@0.13.11
|
|
19
|
+
- @scalar/openapi-parser@0.18.2
|
|
20
|
+
- @scalar/use-codemirror@0.12.21
|
|
21
|
+
- @scalar/oas-utils@0.4.15
|
|
22
|
+
- @scalar/snippetz@0.4.3
|
|
23
|
+
- @scalar/import@0.4.14
|
|
24
|
+
- @scalar/postman-to-openapi@0.3.18
|
|
25
|
+
|
|
26
|
+
## 2.5.18
|
|
27
|
+
|
|
28
|
+
### Patch Changes
|
|
29
|
+
|
|
30
|
+
- 591562f: feat: add support for x-scalar-security-body extension
|
|
31
|
+
- Updated dependencies [a04cc15]
|
|
32
|
+
- Updated dependencies [591562f]
|
|
33
|
+
- Updated dependencies [85ee2ce]
|
|
34
|
+
- Updated dependencies [fbb7daa]
|
|
35
|
+
- Updated dependencies [fbaaa12]
|
|
36
|
+
- Updated dependencies [85ee2ce]
|
|
37
|
+
- Updated dependencies [97721b5]
|
|
38
|
+
- Updated dependencies [85ee2ce]
|
|
39
|
+
- Updated dependencies [8a67f4f]
|
|
40
|
+
- @scalar/components@0.14.19
|
|
41
|
+
- @scalar/openapi-types@0.3.6
|
|
42
|
+
- @scalar/types@0.2.9
|
|
43
|
+
- @scalar/snippetz@0.4.2
|
|
44
|
+
- @scalar/themes@0.13.10
|
|
45
|
+
- @scalar/use-codemirror@0.12.20
|
|
46
|
+
- @scalar/oas-utils@0.4.14
|
|
47
|
+
- @scalar/openapi-parser@0.18.1
|
|
48
|
+
- @scalar/postman-to-openapi@0.3.17
|
|
49
|
+
|
|
3
50
|
## 2.5.17
|
|
4
51
|
|
|
5
52
|
### Patch Changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as k, computed as x, createBlock as i, openBlock as a, unref as e, withCtx as o, createVNode as l, createSlots as y, createCommentVNode as p, createElementVNode as s, normalizeStyle as C, createElementBlock as S, Fragment as b, renderList as H, toDisplayString as u, normalizeClass as q } from "vue";
|
|
2
2
|
import { Menu as B, MenuButton as M, MenuItems as w, MenuItem as z } from "@headlessui/vue";
|
|
3
3
|
import { ScalarFloating as I, ScalarIcon as F, ScalarFloatingBackdrop as N } from "@scalar/components";
|
|
4
4
|
import { httpStatusCodes as R } from "@scalar/oas-utils/helpers";
|
|
@@ -6,14 +6,14 @@ import { formatMs as V } from "../../libs/formatters.js";
|
|
|
6
6
|
import E from "../HttpMethod/HttpMethod.vue.js";
|
|
7
7
|
import { getStatusCodeColor as A } from "./httpStatusCodeColors.js";
|
|
8
8
|
import { useWorkspace as D } from "../../store/store.js";
|
|
9
|
-
const L = { class: "min-w-0" }, U = { class: "text-c-1 min-w-0 truncate" }, Q = /* @__PURE__ */
|
|
9
|
+
const L = { class: "min-w-0" }, U = { class: "text-c-1 min-w-0 truncate" }, Q = /* @__PURE__ */ k({
|
|
10
10
|
__name: "AddressBarHistory",
|
|
11
11
|
props: {
|
|
12
12
|
operation: {},
|
|
13
13
|
target: {}
|
|
14
14
|
},
|
|
15
15
|
setup(f) {
|
|
16
|
-
const { requestHistory: h } = D(), d =
|
|
16
|
+
const { requestHistory: h } = D(), d = x(
|
|
17
17
|
() => h.filter((r) => r.request.requestUid === f.operation.uid).slice().reverse()
|
|
18
18
|
);
|
|
19
19
|
function g(r) {
|
|
@@ -23,7 +23,7 @@ const L = { class: "min-w-0" }, U = { class: "text-c-1 min-w-0 truncate" }, Q =
|
|
|
23
23
|
);
|
|
24
24
|
}
|
|
25
25
|
return (r, m) => (a(), i(e(B), { as: "div" }, {
|
|
26
|
-
default: o(({ open:
|
|
26
|
+
default: o(({ open: _ }) => [
|
|
27
27
|
l(e(I), {
|
|
28
28
|
offset: 0,
|
|
29
29
|
resize: "",
|
|
@@ -44,13 +44,14 @@ const L = { class: "min-w-0" }, U = { class: "text-c-1 min-w-0 truncate" }, Q =
|
|
|
44
44
|
}),
|
|
45
45
|
m[0] || (m[0] = s("span", { class: "sr-only" }, "Request History", -1))
|
|
46
46
|
]),
|
|
47
|
-
_: 1
|
|
47
|
+
_: 1,
|
|
48
|
+
__: [0]
|
|
48
49
|
})) : p("", !0)
|
|
49
50
|
];
|
|
50
51
|
}),
|
|
51
52
|
_: 2
|
|
52
53
|
}, [
|
|
53
|
-
|
|
54
|
+
_ ? {
|
|
54
55
|
name: "floating",
|
|
55
56
|
fn: o(({ width: n }) => [
|
|
56
57
|
l(e(w), {
|
|
@@ -59,11 +60,11 @@ const L = { class: "min-w-0" }, U = { class: "text-c-1 min-w-0 truncate" }, Q =
|
|
|
59
60
|
style: C({ width: n })
|
|
60
61
|
}, {
|
|
61
62
|
default: o(() => [
|
|
62
|
-
(a(!0), S(b, null, H(d.value, (t,
|
|
63
|
+
(a(!0), S(b, null, H(d.value, (t, v) => (a(), i(e(z), {
|
|
63
64
|
key: t.timestamp,
|
|
64
65
|
as: "button",
|
|
65
66
|
class: "font-code ui-active:*:bg-b-2 text-c-2 contents text-sm font-medium *:flex *:h-8 *:cursor-pointer *:items-center *:rounded-none *:px-1.5 *:first:rounded-l *:last:rounded-r",
|
|
66
|
-
value:
|
|
67
|
+
value: v,
|
|
67
68
|
onClick: (c) => g(t)
|
|
68
69
|
}, {
|
|
69
70
|
default: o(() => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as G, ref as
|
|
2
|
-
import { useLoadingState as K, ScalarButton as
|
|
1
|
+
import { defineComponent as G, ref as D, computed as I, watch as O, createBlock as P, openBlock as i, unref as s, withCtx as v, createElementBlock as f, Fragment as g, createElementVNode as S, createCommentVNode as H, createVNode as C, createTextVNode as p, toDisplayString as V } from "vue";
|
|
2
|
+
import { useLoadingState as K, ScalarButton as T, ScalarCodeBlock as Q, ScalarIcon as X, ScalarTooltip as Z } from "@scalar/components";
|
|
3
3
|
import { useToasts as ee } from "@scalar/use-toasts";
|
|
4
4
|
import { useRouter as te } from "vue-router";
|
|
5
5
|
import { importCurlCommand as oe } from "../../libs/importers/curl.js";
|
|
@@ -17,7 +17,7 @@ const me = { class: "flex justify-between" }, de = { class: "flex w-full flex-ro
|
|
|
17
17
|
__name: "CommandPaletteImport",
|
|
18
18
|
emits: ["close", "back"],
|
|
19
19
|
setup(pe, { emit: N }) {
|
|
20
|
-
const k = N, $ = te(), { activeWorkspace: c, activeCollection: B } = ae(), { importSpecFile: w, importSpecFromUrl: M, events: j } = ce(), { toast: m } = ee(), d = K(), a =
|
|
20
|
+
const k = N, $ = te(), { activeWorkspace: c, activeCollection: B } = ae(), { importSpecFile: w, importSpecFromUrl: M, events: j } = ce(), { toast: m } = ee(), d = K(), a = D(""), y = D(!0), r = I(() => L(a.value) ? ie(a.value) : se(a.value)), A = I(
|
|
21
21
|
() => r.value ? r.value.type : "json"
|
|
22
22
|
);
|
|
23
23
|
function x(t) {
|
|
@@ -36,7 +36,7 @@ const me = { class: "flex justify-between" }, de = { class: "flex w-full flex-ro
|
|
|
36
36
|
if (e) {
|
|
37
37
|
const n = new FileReader();
|
|
38
38
|
n.onload = async (b) => {
|
|
39
|
-
var u, R,
|
|
39
|
+
var u, R, _;
|
|
40
40
|
const o = (u = b.target) == null ? void 0 : u.result;
|
|
41
41
|
try {
|
|
42
42
|
if (L(o)) {
|
|
@@ -48,7 +48,7 @@ const me = { class: "flex justify-between" }, de = { class: "flex w-full flex-ro
|
|
|
48
48
|
} else {
|
|
49
49
|
const l = await w(
|
|
50
50
|
o,
|
|
51
|
-
((
|
|
51
|
+
((_ = c.value) == null ? void 0 : _.uid) ?? ""
|
|
52
52
|
);
|
|
53
53
|
x(l == null ? void 0 : l.collection);
|
|
54
54
|
}
|
|
@@ -64,9 +64,9 @@ const me = { class: "flex justify-between" }, de = { class: "flex w-full flex-ro
|
|
|
64
64
|
multiple: !1,
|
|
65
65
|
accept: ".json,.yaml,.yml"
|
|
66
66
|
});
|
|
67
|
-
|
|
67
|
+
O(h, (t) => {
|
|
68
68
|
t || (y.value = !1);
|
|
69
|
-
}),
|
|
69
|
+
}), O(a, (t) => {
|
|
70
70
|
U(t) || (y.value = !1);
|
|
71
71
|
});
|
|
72
72
|
async function J() {
|
|
@@ -138,7 +138,7 @@ const me = { class: "flex justify-between" }, de = { class: "flex w-full flex-ro
|
|
|
138
138
|
}, {
|
|
139
139
|
options: v(() => [
|
|
140
140
|
S("div", de, [
|
|
141
|
-
C(s(
|
|
141
|
+
C(s(T), {
|
|
142
142
|
class: "hover:bg-b-2 relative max-h-8 gap-1.5 p-2 text-xs",
|
|
143
143
|
variant: "outlined",
|
|
144
144
|
onClick: s(z)
|
|
@@ -151,7 +151,8 @@ const me = { class: "flex justify-between" }, de = { class: "flex w-full flex-ro
|
|
|
151
151
|
size: "md"
|
|
152
152
|
})
|
|
153
153
|
]),
|
|
154
|
-
_: 1
|
|
154
|
+
_: 1,
|
|
155
|
+
__: [5]
|
|
155
156
|
}, 8, ["onClick"]),
|
|
156
157
|
C(s(Z), {
|
|
157
158
|
content: h.value ? "Watch mode automatically updates the API client when the OpenAPI URL content changes, ensuring your client remains up-to-date." : "Watch mode is only available for URL imports. When enabled it automatically updates the API client when the OpenAPI URL content changes.",
|
|
@@ -174,9 +175,9 @@ const me = { class: "flex justify-between" }, de = { class: "flex w-full flex-ro
|
|
|
174
175
|
p(" from URL ")
|
|
175
176
|
], 64)) : r.value && A.value ? (i(), f(g, { key: 1 }, [
|
|
176
177
|
r.value.title ? (i(), f(g, { key: 0 }, [
|
|
177
|
-
p(' "' +
|
|
178
|
+
p(' "' + V(r.value.title) + '" ', 1)
|
|
178
179
|
], 64)) : (i(), f(g, { key: 1 }, [
|
|
179
|
-
p(
|
|
180
|
+
p(V(r.value.version), 1)
|
|
180
181
|
], 64))
|
|
181
182
|
], 64)) : (i(), f(g, { key: 2 }, [
|
|
182
183
|
p(" Collection ")
|
|
@@ -192,7 +193,7 @@ const me = { class: "flex justify-between" }, de = { class: "flex w-full flex-ro
|
|
|
192
193
|
}, null, 8, ["modelValue"])) : (i(), f(g, { key: 1 }, [
|
|
193
194
|
S("div", me, [
|
|
194
195
|
e[4] || (e[4] = S("div", { class: "text-c-2 min-h-8 w-full py-2 pl-12 text-center text-xs" }, " Preview ", -1)),
|
|
195
|
-
C(s(
|
|
196
|
+
C(s(T), {
|
|
196
197
|
class: "hover:bg-b-2 relative ml-auto max-h-8 gap-1.5 p-2 text-xs",
|
|
197
198
|
variant: "ghost",
|
|
198
199
|
onClick: e[1] || (e[1] = (n) => a.value = "")
|
|
@@ -200,7 +201,8 @@ const me = { class: "flex justify-between" }, de = { class: "flex w-full flex-ro
|
|
|
200
201
|
default: v(() => e[3] || (e[3] = [
|
|
201
202
|
p(" Clear ")
|
|
202
203
|
])),
|
|
203
|
-
_: 1
|
|
204
|
+
_: 1,
|
|
205
|
+
__: [3]
|
|
204
206
|
})
|
|
205
207
|
]),
|
|
206
208
|
r.value && !s(U)(a.value) ? (i(), P(s(Q), {
|
|
@@ -17,8 +17,8 @@ const X = /* @__PURE__ */ N({
|
|
|
17
17
|
const n = x, d = S, k = I(), { toast: v } = E(), { activeCollection: V, activeWorkspaceCollections: g } = L(), {
|
|
18
18
|
collectionMutators: D,
|
|
19
19
|
serverMutators: U,
|
|
20
|
-
events:
|
|
21
|
-
collections:
|
|
20
|
+
events: _,
|
|
21
|
+
collections: w
|
|
22
22
|
} = $(), r = p(""), i = h(
|
|
23
23
|
() => g.value.flatMap(
|
|
24
24
|
(t) => {
|
|
@@ -41,13 +41,13 @@ const X = /* @__PURE__ */ N({
|
|
|
41
41
|
return t.id === ((e = V.value) == null ? void 0 : e.uid);
|
|
42
42
|
}
|
|
43
43
|
)
|
|
44
|
-
),
|
|
44
|
+
), y = () => {
|
|
45
45
|
var o;
|
|
46
46
|
if (!r.value.trim()) {
|
|
47
47
|
v("Please enter a valid url before creating a server.", "error");
|
|
48
48
|
return;
|
|
49
49
|
}
|
|
50
|
-
const t =
|
|
50
|
+
const t = w[((o = a.value) == null ? void 0 : o.id) ?? ""];
|
|
51
51
|
if (!t) {
|
|
52
52
|
v("Please select a collection before creating a server.", "error");
|
|
53
53
|
return;
|
|
@@ -60,12 +60,12 @@ const X = /* @__PURE__ */ N({
|
|
|
60
60
|
[C.Servers]: e.uid
|
|
61
61
|
}
|
|
62
62
|
}), d("close");
|
|
63
|
-
},
|
|
64
|
-
|
|
63
|
+
}, P = () => {
|
|
64
|
+
_.commandPalette.emit({ commandName: "Create Collection" });
|
|
65
65
|
};
|
|
66
66
|
return (t, e) => (c(), u(R, {
|
|
67
67
|
disabled: !r.value.trim() || !a.value,
|
|
68
|
-
onSubmit:
|
|
68
|
+
onSubmit: y
|
|
69
69
|
}, {
|
|
70
70
|
options: l(() => [
|
|
71
71
|
m(s(j), {
|
|
@@ -94,12 +94,13 @@ const X = /* @__PURE__ */ N({
|
|
|
94
94
|
key: 1,
|
|
95
95
|
class: "hover:bg-b-2 max-h-8 w-fit justify-between gap-1 p-2 text-xs",
|
|
96
96
|
variant: "outlined",
|
|
97
|
-
onClick:
|
|
97
|
+
onClick: P
|
|
98
98
|
}, {
|
|
99
99
|
default: l(() => e[3] || (e[3] = [
|
|
100
100
|
f("span", { class: "text-c-1" }, "Create Collection", -1)
|
|
101
101
|
])),
|
|
102
|
-
_: 1
|
|
102
|
+
_: 1,
|
|
103
|
+
__: [3]
|
|
103
104
|
}))
|
|
104
105
|
]),
|
|
105
106
|
_: 1
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as ae, ref as v, computed as O, watch as le, onMounted as re, onBeforeUnmount as se, createBlock as F, openBlock as r, unref as u, withCtx as A, createElementVNode as C, createVNode as
|
|
1
|
+
import { defineComponent as ae, ref as v, computed as O, watch as le, onMounted as re, onBeforeUnmount as se, createBlock as F, openBlock as r, unref as u, withCtx as A, createElementVNode as C, createVNode as k, createElementBlock as d, createTextVNode as G, createCommentVNode as me, withKeys as S, withModifiers as T, Fragment as D, renderList as Q, withDirectives as ie, toDisplayString as j, vShow as ce, normalizeClass as ue, resolveDynamicComponent as de, mergeProps as pe, nextTick as b } from "vue";
|
|
2
2
|
import { Dialog as fe, DialogPanel as ve, DialogTitle as Ce } from "@headlessui/vue";
|
|
3
3
|
import { useModal as he, ScalarIcon as L } from "@scalar/components";
|
|
4
4
|
import { useRouter as xe } from "vue-router";
|
|
5
|
-
import { ROUTES as
|
|
6
|
-
import { importCurlCommand as
|
|
5
|
+
import { ROUTES as _e } from "../../constants.js";
|
|
6
|
+
import { importCurlCommand as ke } from "../../libs/importers/curl.js";
|
|
7
7
|
import { PathId as E } from "../../routes.js";
|
|
8
|
-
import { useActiveEntities as
|
|
9
|
-
import
|
|
8
|
+
import { useActiveEntities as ye } from "../../store/active-entities.js";
|
|
9
|
+
import ge from "./CommandPaletteCollection.vue.js";
|
|
10
10
|
import be from "./CommandPaletteExample.vue.js";
|
|
11
11
|
import we from "./CommandPaletteImport.vue.js";
|
|
12
12
|
import Pe from "./CommandPaletteImportCurl.vue.js";
|
|
@@ -31,14 +31,14 @@ const Te = {
|
|
|
31
31
|
"Create Workspace": Ae,
|
|
32
32
|
"Add Tag": Re,
|
|
33
33
|
"Add Server": Ie,
|
|
34
|
-
"Create Collection":
|
|
34
|
+
"Create Collection": ge,
|
|
35
35
|
"Add Example": be,
|
|
36
36
|
"Import from cURL": Pe
|
|
37
37
|
}, to = /* @__PURE__ */ ae({
|
|
38
38
|
...He,
|
|
39
39
|
setup($e) {
|
|
40
40
|
var z, N;
|
|
41
|
-
const h = he(), w = xe(), { activeWorkspace: l, activeWorkspaceCollections: J, activeCollection: X } =
|
|
41
|
+
const h = he(), w = xe(), { activeWorkspace: l, activeWorkspaceCollections: J, activeCollection: X } = ye(), { events: p, requestMutators: Y } = Se(), q = [
|
|
42
42
|
{
|
|
43
43
|
label: "",
|
|
44
44
|
commands: [
|
|
@@ -101,7 +101,7 @@ const Te = {
|
|
|
101
101
|
},
|
|
102
102
|
{
|
|
103
103
|
label: "Pages",
|
|
104
|
-
commands:
|
|
104
|
+
commands: _e.map((o) => {
|
|
105
105
|
var e;
|
|
106
106
|
return {
|
|
107
107
|
name: o.displayName,
|
|
@@ -127,7 +127,7 @@ const Te = {
|
|
|
127
127
|
}, Z = (o) => {
|
|
128
128
|
s.value !== "" && (o == null || o.preventDefault()), m.value = null, b(() => {
|
|
129
129
|
var e;
|
|
130
|
-
return (e =
|
|
130
|
+
return (e = y.value) == null ? void 0 : e.focus();
|
|
131
131
|
});
|
|
132
132
|
}, B = (o) => {
|
|
133
133
|
var e;
|
|
@@ -157,13 +157,13 @@ const Te = {
|
|
|
157
157
|
f();
|
|
158
158
|
} else
|
|
159
159
|
m.value = o.name;
|
|
160
|
-
},
|
|
160
|
+
}, y = v(), H = ({
|
|
161
161
|
commandName: o,
|
|
162
162
|
metaData: e
|
|
163
163
|
} = {}) => {
|
|
164
164
|
m.value = o ?? null, P.value = e, h.show(), b(() => {
|
|
165
165
|
var t;
|
|
166
|
-
return (t =
|
|
166
|
+
return (t = y.value) == null ? void 0 : t.focus();
|
|
167
167
|
});
|
|
168
168
|
};
|
|
169
169
|
le(s, (o) => {
|
|
@@ -175,7 +175,7 @@ const Te = {
|
|
|
175
175
|
const t = o === "up" ? -1 : 1, n = x.value.length;
|
|
176
176
|
i.value = (i.value + t + n) % n, b(() => {
|
|
177
177
|
var W, V;
|
|
178
|
-
const a = (W =
|
|
178
|
+
const a = (W = y.value) == null ? void 0 : W.closest(".custom-scroll");
|
|
179
179
|
if (!a) return;
|
|
180
180
|
if (i.value === 0) {
|
|
181
181
|
a.scrollTop = 0;
|
|
@@ -183,8 +183,8 @@ const Te = {
|
|
|
183
183
|
}
|
|
184
184
|
const c = M.value[i.value];
|
|
185
185
|
if (!c) return;
|
|
186
|
-
const
|
|
187
|
-
R < te ? a.scrollTop = R -
|
|
186
|
+
const _ = (((V = a.querySelector(".sticky")) == null ? void 0 : V.clientHeight) || 0) + 16, g = 6, R = c.offsetTop, U = R + c.clientHeight, te = a.scrollTop + _, ne = a.scrollTop + a.clientHeight - g;
|
|
187
|
+
R < te ? a.scrollTop = R - _ : U > ne && (a.scrollTop = U - a.clientHeight + g);
|
|
188
188
|
});
|
|
189
189
|
}, I = O(
|
|
190
190
|
() => x.value[i.value]
|
|
@@ -198,7 +198,7 @@ const Te = {
|
|
|
198
198
|
p.commandPalette.emit({
|
|
199
199
|
commandName: "Import from cURL",
|
|
200
200
|
metaData: {
|
|
201
|
-
parsedCurl:
|
|
201
|
+
parsedCurl: ke(o),
|
|
202
202
|
collectionUid: (e = X.value) == null ? void 0 : e.uid
|
|
203
203
|
}
|
|
204
204
|
});
|
|
@@ -216,13 +216,14 @@ const Te = {
|
|
|
216
216
|
}, {
|
|
217
217
|
default: A(() => [
|
|
218
218
|
e[7] || (e[7] = C("div", { class: "commandmenu-overlay z-overlay" }, null, -1)),
|
|
219
|
-
|
|
219
|
+
k(u(ve), { class: "commandmenu z-overlay flex flex-col" }, {
|
|
220
220
|
default: A(() => [
|
|
221
|
-
|
|
221
|
+
k(u(Ce), { class: "sr-only" }, {
|
|
222
222
|
default: A(() => e[6] || (e[6] = [
|
|
223
223
|
G("API Client Command Menu")
|
|
224
224
|
])),
|
|
225
|
-
_: 1
|
|
225
|
+
_: 1,
|
|
226
|
+
__: [6]
|
|
226
227
|
}),
|
|
227
228
|
m.value ? (r(), d("div", Be, [
|
|
228
229
|
C("button", {
|
|
@@ -230,7 +231,7 @@ const Te = {
|
|
|
230
231
|
type: "button",
|
|
231
232
|
onClick: e[3] || (e[3] = (t) => m.value = null)
|
|
232
233
|
}, [
|
|
233
|
-
|
|
234
|
+
k(u(L), {
|
|
234
235
|
icon: "ChevronLeft",
|
|
235
236
|
size: "md",
|
|
236
237
|
thickness: "1.5"
|
|
@@ -243,7 +244,7 @@ const Te = {
|
|
|
243
244
|
])) : (r(), d("div", Te, [
|
|
244
245
|
C("div", De, [
|
|
245
246
|
C("label", Le, [
|
|
246
|
-
|
|
247
|
+
k(u(L), {
|
|
247
248
|
class: "text-c-2 mr-2.5",
|
|
248
249
|
icon: "Search",
|
|
249
250
|
size: "md",
|
|
@@ -253,7 +254,7 @@ const Te = {
|
|
|
253
254
|
C("input", {
|
|
254
255
|
id: "commandmenu",
|
|
255
256
|
ref_key: "commandInputRef",
|
|
256
|
-
ref:
|
|
257
|
+
ref: y,
|
|
257
258
|
autocomplete: "off",
|
|
258
259
|
autofocus: "",
|
|
259
260
|
class: "w-full rounded border-none bg-none py-1.5 text-sm focus:outline-none",
|
|
@@ -288,10 +289,10 @@ const Te = {
|
|
|
288
289
|
ref_for: !0,
|
|
289
290
|
ref: (c) => {
|
|
290
291
|
if (c) {
|
|
291
|
-
const
|
|
292
|
-
(
|
|
292
|
+
const _ = x.value.findIndex(
|
|
293
|
+
(g) => g.name === n.name
|
|
293
294
|
);
|
|
294
|
-
|
|
295
|
+
_ !== -1 && (M.value[_] = c);
|
|
295
296
|
}
|
|
296
297
|
},
|
|
297
298
|
class: ue(["commandmenu-item hover:bg-b-2 flex cursor-pointer items-center rounded px-2 py-1.5 text-sm", {
|
|
@@ -299,7 +300,7 @@ const Te = {
|
|
|
299
300
|
}]),
|
|
300
301
|
onClick: (c) => B(n)
|
|
301
302
|
}, [
|
|
302
|
-
|
|
303
|
+
k(u(L), {
|
|
303
304
|
class: "text-c-2 mr-2.5",
|
|
304
305
|
icon: n.icon,
|
|
305
306
|
size: "md",
|
|
@@ -315,7 +316,8 @@ const Te = {
|
|
|
315
316
|
_: 1
|
|
316
317
|
})
|
|
317
318
|
]),
|
|
318
|
-
_: 1
|
|
319
|
+
_: 1,
|
|
320
|
+
__: [7]
|
|
319
321
|
}, 8, ["open"]));
|
|
320
322
|
}
|
|
321
323
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTableInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTableInput.vue"],"names":[],"mappings":"AAqMA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAIrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAO/C,KAAK,WAAW,GAAG;IACf,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,sEAAsE;IACtE,cAAc,CAAC,EAAE,YAAY,GAAG,SAAS,CAAA;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,EAAE,MAAM,GAAG,MAAM,CAAA;IAC3B,0EAA0E;IAC1E,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IACf,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,SAAS,EAAE,SAAS,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAChC,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB,CAAC;AAsDJ,iBAAS,cAAc;WA6OT,OAAO,IAA6B;;yBAXrB,GAAG;yBACF,GAAG;sBACN,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"DataTableInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTableInput.vue"],"names":[],"mappings":"AAqMA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAIrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAO/C,KAAK,WAAW,GAAG;IACf,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,sEAAsE;IACtE,cAAc,CAAC,EAAE,YAAY,GAAG,SAAS,CAAA;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,EAAE,MAAM,GAAG,MAAM,CAAA;IAC3B,0EAA0E;IAC1E,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IACf,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,SAAS,EAAE,SAAS,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAChC,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB,CAAC;AAsDJ,iBAAS,cAAc;WA6OT,OAAO,IAA6B;;yBAXrB,GAAG;yBACF,GAAG;sBACN,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAkE6yI,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EApDh8I;AAoBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;cA1UN,OAAO;cAIP,OAAO;kBAQH,OAAO;2BATE,OAAO;6EA+UjC,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAepG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as T, computed as m, ref as V, watch as
|
|
1
|
+
import { defineComponent as T, computed as m, ref as V, watch as _, nextTick as E, createElementBlock as f, openBlock as o, createBlock as v, withDirectives as K, unref as a, withCtx as s, createVNode as u, createElementVNode as i, toDisplayString as y, withKeys as M, vModelText as R, createCommentVNode as S, Fragment as C, renderList as U, normalizeClass as W } from "vue";
|
|
2
2
|
import { ScalarComboboxMultiselect as $, ScalarButton as b, ScalarIcon as h, ScalarDropdown as F, ScalarDropdownItem as D, ScalarDropdownDivider as L } from "@scalar/components";
|
|
3
3
|
const q = { class: "group-[.alert]:outline-orange group-[.error]:outline-red w-full pr-10 -outline-offset-1 has-[:focus-visible]:rounded-[4px] has-[:focus-visible]:outline" }, G = { class: "text-c-1 whitespace-nowrap" }, H = { class: "text-c-1 overflow-hidden text-ellipsis" }, J = { class: "overflow-hidden text-ellipsis" }, P = { class: "flex h-4 w-4 items-center justify-center" }, Z = /* @__PURE__ */ T({
|
|
4
4
|
__name: "DataTableInputSelect",
|
|
@@ -12,7 +12,7 @@ const q = { class: "group-[.alert]:outline-orange group-[.error]:outline-red w-f
|
|
|
12
12
|
emits: ["update:modelValue"],
|
|
13
13
|
setup(B, { emit: j }) {
|
|
14
14
|
const n = B, c = j, p = m(() => n.value ?? []), d = V(!1), r = V(""), x = V(null);
|
|
15
|
-
|
|
15
|
+
_(r, (e) => {
|
|
16
16
|
c("update:modelValue", e);
|
|
17
17
|
});
|
|
18
18
|
const g = (e) => {
|
|
@@ -22,7 +22,7 @@ const q = { class: "group-[.alert]:outline-orange group-[.error]:outline-red w-f
|
|
|
22
22
|
}, A = () => {
|
|
23
23
|
r.value.trim() || c("update:modelValue", ""), d.value = !1;
|
|
24
24
|
}, I = (e) => n.modelValue.toString() === e;
|
|
25
|
-
|
|
25
|
+
_(d, (e) => {
|
|
26
26
|
e && E(() => {
|
|
27
27
|
var l;
|
|
28
28
|
(l = x.value) == null || l.focus();
|
|
@@ -80,7 +80,7 @@ const q = { class: "group-[.alert]:outline-orange group-[.error]:outline-red w-f
|
|
|
80
80
|
value: k.value
|
|
81
81
|
}, {
|
|
82
82
|
items: s(() => [
|
|
83
|
-
(o(!0), f(
|
|
83
|
+
(o(!0), f(C, null, U(p.value, (t) => (o(), v(a(D), {
|
|
84
84
|
key: t,
|
|
85
85
|
class: "group/item flex items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap",
|
|
86
86
|
value: t,
|
|
@@ -103,8 +103,8 @@ const q = { class: "group-[.alert]:outline-orange group-[.error]:outline-red w-f
|
|
|
103
103
|
]),
|
|
104
104
|
_: 2
|
|
105
105
|
}, 1032, ["value", "onClick"]))), 128)),
|
|
106
|
-
e.canAddCustomValue ? (o(), f(
|
|
107
|
-
p.value.length ? (o(), v(a(L), { key: 0 })) :
|
|
106
|
+
e.canAddCustomValue ? (o(), f(C, { key: 0 }, [
|
|
107
|
+
p.value.length ? (o(), v(a(L), { key: 0 })) : S("", !0),
|
|
108
108
|
u(a(D), {
|
|
109
109
|
class: "flex items-center gap-1.5",
|
|
110
110
|
onClick: l[1] || (l[1] = (t) => d.value = !0)
|
|
@@ -118,9 +118,10 @@ const q = { class: "group-[.alert]:outline-orange group-[.error]:outline-red w-f
|
|
|
118
118
|
]),
|
|
119
119
|
l[2] || (l[2] = i("span", null, "Add value", -1))
|
|
120
120
|
]),
|
|
121
|
-
_: 1
|
|
121
|
+
_: 1,
|
|
122
|
+
__: [2]
|
|
122
123
|
})
|
|
123
|
-
], 64)) :
|
|
124
|
+
], 64)) : S("", !0)
|
|
124
125
|
]),
|
|
125
126
|
default: s(() => [
|
|
126
127
|
u(a(b), {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as D, computed as E, watch as g, onMounted as L, createBlock as d, openBlock as c, unref as n, withCtx as s, createVNode as l, createElementVNode as p, toDisplayString as w, createElementBlock as M, createCommentVNode as V, Fragment as W, renderList as j, withModifiers as
|
|
1
|
+
import { defineComponent as D, computed as E, watch as g, onMounted as L, createBlock as d, openBlock as c, unref as n, withCtx as s, createVNode as l, createElementVNode as p, toDisplayString as w, createElementBlock as M, createCommentVNode as V, Fragment as W, renderList as j, withModifiers as _, createTextVNode as k } from "vue";
|
|
2
2
|
import { ScalarDropdown as T, ScalarButton as $, ScalarDropdownItem as f, ScalarListboxCheckbox as S, ScalarDropdownDivider as z, ScalarIcon as A } from "@scalar/components";
|
|
3
3
|
import { useRouter as F } from "vue-router";
|
|
4
4
|
import { PathId as O } from "../../routes.js";
|
|
@@ -56,7 +56,7 @@ const G = { class: "m-0 flex items-center gap-1.5 font-medium whitespace-nowrap"
|
|
|
56
56
|
(c(!0), M(W, null, j(v.value, (o) => (c(), d(n(f), {
|
|
57
57
|
key: o.uid,
|
|
58
58
|
class: "group/item flex items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap",
|
|
59
|
-
onClick:
|
|
59
|
+
onClick: _((i) => m(o.uid), ["stop"])
|
|
60
60
|
}, {
|
|
61
61
|
default: s(() => {
|
|
62
62
|
var i;
|
|
@@ -64,14 +64,14 @@ const G = { class: "m-0 flex items-center gap-1.5 font-medium whitespace-nowrap"
|
|
|
64
64
|
l(n(S), {
|
|
65
65
|
selected: ((i = n(a)) == null ? void 0 : i["x-scalar-active-environment"]) === o.uid
|
|
66
66
|
}, null, 8, ["selected"]),
|
|
67
|
-
|
|
67
|
+
k(" " + w(o.name), 1)
|
|
68
68
|
];
|
|
69
69
|
}),
|
|
70
70
|
_: 2
|
|
71
71
|
}, 1032, ["onClick"]))), 128)),
|
|
72
72
|
l(n(f), {
|
|
73
73
|
class: "group/item flex items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap",
|
|
74
|
-
onClick: t[0] || (t[0] =
|
|
74
|
+
onClick: t[0] || (t[0] = _((o) => m(""), ["stop"]))
|
|
75
75
|
}, {
|
|
76
76
|
default: s(() => {
|
|
77
77
|
var o, i, h;
|
|
@@ -79,10 +79,11 @@ const G = { class: "m-0 flex items-center gap-1.5 font-medium whitespace-nowrap"
|
|
|
79
79
|
l(n(S), {
|
|
80
80
|
selected: ((o = n(u)) == null ? void 0 : o.uid) === "" && ((i = n(a)) == null ? void 0 : i["x-scalar-active-environment"]) === "" || ((h = n(u)) == null ? void 0 : h.name) === "No Environment"
|
|
81
81
|
}, null, 8, ["selected"]),
|
|
82
|
-
t[1] || (t[1] =
|
|
82
|
+
t[1] || (t[1] = k(" No Environment "))
|
|
83
83
|
];
|
|
84
84
|
}),
|
|
85
|
-
_: 1
|
|
85
|
+
_: 1,
|
|
86
|
+
__: [1]
|
|
86
87
|
}),
|
|
87
88
|
l(n(z)),
|
|
88
89
|
n(y) !== "modal" ? (c(), d(n(f), {
|
|
@@ -99,7 +100,8 @@ const G = { class: "m-0 flex items-center gap-1.5 font-medium whitespace-nowrap"
|
|
|
99
100
|
]),
|
|
100
101
|
t[2] || (t[2] = p("span", { class: "leading-none" }, "Manage Environments", -1))
|
|
101
102
|
]),
|
|
102
|
-
_: 1
|
|
103
|
+
_: 1,
|
|
104
|
+
__: [2]
|
|
103
105
|
})) : V("", !0)
|
|
104
106
|
]),
|
|
105
107
|
default: s(() => [
|
|
@@ -5,7 +5,7 @@ import { useRouter as g } from "vue-router";
|
|
|
5
5
|
import { useActiveEntities as x } from "../../store/active-entities.js";
|
|
6
6
|
import { importCollection as B } from "./utils/import-collection.js";
|
|
7
7
|
import { useWorkspace as I } from "../../store/store.js";
|
|
8
|
-
const
|
|
8
|
+
const z = /* @__PURE__ */ y({
|
|
9
9
|
__name: "ImportNowButton",
|
|
10
10
|
props: {
|
|
11
11
|
source: {},
|
|
@@ -52,7 +52,8 @@ const R = /* @__PURE__ */ y({
|
|
|
52
52
|
default: m(() => e[0] || (e[0] = [
|
|
53
53
|
p(" Import Collection ")
|
|
54
54
|
])),
|
|
55
|
-
_: 1
|
|
55
|
+
_: 1,
|
|
56
|
+
__: [0]
|
|
56
57
|
})) : (o(), u(a(c), {
|
|
57
58
|
key: 1,
|
|
58
59
|
class: "h-fit rounded-lg px-6 py-2.5 text-[21px] font-bold",
|
|
@@ -64,11 +65,12 @@ const R = /* @__PURE__ */ y({
|
|
|
64
65
|
default: m(() => e[1] || (e[1] = [
|
|
65
66
|
p(" Try it in the browser ")
|
|
66
67
|
])),
|
|
67
|
-
_: 1
|
|
68
|
+
_: 1,
|
|
69
|
+
__: [1]
|
|
68
70
|
}))
|
|
69
71
|
], 64)) : h("", !0);
|
|
70
72
|
}
|
|
71
73
|
});
|
|
72
74
|
export {
|
|
73
|
-
|
|
75
|
+
z as default
|
|
74
76
|
};
|
|
@@ -73,7 +73,8 @@ const R = { class: "flex w-[inherit] items-center text-base" }, U = { class: "m-
|
|
|
73
73
|
]),
|
|
74
74
|
t[2] || (t[2] = s("span", null, "New Workspace", -1))
|
|
75
75
|
]),
|
|
76
|
-
_: 1
|
|
76
|
+
_: 1,
|
|
77
|
+
__: [2]
|
|
77
78
|
})
|
|
78
79
|
]),
|
|
79
80
|
default: r(() => [
|
|
@@ -128,7 +129,8 @@ const R = { class: "flex w-[inherit] items-center text-base" }, U = { class: "m-
|
|
|
128
129
|
default: r(() => t[3] || (t[3] = [
|
|
129
130
|
j(" Continue ")
|
|
130
131
|
])),
|
|
131
|
-
_: 1
|
|
132
|
+
_: 1,
|
|
133
|
+
__: [3]
|
|
132
134
|
}, 8, ["disabled"])
|
|
133
135
|
], 32)
|
|
134
136
|
]),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SectionFilter.vue.d.ts","sourceRoot":"","sources":["../../src/components/SectionFilter.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SectionFilter.vue.d.ts","sourceRoot":"","sources":["../../src/components/SectionFilter.vue"],"names":[],"mappings":"yBAuKiB,CAAC,SAAS,MAAM,eACnB,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WAmNxD,mBAAmB,CAAC;;;qBAtKjB,CAAC;;kBAzCF,CAAC,EAAE;oBACD,MAAM,CAAC,CAAC,EAAE,MAAM,CAAC;MA8MwF,CAAC,4BAA2B;oBAChI,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;;;;;YAK+B,OAAO,CAAC,OAAO,WAAW,CAAC;;AA7NvE,wBA6N4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./SectionFilter.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-f97cc68c"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
f as default
|
|
7
7
|
};
|