@bpost/bp-address-auto-complete-by-component 1.1.7 → 1.1.8

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 (106) hide show
  1. package/VERSION.md +6 -0
  2. package/esm2020/lib/box-number/box-number.component.mjs +921 -0
  3. package/esm2020/lib/lib-address-autocomplete-by-component.component.mjs +1420 -0
  4. package/esm2020/lib/lib-address-autocomplete-by-component.module.mjs +65 -0
  5. package/esm2020/lib/lib-address-autocomplete-by-component.service.mjs +14 -0
  6. package/esm2020/lib/locality/locality.component.mjs +777 -0
  7. package/esm2020/lib/model/Box.mjs +30 -0
  8. package/esm2020/lib/model/Locality.mjs +30 -0
  9. package/esm2020/lib/model/Street.mjs +30 -0
  10. package/esm2020/lib/model/query-parameters.model.mjs +21 -0
  11. package/esm2020/lib/services/adress.service.mjs +64 -0
  12. package/esm2020/lib/services/http.service.mjs +57 -0
  13. package/esm2020/lib/services/locale.service.mjs +37 -0
  14. package/esm2020/lib/services/nis9.service.mjs +26 -0
  15. package/esm2020/lib/services/unicode.service.mjs +376 -0
  16. package/esm2020/lib/street/street.component.mjs +766 -0
  17. package/esm2020/lib/street-number/street-number.component.mjs +1008 -0
  18. package/{esm2022 → esm2020}/lib/utils/constants.mjs +2 -2
  19. package/esm2020/lib/utils/domhandler.mjs +47 -0
  20. package/esm2020/lib/utils/highlight-suggestion.pipe.mjs +62 -0
  21. package/esm2020/lib/utils/prefill-data.mjs +24 -0
  22. package/esm2020/lib/utils/prefilled-parameters.mjs +23 -0
  23. package/esm2020/lib/utils/preflll.event.mjs +7 -0
  24. package/esm2020/lib/utils/visible-suggestion.directive.mjs +39 -0
  25. package/{fesm2022 → fesm2015}/bpost-bp-address-auto-complete-by-component.mjs +1257 -1437
  26. package/fesm2015/bpost-bp-address-auto-complete-by-component.mjs.map +1 -0
  27. package/fesm2020/bpost-bp-address-auto-complete-by-component.mjs +5779 -0
  28. package/fesm2020/bpost-bp-address-auto-complete-by-component.mjs.map +1 -0
  29. package/lib/lib-address-autocomplete-by-component.module.d.ts +15 -0
  30. package/package.json +11 -5
  31. package/tutorial/tutorial/aacwidget-tutorial/README.md +27 -0
  32. package/tutorial/tutorial/aacwidget-tutorial/package.json +49 -0
  33. package/esm2022/lib/box-number/box-number.component.mjs +0 -939
  34. package/esm2022/lib/lib-address-autocomplete-by-component.component.mjs +0 -1432
  35. package/esm2022/lib/lib-address-autocomplete-by-component.module.mjs +0 -45
  36. package/esm2022/lib/lib-address-autocomplete-by-component.service.mjs +0 -17
  37. package/esm2022/lib/locality/locality.component.mjs +0 -832
  38. package/esm2022/lib/model/Box.mjs +0 -35
  39. package/esm2022/lib/model/Locality.mjs +0 -35
  40. package/esm2022/lib/model/Street.mjs +0 -35
  41. package/esm2022/lib/model/query-parameters.model.mjs +0 -23
  42. package/esm2022/lib/services/adress.service.mjs +0 -69
  43. package/esm2022/lib/services/http.service.mjs +0 -61
  44. package/esm2022/lib/services/locale.service.mjs +0 -39
  45. package/esm2022/lib/services/nis9.service.mjs +0 -28
  46. package/esm2022/lib/services/unicode.service.mjs +0 -380
  47. package/esm2022/lib/street/street.component.mjs +0 -809
  48. package/esm2022/lib/street-number/street-number.component.mjs +0 -1026
  49. package/esm2022/lib/utils/domhandler.mjs +0 -51
  50. package/esm2022/lib/utils/highlight-suggestion.pipe.mjs +0 -76
  51. package/esm2022/lib/utils/prefill-data.mjs +0 -26
  52. package/esm2022/lib/utils/prefilled-parameters.mjs +0 -25
  53. package/esm2022/lib/utils/preflll.event.mjs +0 -9
  54. package/esm2022/lib/utils/visible-suggestion.directive.mjs +0 -41
  55. package/fesm2022/bpost-bp-address-auto-complete-by-component.mjs.map +0 -1
  56. /package/{esm2022 → esm2020}/bpost-bp-address-auto-complete-by-component.mjs +0 -0
  57. /package/{esm2022 → esm2020}/lib/enum/address-level.enum.mjs +0 -0
  58. /package/{esm2022 → esm2020}/lib/enum/index.mjs +0 -0
  59. /package/{esm2022 → esm2020}/lib/enum/input-name.enum.mjs +0 -0
  60. /package/{esm2022 → esm2020}/lib/enum/source-type.enum.mjs +0 -0
  61. /package/{esm2022 → esm2020}/lib/enum/suggestion-level-type.enum.mjs +0 -0
  62. /package/{esm2022 → esm2020}/lib/enum/validation-message-option-type.enum.mjs +0 -0
  63. /package/{esm2022 → esm2020}/lib/enum/validation-message-type.enum.mjs +0 -0
  64. /package/{esm2022 → esm2020}/public-api.mjs +0 -0
  65. /package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/.editorconfig +0 -0
  66. /package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/angular.json +0 -0
  67. /package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/browserslist +0 -0
  68. /package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/e2e/protractor.conf.js +0 -0
  69. /package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/e2e/src/app.e2e-spec.ts +0 -0
  70. /package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/e2e/src/app.po.ts +0 -0
  71. /package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/e2e/tsconfig.json +0 -0
  72. /package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/karma.conf.js +0 -0
  73. /package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/package-lock.json +0 -0
  74. /package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/app/app-routing.module.ts +0 -0
  75. /package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/app/app.component.html +0 -0
  76. /package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/app/app.component.scss +0 -0
  77. /package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/app/app.component.spec.ts +0 -0
  78. /package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/app/app.component.ts +0 -0
  79. /package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/app/app.module.ts +0 -0
  80. /package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/app/widget-full/widget-full.component.html +0 -0
  81. /package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/app/widget-full/widget-full.component.scss +0 -0
  82. /package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/app/widget-full/widget-full.component.ts +0 -0
  83. /package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/app/widget-simple/widget-simple.component.html +0 -0
  84. /package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/app/widget-simple/widget-simple.component.scss +0 -0
  85. /package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/app/widget-simple/widget-simple.component.spec.ts +0 -0
  86. /package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/app/widget-simple/widget-simple.component.ts +0 -0
  87. /package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/assets/.gitkeep +0 -0
  88. /package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/assets/aacwidget/i18n/de.json +0 -0
  89. /package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/assets/aacwidget/i18n/en.json +0 -0
  90. /package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/assets/aacwidget/i18n/fr.json +0 -0
  91. /package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/assets/aacwidget/i18n/nl.json +0 -0
  92. /package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/assets/aacwidget/scss/aacwidget-custom.scss +0 -0
  93. /package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/assets/aacwidget/scss/aacwidget-default.scss +0 -0
  94. /package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/environments/environment.prod.ts +0 -0
  95. /package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/environments/environment.ts +0 -0
  96. /package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/favicon.ico +0 -0
  97. /package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/index.html +0 -0
  98. /package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/main.ts +0 -0
  99. /package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/polyfills.ts +0 -0
  100. /package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/styles.scss +0 -0
  101. /package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/test.ts +0 -0
  102. /package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/tsconfig.app.json +0 -0
  103. /package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/tsconfig.json +0 -0
  104. /package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/tsconfig.spec.json +0 -0
  105. /package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/tslint.json +0 -0
  106. /package/tutorial/{tutorial-videos.txt → tutorial/tutorial-videos.txt} +0 -0
