tyh-ui2
Version:
The next generation ui component library of tyh-ui is based on vue3 Version, fully embrace vue3.
69 lines (68 loc) • 2.16 kB
JavaScript
import { defineComponent as p, openBlock as e, createElementBlock as n, createElementVNode as o, createVNode as s, unref as a, toDisplayString as i } from "vue";
import { Props as c } from "./index2.js";
import "../../button/index.js";
import "../../list/index.js";
import "../../card/index.js";
import "../../tag/index.js";
import "../../link/index.js";
import "../../menu/index.js";
import "../../menu-item/index.js";
import "../../division/index.js";
import "../../icon/index.js";
import "../../crumbs/index.js";
import "../../crumbs-item/index.js";
import "../../input/index.js";
import "../../back-top/index.js";
import "../../skeleton/index.js";
import "../../alert/index.js";
import "../../rate/index.js";
import "../../image/index.js";
import "../../avatar/index.js";
import "../../aside/index.js";
import "../../container/index.js";
import "../../footer/index.js";
import "../../header/index.js";
import "../../main/index.js";
import "../../text/index.js";
import "../../table/index.js";
import "../../button-group/index.js";
import "../../calendar/index.js";
import "../../switch/index.js";
import "../../radio/index.js";
import "../../tree/index.js";
import "../index.js";
import "../../info/index.js";
import "../../textarea/index.js";
import "../../select/index.js";
import "../../option/index.js";
import "../../tagging/index.js";
import "../../drawer/index.js";
import "../../dialog/index.js";
import "../../message/src/index.js";
import "../../notification/src/index.js";
import l from "../../icon/src/index.js";
const d = { class: "tyh-page-header" }, _ = { class: "tyh-page-header-title" }, h = { class: "tyh-page-header-content" }, f = p({
name: "TyhPageHeader"
}), nt = /* @__PURE__ */ p({
...f,
props: c,
emits: ["back"],
setup(u, { emit: m }) {
return (t, r) => (e(), n("div", d, [
o("div", {
class: "tyh-page-header-title-box",
onClick: r[0] || (r[0] = (g) => m("back"))
}, [
s(a(l), {
icon: t.icon,
size: "14"
}, null, 8, ["icon"]),
o("span", _, i(t.title), 1)
]),
o("div", h, i(t.content), 1)
]));
}
});
export {
nt as default
};