@bpost/bp-address-auto-complete-by-component 1.1.22 → 1.1.24

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.
@@ -5223,7 +5223,7 @@ class LibAddressAutocompleteByComponentComponent {
5223
5223
  this.autocompleteStreetNb.searchText = '';
5224
5224
  }
5225
5225
  if (box == true || this.autocompleteBoxNb.searchText.length > 0) {
5226
- this.clearInputEventEmitter.emit(InputNameType.BOX_NUMBER);
5226
+ this.onClearInputEventEmitter(InputNameType.BOX_NUMBER);
5227
5227
  this.autocompleteBoxNb.searchText = '';
5228
5228
  this.autocompleteBoxNb.streetNumber = '';
5229
5229
  }
@@ -5239,7 +5239,7 @@ class LibAddressAutocompleteByComponentComponent {
5239
5239
  this.autocompleteStreetNb.searchText = '';
5240
5240
  }
5241
5241
  if (box == true || this.autocompleteBoxNb.searchText.length > 0) {
5242
- this.clearInputEventEmitter.emit(InputNameType.BOX_NUMBER);
5242
+ this.onClearInputEventEmitter(InputNameType.BOX_NUMBER);
5243
5243
  this.autocompleteBoxNb.searchText = '';
5244
5244
  this.autocompleteBoxNb.streetNumber = '';
5245
5245
  }
@@ -5258,7 +5258,7 @@ class LibAddressAutocompleteByComponentComponent {
5258
5258
  this.autocompleteStreetNb.searchText = '';
5259
5259
  }
5260
5260
  if (box == true || this.autocompleteBoxNb.searchText.length > 0) {
5261
- this.clearInputEventEmitter.emit(InputNameType.BOX_NUMBER);
5261
+ this.onClearInputEventEmitter(InputNameType.BOX_NUMBER);
5262
5262
  this.autocompleteBoxNb.searchText = '';
5263
5263
  this.autocompleteBoxNb.streetNumber = '';
5264
5264
  }
@@ -5270,7 +5270,7 @@ class LibAddressAutocompleteByComponentComponent {
5270
5270
  this.autocompleteStreetNb.searchText = '';
5271
5271
  }
5272
5272
  if (box == true || this.autocompleteBoxNb.searchText.length > 0) {
5273
- this.clearInputEventEmitter.emit(InputNameType.BOX_NUMBER);
5273
+ this.onClearInputEventEmitter(InputNameType.BOX_NUMBER);
5274
5274
  this.autocompleteBoxNb.searchText = '';
5275
5275
  this.autocompleteBoxNb.streetNumber = '';
5276
5276
  }
@@ -5285,11 +5285,11 @@ class LibAddressAutocompleteByComponentComponent {
5285
5285
  this.streetNumber = '';
5286
5286
  this.quitPrefillMode();
5287
5287
  if (event && (box == true || this.autocompleteBoxNb.searchText.length > 0)) {
5288
- this.clearInputEventEmitter.emit(InputNameType.BOX_NUMBER);
5288
+ this.onClearInputEventEmitter(InputNameType.BOX_NUMBER);
5289
5289
  this.autocompleteBoxNb.searchText = '';
5290
5290
  }
5291
5291
  if (!event && (box == true || this.autocompleteBoxNb.searchText.length > 0)) {
5292
- this.clearInputEventEmitter.emit(InputNameType.BOX_NUMBER);
5292
+ this.onClearInputEventEmitter(InputNameType.BOX_NUMBER);
5293
5293
  this.autocompleteBoxNb.searchText = '';
5294
5294
  }
5295
5295
  this.autocompleteBoxNb.addressIsComplete = false;