ngx-render-material-forms 2.3.6 → 2.3.8
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/esm2020/lib/components/datagrid/datagrid.component.mjs +19 -6
- package/fesm2015/ngx-render-material-forms.js +18 -5
- package/fesm2015/ngx-render-material-forms.mjs.map +1 -1
- package/fesm2020/ngx-render-material-forms.js +18 -5
- package/fesm2020/ngx-render-material-forms.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -4383,7 +4383,8 @@ class MaterialDataGridComponent extends MaterialNestedComponent {
|
|
|
4383
4383
|
else {
|
|
4384
4384
|
this.dataSource.data = instance.dataValue;
|
|
4385
4385
|
}
|
|
4386
|
-
|
|
4386
|
+
//this.checkSubmissionStatus &&
|
|
4387
|
+
if (!this.hasValueAndEditMode) {
|
|
4387
4388
|
this.showDataGrid = false;
|
|
4388
4389
|
this.dataSource.data = [];
|
|
4389
4390
|
}
|
|
@@ -4554,7 +4555,13 @@ MaterialDataGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
|
|
|
4554
4555
|
<ng-container *ngIf="hasLabel">
|
|
4555
4556
|
<ng-container *ngTemplateOutlet="labelTemplate"></ng-container>
|
|
4556
4557
|
</ng-container>
|
|
4557
|
-
<mat-card-content
|
|
4558
|
+
<mat-card-content>
|
|
4559
|
+
|
|
4560
|
+
<!-- Message when no products are found -->
|
|
4561
|
+
<div class="no-data-message" *ngIf="!showDataGrid || (dataSource?.data?.length === 0 && !showNewProductPicker)">
|
|
4562
|
+
No products found. Please add some products.
|
|
4563
|
+
</div>
|
|
4564
|
+
<ng-container *ngIf="showDataGrid">
|
|
4558
4565
|
<mat-card-actions
|
|
4559
4566
|
*ngIf="instance.hasAddButton() && (instance.component.addAnotherPosition === 'both' || instance.component.addAnotherPosition === 'top')">
|
|
4560
4567
|
<button mat-raised-button color="primary" (click)="addAnother()">
|
|
@@ -4678,7 +4685,7 @@ MaterialDataGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
|
|
|
4678
4685
|
</div>
|
|
4679
4686
|
</ng-template>
|
|
4680
4687
|
|
|
4681
|
-
|
|
4688
|
+
</ng-container>
|
|
4682
4689
|
|
|
4683
4690
|
</mat-card-content>
|
|
4684
4691
|
<mat-card-actions *ngIf="instance.hasAddButton() && instance.component.addAnotherPosition !== 'top'">
|
|
@@ -4708,7 +4715,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
|
|
|
4708
4715
|
<ng-container *ngIf="hasLabel">
|
|
4709
4716
|
<ng-container *ngTemplateOutlet="labelTemplate"></ng-container>
|
|
4710
4717
|
</ng-container>
|
|
4711
|
-
<mat-card-content
|
|
4718
|
+
<mat-card-content>
|
|
4719
|
+
|
|
4720
|
+
<!-- Message when no products are found -->
|
|
4721
|
+
<div class="no-data-message" *ngIf="!showDataGrid || (dataSource?.data?.length === 0 && !showNewProductPicker)">
|
|
4722
|
+
No products found. Please add some products.
|
|
4723
|
+
</div>
|
|
4724
|
+
<ng-container *ngIf="showDataGrid">
|
|
4712
4725
|
<mat-card-actions
|
|
4713
4726
|
*ngIf="instance.hasAddButton() && (instance.component.addAnotherPosition === 'both' || instance.component.addAnotherPosition === 'top')">
|
|
4714
4727
|
<button mat-raised-button color="primary" (click)="addAnother()">
|
|
@@ -4832,7 +4845,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
|
|
|
4832
4845
|
</div>
|
|
4833
4846
|
</ng-template>
|
|
4834
4847
|
|
|
4835
|
-
|
|
4848
|
+
</ng-container>
|
|
4836
4849
|
|
|
4837
4850
|
</mat-card-content>
|
|
4838
4851
|
<mat-card-actions *ngIf="instance.hasAddButton() && instance.component.addAnotherPosition !== 'top'">
|