var e,t;import{x as i,y as r,o as s,c as d,A as o,d as l}from"./index-3714412c.js";import{_ as n}from"./_plugin-vue_export-helper.1b428a4d.js";const a=n({name:"uv-line",mixins:[i,r,{props:{color:{type:String,default:"#d6d7d9"},length:{type:[String,Number],default:"100%"},direction:{type:String,default:"row"},hairline:{type:Boolean,default:!0},margin:{type:[String,Number],default:0},dashed:{type:Boolean,default:!1},...null==(t=null==(e=uni.$uv)?void 0:e.props)?void 0:t.line}}],computed:{lineStyle(){const e={};return e.margin=this.margin,"row"===this.direction?(e.borderBottomWidth="1px",e.borderBottomStyle=this.dashed?"dashed":"solid",e.width=this.$uv.addUnit(this.length),this.hairline&&(e.transform="scaleY(0.5)")):(e.borderLeftWidth="1px",e.borderLeftStyle=this.dashed?"dashed":"solid",e.height=this.$uv.addUnit(this.length),this.hairline&&(e.transform="scaleX(0.5)")),e.borderColor=this.color,this.$uv.deepMerge(e,this.$uv.addStyle(this.customStyle))}}},[["render",function(e,t,i,r,n,a){const h=l;return s(),d(h,{class:"uv-line",style:o([a.lineStyle])},null,8,["style"])}],["__scopeId","data-v-6ea9af94"]]);export{a as _};
