@bpost/bp-address-auto-complete-by-component 1.1.30 → 1.1.32
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 +7 -1
- package/esm2020/lib/box-number/box-number.component.mjs +12 -1
- package/esm2020/lib/lib-address-autocomplete-by-component.component.mjs +12 -1
- package/esm2020/lib/locality/locality.component.mjs +1 -1
- package/esm2020/lib/street-number/street-number.component.mjs +15 -3
- package/fesm2015/bpost-bp-address-auto-complete-by-component.mjs +36 -2
- package/fesm2015/bpost-bp-address-auto-complete-by-component.mjs.map +1 -1
- package/fesm2020/bpost-bp-address-auto-complete-by-component.mjs +36 -2
- package/fesm2020/bpost-bp-address-auto-complete-by-component.mjs.map +1 -1
- package/lib/lib-address-autocomplete-by-component.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -3071,6 +3071,14 @@ class StreetNumberComponent {
|
|
|
3071
3071
|
delete combined.mailBoxId; // camelCase variant (internal API field name)
|
|
3072
3072
|
delete combined.pdpId;
|
|
3073
3073
|
delete combined.suffixId;
|
|
3074
|
+
delete combined.latitude;
|
|
3075
|
+
delete combined.longitude;
|
|
3076
|
+
delete combined.perspectiveCode;
|
|
3077
|
+
delete combined.coordinateSystem;
|
|
3078
|
+
delete combined.reliability;
|
|
3079
|
+
delete combined.businessName;
|
|
3080
|
+
delete combined.listOfBoxes;
|
|
3081
|
+
delete combined.nis9;
|
|
3074
3082
|
if (combined.geoSanction) {
|
|
3075
3083
|
combined.geoSanction = combined.geoSanction.substring(0, 25);
|
|
3076
3084
|
}
|
|
@@ -3411,11 +3419,15 @@ class StreetNumberComponent {
|
|
|
3411
3419
|
const combined = { ...this.selectedAddress, ...suggestion };
|
|
3412
3420
|
delete combined.latitude;
|
|
3413
3421
|
delete combined.longitude;
|
|
3422
|
+
delete combined.perspectiveCode;
|
|
3423
|
+
delete combined.coordinateSystem;
|
|
3424
|
+
delete combined.reliability;
|
|
3425
|
+
delete combined.businessName;
|
|
3426
|
+
delete combined.listOfBoxes;
|
|
3427
|
+
delete combined.nis9;
|
|
3414
3428
|
delete combined.mailboxId;
|
|
3415
3429
|
delete combined.pdpId;
|
|
3416
3430
|
delete combined.suffixId;
|
|
3417
|
-
delete combined.pdpId;
|
|
3418
|
-
delete combined.pdpId;
|
|
3419
3431
|
if (combined.geoSanction) {
|
|
3420
3432
|
combined.geoSanction = combined.geoSanction.substring(0, 25);
|
|
3421
3433
|
}
|
|
@@ -4254,6 +4266,8 @@ class BoxNumberComponent {
|
|
|
4254
4266
|
delete combined.mailBoxid; // mixed-case variant
|
|
4255
4267
|
delete combined.mailBoxId; // camelCase variant (internal API field name)
|
|
4256
4268
|
delete combined.suffixId;
|
|
4269
|
+
delete combined.businessName;
|
|
4270
|
+
delete combined.listOfBoxes;
|
|
4257
4271
|
if (combined.geoSanction) {
|
|
4258
4272
|
combined.geoSanction = combined.geoSanction.substring(0, 35);
|
|
4259
4273
|
}
|
|
@@ -4262,6 +4276,12 @@ class BoxNumberComponent {
|
|
|
4262
4276
|
if (combined.geoSanction) {
|
|
4263
4277
|
combined.geoSanction = combined.geoSanction.substring(0, 25);
|
|
4264
4278
|
}
|
|
4279
|
+
delete combined.latitude;
|
|
4280
|
+
delete combined.longitude;
|
|
4281
|
+
delete combined.perspectiveCode;
|
|
4282
|
+
delete combined.coordinateSystem;
|
|
4283
|
+
delete combined.reliability;
|
|
4284
|
+
delete combined.nis9;
|
|
4265
4285
|
}
|
|
4266
4286
|
combined.boxNumber = combined.string;
|
|
4267
4287
|
combined.searchBarString = combined.string;
|
|
@@ -4505,7 +4525,10 @@ class BoxNumberComponent {
|
|
|
4505
4525
|
modifySelectedAddress(suggestion) {
|
|
4506
4526
|
const combined = { ...this.selectedAddress, ...suggestion };
|
|
4507
4527
|
delete combined.mailBoxid;
|
|
4528
|
+
delete combined.mailBoxId;
|
|
4508
4529
|
delete combined.suffixId;
|
|
4530
|
+
delete combined.businessName;
|
|
4531
|
+
delete combined.listOfBoxes;
|
|
4509
4532
|
if (combined.geoSanction) {
|
|
4510
4533
|
combined.geoSanction = combined.geoSanction.substring(0, 35);
|
|
4511
4534
|
}
|
|
@@ -4920,6 +4943,7 @@ class LibAddressAutocompleteByComponentComponent {
|
|
|
4920
4943
|
this.boxNumberUrl = this.baseUrl + 'boxNumber';
|
|
4921
4944
|
this.maxSuggestionBoxNb = 5;
|
|
4922
4945
|
this.visibleSuggestionBoxNbCount = 5;
|
|
4946
|
+
this.validatedByBackend = true;
|
|
4923
4947
|
// boxParams: PrefilledParameters;
|
|
4924
4948
|
this.boxNumberPrefillData = null;
|
|
4925
4949
|
this.suggestionLevel = SuggestionLevelType.StreetAndBoxNumber;
|
|
@@ -5897,6 +5921,14 @@ class LibAddressAutocompleteByComponentComponent {
|
|
|
5897
5921
|
delete combined.mailBoxId; // camelCase variant (internal API field name)
|
|
5898
5922
|
delete combined.suffixId;
|
|
5899
5923
|
delete combined.isComplete;
|
|
5924
|
+
delete combined.latitude;
|
|
5925
|
+
delete combined.longitude;
|
|
5926
|
+
delete combined.perspectiveCode;
|
|
5927
|
+
delete combined.coordinateSystem;
|
|
5928
|
+
delete combined.reliability;
|
|
5929
|
+
delete combined.businessName;
|
|
5930
|
+
delete combined.listOfBoxes;
|
|
5931
|
+
delete combined.nis9;
|
|
5900
5932
|
if (combined.geoSanction) {
|
|
5901
5933
|
combined.geoSanction = combined.geoSanction.substring(0, 25);
|
|
5902
5934
|
}
|
|
@@ -5931,6 +5963,8 @@ class LibAddressAutocompleteByComponentComponent {
|
|
|
5931
5963
|
delete combined.mailBoxId; // camelCase variant (internal API field name)
|
|
5932
5964
|
delete combined.suffixId;
|
|
5933
5965
|
delete combined.isComplete;
|
|
5966
|
+
delete combined.businessName;
|
|
5967
|
+
delete combined.listOfBoxes;
|
|
5934
5968
|
if (combined.geoSanction) {
|
|
5935
5969
|
combined.geoSanction = combined.geoSanction.substring(0, 35);
|
|
5936
5970
|
}
|