UNPKG

jb-mobile-input

Version:
31 lines (30 loc) 1.08 kB
import { JBInputWebComponent, ValidationValue } from "jb-input"; import { WithValidation } from "jb-validation"; import { JBDictionary } from "jb-core/i18n"; //#region modules/jb-mobile-input/web-component/lib/i18n.d.ts /** * dictionary of jb mobile input. it's already loaded with persian and english lang but you can also extend it with you apps other language or replace already exist language * @example * ```js * import {dictionary} from 'jb-mobile-input' * dictionary.setLanguage("fr", { * validNumberMessage: "message in french", * // other dictionary keys * }); * ``` */ declare const dictionary: JBDictionary<{ validNumberMessage: string; } | { validNumberMessage: string; }>; //#endregion //#region modules/jb-mobile-input/web-component/lib/jb-mobile-input.d.ts declare class JBMobileInputWebComponent extends JBInputWebComponent implements WithValidation<ValidationValue> { #private; constructor(); initMobileInputWebComponent(): void; } //#endregion export { JBMobileInputWebComponent, dictionary }; //# sourceMappingURL=jb-mobile-input.d.ts.map