"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",t="NiceRangeSelector",n="Range Selector",r="1.0.0",a="stable",s="charts",i="control",o="A dual-handle range slider with optional sparkline background for selecting data ranges interactively.",c="1.0.0",d=["web","desktop"],l=["range","selector","slider","sparkline","filter"],m=[{name:"data",type:"number[]",required:!1,description:"Sparkline data rendered behind the handles."},{name:"min",type:"number",required:!0,description:"Minimum selectable value."},{name:"max",type:"number",required:!0,description:"Maximum selectable value."},{name:"start",type:"number",required:!0,description:"Current start of the selected range."},{name:"end",type:"number",required:!0,description:"Current end of the selected range."},{name:"onChange",type:"(start: number, end: number) => void",required:!0,description:"Called when the range changes."},{name:"width",type:"number",required:!1,description:"SVG width in pixels."},{name:"height",type:"number",required:!1,description:"SVG height in pixels."},{name:"step",type:"number",required:!1,description:"Step increment."},{name:"formatValue",type:"(v: number) => string",required:!1,description:"Custom value formatter."},{name:"chartColor",type:"string",required:!1,description:"Sparkline fill color."}],p=[{name:"onChange",parameters:[{name:"start",type:"number"},{name:"end",type:"number"}],description:"Fired when range changes."}],u=[],g=[{title:"Date Range Filter",code:`<NiceRangeSelector
  min={0}
  max={365}
  start={rangeStart}
  end={rangeEnd}
  onChange={(s, e) => setRange([s, e])}
  data={dailyData}
  formatValue={(v) => formatDate(v)}
/>`,language:"tsx"}],h=[{name:"NiceRangeSlider",relationship:"similar"},{name:"NiceStockChart",relationship:"parent"}],b={$schema:e,name:t,displayName:n,version:r,status:a,category:s,subcategory:i,package:"@nicetoDev/ui",description:o,since:c,platforms:d,keywords:l,props:m,events:p,cssVariables:u,examples:g,related:h};exports.$schema=e;exports.category=s;exports.cssVariables=u;exports.default=b;exports.description=o;exports.displayName=n;exports.events=p;exports.examples=g;exports.keywords=l;exports.name=t;exports.platforms=d;exports.props=m;exports.related=h;exports.since=c;exports.status=a;exports.subcategory=i;exports.version=r;
