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-D55rh6hR.js";import{T as $}from"./index-CEznvAVZ.js";import{C as k}from"./index-DS3utcig.js";import{_ as W}from"./index-CLZzJyTP.js";import"./antd-vue-vendor-CahNzUUa.js";import"./useContentHeight-DLfJuPsF.js";import"./useWindowSizeFn-D9PllI8g.js";import"./vxe-table-vendor-Cdi8WfTx.js";import"./useContentViewHeight-BIb_dTbE.js";import"./usePageContext-FyDvfV_K.js";import"./injectionKey-DPVn4AgL.js";import"./index-BZbg0EjM.js";import"./index-DvqyyN77.js";import"./index-CrdW4fN1.js";import"./useTimeout-KpZCXEcl.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};
