@scalar/api-client
Version:
the open source API testing client
45 lines (44 loc) • 1.49 kB
JavaScript
import { defineComponent as l, createElementBlock as r, openBlock as n, createElementVNode as e, createVNode as o, unref as s, toDisplayString as i, mergeProps as m } from "vue";
import { ScalarIconGlobe as p } from "@scalar/icons";
import { RouterView as d } from "vue-router";
import u from "./components/Tabs.vue.js";
const _ = { class: "custom-scroll h-full" }, f = { class: "w-full md:mx-auto md:max-w-[720px]" }, x = ["aria-label"], h = { class: "group relative ml-1.25" }, v = { class: "text-c-1 flex h-8 items-center" }, k = { class: "px-1.5 py-8" }, w = {}, B = /* @__PURE__ */ l({
...w,
__name: "WorkspaceCollection",
props: {
documentSlug: {},
document: {},
eventBus: {},
layout: {},
path: {},
method: {},
exampleName: {},
environment: {},
workspaceStore: {},
activeWorkspace: {},
plugins: {}
},
setup(a) {
const c = a;
return (t, g) => (n(), r("div", _, [
e("div", f, [
e("div", {
"aria-label": `title: ${t.activeWorkspace.name}`,
class: "mx-auto flex h-fit w-full flex-col gap-2 pt-6 pb-3 md:mx-auto md:max-w-[720px]"
}, [
o(s(p), { class: "text-c-2 size-6" }),
e("div", h, [
e("span", v, i(t.activeWorkspace.name), 1)
])
], 8, x),
o(u, { type: "workspace" }),
e("div", k, [
o(s(d), m(c, { collectionType: "workspace" }), null, 16)
])
])
]));
}
});
export {
B as default
};