"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",t="NiceSankey",n="Sankey Diagram",i="1.0.0",a="stable",s="charts",o="flow",r="An SVG Sankey flow diagram for visualizing flow/transfer quantities between nodes. Ideal for energy flows, budget allocations, or conversion paths.",l="1.0.0",c=["web","desktop"],d=["sankey","flow","diagram","energy","transfer","alluvial"],p=[{name:"nodes",type:"NiceSankeyNode[]",required:!0,description:"Node definitions with id, label, and optional color."},{name:"links",type:"NiceSankeyLink[]",required:!0,description:"Link definitions with source, target, and value."},{name:"width",type:"number",required:!1,default:"600",description:"SVG width in pixels."},{name:"height",type:"number",required:!1,default:"400",description:"SVG height in pixels."},{name:"nodeWidth",type:"number",required:!1,default:"20",description:"Node rectangle width in pixels."},{name:"nodePadding",type:"number",required:!1,default:"10",description:"Vertical padding between nodes."},{name:"title",type:"string",required:!1,description:"Chart title."}],u=[],m=[],y=[{title:"Energy Flow",code:`<NiceSankey
  nodes={[
    { id: 'coal', label: 'Coal' },
    { id: 'solar', label: 'Solar' },
    { id: 'electricity', label: 'Electricity' },
    { id: 'homes', label: 'Homes' }
  ]}
  links={[
    { source: 'coal', target: 'electricity', value: 100 },
    { source: 'solar', target: 'electricity', value: 50 },
    { source: 'electricity', target: 'homes', value: 150 }
  ]}
  title="Energy Flow"
/>`,language:"tsx"}],g=[{name:"NiceFunnel",relationship:"similar"},{name:"NiceDiagram",relationship:"parent"}],f={$schema:e,name:t,displayName:n,version:i,status:a,category:s,subcategory:o,package:"@nicetoDev/ui",description:r,since:l,platforms:c,keywords:d,props:p,events:u,cssVariables:m,examples:y,related:g};exports.$schema=e;exports.category=s;exports.cssVariables=m;exports.default=f;exports.description=r;exports.displayName=n;exports.events=u;exports.examples=y;exports.keywords=d;exports.name=t;exports.platforms=c;exports.props=p;exports.related=g;exports.since=l;exports.status=a;exports.subcategory=o;exports.version=i;
