ngx-dial-input 2.0.2 → 2.0.4
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 +9 -12
- package/data/countries.d.ts +2 -0
- package/data/countries.model.d.ts +9 -0
- package/esm2020/data/countries.mjs +1335 -0
- package/esm2020/data/countries.model.mjs +2 -0
- package/esm2020/lib/phone-input.component.mjs +304 -0
- package/esm2020/lib/phone-input.module.mjs +24 -0
- package/esm2020/ngx-country-dial-input.mjs +5 -0
- package/esm2020/ngx-dial-input.mjs +5 -0
- package/esm2020/public-api.mjs +6 -0
- package/fesm2015/ngx-country-dial-input.mjs +1673 -0
- package/fesm2015/ngx-country-dial-input.mjs.map +1 -0
- package/fesm2015/ngx-dial-input.mjs +1674 -0
- package/fesm2015/ngx-dial-input.mjs.map +1 -0
- package/fesm2020/ngx-country-dial-input.mjs +1669 -0
- package/fesm2020/ngx-country-dial-input.mjs.map +1 -0
- package/fesm2020/ngx-dial-input.mjs +1670 -0
- package/fesm2020/ngx-dial-input.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/phone-input.component.d.ts +37 -0
- package/lib/phone-input.module.d.ts +9 -0
- package/ngx-dial-input-2.0.2.tgz +0 -0
- package/package.json +32 -49
- package/{projects/phone-input/src/public-api.ts → public-api.d.ts} +0 -3
- package/.editorconfig +0 -16
- package/.vscode/extensions.json +0 -4
- package/.vscode/launch.json +0 -20
- package/.vscode/tasks.json +0 -42
- package/angular.json +0 -41
- package/projects/phone-input/README.md +0 -24
- package/projects/phone-input/ng-package.json +0 -7
- package/projects/phone-input/package.json +0 -9
- package/projects/phone-input/src/data/countries.model.ts +0 -9
- package/projects/phone-input/src/data/countries.ts +0 -1219
- package/projects/phone-input/src/lib/phone-input.component.css +0 -0
- package/projects/phone-input/src/lib/phone-input.component.html +0 -0
- package/projects/phone-input/src/lib/phone-input.component.ts +0 -348
- package/projects/phone-input/src/lib/phone-input.module.ts +0 -15
- package/projects/phone-input/src/lib/phone-input.service.spec.ts +0 -16
- package/projects/phone-input/tsconfig.lib.json +0 -15
- package/projects/phone-input/tsconfig.lib.prod.json +0 -10
- package/projects/phone-input/tsconfig.spec.json +0 -14
- package/tsconfig.json +0 -33
package/README.md
CHANGED
|
@@ -1,26 +1,23 @@
|
|
|
1
|
-
#
|
|
1
|
+
# PhoneInput
|
|
2
2
|
|
|
3
|
-
This
|
|
4
|
-
|
|
5
|
-
## Development server
|
|
6
|
-
|
|
7
|
-
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.
|
|
3
|
+
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.3.0.
|
|
8
4
|
|
|
9
5
|
## Code scaffolding
|
|
10
6
|
|
|
11
|
-
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
|
|
7
|
+
Run `ng generate component component-name --project phone-input` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project phone-input`.
|
|
8
|
+
> Note: Don't forget to add `--project phone-input` or else it will be added to the default project in your `angular.json` file.
|
|
12
9
|
|
|
13
10
|
## Build
|
|
14
11
|
|
|
15
|
-
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
12
|
+
Run `ng build phone-input` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
16
13
|
|
|
17
|
-
##
|
|
14
|
+
## Publishing
|
|
18
15
|
|
|
19
|
-
|
|
16
|
+
After building your library with `ng build phone-input`, go to the dist folder `cd dist/phone-input` and run `npm publish`.
|
|
20
17
|
|
|
21
|
-
## Running
|
|
18
|
+
## Running unit tests
|
|
22
19
|
|
|
23
|
-
Run `ng
|
|
20
|
+
Run `ng test phone-input` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
24
21
|
|
|
25
22
|
## Further help
|
|
26
23
|
|