"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),o=require("lodash-unified");require("../../../ap-field/index.js");const s=require("../../constant.js");require("../../item/index.vue2.js");const c=require("../../item/index.vue.js"),m=require("../../../ap-field/date-range/index.vue.js"),_=e.defineComponent({name:"ApFormItemDateRange",__name:"index",props:{htmlFor:{},prefixCls:{},label:{},help:{},extra:{},labelCol:{},wrapperCol:{},hasFeedback:{type:Boolean,default:!1},colon:{type:Boolean,default:void 0},labelAlign:{},prop:{},name:{},rules:{},autoLink:{type:Boolean,default:!0},required:{type:Boolean,default:void 0},validateFirst:{type:Boolean,default:void 0},validateStatus:{},validateTrigger:{},messageVariables:{},hidden:{type:Boolean},noStyle:{type:Boolean},tooltip:{},span:{},order:{},offset:{},push:{},pull:{},xs:{},sm:{},md:{},lg:{},xl:{},xxl:{},flex:{},bordered:{type:Boolean},valuePropName:{},initialValue:{},_signal:{},transform:{},description:{},customFilled:{},disabled:{type:Boolean,default:void 0},autoFocus:{type:Boolean},field:{default:()=>({})},placeholder:{}},setup(u,{expose:i}){const r=u,n=e.useSlots(),l=e.ref(),p=e.computed(()=>({placeholder:r.placeholder,disabled:r.disabled,...r.field,bordered:r.bordered?!1:o.isUndefined(r.field?.bordered)?!0:r.field?.bordered}));return i({focus:()=>l.value?.focus(),blur:()=>l.value?.blur()}),(d,v)=>(e.openBlock(),e.createBlock(c.default,e.normalizeProps(e.guardReactiveProps(e.unref(o.omit)(r,["field","placeholder"]))),e.createSlots({default:e.withCtx(()=>[e.createVNode(e.unref(m.default),e.mergeProps(p.value,{ref_key:"dateRangeRef",ref:l}),e.createSlots({_:2},[e.renderList(e.unref(o.omit)(n,e.unref(s.apFormItemSlotNames)),(f,t)=>({name:t,fn:e.withCtx(a=>[e.renderSlot(d.$slots,t,e.normalizeProps(e.guardReactiveProps(a||{})))])}))]),1040)]),_:2},[e.renderList(e.unref(o.pick)(n,e.unref(s.apFormItemSlotNames)),(f,t)=>({name:t,fn:e.withCtx(a=>[e.renderSlot(d.$slots,t,e.normalizeProps(e.guardReactiveProps(a||{})))])}))]),1040))}});exports.default=_;
