@scalar/api-client
Version:
the open source API testing client
43 lines (42 loc) • 1.36 kB
JavaScript
import { defineComponent as c, createElementBlock as i, openBlock as n, createElementVNode as a, createVNode as e, unref as t } from "vue";
import { ScalarHotkey as o } from "@scalar/components";
import r from "../assets/keycap.ascii.js";
import l from "./ScalarAsciiArt.vue.js";
const p = { class: "flex-center flex w-full scale-75" }, d = { class: "relative" }, m = { class: "relative -ml-12" }, y = { class: "relative -ml-12" }, v = /* @__PURE__ */ c({
__name: "EmptyState",
setup(x) {
return (_, s) => (n(), i("div", p, [
a("div", d, [
e(t(o), {
class: "keycap-hotkey right-14 border-transparent py-0 text-xl",
hotkey: ""
}),
e(l, {
art: t(r),
class: "text-c-3 !leading-[6px]"
}, null, 8, ["art"])
]),
a("div", m, [
e(t(o), {
class: "keycap-hotkey right-14 border-transparent py-0 text-xl",
hotkey: "",
modifier: ["Shift"]
}),
e(l, {
art: t(r),
class: "keycap-n !leading-[6px]"
}, null, 8, ["art"])
]),
a("div", y, [
s[0] || (s[0] = a("div", { class: "keycap-hotkey right-16 text-xl" }, "P", -1)),
e(l, {
art: t(r),
class: "keycap-n !leading-[6px]"
}, null, 8, ["art"])
])
]));
}
});
export {
v as default
};