@bpost/bp-address-auto-complete-by-component 1.1.0 → 1.1.3
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/VERSION.md +36 -0
- package/bpost-bp-address-auto-complete-by-component.d.ts +1 -11
- package/esm2020/bpost-bp-address-auto-complete-by-component.mjs +5 -0
- package/esm2020/lib/box-number/box-number.component.mjs +800 -0
- package/esm2020/lib/enum/address-level.enum.mjs +8 -0
- package/esm2020/lib/enum/index.mjs +7 -0
- package/esm2020/lib/enum/input-name.enum.mjs +8 -0
- package/esm2020/lib/enum/source-type.enum.mjs +5 -0
- package/esm2020/lib/enum/suggestion-level-type.enum.mjs +8 -0
- package/esm2020/lib/enum/validation-message-option-type.enum.mjs +6 -0
- package/esm2020/lib/enum/validation-message-type.enum.mjs +7 -0
- package/esm2020/lib/lib-address-autocomplete-by-component.component.mjs +1233 -0
- package/esm2020/lib/lib-address-autocomplete-by-component.module.mjs +65 -0
- package/esm2020/lib/lib-address-autocomplete-by-component.service.mjs +14 -0
- package/esm2020/lib/locality/locality.component.mjs +747 -0
- package/{esm2015/lib/model/Locality.js → esm2020/lib/model/Box.mjs} +2 -2
- package/esm2020/lib/model/Locality.mjs +30 -0
- package/esm2020/lib/model/Street.mjs +30 -0
- package/esm2020/lib/model/query-parameters.model.mjs +21 -0
- package/esm2020/lib/services/adress.service.mjs +64 -0
- package/esm2020/lib/services/http.service.mjs +57 -0
- package/esm2020/lib/services/locale.service.mjs +37 -0
- package/esm2020/lib/services/nis9.service.mjs +26 -0
- package/esm2020/lib/services/unicode.service.mjs +376 -0
- package/esm2020/lib/street/street.component.mjs +725 -0
- package/esm2020/lib/street-number/street-number.component.mjs +891 -0
- package/esm2020/lib/utils/constants.mjs +2 -0
- package/esm2020/lib/utils/domhandler.mjs +47 -0
- package/esm2020/lib/utils/highlight-suggestion.pipe.mjs +62 -0
- package/{esm5/lib/utils/prefill-data.js → esm2020/lib/utils/prefill-data.mjs} +5 -7
- package/esm2020/lib/utils/prefilled-parameters.mjs +23 -0
- package/esm2020/lib/utils/preflll.event.mjs +7 -0
- package/esm2020/lib/utils/visible-suggestion.directive.mjs +39 -0
- package/esm2020/public-api.mjs +9 -0
- package/fesm2015/{bpost-bp-address-auto-complete-by-component.js → bpost-bp-address-auto-complete-by-component.mjs} +862 -787
- package/fesm2015/bpost-bp-address-auto-complete-by-component.mjs.map +1 -0
- package/{fesm5/bpost-bp-address-auto-complete-by-component.js → fesm2020/bpost-bp-address-auto-complete-by-component.mjs} +1795 -1925
- package/fesm2020/bpost-bp-address-auto-complete-by-component.mjs.map +1 -0
- package/lib/box-number/box-number.component.d.ts +6 -0
- package/lib/enum/index.d.ts +3 -0
- package/lib/enum/suggestion-level-type.enum.d.ts +5 -0
- package/lib/lib-address-autocomplete-by-component.component.d.ts +14 -0
- package/lib/lib-address-autocomplete-by-component.module.d.ts +15 -0
- package/lib/lib-address-autocomplete-by-component.service.d.ts +3 -0
- package/lib/locality/locality.component.d.ts +3 -0
- package/lib/services/adress.service.d.ts +3 -0
- package/lib/services/http.service.d.ts +5 -0
- package/lib/services/locale.service.d.ts +3 -0
- package/lib/services/nis9.service.d.ts +3 -0
- package/lib/services/unicode.service.d.ts +3 -0
- package/lib/street/street.component.d.ts +3 -0
- package/lib/street-number/street-number.component.d.ts +6 -1
- package/lib/utils/constants.d.ts +1 -0
- package/lib/utils/highlight-suggestion.pipe.d.ts +3 -0
- package/lib/utils/visible-suggestion.directive.d.ts +3 -0
- package/package.json +23 -13
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/.editorconfig +0 -0
- package/tutorial/tutorial/aacwidget-tutorial/README.md +27 -0
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/angular.json +0 -0
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/browserslist +0 -0
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/e2e/protractor.conf.js +0 -0
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/e2e/src/app.e2e-spec.ts +0 -0
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/e2e/src/app.po.ts +0 -0
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/e2e/tsconfig.json +0 -0
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/karma.conf.js +0 -0
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/package-lock.json +0 -0
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/package.json +0 -0
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/app/app-routing.module.ts +0 -0
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/app/app.component.html +0 -0
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/app/app.component.scss +0 -0
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/app/app.component.spec.ts +0 -0
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/app/app.component.ts +0 -0
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/app/app.module.ts +0 -0
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/app/widget-full/widget-full.component.html +0 -0
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/app/widget-full/widget-full.component.scss +0 -0
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/app/widget-full/widget-full.component.ts +0 -0
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/app/widget-simple/widget-simple.component.html +0 -0
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/app/widget-simple/widget-simple.component.scss +0 -0
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/app/widget-simple/widget-simple.component.spec.ts +0 -0
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/app/widget-simple/widget-simple.component.ts +0 -0
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/assets/.gitkeep +0 -0
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/assets/aacwidget/i18n/de.json +0 -0
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/assets/aacwidget/i18n/en.json +0 -0
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/assets/aacwidget/i18n/fr.json +0 -0
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/assets/aacwidget/i18n/nl.json +0 -0
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/assets/aacwidget/scss/aacwidget-custom.scss +0 -0
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/assets/aacwidget/scss/aacwidget-default.scss +0 -0
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/environments/environment.prod.ts +0 -0
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/environments/environment.ts +0 -0
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/favicon.ico +0 -0
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/index.html +0 -0
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/main.ts +0 -0
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/polyfills.ts +0 -0
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/styles.scss +0 -0
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/src/test.ts +0 -0
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/tsconfig.app.json +0 -0
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/tsconfig.json +0 -0
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/tsconfig.spec.json +0 -0
- package/tutorial/{aacwidget-tutorial → tutorial/aacwidget-tutorial}/tslint.json +0 -0
- package/tutorial/{tutorial-videos.txt → tutorial/tutorial-videos.txt} +0 -0
- package/bpost-bp-address-auto-complete-by-component.metadata.json +0 -1
- package/bundles/bpost-bp-address-auto-complete-by-component.umd.js +0 -5638
- package/bundles/bpost-bp-address-auto-complete-by-component.umd.js.map +0 -1
- package/bundles/bpost-bp-address-auto-complete-by-component.umd.min.js +0 -16
- package/bundles/bpost-bp-address-auto-complete-by-component.umd.min.js.map +0 -1
- package/esm2015/bpost-bp-address-auto-complete-by-component.js +0 -16
- package/esm2015/lib/box-number/box-number.component.js +0 -811
- package/esm2015/lib/enum/address-level.enum.js +0 -8
- package/esm2015/lib/enum/index.js +0 -4
- package/esm2015/lib/enum/input-name.enum.js +0 -8
- package/esm2015/lib/enum/source-type.enum.js +0 -5
- package/esm2015/lib/enum/validation-message-option-type.enum.js +0 -6
- package/esm2015/lib/enum/validation-message-type.enum.js +0 -7
- package/esm2015/lib/lib-address-autocomplete-by-component.component.js +0 -1116
- package/esm2015/lib/lib-address-autocomplete-by-component.module.js +0 -42
- package/esm2015/lib/lib-address-autocomplete-by-component.service.js +0 -14
- package/esm2015/lib/locality/locality.component.js +0 -769
- package/esm2015/lib/model/Box.js +0 -30
- package/esm2015/lib/model/Street.js +0 -30
- package/esm2015/lib/model/query-parameters.model.js +0 -21
- package/esm2015/lib/services/adress.service.js +0 -68
- package/esm2015/lib/services/http.service.js +0 -53
- package/esm2015/lib/services/locale.service.js +0 -39
- package/esm2015/lib/services/nis9.service.js +0 -30
- package/esm2015/lib/services/unicode.service.js +0 -376
- package/esm2015/lib/street/street.component.js +0 -749
- package/esm2015/lib/street-number/street-number.component.js +0 -900
- package/esm2015/lib/utils/domhandler.js +0 -47
- package/esm2015/lib/utils/highlight-suggestion.pipe.js +0 -63
- package/esm2015/lib/utils/prefill-data.js +0 -24
- package/esm2015/lib/utils/prefilled-parameters.js +0 -23
- package/esm2015/lib/utils/preflll.event.js +0 -7
- package/esm2015/lib/utils/visible-suggestion.directive.js +0 -42
- package/esm2015/public-api.js +0 -9
- package/esm5/bpost-bp-address-auto-complete-by-component.js +0 -16
- package/esm5/lib/box-number/box-number.component.js +0 -831
- package/esm5/lib/enum/address-level.enum.js +0 -8
- package/esm5/lib/enum/index.js +0 -4
- package/esm5/lib/enum/input-name.enum.js +0 -8
- package/esm5/lib/enum/source-type.enum.js +0 -5
- package/esm5/lib/enum/validation-message-option-type.enum.js +0 -6
- package/esm5/lib/enum/validation-message-type.enum.js +0 -7
- package/esm5/lib/lib-address-autocomplete-by-component.component.js +0 -1132
- package/esm5/lib/lib-address-autocomplete-by-component.module.js +0 -45
- package/esm5/lib/lib-address-autocomplete-by-component.service.js +0 -16
- package/esm5/lib/locality/locality.component.js +0 -825
- package/esm5/lib/model/Box.js +0 -35
- package/esm5/lib/model/Locality.js +0 -35
- package/esm5/lib/model/Street.js +0 -35
- package/esm5/lib/model/query-parameters.model.js +0 -23
- package/esm5/lib/services/adress.service.js +0 -72
- package/esm5/lib/services/http.service.js +0 -55
- package/esm5/lib/services/locale.service.js +0 -40
- package/esm5/lib/services/nis9.service.js +0 -31
- package/esm5/lib/services/unicode.service.js +0 -379
- package/esm5/lib/street/street.component.js +0 -794
- package/esm5/lib/street-number/street-number.component.js +0 -920
- package/esm5/lib/utils/domhandler.js +0 -51
- package/esm5/lib/utils/highlight-suggestion.pipe.js +0 -75
- package/esm5/lib/utils/prefilled-parameters.js +0 -25
- package/esm5/lib/utils/preflll.event.js +0 -9
- package/esm5/lib/utils/visible-suggestion.directive.js +0 -43
- package/esm5/public-api.js +0 -9
- package/fesm2015/bpost-bp-address-auto-complete-by-component.js.map +0 -1
- package/fesm5/bpost-bp-address-auto-complete-by-component.js.map +0 -1
package/VERSION.md
CHANGED
|
@@ -6,6 +6,42 @@ This is a pure angular library and can be imported as a module inside an angular
|
|
|
6
6
|
This library is not suited for a pure javascript application.
|
|
7
7
|
For any pure JS application, another version of this component exists in our repository.
|
|
8
8
|
|
|
9
|
+
## Version 1.1.3
|
|
10
|
+
Adding some features:
|
|
11
|
+
- adding new option: suggestionLevel
|
|
12
|
+
Possible values:
|
|
13
|
+
1. StreetAndBoxNumber (value: 2)
|
|
14
|
+
In that case, drop down for street number and box number are used.
|
|
15
|
+
This is the default behaviour as already available in version 1.1.2
|
|
16
|
+
2. StreetNumber (value: 1)
|
|
17
|
+
In that case, the suggestion list will not be shown fort the box number,
|
|
18
|
+
and the value of the box number is free
|
|
19
|
+
3. None (value: 0)
|
|
20
|
+
In that case, both suggestion lists for the street number and box number are not shown,
|
|
21
|
+
and value for the stret number and box number are free
|
|
22
|
+
|
|
23
|
+
An exemple of the tag:
|
|
24
|
+
|
|
25
|
+
<bp-lib-address-autocomplete-by-component
|
|
26
|
+
...
|
|
27
|
+
[suggestionLevel]="1"
|
|
28
|
+
...
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
WARNING:
|
|
33
|
+
This version is still under test.
|
|
34
|
+
Do not use for production..
|
|
35
|
+
A final tested version with those features will be published as version 1.1.4
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
## Version 1.1.2
|
|
40
|
+
correcting prefilling bug
|
|
41
|
+
|
|
42
|
+
## Version 1.1.1
|
|
43
|
+
correcting a small bug
|
|
44
|
+
|
|
9
45
|
## Version 1.1.0
|
|
10
46
|
Correction of small bug.
|
|
11
47
|
Add a customer demo application.
|
|
@@ -1,15 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Generated bundle index. Do not edit.
|
|
3
3
|
*/
|
|
4
|
+
/// <amd-module name="@bpost/bp-address-auto-complete-by-component" />
|
|
4
5
|
export * from './public-api';
|
|
5
|
-
export { BoxNumberComponent as ɵh } from './lib/box-number/box-number.component';
|
|
6
|
-
export { LocalityComponent as ɵa } from './lib/locality/locality.component';
|
|
7
|
-
export { AddressService as ɵb } from './lib/services/adress.service';
|
|
8
|
-
export { HttpService as ɵc } from './lib/services/http.service';
|
|
9
|
-
export { LocaleService as ɵd } from './lib/services/locale.service';
|
|
10
|
-
export { Nis9Service as ɵi } from './lib/services/nis9.service';
|
|
11
|
-
export { UnicodeService as ɵe } from './lib/services/unicode.service';
|
|
12
|
-
export { StreetNumberComponent as ɵg } from './lib/street-number/street-number.component';
|
|
13
|
-
export { StreetComponent as ɵf } from './lib/street/street.component';
|
|
14
|
-
export { HighlightSuggestionPipe as ɵj } from './lib/utils/highlight-suggestion.pipe';
|
|
15
|
-
export { VisibleSuggestionDirective as ɵk } from './lib/utils/visible-suggestion.directive';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './public-api';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnBvc3QtYnAtYWRkcmVzcy1hdXRvLWNvbXBsZXRlLWJ5LWNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL2xpYi1hZGRyZXNzLWF1dG9jb21wbGV0ZS1ieS1jb21wb25lbnQvc3JjL2Jwb3N0LWJwLWFkZHJlc3MtYXV0by1jb21wbGV0ZS1ieS1jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==
|