ngx-render-material-forms 1.9.4 → 1.9.5

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.
@@ -2608,8 +2608,6 @@ class CommonService {
2608
2608
  this.Pcountry = 'WFDd'; //5
2609
2609
  this.Pcontinent = 'sDt6N'; //3
2610
2610
  this.currentUser = JSON.parse(localStorage.getItem('currentUser'));
2611
- // this.holy = CryptoJS.enc.Base64.parse('8F/2+T2NXqUBQERR12R4sw==');
2612
- //this.grail = CryptoJS.enc.Base64.parse('yE0CgQbYzK5wqeoKTVzhOQ==');
2613
2611
  this.holy = CryptoJS.enc.Base64.parse(this.getcombodeal());
2614
2612
  this.grail = CryptoJS.enc.Base64.parse(this.getglobedata());
2615
2613
  this.paramsData = JSON.parse(localStorage.getItem('productPickerParams'));
@@ -2801,8 +2799,6 @@ class MaterialSelectComponent extends MaterialComponent {
2801
2799
  this.pageSize = 20;
2802
2800
  this.totalPages = 0;
2803
2801
  this.searchQuery = '';
2804
- // holy: any = '';
2805
- // grail: any = '';
2806
2802
  this.productsloadingFlag = false;
2807
2803
  this.searching = false;
2808
2804
  this.productList = [];
@@ -4192,7 +4188,7 @@ MaterialDataGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
4192
4188
 
4193
4189
  <!-- Default Message -->
4194
4190
  <ng-template #noDataMessage>
4195
- <div class="no-data-message" *ngIf="isCustomerCountryFiltered && emptyArray">
4191
+ <div class="no-data-message" *ngIf="isCustomerCountryFiltered && emptyArray && !showNewProductPicker">
4196
4192
  <span>
4197
4193
  No Product found with the selected Customer country.
4198
4194
  </span>
@@ -4254,7 +4250,7 @@ MaterialDataGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
4254
4250
 
4255
4251
  </mat-card-content>
4256
4252
  <mat-card-actions *ngIf="instance.hasAddButton() && instance.component.addAnotherPosition !== 'top'">
4257
- <button class = "picker2new-btn" mat-raised-button color="primary" (click)="addAnother()" *ngIf="!(isCustomerCountryFiltered && emptyArray)">
4253
+ <button class = "picker2new-btn" mat-raised-button color="primary" (click)="addAnother()" *ngIf="!(isCustomerCountryFiltered && emptyArray) && !showNewProductPicker">
4258
4254
  <mat-icon>add</mat-icon>
4259
4255
  {{instance.component.addAnother || 'Add Another'}}
4260
4256
  </button>
@@ -4334,7 +4330,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
4334
4330
 
4335
4331
  <!-- Default Message -->
4336
4332
  <ng-template #noDataMessage>
4337
- <div class="no-data-message" *ngIf="isCustomerCountryFiltered && emptyArray">
4333
+ <div class="no-data-message" *ngIf="isCustomerCountryFiltered && emptyArray && !showNewProductPicker">
4338
4334
  <span>
4339
4335
  No Product found with the selected Customer country.
4340
4336
  </span>
@@ -4396,7 +4392,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
4396
4392
 
4397
4393
  </mat-card-content>
4398
4394
  <mat-card-actions *ngIf="instance.hasAddButton() && instance.component.addAnotherPosition !== 'top'">
4399
- <button class = "picker2new-btn" mat-raised-button color="primary" (click)="addAnother()" *ngIf="!(isCustomerCountryFiltered && emptyArray)">
4395
+ <button class = "picker2new-btn" mat-raised-button color="primary" (click)="addAnother()" *ngIf="!(isCustomerCountryFiltered && emptyArray) && !showNewProductPicker">
4400
4396
  <mat-icon>add</mat-icon>
4401
4397
  {{instance.component.addAnother || 'Add Another'}}
4402
4398
  </button>