"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),r=require("../../utils/json2css.js"),u=["ztitle"],d=t.defineComponent({name:"zv-text-text-basic"}),c=t.defineComponent({...d,props:{basicOption:{}},setup(p){const i=()=>({rendererDomStyle:e=>{r.autoInstallFont(e.fontFamily);const n={};e.color&&e.color.includes("linear-gradient")&&(n.backgroundImage=e.color,n["-webkit-background-clip"]="text",n.color="transparent");const a={};return e.textAlign==="left"&&(e.justifyContent="flex-start"),e.textAlign==="center"&&(e.justifyContent="center"),e.textAlign==="right"&&(e.justifyContent="flex-end"),{...r.jsonToCssStyle(e),...n,...a,...e.textShadow.show?{"--text-shadow":`${e.textShadow.x}px ${e.textShadow.y}px ${e.textShadow.value}px ${e.textShadow.color}`}:{}}}}),{rendererDomStyle:l}=i();return(o,e)=>(t.openBlock(),t.createElementBlock("p",{class:"zerov-widget-text",style:t.normalizeStyle(t.unref(l)(o.basicOption.css)),ztitle:o.basicOption.value},t.toDisplayString(o.basicOption.value),13,u))}});exports.default=c;
