ngx-mat-input-tel 21.4.2 → 22.0.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.
Files changed (61) hide show
  1. package/.angulardoc.json +4 -0
  2. package/.editorconfig +13 -0
  3. package/.github/FUNDING.yml +13 -0
  4. package/.github/instructions/copilot-instructions.md +58 -0
  5. package/.github/workflows/ci.yml +27 -0
  6. package/.github/workflows/publish.yml +41 -0
  7. package/.github/workflows/test.yml +39 -0
  8. package/.husky/commit-msg +4 -0
  9. package/.husky/pre-commit +1 -0
  10. package/.prettierrc +15 -0
  11. package/angular.json +170 -0
  12. package/commitlint.config.ts +3 -0
  13. package/eslint.config.js +43 -0
  14. package/example-1.png +0 -0
  15. package/package.json +84 -55
  16. package/pnpm-workspace.yaml +19 -0
  17. package/projects/demo/eslint.config.js +3 -0
  18. package/projects/demo/karma.conf.js +31 -0
  19. package/projects/demo/src/app/app.html +123 -0
  20. package/projects/demo/src/app/app.scss +16 -0
  21. package/projects/demo/src/app/app.spec.ts +35 -0
  22. package/projects/demo/src/app/app.ts +100 -0
  23. package/projects/demo/src/app/dialog/dialog.html +12 -0
  24. package/projects/demo/src/app/dialog/dialog.ts +31 -0
  25. package/projects/demo/src/environments/environment.prod.ts +3 -0
  26. package/projects/demo/src/environments/environment.ts +3 -0
  27. package/projects/demo/src/favicon.ico +0 -0
  28. package/projects/demo/src/index.html +21 -0
  29. package/projects/demo/src/main.ts +16 -0
  30. package/projects/demo/src/styles.scss +32 -0
  31. package/projects/demo/tsconfig.app.json +17 -0
  32. package/projects/demo/tsconfig.spec.json +17 -0
  33. package/projects/ngx-mat-input-tel/eslint.config.js +3 -0
  34. package/projects/ngx-mat-input-tel/karma.conf.js +31 -0
  35. package/projects/ngx-mat-input-tel/ng-package.json +8 -0
  36. package/projects/ngx-mat-input-tel/package.json +48 -0
  37. package/projects/ngx-mat-input-tel/src/lib/assets/arrow_drop_down_grey600_18dp.png +0 -0
  38. package/projects/ngx-mat-input-tel/src/lib/assets/flags_sprite_2x.png +0 -0
  39. package/projects/ngx-mat-input-tel/src/lib/data/country-code.const.ts +792 -0
  40. package/projects/ngx-mat-input-tel/src/lib/model/country.model.ts +12 -0
  41. package/projects/ngx-mat-input-tel/src/lib/model/phone-number-format.model.ts +1 -0
  42. package/projects/ngx-mat-input-tel/src/lib/ngx-mat-input-tel-dialog/ngx-mat-input-tel.dialog.html +82 -0
  43. package/projects/ngx-mat-input-tel/src/lib/ngx-mat-input-tel-dialog/ngx-mat-input-tel.dialog.scss +91 -0
  44. package/projects/ngx-mat-input-tel/src/lib/ngx-mat-input-tel-dialog/ngx-mat-input-tel.dialog.ts +136 -0
  45. package/projects/ngx-mat-input-tel/src/lib/ngx-mat-input-tel-flag/ngx-mat-input-tel-flag.scss +319 -0
  46. package/projects/ngx-mat-input-tel/src/lib/ngx-mat-input-tel-flag/ngx-mat-input-tel-flag.ts +72 -0
  47. package/projects/ngx-mat-input-tel/src/lib/ngx-mat-input-tel.html +42 -0
  48. package/projects/ngx-mat-input-tel/src/lib/ngx-mat-input-tel.scss +122 -0
  49. package/projects/ngx-mat-input-tel/src/lib/ngx-mat-input-tel.spec.ts +318 -0
  50. package/projects/ngx-mat-input-tel/src/lib/ngx-mat-input-tel.ts +625 -0
  51. package/projects/ngx-mat-input-tel/src/lib/ngx-mat-input-tel.validator.ts +35 -0
  52. package/projects/ngx-mat-input-tel/src/lib/remove-iso.pipe.ts +13 -0
  53. package/projects/ngx-mat-input-tel/src/public-api.ts +7 -0
  54. package/projects/ngx-mat-input-tel/src/test.ts +10 -0
  55. package/projects/ngx-mat-input-tel/tsconfig.lib.json +25 -0
  56. package/projects/ngx-mat-input-tel/tsconfig.lib.prod.json +15 -0
  57. package/projects/ngx-mat-input-tel/tsconfig.spec.json +16 -0
  58. package/tsconfig.json +28 -0
  59. package/fesm2022/ngx-mat-input-tel.mjs +0 -1603
  60. package/fesm2022/ngx-mat-input-tel.mjs.map +0 -1
  61. package/types/ngx-mat-input-tel.d.ts +0 -162
