var v=Object.defineProperty,C=Object.defineProperties;var F=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var B=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable;var i=(t,e,o)=>e in t?v(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o,s=(t,e)=>{for(var o in e||(e={}))B.call(e,o)&&i(t,o,e[o]);if(m)for(var o of m(e))w.call(e,o)&&i(t,o,e[o]);return t},d=(t,e)=>C(t,F(e));import{d as A,r as T,I as b,U as p,a2 as g,ad as P,af as u,k as l,a4 as a}from"./vue-vendor-CxLCUzY4.js";import{P as _}from"./index-DaObvZxT.js";import{T as $}from"./index-DPEnuI0R.js";import{C as k}from"./index-Dz2zbQB_.js";import{_ as W}from"./index-B_2CoVdl.js";import"./antd-vue-vendor-CDWW6V_M.js";import"./useContentHeight-BWLGvKEC.js";import"./useWindowSizeFn-C3WExEpc.js";import"./vxe-table-vendor-B5h3MVdD.js";import"./useContentViewHeight-DlpfApuB.js";import"./usePageContext-HMYqek-Q.js";import"./injectionKey-DPVn4AgL.js";import"./index-exs4VcBw.js";import"./index-DAURrYyA.js";import"./index-ByLO0zSl.js";import"./useTimeout-CB9F1PLu.js";import"./useIntersectionObserver-FVRzwlSd.js";const c=A({components:{PageWrapper:_,Time:$,CollapseContainer:k},setup(){const t=new Date().getTime(),e=T({time1:t-60*3*1e3,time2:t-86400*3*1e3});return d(s({},b(e)),{now:t})}});function E(t,e,o,N,V,y){const n=p("Time"),r=p("CollapseContainer"),f=p("PageWrapper");return g(),P(f,{title:"时间组件示例"},{default:u(()=>[l(r,{title:"基础示例"},{default:u(()=>[l(n,{value:t.time1},null,8,["value"]),e[0]||(e[0]=a("br",null,null,-1)),l(n,{value:t.time2},null,8,["value"])]),_:1}),l(r,{title:"定时更新",class:"my-4"},{default:u(()=>[l(n,{value:t.now,step:1},null,8,["value"]),e[1]||(e[1]=a("br",null,null,-1)),l(n,{value:t.now,step:5},null,8,["value"])]),_:1}),l(r,{title:"定时更新"},{default:u(()=>[l(n,{value:t.now,mode:"date"},null,8,["value"]),e[2]||(e[2]=a("br",null,null,-1)),l(n,{value:t.now,mode:"datetime"},null,8,["value"]),e[3]||(e[3]=a("br",null,null,-1)),l(n,{value:t.now},null,8,["value"])]),_:1})]),_:1})}const Z=W(c,[["render",E]]);export{Z as default};
