import{Y as t,d as I,b5 as O,bq as E,r as N,f as _,W as i,V as B,aB as u,aA as U}from"./outputWidgets.7323a17d.js";import{c as H,e as R,f as V,r as W,d as q}from"./index.51db7feb.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},p=new Error().stack;p&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[p]="d4b2412c-b18e-4c5c-b375-cc2b988683cf",r._sentryDebugIdIdentifier="sentry-dbid-d4b2412c-b18e-4c5c-b375-cc2b988683cf")}catch{}})();const T=()=>({format:String,showNow:u(),showHour:u(),showMinute:u(),showSecond:u(),use12Hours:u(),hourStep:Number,minuteStep:Number,secondStep:Number,hideDisabledOptions:u(),popupClassName:String,status:U()});function G(r){const p=H(r,t(t({},T()),{order:{type:Boolean,default:!0}})),{TimePicker:x,RangePicker:S}=p,D=I({name:"ATimePicker",inheritAttrs:!1,props:t(t(t(t({},R()),V()),T()),{addon:{type:Function}}),slots:Object,setup(f,g){let{slots:d,expose:b,emit:o,attrs:C}=g;const a=f,s=O();E(!(d.addon||a.addon),"TimePicker","`addon` is deprecated. Please use `v-slot:renderExtraFooter` instead.");const c=N();b({focus:()=>{var n;(n=c.value)===null||n===void 0||n.focus()},blur:()=>{var n;(n=c.value)===null||n===void 0||n.blur()}});const h=(n,F)=>{o("update:value",n),o("change",n,F),s.onFieldChange()},k=n=>{o("update:open",n),o("openChange",n)},P=n=>{o("focus",n)},v=n=>{o("blur",n),s.onFieldBlur()},y=n=>{o("ok",n)};return()=>{const{id:n=s.id.value}=a;return _(x,i(i(i({},C),B(a,["onUpdate:value","onUpdate:open"])),{},{id:n,dropdownClassName:a.popupClassName,mode:void 0,ref:c,renderExtraFooter:a.addon||d.addon||a.renderExtraFooter||d.renderExtraFooter,onChange:h,onOpenChange:k,onFocus:P,onBlur:v,onOk:y}),d)}}}),j=I({name:"ATimeRangePicker",inheritAttrs:!1,props:t(t(t(t({},R()),W()),T()),{order:{type:Boolean,default:!0}}),slots:Object,setup(f,g){let{slots:d,expose:b,emit:o,attrs:C}=g;const a=f,s=N(),c=O();b({focus:()=>{var e;(e=s.value)===null||e===void 0||e.focus()},blur:()=>{var e;(e=s.value)===null||e===void 0||e.blur()}});const h=(e,l)=>{o("update:value",e),o("change",e,l),c.onFieldChange()},k=e=>{o("update:open",e),o("openChange",e)},P=e=>{o("focus",e)},v=e=>{o("blur",e),c.onFieldBlur()},y=(e,l)=>{o("panelChange",e,l)},n=e=>{o("ok",e)},F=(e,l,A)=>{o("calendarChange",e,l,A)};return()=>{const{id:e=c.id.value}=a;return _(S,i(i(i({},C),B(a,["onUpdate:open","onUpdate:value"])),{},{id:e,dropdownClassName:a.popupClassName,picker:"time",mode:void 0,ref:s,onChange:h,onOpenChange:k,onFocus:P,onBlur:v,onPanelChange:y,onOk:n,onCalendarChange:F}),d)}}});return{TimePicker:D,TimeRangePicker:j}}const{TimePicker:m,TimeRangePicker:w}=G(q),$=t(m,{TimePicker:m,TimeRangePicker:w,install:r=>(r.component(m.name,m),r.component(w.name,w),r)});export{$ as T,w as a};
//# sourceMappingURL=dayjs.8e8d990e.js.map
