"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",t="NicePollLive",s="Live poll with real-time updates and animated results.",o="survey",i="1.0.0",n="stable",l=[{name:"poll",type:"PollDefinition",required:!0,description:"Poll definition"},{name:"results",type:"PollResults",description:"Real-time results"},{name:"onVote",type:"(optionId: string) => Promise<void>",required:!0,description:"Vote callback"},{name:"voted",type:"string",description:"User's voted option ID"},{name:"animateResults",type:"boolean",default:"true",description:"Animate result changes"},{name:"showParticipants",type:"boolean",default:"true",description:"Show participant count"},{name:"refreshInterval",type:"number",default:"1000",description:"Refresh interval ms"}],a=[{title:"Live Poll",description:"Real-time voting",code:`<NicePollLive
  poll={livePoll}
  results={liveResults}
  onVote={handleVote}
  animateResults
  showParticipants
  refreshInterval={500}
/>`}],r={keyboard:["Tab through options","Enter to vote"],aria:["Live results updates"]},c=["NicePoll","NiceSurvey"],p={$schema:e,name:t,description:s,category:o,since:i,status:n,props:l,examples:a,accessibility:r,seeAlso:c};exports.$schema=e;exports.accessibility=r;exports.category=o;exports.default=p;exports.description=s;exports.examples=a;exports.name=t;exports.props=l;exports.seeAlso=c;exports.since=i;exports.status=n;
