"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",n="NiceInteractiveTimeline",t="Interactive Timeline",i="1.0.0",o="stable",a="planning",s="timeline",r="Interactive zoomable timeline (hour→year) with groups, markers, and minimap.",l="1.0.0",m=["web","desktop"],c=["timeline","interactive","zoom","events","minimap"],d=[{name:"events",type:"TimelineEvent[]",required:!0,description:"Events (id, title, start, end, type, group)."},{name:"groups",type:"TimelineGroup[]",required:!1,description:"Swimlane groups."},{name:"markers",type:"TimelineMarker[]",required:!1,description:"Milestone lines."},{name:"initialZoom",type:"'hour' | 'day' | 'week' | 'month' | 'quarter' | 'year'",required:!1,default:"'day'",description:"Initial zoom level."},{name:"width",type:"number | string",required:!1,description:"Timeline width."},{name:"height",type:"number | string",required:!1,description:"Timeline height."},{name:"showToday",type:"boolean",required:!1,default:"true",description:"Show today marker."},{name:"showZoomControls",type:"boolean",required:!1,default:"true",description:"Show zoom buttons."},{name:"showNavControls",type:"boolean",required:!1,description:"Show navigation arrows."},{name:"showMinimap",type:"boolean",required:!1,description:"Show minimap overview."},{name:"renderEvent",type:"(event) => ReactNode",required:!1,description:"Custom event renderer."},{name:"locale",type:"string",required:!1,description:"Date locale."}],p=[{name:"onEventClick",parameters:[{name:"event",type:"TimelineEvent"}],description:"Called when event clicked."},{name:"onEventHover",parameters:[{name:"event",type:"TimelineEvent | null"}],description:"Called on event hover."},{name:"onDateChange",parameters:[{name:"date",type:"Date"}],description:"Called when visible date changes."},{name:"onZoomChange",parameters:[{name:"zoom",type:"string"}],description:"Called when zoom level changes."}],v=[{name:"goToDate",signature:"(date: Date) => void",description:"Navigate to specific date."},{name:"zoomIn",signature:"() => void",description:"Zoom in one level."},{name:"zoomOut",signature:"() => void",description:"Zoom out one level."},{name:"setZoom",signature:"(zoom: ZoomLevel) => void",description:"Set specific zoom level."}],u=[],h=[{title:"Project Timeline",code:`const timelineRef = useRef<NiceTimelineRef>(null);

<NiceInteractiveTimeline
  ref={timelineRef}
  events={projectEvents}
  groups={teams}
  initialZoom="week"
  showMinimap
  showZoomControls
  onEventClick={handleEventClick}
/>`,language:"tsx"}],y=[{name:"NiceTimeline",relationship:"simple"},{name:"NiceGantt",relationship:"tasks"}],g={$schema:e,name:n,displayName:t,version:i,status:o,category:a,subcategory:s,package:"@nicetoDev/ui",description:r,since:l,platforms:m,keywords:c,props:d,events:p,methods:v,cssVariables:u,examples:h,related:y};exports.$schema=e;exports.category=a;exports.cssVariables=u;exports.default=g;exports.description=r;exports.displayName=t;exports.events=p;exports.examples=h;exports.keywords=c;exports.methods=v;exports.name=n;exports.platforms=m;exports.props=d;exports.related=y;exports.since=l;exports.status=o;exports.subcategory=s;exports.version=i;
