1 |
- import{d as s,j as l,N as o,A as i}from"./ResizeObserver.es.f28023e0.js";import{R as r,C as t}from"./index.00276806.js";const a="_formTitle_fhhun_1",d="_required_fhhun_18";var e={formTitle:a,"col-left":"_col-left_fhhun_8",required:d,"col-icon":"_col-icon_fhhun_23","col-field":"_col-field_fhhun_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 l(r,{class:e["col-field"]},{default:()=>[l(t,{span:24,class:e.formTitle},{default:()=>[l("div",{class:e["col-left"]},[l("div",{class:e["col-icon"]},[this.$slots.icon?this.$slots.icon():this.iconName?l(o,{name:this.iconName,size:"24"},null):null]),this.required?l("i",{class:e.required},[i("*")]):null,this.$slots.title?this.$slots.title():l("div",{class:e.pdL},[this.title])]),l("div",{class:e["col-right"]},[this.$slots.right&&this.$slots.right()])]}),l(t,{span:24,class:this.border?"van-hairline--bottom":null},{default:()=>[this.$slots.default&&this.$slots.default()]})]})}}),n={"col-field-group":"_col-field-group_1vk7j_1"},h=s({name:"ColFieldGroup",render(){return l("div",{class:n["col-field-group"]},[this.$slots.default&&this.$slots.default()])}});export{h as C,u as a};
|