import { n as e } from "./utils-DJ3DjJ60.js";
import { createCommentVNode as t, createElementBlock as n, createElementVNode as r, createTextVNode as i, defineComponent as a, normalizeClass as o, openBlock as s, renderSlot as c, toDisplayString as l, unref as u } from "vue";
//#region ../components/DetailSubTitle/DetailSubTitle.vue?vue&type=script&setup=true&lang.ts
var d = { class: "info-pair" }, f = { class: "info-pair--title" }, p = {
	key: 0,
	class: "info-pair--title--tip"
}, m = e(/* @__PURE__ */ a({
	name: "zh-detail-sub-title",
	__name: "DetailSubTitle",
	props: {
		title: {},
		value: {},
		ellipsis: { type: Boolean },
		tip: {}
	},
	setup(e) {
		let a = e;
		return (m, h) => (s(), n("div", d, [r("div", f, [i(l(a.title) + " ", 1), e.tip ? (s(), n("div", p, l(e.tip), 1)) : t("", !0)]), r("div", { class: o(["info-pair--value", { ellipsis: e.ellipsis }]) }, [c(m.$slots, "value", {}, () => [i(l(a.value || u("--")), 1)])], 2)]));
	}
}));
//#endregion
export { m as t };
