@maskito/phone
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ import { MASKITO_DEFAULT_OPTIONS } from '@maskito/core'; |
{ | ||
"name": "@maskito/phone", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "The optional framework-agnostic Maskito's package with phone masks", | ||
@@ -32,11 +32,12 @@ "keywords": [ | ||
"devDependencies": { | ||
"libphonenumber-js": "1.11.4" | ||
"libphonenumber-js": "1.11.7" | ||
}, | ||
"peerDependencies": { | ||
"@maskito/core": "^3.0.0", | ||
"@maskito/kit": "^3.0.0", | ||
"@maskito/core": "^3.0.1", | ||
"@maskito/kit": "^3.0.1", | ||
"libphonenumber-js": ">=1.0.0" | ||
}, | ||
"module": "./index.esm.js", | ||
"main": "./index.cjs.js" | ||
"main": "./index.cjs.js", | ||
"types": "./index.esm.d.ts" | ||
} |
export { maskitoGetCountryFromNumber, maskitoPhoneOptionsGenerator } from './lib/masks'; | ||
//# sourceMappingURL=index.d.ts.map |
export { maskitoGetCountryFromNumber, maskitoPhoneOptionsGenerator } from './phone'; | ||
//# sourceMappingURL=index.d.ts.map |
export * from './template-filler'; | ||
//# sourceMappingURL=index.d.ts.map |
export declare const TEMPLATE_FILLER = "x"; | ||
//# sourceMappingURL=template-filler.d.ts.map |
@@ -0,0 +0,0 @@ export { TEMPLATE_FILLER } from './constants'; |
@@ -0,0 +0,0 @@ import type { MaskitoOptions } from '@maskito/core'; |
@@ -0,0 +0,0 @@ import type { MaskitoOptions } from '@maskito/core'; |
@@ -0,0 +0,0 @@ import type { MaskitoOptions } from '@maskito/core'; |
@@ -0,0 +0,0 @@ import type { MaskitoPreprocessor } from '@maskito/core'; |
@@ -0,0 +0,0 @@ export { cutInitCountryCodePreprocessor } from './cut-init-country-code-preprocessor'; |
@@ -0,0 +0,0 @@ import type { MaskitoPostprocessor } from '@maskito/core'; |
@@ -0,0 +0,0 @@ import type { MaskitoPreprocessor } from '@maskito/core'; |
@@ -0,0 +0,0 @@ import type { MetadataJson } from 'libphonenumber-js/core'; |
@@ -0,0 +0,0 @@ import type { MaskitoMaskExpression } from '@maskito/core'; |
import type { CountryCode, MetadataJson } from 'libphonenumber-js/core'; | ||
export declare function maskitoGetCountryFromNumber(number: string, metadata: MetadataJson): CountryCode | undefined; | ||
//# sourceMappingURL=get-country-from-number.d.ts.map |
import type { AsYouType } from 'libphonenumber-js/core'; | ||
export declare function getPhoneTemplate(formatter: AsYouType, value: string, separator: string): string; | ||
//# sourceMappingURL=get-phone-template.d.ts.map |
@@ -0,0 +0,0 @@ export * from './cut-phone-by-valid-length'; |
@@ -0,0 +0,0 @@ export declare function selectTemplate({ currentTemplate, newTemplate, currentPhoneLength, newPhoneLength, }: { |
29089