UNPKG

@scalar/api-client

Version:

the open source API testing client

44 lines (43 loc) 1.47 kB
import { defineComponent as l, createElementBlock as r, openBlock as n, createElementVNode as e, createVNode as o, unref as a, toDisplayString as m, mergeProps as i } from "vue"; import { ScalarIconGlobe as p } from "@scalar/icons"; import { RouterView as d } from "vue-router"; import _ from "./components/Tabs.vue.js"; const u = { 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: {} }, setup(s) { const c = s; return (t, g) => (n(), r("div", u, [ 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(a(p), { class: "text-c-2 size-6" }), e("div", h, [ e("span", v, m(t.activeWorkspace.name), 1) ]) ], 8, x), o(_, { type: "workspace" }), e("div", k, [ o(a(d), i(c, { collectionType: "workspace" }), null, 16) ]) ]) ])); } }); export { B as default };