@kigi/components 1.19.0 → 1.19.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kigi/components",
3
- "version": "1.19.0",
3
+ "version": "1.19.1",
4
4
  "description": "@kigi/components",
5
5
  "main": "src/components/index.ts",
6
6
  "scripts": {
@@ -50,7 +50,7 @@ class MbgAddressController {
50
50
  public $timeout,
51
51
  public mbgAddressService: MbgAddressService,
52
52
  public $uibModal,
53
- ) { }
53
+ ) {}
54
54
 
55
55
  $onInit() {
56
56
  if (this.capitalize && this.address) {
@@ -93,8 +93,8 @@ class MbgAddressController {
93
93
  state: this.address.state
94
94
  ? this.address.state
95
95
  : this.address.uf && this.address.uf.initial
96
- ? this.address.uf.initial
97
- : '',
96
+ ? this.address.uf.initial
97
+ : '',
98
98
  }
99
99
  if (this.ngModel) {
100
100
  this.ngModel.EX = (this.ngModel.country || '').toLowerCase() !== 'brasil'
@@ -236,10 +236,13 @@ class MbgAddressController {
236
236
 
237
237
  createFullName() {
238
238
  if (this.address.premisse) {
239
- this.fullAddress = `${this.address.premisse ? this.address.premisse : this.ngModel.premisse
240
- } - ${this.address.neighbourhood ? this.address.neighbourhood : this.ngModel.neighbourhood
241
- }, ${this.address.localization ? this.address.localization : this.ngModel.localization} - ${this.ngModel.state
242
- }, ${this.ngModel.country}`
239
+ this.fullAddress = `${
240
+ this.address.premisse ? this.address.premisse : this.ngModel.premisse
241
+ } - ${
242
+ this.address.neighbourhood ? this.address.neighbourhood : this.ngModel.neighbourhood
243
+ }, ${this.address.localization ? this.address.localization : this.ngModel.localization} - ${
244
+ this.ngModel.state
245
+ }, ${this.ngModel.country}`
243
246
  }
244
247
  }
245
248
 
@@ -286,8 +289,8 @@ class MbgAddressController {
286
289
  countryCode: this.ngModel.countryCode,
287
290
  zipCode: this.address.zipCode ? this.address.zipCode : this.ngModel.zipCode.replace('-', ''),
288
291
  neighbourhood: this.address.neighbourhood
289
- ? this.ngModel.neighbourhood
290
- : this.address.neighbourhood,
292
+ ? this.address.neighbourhood
293
+ : this.ngModel.neighbourhood,
291
294
  localization: this.ngModel.localization,
292
295
  premisse: this.address.premisse
293
296
  ? this.address.premisse