"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",n="NicePhoneInput",t="Phone number input with country code selection and validation.",o="input",i="1.0.0",a="stable",s=[{name:"value",type:"string",required:!0,description:"Phone number value"},{name:"onChange",type:"(value: string, country: Country) => void",required:!0,description:"Change callback"},{name:"country",type:"string",description:"Default country code"},{name:"countries",type:"string[]",description:"Allowed countries"},{name:"preferCountries",type:"string[]",description:"Preferred countries at top"},{name:"onValidate",type:"(valid: boolean) => void",description:"Validation callback"},{name:"format",type:"'national' | 'international'",default:"'international'",description:"Format type"},{name:"disabled",type:"boolean",default:"false",description:"Disabled state"}],c=[{title:"Phone Input",description:"Phone with country",code:`<NicePhoneInput
  value={phone}
  onChange={(val, country) => setPhone(val)}
  country="US"
  preferCountries={['US', 'GB', 'DE']}
  onValidate={setIsValid}
  format="international"
/>`}],r={keyboard:["Tab through components"],aria:["Phone input","Country selector"]},l=["NiceInput","NiceSelect"],p={$schema:e,name:n,description:t,category:o,since:i,status:a,props:s,examples:c,accessibility:r,seeAlso:l};exports.$schema=e;exports.accessibility=r;exports.category=o;exports.default=p;exports.description=t;exports.examples=c;exports.name=n;exports.props=s;exports.seeAlso=l;exports.since=i;exports.status=a;
