ngx-mat-input-tel 17.3.0 → 18.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -2
- package/esm2022/lib/data/country-code.mjs +3 -3
- package/esm2022/lib/ngx-mat-input-tel.component.mjs +10 -10
- package/esm2022/lib/search.pipe.mjs +3 -3
- package/fesm2022/ngx-mat-input-tel.mjs +15 -15
- package/fesm2022/ngx-mat-input-tel.mjs.map +1 -1
- package/lib/ngx-mat-input-tel.component.d.ts +3 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -95,7 +95,7 @@ If you want to show the sample number for the country selected or errors , use m
|
|
|
95
95
|
</form>
|
|
96
96
|
```
|
|
97
97
|
|
|
98
|
-
##
|
|
98
|
+
## Inputs
|
|
99
99
|
|
|
100
100
|
| Options | Type | Default | Description |
|
|
101
101
|
| ------------------ | ---------- | ------------ | ----------------------------------------------------------------------------------- |
|
|
@@ -108,10 +108,15 @@ If you want to show the sample number for the country selected or errors , use m
|
|
|
108
108
|
| resetOnChange | `boolean` | `false` | Reset input on country change |
|
|
109
109
|
| searchPlaceholder | `string` | `Search ...` | Placeholder for the search input |
|
|
110
110
|
|
|
111
|
+
|
|
112
|
+
## Outputs
|
|
113
|
+
| Options | Type | Default | Description |
|
|
114
|
+
| -------------- | ----------------------- | ----------- | ----------------- |
|
|
115
|
+
| countryChanged | `EventEmitter<Country>` | `undefined` | On country change |
|
|
116
|
+
|
|
111
117
|
## Css variable
|
|
112
118
|
| Name | Default | Explanation |
|
|
113
119
|
| ------------------------------- | -------------- | --------------------------------------------------- |
|
|
114
|
-
| `--ngxMatInputTel-color` | `#000` | If you wish to change the overall color |
|
|
115
120
|
| `--ngxMatInputTel-opacity` | `0` | If you wish the country flag to be shown by default |
|
|
116
121
|
| `--ngxMatInputTel-flag-display` | `inline-block` | If you wish to hide the country flag |
|
|
117
122
|
|
|
@@ -297,10 +297,10 @@ export class CountryCode {
|
|
|
297
297
|
['Zimbabwe', 'zw', '263'],
|
|
298
298
|
['Åland Islands', 'ax', '358', 1],
|
|
299
299
|
];
|
|
300
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
301
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
300
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: CountryCode, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
301
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: CountryCode });
|
|
302
302
|
}
|
|
303
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
303
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: CountryCode, decorators: [{
|
|
304
304
|
type: Injectable
|
|
305
305
|
}] });
|
|
306
306
|
export const Examples = {
|