"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",t="NiceBarcodeGenerator",o="Barcode Generator",a="1.0.0",r="stable",n="display",s="barcode",i="Barcode generator supporting multiple formats (Code128, EAN, UPC, etc.).",d="1.0.0",c=["web","desktop"],l=["barcode","code128","ean","upc","generator"],u=[{name:"value",type:"string",required:!0,description:"Value to encode."},{name:"format",type:"'code128' | 'code39' | 'code93' | 'ean13' | 'ean8' | 'upc' | 'itf14' | 'msi' | 'pharmacode' | 'codabar'",required:!1,default:"'code128'",description:"Barcode format."},{name:"width",type:"number",required:!1,default:"2",description:"Bar width in pixels."},{name:"height",type:"number",required:!1,default:"100",description:"Barcode height."},{name:"displayValue",type:"boolean",required:!1,default:"true",description:"Show value text below."},{name:"font",type:"string",required:!1,description:"Font family for text."},{name:"fontSize",type:"number",required:!1,default:"20",description:"Font size."},{name:"textAlign",type:"'left' | 'center' | 'right'",required:!1,default:"'center'",description:"Text alignment."},{name:"textPosition",type:"'top' | 'bottom'",required:!1,default:"'bottom'",description:"Text position."},{name:"background",type:"string",required:!1,default:"'#ffffff'",description:"Background color."},{name:"lineColor",type:"string",required:!1,default:"'#000000'",description:"Bar color."},{name:"margin",type:"number",required:!1,default:"10",description:"Margin around barcode."}],p=[],m=[{name:"toDataURL",signature:"() => string",description:"Get barcode as data URL."},{name:"toSVG",signature:"() => string",description:"Get barcode as SVG string."},{name:"download",signature:"(filename?: string) => void",description:"Download barcode image."}],f=[],g=[{title:"EAN-13 Barcode",code:`<NiceBarcodeGenerator
  value="5901234123457"
  format="ean13"
  height={80}
/>`,language:"tsx"},{title:"Code128 with Custom Colors",code:`<NiceBarcodeGenerator
  value="ABC-123"
  format="code128"
  lineColor="#1e40af"
  background="#f0f9ff"
/>`,language:"tsx"}],b=[{name:"NiceQRCode",relationship:"2d"}],y={$schema:e,name:t,displayName:o,version:a,status:r,category:n,subcategory:s,package:"@nicetoDev/ui",description:i,since:d,platforms:c,keywords:l,props:u,events:p,methods:m,cssVariables:f,examples:g,related:b};exports.$schema=e;exports.category=n;exports.cssVariables=f;exports.default=y;exports.description=i;exports.displayName=o;exports.events=p;exports.examples=g;exports.keywords=l;exports.methods=m;exports.name=t;exports.platforms=c;exports.props=u;exports.related=b;exports.since=d;exports.status=r;exports.subcategory=s;exports.version=a;
