import { computed as r, onMounted as s, openBlock as n, createElementBlock as u, normalizeStyle as l, normalizeClass as m, createElementVNode as a, toDisplayString as o, renderSlot as f } from "vue"; import { n as p } from "./index2.js"; const c = { class: "value" }, b = { __name: "SFilterItem", props: { label: { required: !0, type: String }, labelWidth: { type: Number, default: 70 }, colon: { type: Boolean, default: !1 }, width: { type: Number, default: 280 }, // 独占一行:父级 SFilterWrap 是 flex-wrap 容器,宽度拉满即整行 full: { type: Boolean, default: !1 }, mb: { type: Number, default: 0 }, isNormal: { type: Boolean, default: !0 } }, setup(t) { const e = t, i = r(() => ({ width: e.full ? "100%" : e.width + "px", marginBottom: e.mb + "px" })); return s(() => { }), (d, h) => (n(), u("div", { class: m(["filter-item", { "is-full": e.full, "is-default": t.isNormal }]), style: l(i.value) }, [ a("div", { class: "label", style: l({ width: e.labelWidth + "px", maxWidth: e.labelWidth + "px", minWidth: e.labelWidth + "px" }) }, o(t.label) + o(e.colon ? ":" : ""), 5), a("div", c, [ f(d.$slots, "default", {}, void 0, !0) ]) ], 6)); } }, S = /* @__PURE__ */ p(b, [["__scopeId", "data-v-8515202f"]]); export { S as default };