"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",i="NiceVectorMap",t="Vector Map",o="1.0.0",n="stable",a="charts",s="geographic",r="An SVG choropleth map with customizable regions, color gradients based on data values, and interactive selection support.",c="1.0.0",l=["web","desktop"],p=["map","choropleth","geographic","regions","svg"],d=[{name:"regions",type:"NiceMapRegion[]",required:!0,description:"Region definitions with id, name, path, and optional 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:"viewBox",type:"string",required:!1,default:"'0 0 1000 600'",description:"SVG viewBox (overrides width/height)."},{name:"colorRange",type:"[string, string]",required:!1,default:"['#dbeafe', '#1d4ed8']",description:"Color scale as [min color, max color]."},{name:"maxValue",type:"number",required:!1,description:"Maximum data value for color interpolation."},{name:"onRegionClick",type:"(region: NiceMapRegion) => void",required:!1,description:"Called when a region is clicked."},{name:"selectedRegionId",type:"string",required:!1,description:"Currently selected region id."},{name:"title",type:"string",required:!1,description:"Map title."},{name:"showTooltip",type:"boolean",required:!1,default:"true",description:"Show tooltip on hover."}],g=[{name:"onRegionClick",parameters:[{name:"region",type:"NiceMapRegion"}],description:"Fired when a region is clicked."}],u=[],m=[{title:"Population Map",code:`<NiceVectorMap
  regions={countryRegions}
  colorRange={['#fef3c7', '#d97706']}
  onRegionClick={(r) => showCountryDetails(r)}
  title="Population by Country"
/>`,language:"tsx"}],h=[{name:"NiceHeatMap",relationship:"similar"},{name:"NiceMap",relationship:"alternative"}],y={$schema:e,name:i,displayName:t,version:o,status:n,category:a,subcategory:s,package:"@nicetoDev/ui",description:r,since:c,platforms:l,keywords:p,props:d,events:g,cssVariables:u,examples:m,related:h};exports.$schema=e;exports.category=a;exports.cssVariables=u;exports.default=y;exports.description=r;exports.displayName=t;exports.events=g;exports.examples=m;exports.keywords=p;exports.name=i;exports.platforms=l;exports.props=d;exports.related=h;exports.since=c;exports.status=n;exports.subcategory=s;exports.version=o;
