"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",t="NiceChartAI",s="AI Chart",a="1.0.0",n="stable",i="charts",o="ai",r="AI-enhanced chart with automatic type selection, data insights generation, and intelligent recommendations. Requires NiceAIProvider.",c="1.0.0",l=["web","desktop"],d=["ai","chart","automatic","insights","suggestions"],g=[{name:"rawData",type:"Record<string, unknown>[]",required:!1,description:"Raw data for AI analysis (converted to series automatically)."},{name:"enableAI",type:"boolean",required:!1,default:"false",description:"Enable AI features (requires NiceAIProvider)."},{name:"aiModel",type:"string",required:!1,description:"AI model to use."},{name:"enableAutoType",type:"boolean",required:!1,default:"false",description:"Enable automatic chart type suggestion."},{name:"enableInsights",type:"boolean",required:!1,default:"false",description:"Enable AI-powered insights."},{name:"dataDescription",type:"string",required:!1,description:"Description of the data for better AI suggestions."},{name:"onChartSuggestion",type:"(suggestion: ChartSuggestion) => void",required:!1,description:"Callback when AI suggests a chart type."},{name:"onInsights",type:"(insights: string[]) => void",required:!1,description:"Callback when AI generates insights."},{name:"showAIToolbar",type:"boolean",required:!1,default:"false",description:"Show AI toolbar."},{name:"showInsightsOnLoad",type:"boolean",required:!1,default:"false",description:"Initially show insights."}],p=[{name:"onChartSuggestion",parameters:[{name:"suggestion",type:"ChartSuggestion"}],description:"Fired when AI suggests chart type."},{name:"onInsights",parameters:[{name:"insights",type:"string[]"}],description:"Fired when AI generates insights."}],h=[],u=[{title:"Auto Chart Type",code:`<NiceChartAI
  rawData={salesData}
  enableAI
  enableAutoType
  dataDescription="Monthly sales by region"
  onChartSuggestion={(s) => console.log(s.reason)}
/>`,language:"tsx"},{title:"With Insights",code:`<NiceChartAI
  rawData={analyticsData}
  enableAI
  enableInsights
  showAIToolbar
  showInsightsOnLoad
/>`,language:"tsx"}],m=[{name:"NiceChart",relationship:"parent"},{name:"NiceAIProvider",relationship:"dependency"}],y={$schema:e,name:t,displayName:s,version:a,status:n,category:i,subcategory:o,package:"@nicetoDev/ui",description:r,since:c,platforms:l,keywords:d,props:g,events:p,cssVariables:h,examples:u,related:m};exports.$schema=e;exports.category=i;exports.cssVariables=h;exports.default=y;exports.description=r;exports.displayName=s;exports.events=p;exports.examples=u;exports.keywords=d;exports.name=t;exports.platforms=l;exports.props=g;exports.related=m;exports.since=c;exports.status=n;exports.subcategory=o;exports.version=a;
