ngx-render-material-forms 1.8.8 → 1.9.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/esm2020/lib/components/add-on-products/add-on-products.component.mjs +4 -2
- package/esm2020/lib/components/datagrid/datagrid.component.mjs +3 -3
- package/fesm2015/ngx-render-material-forms.js +11 -9
- package/fesm2015/ngx-render-material-forms.mjs.map +1 -1
- package/fesm2020/ngx-render-material-forms.js +5 -3
- package/fesm2020/ngx-render-material-forms.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -3519,13 +3519,15 @@ class AddOnProductsComponent {
|
|
|
3519
3519
|
});
|
|
3520
3520
|
}
|
|
3521
3521
|
handleDropdownFilter() {
|
|
3522
|
-
var _a, _b, _c, _d, _e;
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
this.
|
|
3527
|
-
this.
|
|
3528
|
-
this.
|
|
3522
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
3523
|
+
const searchQuery = (_b = (_a = this.form.controls.searchProductName) === null || _a === void 0 ? void 0 : _a.value) === null || _b === void 0 ? void 0 : _b.trim(); // Trim to remove blank spaces
|
|
3524
|
+
const levelOneId = (_d = (_c = this.form.controls.dropdownLevel1) === null || _c === void 0 ? void 0 : _c.value) === null || _d === void 0 ? void 0 : _d.id;
|
|
3525
|
+
if ((searchQuery && searchQuery !== '') || (levelOneId && levelOneId !== null && levelOneId !== undefined)) {
|
|
3526
|
+
this.searchQuery = (_e = this.form.controls.searchProductName) === null || _e === void 0 ? void 0 : _e.value;
|
|
3527
|
+
this.levelOneId = (_f = this.form.controls.dropdownLevel1.value) === null || _f === void 0 ? void 0 : _f.id;
|
|
3528
|
+
this.levelTwoId = (_g = this.form.controls.dropdownLevel2.value) === null || _g === void 0 ? void 0 : _g.id;
|
|
3529
|
+
this.levelThreeId = (_h = this.form.controls.dropdownLevel3.value) === null || _h === void 0 ? void 0 : _h.id;
|
|
3530
|
+
this.levelFourId = (_j = this.form.controls.dropdownLevel4.value) === null || _j === void 0 ? void 0 : _j.id;
|
|
3529
3531
|
this.getProducts(false);
|
|
3530
3532
|
}
|
|
3531
3533
|
}
|
|
@@ -4256,7 +4258,7 @@ MaterialDataGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
|
|
|
4256
4258
|
No products found. Please add some products.
|
|
4257
4259
|
</ng-container>
|
|
4258
4260
|
<ng-container *ngIf="showNewProductPicker && isCustomerCountryFiltered">
|
|
4259
|
-
No
|
|
4261
|
+
No products found. Please add some products.
|
|
4260
4262
|
</ng-container>
|
|
4261
4263
|
</div>
|
|
4262
4264
|
</ng-template>
|
|
@@ -4398,7 +4400,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
|
|
|
4398
4400
|
No products found. Please add some products.
|
|
4399
4401
|
</ng-container>
|
|
4400
4402
|
<ng-container *ngIf="showNewProductPicker && isCustomerCountryFiltered">
|
|
4401
|
-
No
|
|
4403
|
+
No products found. Please add some products.
|
|
4402
4404
|
</ng-container>
|
|
4403
4405
|
</div>
|
|
4404
4406
|
</ng-template>
|