@@ -0,0 +1,25 @@
1
+ {
2
+ "extends": "../../tsconfig.json",
3
+ "compilerOptions": {
4
+ "outDir": "../../out-tsc/lib",
5
+ "declarationMap": true,
6
+ "target": "es2020",
7
+ "declaration": true,
8
+ "inlineSources": true,
9
+ "types": []
10
+ },
11
+ "angularCompilerOptions": {
12
+ "skipTemplateCodegen": true,
13
+ "strictMetadataEmit": true,
14
+ "extendedDiagnostics": {
15
+ "checks": {
16
+ "nullishCoalescingNotNullable": "suppress",
17
+ "optionalChainNotNullable": "suppress"
18
+ }
19
+ },
20
+ "fullTemplateTypeCheck": true,
21
+ "strictInjectionParameters": true,
22
+ "enableResourceInlining": true
23
+ },
24
+ "exclude": ["src/test.ts", "**/*.spec.ts"]
25
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "extends": "./tsconfig.lib.json",
3
+ "compilerOptions": {
4
+ "declarationMap": false
5
+ },
6
+ "angularCompilerOptions": {
7
+ "compilationMode": "partial",
8
+ "extendedDiagnostics": {
9
+ "checks": {
10
+ "nullishCoalescingNotNullable": "suppress",
11
+ "optionalChainNotNullable": "suppress"
12
+ }
13
+ }
14
+ }
15
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "extends": "../../tsconfig.json",
3
+ "compilerOptions": {
4
+ "outDir": "../../out-tsc/spec",
5
+ "types": ["vitest/globals", "node"]
6
+ },
7
+ "include": ["**/*.spec.ts", "**/*.d.ts"],
8
+ "angularCompilerOptions": {
9
+ "extendedDiagnostics": {
10
+ "checks": {
11
+ "nullishCoalescingNotNullable": "suppress",
12
+ "optionalChainNotNullable": "suppress"
13
+ }
14
+ }
15
+ }
16
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,28 @@
1
+ {
2
+ "compileOnSave": false,
3
+ "compilerOptions": {
4
+ "outDir": "./dist/out-tsc",
5
+ "sourceMap": true,
6
+ "esModuleInterop": true,
7
+ "declaration": false,
8
+ "strict": true,
9
+ "module": "ES2022",
10
+ "moduleResolution": "bundler",
11
+ "emitDecoratorMetadata": true,
12
+ "experimentalDecorators": true,
13
+ "importHelpers": true,
14
+ "target": "ES2022",
15
+ "typeRoots": ["node_modules/@types"],
16
+ "paths": {
17
+ "projects/*": ["./projects/*"],
18
+ "ngx-mat-input-tel": ["./dist/ngx-mat-input-tel"],
19
+ "ngx-mat-input-tel/*": ["./dist/ngx-mat-input-tel/*"]
20
+ }
21
+ },
22
+ "angularCompilerOptions": {
23
+ "enableI18nLegacyMessageIdFormat": false,
24
+ "strictInjectionParameters": true,
25
+ "strictInputAccessModifiers": true,
26
+ "strictTemplates": true
27
+ }
28
+ }