UNPKG

yuang-framework-ui-pc

Version:

yuang-framework-ui-pc Library

2 lines (1 loc) 761 B
"use strict";const t=require("vue"),i=require("../../ele-watermark/index"),c="",l=t.defineComponent({name:"ReceiverView",components:{EleWatermark:i},props:{wrapPosition:{type:Boolean,default:!0}},setup(e){return{authenticated:t.ref(!1),watermark:c.split(",")}}}),p=(e,o)=>{const n=e.__vccOpts||e;for(const[r,a]of o)n[r]=a;return n};function u(e,o,n,r,a,f){const s=t.resolveComponent("EleWatermark");return t.openBlock(),t.createBlock(s,{wrapPosition:!1,style:t.normalizeStyle(!e.wrapPosition||e.authenticated?void 0:{position:"relative"}),disabled:e.authenticated,content:e.watermark},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"default",{authenticated:e.authenticated})]),_:3},8,["style","disabled","content"])}const d=p(l,[["render",u]]);module.exports=d;