@smartbit4all/ng-client 3.1.97 → 3.1.98
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/smart-filter/smart-filter/components/smart-filter-simple/smart-filter-simple.component.mjs +5 -8
- package/esm2020/lib/smart-filter/smart-filter/smart-filter.component.mjs +1 -2
- package/fesm2015/smartbit4all-ng-client.mjs +2 -6
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +2 -6
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-filter/smart-filter/components/smart-filter-simple/smart-filter-simple.component.d.ts +4 -4
- package/package.json +1 -1
- package/smartbit4all-ng-client-3.1.98.tgz +0 -0
- package/smartbit4all-ng-client-3.1.97.tgz +0 -0
|
@@ -11407,9 +11407,6 @@ class SmartFilterSimpleComponent {
|
|
|
11407
11407
|
this.subscribeToSubmit();
|
|
11408
11408
|
});
|
|
11409
11409
|
this.subscribeToSubmit();
|
|
11410
|
-
this.service.change.pipe(takeUntil(this._destroy$)).subscribe(() => {
|
|
11411
|
-
this.smartFilter = this.service.filter;
|
|
11412
|
-
});
|
|
11413
11410
|
}
|
|
11414
11411
|
ngOnInit() {
|
|
11415
11412
|
this.smartFilter = this.service.filter;
|
|
@@ -11435,10 +11432,10 @@ SmartFilterSimpleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0
|
|
|
11435
11432
|
SmartFilterSimpleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: SmartFilterSimpleComponent, selector: "smart-filter-simple", viewQueries: [{ propertyName: "simpleFieldChildren", predicate: ["simpleField"], descendants: true }], ngImport: i0, template: "<div *ngIf=\"smartFilter\" class=\"smart-simple-fields-container\">\r\n <div *ngFor=\"let filterExpressionField of smartFilter.data; let i = index\">\r\n <smart-filter-simple-field\r\n #simpleField\r\n [filterExpressionField]=\"filterExpressionField\"\r\n [operationTranslator]=\"smartFilter.operationTranslator\"\r\n [showPossibleActions]=\"smartFilter.showPossibleActions\"\r\n ></smart-filter-simple-field>\r\n <div *ngFor=\"let subfilterExpressionField of filterExpressionField.subFieldList?.filters\">\r\n <smart-filter-simple-field\r\n #simpleField\r\n [filterExpressionField]=\"filterExpressionField\"\r\n [operationTranslator]=\"smartFilter.operationTranslator\"\r\n [showPossibleActions]=\"smartFilter.showPossibleActions\"\r\n ></smart-filter-simple-field>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".smart-simple-fields-container{display:flex;flex-direction:row;flex-wrap:wrap;gap:1rem;justify-content:center}\n"], components: [{ type: SmartFilterSimpleFieldComponent, selector: "smart-filter-simple-field", inputs: ["operationTranslator", "filterExpressionField", "showPossibleActions"] }], directives: [{ type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
11436
11433
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SmartFilterSimpleComponent, decorators: [{
|
|
11437
11434
|
type: Component,
|
|
11438
|
-
args: [{ selector:
|
|
11435
|
+
args: [{ selector: "smart-filter-simple", template: "<div *ngIf=\"smartFilter\" class=\"smart-simple-fields-container\">\r\n <div *ngFor=\"let filterExpressionField of smartFilter.data; let i = index\">\r\n <smart-filter-simple-field\r\n #simpleField\r\n [filterExpressionField]=\"filterExpressionField\"\r\n [operationTranslator]=\"smartFilter.operationTranslator\"\r\n [showPossibleActions]=\"smartFilter.showPossibleActions\"\r\n ></smart-filter-simple-field>\r\n <div *ngFor=\"let subfilterExpressionField of filterExpressionField.subFieldList?.filters\">\r\n <smart-filter-simple-field\r\n #simpleField\r\n [filterExpressionField]=\"filterExpressionField\"\r\n [operationTranslator]=\"smartFilter.operationTranslator\"\r\n [showPossibleActions]=\"smartFilter.showPossibleActions\"\r\n ></smart-filter-simple-field>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".smart-simple-fields-container{display:flex;flex-direction:row;flex-wrap:wrap;gap:1rem;justify-content:center}\n"] }]
|
|
11439
11436
|
}], ctorParameters: function () { return [{ type: SmartFilterService }]; }, propDecorators: { simpleFieldChildren: [{
|
|
11440
11437
|
type: ViewChildren,
|
|
11441
|
-
args: [
|
|
11438
|
+
args: ["simpleField"]
|
|
11442
11439
|
}] } });
|
|
11443
11440
|
|
|
11444
11441
|
class SmartFilterComponent {
|
|
@@ -11457,7 +11454,6 @@ class SmartFilterComponent {
|
|
|
11457
11454
|
}
|
|
11458
11455
|
setUp() {
|
|
11459
11456
|
this.service.filter = this.filter;
|
|
11460
|
-
this.service.change.next();
|
|
11461
11457
|
}
|
|
11462
11458
|
async submit() {
|
|
11463
11459
|
return await this.service.submit();
|