yuang-framework-ui-pc
Version:
yuang-framework-ui-pc Library
39 lines (38 loc) • 1.03 kB
JavaScript
import { defineComponent as s, ref as i, resolveComponent as c, createBlock as p, openBlock as l, normalizeStyle as d, withCtx as u, renderSlot as m } from "vue";
import f from "../../ele-watermark/index";
const _ = "", h = s({
name: "ReceiverView",
components: { EleWatermark: f },
props: {
wrapPosition: {
type: Boolean,
default: !0
}
},
setup(e) {
return { authenticated: i(!1), watermark: _.split(",") };
}
}), k = (e, t) => {
const o = e.__vccOpts || e;
for (const [a, n] of t)
o[a] = n;
return o;
};
function w(e, t, o, a, n, v) {
const r = c("EleWatermark");
return l(), p(r, {
wrapPosition: !1,
style: d(!e.wrapPosition || e.authenticated ? void 0 : { position: "relative" }),
disabled: e.authenticated,
content: e.watermark
}, {
default: u(() => [
m(e.$slots, "default", { authenticated: e.authenticated })
]),
_: 3
}, 8, ["style", "disabled", "content"]);
}
const E = /* @__PURE__ */ k(h, [["render", w]]);
export {
E as default
};