@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.
@@ -5225,7 +5225,7 @@ class LibAddressAutocompleteByComponentComponent {
5225
5225
  this.autocompleteStreetNb.searchText = '';
5226
5226
  }
5227
5227
  if (box == true || this.autocompleteBoxNb.searchText.length > 0) {
5228
- this.clearInputEventEmitter.emit(InputNameType.BOX_NUMBER);
5228
+ this.onClearInputEventEmitter(InputNameType.BOX_NUMBER);
5229
5229
  this.autocompleteBoxNb.searchText = '';
5230
5230
  this.autocompleteBoxNb.streetNumber = '';
5231
5231
  }
@@ -5241,7 +5241,7 @@ class LibAddressAutocompleteByComponentComponent {
5241
5241
  this.autocompleteStreetNb.searchText = '';
5242
5242
  }
5243
5243
  if (box == true || this.autocompleteBoxNb.searchText.length > 0) {
5244
- this.clearInputEventEmitter.emit(InputNameType.BOX_NUMBER);
5244
+ this.onClearInputEventEmitter(InputNameType.BOX_NUMBER);
5245
5245
  this.autocompleteBoxNb.searchText = '';
5246
5246
  this.autocompleteBoxNb.streetNumber = '';
5247
5247
  }
@@ -5261,7 +5261,7 @@ class LibAddressAutocompleteByComponentComponent {
5261
5261
  this.autocompleteStreetNb.searchText = '';
5262
5262
  }
5263
5263
  if (box == true || this.autocompleteBoxNb.searchText.length > 0) {
5264
- this.clearInputEventEmitter.emit(InputNameType.BOX_NUMBER);
5264
+ this.onClearInputEventEmitter(InputNameType.BOX_NUMBER);
5265
5265
  this.autocompleteBoxNb.searchText = '';
5266
5266
  this.autocompleteBoxNb.streetNumber = '';
5267
5267
  }
@@ -5273,7 +5273,7 @@ class LibAddressAutocompleteByComponentComponent {
5273
5273
  this.autocompleteStreetNb.searchText = '';
5274
5274
  }
5275
5275
  if (box == true || this.autocompleteBoxNb.searchText.length > 0) {
5276
- this.clearInputEventEmitter.emit(InputNameType.BOX_NUMBER);
5276
+ this.onClearInputEventEmitter(InputNameType.BOX_NUMBER);
5277
5277
  this.autocompleteBoxNb.searchText = '';
5278
5278
  this.autocompleteBoxNb.streetNumber = '';
5279
5279
  }
@@ -5289,11 +5289,11 @@ class LibAddressAutocompleteByComponentComponent {
5289
5289
  this.streetNumber = '';
5290
5290
  this.quitPrefillMode();
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
  if (!event && (box == true || this.autocompleteBoxNb.searchText.length > 0)) {
5296
- this.clearInputEventEmitter.emit(InputNameType.BOX_NUMBER);
5296
+ this.onClearInputEventEmitter(InputNameType.BOX_NUMBER);
5297
5297
  this.autocompleteBoxNb.searchText = '';
5298
5298
  }
5299
5299
  this.autocompleteBoxNb.addressIsComplete = false;