"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",a="NiceHeatMap",t="Heat Map",s="1.0.0",n="stable",i="charts",l="visualization",r="A 2D color-intensity grid visualization. Each cell color represents value magnitude. Supports clickable cells for drill-down.",o="1.0.0",c=["web","desktop"],d=["heatmap","matrix","grid","intensity","correlation"],p=[{name:"data",type:"number[][]",required:!0,description:"2D data matrix (rows × cols)."},{name:"xLabels",type:"string[]",required:!1,description:"Column header labels."},{name:"yLabels",type:"string[]",required:!1,description:"Row header labels."},{name:"colors",type:"[string, string]",required:!1,default:"['#e0f2fe', '#1d4ed8']",description:"Color scale as [min color, max color]."},{name:"onCellClick",type:"(row: number, col: number, value: number) => void",required:!1,description:"Called when a cell is clicked."},{name:"cellSize",type:"number",required:!1,default:"40",description:"Cell size in pixels."},{name:"showValues",type:"boolean",required:!1,default:"true",description:"Show numeric values inside cells."}],m=[{name:"onCellClick",parameters:[{name:"row",type:"number"},{name:"col",type:"number"},{name:"value",type:"number"}],description:"Fired when a cell is clicked."}],u=[],y=[{title:"Correlation Matrix",code:`<NiceHeatMap
  data={[
    [1.0, 0.8, 0.3],
    [0.8, 1.0, 0.5],
    [0.3, 0.5, 1.0]
  ]}
  xLabels={['A', 'B', 'C']}
  yLabels={['A', 'B', 'C']}
/>`,language:"tsx"},{title:"Activity Heatmap",code:`<NiceHeatMap
  data={weeklyActivity}
  xLabels={['Mon', 'Tue', 'Wed', 'Thu', 'Fri']}
  yLabels={['9am', '12pm', '3pm', '6pm']}
  colors={['#f0fdf4', '#16a34a']}
  onCellClick={(r, c, v) => showDetails(r, c)}
/>`,language:"tsx"}],b=[{name:"NiceTreeMap",relationship:"similar"},{name:"NiceDataGrid",relationship:"alternative"}],f={$schema:e,name:a,displayName:t,version:s,status:n,category:i,subcategory:l,package:"@nicetoDev/ui",description:r,since:o,platforms:c,keywords:d,props:p,events:m,cssVariables:u,examples:y,related:b};exports.$schema=e;exports.category=i;exports.cssVariables=u;exports.default=f;exports.description=r;exports.displayName=t;exports.events=m;exports.examples=y;exports.keywords=d;exports.name=a;exports.platforms=c;exports.props=p;exports.related=b;exports.since=o;exports.status=n;exports.subcategory=l;exports.version=s;
