import{d as s,j as e,M as o,z as i}from"./index.3bfa6a0e.js";import{R as r,C as t}from"./index.bb2d59fe.js";const a="_formTitle_17xej_1",d="_required_17xej_18";var l={formTitle:a,"col-left":"_col-left_17xej_8",required:d,"col-icon":"_col-icon_17xej_23","col-field":"_col-field_17xej_27"},u=s({name:"col-field",props:{required:{type:Boolean,default:!1},title:{type:String},border:{type:Boolean,default:!0},iconName:{type:String}},render(){return e(r,{class:l["col-field"]},{default:()=>[e(t,{span:24,class:l.formTitle},{default:()=>[e("div",{class:l["col-left"]},[e("div",{class:l["col-icon"]},[this.$slots.icon?this.$slots.icon():this.iconName?e(o,{name:this.iconName,size:"24"},null):null]),this.required?e("i",{class:l.required},[i("*")]):null,this.$slots.title?this.$slots.title():e("div",{class:l.pdL},[this.title])]),e("div",{class:l["col-right"]},[this.$slots.right&&this.$slots.right()])]}),e(t,{span:24,class:this.border?"van-hairline--bottom":null},{default:()=>[this.$slots.default&&this.$slots.default()]})]})}}),c={"col-field-group":"_col-field-group_1vk7j_1"},h=s({name:"ColFieldGroup",render(){return e("div",{class:c["col-field-group"]},[this.$slots.default&&this.$slots.default()])}});export{h as C,u as a};