@@ -1,2 +1,17 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./utils/highlight-suggestion.pipe";
3
+ import * as i2 from "./utils/visible-suggestion.directive";
4
+ import * as i3 from "./lib-address-autocomplete-by-component.component";
5
+ import * as i4 from "./locality/locality.component";
6
+ import * as i5 from "./street/street.component";
7
+ import * as i6 from "./street-number/street-number.component";
8
+ import * as i7 from "./box-number/box-number.component";
9
+ import * as i8 from "@angular/common";
10
+ import * as i9 from "@angular/common/http";
11
+ import * as i10 from "@angular/forms";
12
+ import * as i11 from "@ngx-translate/core";
1
13
  export declare class LibAddressAutocompleteByComponentModule {
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<LibAddressAutocompleteByComponentModule, never>;
15
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LibAddressAutocompleteByComponentModule, [typeof i1.HighlightSuggestionPipe, typeof i2.VisibleSuggestionDirective, typeof i3.LibAddressAutocompleteByComponentComponent, typeof i4.LocalityComponent, typeof i5.StreetComponent, typeof i6.StreetNumberComponent, typeof i7.BoxNumberComponent], [typeof i8.CommonModule, typeof i9.HttpClientModule, typeof i10.FormsModule, typeof i10.ReactiveFormsModule, typeof i11.TranslateModule], [typeof i3.LibAddressAutocompleteByComponentComponent]>;
16
+ static ɵinj: i0.ɵɵInjectorDeclaration<LibAddressAutocompleteByComponentModule>;
2
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bpost/bp-address-auto-complete-by-component",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^13.2.0",
6
6
  "@angular/core": "^13.2.0"
@@ -8,7 +8,11 @@
8
8
  "dependencies": {
9
9
  "tslib": "^2.3.0"
10
10
  },
11
- "module": "fesm2022/bpost-bp-address-auto-complete-by-component.mjs",
11
+ "module": "fesm2015/bpost-bp-address-auto-complete-by-component.mjs",
12
+ "es2020": "fesm2020/bpost-bp-address-auto-complete-by-component.mjs",
13
+ "esm2020": "esm2020/bpost-bp-address-auto-complete-by-component.mjs",
14
+ "fesm2020": "fesm2020/bpost-bp-address-auto-complete-by-component.mjs",
15
+ "fesm2015": "fesm2015/bpost-bp-address-auto-complete-by-component.mjs",
12
16
  "typings": "index.d.ts",
13
17
  "exports": {
14
18
  "./package.json": {
@@ -16,9 +20,11 @@
16
20
  },
17
21
  ".": {
18
22
  "types": "./index.d.ts",
19
- "esm2022": "./esm2022/bpost-bp-address-auto-complete-by-component.mjs",
20
- "esm": "./esm2022/bpost-bp-address-auto-complete-by-component.mjs",
21
- "default": "./fesm2022/bpost-bp-address-auto-complete-by-component.mjs"
23
+ "esm2020": "./esm2020/bpost-bp-address-auto-complete-by-component.mjs",
24
+ "es2020": "./fesm2020/bpost-bp-address-auto-complete-by-component.mjs",
25
+ "es2015": "./fesm2015/bpost-bp-address-auto-complete-by-component.mjs",
26
+ "node": "./fesm2015/bpost-bp-address-auto-complete-by-component.mjs",
27
+ "default": "./fesm2020/bpost-bp-address-auto-complete-by-component.mjs"
22
28
  }
23
29
  },
24
30
  "sideEffects": false
@@ -0,0 +1,27 @@
1
+ # AacwidgetDemo
2
+
3
+ This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.1.7.
4
+
5
+ ## Development server
6
+
7
+ Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
8
+
9
+ ## Code scaffolding
10
+
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`.
12
+
13
+ ## Build
14
+
15
+ Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.
16
+
17
+ ## Running unit tests
18
+
19
+ Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
20
+
21
+ ## Running end-to-end tests
22
+
23
+ Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
24
+
25
+ ## Further help
26
+
27
+ To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "aacwidget-demo",
3
+ "version": "0.0.0",
4
+ "scripts": {
5
+ "ng": "ng",
6
+ "start": "ng serve",
7
+ "build": "ng build",
8
+ "test": "ng test",
9
+ "lint": "ng lint",
10
+ "e2e": "ng e2e"
11
+ },
12
+ "private": true,
13
+ "dependencies": {
14
+ "@angular/animations": "~9.1.9",
15
+ "@angular/common": "~9.1.9",
16
+ "@angular/compiler": "~9.1.9",
17
+ "@angular/core": "~9.1.9",
18
+ "@angular/forms": "~9.1.9",
19
+ "@angular/platform-browser": "~9.1.9",
20
+ "@angular/platform-browser-dynamic": "~9.1.9",
21
+ "@angular/router": "~9.1.9",
22
+ "@bpost/bp-address-auto-complete-by-component": "^1.0.3",
23
+ "@ngx-translate/core": "^12.1.2",
24
+ "ngx-translate-multi-http-loader": "^3.0.0",
25
+ "rxjs": "~6.5.4",
26
+ "tslib": "^1.10.0",
27
+ "zone.js": "~0.10.2"
28
+ },
29
+ "devDependencies": {
30
+ "@angular-devkit/build-angular": "~0.901.7",
31
+ "@angular/cli": "~9.1.7",
32
+ "@angular/compiler-cli": "~9.1.9",
33
+ "@types/node": "^12.11.1",
34
+ "@types/jasmine": "~3.5.0",
35
+ "@types/jasminewd2": "~2.0.3",
36
+ "codelyzer": "^5.1.2",
37
+ "jasmine-core": "~3.5.0",
38
+ "jasmine-spec-reporter": "~4.2.1",
39
+ "karma": "~5.0.0",
40
+ "karma-chrome-launcher": "~3.1.0",
41
+ "karma-coverage-istanbul-reporter": "~2.1.0",
42
+ "karma-jasmine": "~3.0.1",
43
+ "karma-jasmine-html-reporter": "^1.4.2",
44
+ "protractor": "~7.0.0",
45
+ "ts-node": "~8.3.0",
46
+ "tslint": "~6.1.0",
47
+ "typescript": "~3.8.3"
48
+ }
49
+ }