@bpost/bp-address-auto-complete-by-component 1.0.30 → 1.1.0

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 CHANGED
@@ -6,6 +6,12 @@ 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.0
10
+ Correction of small bug.
11
+ Add a customer demo application.
12
+ Just copy it somewhere.
13
+ Initialize the packages, running 'npm i'.
14
+ Start the demo running'ng serve -o', enjoy.
9
15
 
10
16
  ## Version 1.0.30
11
17
  Adding two features:
@@ -4621,7 +4621,10 @@
4621
4621
  LibAddressAutocompleteByComponentComponent.prototype.notifyAddressComplete = function () {
4622
4622
  var _this = this;
4623
4623
  // console.log('notify for address complete');
4624
- if (this.nis9InResponse === true && this.selectedAddress.hasOwnProperty('latitude') && this.selectedAddress.hasOwnProperty('longitude')) {
4624
+ if (this.showDebugMessageToConsole) {
4625
+ console.log('notifyAddressComplete', this.selectedAddress, 'nis9InResponse:' + this.nis9InResponse, typeof this.nis9InResponse);
4626
+ }
4627
+ if ((this.nis9InResponse === true || '' + this.nis9InResponse === 'true') && this.selectedAddress.hasOwnProperty('latitude') && this.selectedAddress.hasOwnProperty('longitude')) {
4625
4628
  var latitude = this.selectedAddress.latitude;
4626
4629
  var longitude = this.selectedAddress.longitude;
4627
4630
  if (this.showDebugMessageToConsole)