"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",a="NiceCircularGauge",r="Circular Gauge",t="1.0.0",n="stable",s="charts",i="gauge",o="An arc-based circular gauge with configurable ranges, customizable angles, and optional colored segments for KPI visualization.",c="1.0.0",l=["web","desktop"],u=["gauge","circular","arc","kpi","meter","speedometer"],d=[{name:"value",type:"number",required:!0,description:"Current gauge value."},{name:"min",type:"number",required:!1,default:"0",description:"Minimum scale value."},{name:"max",type:"number",required:!1,default:"100",description:"Maximum scale value."},{name:"width",type:"number",required:!1,default:"200",description:"SVG width in pixels."},{name:"height",type:"number",required:!1,default:"200",description:"SVG height in pixels."},{name:"startAngle",type:"number",required:!1,default:"225",description:"Arc start angle in degrees."},{name:"endAngle",type:"number",required:!1,default:"-45",description:"Arc end angle in degrees."},{name:"color",type:"string",required:!1,default:"'#3b82f6'",description:"Active arc color."},{name:"trackColor",type:"string",required:!1,description:"Background track color."},{name:"label",type:"string",required:!1,description:"Center label text."},{name:"formatValue",type:"(v: number) => string",required:!1,description:"Custom value formatter."},{name:"ranges",type:"{ start: number; end: number; color: string }[]",required:!1,description:"Colored range segments."}],m=[],g=[],p=[{title:"Basic Gauge",code:'<NiceCircularGauge value={75} label="CPU" />',language:"tsx"},{title:"With Color Ranges",code:`<NiceCircularGauge
  value={85}
  ranges={[
    { start: 0, end: 50, color: '#22c55e' },
    { start: 50, end: 80, color: '#f59e0b' },
    { start: 80, end: 100, color: '#ef4444' }
  ]}
  formatValue={(v) => \`\${v}%\`}
/>`,language:"tsx"}],f=[{name:"NiceLinearGauge",relationship:"alternative"},{name:"NiceBarGauge",relationship:"similar"}],b={$schema:e,name:a,displayName:r,version:t,status:n,category:s,subcategory:i,package:"@nicetoDev/ui",description:o,since:c,platforms:l,keywords:u,props:d,events:m,cssVariables:g,examples:p,related:f};exports.$schema=e;exports.category=s;exports.cssVariables=g;exports.default=b;exports.description=o;exports.displayName=r;exports.events=m;exports.examples=p;exports.keywords=u;exports.name=a;exports.platforms=l;exports.props=d;exports.related=f;exports.since=c;exports.status=n;exports.subcategory=i;exports.version=t;
