const e = "https://nice2dev.com/schemas/component-doc-v1.json", t = "NiceChartAI", s = "AI Chart", a = "1.0.0", n = "stable", i = "charts", m = "ai", o = "AI-enhanced chart with automatic type selection, data insights generation, and intelligent recommendations. Requires NiceAIProvider.", r = "1.0.0", c = ["web", "desktop"], l = ["ai", "chart", "automatic", "insights", "suggestions"], d = [{ 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." }], g = [{ 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 = [], p = [{ 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" }], u = [{ name: "NiceChart", relationship: "parent" }, { name: "NiceAIProvider", relationship: "dependency" }], I = {
  $schema: e,
  name: t,
  displayName: s,
  version: a,
  status: n,
  category: i,
  subcategory: "ai",
  package: "@nicetoDev/ui",
  description: o,
  since: r,
  platforms: c,
  keywords: l,
  props: d,
  events: g,
  cssVariables: h,
  examples: p,
  related: u
};
export {
  e as $schema,
  i as category,
  h as cssVariables,
  I as default,
  o as description,
  s as displayName,
  g as events,
  p as examples,
  l as keywords,
  t as name,
  c as platforms,
  d as props,
  u as related,
  r as since,
  n as status,
  m as subcategory,
  a as version
};
