lac-mat-tel-input
Advanced tools
Comparing version 2.1.0-beta.1 to 3.0.0-alpha.5
@@ -0,4 +1,7 @@ | ||
import * as i0 from "@angular/core"; | ||
export declare class CountryCode { | ||
allCountries: (string | number | string[])[][]; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<CountryCode, never>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<CountryCode>; | ||
} | ||
export declare const Examples: any; |
@@ -6,2 +6,3 @@ import { OnInit, EventEmitter, OnDestroy } from '@angular/core'; | ||
import { MatInput } from '@angular/material/input'; | ||
import * as i0 from "@angular/core"; | ||
export declare class LacMatCountrySelectorComponent implements OnInit, OnDestroy { | ||
@@ -31,2 +32,4 @@ private countryCodeData; | ||
onMenuClosed(): void; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<LacMatCountrySelectorComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<LacMatCountrySelectorComponent, "lac-mat-country-selector", never, { "selectorFor": { "alias": "selectorFor"; "required": false; }; "preferredCountries": { "alias": "preferredCountries"; "required": false; }; "onlyCountries": { "alias": "onlyCountries"; "required": false; }; "showDialCode": { "alias": "showDialCode"; "required": false; }; "disableSearch": { "alias": "disableSearch"; "required": false; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; }; }, { "change": "change"; }, never, never, false, never>; | ||
} |
@@ -9,2 +9,3 @@ import { ElementRef, EventEmitter, ChangeDetectorRef } from '@angular/core'; | ||
import { CountryCode } from 'libphonenumber-js'; | ||
import * as i0 from "@angular/core"; | ||
export declare class LacMatTelInputComponent implements OnInit, OnDestroy, MatFormFieldControl<string> { | ||
@@ -59,2 +60,4 @@ ngControl: NgControl; | ||
onInputKeyPress(event: KeyboardEvent): void; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<LacMatTelInputComponent, [{ optional: true; self: true; }, null, null, null]>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<LacMatTelInputComponent, "lac-mat-tel-input", never, { "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "internationalFormat": { "alias": "internationalFormat"; "required": false; }; }, { "blur": "blur"; }, never, never, false, never>; | ||
} |
@@ -0,2 +1,15 @@ | ||
import * as i0 from "@angular/core"; | ||
import * as i1 from "./lac-mat-tel-input.component"; | ||
import * as i2 from "./lac-mat-country-selector/lac-mat-country-selector.component"; | ||
import * as i3 from "./search.pipe"; | ||
import * as i4 from "@angular/common"; | ||
import * as i5 from "@angular/forms"; | ||
import * as i6 from "@angular/material/input"; | ||
import * as i7 from "@angular/material/menu"; | ||
import * as i8 from "@angular/material/divider"; | ||
import * as i9 from "@angular/material/button"; | ||
export declare class LacMatTelInputModule { | ||
static ɵfac: i0.ɵɵFactoryDeclaration<LacMatTelInputModule, never>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<LacMatTelInputModule, [typeof i1.LacMatTelInputComponent, typeof i2.LacMatCountrySelectorComponent, typeof i3.SearchPipe], [typeof i4.CommonModule, typeof i5.FormsModule, typeof i6.MatInputModule, typeof i7.MatMenuModule, typeof i8.MatDividerModule, typeof i9.MatButtonModule, typeof i5.ReactiveFormsModule], [typeof i1.LacMatTelInputComponent, typeof i2.LacMatCountrySelectorComponent]>; | ||
static ɵinj: i0.ɵɵInjectorDeclaration<LacMatTelInputModule>; | ||
} |
@@ -1,4 +0,4 @@ | ||
import { FormControl } from '@angular/forms'; | ||
export declare const phoneNumberValidator: (control: FormControl) => { | ||
import { UntypedFormControl } from '@angular/forms'; | ||
export declare const phoneNumberValidator: (control: UntypedFormControl) => { | ||
invalidPhone: boolean; | ||
}; |
@@ -0,0 +0,0 @@ export interface Country { |
import { PipeTransform } from '@angular/core'; | ||
import * as i0 from "@angular/core"; | ||
export declare class SearchPipe implements PipeTransform { | ||
transform(country: any, query?: any): any; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<SearchPipe, never>; | ||
static ɵpipe: i0.ɵɵPipeDeclaration<SearchPipe, "search", false>; | ||
} |
{ | ||
"name": "lac-mat-tel-input", | ||
"version": "2.1.0-beta.1", | ||
"version": "3.0.0-alpha.5", | ||
"author": { | ||
@@ -33,21 +33,25 @@ "name": "Andre Lourenco", | ||
"license": "MIT", | ||
"dependencies": { | ||
"tslib": "^2.0.0" | ||
}, | ||
"peerDependencies": { | ||
"@angular/common": "~9.1.11", | ||
"@angular/core": "~9.1.11", | ||
"@angular/forms": "~9.1.11", | ||
"libphonenumber-js": "^1.7.30" | ||
"@angular/common": "^16.1.7", | ||
"@angular/core": "^16.1.7", | ||
"@angular/forms": "^16.1.7", | ||
"libphonenumber-js": "^1.10.38" | ||
}, | ||
"main": "bundles/lac-mat-tel-input.umd.js", | ||
"module": "fesm5/lac-mat-tel-input.js", | ||
"es2015": "fesm2015/lac-mat-tel-input.js", | ||
"esm5": "esm5/lac-mat-tel-input.js", | ||
"esm2015": "esm2015/lac-mat-tel-input.js", | ||
"fesm5": "fesm5/lac-mat-tel-input.js", | ||
"fesm2015": "fesm2015/lac-mat-tel-input.js", | ||
"typings": "lac-mat-tel-input.d.ts", | ||
"metadata": "lac-mat-tel-input.metadata.json", | ||
"sideEffects": false, | ||
"dependencies": { | ||
"tslib": "^1.10.0" | ||
} | ||
} | ||
"module": "fesm2022/lac-mat-tel-input.mjs", | ||
"typings": "index.d.ts", | ||
"exports": { | ||
"./package.json": { | ||
"default": "./package.json" | ||
}, | ||
".": { | ||
"types": "./index.d.ts", | ||
"esm2022": "./esm2022/lac-mat-tel-input.mjs", | ||
"esm": "./esm2022/lac-mat-tel-input.mjs", | ||
"default": "./fesm2022/lac-mat-tel-input.mjs" | ||
} | ||
}, | ||
"sideEffects": false | ||
} |
@@ -0,0 +0,0 @@ export * from './lib/data/country-code'; |
@@ -0,0 +0,0 @@ # Lacuna International Telephone Input for Angular Material (LacMatTelInput) |
Unpublished package
Supply chain riskPackage version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Unpopular package
QualityThis package is not very popular.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
3
0
9
303262
22
2245
1
+ Added@angular/common@16.2.12(transitive)
+ Added@angular/core@16.2.12(transitive)
+ Added@angular/forms@16.2.12(transitive)
+ Added@angular/platform-browser@16.2.12(transitive)
+ Addedrxjs@7.8.1(transitive)
+ Addedtslib@2.6.2(transitive)
+ Addedzone.js@0.13.3(transitive)
- Removed@angular/common@9.1.13(transitive)
- Removed@angular/core@9.1.13(transitive)
- Removed@angular/forms@9.1.13(transitive)
- Removed@angular/platform-browser@9.1.13(transitive)
- Removedrxjs@6.6.7(transitive)
- Removedtslib@1.14.1(transitive)
- Removedzone.js@0.10.3(transitive)
Updatedtslib@^2.0.0